mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-06-05 13:10:41 +02:00

- forms will have red background colour when "instant update" is enabled - button styling is in css file now
3 lines
364 KiB
JavaScript
3 lines
364 KiB
JavaScript
/*! For license information please see main.d2fd5251.js.LICENSE.txt */
|
|
!function(){var e={694:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)){if(n.length){var i=o.apply(null,n);i&&e.push(i)}}else if("object"===a){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var l in n)r.call(n,l)&&n[l]&&e.push(l)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},176:function(e){"use strict";e.exports=function(e,t,n,r,o,a,i,l){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,o,a,i,l],c=0;(u=new Error(t.replace(/%s/g,(function(){return s[c++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},888:function(e,t,n){"use strict";var r=n(47);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},7:function(e,t,n){e.exports=n(888)()},47:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},463:function(e,t,n){"use strict";var r=n(791),o=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 i=new Set,l={};function u(e,t){s(e,t),s(e+"Capture",t)}function s(e,t){for(l[e]=t,e=0;e<t.length;e++)i.add(t[e])}var c=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),f=Object.prototype.hasOwnProperty,d=/^[: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]*$/,p={},h={};function v(e,t,n,r,o,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[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];m[t]=new v(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[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){m[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new v(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new v(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new v(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){m[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function g(e){return e[1].toUpperCase()}function b(e,t,n,r){var o=m.hasOwnProperty(t)?m[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)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,o,r)&&(n=null),r||null===o?function(e){return!!f.call(h,e)||!f.call(p,e)&&(d.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,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(y,g);m[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(y,g);m[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(y,g);m[t]=new v(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new v(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new v("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=Symbol.for("react.element"),k=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),O=Symbol.for("react.provider"),_=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),R=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var L=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var A=Symbol.iterator;function z(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=A&&e[A]||e["@@iterator"])?e:null}var I,M=Object.assign;function F(e){if(void 0===I)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);I=t&&t[1]||""}return"\n"+I+e}var D=!1;function B(e,t){if(!e||D)return"";D=!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(s){var r=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){r=s}e.call(t.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&"string"===typeof s.stack){for(var o=s.stack.split("\n"),a=r.stack.split("\n"),i=o.length-1,l=a.length-1;1<=i&&0<=l&&o[i]!==a[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==a[l]){if(1!==i||1!==l)do{if(i--,0>--l||o[i]!==a[l]){var u="\n"+o[i].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=i&&0<=l);break}}}finally{D=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?F(e):""}function U(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=B(e.type,!1);case 11:return e=B(e.type.render,!1);case 1:return e=B(e.type,!0);default:return""}}function V(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 k:return"Portal";case C:return"Profiler";case E:return"StrictMode";case P:return"Suspense";case T:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case _:return(e.displayName||"Context")+".Consumer";case O:return(e._context.displayName||"Context")+".Provider";case N:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case j:return null!==(t=e.displayName||null)?t:V(e.type)||"Memo";case R:t=e._payload,e=e._init;try{return V(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 V(t);case 8:return t===E?"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 $(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function q(e){e._valueTracker||(e._valueTracker=function(e){var t=$(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function K(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=$(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Q(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 Y(e,t){var n=t.checked;return M({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function G(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=W(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function X(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function J(e,t){X(e,t);var n=W(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)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 r=t.type;if(!("submit"!==r&&"reset"!==r||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&&Q(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,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+W(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return M({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(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),r=W(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function le(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 ue(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var se,ce,fe=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((se=se||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=se.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function de(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 pe={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},he=["Webkit","ms","Moz","O"];function ve(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function me(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=ve(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ye=M({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(ye[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 we=null;function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ke=null,Se=null,Ee=null;function Ce(e){if(e=wo(e)){if("function"!==typeof ke)throw Error(a(280));var t=e.stateNode;t&&(t=ko(t),ke(e.stateNode,e.type,t))}}function Oe(e){Se?Ee?Ee.push(e):Ee=[e]:Se=e}function _e(){if(Se){var e=Se,t=Ee;if(Ee=Se=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function Ne(e,t){return e(t)}function Pe(){}var Te=!1;function je(e,t,n){if(Te)return e(t,n);Te=!0;try{return Ne(e,t,n)}finally{Te=!1,(null!==Se||null!==Ee)&&(Pe(),_e())}}function Re(e,t){var n=e.stateNode;if(null===n)return null;var r=ko(n);if(null===r)return null;n=r[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":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(a(231,t,typeof n));return n}var Le=!1;if(c)try{var Ae={};Object.defineProperty(Ae,"passive",{get:function(){Le=!0}}),window.addEventListener("test",Ae,Ae),window.removeEventListener("test",Ae,Ae)}catch(ce){Le=!1}function ze(e,t,n,r,o,a,i,l,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(c){this.onError(c)}}var Ie=!1,Me=null,Fe=!1,De=null,Be={onError:function(e){Ie=!0,Me=e}};function Ue(e,t,n,r,o,a,i,l,u){Ie=!1,Me=null,ze.apply(Be,arguments)}function Ve(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(Ve(e)!==e)throw Error(a(188))}function $e(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ve(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return We(o),e;if(i===r)return We(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var l=!1,u=o.child;u;){if(u===n){l=!0,n=o,r=i;break}if(u===r){l=!0,r=o,n=i;break}u=u.sibling}if(!l){for(u=i.child;u;){if(u===n){l=!0,n=i,r=o;break}if(u===r){l=!0,r=i,n=o;break}u=u.sibling}if(!l)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e))?qe(e):null}function qe(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=qe(e);if(null!==t)return t;e=e.sibling}return null}var Ke=o.unstable_scheduleCallback,Qe=o.unstable_cancelCallback,Ye=o.unstable_shouldYield,Ge=o.unstable_requestPaint,Xe=o.unstable_now,Je=o.unstable_getCurrentPriorityLevel,Ze=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,at=null;var it=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(lt(e)/ut|0)|0},lt=Math.log,ut=Math.LN2;var st=64,ct=4194304;function ft(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 dt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,a=e.pingedLanes,i=268435455&n;if(0!==i){var l=i&~o;0!==l?r=ft(l):0!==(a&=i)&&(r=ft(a))}else 0!==(i=n&~o)?r=ft(i):0!==a&&(r=ft(a));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&o)&&((o=r&-r)>=(a=t&-t)||16===o&&0!==(4194240&a)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-it(t)),r|=e[n],t&=~o;return r}function pt(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 ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function vt(){var e=st;return 0===(4194240&(st<<=1))&&(st=64),e}function mt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function yt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function gt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var bt=0;function wt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var xt,kt,St,Et,Ct,Ot=!1,_t=[],Nt=null,Pt=null,Tt=null,jt=new Map,Rt=new Map,Lt=[],At="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 zt(e,t){switch(e){case"focusin":case"focusout":Nt=null;break;case"dragenter":case"dragleave":Pt=null;break;case"mouseover":case"mouseout":Tt=null;break;case"pointerover":case"pointerout":jt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Rt.delete(t.pointerId)}}function It(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[o]},null!==t&&(null!==(t=wo(t))&&kt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Mt(e){var t=bo(e.target);if(null!==t){var n=Ve(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=He(n)))return e.blockedOn=t,void Ct(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=Yt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=wo(n))&&kt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function Dt(e,t,n){Ft(e)&&n.delete(t)}function Bt(){Ot=!1,null!==Nt&&Ft(Nt)&&(Nt=null),null!==Pt&&Ft(Pt)&&(Pt=null),null!==Tt&&Ft(Tt)&&(Tt=null),jt.forEach(Dt),Rt.forEach(Dt)}function Ut(e,t){e.blockedOn===t&&(e.blockedOn=null,Ot||(Ot=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Bt)))}function Vt(e){function t(t){return Ut(t,e)}if(0<_t.length){Ut(_t[0],e);for(var n=1;n<_t.length;n++){var r=_t[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Nt&&Ut(Nt,e),null!==Pt&&Ut(Pt,e),null!==Tt&&Ut(Tt,e),jt.forEach(t),Rt.forEach(t),n=0;n<Lt.length;n++)(r=Lt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Lt.length&&null===(n=Lt[0]).blockedOn;)Mt(n),null===n.blockedOn&&Lt.shift()}var Ht=w.ReactCurrentBatchConfig,Wt=!0;function $t(e,t,n,r){var o=bt,a=Ht.transition;Ht.transition=null;try{bt=1,Kt(e,t,n,r)}finally{bt=o,Ht.transition=a}}function qt(e,t,n,r){var o=bt,a=Ht.transition;Ht.transition=null;try{bt=4,Kt(e,t,n,r)}finally{bt=o,Ht.transition=a}}function Kt(e,t,n,r){if(Wt){var o=Yt(e,t,n,r);if(null===o)Wr(e,t,r,Qt,n),zt(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Nt=It(Nt,e,t,n,r,o),!0;case"dragenter":return Pt=It(Pt,e,t,n,r,o),!0;case"mouseover":return Tt=It(Tt,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return jt.set(a,It(jt.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,Rt.set(a,It(Rt.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(zt(e,r),4&t&&-1<At.indexOf(e)){for(;null!==o;){var a=wo(o);if(null!==a&&xt(a),null===(a=Yt(e,t,n,r))&&Wr(e,t,r,Qt,n),a===o)break;o=a}null!==o&&r.stopPropagation()}else Wr(e,t,r,null,n)}}var Qt=null;function Yt(e,t,n,r){if(Qt=null,null!==(e=bo(e=xe(r))))if(null===(t=Ve(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 Qt=e,null}function Gt(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 rt:return 536870912;default:return 16}default:return 16}}var Xt=null,Jt=null,Zt=null;function en(){if(Zt)return Zt;var e,t,n=Jt,r=n.length,o="value"in Xt?Xt.value:Xt.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return Zt=o.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 on(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return M(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 an,ln,un,sn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=on(sn),fn=M({},sn,{view:0,detail:0}),dn=on(fn),pn=M({},fn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,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!==un&&(un&&"mousemove"===e.type?(an=e.screenX-un.screenX,ln=e.screenY-un.screenY):ln=an=0,un=e),an)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),hn=on(pn),vn=on(M({},pn,{dataTransfer:0})),mn=on(M({},fn,{relatedTarget:0})),yn=on(M({},sn,{animationName:0,elapsedTime:0,pseudoElement:0})),gn=M({},sn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(gn),wn=on(M({},sn,{data:0})),xn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kn={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 En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function Cn(){return En}var On=M({},fn,{key:function(e){if(e.key){var t=xn[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?kn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,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}}),_n=on(On),Nn=on(M({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Pn=on(M({},fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),Tn=on(M({},sn,{propertyName:0,elapsedTime:0,pseudoElement:0})),jn=M({},pn,{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=on(jn),Ln=[9,13,27,32],An=c&&"CompositionEvent"in window,zn=null;c&&"documentMode"in document&&(zn=document.documentMode);var In=c&&"TextEvent"in window&&!zn,Mn=c&&(!An||zn&&8<zn&&11>=zn),Fn=String.fromCharCode(32),Dn=!1;function Bn(e,t){switch(e){case"keyup":return-1!==Ln.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Un(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Vn=!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 $n(e,t,n,r){Oe(r),0<(t=qr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var qn=null,Kn=null;function Qn(e){Fr(e,0)}function Yn(e){if(K(xo(e)))return e}function Gn(e,t){if("change"===e)return t}var Xn=!1;if(c){var Jn;if(c){var Zn="oninput"in document;if(!Zn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Zn="function"===typeof er.oninput}Jn=Zn}else Jn=!1;Xn=Jn&&(!document.documentMode||9<document.documentMode)}function tr(){qn&&(qn.detachEvent("onpropertychange",nr),Kn=qn=null)}function nr(e){if("value"===e.propertyName&&Yn(Kn)){var t=[];$n(t,Kn,e,xe(e)),je(Qn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Kn=n,(qn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Yn(Kn)}function ar(e,t){if("click"===e)return Yn(t)}function ir(e,t){if("input"===e||"change"===e)return Yn(t)}var lr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function ur(e,t){if(lr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!f.call(t,o)||!lr(e[o],t[o]))return!1}return!0}function sr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=sr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=sr(r)}}function fr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dr(){for(var e=window,t=Q();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=Q((e=t.contentWindow).document)}return t}function pr(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 hr(e){var t=dr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&fr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.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 o=n.textContent.length,a=Math.min(r.start,o);r=void 0===r.end?a:Math.min(r.end,o),!e.extend&&a>r&&(o=r,r=a,a=o),o=cr(n,a);var i=cr(n,r);o&&i&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.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 vr=c&&"documentMode"in document&&11>=document.documentMode,mr=null,yr=null,gr=null,br=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==mr||mr!==Q(r)||("selectionStart"in(r=mr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},gr&&ur(gr,r)||(gr=r,0<(r=qr(yr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=mr)))}function xr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var kr={animationend:xr("Animation","AnimationEnd"),animationiteration:xr("Animation","AnimationIteration"),animationstart:xr("Animation","AnimationStart"),transitionend:xr("Transition","TransitionEnd")},Sr={},Er={};function Cr(e){if(Sr[e])return Sr[e];if(!kr[e])return e;var t,n=kr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return Sr[e]=n[t];return e}c&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete kr.animationend.animation,delete kr.animationiteration.animation,delete kr.animationstart.animation),"TransitionEvent"in window||delete kr.transitionend.transition);var Or=Cr("animationend"),_r=Cr("animationiteration"),Nr=Cr("animationstart"),Pr=Cr("transitionend"),Tr=new Map,jr="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 Rr(e,t){Tr.set(e,t),u(t,[e])}for(var Lr=0;Lr<jr.length;Lr++){var Ar=jr[Lr];Rr(Ar.toLowerCase(),"on"+(Ar[0].toUpperCase()+Ar.slice(1)))}Rr(Or,"onAnimationEnd"),Rr(_r,"onAnimationIteration"),Rr(Nr,"onAnimationStart"),Rr("dblclick","onDoubleClick"),Rr("focusin","onFocus"),Rr("focusout","onBlur"),Rr(Pr,"onTransitionEnd"),s("onMouseEnter",["mouseout","mouseover"]),s("onMouseLeave",["mouseout","mouseover"]),s("onPointerEnter",["pointerout","pointerover"]),s("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var zr="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(" "),Ir=new Set("cancel close invalid load scroll toggle".split(" ").concat(zr));function Mr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,l,u,s){if(Ue.apply(this,arguments),Ie){if(!Ie)throw Error(a(198));var c=Me;Ie=!1,Me=null,Fe||(Fe=!0,De=c)}}(r,t,void 0,e),e.currentTarget=null}function Fr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],u=l.instance,s=l.currentTarget;if(l=l.listener,u!==a&&o.isPropagationStopped())break e;Mr(o,l,s),a=u}else for(i=0;i<r.length;i++){if(u=(l=r[i]).instance,s=l.currentTarget,l=l.listener,u!==a&&o.isPropagationStopped())break e;Mr(o,l,s),a=u}}}if(Fe)throw e=De,Fe=!1,De=null,e}function Dr(e,t){var n=t[mo];void 0===n&&(n=t[mo]=new Set);var r=e+"__bubble";n.has(r)||(Hr(t,e,2,!1),n.add(r))}function Br(e,t,n){var r=0;t&&(r|=4),Hr(n,e,r,t)}var Ur="_reactListening"+Math.random().toString(36).slice(2);function Vr(e){if(!e[Ur]){e[Ur]=!0,i.forEach((function(t){"selectionchange"!==t&&(Ir.has(t)||Br(t,!1,e),Br(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Ur]||(t[Ur]=!0,Br("selectionchange",!1,t))}}function Hr(e,t,n,r){switch(Gt(t)){case 1:var o=$t;break;case 4:o=qt;break;default:o=Kt}n=o.bind(null,t,n,e),o=void 0,!Le||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Wr(e,t,n,r,o){var a=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===i)for(i=r.return;null!==i;){var u=i.tag;if((3===u||4===u)&&((u=i.stateNode.containerInfo)===o||8===u.nodeType&&u.parentNode===o))return;i=i.return}for(;null!==l;){if(null===(i=bo(l)))return;if(5===(u=i.tag)||6===u){r=a=i;continue e}l=l.parentNode}}r=r.return}je((function(){var r=a,o=xe(n),i=[];e:{var l=Tr.get(e);if(void 0!==l){var u=cn,s=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":u=_n;break;case"focusin":s="focus",u=mn;break;case"focusout":s="blur",u=mn;break;case"beforeblur":case"afterblur":u=mn;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":u=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=vn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=Pn;break;case Or:case _r:case Nr:u=yn;break;case Pr:u=Tn;break;case"scroll":u=dn;break;case"wheel":u=Rn;break;case"copy":case"cut":case"paste":u=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=Nn}var c=0!==(4&t),f=!c&&"scroll"===e,d=c?null!==l?l+"Capture":null:l;c=[];for(var p,h=r;null!==h;){var v=(p=h).stateNode;if(5===p.tag&&null!==v&&(p=v,null!==d&&(null!=(v=Re(h,d))&&c.push($r(h,v,p)))),f)break;h=h.return}0<c.length&&(l=new u(l,s,null,n,o),i.push({event:l,listeners:c}))}}if(0===(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===we||!(s=n.relatedTarget||n.fromElement)||!bo(s)&&!s[vo])&&(u||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,u?(u=r,null!==(s=(s=n.relatedTarget||n.toElement)?bo(s):null)&&(s!==(f=Ve(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(u=null,s=r),u!==s)){if(c=hn,v="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Nn,v="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==u?l:xo(u),p=null==s?l:xo(s),(l=new c(v,h+"leave",u,n,o)).target=f,l.relatedTarget=p,v=null,bo(o)===r&&((c=new c(d,h+"enter",s,n,o)).target=p,c.relatedTarget=f,v=c),f=v,u&&s)e:{for(d=s,h=0,p=c=u;p;p=Kr(p))h++;for(p=0,v=d;v;v=Kr(v))p++;for(;0<h-p;)c=Kr(c),h--;for(;0<p-h;)d=Kr(d),p--;for(;h--;){if(c===d||null!==d&&c===d.alternate)break e;c=Kr(c),d=Kr(d)}c=null}else c=null;null!==u&&Qr(i,l,u,c,!1),null!==s&&null!==f&&Qr(i,f,s,c,!0)}if("select"===(u=(l=r?xo(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===u&&"file"===l.type)var m=Gn;else if(Wn(l))if(Xn)m=ir;else{m=or;var y=rr}else(u=l.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(m=ar);switch(m&&(m=m(e,r))?$n(i,m,n,o):(y&&y(e,l,r),"focusout"===e&&(y=l._wrapperState)&&y.controlled&&"number"===l.type&&ee(l,"number",l.value)),y=r?xo(r):window,e){case"focusin":(Wn(y)||"true"===y.contentEditable)&&(mr=y,yr=r,gr=null);break;case"focusout":gr=yr=mr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,wr(i,n,o);break;case"selectionchange":if(vr)break;case"keydown":case"keyup":wr(i,n,o)}var g;if(An)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 Vn?Bn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Mn&&"ko"!==n.locale&&(Vn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Vn&&(g=en()):(Jt="value"in(Xt=o)?Xt.value:Xt.textContent,Vn=!0)),0<(y=qr(r,b)).length&&(b=new wn(b,e,null,n,o),i.push({event:b,listeners:y}),g?b.data=g:null!==(g=Un(n))&&(b.data=g))),(g=In?function(e,t){switch(e){case"compositionend":return Un(t);case"keypress":return 32!==t.which?null:(Dn=!0,Fn);case"textInput":return(e=t.data)===Fn&&Dn?null:e;default:return null}}(e,n):function(e,t){if(Vn)return"compositionend"===e||!An&&Bn(e,t)?(e=en(),Zt=Jt=Xt=null,Vn=!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 Mn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=qr(r,"onBeforeInput")).length&&(o=new wn("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=g))}Fr(i,t)}))}function $r(e,t,n){return{instance:e,listener:t,currentTarget:n}}function qr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=Re(e,n))&&r.unshift($r(e,a,o)),null!=(a=Re(e,t))&&r.push($r(e,a,o))),e=e.return}return r}function Kr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Qr(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var l=n,u=l.alternate,s=l.stateNode;if(null!==u&&u===r)break;5===l.tag&&null!==s&&(l=s,o?null!=(u=Re(n,a))&&i.unshift($r(n,u,l)):o||null!=(u=Re(n,a))&&i.push($r(n,u,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Yr=/\r\n?/g,Gr=/\u0000|\uFFFD/g;function Xr(e){return("string"===typeof e?e:""+e).replace(Yr,"\n").replace(Gr,"")}function Jr(e,t,n){if(t=Xr(t),Xr(e)!==t&&n)throw Error(a(425))}function Zr(){}var eo=null,to=null;function no(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 ro="function"===typeof setTimeout?setTimeout:void 0,oo="function"===typeof clearTimeout?clearTimeout:void 0,ao="function"===typeof Promise?Promise:void 0,io="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof ao?function(e){return ao.resolve(null).then(e).catch(lo)}:ro;function lo(e){setTimeout((function(){throw e}))}function uo(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Vt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Vt(t)}function so(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 co(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 fo=Math.random().toString(36).slice(2),po="__reactFiber$"+fo,ho="__reactProps$"+fo,vo="__reactContainer$"+fo,mo="__reactEvents$"+fo,yo="__reactListeners$"+fo,go="__reactHandles$"+fo;function bo(e){var t=e[po];if(t)return t;for(var n=e.parentNode;n;){if(t=n[vo]||n[po]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=co(e);null!==e;){if(n=e[po])return n;e=co(e)}return t}n=(e=n).parentNode}return null}function wo(e){return!(e=e[po]||e[vo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function xo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function ko(e){return e[ho]||null}var So=[],Eo=-1;function Co(e){return{current:e}}function Oo(e){0>Eo||(e.current=So[Eo],So[Eo]=null,Eo--)}function _o(e,t){Eo++,So[Eo]=e.current,e.current=t}var No={},Po=Co(No),To=Co(!1),jo=No;function Ro(e,t){var n=e.type.contextTypes;if(!n)return No;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Lo(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Ao(){Oo(To),Oo(Po)}function zo(e,t,n){if(Po.current!==No)throw Error(a(168));_o(Po,t),_o(To,n)}function Io(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(a(108,H(e)||"Unknown",o));return M({},n,r)}function Mo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||No,jo=Po.current,_o(Po,e),_o(To,To.current),!0}function Fo(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=Io(e,t,jo),r.__reactInternalMemoizedMergedChildContext=e,Oo(To),Oo(Po),_o(Po,e)):Oo(To),_o(To,n)}var Do=null,Bo=!1,Uo=!1;function Vo(e){null===Do?Do=[e]:Do.push(e)}function Ho(){if(!Uo&&null!==Do){Uo=!0;var e=0,t=bt;try{var n=Do;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Do=null,Bo=!1}catch(o){throw null!==Do&&(Do=Do.slice(e+1)),Ke(Ze,Ho),o}finally{bt=t,Uo=!1}}return null}var Wo=[],$o=0,qo=null,Ko=0,Qo=[],Yo=0,Go=null,Xo=1,Jo="";function Zo(e,t){Wo[$o++]=Ko,Wo[$o++]=qo,qo=e,Ko=t}function ea(e,t,n){Qo[Yo++]=Xo,Qo[Yo++]=Jo,Qo[Yo++]=Go,Go=e;var r=Xo;e=Jo;var o=32-it(r)-1;r&=~(1<<o),n+=1;var a=32-it(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,Xo=1<<32-it(t)+o|n<<o|r,Jo=a+e}else Xo=1<<a|n<<o|r,Jo=e}function ta(e){null!==e.return&&(Zo(e,1),ea(e,1,0))}function na(e){for(;e===qo;)qo=Wo[--$o],Wo[$o]=null,Ko=Wo[--$o],Wo[$o]=null;for(;e===Go;)Go=Qo[--Yo],Qo[Yo]=null,Jo=Qo[--Yo],Qo[Yo]=null,Xo=Qo[--Yo],Qo[Yo]=null}var ra=null,oa=null,aa=!1,ia=null;function la(e,t){var n=Rs(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 ua(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,ra=e,oa=so(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ra=e,oa=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Go?{id:Xo,overflow:Jo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Rs(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ra=e,oa=null,!0);default:return!1}}function sa(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function ca(e){if(aa){var t=oa;if(t){var n=t;if(!ua(e,t)){if(sa(e))throw Error(a(418));t=so(n.nextSibling);var r=ra;t&&ua(e,t)?la(r,n):(e.flags=-4097&e.flags|2,aa=!1,ra=e)}}else{if(sa(e))throw Error(a(418));e.flags=-4097&e.flags|2,aa=!1,ra=e}}}function fa(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ra=e}function da(e){if(e!==ra)return!1;if(!aa)return fa(e),aa=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oa)){if(sa(e))throw pa(),Error(a(418));for(;t;)la(e,t),t=so(t.nextSibling)}if(fa(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){oa=so(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oa=null}}else oa=ra?so(e.stateNode.nextSibling):null;return!0}function pa(){for(var e=oa;e;)e=so(e.nextSibling)}function ha(){oa=ra=null,aa=!1}function va(e){null===ia?ia=[e]:ia.push(e)}var ma=w.ReactCurrentBatchConfig;function ya(e,t){if(e&&e.defaultProps){for(var n in t=M({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var ga=Co(null),ba=null,wa=null,xa=null;function ka(){xa=wa=ba=null}function Sa(e){var t=ga.current;Oo(ga),e._currentValue=t}function Ea(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ca(e,t){ba=e,xa=wa=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(wl=!0),e.firstContext=null)}function Oa(e){var t=e._currentValue;if(xa!==e)if(e={context:e,memoizedValue:t,next:null},null===wa){if(null===ba)throw Error(a(308));wa=e,ba.dependencies={lanes:0,firstContext:e}}else wa=wa.next=e;return t}var _a=null;function Na(e){null===_a?_a=[e]:_a.push(e)}function Pa(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Na(t)):(n.next=o.next,o.next=n),t.interleaved=n,Ta(e,r)}function Ta(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 ja=!1;function Ra(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function La(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 za(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&Pu)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Ta(e,n)}return null===(o=r.interleaved)?(t.next=t,Na(r)):(t.next=o.next,o.next=t),r.interleaved=t,Ta(e,n)}function Ia(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,gt(e,n)}}function Ma(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Fa(e,t,n,r){var o=e.updateQueue;ja=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var u=l,s=u.next;u.next=null,null===i?a=s:i.next=s,i=u;var c=e.alternate;null!==c&&((l=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===l?c.firstBaseUpdate=s:l.next=s,c.lastBaseUpdate=u))}if(null!==a){var f=o.baseState;for(i=0,c=s=u=null,l=a;;){var d=l.lane,p=l.eventTime;if((r&d)===d){null!==c&&(c=c.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,v=l;switch(d=t,p=n,v.tag){case 1:if("function"===typeof(h=v.payload)){f=h.call(p,f,d);break e}f=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null===(d="function"===typeof(h=v.payload)?h.call(p,f,d):h)||void 0===d)break e;f=M({},f,d);break e;case 2:ja=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(d=o.effects)?o.effects=[l]:d.push(l))}else p={eventTime:p,lane:d,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(s=c=p,u=f):c=c.next=p,i|=d;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(d=l).next,d.next=null,o.lastBaseUpdate=d,o.shared.pending=null}}if(null===c&&(u=f),o.baseState=u,o.firstBaseUpdate=s,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{i|=o.lane,o=o.next}while(o!==t)}else null===a&&(o.shared.lanes=0);Mu|=i,e.lanes=i,e.memoizedState=f}}function Da(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!==typeof o)throw Error(a(191,o));o.call(r)}}}var Ba=(new r.Component).refs;function Ua(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:M({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Va={isMounted:function(e){return!!(e=e._reactInternals)&&Ve(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ts(),o=ns(e),a=Aa(r,o);a.payload=t,void 0!==n&&null!==n&&(a.callback=n),null!==(t=za(e,a,o))&&(rs(t,e,o,r),Ia(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ts(),o=ns(e),a=Aa(r,o);a.tag=1,a.payload=t,void 0!==n&&null!==n&&(a.callback=n),null!==(t=za(e,a,o))&&(rs(t,e,o,r),Ia(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ts(),r=ns(e),o=Aa(n,r);o.tag=2,void 0!==t&&null!==t&&(o.callback=t),null!==(t=za(e,o,r))&&(rs(t,e,r,n),Ia(t,e,r))}};function Ha(e,t,n,r,o,a,i){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!t.prototype||!t.prototype.isPureReactComponent||(!ur(n,r)||!ur(o,a))}function Wa(e,t,n){var r=!1,o=No,a=t.contextType;return"object"===typeof a&&null!==a?a=Oa(a):(o=Lo(t)?jo:Po.current,a=(r=null!==(r=t.contextTypes)&&void 0!==r)?Ro(e,o):No),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Va,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function $a(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Va.enqueueReplaceState(t,t.state,null)}function qa(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Ba,Ra(e);var a=t.contextType;"object"===typeof a&&null!==a?o.context=Oa(a):(a=Lo(t)?jo:Po.current,o.context=Ro(e,a)),o.state=e.memoizedState,"function"===typeof(a=t.getDerivedStateFromProps)&&(Ua(e,t,a,n),o.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof o.getSnapshotBeforeUpdate||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||(t=o.state,"function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Va.enqueueReplaceState(o,o.state,null),Fa(e,n,o,r),o.state=e.memoizedState),"function"===typeof o.componentDidMount&&(e.flags|=4194308)}function Ka(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 r=n.stateNode}if(!r)throw Error(a(147,e));var o=r,i=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=o.refs;t===Ba&&(t=o.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!==typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Qa(e,t){throw e=Object.prototype.toString.call(t),Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ya(e){return(0,e._init)(e._payload)}function Ga(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(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 o(e,t){return(e=As(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Fs(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){var a=n.type;return a===S?f(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===a||"object"===typeof a&&null!==a&&a.$$typeof===R&&Ya(a)===t.type)?((r=o(t,n.props)).ref=Ka(e,t,n),r.return=e,r):((r=zs(n.type,n.key,n.props,null,e.mode,r)).ref=Ka(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Ds(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,a){return null===t||7!==t.tag?((t=Is(n,e.mode,r,a)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=Fs(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case x:return(n=zs(t.type,t.key,t.props,null,e.mode,n)).ref=Ka(e,null,t),n.return=e,n;case k:return(t=Ds(t,e.mode,n)).return=e,t;case R:return d(e,(0,t._init)(t._payload),n)}if(te(t)||z(t))return(t=Is(t,e.mode,n,null)).return=e,t;Qa(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==o?null:u(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case x:return n.key===o?s(e,t,n,r):null;case k:return n.key===o?c(e,t,n,r):null;case R:return p(e,t,(o=n._init)(n._payload),r)}if(te(n)||z(n))return null!==o?null:f(e,t,n,r,null);Qa(e,n)}return null}function h(e,t,n,r,o){if("string"===typeof r&&""!==r||"number"===typeof r)return u(t,e=e.get(n)||null,""+r,o);if("object"===typeof r&&null!==r){switch(r.$$typeof){case x:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o);case k:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case R:return h(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||z(r))return f(t,e=e.get(n)||null,r,o,null);Qa(t,r)}return null}function v(o,a,l,u){for(var s=null,c=null,f=a,v=a=0,m=null;null!==f&&v<l.length;v++){f.index>v?(m=f,f=null):m=f.sibling;var y=p(o,f,l[v],u);if(null===y){null===f&&(f=m);break}e&&f&&null===y.alternate&&t(o,f),a=i(y,a,v),null===c?s=y:c.sibling=y,c=y,f=m}if(v===l.length)return n(o,f),aa&&Zo(o,v),s;if(null===f){for(;v<l.length;v++)null!==(f=d(o,l[v],u))&&(a=i(f,a,v),null===c?s=f:c.sibling=f,c=f);return aa&&Zo(o,v),s}for(f=r(o,f);v<l.length;v++)null!==(m=h(f,o,v,l[v],u))&&(e&&null!==m.alternate&&f.delete(null===m.key?v:m.key),a=i(m,a,v),null===c?s=m:c.sibling=m,c=m);return e&&f.forEach((function(e){return t(o,e)})),aa&&Zo(o,v),s}function m(o,l,u,s){var c=z(u);if("function"!==typeof c)throw Error(a(150));if(null==(u=c.call(u)))throw Error(a(151));for(var f=c=null,v=l,m=l=0,y=null,g=u.next();null!==v&&!g.done;m++,g=u.next()){v.index>m?(y=v,v=null):y=v.sibling;var b=p(o,v,g.value,s);if(null===b){null===v&&(v=y);break}e&&v&&null===b.alternate&&t(o,v),l=i(b,l,m),null===f?c=b:f.sibling=b,f=b,v=y}if(g.done)return n(o,v),aa&&Zo(o,m),c;if(null===v){for(;!g.done;m++,g=u.next())null!==(g=d(o,g.value,s))&&(l=i(g,l,m),null===f?c=g:f.sibling=g,f=g);return aa&&Zo(o,m),c}for(v=r(o,v);!g.done;m++,g=u.next())null!==(g=h(v,o,m,g.value,s))&&(e&&null!==g.alternate&&v.delete(null===g.key?m:g.key),l=i(g,l,m),null===f?c=g:f.sibling=g,f=g);return e&&v.forEach((function(e){return t(o,e)})),aa&&Zo(o,m),c}return function e(r,a,i,u){if("object"===typeof i&&null!==i&&i.type===S&&null===i.key&&(i=i.props.children),"object"===typeof i&&null!==i){switch(i.$$typeof){case x:e:{for(var s=i.key,c=a;null!==c;){if(c.key===s){if((s=i.type)===S){if(7===c.tag){n(r,c.sibling),(a=o(c,i.props.children)).return=r,r=a;break e}}else if(c.elementType===s||"object"===typeof s&&null!==s&&s.$$typeof===R&&Ya(s)===c.type){n(r,c.sibling),(a=o(c,i.props)).ref=Ka(r,c,i),a.return=r,r=a;break e}n(r,c);break}t(r,c),c=c.sibling}i.type===S?((a=Is(i.props.children,r.mode,u,i.key)).return=r,r=a):((u=zs(i.type,i.key,i.props,null,r.mode,u)).ref=Ka(r,a,i),u.return=r,r=u)}return l(r);case k:e:{for(c=i.key;null!==a;){if(a.key===c){if(4===a.tag&&a.stateNode.containerInfo===i.containerInfo&&a.stateNode.implementation===i.implementation){n(r,a.sibling),(a=o(a,i.children||[])).return=r,r=a;break e}n(r,a);break}t(r,a),a=a.sibling}(a=Ds(i,r.mode,u)).return=r,r=a}return l(r);case R:return e(r,a,(c=i._init)(i._payload),u)}if(te(i))return v(r,a,i,u);if(z(i))return m(r,a,i,u);Qa(r,i)}return"string"===typeof i&&""!==i||"number"===typeof i?(i=""+i,null!==a&&6===a.tag?(n(r,a.sibling),(a=o(a,i)).return=r,r=a):(n(r,a),(a=Fs(i,r.mode,u)).return=r,r=a),l(r)):n(r,a)}}var Xa=Ga(!0),Ja=Ga(!1),Za={},ei=Co(Za),ti=Co(Za),ni=Co(Za);function ri(e){if(e===Za)throw Error(a(174));return e}function oi(e,t){switch(_o(ni,t),_o(ti,e),_o(ei,Za),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ue(null,"");break;default:t=ue(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Oo(ei),_o(ei,t)}function ai(){Oo(ei),Oo(ti),Oo(ni)}function ii(e){ri(ni.current);var t=ri(ei.current),n=ue(t,e.type);t!==n&&(_o(ti,e),_o(ei,n))}function li(e){ti.current===e&&(Oo(ei),Oo(ti))}var ui=Co(0);function si(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 ci=[];function fi(){for(var e=0;e<ci.length;e++)ci[e]._workInProgressVersionPrimary=null;ci.length=0}var di=w.ReactCurrentDispatcher,pi=w.ReactCurrentBatchConfig,hi=0,vi=null,mi=null,yi=null,gi=!1,bi=!1,wi=0,xi=0;function ki(){throw Error(a(321))}function Si(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!lr(e[n],t[n]))return!1;return!0}function Ei(e,t,n,r,o,i){if(hi=i,vi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,di.current=null===e||null===e.memoizedState?ll:ul,e=n(r,o),bi){i=0;do{if(bi=!1,wi=0,25<=i)throw Error(a(301));i+=1,yi=mi=null,t.updateQueue=null,di.current=sl,e=n(r,o)}while(bi)}if(di.current=il,t=null!==mi&&null!==mi.next,hi=0,yi=mi=vi=null,gi=!1,t)throw Error(a(300));return e}function Ci(){var e=0!==wi;return wi=0,e}function Oi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===yi?vi.memoizedState=yi=e:yi=yi.next=e,yi}function _i(){if(null===mi){var e=vi.alternate;e=null!==e?e.memoizedState:null}else e=mi.next;var t=null===yi?vi.memoizedState:yi.next;if(null!==t)yi=t,mi=e;else{if(null===e)throw Error(a(310));e={memoizedState:(mi=e).memoizedState,baseState:mi.baseState,baseQueue:mi.baseQueue,queue:mi.queue,next:null},null===yi?vi.memoizedState=yi=e:yi=yi.next=e}return yi}function Ni(e,t){return"function"===typeof t?t(e):t}function Pi(e){var t=_i(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=mi,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var l=o.next;o.next=i.next,i.next=l}r.baseQueue=o=i,n.pending=null}if(null!==o){i=o.next,r=r.baseState;var u=l=null,s=null,c=i;do{var f=c.lane;if((hi&f)===f)null!==s&&(s=s.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var d={lane:f,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===s?(u=s=d,l=r):s=s.next=d,vi.lanes|=f,Mu|=f}c=c.next}while(null!==c&&c!==i);null===s?l=r:s.next=u,lr(r,t.memoizedState)||(wl=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=s,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{i=o.lane,vi.lanes|=i,Mu|=i,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ti(e){var t=_i(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var l=o=o.next;do{i=e(i,l.action),l=l.next}while(l!==o);lr(i,t.memoizedState)||(wl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function ji(){}function Ri(e,t){var n=vi,r=_i(),o=t(),i=!lr(r.memoizedState,o);if(i&&(r.memoizedState=o,wl=!0),r=r.queue,Wi(zi.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==yi&&1&yi.memoizedState.tag){if(n.flags|=2048,Di(9,Ai.bind(null,n,r,o,t),void 0,null),null===Tu)throw Error(a(349));0!==(30&hi)||Li(n,t,o)}return o}function Li(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=vi.updateQueue)?(t={lastEffect:null,stores:null},vi.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ai(e,t,n,r){t.value=n,t.getSnapshot=r,Ii(t)&&Mi(e)}function zi(e,t,n){return n((function(){Ii(t)&&Mi(e)}))}function Ii(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!lr(e,n)}catch(r){return!0}}function Mi(e){var t=Ta(e,1);null!==t&&rs(t,e,1,-1)}function Fi(e){var t=Oi();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ni,lastRenderedState:e},t.queue=e,e=e.dispatch=nl.bind(null,vi,e),[t.memoizedState,e]}function Di(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=vi.updateQueue)?(t={lastEffect:null,stores:null},vi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Bi(){return _i().memoizedState}function Ui(e,t,n,r){var o=Oi();vi.flags|=e,o.memoizedState=Di(1|t,n,void 0,void 0===r?null:r)}function Vi(e,t,n,r){var o=_i();r=void 0===r?null:r;var a=void 0;if(null!==mi){var i=mi.memoizedState;if(a=i.destroy,null!==r&&Si(r,i.deps))return void(o.memoizedState=Di(t,n,a,r))}vi.flags|=e,o.memoizedState=Di(1|t,n,a,r)}function Hi(e,t){return Ui(8390656,8,e,t)}function Wi(e,t){return Vi(2048,8,e,t)}function $i(e,t){return Vi(4,2,e,t)}function qi(e,t){return Vi(4,4,e,t)}function Ki(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 Qi(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Vi(4,4,Ki.bind(null,t,e),n)}function Yi(){}function Gi(e,t){var n=_i();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Si(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Xi(e,t){var n=_i();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Si(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ji(e,t,n){return 0===(21&hi)?(e.baseState&&(e.baseState=!1,wl=!0),e.memoizedState=n):(lr(n,t)||(n=vt(),vi.lanes|=n,Mu|=n,e.baseState=!0),t)}function Zi(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=pi.transition;pi.transition={};try{e(!1),t()}finally{bt=n,pi.transition=r}}function el(){return _i().memoizedState}function tl(e,t,n){var r=ns(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rl(e))ol(t,n);else if(null!==(n=Pa(e,t,n,r))){rs(n,e,r,ts()),al(n,t,r)}}function nl(e,t,n){var r=ns(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rl(e))ol(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=a(i,n);if(o.hasEagerState=!0,o.eagerState=l,lr(l,i)){var u=t.interleaved;return null===u?(o.next=o,Na(t)):(o.next=u.next,u.next=o),void(t.interleaved=o)}}catch(s){}null!==(n=Pa(e,t,o,r))&&(rs(n,e,r,o=ts()),al(n,t,r))}}function rl(e){var t=e.alternate;return e===vi||null!==t&&t===vi}function ol(e,t){bi=gi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function al(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,gt(e,n)}}var il={readContext:Oa,useCallback:ki,useContext:ki,useEffect:ki,useImperativeHandle:ki,useInsertionEffect:ki,useLayoutEffect:ki,useMemo:ki,useReducer:ki,useRef:ki,useState:ki,useDebugValue:ki,useDeferredValue:ki,useTransition:ki,useMutableSource:ki,useSyncExternalStore:ki,useId:ki,unstable_isNewReconciler:!1},ll={readContext:Oa,useCallback:function(e,t){return Oi().memoizedState=[e,void 0===t?null:t],e},useContext:Oa,useEffect:Hi,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Ui(4194308,4,Ki.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ui(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ui(4,2,e,t)},useMemo:function(e,t){var n=Oi();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Oi();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=tl.bind(null,vi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Oi().memoizedState=e},useState:Fi,useDebugValue:Yi,useDeferredValue:function(e){return Oi().memoizedState=e},useTransition:function(){var e=Fi(!1),t=e[0];return e=Zi.bind(null,e[1]),Oi().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=vi,o=Oi();if(aa){if(void 0===n)throw Error(a(407));n=n()}else{if(n=t(),null===Tu)throw Error(a(349));0!==(30&hi)||Li(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Hi(zi.bind(null,r,i,e),[e]),r.flags|=2048,Di(9,Ai.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Oi(),t=Tu.identifierPrefix;if(aa){var n=Jo;t=":"+t+"R"+(n=(Xo&~(1<<32-it(Xo)-1)).toString(32)+n),0<(n=wi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=xi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ul={readContext:Oa,useCallback:Gi,useContext:Oa,useEffect:Wi,useImperativeHandle:Qi,useInsertionEffect:$i,useLayoutEffect:qi,useMemo:Xi,useReducer:Pi,useRef:Bi,useState:function(){return Pi(Ni)},useDebugValue:Yi,useDeferredValue:function(e){return Ji(_i(),mi.memoizedState,e)},useTransition:function(){return[Pi(Ni)[0],_i().memoizedState]},useMutableSource:ji,useSyncExternalStore:Ri,useId:el,unstable_isNewReconciler:!1},sl={readContext:Oa,useCallback:Gi,useContext:Oa,useEffect:Wi,useImperativeHandle:Qi,useInsertionEffect:$i,useLayoutEffect:qi,useMemo:Xi,useReducer:Ti,useRef:Bi,useState:function(){return Ti(Ni)},useDebugValue:Yi,useDeferredValue:function(e){var t=_i();return null===mi?t.memoizedState=e:Ji(t,mi.memoizedState,e)},useTransition:function(){return[Ti(Ni)[0],_i().memoizedState]},useMutableSource:ji,useSyncExternalStore:Ri,useId:el,unstable_isNewReconciler:!1};function cl(e,t){try{var n="",r=t;do{n+=U(r),r=r.return}while(r);var o=n}catch(a){o="\nError generating stack: "+a.message+"\n"+a.stack}return{value:e,source:t,stack:o,digest:null}}function fl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function dl(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var pl="function"===typeof WeakMap?WeakMap:Map;function hl(e,t,n){(n=Aa(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){$u||($u=!0,qu=r),dl(0,t)},n}function vl(e,t,n){(n=Aa(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){dl(0,t)}}var a=e.stateNode;return null!==a&&"function"===typeof a.componentDidCatch&&(n.callback=function(){dl(0,t),"function"!==typeof r&&(null===Ku?Ku=new Set([this]):Ku.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ml(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new pl;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Os.bind(null,e,t,n),t.then(e,e))}function yl(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 gl(e,t,n,r,o){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,za(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var bl=w.ReactCurrentOwner,wl=!1;function xl(e,t,n,r){t.child=null===e?Ja(t,null,n,r):Xa(t,e.child,n,r)}function kl(e,t,n,r,o){n=n.render;var a=t.ref;return Ca(t,o),r=Ei(e,t,n,r,a,o),n=Ci(),null===e||wl?(aa&&n&&ta(t),t.flags|=1,xl(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,$l(e,t,o))}function Sl(e,t,n,r,o){if(null===e){var a=n.type;return"function"!==typeof a||Ls(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=zs(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,El(e,t,a,r,o))}if(a=e.child,0===(e.lanes&o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:ur)(i,r)&&e.ref===t.ref)return $l(e,t,o)}return t.flags|=1,(e=As(a,r)).ref=t.ref,e.return=t,t.child=e}function El(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(ur(a,r)&&e.ref===t.ref){if(wl=!1,t.pendingProps=r=a,0===(e.lanes&o))return t.lanes=e.lanes,$l(e,t,o);0!==(131072&e.flags)&&(wl=!0)}}return _l(e,t,n,r,o)}function Cl(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},_o(Au,Lu),Lu|=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,_o(Au,Lu),Lu|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,_o(Au,Lu),Lu|=r}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,_o(Au,Lu),Lu|=r;return xl(e,t,o,n),t.child}function Ol(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function _l(e,t,n,r,o){var a=Lo(n)?jo:Po.current;return a=Ro(t,a),Ca(t,o),n=Ei(e,t,n,r,a,o),r=Ci(),null===e||wl?(aa&&r&&ta(t),t.flags|=1,xl(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,$l(e,t,o))}function Nl(e,t,n,r,o){if(Lo(n)){var a=!0;Mo(t)}else a=!1;if(Ca(t,o),null===t.stateNode)Wl(e,t),Wa(t,n,r),qa(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var u=i.context,s=n.contextType;"object"===typeof s&&null!==s?s=Oa(s):s=Ro(t,s=Lo(n)?jo:Po.current);var c=n.getDerivedStateFromProps,f="function"===typeof c||"function"===typeof i.getSnapshotBeforeUpdate;f||"function"!==typeof i.UNSAFE_componentWillReceiveProps&&"function"!==typeof i.componentWillReceiveProps||(l!==r||u!==s)&&$a(t,i,r,s),ja=!1;var d=t.memoizedState;i.state=d,Fa(t,r,i,o),u=t.memoizedState,l!==r||d!==u||To.current||ja?("function"===typeof c&&(Ua(t,n,c,r),u=t.memoizedState),(l=ja||Ha(t,n,l,r,d,u,s))?(f||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||("function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"===typeof i.componentDidMount&&(t.flags|=4194308)):("function"===typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),i.props=r,i.state=u,i.context=s,r=l):("function"===typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,La(e,t),l=t.memoizedProps,s=t.type===t.elementType?l:ya(t.type,l),i.props=s,f=t.pendingProps,d=i.context,"object"===typeof(u=n.contextType)&&null!==u?u=Oa(u):u=Ro(t,u=Lo(n)?jo:Po.current);var p=n.getDerivedStateFromProps;(c="function"===typeof p||"function"===typeof i.getSnapshotBeforeUpdate)||"function"!==typeof i.UNSAFE_componentWillReceiveProps&&"function"!==typeof i.componentWillReceiveProps||(l!==f||d!==u)&&$a(t,i,r,u),ja=!1,d=t.memoizedState,i.state=d,Fa(t,r,i,o);var h=t.memoizedState;l!==f||d!==h||To.current||ja?("function"===typeof p&&(Ua(t,n,p,r),h=t.memoizedState),(s=ja||Ha(t,n,s,r,d,h,u)||!1)?(c||"function"!==typeof i.UNSAFE_componentWillUpdate&&"function"!==typeof i.componentWillUpdate||("function"===typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,u),"function"===typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,u)),"function"===typeof i.componentDidUpdate&&(t.flags|=4),"function"===typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof i.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=u,r=s):("function"!==typeof i.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Pl(e,t,n,r,a,o)}function Pl(e,t,n,r,o,a){Ol(e,t);var i=0!==(128&t.flags);if(!r&&!i)return o&&Fo(t,n,!1),$l(e,t,a);r=t.stateNode,bl.current=t;var l=i&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Xa(t,e.child,null,a),t.child=Xa(t,null,l,a)):xl(e,t,l,a),t.memoizedState=r.state,o&&Fo(t,n,!0),t.child}function Tl(e){var t=e.stateNode;t.pendingContext?zo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&zo(0,t.context,!1),oi(e,t.containerInfo)}function jl(e,t,n,r,o){return ha(),va(o),t.flags|=256,xl(e,t,n,r),t.child}var Rl,Ll,Al,zl,Il={dehydrated:null,treeContext:null,retryLane:0};function Ml(e){return{baseLanes:e,cachePool:null,transitions:null}}function Fl(e,t,n){var r,o=t.pendingProps,i=ui.current,l=!1,u=0!==(128&t.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&0!==(2&i)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),_o(ui,1&i),null===e)return ca(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):(u=o.children,e=o.fallback,l?(o=t.mode,l=t.child,u={mode:"hidden",children:u},0===(1&o)&&null!==l?(l.childLanes=0,l.pendingProps=u):l=Ms(u,o,0,null),e=Is(e,o,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Ml(n),t.memoizedState=Il,e):Dl(t,u));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,o,i,l){if(n)return 256&t.flags?(t.flags&=-257,Bl(e,t,l,r=fl(Error(a(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Ms({mode:"visible",children:r.children},o,0,null),(i=Is(i,o,l,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!==(1&t.mode)&&Xa(t,e.child,null,l),t.child.memoizedState=Ml(l),t.memoizedState=Il,i);if(0===(1&t.mode))return Bl(e,t,l,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var u=r.dgst;return r=u,Bl(e,t,l,r=fl(i=Error(a(419)),r,void 0))}if(u=0!==(l&e.childLanes),wl||u){if(null!==(r=Tu)){switch(l&-l){case 4:o=2;break;case 16:o=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:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!==(o&(r.suspendedLanes|l))?0:o)&&o!==i.retryLane&&(i.retryLane=o,Ta(e,o),rs(r,e,o,-1))}return ms(),Bl(e,t,l,r=fl(Error(a(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Ns.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,oa=so(o.nextSibling),ra=t,aa=!0,ia=null,null!==e&&(Qo[Yo++]=Xo,Qo[Yo++]=Jo,Qo[Yo++]=Go,Xo=e.id,Jo=e.overflow,Go=t),t=Dl(t,r.children),t.flags|=4096,t)}(e,t,u,o,r,i,n);if(l){l=o.fallback,u=t.mode,r=(i=e.child).sibling;var s={mode:"hidden",children:o.children};return 0===(1&u)&&t.child!==i?((o=t.child).childLanes=0,o.pendingProps=s,t.deletions=null):(o=As(i,s)).subtreeFlags=14680064&i.subtreeFlags,null!==r?l=As(r,l):(l=Is(l,u,n,null)).flags|=2,l.return=t,o.return=t,o.sibling=l,t.child=o,o=l,l=t.child,u=null===(u=e.child.memoizedState)?Ml(n):{baseLanes:u.baseLanes|n,cachePool:null,transitions:u.transitions},l.memoizedState=u,l.childLanes=e.childLanes&~n,t.memoizedState=Il,o}return e=(l=e.child).sibling,o=As(l,{mode:"visible",children:o.children}),0===(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Dl(e,t){return(t=Ms({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Bl(e,t,n,r){return null!==r&&va(r),Xa(t,e.child,null,n),(e=Dl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ul(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ea(e.return,t,n)}function Vl(e,t,n,r,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o)}function Hl(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(xl(e,t,r.children,n),0!==(2&(r=ui.current)))r=1&r|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&&Ul(e,n,t);else if(19===e.tag)Ul(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}r&=1}if(_o(ui,r),0===(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===si(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Vl(t,!1,o,n,a);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===si(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Vl(t,!0,n,null,a);break;case"together":Vl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Wl(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function $l(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Mu|=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=As(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=As(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function ql(e,t){if(!aa)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 r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Kl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ql(e,t,n){var r=t.pendingProps;switch(na(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Kl(t),null;case 1:case 17:return Lo(t.type)&&Ao(),Kl(t),null;case 3:return r=t.stateNode,ai(),Oo(To),Oo(Po),fi(),r.pendingContext&&(r.context=r.pendingContext,r.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!==ia&&(ls(ia),ia=null))),Ll(e,t),Kl(t),null;case 5:li(t);var o=ri(ni.current);if(n=t.type,null!==e&&null!=t.stateNode)Al(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(a(166));return Kl(t),null}if(e=ri(ei.current),da(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[po]=t,r[ho]=i,e=0!==(1&t.mode),n){case"dialog":Dr("cancel",r),Dr("close",r);break;case"iframe":case"object":case"embed":Dr("load",r);break;case"video":case"audio":for(o=0;o<zr.length;o++)Dr(zr[o],r);break;case"source":Dr("error",r);break;case"img":case"image":case"link":Dr("error",r),Dr("load",r);break;case"details":Dr("toggle",r);break;case"input":G(r,i),Dr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Dr("invalid",r);break;case"textarea":oe(r,i),Dr("invalid",r)}for(var u in ge(n,i),o=null,i)if(i.hasOwnProperty(u)){var s=i[u];"children"===u?"string"===typeof s?r.textContent!==s&&(!0!==i.suppressHydrationWarning&&Jr(r.textContent,s,e),o=["children",s]):"number"===typeof s&&r.textContent!==""+s&&(!0!==i.suppressHydrationWarning&&Jr(r.textContent,s,e),o=["children",""+s]):l.hasOwnProperty(u)&&null!=s&&"onScroll"===u&&Dr("scroll",r)}switch(n){case"input":q(r),Z(r,i,!0);break;case"textarea":q(r),ie(r);break;case"select":case"option":break;default:"function"===typeof i.onClick&&(r.onclick=Zr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{u=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),"select"===n&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[po]=t,e[ho]=r,Rl(e,t,!1,!1),t.stateNode=e;e:{switch(u=be(n,r),n){case"dialog":Dr("cancel",e),Dr("close",e),o=r;break;case"iframe":case"object":case"embed":Dr("load",e),o=r;break;case"video":case"audio":for(o=0;o<zr.length;o++)Dr(zr[o],e);o=r;break;case"source":Dr("error",e),o=r;break;case"img":case"image":case"link":Dr("error",e),Dr("load",e),o=r;break;case"details":Dr("toggle",e),o=r;break;case"input":G(e,r),o=Y(e,r),Dr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=M({},r,{value:void 0}),Dr("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Dr("invalid",e)}for(i in ge(n,o),s=o)if(s.hasOwnProperty(i)){var c=s[i];"style"===i?me(e,c):"dangerouslySetInnerHTML"===i?null!=(c=c?c.__html:void 0)&&fe(e,c):"children"===i?"string"===typeof c?("textarea"!==n||""!==c)&&de(e,c):"number"===typeof c&&de(e,""+c):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(l.hasOwnProperty(i)?null!=c&&"onScroll"===i&&Dr("scroll",e):null!=c&&b(e,i,c,u))}switch(n){case"input":q(e),Z(e,r,!1);break;case"textarea":q(e),ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+W(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?ne(e,!!r.multiple,i,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof o.onClick&&(e.onclick=Zr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Kl(t),null;case 6:if(e&&null!=t.stateNode)zl(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(a(166));if(n=ri(ni.current),ri(ei.current),da(t)){if(r=t.stateNode,n=t.memoizedProps,r[po]=t,(i=r.nodeValue!==n)&&null!==(e=ra))switch(e.tag){case 3:Jr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Jr(r.nodeValue,n,0!==(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[po]=t,t.stateNode=r}return Kl(t),null;case 13:if(Oo(ui),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(aa&&null!==oa&&0!==(1&t.mode)&&0===(128&t.flags))pa(),ha(),t.flags|=98560,i=!1;else if(i=da(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(a(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(a(317));i[po]=t}else ha(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Kl(t),i=!1}else null!==ia&&(ls(ia),ia=null),i=!0;if(!i)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&ui.current)?0===zu&&(zu=3):ms())),null!==t.updateQueue&&(t.flags|=4),Kl(t),null);case 4:return ai(),Ll(e,t),null===e&&Vr(t.stateNode.containerInfo),Kl(t),null;case 10:return Sa(t.type._context),Kl(t),null;case 19:if(Oo(ui),null===(i=t.memoizedState))return Kl(t),null;if(r=0!==(128&t.flags),null===(u=i.rendering))if(r)ql(i,!1);else{if(0!==zu||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(u=si(e))){for(t.flags|=128,ql(i,!1),null!==(r=u.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(u=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=u.childLanes,i.lanes=u.lanes,i.child=u.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=u.memoizedProps,i.memoizedState=u.memoizedState,i.updateQueue=u.updateQueue,i.type=u.type,e=u.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return _o(ui,1&ui.current|2),t.child}e=e.sibling}null!==i.tail&&Xe()>Hu&&(t.flags|=128,r=!0,ql(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=si(u))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),ql(i,!0),null===i.tail&&"hidden"===i.tailMode&&!u.alternate&&!aa)return Kl(t),null}else 2*Xe()-i.renderingStartTime>Hu&&1073741824!==n&&(t.flags|=128,r=!0,ql(i,!1),t.lanes=4194304);i.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=i.last)?n.sibling=u:t.child=u,i.last=u)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Xe(),t.sibling=null,n=ui.current,_o(ui,r?1&n|2:1&n),t):(Kl(t),null);case 22:case 23:return ds(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&Lu)&&(Kl(t),6&t.subtreeFlags&&(t.flags|=8192)):Kl(t),null;case 24:case 25:return null}throw Error(a(156,t.tag))}function Yl(e,t){switch(na(t),t.tag){case 1:return Lo(t.type)&&Ao(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ai(),Oo(To),Oo(Po),fi(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return li(t),null;case 13:if(Oo(ui),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 Oo(ui),null;case 4:return ai(),null;case 10:return Sa(t.type._context),null;case 22:case 23:return ds(),null;default:return null}}Rl=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}},Ll=function(){},Al=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ri(ei.current);var a,i=null;switch(n){case"input":o=Y(e,o),r=Y(e,r),i=[];break;case"select":o=M({},o,{value:void 0}),r=M({},r,{value:void 0}),i=[];break;case"textarea":o=re(e,o),r=re(e,r),i=[];break;default:"function"!==typeof o.onClick&&"function"===typeof r.onClick&&(e.onclick=Zr)}for(c in ge(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var u=o[c];for(a in u)u.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(l.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var s=r[c];if(u=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&s!==u&&(null!=s||null!=u))if("style"===c)if(u){for(a in u)!u.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in s)s.hasOwnProperty(a)&&u[a]!==s[a]&&(n||(n={}),n[a]=s[a])}else n||(i||(i=[]),i.push(c,n)),n=s;else"dangerouslySetInnerHTML"===c?(s=s?s.__html:void 0,u=u?u.__html:void 0,null!=s&&u!==s&&(i=i||[]).push(c,s)):"children"===c?"string"!==typeof s&&"number"!==typeof s||(i=i||[]).push(c,""+s):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(l.hasOwnProperty(c)?(null!=s&&"onScroll"===c&&Dr("scroll",e),i||u===s||(i=[])):(i=i||[]).push(c,s))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}},zl=function(e,t,n,r){n!==r&&(t.flags|=4)};var Gl=!1,Xl=!1,Jl="function"===typeof WeakSet?WeakSet:Set,Zl=null;function eu(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){Cs(e,t,r)}else n.current=null}function tu(e,t,n){try{n()}catch(r){Cs(e,t,r)}}var nu=!1;function ru(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,void 0!==a&&tu(t,n,a)}o=o.next}while(o!==r)}}function ou(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function au(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 iu(e){var t=e.alternate;null!==t&&(e.alternate=null,iu(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[po],delete t[ho],delete t[mo],delete t[yo],delete t[go])),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 lu(e){return 5===e.tag||3===e.tag||4===e.tag}function uu(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||lu(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 su(e,t,n){var r=e.tag;if(5===r||6===r)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=Zr));else if(4!==r&&null!==(e=e.child))for(su(e,t,n),e=e.sibling;null!==e;)su(e,t,n),e=e.sibling}function cu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cu(e,t,n),e=e.sibling;null!==e;)cu(e,t,n),e=e.sibling}var fu=null,du=!1;function pu(e,t,n){for(n=n.child;null!==n;)hu(e,t,n),n=n.sibling}function hu(e,t,n){if(at&&"function"===typeof at.onCommitFiberUnmount)try{at.onCommitFiberUnmount(ot,n)}catch(l){}switch(n.tag){case 5:Xl||eu(n,t);case 6:var r=fu,o=du;fu=null,pu(e,t,n),du=o,null!==(fu=r)&&(du?(e=fu,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):fu.removeChild(n.stateNode));break;case 18:null!==fu&&(du?(e=fu,n=n.stateNode,8===e.nodeType?uo(e.parentNode,n):1===e.nodeType&&uo(e,n),Vt(e)):uo(fu,n.stateNode));break;case 4:r=fu,o=du,fu=n.stateNode.containerInfo,du=!0,pu(e,t,n),fu=r,du=o;break;case 0:case 11:case 14:case 15:if(!Xl&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var a=o,i=a.destroy;a=a.tag,void 0!==i&&(0!==(2&a)||0!==(4&a))&&tu(n,t,i),o=o.next}while(o!==r)}pu(e,t,n);break;case 1:if(!Xl&&(eu(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Cs(n,t,l)}pu(e,t,n);break;case 21:pu(e,t,n);break;case 22:1&n.mode?(Xl=(r=Xl)||null!==n.memoizedState,pu(e,t,n),Xl=r):pu(e,t,n);break;default:pu(e,t,n)}}function vu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Jl),t.forEach((function(t){var r=Ps.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function mu(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,l=t,u=l;e:for(;null!==u;){switch(u.tag){case 5:fu=u.stateNode,du=!1;break e;case 3:case 4:fu=u.stateNode.containerInfo,du=!0;break e}u=u.return}if(null===fu)throw Error(a(160));hu(i,l,o),fu=null,du=!1;var s=o.alternate;null!==s&&(s.return=null),o.return=null}catch(c){Cs(o,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)yu(t,e),t=t.sibling}function yu(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(mu(t,e),gu(e),4&r){try{ru(3,e,e.return),ou(3,e)}catch(m){Cs(e,e.return,m)}try{ru(5,e,e.return)}catch(m){Cs(e,e.return,m)}}break;case 1:mu(t,e),gu(e),512&r&&null!==n&&eu(n,n.return);break;case 5:if(mu(t,e),gu(e),512&r&&null!==n&&eu(n,n.return),32&e.flags){var o=e.stateNode;try{de(o,"")}catch(m){Cs(e,e.return,m)}}if(4&r&&null!=(o=e.stateNode)){var i=e.memoizedProps,l=null!==n?n.memoizedProps:i,u=e.type,s=e.updateQueue;if(e.updateQueue=null,null!==s)try{"input"===u&&"radio"===i.type&&null!=i.name&&X(o,i),be(u,l);var c=be(u,i);for(l=0;l<s.length;l+=2){var f=s[l],d=s[l+1];"style"===f?me(o,d):"dangerouslySetInnerHTML"===f?fe(o,d):"children"===f?de(o,d):b(o,f,d,c)}switch(u){case"input":J(o,i);break;case"textarea":ae(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var h=i.value;null!=h?ne(o,!!i.multiple,h,!1):p!==!!i.multiple&&(null!=i.defaultValue?ne(o,!!i.multiple,i.defaultValue,!0):ne(o,!!i.multiple,i.multiple?[]:"",!1))}o[ho]=i}catch(m){Cs(e,e.return,m)}}break;case 6:if(mu(t,e),gu(e),4&r){if(null===e.stateNode)throw Error(a(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(m){Cs(e,e.return,m)}}break;case 3:if(mu(t,e),gu(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Vt(t.containerInfo)}catch(m){Cs(e,e.return,m)}break;case 4:default:mu(t,e),gu(e);break;case 13:mu(t,e),gu(e),8192&(o=e.child).flags&&(i=null!==o.memoizedState,o.stateNode.isHidden=i,!i||null!==o.alternate&&null!==o.alternate.memoizedState||(Vu=Xe())),4&r&&vu(e);break;case 22:if(f=null!==n&&null!==n.memoizedState,1&e.mode?(Xl=(c=Xl)||f,mu(t,e),Xl=c):mu(t,e),gu(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!f&&0!==(1&e.mode))for(Zl=e,f=e.child;null!==f;){for(d=Zl=f;null!==Zl;){switch(h=(p=Zl).child,p.tag){case 0:case 11:case 14:case 15:ru(4,p,p.return);break;case 1:eu(p,p.return);var v=p.stateNode;if("function"===typeof v.componentWillUnmount){r=p,n=p.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(m){Cs(r,n,m)}}break;case 5:eu(p,p.return);break;case 22:if(null!==p.memoizedState){ku(d);continue}}null!==h?(h.return=p,Zl=h):ku(d)}f=f.sibling}e:for(f=null,d=e;;){if(5===d.tag){if(null===f){f=d;try{o=d.stateNode,c?"function"===typeof(i=o.style).setProperty?i.setProperty("display","none","important"):i.display="none":(u=d.stateNode,l=void 0!==(s=d.memoizedProps.style)&&null!==s&&s.hasOwnProperty("display")?s.display:null,u.style.display=ve("display",l))}catch(m){Cs(e,e.return,m)}}}else if(6===d.tag){if(null===f)try{d.stateNode.nodeValue=c?"":d.memoizedProps}catch(m){Cs(e,e.return,m)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;f===d&&(f=null),d=d.return}f===d&&(f=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:mu(t,e),gu(e),4&r&&vu(e);case 21:}}function gu(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(lu(n)){var r=n;break e}n=n.return}throw Error(a(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(de(o,""),r.flags&=-33),cu(e,uu(e),o);break;case 3:case 4:var i=r.stateNode.containerInfo;su(e,uu(e),i);break;default:throw Error(a(161))}}catch(l){Cs(e,e.return,l)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bu(e,t,n){Zl=e,wu(e,t,n)}function wu(e,t,n){for(var r=0!==(1&e.mode);null!==Zl;){var o=Zl,a=o.child;if(22===o.tag&&r){var i=null!==o.memoizedState||Gl;if(!i){var l=o.alternate,u=null!==l&&null!==l.memoizedState||Xl;l=Gl;var s=Xl;if(Gl=i,(Xl=u)&&!s)for(Zl=o;null!==Zl;)u=(i=Zl).child,22===i.tag&&null!==i.memoizedState?Su(o):null!==u?(u.return=i,Zl=u):Su(o);for(;null!==a;)Zl=a,wu(a,t,n),a=a.sibling;Zl=o,Gl=l,Xl=s}xu(e)}else 0!==(8772&o.subtreeFlags)&&null!==a?(a.return=o,Zl=a):xu(e)}}function xu(e){for(;null!==Zl;){var t=Zl;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Xl||ou(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Xl)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:ya(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Da(t,i,r);break;case 3:var l=t.updateQueue;if(null!==l){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Da(t,l,n)}break;case 5:var u=t.stateNode;if(null===n&&4&t.flags){n=u;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.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 f=c.memoizedState;if(null!==f){var d=f.dehydrated;null!==d&&Vt(d)}}}break;default:throw Error(a(163))}Xl||512&t.flags&&au(t)}catch(p){Cs(t,t.return,p)}}if(t===e){Zl=null;break}if(null!==(n=t.sibling)){n.return=t.return,Zl=n;break}Zl=t.return}}function ku(e){for(;null!==Zl;){var t=Zl;if(t===e){Zl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Zl=n;break}Zl=t.return}}function Su(e){for(;null!==Zl;){var t=Zl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ou(4,t)}catch(u){Cs(t,n,u)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(u){Cs(t,o,u)}}var a=t.return;try{au(t)}catch(u){Cs(t,a,u)}break;case 5:var i=t.return;try{au(t)}catch(u){Cs(t,i,u)}}}catch(u){Cs(t,t.return,u)}if(t===e){Zl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Zl=l;break}Zl=t.return}}var Eu,Cu=Math.ceil,Ou=w.ReactCurrentDispatcher,_u=w.ReactCurrentOwner,Nu=w.ReactCurrentBatchConfig,Pu=0,Tu=null,ju=null,Ru=0,Lu=0,Au=Co(0),zu=0,Iu=null,Mu=0,Fu=0,Du=0,Bu=null,Uu=null,Vu=0,Hu=1/0,Wu=null,$u=!1,qu=null,Ku=null,Qu=!1,Yu=null,Gu=0,Xu=0,Ju=null,Zu=-1,es=0;function ts(){return 0!==(6&Pu)?Xe():-1!==Zu?Zu:Zu=Xe()}function ns(e){return 0===(1&e.mode)?1:0!==(2&Pu)&&0!==Ru?Ru&-Ru:null!==ma.transition?(0===es&&(es=vt()),es):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Gt(e.type)}function rs(e,t,n,r){if(50<Xu)throw Xu=0,Ju=null,Error(a(185));yt(e,n,r),0!==(2&Pu)&&e===Tu||(e===Tu&&(0===(2&Pu)&&(Fu|=n),4===zu&&us(e,Ru)),os(e,r),1===n&&0===Pu&&0===(1&t.mode)&&(Hu=Xe()+500,Bo&&Ho()))}function os(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-it(a),l=1<<i,u=o[i];-1===u?0!==(l&n)&&0===(l&r)||(o[i]=pt(l,t)):u<=t&&(e.expiredLanes|=l),a&=~l}}(e,t);var r=dt(e,e===Tu?Ru:0);if(0===r)null!==n&&Qe(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Qe(n),1===t)0===e.tag?function(e){Bo=!0,Vo(e)}(ss.bind(null,e)):Vo(ss.bind(null,e)),io((function(){0===(6&Pu)&&Ho()})),n=null;else{switch(wt(r)){case 1:n=Ze;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Ts(n,as.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function as(e,t){if(Zu=-1,es=0,0!==(6&Pu))throw Error(a(327));var n=e.callbackNode;if(Ss()&&e.callbackNode!==n)return null;var r=dt(e,e===Tu?Ru:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=ys(e,r);else{t=r;var o=Pu;Pu|=2;var i=vs();for(Tu===e&&Ru===t||(Wu=null,Hu=Xe()+500,ps(e,t));;)try{bs();break}catch(u){hs(e,u)}ka(),Ou.current=i,Pu=o,null!==ju?t=0:(Tu=null,Ru=0,t=zu)}if(0!==t){if(2===t&&(0!==(o=ht(e))&&(r=o,t=is(e,o))),1===t)throw n=Iu,ps(e,0),us(e,r),os(e,Xe()),n;if(6===t)us(e,r);else{if(o=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],a=o.getSnapshot;o=o.value;try{if(!lr(a(),o))return!1}catch(l){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}(o)&&(2===(t=ys(e,r))&&(0!==(i=ht(e))&&(r=i,t=is(e,i))),1===t))throw n=Iu,ps(e,0),us(e,r),os(e,Xe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(a(345));case 2:case 5:ks(e,Uu,Wu);break;case 3:if(us(e,r),(130023424&r)===r&&10<(t=Vu+500-Xe())){if(0!==dt(e,0))break;if(((o=e.suspendedLanes)&r)!==r){ts(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(ks.bind(null,e,Uu,Wu),t);break}ks(e,Uu,Wu);break;case 4:if(us(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var l=31-it(r);i=1<<l,(l=t[l])>o&&(o=l),r&=~i}if(r=o,10<(r=(120>(r=Xe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cu(r/1960))-r)){e.timeoutHandle=ro(ks.bind(null,e,Uu,Wu),r);break}ks(e,Uu,Wu);break;default:throw Error(a(329))}}}return os(e,Xe()),e.callbackNode===n?as.bind(null,e):null}function is(e,t){var n=Bu;return e.current.memoizedState.isDehydrated&&(ps(e,t).flags|=256),2!==(e=ys(e,t))&&(t=Uu,Uu=n,null!==t&&ls(t)),e}function ls(e){null===Uu?Uu=e:Uu.push.apply(Uu,e)}function us(e,t){for(t&=~Du,t&=~Fu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-it(t),r=1<<n;e[n]=-1,t&=~r}}function ss(e){if(0!==(6&Pu))throw Error(a(327));Ss();var t=dt(e,0);if(0===(1&t))return os(e,Xe()),null;var n=ys(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=is(e,r))}if(1===n)throw n=Iu,ps(e,0),us(e,t),os(e,Xe()),n;if(6===n)throw Error(a(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ks(e,Uu,Wu),os(e,Xe()),null}function cs(e,t){var n=Pu;Pu|=1;try{return e(t)}finally{0===(Pu=n)&&(Hu=Xe()+500,Bo&&Ho())}}function fs(e){null!==Yu&&0===Yu.tag&&0===(6&Pu)&&Ss();var t=Pu;Pu|=1;var n=Nu.transition,r=bt;try{if(Nu.transition=null,bt=1,e)return e()}finally{bt=r,Nu.transition=n,0===(6&(Pu=t))&&Ho()}}function ds(){Lu=Au.current,Oo(Au)}function ps(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==ju)for(n=ju.return;null!==n;){var r=n;switch(na(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Ao();break;case 3:ai(),Oo(To),Oo(Po),fi();break;case 5:li(r);break;case 4:ai();break;case 13:case 19:Oo(ui);break;case 10:Sa(r.type._context);break;case 22:case 23:ds()}n=n.return}if(Tu=e,ju=e=As(e.current,null),Ru=Lu=t,zu=0,Iu=null,Du=Fu=Mu=0,Uu=Bu=null,null!==_a){for(t=0;t<_a.length;t++)if(null!==(r=(n=_a[t]).interleaved)){n.interleaved=null;var o=r.next,a=n.pending;if(null!==a){var i=a.next;a.next=o,r.next=i}n.pending=r}_a=null}return e}function hs(e,t){for(;;){var n=ju;try{if(ka(),di.current=il,gi){for(var r=vi.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}gi=!1}if(hi=0,yi=mi=vi=null,bi=!1,wi=0,_u.current=null,null===n||null===n.return){zu=1,Iu=t,ju=null;break}e:{var i=e,l=n.return,u=n,s=t;if(t=Ru,u.flags|=32768,null!==s&&"object"===typeof s&&"function"===typeof s.then){var c=s,f=u,d=f.tag;if(0===(1&f.mode)&&(0===d||11===d||15===d)){var p=f.alternate;p?(f.updateQueue=p.updateQueue,f.memoizedState=p.memoizedState,f.lanes=p.lanes):(f.updateQueue=null,f.memoizedState=null)}var h=yl(l);if(null!==h){h.flags&=-257,gl(h,l,u,0,t),1&h.mode&&ml(i,c,t),s=c;var v=(t=h).updateQueue;if(null===v){var m=new Set;m.add(s),t.updateQueue=m}else v.add(s);break e}if(0===(1&t)){ml(i,c,t),ms();break e}s=Error(a(426))}else if(aa&&1&u.mode){var y=yl(l);if(null!==y){0===(65536&y.flags)&&(y.flags|=256),gl(y,l,u,0,t),va(cl(s,u));break e}}i=s=cl(s,u),4!==zu&&(zu=2),null===Bu?Bu=[i]:Bu.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Ma(i,hl(0,s,t));break e;case 1:u=s;var g=i.type,b=i.stateNode;if(0===(128&i.flags)&&("function"===typeof g.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===Ku||!Ku.has(b)))){i.flags|=65536,t&=-t,i.lanes|=t,Ma(i,vl(i,u,t));break e}}i=i.return}while(null!==i)}xs(n)}catch(w){t=w,ju===n&&null!==n&&(ju=n=n.return);continue}break}}function vs(){var e=Ou.current;return Ou.current=il,null===e?il:e}function ms(){0!==zu&&3!==zu&&2!==zu||(zu=4),null===Tu||0===(268435455&Mu)&&0===(268435455&Fu)||us(Tu,Ru)}function ys(e,t){var n=Pu;Pu|=2;var r=vs();for(Tu===e&&Ru===t||(Wu=null,ps(e,t));;)try{gs();break}catch(o){hs(e,o)}if(ka(),Pu=n,Ou.current=r,null!==ju)throw Error(a(261));return Tu=null,Ru=0,zu}function gs(){for(;null!==ju;)ws(ju)}function bs(){for(;null!==ju&&!Ye();)ws(ju)}function ws(e){var t=Eu(e.alternate,e,Lu);e.memoizedProps=e.pendingProps,null===t?xs(e):ju=t,_u.current=null}function xs(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Ql(n,t,Lu)))return void(ju=n)}else{if(null!==(n=Yl(n,t)))return n.flags&=32767,void(ju=n);if(null===e)return zu=6,void(ju=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(ju=t);ju=t=e}while(null!==t);0===zu&&(zu=5)}function ks(e,t,n){var r=bt,o=Nu.transition;try{Nu.transition=null,bt=1,function(e,t,n,r){do{Ss()}while(null!==Yu);if(0!==(6&Pu))throw Error(a(327));n=e.finishedWork;var o=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 i=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 r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-it(n),a=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~a}}(e,i),e===Tu&&(ju=Tu=null,Ru=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Qu||(Qu=!0,Ts(tt,(function(){return Ss(),null}))),i=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||i){i=Nu.transition,Nu.transition=null;var l=bt;bt=1;var u=Pu;Pu|=4,_u.current=null,function(e,t){if(eo=Wt,pr(e=dr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(x){n=null;break e}var l=0,u=-1,s=-1,c=0,f=0,d=e,p=null;t:for(;;){for(var h;d!==n||0!==o&&3!==d.nodeType||(u=l+o),d!==i||0!==r&&3!==d.nodeType||(s=l+r),3===d.nodeType&&(l+=d.nodeValue.length),null!==(h=d.firstChild);)p=d,d=h;for(;;){if(d===e)break t;if(p===n&&++c===o&&(u=l),p===i&&++f===r&&(s=l),null!==(h=d.nextSibling))break;p=(d=p).parentNode}d=h}n=-1===u||-1===s?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},Wt=!1,Zl=t;null!==Zl;)if(e=(t=Zl).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Zl=e;else for(;null!==Zl;){t=Zl;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 m=v.memoizedProps,y=v.memoizedState,g=t.stateNode,b=g.getSnapshotBeforeUpdate(t.elementType===t.type?m:ya(t.type,m),y);g.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(a(163))}}catch(x){Cs(t,t.return,x)}if(null!==(e=t.sibling)){e.return=t.return,Zl=e;break}Zl=t.return}v=nu,nu=!1}(e,n),yu(n,e),hr(to),Wt=!!eo,to=eo=null,e.current=n,bu(n,e,o),Ge(),Pu=u,bt=l,Nu.transition=i}else e.current=n;if(Qu&&(Qu=!1,Yu=e,Gu=o),i=e.pendingLanes,0===i&&(Ku=null),function(e){if(at&&"function"===typeof at.onCommitFiberRoot)try{at.onCommitFiberRoot(ot,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),os(e,Xe()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if($u)throw $u=!1,e=qu,qu=null,e;0!==(1&Gu)&&0!==e.tag&&Ss(),i=e.pendingLanes,0!==(1&i)?e===Ju?Xu++:(Xu=0,Ju=e):Xu=0,Ho()}(e,t,n,r)}finally{Nu.transition=o,bt=r}return null}function Ss(){if(null!==Yu){var e=wt(Gu),t=Nu.transition,n=bt;try{if(Nu.transition=null,bt=16>e?16:e,null===Yu)var r=!1;else{if(e=Yu,Yu=null,Gu=0,0!==(6&Pu))throw Error(a(331));var o=Pu;for(Pu|=4,Zl=e.current;null!==Zl;){var i=Zl,l=i.child;if(0!==(16&Zl.flags)){var u=i.deletions;if(null!==u){for(var s=0;s<u.length;s++){var c=u[s];for(Zl=c;null!==Zl;){var f=Zl;switch(f.tag){case 0:case 11:case 15:ru(8,f,i)}var d=f.child;if(null!==d)d.return=f,Zl=d;else for(;null!==Zl;){var p=(f=Zl).sibling,h=f.return;if(iu(f),f===c){Zl=null;break}if(null!==p){p.return=h,Zl=p;break}Zl=h}}}var v=i.alternate;if(null!==v){var m=v.child;if(null!==m){v.child=null;do{var y=m.sibling;m.sibling=null,m=y}while(null!==m)}}Zl=i}}if(0!==(2064&i.subtreeFlags)&&null!==l)l.return=i,Zl=l;else e:for(;null!==Zl;){if(0!==(2048&(i=Zl).flags))switch(i.tag){case 0:case 11:case 15:ru(9,i,i.return)}var g=i.sibling;if(null!==g){g.return=i.return,Zl=g;break e}Zl=i.return}}var b=e.current;for(Zl=b;null!==Zl;){var w=(l=Zl).child;if(0!==(2064&l.subtreeFlags)&&null!==w)w.return=l,Zl=w;else e:for(l=b;null!==Zl;){if(0!==(2048&(u=Zl).flags))try{switch(u.tag){case 0:case 11:case 15:ou(9,u)}}catch(k){Cs(u,u.return,k)}if(u===l){Zl=null;break e}var x=u.sibling;if(null!==x){x.return=u.return,Zl=x;break e}Zl=u.return}}if(Pu=o,Ho(),at&&"function"===typeof at.onPostCommitFiberRoot)try{at.onPostCommitFiberRoot(ot,e)}catch(k){}r=!0}return r}finally{bt=n,Nu.transition=t}}return!1}function Es(e,t,n){e=za(e,t=hl(0,t=cl(n,t),1),1),t=ts(),null!==e&&(yt(e,1,t),os(e,t))}function Cs(e,t,n){if(3===e.tag)Es(e,e,n);else for(;null!==t;){if(3===t.tag){Es(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Ku||!Ku.has(r))){t=za(t,e=vl(t,e=cl(n,e),1),1),e=ts(),null!==t&&(yt(t,1,e),os(t,e));break}}t=t.return}}function Os(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ts(),e.pingedLanes|=e.suspendedLanes&n,Tu===e&&(Ru&n)===n&&(4===zu||3===zu&&(130023424&Ru)===Ru&&500>Xe()-Vu?ps(e,0):Du|=n),os(e,t)}function _s(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ct,0===(130023424&(ct<<=1))&&(ct=4194304)));var n=ts();null!==(e=Ta(e,t))&&(yt(e,t,n),os(e,n))}function Ns(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),_s(e,n)}function Ps(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(a(314))}null!==r&&r.delete(t),_s(e,n)}function Ts(e,t){return Ke(e,t)}function js(e,t,n,r){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=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Rs(e,t,n,r){return new js(e,t,n,r)}function Ls(e){return!(!(e=e.prototype)||!e.isReactComponent)}function As(e,t){var n=e.alternate;return null===n?((n=Rs(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 zs(e,t,n,r,o,i){var l=2;if(r=e,"function"===typeof e)Ls(e)&&(l=1);else if("string"===typeof e)l=5;else e:switch(e){case S:return Is(n.children,o,i,t);case E:l=8,o|=8;break;case C:return(e=Rs(12,n,t,2|o)).elementType=C,e.lanes=i,e;case P:return(e=Rs(13,n,t,o)).elementType=P,e.lanes=i,e;case T:return(e=Rs(19,n,t,o)).elementType=T,e.lanes=i,e;case L:return Ms(n,o,i,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case O:l=10;break e;case _:l=9;break e;case N:l=11;break e;case j:l=14;break e;case R:l=16,r=null;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Rs(l,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Is(e,t,n,r){return(e=Rs(7,e,r,t)).lanes=n,e}function Ms(e,t,n,r){return(e=Rs(22,e,r,t)).elementType=L,e.lanes=n,e.stateNode={isHidden:!1},e}function Fs(e,t,n){return(e=Rs(6,e,null,t)).lanes=n,e}function Ds(e,t,n){return(t=Rs(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Bs(e,t,n,r,o){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=mt(0),this.expirationTimes=mt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Us(e,t,n,r,o,a,i,l,u){return e=new Bs(e,t,n,l,u),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Rs(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ra(a),e}function Vs(e){if(!e)return No;e:{if(Ve(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(Lo(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(Lo(n))return Io(e,n,t)}return t}function Hs(e,t,n,r,o,a,i,l,u){return(e=Us(n,r,!0,e,0,a,0,l,u)).context=Vs(null),n=e.current,(a=Aa(r=ts(),o=ns(n))).callback=void 0!==t&&null!==t?t:null,za(n,a,o),e.current.lanes=o,yt(e,o,r),os(e,r),e}function Ws(e,t,n,r){var o=t.current,a=ts(),i=ns(o);return n=Vs(n),null===t.context?t.context=n:t.pendingContext=n,(t=Aa(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=za(o,t,i))&&(rs(e,o,i,a),Ia(e,o,i)),i}function $s(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function qs(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Ks(e,t){qs(e,t),(e=e.alternate)&&qs(e,t)}Eu=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||To.current)wl=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return wl=!1,function(e,t,n){switch(t.tag){case 3:Tl(t),ha();break;case 5:ii(t);break;case 1:Lo(t.type)&&Mo(t);break;case 4:oi(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;_o(ga,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(_o(ui,1&ui.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Fl(e,t,n):(_o(ui,1&ui.current),null!==(e=$l(e,t,n))?e.sibling:null);_o(ui,1&ui.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return Hl(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),_o(ui,ui.current),r)break;return null;case 22:case 23:return t.lanes=0,Cl(e,t,n)}return $l(e,t,n)}(e,t,n);wl=0!==(131072&e.flags)}else wl=!1,aa&&0!==(1048576&t.flags)&&ea(t,Ko,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Wl(e,t),e=t.pendingProps;var o=Ro(t,Po.current);Ca(t,n),o=Ei(null,t,r,e,o,n);var i=Ci();return t.flags|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Lo(r)?(i=!0,Mo(t)):i=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Ra(t),o.updater=Va,t.stateNode=o,o._reactInternals=t,qa(t,r,e,n),t=Pl(null,t,r,!0,i,n)):(t.tag=0,aa&&i&&ta(t),xl(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Wl(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"===typeof e)return Ls(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===N)return 11;if(e===j)return 14}return 2}(r),e=ya(r,e),o){case 0:t=_l(null,t,r,e,n);break e;case 1:t=Nl(null,t,r,e,n);break e;case 11:t=kl(null,t,r,e,n);break e;case 14:t=Sl(null,t,r,ya(r.type,e),n);break e}throw Error(a(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,_l(e,t,r,o=t.elementType===r?o:ya(r,o),n);case 1:return r=t.type,o=t.pendingProps,Nl(e,t,r,o=t.elementType===r?o:ya(r,o),n);case 3:e:{if(Tl(t),null===e)throw Error(a(387));r=t.pendingProps,o=(i=t.memoizedState).element,La(e,t),Fa(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=jl(e,t,r,n,o=cl(Error(a(423)),t));break e}if(r!==o){t=jl(e,t,r,n,o=cl(Error(a(424)),t));break e}for(oa=so(t.stateNode.containerInfo.firstChild),ra=t,aa=!0,ia=null,n=Ja(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ha(),r===o){t=$l(e,t,n);break e}xl(e,t,r,n)}t=t.child}return t;case 5:return ii(t),null===e&&ca(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,l=o.children,no(r,o)?l=null:null!==i&&no(r,i)&&(t.flags|=32),Ol(e,t),xl(e,t,l,n),t.child;case 6:return null===e&&ca(t),null;case 13:return Fl(e,t,n);case 4:return oi(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Xa(t,null,r,n):xl(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,kl(e,t,r,o=t.elementType===r?o:ya(r,o),n);case 7:return xl(e,t,t.pendingProps,n),t.child;case 8:case 12:return xl(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,_o(ga,r._currentValue),r._currentValue=l,null!==i)if(lr(i.value,l)){if(i.children===o.children&&!To.current){t=$l(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var u=i.dependencies;if(null!==u){l=i.child;for(var s=u.firstContext;null!==s;){if(s.context===r){if(1===i.tag){(s=Aa(-1,n&-n)).tag=2;var c=i.updateQueue;if(null!==c){var f=(c=c.shared).pending;null===f?s.next=s:(s.next=f.next,f.next=s),c.pending=s}}i.lanes|=n,null!==(s=i.alternate)&&(s.lanes|=n),Ea(i.return,n,t),u.lanes|=n;break}s=s.next}}else if(10===i.tag)l=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(l=i.return))throw Error(a(341));l.lanes|=n,null!==(u=l.alternate)&&(u.lanes|=n),Ea(l,n,t),l=i.sibling}else l=i.child;if(null!==l)l.return=i;else for(l=i;null!==l;){if(l===t){l=null;break}if(null!==(i=l.sibling)){i.return=l.return,l=i;break}l=l.return}i=l}xl(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ca(t,n),r=r(o=Oa(o)),t.flags|=1,xl(e,t,r,n),t.child;case 14:return o=ya(r=t.type,t.pendingProps),Sl(e,t,r,o=ya(r.type,o),n);case 15:return El(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ya(r,o),Wl(e,t),t.tag=1,Lo(r)?(e=!0,Mo(t)):e=!1,Ca(t,n),Wa(t,r,o),qa(t,r,o,n),Pl(null,t,r,!0,e,n);case 19:return Hl(e,t,n);case 22:return Cl(e,t,n)}throw Error(a(156,t.tag))};var Qs="function"===typeof reportError?reportError:function(e){console.error(e)};function Ys(e){this._internalRoot=e}function Gs(e){this._internalRoot=e}function Xs(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Js(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Zs(){}function ec(e,t,n,r,o){var a=n._reactRootContainer;if(a){var i=a;if("function"===typeof o){var l=o;o=function(){var e=$s(i);l.call(e)}}Ws(t,i,e,o)}else i=function(e,t,n,r,o){if(o){if("function"===typeof r){var a=r;r=function(){var e=$s(i);a.call(e)}}var i=Hs(t,r,e,0,null,!1,0,"",Zs);return e._reactRootContainer=i,e[vo]=i.current,Vr(8===e.nodeType?e.parentNode:e),fs(),i}for(;o=e.lastChild;)e.removeChild(o);if("function"===typeof r){var l=r;r=function(){var e=$s(u);l.call(e)}}var u=Us(e,0,!1,null,0,!1,0,"",Zs);return e._reactRootContainer=u,e[vo]=u.current,Vr(8===e.nodeType?e.parentNode:e),fs((function(){Ws(t,u,n,r)})),u}(n,t,e,o,r);return $s(i)}Gs.prototype.render=Ys.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(a(409));Ws(e,t,null,null)},Gs.prototype.unmount=Ys.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;fs((function(){Ws(null,e,null,null)})),t[vo]=null}},Gs.prototype.unstable_scheduleHydration=function(e){if(e){var t=Et();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Lt.length&&0!==t&&t<Lt[n].priority;n++);Lt.splice(n,0,e),0===n&&Mt(e)}},xt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ft(t.pendingLanes);0!==n&&(gt(t,1|n),os(t,Xe()),0===(6&Pu)&&(Hu=Xe()+500,Ho()))}break;case 13:fs((function(){var t=Ta(e,1);if(null!==t){var n=ts();rs(t,e,1,n)}})),Ks(e,1)}},kt=function(e){if(13===e.tag){var t=Ta(e,134217728);if(null!==t)rs(t,e,134217728,ts());Ks(e,134217728)}},St=function(e){if(13===e.tag){var t=ns(e),n=Ta(e,t);if(null!==n)rs(n,e,t,ts());Ks(e,t)}},Et=function(){return bt},Ct=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},ke=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 r=n[t];if(r!==e&&r.form===e.form){var o=ko(r);if(!o)throw Error(a(90));K(r),J(r,o)}}}break;case"textarea":ae(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Ne=cs,Pe=fs;var tc={usingClientEntryPoint:!1,Events:[wo,xo,ko,Oe,_e,cs]},nc={findFiberByHostInstance:bo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rc={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:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=$e(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 oc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!oc.isDisabled&&oc.supportsFiber)try{ot=oc.inject(rc),at=oc}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(!Xs(t))throw Error(a(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:k,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Xs(e))throw Error(a(299));var n=!1,r="",o=Qs;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Us(e,1,!1,null,0,n,0,r,o),e[vo]=t.current,Vr(8===e.nodeType?e.parentNode:e),new Ys(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=$e(t))?null:e.stateNode},t.flushSync=function(e){return fs(e)},t.hydrate=function(e,t,n){if(!Js(t))throw Error(a(200));return ec(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Xs(e))throw Error(a(405));var r=null!=n&&n.hydratedSources||null,o=!1,i="",l=Qs;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),t=Hs(t,null,e,1,null!=n?n:null,o,0,i,l),e[vo]=t.current,Vr(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Gs(t)},t.render=function(e,t,n){if(!Js(t))throw Error(a(200));return ec(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Js(e))throw Error(a(40));return!!e._reactRootContainer&&(fs((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[vo]=null}))})),!0)},t.unstable_batchedUpdates=cs,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Js(n))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return ec(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},250:function(e,t,n){"use strict";var r=n(164);t.s=r.createRoot,r.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)},374:function(e,t,n){"use strict";var r=n(791),o=Symbol.for("react.element"),a=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,n){var r,a={},s=null,c=null;for(r in void 0!==n&&(s=""+n),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,r)&&!u.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===a[r]&&(a[r]=t[r]);return{$$typeof:o,type:e,key:s,ref:c,props:a,_owner:l.current}}t.Fragment=a,t.jsx=s,t.jsxs=s},117:function(e,t){"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,m={};function y(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}function g(){}function b(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}y.prototype.isReactComponent={},y.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")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},g.prototype=y.prototype;var w=b.prototype=new g;w.constructor=b,v(w,y.prototype),w.isPureReactComponent=!0;var x=Array.isArray,k=Object.prototype.hasOwnProperty,S={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,r){var o,a={},i=null,l=null;if(null!=t)for(o in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)k.call(t,o)&&!E.hasOwnProperty(o)&&(a[o]=t[o]);var u=arguments.length-2;if(1===u)a.children=r;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];a.children=s}if(e&&e.defaultProps)for(o in u=e.defaultProps)void 0===a[o]&&(a[o]=u[o]);return{$$typeof:n,type:e,key:i,ref:l,props:a,_owner:S.current}}function O(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var _=/\/+/g;function N(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 P(e,t,o,a,i){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var u=!1;if(null===e)u=!0;else switch(l){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case n:case r:u=!0}}if(u)return i=i(u=e),e=""===a?"."+N(u,0):a,x(i)?(o="",null!=e&&(o=e.replace(_,"$&/")+"/"),P(i,t,o,"",(function(e){return e}))):null!=i&&(O(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,o+(!i.key||u&&u.key===i.key?"":(""+i.key).replace(_,"$&/")+"/")+e)),t.push(i)),1;if(u=0,a=""===a?".":a+":",x(e))for(var s=0;s<e.length;s++){var c=a+N(l=e[s],s);u+=P(l,t,o,c,i)}else if(c=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"===typeof c)for(e=c.call(e),s=0;!(l=e.next()).done;)u+=P(l=l.value,t,o,c=a+N(l,s++),i);else if("object"===l)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 u}function T(e,t,n){if(null==e)return e;var r=[],o=0;return P(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function j(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},L={transition:null},A={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:L,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(!O(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=o,t.Profiler=i,t.PureComponent=b,t.StrictMode=a,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=A,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=v({},e.props),a=e.key,i=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,l=S.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(s in t)k.call(t,s)&&!E.hasOwnProperty(s)&&(o[s]=void 0===t[s]&&void 0!==u?u[s]:t[s])}var s=arguments.length-2;if(1===s)o.children=r;else if(1<s){u=Array(s);for(var c=0;c<s;c++)u[c]=arguments[c+2];o.children=u}return{$$typeof:n,type:e.type,key:a,ref:i,props:o,_owner:l}},t.createContext=function(e){return(e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:s,render:e}},t.isValidElement=O,t.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:j}},t.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=L.transition;L.transition={};try{e()}finally{L.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 r=n-1>>>1,o=e[r];if(!(0<a(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,i=o>>>1;r<i;){var l=2*(r+1)-1,u=e[l],s=l+1,c=e[s];if(0>a(u,n))s<o&&0>a(c,u)?(e[r]=c,e[s]=n,r=s):(e[r]=u,e[l]=n,r=l);else{if(!(s<o&&0>a(c,n)))break e;e[r]=c,e[s]=n,r=s}}}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 i=performance;t.unstable_now=function(){return i.now()}}else{var l=Date,u=l.now();t.unstable_now=function(){return l.now()-u}}var s=[],c=[],f=1,d=null,p=3,h=!1,v=!1,m=!1,y="function"===typeof setTimeout?setTimeout:null,g="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)o(c);else{if(!(t.startTime<=e))break;o(c),t.sortIndex=t.expirationTime,n(s,t)}t=r(c)}}function x(e){if(m=!1,w(e),!v)if(null!==r(s))v=!0,L(k);else{var t=r(c);null!==t&&A(x,t.startTime-e)}}function k(e,n){v=!1,m&&(m=!1,g(O),O=-1),h=!0;var a=p;try{for(w(n),d=r(s);null!==d&&(!(d.expirationTime>n)||e&&!P());){var i=d.callback;if("function"===typeof i){d.callback=null,p=d.priorityLevel;var l=i(d.expirationTime<=n);n=t.unstable_now(),"function"===typeof l?d.callback=l:d===r(s)&&o(s),w(n)}else o(s);d=r(s)}if(null!==d)var u=!0;else{var f=r(c);null!==f&&A(x,f.startTime-n),u=!1}return u}finally{d=null,p=a,h=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,E=!1,C=null,O=-1,_=5,N=-1;function P(){return!(t.unstable_now()-N<_)}function T(){if(null!==C){var e=t.unstable_now();N=e;var n=!0;try{n=C(!0,e)}finally{n?S():(E=!1,C=null)}}else E=!1}if("function"===typeof b)S=function(){b(T)};else if("undefined"!==typeof MessageChannel){var j=new MessageChannel,R=j.port2;j.port1.onmessage=T,S=function(){R.postMessage(null)}}else S=function(){y(T,0)};function L(e){C=e,E||(E=!0,S())}function A(e,n){O=y((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||h||(v=!0,L(k))},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"):_=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(s)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=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=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,o,a){var i=t.unstable_now();switch("object"===typeof a&&null!==a?a="number"===typeof(a=a.delay)&&0<a?i+a:i:a=i,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:f++,callback:o,priorityLevel:e,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>i?(e.sortIndex=a,n(c,e),null===r(s)&&e===r(c)&&(m?(g(O),O=-1):m=!0,A(x,a-i))):(e.sortIndex=l,n(s,e),v||h||(v=!0,L(k))),e},t.unstable_shouldYield=P,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},296:function(e,t,n){"use strict";e.exports=n(813)},391:function(e){"use strict";var t=function(){};e.exports=t}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={exports:{}};return e[r](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(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"===typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"===typeof r.then)return r}var a=Object.create(null);n.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var l=2&o&&r;"object"==typeof l&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach((function(e){i[e]=function(){return r[e]}}));return i.default=function(){return r},n.d(a,i),a}}(),n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),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})},function(){"use strict";var e={};function t(e){if(Array.isArray(e))return e}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}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 a(){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 i(e,n){return t(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],u=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);u=!0);}catch(c){s=!0,o=c}finally{try{if(!u&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,n)||o(e,n)||a()}function l(e){return l="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},l(e)}function u(e){var t=function(e,t){if("object"!==l(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===l(t)?t:String(t)}function s(e,t,n){return(t=u(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.r(e),n.d(e,{Decoder:function(){return zo},Encoder:function(){return Lo},PacketType:function(){return To},protocol:function(){return Ro}});var p=n(791),h=n.t(p,2);function v(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function m(e,t){if(null==e)return{};var n,r,o=v(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var y=n(694),g=n.n(y),b=p.createContext(null);function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},w.apply(this,arguments)}n(176);function x(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function k(e){var t=function(e,t){if("object"!==typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===typeof t?t:String(t)}function S(e,t,n){var r=(0,p.useRef)(void 0!==e),o=(0,p.useState)(t),a=o[0],i=o[1],l=void 0!==e,u=r.current;return r.current=l,!l&&u&&a!==t&&i(t),[l?e:a,(0,p.useCallback)((function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];n&&n.apply(void 0,[e].concat(r)),i(e)}),[n])]}function E(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==e&&void 0!==e&&this.setState(e)}function C(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!==n&&void 0!==n?n:null}.bind(this))}function O(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}E.__suppressDeprecationWarning=!0,C.__suppressDeprecationWarning=!0,O.__suppressDeprecationWarning=!0;var _=/-(.)/g;var N=n(184),P=["xxl","xl","lg","md","sm","xs"],T=p.createContext({prefixes:{},breakpoints:P,minBreakpoint:"xs"});T.Consumer,T.Provider;function j(e,t){var n=(0,p.useContext)(T).prefixes;return e||n[t]||t}function R(){return(0,p.useContext)(T).breakpoints}function L(){return(0,p.useContext)(T).minBreakpoint}function A(){return"rtl"===(0,p.useContext)(T).dir}var z=["className","bsPrefix","as"],I=function(e){return e[0].toUpperCase()+(t=e,t.replace(_,(function(e,t){return t.toUpperCase()}))).slice(1);var t};function M(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.displayName,r=void 0===n?I(e):n,o=t.Component,a=t.defaultProps,i=p.forwardRef((function(t,n){var r=t.className,i=t.bsPrefix,l=t.as,u=void 0===l?o||"div":l,s=m(t,z),c=f(f({},a),s),d=j(i,e);return(0,N.jsx)(u,f({ref:n,className:g()(r,d)},c))}));return i.displayName=r,i}var F=["bsPrefix","className","as"],D=p.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,o=e.as,a=m(e,F);n=j(n,"navbar-brand");var i=o||(a.href?"a":"span");return(0,N.jsx)(i,f(f({},a),{},{ref:t,className:g()(r,n)}))}));D.displayName="NavbarBrand";var B=D;function U(e){return e&&e.ownerDocument||document}function V(e,t){return function(e){var t=U(e);return t&&t.defaultView||window}(e).getComputedStyle(e,t)}var H=/([A-Z])/g;var W=/^ms-/;function $(e){return function(e){return e.replace(H,"-$1").toLowerCase()}(e).replace(W,"-ms-")}var q=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;var K=function(e,t){var n="",r="";if("string"===typeof t)return e.style.getPropertyValue($(t))||V(e).getPropertyValue($(t));Object.keys(t).forEach((function(o){var a=t[o];a||0===a?!function(e){return!(!e||!q.test(e))}(o)?n+=$(o)+": "+a+";":r+=o+"("+a+") ":e.style.removeProperty($(o))})),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n};function Q(e,t){return Q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Q(e,t)}var Y=n(164),G=!1,X=p.createContext(null),J="unmounted",Z="exited",ee="entering",te="entered",ne="exiting",re=function(e){var t,n;function r(t,n){var r;r=e.call(this,t,n)||this;var o,a=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(o=Z,r.appearStatus=ee):o=te:o=t.unmountOnExit||t.mountOnEnter?J:Z,r.state={status:o},r.nextCallback=null,r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,Q(t,n),r.getDerivedStateFromProps=function(e,t){return e.in&&t.status===J?{status:Z}:null};var o=r.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==ee&&n!==te&&(t=ee):n!==ee&&n!==te||(t=ne)}this.updateStatus(!1,t)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},o.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===ee){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:Y.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Z&&this.setState({status:J})},o.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[Y.findDOMNode(this),r],a=o[0],i=o[1],l=this.getTimeouts(),u=r?l.appear:l.enter;!e&&!n||G?this.safeSetState({status:te},(function(){t.props.onEntered(a)})):(this.props.onEnter(a,i),this.safeSetState({status:ee},(function(){t.props.onEntering(a,i),t.onTransitionEnd(u,(function(){t.safeSetState({status:te},(function(){t.props.onEntered(a,i)}))}))})))},o.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:Y.findDOMNode(this);t&&!G?(this.props.onExit(r),this.safeSetState({status:ne},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Z},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Z},(function(){e.props.onExited(r)}))},o.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},o.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},o.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:Y.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=o[0],i=o[1];this.props.addEndListener(a,i)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},o.render=function(){var e=this.state.status;if(e===J)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,v(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return p.createElement(X.Provider,{value:null},"function"===typeof n?n(e,r):p.cloneElement(p.Children.only(n),r))},r}(p.Component);function oe(){}re.contextType=X,re.propTypes={},re.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:oe,onEntering:oe,onEntered:oe,onExit:oe,onExiting:oe,onExited:oe},re.UNMOUNTED=J,re.EXITED=Z,re.ENTERING=ee,re.ENTERED=te,re.EXITING=ne;var ae=re,ie=!("undefined"===typeof window||!window.document||!window.document.createElement),le=!1,ue=!1;try{var se={get passive(){return le=!0},get once(){return ue=le=!0}};ie&&(window.addEventListener("test",se,se),window.removeEventListener("test",se,!0))}catch(ep){}var ce=function(e,t,n,r){if(r&&"boolean"!==typeof r&&!ue){var o=r.once,a=r.capture,i=n;!ue&&o&&(i=n.__once||function e(r){this.removeEventListener(t,e,a),n.call(this,r)},n.__once=i),e.addEventListener(t,i,le?r:a)}e.addEventListener(t,n,r)};var fe=function(e,t,n,r){var o=r&&"boolean"!==typeof r?r.capture:r;e.removeEventListener(t,n,o),n.__once&&e.removeEventListener(t,n.__once,o)};var de=function(e,t,n,r){return ce(e,t,n,r),function(){fe(e,t,n,r)}};function pe(e,t,n){void 0===n&&(n=5);var r=!1,o=setTimeout((function(){r||function(e,t,n,r){if(void 0===n&&(n=!1),void 0===r&&(r=!0),e){var o=document.createEvent("HTMLEvents");o.initEvent(t,n,r),e.dispatchEvent(o)}}(e,"transitionend",!0)}),t+n),a=de(e,"transitionend",(function(){r=!0}),{once:!0});return function(){clearTimeout(o),a()}}function he(e,t,n,r){null==n&&(n=function(e){var t=K(e,"transitionDuration")||"",n=-1===t.indexOf("ms")?1e3:1;return parseFloat(t)*n}(e)||0);var o=pe(e,n,r),a=de(e,"transitionend",t);return function(){o(),a()}}function ve(e,t){var n=K(e,t)||"",r=-1===n.indexOf("ms")?1e3:1;return parseFloat(n)*r}function me(e,t){var n=ve(e,"transitionDuration"),r=ve(e,"transitionDelay"),o=he(e,(function(n){n.target===e&&(o(),t(n))}),n+r)}var ye=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return null!=e})).reduce((function(e,t){if("function"!==typeof t)throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return null===e?t:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}}),null)};function ge(e){e.offsetHeight}var be=function(e){return e&&"function"!==typeof e?function(t){e.current=t}:e};var we=function(e,t){return(0,p.useMemo)((function(){return function(e,t){var n=be(e),r=be(t);return function(e){n&&n(e),r&&r(e)}}(e,t)}),[e,t])};function xe(e){return e&&"setState"in e?Y.findDOMNode(e):null!=e?e:null}var ke,Se=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children","childRef"],Ee=p.forwardRef((function(e,t){var n=e.onEnter,r=e.onEntering,o=e.onEntered,a=e.onExit,i=e.onExiting,l=e.onExited,u=e.addEndListener,s=e.children,c=e.childRef,d=m(e,Se),h=(0,p.useRef)(null),v=we(h,c),y=function(e){v(xe(e))},g=function(e){return function(t){e&&h.current&&e(h.current,t)}},b=(0,p.useCallback)(g(n),[n]),w=(0,p.useCallback)(g(r),[r]),x=(0,p.useCallback)(g(o),[o]),k=(0,p.useCallback)(g(a),[a]),S=(0,p.useCallback)(g(i),[i]),E=(0,p.useCallback)(g(l),[l]),C=(0,p.useCallback)(g(u),[u]);return(0,N.jsx)(ae,f(f({ref:t},d),{},{onEnter:b,onEntered:x,onEntering:w,onExit:k,onExited:E,onExiting:S,addEndListener:C,nodeRef:h,children:"function"===typeof s?function(e,t){return s(e,f(f({},t),{},{ref:y}))}:p.cloneElement(s,{ref:y})}))})),Ce=Ee,Oe=["onEnter","onEntering","onEntered","onExit","onExiting","className","children","dimension","in","timeout","mountOnEnter","unmountOnExit","appear","getDimensionValue"],_e={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function Ne(e,t){var n=t["offset".concat(e[0].toUpperCase()).concat(e.slice(1))],r=_e[e];return n+parseInt(K(t,r[0]),10)+parseInt(K(t,r[1]),10)}var Pe=(s(ke={},Z,"collapse"),s(ke,ne,"collapsing"),s(ke,ee,"collapsing"),s(ke,te,"collapse show"),ke),Te=p.forwardRef((function(e,t){var n=e.onEnter,r=e.onEntering,o=e.onEntered,a=e.onExit,i=e.onExiting,l=e.className,u=e.children,s=e.dimension,c=void 0===s?"height":s,d=e.in,h=void 0!==d&&d,v=e.timeout,y=void 0===v?300:v,b=e.mountOnEnter,w=void 0!==b&&b,x=e.unmountOnExit,k=void 0!==x&&x,S=e.appear,E=void 0!==S&&S,C=e.getDimensionValue,O=void 0===C?Ne:C,_=m(e,Oe),P="function"===typeof c?c():c,T=(0,p.useMemo)((function(){return ye((function(e){e.style[P]="0"}),n)}),[P,n]),j=(0,p.useMemo)((function(){return ye((function(e){var t="scroll".concat(P[0].toUpperCase()).concat(P.slice(1));e.style[P]="".concat(e[t],"px")}),r)}),[P,r]),R=(0,p.useMemo)((function(){return ye((function(e){e.style[P]=null}),o)}),[P,o]),L=(0,p.useMemo)((function(){return ye((function(e){e.style[P]="".concat(O(P,e),"px"),ge(e)}),a)}),[a,O,P]),A=(0,p.useMemo)((function(){return ye((function(e){e.style[P]=null}),i)}),[P,i]);return(0,N.jsx)(Ce,f(f({ref:t,addEndListener:me},_),{},{"aria-expanded":_.role?h:null,onEnter:T,onEntering:j,onEntered:R,onExit:L,onExiting:A,childRef:u.ref,in:h,timeout:y,mountOnEnter:w,unmountOnExit:k,appear:E,children:function(e,t){return p.cloneElement(u,f(f({},t),{},{className:g()(l,u.props.className,Pe[e],"width"===P&&"collapse-horizontal")}))}}))})),je=p.createContext(null);je.displayName="NavbarContext";var Re=je,Le=["children","bsPrefix"],Ae=p.forwardRef((function(e,t){var n=e.children,r=e.bsPrefix,o=m(e,Le);r=j(r,"navbar-collapse");var a=(0,p.useContext)(Re);return(0,N.jsx)(Te,f(f({in:!(!a||!a.expanded)},o),{},{children:(0,N.jsx)("div",{ref:t,className:r,children:n})}))}));Ae.displayName="NavbarCollapse";var ze=Ae;var Ie=function(e){var t=(0,p.useRef)(e);return(0,p.useEffect)((function(){t.current=e}),[e]),t};function Me(e){var t=Ie(e);return(0,p.useCallback)((function(){return t.current&&t.current.apply(t,arguments)}),[t])}var Fe=["bsPrefix","className","children","label","as","onClick"],De=p.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,o=e.children,a=e.label,i=void 0===a?"Toggle navigation":a,l=e.as,u=void 0===l?"button":l,s=e.onClick,c=m(e,Fe);n=j(n,"navbar-toggler");var d=(0,p.useContext)(Re)||{},h=d.onToggle,v=d.expanded,y=Me((function(e){s&&s(e),h&&h()}));return"button"===u&&(c.type="button"),(0,N.jsx)(u,f(f({},c),{},{ref:t,onClick:y,"aria-label":i,className:g()(r,n,!v&&"collapsed"),children:o||(0,N.jsx)("span",{className:"".concat(n,"-icon")})}))}));De.displayName="NavbarToggle";var Be=De,Ue="undefined"!==typeof n.g&&n.g.navigator&&"ReactNative"===n.g.navigator.product,Ve="undefined"!==typeof document||Ue?p.useLayoutEffect:p.useEffect,He=new WeakMap,We=function(e,t){if(e&&t){var n=He.get(t)||new Map;He.set(t,n);var r=n.get(e);return r||((r=t.matchMedia(e)).refCount=0,n.set(r.media,r)),r}};function $e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"undefined"===typeof window?void 0:window,n=We(e,t),r=i((0,p.useState)((function(){return!!n&&n.matches})),2),o=r[0],a=r[1];return Ve((function(){var n=We(e,t);if(!n)return a(!1);var r=He.get(t),o=function(){a(n.matches)};return n.refCount++,n.addListener(o),o(),function(){n.removeListener(o),n.refCount--,n.refCount<=0&&(null==r||r.delete(n.media)),n=void 0}}),[e]),o}var qe=function(e){var t=Object.keys(e);function n(e,t){return e===t?t:e?"".concat(e," and ").concat(t):t}function r(n){var r=function(e){return t[Math.min(t.indexOf(e)+1,t.length-1)]}(n),o=e[r];return o="number"===typeof o?"".concat(o-.2,"px"):"calc(".concat(o," - 0.2px)"),"(max-width: ".concat(o,")")}return function(t,o,a){var l;"object"===typeof t?(l=t,a=o,o=!0):l=s({},t,o=o||!0);var u=(0,p.useMemo)((function(){return Object.entries(l).reduce((function(t,o){var a=i(o,2),l=a[0],u=a[1];return"up"!==u&&!0!==u||(t=n(t,function(t){var n=e[t];return"number"===typeof n&&(n="".concat(n,"px")),"(min-width: ".concat(n,")")}(l))),"down"!==u&&!0!==u||(t=n(t,r(l))),t}),"")}),[JSON.stringify(l)]);return $e(u,a)}}({xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400}),Ke=qe;function Qe(e){void 0===e&&(e=U());try{var t=e.activeElement;return t&&t.nodeName?t:null}catch(ep){return e.body}}function Ye(e,t){return e.contains?e.contains(t):e.compareDocumentPosition?e===t||!!(16&e.compareDocumentPosition(t)):void 0}function Ge(){var e=(0,p.useRef)(!0),t=(0,p.useRef)((function(){return e.current}));return(0,p.useEffect)((function(){return e.current=!0,function(){e.current=!1}}),[]),t.current}function Xe(e){var t=function(e){var t=(0,p.useRef)(e);return t.current=e,t}(e);(0,p.useEffect)((function(){return function(){return t.current()}}),[])}function Je(e){return function(e){if(Array.isArray(e))return r(e)}(e)||d(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 Ze(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function et(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,u(r.key),r)}}function tt(e,t,n){return t&&et(e.prototype,t),n&&et(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var nt,rt=(nt="modal-open","".concat("data-rr-ui-").concat(nt)),ot=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.ownerDocument,r=t.handleContainerOverflow,o=void 0===r||r,a=t.isRTL,i=void 0!==a&&a;Ze(this,e),this.handleContainerOverflow=o,this.isRTL=i,this.modals=[],this.ownerDocument=n}return tt(e,[{key:"getScrollbarWidth",value:function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}(this.ownerDocument)}},{key:"getElement",value:function(){return(this.ownerDocument||document).body}},{key:"setModalAttributes",value:function(e){}},{key:"removeModalAttributes",value:function(e){}},{key:"setContainerStyle",value:function(e){var t={overflow:"hidden"},n=this.isRTL?"paddingLeft":"paddingRight",r=this.getElement();e.style=s({overflow:r.style.overflow},n,r.style[n]),e.scrollBarWidth&&(t[n]="".concat(parseInt(K(r,n)||"0",10)+e.scrollBarWidth,"px")),r.setAttribute(rt,""),K(r,t)}},{key:"reset",value:function(){var e=this;Je(this.modals).forEach((function(t){return e.remove(t)}))}},{key:"removeContainerStyle",value:function(e){var t=this.getElement();t.removeAttribute(rt),Object.assign(t.style,e.style)}},{key:"add",value:function(e){var t=this.modals.indexOf(e);return-1!==t?t:(t=this.modals.length,this.modals.push(e),this.setModalAttributes(e),0!==t||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),t)}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);-1!==t&&(this.modals.splice(t,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(e))}},{key:"isTopModal",value:function(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e}}]),e}(),at=ot,it=(0,p.createContext)(ie?window:void 0);it.Provider;function lt(){return(0,p.useContext)(it)}var ut=function(e,t){return ie?null==e?(t||U()).body:("function"===typeof e&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null};function st(e,t){var n=lt(),r=i((0,p.useState)((function(){return ut(e,null==n?void 0:n.document)})),2),o=r[0],a=r[1];if(!o){var l=ut(e);l&&a(l)}return(0,p.useEffect)((function(){t&&o&&t(o)}),[t,o]),(0,p.useEffect)((function(){var t=ut(e);t!==o&&a(t)}),[e,o]),o}var ct=function(e){var t=e.children,n=e.in,r=e.onExited,o=e.mountOnEnter,a=e.unmountOnExit,i=(0,p.useRef)(null),l=(0,p.useRef)(n),u=Me(r);(0,p.useEffect)((function(){n?l.current=!0:u(i.current)}),[n,u]);var s=we(i,t.ref),c=(0,p.cloneElement)(t,{ref:s});return n?c:a||!l.current&&o?null:c};function ft(e){var t=e.children,n=e.in,r=e.onExited,o=e.onEntered,a=e.transition,l=i((0,p.useState)(!n),2),u=l[0],s=l[1];n&&u&&s(!1);var c=function(e){var t=e.in,n=e.onTransition,r=(0,p.useRef)(null),o=(0,p.useRef)(!0),a=Me(n);return Ve((function(){if(r.current){var e=!1;return a({in:t,element:r.current,initial:o.current,isStale:function(){return e}}),function(){e=!0}}}),[t,a]),Ve((function(){return o.current=!1,function(){o.current=!0}}),[]),r}({in:!!n,onTransition:function(e){Promise.resolve(a(e)).then((function(){e.isStale()||(e.in?null==o||o(e.element,e.initial):(s(!0),null==r||r(e.element)))}),(function(t){throw e.in||s(!0),t}))}}),f=we(c,t.ref);return u&&!n?null:(0,p.cloneElement)(t,{ref:f})}function dt(e,t,n){return e?(0,N.jsx)(e,Object.assign({},n)):t?(0,N.jsx)(ft,Object.assign({},n,{transition:t})):(0,N.jsx)(ct,Object.assign({},n))}function pt(e){return"Escape"===e.code||27===e.keyCode}var ht,vt=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];function mt(e){var t=lt(),n=e||function(e){return ht||(ht=new at({ownerDocument:null==e?void 0:e.document})),ht}(t),r=(0,p.useRef)({dialog:null,backdrop:null});return Object.assign(r.current,{add:function(){return n.add(r.current)},remove:function(){return n.remove(r.current)},isTopModal:function(){return n.isTopModal(r.current)},setDialogRef:(0,p.useCallback)((function(e){r.current.dialog=e}),[]),setBackdropRef:(0,p.useCallback)((function(e){r.current.backdrop=e}),[])})}var yt=(0,p.forwardRef)((function(e,t){var n=e.show,r=void 0!==n&&n,o=e.role,a=void 0===o?"dialog":o,l=e.className,u=e.style,s=e.children,c=e.backdrop,f=void 0===c||c,d=e.keyboard,h=void 0===d||d,v=e.onBackdropClick,m=e.onEscapeKeyDown,y=e.transition,g=e.runTransition,b=e.backdropTransition,w=e.runBackdropTransition,x=e.autoFocus,k=void 0===x||x,S=e.enforceFocus,E=void 0===S||S,C=e.restoreFocus,O=void 0===C||C,_=e.restoreFocusOptions,P=e.renderDialog,T=e.renderBackdrop,j=void 0===T?function(e){return(0,N.jsx)("div",Object.assign({},e))}:T,R=e.manager,L=e.container,A=e.onShow,z=e.onHide,I=void 0===z?function(){}:z,M=e.onExit,F=e.onExited,D=e.onExiting,B=e.onEnter,U=e.onEntering,V=e.onEntered,H=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,vt),W=lt(),$=st(L),q=mt(R),K=Ge(),Q=function(e){var t=(0,p.useRef)(null);return(0,p.useEffect)((function(){t.current=e})),t.current}(r),G=i((0,p.useState)(!r),2),X=G[0],J=G[1],Z=(0,p.useRef)(null);(0,p.useImperativeHandle)(t,(function(){return q}),[q]),ie&&!Q&&r&&(Z.current=Qe(null==W?void 0:W.document)),r&&X&&J(!1);var ee=Me((function(){if(q.add(),le.current=de(document,"keydown",oe),ae.current=de(document,"focus",(function(){return setTimeout(ne)}),!0),A&&A(),k){var e,t,n=Qe(null!=(e=null==(t=q.dialog)?void 0:t.ownerDocument)?e:null==W?void 0:W.document);q.dialog&&n&&!Ye(q.dialog,n)&&(Z.current=n,q.dialog.focus())}})),te=Me((function(){var e;(q.remove(),null==le.current||le.current(),null==ae.current||ae.current(),O)&&(null==(e=Z.current)||null==e.focus||e.focus(_),Z.current=null)}));(0,p.useEffect)((function(){r&&$&&ee()}),[r,$,ee]),(0,p.useEffect)((function(){X&&te()}),[X,te]),Xe((function(){te()}));var ne=Me((function(){if(E&&K()&&q.isTopModal()){var e=Qe(null==W?void 0:W.document);q.dialog&&e&&!Ye(q.dialog,e)&&q.dialog.focus()}})),re=Me((function(e){e.target===e.currentTarget&&(null==v||v(e),!0===f&&I())})),oe=Me((function(e){h&&pt(e)&&q.isTopModal()&&(null==m||m(e),e.defaultPrevented||I())})),ae=(0,p.useRef)(),le=(0,p.useRef)();if(!$)return null;var ue=Object.assign({role:a,ref:q.setDialogRef,"aria-modal":"dialog"===a||void 0},H,{style:u,className:l,tabIndex:-1}),se=P?P(ue):(0,N.jsx)("div",Object.assign({},ue,{children:p.cloneElement(s,{role:"document"})}));se=dt(y,g,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!r,onExit:M,onExiting:D,onExited:function(){J(!0),null==F||F.apply(void 0,arguments)},onEnter:B,onEntering:U,onEntered:V,children:se});var ce=null;return f&&(ce=j({ref:q.setBackdropRef,onClick:re}),ce=dt(b,w,{in:!!r,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:ce})),(0,N.jsx)(N.Fragment,{children:Y.createPortal((0,N.jsxs)(N.Fragment,{children:[ce,se]}),$)})}));yt.displayName="Modal";var gt,bt=Object.assign(yt,{Manager:at}),wt=["className","children","transitionClasses","onEnter"],xt=(s(gt={},ee,"show"),s(gt,te,"show"),gt),kt=p.forwardRef((function(e,t){var n=e.className,r=e.children,o=e.transitionClasses,a=void 0===o?{}:o,i=e.onEnter,l=f({in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1},m(e,wt)),u=(0,p.useCallback)((function(e,t){ge(e),null==i||i(e,t)}),[i]);return(0,N.jsx)(Ce,f(f({ref:t,addEndListener:me},l),{},{onEnter:u,childRef:r.ref,children:function(e,t){return p.cloneElement(r,f(f({},t),{},{className:g()("fade",n,r.props.className,xt[e],a[e])}))}}))}));kt.displayName="Fade";var St,Et=kt,Ct=M("offcanvas-body"),Ot=["bsPrefix","className","children","in","mountOnEnter","unmountOnExit","appear"],_t=(s(St={},ee,"show"),s(St,te,"show"),St),Nt=p.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,o=e.children,a=e.in,i=void 0!==a&&a,l=e.mountOnEnter,u=void 0!==l&&l,s=e.unmountOnExit,c=void 0!==s&&s,d=e.appear,h=void 0!==d&&d,v=m(e,Ot);return n=j(n,"offcanvas"),(0,N.jsx)(Ce,f(f({ref:t,addEndListener:me,in:i,mountOnEnter:u,unmountOnExit:c,appear:h},v),{},{childRef:o.ref,children:function(e,t){return p.cloneElement(o,f(f({},t),{},{className:g()(r,o.props.className,(e===ee||e===ne)&&"".concat(n,"-toggling"),_t[e])}))}}))}));Nt.displayName="OffcanvasToggling";var Pt=Nt,Tt=p.createContext({onHide:function(){}}),jt=n(7),Rt=n.n(jt),Lt=["className","variant","aria-label"],At={"aria-label":Rt().string,onClick:Rt().func,variant:Rt().oneOf(["white"])},zt=p.forwardRef((function(e,t){var n=e.className,r=e.variant,o=e["aria-label"],a=void 0===o?"Close":o,i=m(e,Lt);return(0,N.jsx)("button",f({ref:t,type:"button",className:g()("btn-close",r&&"btn-close-".concat(r),n),"aria-label":a},i))}));zt.displayName="CloseButton",zt.propTypes=At;var It=zt,Mt=["closeLabel","closeVariant","closeButton","onHide","children"],Ft=p.forwardRef((function(e,t){var n=e.closeLabel,r=void 0===n?"Close":n,o=e.closeVariant,a=e.closeButton,i=void 0!==a&&a,l=e.onHide,u=e.children,s=m(e,Mt),c=(0,p.useContext)(Tt),d=Me((function(){null==c||c.onHide(),null==l||l()}));return(0,N.jsxs)("div",f(f({ref:t},s),{},{children:[u,i&&(0,N.jsx)(It,{"aria-label":r,variant:o,onClick:d})]}))})),Dt=Ft,Bt=["bsPrefix","className","closeLabel","closeButton"],Ut=p.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,o=e.closeLabel,a=void 0===o?"Close":o,i=e.closeButton,l=void 0!==i&&i,u=m(e,Bt);return n=j(n,"offcanvas-header"),(0,N.jsx)(Dt,f(f({ref:t},u),{},{className:g()(r,n),closeLabel:a,closeButton:l}))}));Ut.displayName="OffcanvasHeader";var Vt=Ut,Ht=function(e){return p.forwardRef((function(t,n){return(0,N.jsx)("div",f(f({},t),{},{ref:n,className:g()(t.className,e)}))}))},Wt=M("offcanvas-title",{Component:Ht("h5")});function $t(e){return $t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},$t(e)}function qt(){return qt="undefined"!==typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=$t(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},qt.apply(this,arguments)}function Kt(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&&Q(e,t)}function Qt(){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(ep){return!1}}function Yt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gt(e){var t=Qt();return function(){var n,r=$t(e);if(t){var o=$t(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===l(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Yt(e)}(this,n)}}function Xt(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}var Jt=Function.prototype.bind.call(Function.prototype.call,[].slice);function Zt(e,t){return Jt(e.querySelectorAll(t))}function en(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var tn,nn=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",rn=".sticky-top",on=".navbar-toggler",an=function(e){Kt(n,e);var t=Gt(n);function n(){return Ze(this,n),t.apply(this,arguments)}return tt(n,[{key:"adjustAndStore",value:function(e,t,n){var r=t.style[e];t.dataset[e]=r,K(t,s({},e,"".concat(parseFloat(K(t,e))+n,"px")))}},{key:"restore",value:function(e,t){var n=t.dataset[e];void 0!==n&&(delete t.dataset[e],K(t,s({},e,n)))}},{key:"setContainerStyle",value:function(e){var t=this;qt($t(n.prototype),"setContainerStyle",this).call(this,e);var r,o,a=this.getElement();if(o="modal-open",(r=a).classList?r.classList.add(o):Xt(r,o)||("string"===typeof r.className?r.className=r.className+" "+o:r.setAttribute("class",(r.className&&r.className.baseVal||"")+" "+o)),e.scrollBarWidth){var i=this.isRTL?"paddingLeft":"paddingRight",l=this.isRTL?"marginLeft":"marginRight";Zt(a,nn).forEach((function(n){return t.adjustAndStore(i,n,e.scrollBarWidth)})),Zt(a,rn).forEach((function(n){return t.adjustAndStore(l,n,-e.scrollBarWidth)})),Zt(a,on).forEach((function(n){return t.adjustAndStore(l,n,e.scrollBarWidth)}))}}},{key:"removeContainerStyle",value:function(e){var t=this;qt($t(n.prototype),"removeContainerStyle",this).call(this,e);var r,o,a=this.getElement();o="modal-open",(r=a).classList?r.classList.remove(o):"string"===typeof r.className?r.className=en(r.className,o):r.setAttribute("class",en(r.className&&r.className.baseVal||"",o));var i=this.isRTL?"paddingLeft":"paddingRight",l=this.isRTL?"marginLeft":"marginRight";Zt(a,nn).forEach((function(e){return t.restore(i,e)})),Zt(a,rn).forEach((function(e){return t.restore(l,e)})),Zt(a,on).forEach((function(e){return t.restore(l,e)}))}}]),n}(at);var ln=an,un=["bsPrefix","className","children","aria-labelledby","placement","responsive","show","backdrop","keyboard","scroll","onEscapeKeyDown","onShow","onHide","container","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","onEntered","onExit","onExiting","onEnter","onEntering","onExited","backdropClassName","manager","renderStaticNode"];function sn(e){return(0,N.jsx)(Pt,f({},e))}function cn(e){return(0,N.jsx)(Et,f({},e))}var fn=p.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,o=e.children,a=e["aria-labelledby"],l=e.placement,u=void 0===l?"start":l,s=e.responsive,c=e.show,d=void 0!==c&&c,h=e.backdrop,v=void 0===h||h,y=e.keyboard,b=void 0===y||y,w=e.scroll,x=void 0!==w&&w,k=e.onEscapeKeyDown,S=e.onShow,E=e.onHide,C=e.container,O=e.autoFocus,_=void 0===O||O,P=e.enforceFocus,T=void 0===P||P,R=e.restoreFocus,L=void 0===R||R,A=e.restoreFocusOptions,z=e.onEntered,I=e.onExit,M=e.onExiting,F=e.onEnter,D=e.onEntering,B=e.onExited,U=e.backdropClassName,V=e.manager,H=e.renderStaticNode,W=void 0!==H&&H,$=m(e,un),q=(0,p.useRef)();n=j(n,"offcanvas");var K=((0,p.useContext)(Re)||{}).onToggle,Q=i((0,p.useState)(!1),2),Y=Q[0],G=Q[1],X=Ke(s||"xs","up");(0,p.useEffect)((function(){G(s?d&&!X:d)}),[d,s,X]);var J=Me((function(){null==K||K(),null==E||E()})),Z=(0,p.useMemo)((function(){return{onHide:J}}),[J]);var ee=(0,p.useCallback)((function(e){return(0,N.jsx)("div",f(f({},e),{},{className:g()("".concat(n,"-backdrop"),U)}))}),[U,n]),te=function(e){return(0,N.jsx)("div",f(f(f({},e),$),{},{className:g()(r,s?"".concat(n,"-").concat(s):n,"".concat(n,"-").concat(u)),"aria-labelledby":a,children:o}))};return(0,N.jsxs)(N.Fragment,{children:[!Y&&(s||W)&&te({}),(0,N.jsx)(Tt.Provider,{value:Z,children:(0,N.jsx)(bt,{show:Y,ref:t,backdrop:v,container:C,keyboard:b,autoFocus:_,enforceFocus:T&&!x,restoreFocus:L,restoreFocusOptions:A,onEscapeKeyDown:k,onShow:S,onHide:J,onEnter:function(e){e&&(e.style.visibility="visible");for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];null==F||F.apply(void 0,[e].concat(n))},onEntering:D,onEntered:z,onExit:I,onExiting:M,onExited:function(e){e&&(e.style.visibility="");for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];null==B||B.apply(void 0,n)},manager:V||(x?(q.current||(q.current=new ln({handleContainerOverflow:!1})),q.current):function(e){return tn||(tn=new an(e)),tn}()),transition:sn,backdropTransition:cn,renderBackdrop:ee,renderDialog:te})})]})}));fn.displayName="Offcanvas";var dn=Object.assign(fn,{Body:Ct,Header:Vt,Title:Wt}),pn=p.forwardRef((function(e,t){var n=(0,p.useContext)(Re);return(0,N.jsx)(dn,f(f({ref:t,show:!(null==n||!n.expanded)},e),{},{renderStaticNode:!0}))}));pn.displayName="NavbarOffcanvas";var hn=pn,vn=["bsPrefix","expand","variant","bg","fixed","sticky","className","as","expanded","onToggle","onSelect","collapseOnSelect"],mn=M("navbar-text",{Component:"span"}),yn=p.forwardRef((function(e,t){var n=function(e,t){return Object.keys(t).reduce((function(n,r){var o,a=n,i=a[x(r)],l=a[r],u=v(a,[x(r),r].map(k)),s=t[r],c=S(l,i,e[s]),f=c[0],d=c[1];return w({},u,((o={})[r]=f,o[s]=d,o))}),e)}(e,{expanded:"onToggle"}),r=n.bsPrefix,o=n.expand,a=void 0===o||o,i=n.variant,l=void 0===i?"light":i,u=n.bg,s=n.fixed,c=n.sticky,d=n.className,h=n.as,y=void 0===h?"nav":h,E=n.expanded,C=n.onToggle,O=n.onSelect,_=n.collapseOnSelect,P=void 0!==_&&_,T=m(n,vn),R=j(r,"navbar"),L=(0,p.useCallback)((function(){null==O||O.apply(void 0,arguments),P&&E&&(null==C||C(!1))}),[O,P,E,C]);void 0===T.role&&"nav"!==y&&(T.role="navigation");var A="".concat(R,"-expand");"string"===typeof a&&(A="".concat(A,"-").concat(a));var z=(0,p.useMemo)((function(){return{onToggle:function(){return null==C?void 0:C(!E)},bsPrefix:R,expanded:!!E,expand:a}}),[R,E,a,C]);return(0,N.jsx)(Re.Provider,{value:z,children:(0,N.jsx)(b.Provider,{value:L,children:(0,N.jsx)(y,f(f({ref:t},T),{},{className:g()(d,R,a&&A,l&&"".concat(R,"-").concat(l),u&&"bg-".concat(u),c&&"sticky-".concat(c),s&&"fixed-".concat(s))}))})})}));yn.displayName="Navbar";var gn=Object.assign(yn,{Brand:B,Collapse:ze,Offcanvas:hn,Text:mn,Toggle:Be}),bn=["bsPrefix","fluid","as","className"],wn=p.forwardRef((function(e,t){var n=e.bsPrefix,r=e.fluid,o=void 0!==r&&r,a=e.as,i=void 0===a?"div":a,l=e.className,u=m(e,bn),s=j(n,"container"),c="string"===typeof o?"-".concat(o):"-fluid";return(0,N.jsx)(i,f(f({ref:t},u),{},{className:g()(l,o?"".concat(s).concat(c):s)}))}));wn.displayName="Container";var xn=wn,kn=["as","className","type","tooltip"],Sn={type:Rt().string,tooltip:Rt().bool,as:Rt().elementType},En=p.forwardRef((function(e,t){var n=e.as,r=void 0===n?"div":n,o=e.className,a=e.type,i=void 0===a?"valid":a,l=e.tooltip,u=void 0!==l&&l,s=m(e,kn);return(0,N.jsx)(r,f(f({},s),{},{ref:t,className:g()(o,"".concat(i,"-").concat(u?"tooltip":"feedback"))}))}));En.displayName="Feedback",En.propTypes=Sn;var Cn=En,On=p.createContext({}),_n=["id","bsPrefix","className","type","isValid","isInvalid","as"],Nn=p.forwardRef((function(e,t){var n=e.id,r=e.bsPrefix,o=e.className,a=e.type,i=void 0===a?"checkbox":a,l=e.isValid,u=void 0!==l&&l,s=e.isInvalid,c=void 0!==s&&s,d=e.as,h=void 0===d?"input":d,v=m(e,_n),y=(0,p.useContext)(On).controlId;return r=j(r,"form-check-input"),(0,N.jsx)(h,f(f({},v),{},{ref:t,type:i,id:n||y,className:g()(o,r,u&&"is-valid",c&&"is-invalid")}))}));Nn.displayName="FormCheckInput";var Pn=Nn,Tn=["bsPrefix","className","htmlFor"],jn=p.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,o=e.htmlFor,a=m(e,Tn),i=(0,p.useContext)(On).controlId;return n=j(n,"form-check-label"),(0,N.jsx)("label",f(f({},a),{},{ref:t,htmlFor:o||i,className:g()(r,n)}))}));jn.displayName="FormCheckLabel";var Rn=jn;var Ln=["id","bsPrefix","bsSwitchPrefix","inline","reverse","disabled","isValid","isInvalid","feedbackTooltip","feedback","feedbackType","className","style","title","type","label","children","as"],An=p.forwardRef((function(e,t){var n=e.id,r=e.bsPrefix,o=e.bsSwitchPrefix,a=e.inline,i=void 0!==a&&a,l=e.reverse,u=void 0!==l&&l,s=e.disabled,c=void 0!==s&&s,d=e.isValid,h=void 0!==d&&d,v=e.isInvalid,y=void 0!==v&&v,b=e.feedbackTooltip,w=void 0!==b&&b,x=e.feedback,k=e.feedbackType,S=e.className,E=e.style,C=e.title,O=void 0===C?"":C,_=e.type,P=void 0===_?"checkbox":_,T=e.label,R=e.children,L=e.as,A=void 0===L?"input":L,z=m(e,Ln);r=j(r,"form-check"),o=j(o,"form-switch");var I=(0,p.useContext)(On).controlId,M=(0,p.useMemo)((function(){return{controlId:n||I}}),[I,n]),F=!R&&null!=T&&!1!==T||function(e,t){return p.Children.toArray(e).some((function(e){return p.isValidElement(e)&&e.type===t}))}(R,Rn),D=(0,N.jsx)(Pn,f(f({},z),{},{type:"switch"===P?"checkbox":P,ref:t,isValid:h,isInvalid:y,disabled:c,as:A}));return(0,N.jsx)(On.Provider,{value:M,children:(0,N.jsx)("div",{style:E,className:g()(S,F&&r,i&&"".concat(r,"-inline"),u&&"".concat(r,"-reverse"),"switch"===P&&o),children:R||(0,N.jsxs)(N.Fragment,{children:[D,F&&(0,N.jsx)(Rn,{title:O,children:T}),x&&(0,N.jsx)(Cn,{type:k,tooltip:w,children:x})]})})})}));An.displayName="FormCheck";var zn=Object.assign(An,{Input:Pn,Label:Rn}),In=n(391),Mn=n.n(In),Fn=["bsPrefix","type","size","htmlSize","id","className","isValid","isInvalid","plaintext","readOnly","as"],Dn=p.forwardRef((function(e,t){var n,r,o=e.bsPrefix,a=e.type,i=e.size,l=e.htmlSize,u=e.id,c=e.className,d=e.isValid,h=void 0!==d&&d,v=e.isInvalid,y=void 0!==v&&v,b=e.plaintext,w=e.readOnly,x=e.as,k=void 0===x?"input":x,S=m(e,Fn),E=(0,p.useContext)(On).controlId;(o=j(o,"form-control"),b)?n=s({},"".concat(o,"-plaintext"),!0):(s(r={},o,!0),s(r,"".concat(o,"-").concat(i),i),n=r);return(0,N.jsx)(k,f(f({},S),{},{type:a,size:l,ref:t,readOnly:w,id:u||E,className:g()(c,n,h&&"is-valid",y&&"is-invalid","color"===a&&"".concat(o,"-color"))}))}));Dn.displayName="FormControl";var Bn=Object.assign(Dn,{Feedback:Cn}),Un=M("form-floating"),Vn=["controlId","as"],Hn=p.forwardRef((function(e,t){var n=e.controlId,r=e.as,o=void 0===r?"div":r,a=m(e,Vn),i=(0,p.useMemo)((function(){return{controlId:n}}),[n]);return(0,N.jsx)(On.Provider,{value:i,children:(0,N.jsx)(o,f(f({},a),{},{ref:t}))})}));Hn.displayName="FormGroup";var Wn=Hn,$n=["as","bsPrefix","className"],qn=["className"];var Kn=p.forwardRef((function(e,t){var n=function(e){var t=e.as,n=e.bsPrefix,r=e.className,o=m(e,$n);n=j(n,"col");var a=R(),i=L(),l=[],u=[];return a.forEach((function(e){var t,r,a,s=o[e];delete o[e],"object"===typeof s&&null!=s?(t=s.span,r=s.offset,a=s.order):t=s;var c=e!==i?"-".concat(e):"";t&&l.push(!0===t?"".concat(n).concat(c):"".concat(n).concat(c,"-").concat(t)),null!=a&&u.push("order".concat(c,"-").concat(a)),null!=r&&u.push("offset".concat(c,"-").concat(r))})),[f(f({},o),{},{className:g().apply(void 0,[r].concat(l,u))}),{as:t,bsPrefix:n,spans:l}]}(e),r=i(n,2),o=r[0],a=o.className,l=m(o,qn),u=r[1],s=u.as,c=void 0===s?"div":s,d=u.bsPrefix,p=u.spans;return(0,N.jsx)(c,f(f({},l),{},{ref:t,className:g()(a,!p.length&&d)}))}));Kn.displayName="Col";var Qn=Kn,Yn=["as","bsPrefix","column","visuallyHidden","className","htmlFor"],Gn=p.forwardRef((function(e,t){var n=e.as,r=void 0===n?"label":n,o=e.bsPrefix,a=e.column,i=void 0!==a&&a,l=e.visuallyHidden,u=void 0!==l&&l,s=e.className,c=e.htmlFor,d=m(e,Yn),h=(0,p.useContext)(On).controlId;o=j(o,"form-label");var v="col-form-label";"string"===typeof i&&(v="".concat(v," ").concat(v,"-").concat(i));var y=g()(s,o,u&&"visually-hidden",i&&v);return c=c||h,i?(0,N.jsx)(Qn,f({ref:t,as:"label",className:y,htmlFor:c},d)):(0,N.jsx)(r,f({ref:t,className:y,htmlFor:c},d))}));Gn.displayName="FormLabel";var Xn=Gn,Jn=["bsPrefix","className","id"],Zn=p.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,o=e.id,a=m(e,Jn),i=(0,p.useContext)(On).controlId;return n=j(n,"form-range"),(0,N.jsx)("input",f(f({},a),{},{type:"range",ref:t,className:g()(r,n),id:o||i}))}));Zn.displayName="FormRange";var er=Zn,tr=["bsPrefix","size","htmlSize","className","isValid","isInvalid","id"],nr=p.forwardRef((function(e,t){var n=e.bsPrefix,r=e.size,o=e.htmlSize,a=e.className,i=e.isValid,l=void 0!==i&&i,u=e.isInvalid,s=void 0!==u&&u,c=e.id,d=m(e,tr),h=(0,p.useContext)(On).controlId;return n=j(n,"form-select"),(0,N.jsx)("select",f(f({},d),{},{size:o,ref:t,className:g()(a,n,r&&"".concat(n,"-").concat(r),l&&"is-valid",s&&"is-invalid"),id:c||h}))}));nr.displayName="FormSelect";var rr=nr,or=["bsPrefix","className","as","muted"],ar=p.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,o=e.as,a=void 0===o?"small":o,i=e.muted,l=m(e,or);return n=j(n,"form-text"),(0,N.jsx)(a,f(f({},l),{},{ref:t,className:g()(r,n,i&&"text-muted")}))}));ar.displayName="FormText";var ir=ar,lr=p.forwardRef((function(e,t){return(0,N.jsx)(zn,f(f({},e),{},{ref:t,type:"switch"}))}));lr.displayName="Switch";var ur=Object.assign(lr,{Input:zn.Input,Label:zn.Label}),sr=["bsPrefix","className","children","controlId","label"],cr=p.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,o=e.children,a=e.controlId,i=e.label,l=m(e,sr);return n=j(n,"form-floating"),(0,N.jsxs)(Wn,f(f({ref:t,className:g()(r,n),controlId:a},l),{},{children:[o,(0,N.jsx)("label",{htmlFor:a,children:i})]}))}));cr.displayName="FloatingLabel";var fr=cr,dr=["className","validated","as"],pr={_ref:Rt().any,validated:Rt().bool,as:Rt().elementType},hr=p.forwardRef((function(e,t){var n=e.className,r=e.validated,o=e.as,a=void 0===o?"form":o,i=m(e,dr);return(0,N.jsx)(a,f(f({},i),{},{ref:t,className:g()(n,r&&"was-validated")}))}));hr.displayName="Form",hr.propTypes=pr;var vr=Object.assign(hr,{Group:Wn,Control:Bn,Floating:Un,Check:zn,Switch:ur,Label:Xn,Text:ir,Range:er,Select:rr,FloatingLabel:fr});function mr(e,t,n){return mr=Qt()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&Q(o,n.prototype),o},mr.apply(null,arguments)}function yr(e){var t="function"===typeof Map?new Map:void 0;return yr=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,r)}function r(){return mr(e,arguments,$t(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Q(r,e)},yr(e)}var gr=Object.create(null);gr.open="0",gr.close="1",gr.ping="2",gr.pong="3",gr.message="4",gr.upgrade="5",gr.noop="6";var br=Object.create(null);Object.keys(gr).forEach((function(e){br[gr[e]]=e}));var wr,xr={type:"error",data:"parser error"},kr="function"===typeof Blob||"undefined"!==typeof Blob&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),Sr="function"===typeof ArrayBuffer,Er=function(e){return"function"===typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer},Cr=function(e,t,n){var r=e.type,o=e.data;return kr&&o instanceof Blob?t?n(o):Or(o,n):Sr&&(o instanceof ArrayBuffer||Er(o))?t?n(o):Or(new Blob([o]),n):n(gr[r]+(o||""))},Or=function(e,t){var n=new FileReader;return n.onload=function(){var e=n.result.split(",")[1];t("b"+(e||""))},n.readAsDataURL(e)};function _r(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}for(var Nr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Pr="undefined"===typeof Uint8Array?[]:new Uint8Array(256),Tr=0;Tr<64;Tr++)Pr[Nr.charCodeAt(Tr)]=Tr;var jr,Rr="function"===typeof ArrayBuffer,Lr=function(e,t){if("string"!==typeof e)return{type:"message",data:zr(e,t)};var n=e.charAt(0);return"b"===n?{type:"message",data:Ar(e.substring(1),t)}:br[n]?e.length>1?{type:br[n],data:e.substring(1)}:{type:br[n]}:xr},Ar=function(e,t){if(Rr){var n=function(e){var t,n,r,o,a,i=.75*e.length,l=e.length,u=0;"="===e[e.length-1]&&(i--,"="===e[e.length-2]&&i--);var s=new ArrayBuffer(i),c=new Uint8Array(s);for(t=0;t<l;t+=4)n=Pr[e.charCodeAt(t)],r=Pr[e.charCodeAt(t+1)],o=Pr[e.charCodeAt(t+2)],a=Pr[e.charCodeAt(t+3)],c[u++]=n<<2|r>>4,c[u++]=(15&r)<<4|o>>2,c[u++]=(3&o)<<6|63&a;return s}(e);return zr(n,t)}return{base64:!0,data:e}},zr=function(e,t){return"blob"===t?e instanceof Blob?e:new Blob([e]):e instanceof ArrayBuffer?e:e.buffer},Ir=String.fromCharCode(30);function Mr(e){if(e)return function(e){for(var t in Mr.prototype)e[t]=Mr.prototype[t];return e}(e)}Mr.prototype.on=Mr.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},Mr.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},Mr.prototype.off=Mr.prototype.removeListener=Mr.prototype.removeAllListeners=Mr.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<r.length;o++)if((n=r[o])===t||n.fn===t){r.splice(o,1);break}return 0===r.length&&delete this._callbacks["$"+e],this},Mr.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){r=0;for(var o=(n=n.slice(0)).length;r<o;++r)n[r].apply(this,t)}return this},Mr.prototype.emitReserved=Mr.prototype.emit,Mr.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},Mr.prototype.hasListeners=function(e){return!!this.listeners(e).length};var Fr="undefined"!==typeof self?self:"undefined"!==typeof window?window:Function("return this")();function Dr(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((function(t,n){return e.hasOwnProperty(n)&&(t[n]=e[n]),t}),{})}var Br=Fr.setTimeout,Ur=Fr.clearTimeout;function Vr(e,t){t.useNativeTimers?(e.setTimeoutFn=Br.bind(Fr),e.clearTimeoutFn=Ur.bind(Fr)):(e.setTimeoutFn=Fr.setTimeout.bind(Fr),e.clearTimeoutFn=Fr.clearTimeout.bind(Fr))}var Hr,Wr=function(e){Kt(n,e);var t=Gt(n);function n(e,r,o){var a;return Ze(this,n),(a=t.call(this,e)).description=r,a.context=o,a.type="TransportError",a}return tt(n)}(yr(Error)),$r=function(e){Kt(n,e);var t=Gt(n);function n(e){var r;return Ze(this,n),(r=t.call(this)).writable=!1,Vr(Yt(r),e),r.opts=e,r.query=e.query,r.socket=e.socket,r}return tt(n,[{key:"onError",value:function(e,t,r){return qt($t(n.prototype),"emitReserved",this).call(this,"error",new Wr(e,t,r)),this}},{key:"open",value:function(){return this.readyState="opening",this.doOpen(),this}},{key:"close",value:function(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this}},{key:"send",value:function(e){"open"===this.readyState&&this.write(e)}},{key:"onOpen",value:function(){this.readyState="open",this.writable=!0,qt($t(n.prototype),"emitReserved",this).call(this,"open")}},{key:"onData",value:function(e){var t=Lr(e,this.socket.binaryType);this.onPacket(t)}},{key:"onPacket",value:function(e){qt($t(n.prototype),"emitReserved",this).call(this,"packet",e)}},{key:"onClose",value:function(e){this.readyState="closed",qt($t(n.prototype),"emitReserved",this).call(this,"close",e)}},{key:"pause",value:function(e){}},{key:"createUri",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(t)}},{key:"_hostname",value:function(){var e=this.opts.hostname;return-1===e.indexOf(":")?e:"["+e+"]"}},{key:"_port",value:function(){return this.opts.port&&(this.opts.secure&&Number(443!==this.opts.port)||!this.opts.secure&&80!==Number(this.opts.port))?":"+this.opts.port:""}},{key:"_query",value:function(e){var t=function(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}(e);return t.length?"?"+t:""}}]),n}(Mr),qr="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),Kr=64,Qr={},Yr=0,Gr=0;function Xr(e){var t="";do{t=qr[e%Kr]+t,e=Math.floor(e/Kr)}while(e>0);return t}function Jr(){var e=Xr(+new Date);return e!==Hr?(Yr=0,Hr=e):e+"."+Xr(Yr++)}for(;Gr<Kr;Gr++)Qr[qr[Gr]]=Gr;var Zr=!1;try{Zr="undefined"!==typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(tp){}var eo=Zr;function to(e){var t=e.xdomain;try{if("undefined"!==typeof XMLHttpRequest&&(!t||eo))return new XMLHttpRequest}catch(ep){}if(!t)try{return new(Fr[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(ep){}}function no(){}var ro=null!=new to({xdomain:!1}).responseType,oo=function(e){Kt(n,e);var t=Gt(n);function n(e){var r;if(Ze(this,n),(r=t.call(this,e)).polling=!1,"undefined"!==typeof location){var o="https:"===location.protocol,a=location.port;a||(a=o?"443":"80"),r.xd="undefined"!==typeof location&&e.hostname!==location.hostname||a!==e.port}var i=e&&e.forceBase64;return r.supportsBinary=ro&&!i,r.opts.withCredentials&&(r.cookieJar=void 0),r}return tt(n,[{key:"name",get:function(){return"polling"}},{key:"doOpen",value:function(){this.poll()}},{key:"pause",value:function(e){var t=this;this.readyState="pausing";var n=function(){t.readyState="paused",e()};if(this.polling||!this.writable){var r=0;this.polling&&(r++,this.once("pollComplete",(function(){--r||n()}))),this.writable||(r++,this.once("drain",(function(){--r||n()})))}else n()}},{key:"poll",value:function(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}},{key:"onData",value:function(e){var t=this;(function(e,t){for(var n=e.split(Ir),r=[],o=0;o<n.length;o++){var a=Lr(n[o],t);if(r.push(a),"error"===a.type)break}return r})(e,this.socket.binaryType).forEach((function(e){if("opening"===t.readyState&&"open"===e.type&&t.onOpen(),"close"===e.type)return t.onClose({description:"transport closed by the server"}),!1;t.onPacket(e)})),"closed"!==this.readyState&&(this.polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this.poll())}},{key:"doClose",value:function(){var e=this,t=function(){e.write([{type:"close"}])};"open"===this.readyState?t():this.once("open",t)}},{key:"write",value:function(e){var t=this;this.writable=!1,function(e,t){var n=e.length,r=new Array(n),o=0;e.forEach((function(e,a){Cr(e,!1,(function(e){r[a]=e,++o===n&&t(r.join(Ir))}))}))}(e,(function(e){t.doWrite(e,(function(){t.writable=!0,t.emitReserved("drain")}))}))}},{key:"uri",value:function(){var e=this.opts.secure?"https":"http",t=this.query||{};return!1!==this.opts.timestampRequests&&(t[this.opts.timestampParam]=Jr()),this.supportsBinary||t.sid||(t.b64=1),this.createUri(e,t)}},{key:"request",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign(e,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new ao(this.uri(),e)}},{key:"doWrite",value:function(e,t){var n=this,r=this.request({method:"POST",data:e});r.on("success",t),r.on("error",(function(e,t){n.onError("xhr post error",e,t)}))}},{key:"doPoll",value:function(){var e=this,t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(function(t,n){e.onError("xhr poll error",t,n)})),this.pollXhr=t}}]),n}($r),ao=function(e){Kt(n,e);var t=Gt(n);function n(e,r){var o;return Ze(this,n),Vr(Yt(o=t.call(this)),r),o.opts=r,o.method=r.method||"GET",o.uri=e,o.data=void 0!==r.data?r.data:null,o.create(),o}return tt(n,[{key:"create",value:function(){var e,t=this,r=Dr(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");r.xdomain=!!this.opts.xd;var o=this.xhr=new to(r);try{o.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders)for(var a in o.setDisableHeaderCheck&&o.setDisableHeaderCheck(!0),this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(a)&&o.setRequestHeader(a,this.opts.extraHeaders[a])}catch(ep){}if("POST"===this.method)try{o.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(ep){}try{o.setRequestHeader("Accept","*/*")}catch(ep){}null===(e=this.opts.cookieJar)||void 0===e||e.addCookies(o),"withCredentials"in o&&(o.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(o.timeout=this.opts.requestTimeout),o.onreadystatechange=function(){var e;3===o.readyState&&(null===(e=t.opts.cookieJar)||void 0===e||e.parseCookies(o)),4===o.readyState&&(200===o.status||1223===o.status?t.onLoad():t.setTimeoutFn((function(){t.onError("number"===typeof o.status?o.status:0)}),0))},o.send(this.data)}catch(ep){return void this.setTimeoutFn((function(){t.onError(ep)}),0)}"undefined"!==typeof document&&(this.index=n.requestsCount++,n.requests[this.index]=this)}},{key:"onError",value:function(e){this.emitReserved("error",e,this.xhr),this.cleanup(!0)}},{key:"cleanup",value:function(e){if("undefined"!==typeof this.xhr&&null!==this.xhr){if(this.xhr.onreadystatechange=no,e)try{this.xhr.abort()}catch(ep){}"undefined"!==typeof document&&delete n.requests[this.index],this.xhr=null}}},{key:"onLoad",value:function(){var e=this.xhr.responseText;null!==e&&(this.emitReserved("data",e),this.emitReserved("success"),this.cleanup())}},{key:"abort",value:function(){this.cleanup()}}]),n}(Mr);if(ao.requestsCount=0,ao.requests={},"undefined"!==typeof document)if("function"===typeof attachEvent)attachEvent("onunload",io);else if("function"===typeof addEventListener){addEventListener("onpagehide"in Fr?"pagehide":"unload",io,!1)}function io(){for(var e in ao.requests)ao.requests.hasOwnProperty(e)&&ao.requests[e].abort()}var lo="function"===typeof Promise&&"function"===typeof Promise.resolve?function(e){return Promise.resolve().then(e)}:function(e,t){return t(e,0)},uo=Fr.WebSocket||Fr.MozWebSocket,so="undefined"!==typeof navigator&&"string"===typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),co=function(e){Kt(n,e);var t=Gt(n);function n(e){var r;return Ze(this,n),(r=t.call(this,e)).supportsBinary=!e.forceBase64,r}return tt(n,[{key:"name",get:function(){return"websocket"}},{key:"doOpen",value:function(){if(this.check()){var e=this.uri(),t=this.opts.protocols,n=so?{}:Dr(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=so?new uo(e,t,n):t?new uo(e,t):new uo(e)}catch(tp){return this.emitReserved("error",tp)}this.ws.binaryType=this.socket.binaryType||"arraybuffer",this.addEventListeners()}}},{key:"addEventListeners",value:function(){var e=this;this.ws.onopen=function(){e.opts.autoUnref&&e.ws._socket.unref(),e.onOpen()},this.ws.onclose=function(t){return e.onClose({description:"websocket connection closed",context:t})},this.ws.onmessage=function(t){return e.onData(t.data)},this.ws.onerror=function(t){return e.onError("websocket error",t)}}},{key:"write",value:function(e){var t=this;this.writable=!1;for(var n=function(){var n=e[r],o=r===e.length-1;Cr(n,t.supportsBinary,(function(e){try{t.ws.send(e)}catch(ep){}o&&lo((function(){t.writable=!0,t.emitReserved("drain")}),t.setTimeoutFn)}))},r=0;r<e.length;r++)n()}},{key:"doClose",value:function(){"undefined"!==typeof this.ws&&(this.ws.close(),this.ws=null)}},{key:"uri",value:function(){var e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=Jr()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}},{key:"check",value:function(){return!!uo}}]),n}($r);var fo=function(e){Kt(n,e);var t=Gt(n);function n(){return Ze(this,n),t.apply(this,arguments)}return tt(n,[{key:"name",get:function(){return"webtransport"}},{key:"doOpen",value:function(){var e=this;"function"===typeof WebTransport&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then((function(){e.onClose()})).catch((function(t){e.onError("webtransport error",t)})),this.transport.ready.then((function(){e.transport.createBidirectionalStream().then((function(t){var n,r=t.readable.getReader();e.writer=t.writable.getWriter();!function t(){r.read().then((function(r){var o=r.done,a=r.value;o||(n||1!==a.byteLength||54!==a[0]?(e.onPacket(function(e,t,n){jr||(jr=new TextDecoder);var r=t||e[0]<48||e[0]>54;return Lr(r?e:jr.decode(e),n)}(a,n,"arraybuffer")),n=!1):n=!0,t())})).catch((function(e){}))}();var o=e.query.sid?'0{"sid":"'.concat(e.query.sid,'"}'):"0";e.writer.write((new TextEncoder).encode(o)).then((function(){return e.onOpen()}))}))})))}},{key:"write",value:function(e){var t=this;this.writable=!1;for(var n=function(){var n=e[r],o=r===e.length-1;!function(e,t){kr&&e.data instanceof Blob?e.data.arrayBuffer().then(_r).then(t):Sr&&(e.data instanceof ArrayBuffer||Er(e.data))?t(_r(e.data)):Cr(e,!1,(function(e){wr||(wr=new TextEncoder),t(wr.encode(e))}))}(n,(function(e){(function(e,t){return"message"===e.type&&"string"!==typeof e.data&&t[0]>=48&&t[0]<=54})(n,e)&&t.writer.write(Uint8Array.of(54)),t.writer.write(e).then((function(){o&&lo((function(){t.writable=!0,t.emitReserved("drain")}),t.setTimeoutFn)}))}))},r=0;r<e.length;r++)n()}},{key:"doClose",value:function(){var e;null===(e=this.transport)||void 0===e||e.close()}}]),n}($r),po={websocket:co,webtransport:fo,polling:oo},ho=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,vo=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function mo(e){var t=e,n=e.indexOf("["),r=e.indexOf("]");-1!=n&&-1!=r&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));for(var o=ho.exec(e||""),a={},i=14;i--;)a[vo[i]]=o[i]||"";return-1!=n&&-1!=r&&(a.source=t,a.host=a.host.substring(1,a.host.length-1).replace(/;/g,":"),a.authority=a.authority.replace("[","").replace("]","").replace(/;/g,":"),a.ipv6uri=!0),a.pathNames=function(e,t){var n=/\/{2,9}/g,r=t.replace(n,"/").split("/");"/"!=t.slice(0,1)&&0!==t.length||r.splice(0,1);"/"==t.slice(-1)&&r.splice(r.length-1,1);return r}(0,a.path),a.queryKey=function(e,t){var n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,(function(e,t,r){t&&(n[t]=r)})),n}(0,a.query),a}var yo=function(e){Kt(n,e);var t=Gt(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Ze(this,n),(r=t.call(this)).writeBuffer=[],e&&"object"===typeof e&&(o=e,e=null),e?(e=mo(e),o.hostname=e.host,o.secure="https"===e.protocol||"wss"===e.protocol,o.port=e.port,e.query&&(o.query=e.query)):o.host&&(o.hostname=mo(o.host).host),Vr(Yt(r),o),r.secure=null!=o.secure?o.secure:"undefined"!==typeof location&&"https:"===location.protocol,o.hostname&&!o.port&&(o.port=r.secure?"443":"80"),r.hostname=o.hostname||("undefined"!==typeof location?location.hostname:"localhost"),r.port=o.port||("undefined"!==typeof location&&location.port?location.port:r.secure?"443":"80"),r.transports=o.transports||["polling","websocket","webtransport"],r.writeBuffer=[],r.prevBufferLen=0,r.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},o),r.opts.path=r.opts.path.replace(/\/$/,"")+(r.opts.addTrailingSlash?"/":""),"string"===typeof r.opts.query&&(r.opts.query=function(e){for(var t={},n=e.split("&"),r=0,o=n.length;r<o;r++){var a=n[r].split("=");t[decodeURIComponent(a[0])]=decodeURIComponent(a[1])}return t}(r.opts.query)),r.id=null,r.upgrades=null,r.pingInterval=null,r.pingTimeout=null,r.pingTimeoutTimer=null,"function"===typeof addEventListener&&(r.opts.closeOnBeforeunload&&(r.beforeunloadEventListener=function(){r.transport&&(r.transport.removeAllListeners(),r.transport.close())},addEventListener("beforeunload",r.beforeunloadEventListener,!1)),"localhost"!==r.hostname&&(r.offlineEventListener=function(){r.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",r.offlineEventListener,!1))),r.open(),r}return tt(n,[{key:"createTransport",value:function(e){var t=Object.assign({},this.opts.query);t.EIO=4,t.transport=e,this.id&&(t.sid=this.id);var n=Object.assign({},this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new po[e](n)}},{key:"open",value:function(){var e,t=this;if(this.opts.rememberUpgrade&&n.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))e="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn((function(){t.emitReserved("error","No transports available")}),0);e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e)}catch(ep){return this.transports.shift(),void this.open()}e.open(),this.setTransport(e)}},{key:"setTransport",value:function(e){var t=this;this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",(function(e){return t.onClose("transport close",e)}))}},{key:"probe",value:function(e){var t=this,r=this.createTransport(e),o=!1;n.priorWebsocketSuccess=!1;var a=function(){o||(r.send([{type:"ping",data:"probe"}]),r.once("packet",(function(e){if(!o)if("pong"===e.type&&"probe"===e.data){if(t.upgrading=!0,t.emitReserved("upgrading",r),!r)return;n.priorWebsocketSuccess="websocket"===r.name,t.transport.pause((function(){o||"closed"!==t.readyState&&(f(),t.setTransport(r),r.send([{type:"upgrade"}]),t.emitReserved("upgrade",r),r=null,t.upgrading=!1,t.flush())}))}else{var a=new Error("probe error");a.transport=r.name,t.emitReserved("upgradeError",a)}})))};function i(){o||(o=!0,f(),r.close(),r=null)}var l=function(e){var n=new Error("probe error: "+e);n.transport=r.name,i(),t.emitReserved("upgradeError",n)};function u(){l("transport closed")}function s(){l("socket closed")}function c(e){r&&e.name!==r.name&&i()}var f=function(){r.removeListener("open",a),r.removeListener("error",l),r.removeListener("close",u),t.off("close",s),t.off("upgrading",c)};r.once("open",a),r.once("error",l),r.once("close",u),this.once("close",s),this.once("upgrading",c),-1!==this.upgrades.indexOf("webtransport")&&"webtransport"!==e?this.setTimeoutFn((function(){o||r.open()}),200):r.open()}},{key:"onOpen",value:function(){if(this.readyState="open",n.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade)for(var e=0,t=this.upgrades.length;e<t;e++)this.probe(this.upgrades[e])}},{key:"onPacket",value:function(e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this.resetPingTimeout(),this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":var t=new Error("server error");t.code=e.data,this.onError(t);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data)}}},{key:"onHandshake",value:function(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this.upgrades=this.filterUpgrades(e.upgrades),this.pingInterval=e.pingInterval,this.pingTimeout=e.pingTimeout,this.maxPayload=e.maxPayload,this.onOpen(),"closed"!==this.readyState&&this.resetPingTimeout()}},{key:"resetPingTimeout",value:function(){var e=this;this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn((function(){e.onClose("ping timeout")}),this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}},{key:"onDrain",value:function(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}},{key:"flush",value:function(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){var e=this.getWritablePackets();this.transport.send(e),this.prevBufferLen=e.length,this.emitReserved("flush")}}},{key:"getWritablePackets",value:function(){if(!(this.maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;for(var e,t=1,n=0;n<this.writeBuffer.length;n++){var r=this.writeBuffer[n].data;if(r&&(t+="string"===typeof(e=r)?function(e){for(var t=0,n=0,r=0,o=e.length;r<o;r++)(t=e.charCodeAt(r))<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(r++,n+=4);return n}(e):Math.ceil(1.33*(e.byteLength||e.size))),n>0&&t>this.maxPayload)return this.writeBuffer.slice(0,n);t+=2}return this.writeBuffer}},{key:"write",value:function(e,t,n){return this.sendPacket("message",e,t,n),this}},{key:"send",value:function(e,t,n){return this.sendPacket("message",e,t,n),this}},{key:"sendPacket",value:function(e,t,n,r){if("function"===typeof t&&(r=t,t=void 0),"function"===typeof n&&(r=n,n=null),"closing"!==this.readyState&&"closed"!==this.readyState){(n=n||{}).compress=!1!==n.compress;var o={type:e,data:t,options:n};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),r&&this.once("flush",r),this.flush()}}},{key:"close",value:function(){var e=this,t=function(){e.onClose("forced close"),e.transport.close()},n=function n(){e.off("upgrade",n),e.off("upgradeError",n),t()},r=function(){e.once("upgrade",n),e.once("upgradeError",n)};return"opening"!==this.readyState&&"open"!==this.readyState||(this.readyState="closing",this.writeBuffer.length?this.once("drain",(function(){e.upgrading?r():t()})):this.upgrading?r():t()),this}},{key:"onError",value:function(e){n.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}},{key:"onClose",value:function(e,t){"opening"!==this.readyState&&"open"!==this.readyState&&"closing"!==this.readyState||(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),"function"===typeof removeEventListener&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this.prevBufferLen=0)}},{key:"filterUpgrades",value:function(e){for(var t=[],n=0,r=e.length;n<r;n++)~this.transports.indexOf(e[n])&&t.push(e[n]);return t}}]),n}(Mr);yo.protocol=4;yo.protocol;function go(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 r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}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 i,l=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){u=!0,i=e},f:function(){try{l||null==n.return||n.return()}finally{if(u)throw i}}}}var bo="function"===typeof ArrayBuffer,wo=function(e){return"function"===typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer},xo=Object.prototype.toString,ko="function"===typeof Blob||"undefined"!==typeof Blob&&"[object BlobConstructor]"===xo.call(Blob),So="function"===typeof File||"undefined"!==typeof File&&"[object FileConstructor]"===xo.call(File);function Eo(e){return bo&&(e instanceof ArrayBuffer||wo(e))||ko&&e instanceof Blob||So&&e instanceof File}function Co(e,t){if(!e||"object"!==typeof e)return!1;if(Array.isArray(e)){for(var n=0,r=e.length;n<r;n++)if(Co(e[n]))return!0;return!1}if(Eo(e))return!0;if(e.toJSON&&"function"===typeof e.toJSON&&1===arguments.length)return Co(e.toJSON(),!0);for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)&&Co(e[o]))return!0;return!1}function Oo(e){var t=[],n=e.data,r=e;return r.data=_o(n,t),r.attachments=t.length,{packet:r,buffers:t}}function _o(e,t){if(!e)return e;if(Eo(e)){var n={_placeholder:!0,num:t.length};return t.push(e),n}if(Array.isArray(e)){for(var r=new Array(e.length),o=0;o<e.length;o++)r[o]=_o(e[o],t);return r}if("object"===typeof e&&!(e instanceof Date)){var a={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(a[i]=_o(e[i],t));return a}return e}function No(e,t){return e.data=Po(e.data,t),delete e.attachments,e}function Po(e,t){if(!e)return e;if(e&&!0===e._placeholder){if("number"===typeof e.num&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}if(Array.isArray(e))for(var n=0;n<e.length;n++)e[n]=Po(e[n],t);else if("object"===typeof e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(e[r]=Po(e[r],t));return e}var To,jo=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],Ro=5;!function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"}(To||(To={}));var Lo=function(){function e(t){Ze(this,e),this.replacer=t}return tt(e,[{key:"encode",value:function(e){return e.type!==To.EVENT&&e.type!==To.ACK||!Co(e)?[this.encodeAsString(e)]:this.encodeAsBinary({type:e.type===To.EVENT?To.BINARY_EVENT:To.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id})}},{key:"encodeAsString",value:function(e){var t=""+e.type;return e.type!==To.BINARY_EVENT&&e.type!==To.BINARY_ACK||(t+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(t+=e.nsp+","),null!=e.id&&(t+=e.id),null!=e.data&&(t+=JSON.stringify(e.data,this.replacer)),t}},{key:"encodeAsBinary",value:function(e){var t=Oo(e),n=this.encodeAsString(t.packet),r=t.buffers;return r.unshift(n),r}}]),e}();function Ao(e){return"[object Object]"===Object.prototype.toString.call(e)}var zo=function(e){Kt(n,e);var t=Gt(n);function n(e){var r;return Ze(this,n),(r=t.call(this)).reviver=e,r}return tt(n,[{key:"add",value:function(e){var t;if("string"===typeof e){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");var r=(t=this.decodeString(e)).type===To.BINARY_EVENT;r||t.type===To.BINARY_ACK?(t.type=r?To.EVENT:To.ACK,this.reconstructor=new Io(t),0===t.attachments&&qt($t(n.prototype),"emitReserved",this).call(this,"decoded",t)):qt($t(n.prototype),"emitReserved",this).call(this,"decoded",t)}else{if(!Eo(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");(t=this.reconstructor.takeBinaryData(e))&&(this.reconstructor=null,qt($t(n.prototype),"emitReserved",this).call(this,"decoded",t))}}},{key:"decodeString",value:function(e){var t=0,r={type:Number(e.charAt(0))};if(void 0===To[r.type])throw new Error("unknown packet type "+r.type);if(r.type===To.BINARY_EVENT||r.type===To.BINARY_ACK){for(var o=t+1;"-"!==e.charAt(++t)&&t!=e.length;);var a=e.substring(o,t);if(a!=Number(a)||"-"!==e.charAt(t))throw new Error("Illegal attachments");r.attachments=Number(a)}if("/"===e.charAt(t+1)){for(var i=t+1;++t;){if(","===e.charAt(t))break;if(t===e.length)break}r.nsp=e.substring(i,t)}else r.nsp="/";var l=e.charAt(t+1);if(""!==l&&Number(l)==l){for(var u=t+1;++t;){var s=e.charAt(t);if(null==s||Number(s)!=s){--t;break}if(t===e.length)break}r.id=Number(e.substring(u,t+1))}if(e.charAt(++t)){var c=this.tryParse(e.substr(t));if(!n.isPayloadValid(r.type,c))throw new Error("invalid payload");r.data=c}return r}},{key:"tryParse",value:function(e){try{return JSON.parse(e,this.reviver)}catch(ep){return!1}}},{key:"destroy",value:function(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}],[{key:"isPayloadValid",value:function(e,t){switch(e){case To.CONNECT:return Ao(t);case To.DISCONNECT:return void 0===t;case To.CONNECT_ERROR:return"string"===typeof t||Ao(t);case To.EVENT:case To.BINARY_EVENT:return Array.isArray(t)&&("number"===typeof t[0]||"string"===typeof t[0]&&-1===jo.indexOf(t[0]));case To.ACK:case To.BINARY_ACK:return Array.isArray(t)}}}]),n}(Mr),Io=function(){function e(t){Ze(this,e),this.packet=t,this.buffers=[],this.reconPack=t}return tt(e,[{key:"takeBinaryData",value:function(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){var t=No(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null}},{key:"finishedReconstruction",value:function(){this.reconPack=null,this.buffers=[]}}]),e}();function Mo(e,t,n){return e.on(t,n),function(){e.off(t,n)}}var Fo=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1}),Do=function(e){Kt(n,e);var t=Gt(n);function n(e,r,o){var a;return Ze(this,n),(a=t.call(this)).connected=!1,a.recovered=!1,a.receiveBuffer=[],a.sendBuffer=[],a._queue=[],a._queueSeq=0,a.ids=0,a.acks={},a.flags={},a.io=e,a.nsp=r,o&&o.auth&&(a.auth=o.auth),a._opts=Object.assign({},o),a.io._autoConnect&&a.open(),a}return tt(n,[{key:"disconnected",get:function(){return!this.connected}},{key:"subEvents",value:function(){if(!this.subs){var e=this.io;this.subs=[Mo(e,"open",this.onopen.bind(this)),Mo(e,"packet",this.onpacket.bind(this)),Mo(e,"error",this.onerror.bind(this)),Mo(e,"close",this.onclose.bind(this))]}}},{key:"active",get:function(){return!!this.subs}},{key:"connect",value:function(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}},{key:"open",value:function(){return this.connect()}},{key:"send",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.unshift("message"),this.emit.apply(this,t),this}},{key:"emit",value:function(e){if(Fo.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(n.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;var o={type:To.EVENT,data:n,options:{}};if(o.options.compress=!1!==this.flags.compress,"function"===typeof n[n.length-1]){var a=this.ids++,i=n.pop();this._registerAckCallback(a,i),o.id=a}var l=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!l||!this.connected)||(this.connected?(this.notifyOutgoingListeners(o),this.packet(o)):this.sendBuffer.push(o)),this.flags={},this}},{key:"_registerAckCallback",value:function(e,t){var n,r=this,o=null!==(n=this.flags.timeout)&&void 0!==n?n:this._opts.ackTimeout;if(void 0!==o){var a=this.io.setTimeoutFn((function(){delete r.acks[e];for(var n=0;n<r.sendBuffer.length;n++)r.sendBuffer[n].id===e&&r.sendBuffer.splice(n,1);t.call(r,new Error("operation has timed out"))}),o);this.acks[e]=function(){r.io.clearTimeoutFn(a);for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];t.apply(r,[null].concat(n))}}else this.acks[e]=t}},{key:"emitWithAck",value:function(e){for(var t=this,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var a=void 0!==this.flags.timeout||void 0!==this._opts.ackTimeout;return new Promise((function(n,o){r.push((function(e,t){return a?e?o(e):n(t):n(e)})),t.emit.apply(t,[e].concat(r))}))}},{key:"_addToQueue",value:function(e){var t,n=this;"function"===typeof e[e.length-1]&&(t=e.pop());var r={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((function(e){if(r===n._queue[0]){if(null!==e)r.tryCount>n._opts.retries&&(n._queue.shift(),t&&t(e));else if(n._queue.shift(),t){for(var o=arguments.length,a=new Array(o>1?o-1:0),i=1;i<o;i++)a[i-1]=arguments[i];t.apply(void 0,[null].concat(a))}return r.pending=!1,n._drainQueue()}})),this._queue.push(r),this._drainQueue()}},{key:"_drainQueue",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.connected&&0!==this._queue.length){var t=this._queue[0];t.pending&&!e||(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.args))}}},{key:"packet",value:function(e){e.nsp=this.nsp,this.io._packet(e)}},{key:"onopen",value:function(){var e=this;"function"==typeof this.auth?this.auth((function(t){e._sendConnectPacket(t)})):this._sendConnectPacket(this.auth)}},{key:"_sendConnectPacket",value:function(e){this.packet({type:To.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}},{key:"onerror",value:function(e){this.connected||this.emitReserved("connect_error",e)}},{key:"onclose",value:function(e,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t)}},{key:"onpacket",value:function(e){if(e.nsp===this.nsp)switch(e.type){case To.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case To.EVENT:case To.BINARY_EVENT:this.onevent(e);break;case To.ACK:case To.BINARY_ACK:this.onack(e);break;case To.DISCONNECT:this.ondisconnect();break;case To.CONNECT_ERROR:this.destroy();var t=new Error(e.data.message);t.data=e.data.data,this.emitReserved("connect_error",t)}}},{key:"onevent",value:function(e){var t=e.data||[];null!=e.id&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}},{key:"emitEvent",value:function(e){if(this._anyListeners&&this._anyListeners.length){var t,r=go(this._anyListeners.slice());try{for(r.s();!(t=r.n()).done;){t.value.apply(this,e)}}catch(tp){r.e(tp)}finally{r.f()}}qt($t(n.prototype),"emit",this).apply(this,e),this._pid&&e.length&&"string"===typeof e[e.length-1]&&(this._lastOffset=e[e.length-1])}},{key:"ack",value:function(e){var t=this,n=!1;return function(){if(!n){n=!0;for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];t.packet({type:To.ACK,id:e,data:o})}}}},{key:"onack",value:function(e){var t=this.acks[e.id];"function"===typeof t&&(t.apply(this,e.data),delete this.acks[e.id])}},{key:"onconnect",value:function(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}},{key:"emitBuffered",value:function(){var e=this;this.receiveBuffer.forEach((function(t){return e.emitEvent(t)})),this.receiveBuffer=[],this.sendBuffer.forEach((function(t){e.notifyOutgoingListeners(t),e.packet(t)})),this.sendBuffer=[]}},{key:"ondisconnect",value:function(){this.destroy(),this.onclose("io server disconnect")}},{key:"destroy",value:function(){this.subs&&(this.subs.forEach((function(e){return e()})),this.subs=void 0),this.io._destroy(this)}},{key:"disconnect",value:function(){return this.connected&&this.packet({type:To.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}},{key:"close",value:function(){return this.disconnect()}},{key:"compress",value:function(e){return this.flags.compress=e,this}},{key:"volatile",get:function(){return this.flags.volatile=!0,this}},{key:"timeout",value:function(e){return this.flags.timeout=e,this}},{key:"onAny",value:function(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}},{key:"prependAny",value:function(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}},{key:"offAny",value:function(e){if(!this._anyListeners)return this;if(e){for(var t=this._anyListeners,n=0;n<t.length;n++)if(e===t[n])return t.splice(n,1),this}else this._anyListeners=[];return this}},{key:"listenersAny",value:function(){return this._anyListeners||[]}},{key:"onAnyOutgoing",value:function(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}},{key:"prependAnyOutgoing",value:function(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}},{key:"offAnyOutgoing",value:function(e){if(!this._anyOutgoingListeners)return this;if(e){for(var t=this._anyOutgoingListeners,n=0;n<t.length;n++)if(e===t[n])return t.splice(n,1),this}else this._anyOutgoingListeners=[];return this}},{key:"listenersAnyOutgoing",value:function(){return this._anyOutgoingListeners||[]}},{key:"notifyOutgoingListeners",value:function(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){var t,n=go(this._anyOutgoingListeners.slice());try{for(n.s();!(t=n.n()).done;){t.value.apply(this,e.data)}}catch(tp){n.e(tp)}finally{n.f()}}}}]),n}(Mr);function Bo(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}Bo.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},Bo.prototype.reset=function(){this.attempts=0},Bo.prototype.setMin=function(e){this.ms=e},Bo.prototype.setMax=function(e){this.max=e},Bo.prototype.setJitter=function(e){this.jitter=e};var Uo=function(t){Kt(r,t);var n=Gt(r);function r(t,o){var a,i;Ze(this,r),(a=n.call(this)).nsps={},a.subs=[],t&&"object"===typeof t&&(o=t,t=void 0),(o=o||{}).path=o.path||"/socket.io",a.opts=o,Vr(Yt(a),o),a.reconnection(!1!==o.reconnection),a.reconnectionAttempts(o.reconnectionAttempts||1/0),a.reconnectionDelay(o.reconnectionDelay||1e3),a.reconnectionDelayMax(o.reconnectionDelayMax||5e3),a.randomizationFactor(null!==(i=o.randomizationFactor)&&void 0!==i?i:.5),a.backoff=new Bo({min:a.reconnectionDelay(),max:a.reconnectionDelayMax(),jitter:a.randomizationFactor()}),a.timeout(null==o.timeout?2e4:o.timeout),a._readyState="closed",a.uri=t;var l=o.parser||e;return a.encoder=new l.Encoder,a.decoder=new l.Decoder,a._autoConnect=!1!==o.autoConnect,a._autoConnect&&a.open(),a}return tt(r,[{key:"reconnection",value:function(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}},{key:"reconnectionAttempts",value:function(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}},{key:"reconnectionDelay",value:function(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null===(t=this.backoff)||void 0===t||t.setMin(e),this)}},{key:"randomizationFactor",value:function(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null===(t=this.backoff)||void 0===t||t.setJitter(e),this)}},{key:"reconnectionDelayMax",value:function(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null===(t=this.backoff)||void 0===t||t.setMax(e),this)}},{key:"timeout",value:function(e){return arguments.length?(this._timeout=e,this):this._timeout}},{key:"maybeReconnectOnOpen",value:function(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}},{key:"open",value:function(e){var t=this;if(~this._readyState.indexOf("open"))return this;this.engine=new yo(this.uri,this.opts);var n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;var o=Mo(n,"open",(function(){r.onopen(),e&&e()})),a=function(n){t.cleanup(),t._readyState="closed",t.emitReserved("error",n),e?e(n):t.maybeReconnectOnOpen()},i=Mo(n,"error",a);if(!1!==this._timeout){var l=this._timeout,u=this.setTimeoutFn((function(){o(),a(new Error("timeout")),n.close()}),l);this.opts.autoUnref&&u.unref(),this.subs.push((function(){t.clearTimeoutFn(u)}))}return this.subs.push(o),this.subs.push(i),this}},{key:"connect",value:function(e){return this.open(e)}},{key:"onopen",value:function(){this.cleanup(),this._readyState="open",this.emitReserved("open");var e=this.engine;this.subs.push(Mo(e,"ping",this.onping.bind(this)),Mo(e,"data",this.ondata.bind(this)),Mo(e,"error",this.onerror.bind(this)),Mo(e,"close",this.onclose.bind(this)),Mo(this.decoder,"decoded",this.ondecoded.bind(this)))}},{key:"onping",value:function(){this.emitReserved("ping")}},{key:"ondata",value:function(e){try{this.decoder.add(e)}catch(ep){this.onclose("parse error",ep)}}},{key:"ondecoded",value:function(e){var t=this;lo((function(){t.emitReserved("packet",e)}),this.setTimeoutFn)}},{key:"onerror",value:function(e){this.emitReserved("error",e)}},{key:"socket",value:function(e,t){var n=this.nsps[e];return n?this._autoConnect&&!n.active&&n.connect():(n=new Do(this,e,t),this.nsps[e]=n),n}},{key:"_destroy",value:function(e){for(var t=0,n=Object.keys(this.nsps);t<n.length;t++){var r=n[t];if(this.nsps[r].active)return}this._close()}},{key:"_packet",value:function(e){for(var t=this.encoder.encode(e),n=0;n<t.length;n++)this.engine.write(t[n],e.options)}},{key:"cleanup",value:function(){this.subs.forEach((function(e){return e()})),this.subs.length=0,this.decoder.destroy()}},{key:"_close",value:function(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}},{key:"disconnect",value:function(){return this._close()}},{key:"onclose",value:function(e,t){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}},{key:"reconnect",value:function(){var e=this;if(this._reconnecting||this.skipReconnect)return this;var t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{var n=this.backoff.duration();this._reconnecting=!0;var r=this.setTimeoutFn((function(){t.skipReconnect||(e.emitReserved("reconnect_attempt",t.backoff.attempts),t.skipReconnect||t.open((function(n){n?(t._reconnecting=!1,t.reconnect(),e.emitReserved("reconnect_error",n)):t.onreconnect()})))}),n);this.opts.autoUnref&&r.unref(),this.subs.push((function(){e.clearTimeoutFn(r)}))}}},{key:"onreconnect",value:function(){var e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}]),r}(Mr),Vo={};function Ho(e,t){"object"===typeof e&&(t=e,e=void 0);var n,r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,r=e;n=n||"undefined"!==typeof location&&location,null==e&&(e=n.protocol+"//"+n.host),"string"===typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?n.protocol+e:n.host+e),/^(https?|wss?):\/\//.test(e)||(e="undefined"!==typeof n?n.protocol+"//"+e:"https://"+e),r=mo(e)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";var o=-1!==r.host.indexOf(":")?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+o+":"+r.port+t,r.href=r.protocol+"://"+o+(n&&n.port===r.port?"":":"+r.port),r}(e,(t=t||{}).path||"/socket.io"),o=r.source,a=r.id,i=r.path,l=Vo[a]&&i in Vo[a].nsps;return t.forceNew||t["force new connection"]||!1===t.multiplex||l?n=new Uo(o,t):(Vo[a]||(Vo[a]=new Uo(o,t)),n=Vo[a]),r.query&&!t.query&&(t.query=r.queryKey),n.socket(r.path,t)}Object.assign(Ho,{Manager:Uo,Socket:Do,io:Ho,connect:Ho});var Wo=window.location.hostname,$o=window.location.port,qo="ws://".concat(Wo,":").concat($o,"/");console.debug("Websocket: ",qo);var Ko=Ho(qo,{path:"/ws/socket.io",transports:["websocket"]}),Qo=function(e,t,n,r){r?Ko.emit("frontend_update",{name:e,parent_path:t,value:n},r):Ko.emit("frontend_update",{name:e,parent_path:t,value:n})},Yo=["bsPrefix","className","variant","as"],Go=p.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,o=e.variant,a=e.as,i=void 0===a?"img":a,l=m(e,Yo),u=j(n,"card-img");return(0,N.jsx)(i,f({ref:t,className:g()(o?"".concat(u,"-").concat(o):u,r)},l))}));Go.displayName="CardImg";var Xo=Go,Jo=p.createContext(null);Jo.displayName="CardHeaderContext";var Zo=Jo,ea=["bsPrefix","className","as"],ta=p.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,o=e.as,a=void 0===o?"div":o,i=m(e,ea),l=j(n,"card-header"),u=(0,p.useMemo)((function(){return{cardHeaderBsPrefix:l}}),[l]);return(0,N.jsx)(Zo.Provider,{value:u,children:(0,N.jsx)(a,f(f({ref:t},i),{},{className:g()(r,l)}))})}));ta.displayName="CardHeader";var na=ta,ra=["bsPrefix","className","bg","text","border","body","children","as"],oa=Ht("h5"),aa=Ht("h6"),ia=M("card-body"),la=M("card-title",{Component:oa}),ua=M("card-subtitle",{Component:aa}),sa=M("card-link",{Component:"a"}),ca=M("card-text",{Component:"p"}),fa=M("card-footer"),da=M("card-img-overlay"),pa=p.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,o=e.bg,a=e.text,i=e.border,l=e.body,u=void 0!==l&&l,s=e.children,c=e.as,d=void 0===c?"div":c,p=m(e,ra),h=j(n,"card");return(0,N.jsx)(d,f(f({ref:t},p),{},{className:g()(r,h,o&&"bg-".concat(o),a&&"text-".concat(a),i&&"border-".concat(i)),children:u?(0,N.jsx)(ia,{children:s}):s}))}));pa.displayName="Card";var ha=Object.assign(pa,{Img:Xo,Title:la,Subtitle:ua,Body:ia,Link:sa,Text:ca,Header:na,Footer:fa,ImgOverlay:da}),va=["color","size","title"];function ma(){return ma=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ma.apply(this,arguments)}function ya(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var ga=(0,p.forwardRef)((function(e,t){var n=e.color,r=e.size,o=e.title,a=ya(e,va);return p.createElement("svg",ma({ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:r,height:r,fill:n},a),o?p.createElement("title",null,o):null,p.createElement("path",{fillRule:"evenodd",d:"M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"}))}));ga.propTypes={color:Rt().string,size:Rt().oneOfType([Rt().string,Rt().number]),title:Rt().string},ga.defaultProps={color:"currentColor",size:"1em",title:null};var ba=ga,wa=["color","size","title"];function xa(){return xa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xa.apply(this,arguments)}function ka(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Sa=(0,p.forwardRef)((function(e,t){var n=e.color,r=e.size,o=e.title,a=ka(e,wa);return p.createElement("svg",xa({ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:r,height:r,fill:n},a),o?p.createElement("title",null,o):null,p.createElement("path",{fillRule:"evenodd",d:"M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"}))}));Sa.propTypes={color:Rt().string,size:Rt().oneOfType([Rt().string,Rt().number]),title:Rt().string},Sa.defaultProps={color:"currentColor",size:"1em",title:null};var Ea=Sa,Ca=["as","disabled"];function Oa(e){var t=e.tagName,n=e.disabled,r=e.href,o=e.target,a=e.rel,i=e.role,l=e.onClick,u=e.tabIndex,s=void 0===u?0:u,c=e.type;t||(t=null!=r||null!=o||null!=a?"a":"button");var f={tagName:t};if("button"===t)return[{type:c||"button",disabled:n},f];var d=function(e){(n||"a"===t&&function(e){return!e||"#"===e.trim()}(r))&&e.preventDefault(),n?e.stopPropagation():null==l||l(e)};return"a"===t&&(r||(r="#"),n&&(r=void 0)),[{role:null!=i?i:"button",disabled:void 0,tabIndex:n?void 0:s,href:r,target:"a"===t?o:void 0,"aria-disabled":n||void 0,rel:"a"===t?a:void 0,onClick:d,onKeyDown:function(e){" "===e.key&&(e.preventDefault(),d(e))}},f]}var _a=p.forwardRef((function(e,t){var n=e.as,r=e.disabled,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,Ca),a=i(Oa(Object.assign({tagName:n,disabled:r},o)),2),l=a[0],u=a[1].tagName;return(0,N.jsx)(u,Object.assign({},o,l,{ref:t}))}));_a.displayName="Button";var Na=["as","bsPrefix","variant","size","active","disabled","className"],Pa=p.forwardRef((function(e,t){var n=e.as,r=e.bsPrefix,o=e.variant,a=void 0===o?"primary":o,l=e.size,u=e.active,s=void 0!==u&&u,c=e.disabled,d=void 0!==c&&c,p=e.className,h=m(e,Na),v=j(r,"btn"),y=i(Oa(f({tagName:n,disabled:d},h)),2),b=y[0],w=y[1].tagName;return(0,N.jsx)(w,f(f(f({},b),h),{},{ref:t,disabled:d,className:g()(p,v,s&&"active",a&&"".concat(v,"-").concat(a),l&&"".concat(v,"-").concat(l),h.href&&d&&"disabled")}))}));Pa.displayName="Button";var Ta=Pa,ja=["bsPrefix","name","className","checked","type","onChange","value","disabled","id","inputRef"],Ra=function(){},La=p.forwardRef((function(e,t){var n=e.bsPrefix,r=e.name,o=e.className,a=e.checked,i=e.type,l=e.onChange,u=e.value,s=e.disabled,c=e.id,d=e.inputRef,p=m(e,ja);return n=j(n,"btn-check"),(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)("input",{className:n,name:r,type:i,value:u,ref:d,autoComplete:"off",checked:!!a,disabled:!!s,onChange:l||Ra,id:c}),(0,N.jsx)(Ta,f(f({},p),{},{ref:t,className:g()(o,s&&"disabled"),type:void 0,role:void 0,as:"label",htmlFor:c}))]})}));La.displayName="ToggleButton";var Aa=La;p.Component;function za(e,t){var n=e;return"left"===e?n=t?"end":"start":"right"===e&&(n=t?"start":"end"),n}function Ia(){return{position:arguments.length>0&&void 0!==arguments[0]?arguments[0]:"absolute",top:"0",left:"0",opacity:"0",pointerEvents:"none"}}var Ma=["bsPrefix","placement","className","style","children","arrowProps","hasDoneInitialMeasure","popper","show"],Fa=p.forwardRef((function(e,t){var n=e.bsPrefix,r=e.placement,o=void 0===r?"right":r,a=e.className,l=e.style,u=e.children,s=e.arrowProps,c=e.hasDoneInitialMeasure,d=e.popper,p=e.show,h=m(e,Ma);n=j(n,"tooltip");var v=A(),y=i((null==o?void 0:o.split("-"))||[],1)[0],b=za(y,v),w=l;return p&&!c&&(w=f(f({},l),Ia(null==d?void 0:d.strategy))),(0,N.jsxs)("div",f(f({ref:t,style:w,role:"tooltip","x-placement":y,className:g()(a,n,"bs-tooltip-".concat(b))},h),{},{children:[(0,N.jsx)("div",f({className:"tooltip-arrow"},s)),(0,N.jsx)("div",{className:"".concat(n,"-inner"),children:u})]}))}));Fa.displayName="Tooltip";var Da=Object.assign(Fa,{TOOLTIP_OFFSET:[0,6]}),Ba=Math.pow(2,31)-1;function Ua(e,t,n){var r=n-Date.now();e.current=r<=Ba?setTimeout(t,r):setTimeout((function(){return Ua(e,t,n)}),Ba)}function Va(){var e=Ge(),t=(0,p.useRef)();return Xe((function(){return clearTimeout(t.current)})),(0,p.useMemo)((function(){var n=function(){return clearTimeout(t.current)};return{set:function(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;e()&&(n(),o<=Ba?t.current=setTimeout(r,o):Ua(t,r,Date.now()+o))},clear:n}}),[])}function Ha(){return(0,p.useState)(null)}var Wa=Object.prototype.hasOwnProperty;function $a(e,t,n){var r,o=go(e.keys());try{for(o.s();!(r=o.n()).done;)if(qa(n=r.value,t))return n}catch(tp){o.e(tp)}finally{o.f()}}function qa(e,t){var n,r,o;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&qa(e[r],t[r]););return-1===r}if(n===Set){if(e.size!==t.size)return!1;var a,i=go(e);try{for(i.s();!(a=i.n()).done;){if((o=r=a.value)&&"object"===typeof o&&!(o=$a(t,o)))return!1;if(!t.has(o))return!1}}catch(tp){i.e(tp)}finally{i.f()}return!0}if(n===Map){if(e.size!==t.size)return!1;var l,u=go(e);try{for(u.s();!(l=u.n()).done;){if((o=(r=l.value)[0])&&"object"===typeof o&&!(o=$a(t,o)))return!1;if(!qa(r[1],t.get(o)))return!1}}catch(tp){u.e(tp)}finally{u.f()}return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((r=e.byteLength)===t.byteLength)for(;r--&&e.getInt8(r)===t.getInt8(r););return-1===r}if(ArrayBuffer.isView(e)){if((r=e.byteLength)===t.byteLength)for(;r--&&e[r]===t[r];);return-1===r}if(!n||"object"===typeof e){for(n in r=0,e){if(Wa.call(e,n)&&++r&&!Wa.call(t,n))return!1;if(!(n in t)||!qa(e[n],t[n]))return!1}return Object.keys(t).length===r}}return e!==e&&t!==t}var Ka=function(e){var t=Ge();return[e[0],(0,p.useCallback)((function(n){if(t())return e[1](n)}),[t,e[1]])]};function Qa(e){return e.split("-")[0]}function Ya(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ga(e){return e instanceof Ya(e).Element||e instanceof Element}function Xa(e){return e instanceof Ya(e).HTMLElement||e instanceof HTMLElement}function Ja(e){return"undefined"!==typeof ShadowRoot&&(e instanceof Ya(e).ShadowRoot||e instanceof ShadowRoot)}var Za=Math.max,ei=Math.min,ti=Math.round;function ni(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function ri(){return!/^((?!chrome|android).)*safari/i.test(ni())}function oi(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&Xa(e)&&(o=e.offsetWidth>0&&ti(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&ti(r.height)/e.offsetHeight||1);var i=(Ga(e)?Ya(e):window).visualViewport,l=!ri()&&n,u=(r.left+(l&&i?i.offsetLeft:0))/o,s=(r.top+(l&&i?i.offsetTop:0))/a,c=r.width/o,f=r.height/a;return{width:c,height:f,top:s,right:u+c,bottom:s+f,left:u,x:u,y:s}}function ai(e){var t=oi(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function ii(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Ja(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function li(e){return e?(e.nodeName||"").toLowerCase():null}function ui(e){return Ya(e).getComputedStyle(e)}function si(e){return["table","td","th"].indexOf(li(e))>=0}function ci(e){return((Ga(e)?e.ownerDocument:e.document)||window.document).documentElement}function fi(e){return"html"===li(e)?e:e.assignedSlot||e.parentNode||(Ja(e)?e.host:null)||ci(e)}function di(e){return Xa(e)&&"fixed"!==ui(e).position?e.offsetParent:null}function pi(e){for(var t=Ya(e),n=di(e);n&&si(n)&&"static"===ui(n).position;)n=di(n);return n&&("html"===li(n)||"body"===li(n)&&"static"===ui(n).position)?t:n||function(e){var t=/firefox/i.test(ni());if(/Trident/i.test(ni())&&Xa(e)&&"fixed"===ui(e).position)return null;var n=fi(e);for(Ja(n)&&(n=n.host);Xa(n)&&["html","body"].indexOf(li(n))<0;){var r=ui(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function hi(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function vi(e,t,n){return Za(e,ei(t,n))}function mi(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function yi(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var gi="top",bi="bottom",wi="right",xi="left",ki="auto",Si=[gi,bi,wi,xi],Ei="start",Ci="end",Oi="clippingParents",_i="viewport",Ni="popper",Pi="reference",Ti=Si.reduce((function(e,t){return e.concat([t+"-"+Ei,t+"-"+Ci])}),[]),ji=[].concat(Si,[ki]).reduce((function(e,t){return e.concat([t,t+"-"+Ei,t+"-"+Ci])}),[]),Ri=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];var Li={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,l=Qa(n.placement),u=hi(l),s=[xi,wi].indexOf(l)>=0?"height":"width";if(a&&i){var c=function(e,t){return mi("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:yi(e,Si))}(o.padding,n),f=ai(a),d="y"===u?gi:xi,p="y"===u?bi:wi,h=n.rects.reference[s]+n.rects.reference[u]-i[u]-n.rects.popper[s],v=i[u]-n.rects.reference[u],m=pi(a),y=m?"y"===u?m.clientHeight||0:m.clientWidth||0:0,g=h/2-v/2,b=c[d],w=y-f[s]-c[p],x=y/2-f[s]/2+g,k=vi(b,x,w),S=u;n.modifiersData[r]=((t={})[S]=k,t.centerOffset=k-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&ii(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ai(e){return e.split("-")[1]}var zi={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ii(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,l=e.position,u=e.gpuAcceleration,s=e.adaptive,c=e.roundOffsets,f=e.isFixed,d=i.x,p=void 0===d?0:d,h=i.y,v=void 0===h?0:h,m="function"===typeof c?c({x:p,y:v}):{x:p,y:v};p=m.x,v=m.y;var y=i.hasOwnProperty("x"),g=i.hasOwnProperty("y"),b=xi,w=gi,x=window;if(s){var k=pi(n),S="clientHeight",E="clientWidth";if(k===Ya(n)&&"static"!==ui(k=ci(n)).position&&"absolute"===l&&(S="scrollHeight",E="scrollWidth"),o===gi||(o===xi||o===wi)&&a===Ci)w=bi,v-=(f&&k===x&&x.visualViewport?x.visualViewport.height:k[S])-r.height,v*=u?1:-1;if(o===xi||(o===gi||o===bi)&&a===Ci)b=wi,p-=(f&&k===x&&x.visualViewport?x.visualViewport.width:k[E])-r.width,p*=u?1:-1}var C,O=Object.assign({position:l},s&&zi),_=!0===c?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:ti(n*o)/o||0,y:ti(r*o)/o||0}}({x:p,y:v},Ya(n)):{x:p,y:v};return p=_.x,v=_.y,u?Object.assign({},O,((C={})[w]=g?"0":"",C[b]=y?"0":"",C.transform=(x.devicePixelRatio||1)<=1?"translate("+p+"px, "+v+"px)":"translate3d("+p+"px, "+v+"px, 0)",C)):Object.assign({},O,((t={})[w]=g?v+"px":"",t[b]=y?p+"px":"",t.transform="",t))}var Mi={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,l=n.roundOffsets,u=void 0===l||l,s={placement:Qa(t.placement),variation:Ai(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Ii(Object.assign({},s,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ii(Object.assign({},s,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Fi={passive:!0};var Di={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,i=r.resize,l=void 0===i||i,u=Ya(t.elements.popper),s=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&s.forEach((function(e){e.addEventListener("scroll",n.update,Fi)})),l&&u.addEventListener("resize",n.update,Fi),function(){a&&s.forEach((function(e){e.removeEventListener("scroll",n.update,Fi)})),l&&u.removeEventListener("resize",n.update,Fi)}},data:{}},Bi={left:"right",right:"left",bottom:"top",top:"bottom"};function Ui(e){return e.replace(/left|right|bottom|top/g,(function(e){return Bi[e]}))}var Vi={start:"end",end:"start"};function Hi(e){return e.replace(/start|end/g,(function(e){return Vi[e]}))}function Wi(e){var t=Ya(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function $i(e){return oi(ci(e)).left+Wi(e).scrollLeft}function qi(e){var t=ui(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Ki(e){return["html","body","#document"].indexOf(li(e))>=0?e.ownerDocument.body:Xa(e)&&qi(e)?e:Ki(fi(e))}function Qi(e,t){var n;void 0===t&&(t=[]);var r=Ki(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=Ya(r),i=o?[a].concat(a.visualViewport||[],qi(r)?r:[]):r,l=t.concat(i);return o?l:l.concat(Qi(fi(i)))}function Yi(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Gi(e,t,n){return t===_i?Yi(function(e,t){var n=Ya(e),r=ci(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,u=0;if(o){a=o.width,i=o.height;var s=ri();(s||!s&&"fixed"===t)&&(l=o.offsetLeft,u=o.offsetTop)}return{width:a,height:i,x:l+$i(e),y:u}}(e,n)):Ga(t)?function(e,t){var n=oi(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Yi(function(e){var t,n=ci(e),r=Wi(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=Za(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Za(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+$i(e),u=-r.scrollTop;return"rtl"===ui(o||n).direction&&(l+=Za(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:l,y:u}}(ci(e)))}function Xi(e,t,n,r){var o="clippingParents"===t?function(e){var t=Qi(fi(e)),n=["absolute","fixed"].indexOf(ui(e).position)>=0&&Xa(e)?pi(e):e;return Ga(n)?t.filter((function(e){return Ga(e)&&ii(e,n)&&"body"!==li(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],l=a.reduce((function(t,n){var o=Gi(e,n,r);return t.top=Za(o.top,t.top),t.right=ei(o.right,t.right),t.bottom=ei(o.bottom,t.bottom),t.left=Za(o.left,t.left),t}),Gi(e,i,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Ji(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?Qa(o):null,i=o?Ai(o):null,l=n.x+n.width/2-r.width/2,u=n.y+n.height/2-r.height/2;switch(a){case gi:t={x:l,y:n.y-r.height};break;case bi:t={x:l,y:n.y+n.height};break;case wi:t={x:n.x+n.width,y:u};break;case xi:t={x:n.x-r.width,y:u};break;default:t={x:n.x,y:n.y}}var s=a?hi(a):null;if(null!=s){var c="y"===s?"height":"width";switch(i){case Ei:t[s]=t[s]-(n[c]/2-r[c]/2);break;case Ci:t[s]=t[s]+(n[c]/2-r[c]/2)}}return t}function Zi(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.strategy,i=void 0===a?e.strategy:a,l=n.boundary,u=void 0===l?Oi:l,s=n.rootBoundary,c=void 0===s?_i:s,f=n.elementContext,d=void 0===f?Ni:f,p=n.altBoundary,h=void 0!==p&&p,v=n.padding,m=void 0===v?0:v,y=mi("number"!==typeof m?m:yi(m,Si)),g=d===Ni?Pi:Ni,b=e.rects.popper,w=e.elements[h?g:d],x=Xi(Ga(w)?w:w.contextElement||ci(e.elements.popper),u,c,i),k=oi(e.elements.reference),S=Ji({reference:k,element:b,strategy:"absolute",placement:o}),E=Yi(Object.assign({},b,S)),C=d===Ni?E:k,O={top:x.top-C.top+y.top,bottom:C.bottom-x.bottom+y.bottom,left:x.left-C.left+y.left,right:C.right-x.right+y.right},_=e.modifiersData.offset;if(d===Ni&&_){var N=_[o];Object.keys(O).forEach((function(e){var t=[wi,bi].indexOf(e)>=0?1:-1,n=[gi,bi].indexOf(e)>=0?"y":"x";O[e]+=N[n]*t}))}return O}var el={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0===i||i,u=n.fallbackPlacements,s=n.padding,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=void 0===p||p,v=n.allowedAutoPlacements,m=t.options.placement,y=Qa(m),g=u||(y===m||!h?[Ui(m)]:function(e){if(Qa(e)===ki)return[];var t=Ui(e);return[Hi(e),t,Hi(t)]}(m)),b=[m].concat(g).reduce((function(e,n){return e.concat(Qa(n)===ki?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,l=n.flipVariations,u=n.allowedAutoPlacements,s=void 0===u?ji:u,c=Ai(r),f=c?l?Ti:Ti.filter((function(e){return Ai(e)===c})):Si,d=f.filter((function(e){return s.indexOf(e)>=0}));0===d.length&&(d=f);var p=d.reduce((function(t,n){return t[n]=Zi(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[Qa(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:c,rootBoundary:f,padding:s,flipVariations:h,allowedAutoPlacements:v}):n)}),[]),w=t.rects.reference,x=t.rects.popper,k=new Map,S=!0,E=b[0],C=0;C<b.length;C++){var O=b[C],_=Qa(O),N=Ai(O)===Ei,P=[gi,bi].indexOf(_)>=0,T=P?"width":"height",j=Zi(t,{placement:O,boundary:c,rootBoundary:f,altBoundary:d,padding:s}),R=P?N?wi:xi:N?bi:gi;w[T]>x[T]&&(R=Ui(R));var L=Ui(R),A=[];if(a&&A.push(j[_]<=0),l&&A.push(j[R]<=0,j[L]<=0),A.every((function(e){return e}))){E=O,S=!1;break}k.set(O,A)}if(S)for(var z=function(e){var t=b.find((function(t){var n=k.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},I=h?3:1;I>0;I--){if("break"===z(I))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function tl(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function nl(e){return[gi,wi,bi,xi].some((function(t){return e[t]>=0}))}var rl={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=ji.reduce((function(e,n){return e[n]=function(e,t,n){var r=Qa(e),o=[xi,gi].indexOf(r)>=0?-1:1,a="function"===typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],l=a[1];return i=i||0,l=(l||0)*o,[xi,wi].indexOf(r)>=0?{x:l,y:i}:{x:i,y:l}}(n,t.rects,a),e}),{}),l=i[t.placement],u=l.x,s=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=s),t.modifiersData[r]=i}};var ol={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0!==i&&i,u=n.boundary,s=n.rootBoundary,c=n.altBoundary,f=n.padding,d=n.tether,p=void 0===d||d,h=n.tetherOffset,v=void 0===h?0:h,m=Zi(t,{boundary:u,rootBoundary:s,padding:f,altBoundary:c}),y=Qa(t.placement),g=Ai(t.placement),b=!g,w=hi(y),x="x"===w?"y":"x",k=t.modifiersData.popperOffsets,S=t.rects.reference,E=t.rects.popper,C="function"===typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,O="number"===typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),_=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,N={x:0,y:0};if(k){if(a){var P,T="y"===w?gi:xi,j="y"===w?bi:wi,R="y"===w?"height":"width",L=k[w],A=L+m[T],z=L-m[j],I=p?-E[R]/2:0,M=g===Ei?S[R]:E[R],F=g===Ei?-E[R]:-S[R],D=t.elements.arrow,B=p&&D?ai(D):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=U[T],H=U[j],W=vi(0,S[R],B[R]),$=b?S[R]/2-I-W-V-O.mainAxis:M-W-V-O.mainAxis,q=b?-S[R]/2+I+W+H+O.mainAxis:F+W+H+O.mainAxis,K=t.elements.arrow&&pi(t.elements.arrow),Q=K?"y"===w?K.clientTop||0:K.clientLeft||0:0,Y=null!=(P=null==_?void 0:_[w])?P:0,G=L+q-Y,X=vi(p?ei(A,L+$-Y-Q):A,L,p?Za(z,G):z);k[w]=X,N[w]=X-L}if(l){var J,Z="x"===w?gi:xi,ee="x"===w?bi:wi,te=k[x],ne="y"===x?"height":"width",re=te+m[Z],oe=te-m[ee],ae=-1!==[gi,xi].indexOf(y),ie=null!=(J=null==_?void 0:_[x])?J:0,le=ae?re:te-S[ne]-E[ne]-ie+O.altAxis,ue=ae?te+S[ne]+E[ne]-ie-O.altAxis:oe,se=p&&ae?function(e,t,n){var r=vi(e,t,n);return r>n?n:r}(le,te,ue):vi(p?le:re,te,p?ue:oe);k[x]=se,N[x]=se-te}t.modifiersData[r]=N}},requiresIfExists:["offset"]};function al(e,t,n){void 0===n&&(n=!1);var r=Xa(t),o=Xa(t)&&function(e){var t=e.getBoundingClientRect(),n=ti(t.width)/e.offsetWidth||1,r=ti(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=ci(t),i=oi(e,o,n),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&(("body"!==li(t)||qi(a))&&(l=function(e){return e!==Ya(e)&&Xa(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:Wi(e);var t}(t)),Xa(t)?((u=oi(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=$i(a))),{x:i.left+l.scrollLeft-u.x,y:i.top+l.scrollTop-u.y,width:i.width,height:i.height}}function il(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function ll(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var ul={placement:"bottom",modifiers:[],strategy:"absolute"};function sl(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"===typeof e.getBoundingClientRect)}))}function cl(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?ul:o;return function(e,t,n){void 0===n&&(n=a);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},ul,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},i=[],l=!1,u={state:o,setOptions:function(n){var l="function"===typeof n?n(o.options):n;s(),o.options=Object.assign({},a,o.options,l),o.scrollParents={reference:Ga(e)?Qi(e):e.contextElement?Qi(e.contextElement):[],popper:Qi(t)};var c=function(e){var t=il(e);return Ri.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,o.options.modifiers)));return o.orderedModifiers=c.filter((function(e){return e.enabled})),o.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,a=e.effect;if("function"===typeof a){var l=a({state:o,name:t,instance:u,options:r}),s=function(){};i.push(l||s)}})),u.update()},forceUpdate:function(){if(!l){var e=o.elements,t=e.reference,n=e.popper;if(sl(t,n)){o.rects={reference:al(t,pi(n),"fixed"===o.options.strategy),popper:ai(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<o.orderedModifiers.length;r++)if(!0!==o.reset){var a=o.orderedModifiers[r],i=a.fn,s=a.options,c=void 0===s?{}:s,f=a.name;"function"===typeof i&&(o=i({state:o,options:c,name:f,instance:u})||o)}else o.reset=!1,r=-1}}},update:ll((function(){return new Promise((function(e){u.forceUpdate(),e(o)}))})),destroy:function(){s(),l=!0}};if(!sl(e,t))return u;function s(){i.forEach((function(e){return e()})),i=[]}return u.setOptions(n).then((function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var fl=cl({defaultModifiers:[{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=Zi(t,{elementContext:"reference"}),l=Zi(t,{altBoundary:!0}),u=tl(i,r),s=tl(l,o,a),c=nl(u),f=nl(s);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:s,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Ji({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},Mi,Di,rl,el,ol,Li]}),dl=["enabled","placement","strategy","modifiers"];var pl={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:function(){}},hl={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:function(e){var t=e.state;return function(){var e=t.elements,n=e.reference,r=e.popper;if("removeAttribute"in n){var o=(n.getAttribute("aria-describedby")||"").split(",").filter((function(e){return e.trim()!==r.id}));o.length?n.setAttribute("aria-describedby",o.join(",")):n.removeAttribute("aria-describedby")}}},fn:function(e){var t,n=e.state.elements,r=n.popper,o=n.reference,a=null==(t=r.getAttribute("role"))?void 0:t.toLowerCase();if(r.id&&"tooltip"===a&&"setAttribute"in o){var i=o.getAttribute("aria-describedby");if(i&&-1!==i.split(",").indexOf(r.id))return;o.setAttribute("aria-describedby",i?"".concat(i,",").concat(r.id):r.id)}}},vl=[];var ml=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.enabled,o=void 0===r||r,a=n.placement,l=void 0===a?"bottom":a,u=n.strategy,s=void 0===u?"absolute":u,c=n.modifiers,f=void 0===c?vl:c,d=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(n,dl),h=(0,p.useRef)(f),v=(0,p.useRef)(),m=(0,p.useCallback)((function(){var e;null==(e=v.current)||e.update()}),[]),y=(0,p.useCallback)((function(){var e;null==(e=v.current)||e.forceUpdate()}),[]),g=i(Ka((0,p.useState)({placement:l,update:m,forceUpdate:y,attributes:{},styles:{popper:{},arrow:{}}})),2),b=g[0],w=g[1],x=(0,p.useMemo)((function(){return{name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:function(e){var t=e.state,n={},r={};Object.keys(t.elements).forEach((function(e){n[e]=t.styles[e],r[e]=t.attributes[e]})),w({state:t,styles:n,attributes:r,update:m,forceUpdate:y,placement:t.placement})}}}),[m,y,w]),k=(0,p.useMemo)((function(){return qa(h.current,f)||(h.current=f),h.current}),[f]);return(0,p.useEffect)((function(){v.current&&o&&v.current.setOptions({placement:l,strategy:s,modifiers:[].concat(Je(k),[x,pl])})}),[s,l,x,o,k]),(0,p.useEffect)((function(){if(o&&null!=e&&null!=t)return v.current=fl(e,t,Object.assign({},d,{placement:l,strategy:s,modifiers:[].concat(Je(k),[hl,x])})),function(){null!=v.current&&(v.current.destroy(),v.current=void 0,w((function(e){return Object.assign({},e,{attributes:{},styles:{popper:{}}})})))}}),[o,e,t]),b},yl=function(){};var gl=function(e){return e&&("current"in e?e.current:e)},bl={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};var wl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:yl,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.disabled,o=n.clickTrigger,a=void 0===o?"click":o,i=(0,p.useRef)(!1),l=(0,p.useRef)(!1),u=(0,p.useCallback)((function(t){var n,r=gl(e);Mn()(!!r,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),i.current=!r||!!((n=t).metaKey||n.altKey||n.ctrlKey||n.shiftKey)||!function(e){return 0===e.button}(t)||!!Ye(r,t.target)||l.current,l.current=!1}),[e]),s=Me((function(t){var n=gl(e);n&&Ye(n,t.target)&&(l.current=!0)})),c=Me((function(e){i.current||t(e)}));(0,p.useEffect)((function(){var t,n;if(!r&&null!=e){var o=U(gl(e)),i=o.defaultView||window,l=null!=(t=i.event)?t:null==(n=i.parent)?void 0:n.event,f=null;bl[a]&&(f=de(o,bl[a],s,!0));var d=de(o,a,u,!0),p=de(o,a,(function(e){e!==l?c(e):l=void 0})),h=[];return"ontouchstart"in o.documentElement&&(h=[].slice.call(o.body.children).map((function(e){return de(e,"mousemove",yl)}))),function(){null==f||f(),d(),p(),h.forEach((function(e){return e()}))}}}),[e,r,a,u,s,c])},xl=function(){};var kl=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.disabled,o=n.clickTrigger,a=t||xl;wl(e,a,{disabled:r,clickTrigger:o});var i=Me((function(e){pt(e)&&a(e)}));(0,p.useEffect)((function(){if(!r&&null!=e){var t=U(gl(e)),n=(t.defaultView||window).event,o=de(t,"keyup",(function(e){e!==n?i(e):n=void 0}));return function(){o()}}}),[e,r,i])};function Sl(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Array.isArray(e)?e:Object.keys(e).map((function(t){return e[t].name=t,e[t]}))}function El(e){var t,n,r,o,a,i=e.enabled,l=e.enableEvents,u=e.placement,s=e.flip,c=e.offset,f=e.fixed,d=e.containerPadding,p=e.arrowElement,h=e.popperConfig,v=void 0===h?{}:h,m=function(e){var t={};return Array.isArray(e)?(null==e||e.forEach((function(e){t[e.name]=e})),t):e||t}(v.modifiers);return Object.assign({},v,{placement:u,enabled:i,strategy:f?"fixed":v.strategy,modifiers:Sl(Object.assign({},m,{eventListeners:{enabled:l,options:null==(t=m.eventListeners)?void 0:t.options},preventOverflow:Object.assign({},m.preventOverflow,{options:d?Object.assign({padding:d},null==(n=m.preventOverflow)?void 0:n.options):null==(r=m.preventOverflow)?void 0:r.options}),offset:{options:Object.assign({offset:c},null==(o=m.offset)?void 0:o.options)},arrow:Object.assign({},m.arrow,{enabled:!!p,options:Object.assign({},null==(a=m.arrow)?void 0:a.options,{element:p})}),flip:Object.assign({enabled:!!s},m.flip)}))})}var Cl=p.forwardRef((function(e,t){var n=e.flip,r=e.offset,o=e.placement,a=e.containerPadding,l=e.popperConfig,u=void 0===l?{}:l,s=e.transition,c=e.runTransition,f=i(Ha(),2),d=f[0],h=f[1],v=i(Ha(),2),m=v[0],y=v[1],g=we(h,t),b=st(e.container),w=st(e.target),x=i((0,p.useState)(!e.show),2),k=x[0],S=x[1],E=ml(w,d,El({placement:o,enableEvents:!!e.show,containerPadding:a||5,flip:n,offset:r,arrowElement:m,popperConfig:u}));e.show&&k&&S(!1);var C=e.show||!k;if(kl(d,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!C)return null;var O=e.onExit,_=e.onExiting,N=e.onEnter,P=e.onEntering,T=e.onEntered,j=e.children(Object.assign({},E.attributes.popper,{style:E.styles.popper,ref:g}),{popper:E,placement:o,show:!!e.show,arrowProps:Object.assign({},E.attributes.arrow,{style:E.styles.arrow,ref:y})});return j=dt(s,c,{in:!!e.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:j,onExit:O,onExiting:_,onExited:function(){S(!0),e.onExited&&e.onExited.apply(e,arguments)},onEnter:N,onEntering:P,onEntered:T}),b?Y.createPortal(j,b):null}));Cl.displayName="Overlay";var Ol=Cl,_l=M("popover-header"),Nl=M("popover-body"),Pl=["bsPrefix","placement","className","style","children","body","arrowProps","hasDoneInitialMeasure","popper","show"],Tl=p.forwardRef((function(e,t){var n=e.bsPrefix,r=e.placement,o=void 0===r?"right":r,a=e.className,l=e.style,u=e.children,s=e.body,c=e.arrowProps,d=e.hasDoneInitialMeasure,p=e.popper,h=e.show,v=m(e,Pl),y=j(n,"popover"),b=A(),w=i((null==o?void 0:o.split("-"))||[],1)[0],x=za(w,b),k=l;return h&&!d&&(k=f(f({},l),Ia(null==p?void 0:p.strategy))),(0,N.jsxs)("div",f(f({ref:t,role:"tooltip",style:k,"x-placement":w,className:g()(a,y,w&&"bs-popover-".concat(x))},v),{},{children:[(0,N.jsx)("div",f({className:"popover-arrow"},c)),s?(0,N.jsx)(Nl,{children:u}):u]}))})),jl=Object.assign(Tl,{Header:_l,Body:Nl,POPPER_OFFSET:[0,8]});var Rl=["children","transition","popperConfig","rootClose","placement","show"];var Ll=p.forwardRef((function(e,t){var n=e.children,r=e.transition,o=void 0===r?Et:r,a=e.popperConfig,l=void 0===a?{}:a,u=e.rootClose,s=void 0!==u&&u,c=e.placement,d=void 0===c?"top":c,h=e.show,v=void 0!==h&&h,y=m(e,Rl),b=(0,p.useRef)({}),w=i((0,p.useState)(null),2),x=w[0],k=w[1],S=function(e){var t=(0,p.useRef)(null),n=j(void 0,"popover"),r=j(void 0,"tooltip"),o=(0,p.useMemo)((function(){return{name:"offset",options:{offset:function(){if(e)return e;if(t.current){if(Xt(t.current,n))return jl.POPPER_OFFSET;if(Xt(t.current,r))return Da.TOOLTIP_OFFSET}return[0,0]}}}}),[e,n,r]);return[t,[o]]}(y.offset),E=i(S,2),C=E[0],O=E[1],_=we(t,C),P=!0===o?Et:o||void 0,T=Me((function(e){k(e),null==l||null==l.onFirstUpdate||l.onFirstUpdate(e)}));return Ve((function(){x&&(null==b.current.scheduleUpdate||b.current.scheduleUpdate())}),[x]),(0,p.useEffect)((function(){v||k(null)}),[v]),(0,N.jsx)(Ol,f(f({},y),{},{ref:_,popperConfig:f(f({},l),{},{modifiers:O.concat(l.modifiers||[]),onFirstUpdate:T}),transition:P,rootClose:s,placement:d,show:v,children:function(e,t){var r,a,i=t.arrowProps,u=t.popper,s=t.show;!function(e,t){var n=e.ref,r=t.ref;e.ref=n.__wrapped||(n.__wrapped=function(e){return n(xe(e))}),t.ref=r.__wrapped||(r.__wrapped=function(e){return r(xe(e))})}(e,i);var c=null==u?void 0:u.placement,d=Object.assign(b.current,{state:null==u?void 0:u.state,scheduleUpdate:null==u?void 0:u.update,placement:c,outOfBoundaries:(null==u||null==(r=u.state)||null==(a=r.modifiersData.hide)?void 0:a.isReferenceHidden)||!1,strategy:l.strategy}),h=!!x;return"function"===typeof n?n(f(f(f({},e),{},{placement:c,show:s},!o&&s&&{className:"show"}),{},{popper:d,arrowProps:i,hasDoneInitialMeasure:h})):p.cloneElement(n,f(f({},e),{},{placement:c,arrowProps:i,popper:d,hasDoneInitialMeasure:h,className:g()(n.props.className,!o&&s&&"show"),style:f(f({},n.props.style),e.style)}))}}))}));Ll.displayName="Overlay";var Al=Ll,zl=["trigger","overlay","children","popperConfig","show","defaultShow","onToggle","delay","placement","flip"];function Il(e,t,n){var r=i(t,1)[0],o=r.currentTarget,a=r.relatedTarget||r.nativeEvent[n];a&&a===o||Ye(o,a)||e.apply(void 0,Je(t))}var Ml=function(e){var t=e.trigger,n=void 0===t?["hover","focus"]:t,r=e.overlay,o=e.children,a=e.popperConfig,l=void 0===a?{}:a,u=e.show,s=e.defaultShow,c=void 0!==s&&s,d=e.onToggle,h=e.delay,v=e.placement,y=e.flip,g=void 0===y?v&&-1!==v.indexOf("auto"):y,b=m(e,zl),w=(0,p.useRef)(null),x=we(w,o.ref),k=Va(),E=(0,p.useRef)(""),C=i(S(u,c,d),2),O=C[0],_=C[1],P=function(e){return e&&"object"===typeof e?e:{show:e,hide:e}}(h),T="function"!==typeof o?p.Children.only(o).props:{},j=T.onFocus,R=T.onBlur,L=T.onClick,A=(0,p.useCallback)((function(){k.clear(),E.current="show",P.show?k.set((function(){"show"===E.current&&_(!0)}),P.show):_(!0)}),[P.show,_,k]),z=(0,p.useCallback)((function(){k.clear(),E.current="hide",P.hide?k.set((function(){"hide"===E.current&&_(!1)}),P.hide):_(!1)}),[P.hide,_,k]),I=(0,p.useCallback)((function(){A(),null==j||j.apply(void 0,arguments)}),[A,j]),M=(0,p.useCallback)((function(){z(),null==R||R.apply(void 0,arguments)}),[z,R]),F=(0,p.useCallback)((function(){_(!O),null==L||L.apply(void 0,arguments)}),[L,_,O]),D=(0,p.useCallback)((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Il(A,t,"fromElement")}),[A]),B=(0,p.useCallback)((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Il(z,t,"toElement")}),[z]),U=null==n?[]:[].concat(n),V={ref:function(e){x(xe(e))}};return-1!==U.indexOf("click")&&(V.onClick=F),-1!==U.indexOf("focus")&&(V.onFocus=I,V.onBlur=M),-1!==U.indexOf("hover")&&(V.onMouseOver=D,V.onMouseOut=B),(0,N.jsxs)(N.Fragment,{children:["function"===typeof o?o(V):(0,p.cloneElement)(o,V),(0,N.jsx)(Al,f(f({},b),{},{show:O,onHide:z,flip:g,placement:v,popperConfig:l,target:w.current,children:r}))]})},Fl=["bsPrefix","bg","pill","text","className","as"],Dl=p.forwardRef((function(e,t){var n=e.bsPrefix,r=e.bg,o=void 0===r?"primary":r,a=e.pill,i=void 0!==a&&a,l=e.text,u=e.className,s=e.as,c=void 0===s?"span":s,d=m(e,Fl),p=j(n,"badge");return(0,N.jsx)(c,f(f({ref:t},d),{},{className:g()(u,p,i&&"rounded-pill",l&&"text-".concat(l),o&&"bg-".concat(o))}))}));Dl.displayName="Badge";var Bl=Dl,Ul=p.memo((function(e){var t=e.docString;if(!t)return null;var n=(0,N.jsx)(Da,{id:"tooltip",children:t});return(0,N.jsx)(Ml,{placement:"bottom",overlay:n,children:(0,N.jsx)(Bl,{pill:!0,className:"tooltip-trigger",bg:"light",text:"dark",children:"?"})})})),Vl=p.memo((function(e){var t=(0,p.useRef)(0);(0,p.useEffect)((function(){t.current++}));var n=e.name,r=e.parent_path,o=e.value,a=e.readOnly,i=e.docString,l=e.mapping,u=l?o?l[0]:l[1]:n;return(0,N.jsxs)("div",{className:"buttonComponent",id:r.concat("."+n),children:[!1,(0,N.jsx)(Ul,{docString:i}),(0,N.jsx)(Aa,{id:"toggle-check-".concat(r,".").concat(n),type:"checkbox",variant:o?"success":"secondary",checked:o,value:r,disabled:a,onChange:function(e){return t=e.currentTarget.checked,void Qo(n,r,t);var t},children:(0,N.jsx)("p",{children:u})})]})})),Hl=p.createContext(null);Hl.displayName="InputGroupContext";var Wl=Hl,$l=["bsPrefix","size","hasValidation","className","as"],ql=M("input-group-text",{Component:"span"}),Kl=p.forwardRef((function(e,t){var n=e.bsPrefix,r=e.size,o=e.hasValidation,a=e.className,i=e.as,l=void 0===i?"div":i,u=m(e,$l);n=j(n,"input-group");var s=(0,p.useMemo)((function(){return{}}),[]);return(0,N.jsx)(Wl.Provider,{value:s,children:(0,N.jsx)(l,f(f({ref:t},u),{},{className:g()(a,n,r&&"".concat(n,"-").concat(r),o&&"has-validation")}))})}));Kl.displayName="InputGroup";var Ql=Object.assign(Kl,{Text:ql,Radio:function(e){return(0,N.jsx)(ql,{children:(0,N.jsx)(Pn,f({type:"radio"},e))})},Checkbox:function(e){return(0,N.jsx)(ql,{children:(0,N.jsx)(Pn,f({type:"checkbox"},e))})}}),Yl=p.memo((function(e){var t=e.name,n=e.parent_path,r=e.readOnly,o=e.docString,a=e.isInstantUpdate,l=(0,p.useRef)(0),u=i((0,p.useState)(null),2),s=u[0],c=u[1],f=i((0,p.useState)(e.value.toString()),2),d=f[0],h=f[1];(0,p.useEffect)((function(){l.current++;var e=document.getElementsByName(n.concat(t))[0];e&&null!==s&&e.setSelectionRange(s,s)})),(0,p.useEffect)((function(){var t="int"===e.type?parseInt(d):parseFloat(d);e.value!==t&&h(e.value.toString())}),[e.value]);var v=function(t,n,r){return"."!==t||!n.includes(".")&&"int"!==e.type?{value:n.slice(0,r)+t+n.slice(r),selectionStart:r+1}:(console.warn("Invalid input! Ignoring..."),{value:n,selectionStart:r})};return(0,N.jsxs)("div",{className:"numberComponent",id:n.concat(t),children:[!1,(0,N.jsx)(Ul,{docString:o}),(0,N.jsx)("div",{className:"row",children:(0,N.jsxs)("div",{className:"col-5 d-flex",children:[(0,N.jsxs)(Ql,{children:[(0,N.jsx)(Ql.Text,{children:t}),(0,N.jsx)(vr.Control,{type:"text",value:d,disabled:r,name:n.concat(t),onKeyDown:function(e){var r=e.key,o=e.target;if("F1"!==r&&"F5"!==r&&"F12"!==r&&"Tab"!==r&&"ArrowRight"!==r&&"ArrowLeft"!==r){e.preventDefault();var i=o.value,l=o.selectionStart,u=o.selectionEnd,s=i;if(e.ctrlKey&&"a"===r)o.setSelectionRange(0,o.value.length);else{if(isNaN(r)||" "===r)if("."===r){var f=v(r,i,l);s=f.value,l=f.selectionStart}else if("ArrowUp"===r||"ArrowDown"===r){var d=function(e,t,n,r){var o=t.split("."),a=o[0].length,i=o[1]?o[1].length:0,l=0;l=n>a?Math.pow(10,a+1-n):Math.pow(10,a-n);var u=(parseFloat(t)+("ArrowUp"===e?l:-l)).toFixed(i),s=u.split(".")[0].length;return s>a?n+=1:s<a&&(n-=1),{value:u,selectionStart:n}}(r,i,l);s=d.value,l=d.selectionStart}else if("Backspace"===r){var p=function(e,t,n){return n>t?{value:e.slice(0,t)+e.slice(n),selectionStart:t}:t>0?{value:e.slice(0,t-1)+e.slice(t),selectionStart:t-1}:{value:e,selectionStart:t}}(i,l,u);s=p.value,l=p.selectionStart}else{if("Delete"!==r)return"Enter"!==r||a?void console.debug(r):void Qo(t,n,Number(s));var m=function(e,t,n){return n>t?{value:e.slice(0,t)+e.slice(n),selectionStart:t}:t<e.length?{value:e.slice(0,t)+e.slice(t+1),selectionStart:t}:{value:e,selectionStart:t}}(i,l,u);s=m.value,l=m.selectionStart}else{var y=v(r,i,l);s=y.value,l=y.selectionStart}a&&Qo(t,n,Number(s)),h(s),c(l)}}},onBlur:function(){a||Qo(t,n,Number(d))},className:a&&!r?"instantUpdate":""})]}),!r&&(0,N.jsxs)("div",{className:"d-flex flex-column",children:[(0,N.jsx)(Ta,{className:"numberComponentButton",variant:"outline-secondary",children:"+"}),(0,N.jsx)(Ta,{className:"numberComponentButton",variant:"outline-secondary",children:"-"})]})]})})]})})),Gl=["bsPrefix","className","as"],Xl=p.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,o=e.as,a=void 0===o?"div":o,i=m(e,Gl),l=j(n,"row"),u=R(),s=L(),c="".concat(l,"-cols"),d=[];return u.forEach((function(e){var t,n=i[e];delete i[e],t=null!=n&&"object"===typeof n?n.cols:n;var r=e!==s?"-".concat(e):"";null!=t&&d.push("".concat(c).concat(r,"-").concat(t))})),(0,N.jsx)(a,f(f({ref:t},i),{},{className:g().apply(void 0,[r,l].concat(d))}))}));Xl.displayName="Row";var Jl=Xl;function Zl(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Zl(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}var eu=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Zl(e))&&(r&&(r+=" "),r+=t);return r};function tu(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return p.useMemo((function(){return t.every((function(e){return null==e}))?null:function(e){t.forEach((function(t){!function(e,t){"function"===typeof e?e(t):e&&(e.current=t)}(t,e)}))}}),t)}function nu(e){return"string"===typeof e}function ru(e){if(void 0===e)return{};var t={};return Object.keys(e).filter((function(t){return!(t.match(/^on[A-Z]/)&&"function"===typeof e[t])})).forEach((function(n){t[n]=e[n]})),t}function ou(e){var t=e.getSlotProps,n=e.additionalProps,r=e.externalSlotProps,o=e.externalForwardedProps,a=e.className;if(!t){var i=eu(null==o?void 0:o.className,null==r?void 0:r.className,a,null==n?void 0:n.className),l=w({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),u=w({},n,o,r);return i.length>0&&(u.className=i),Object.keys(l).length>0&&(u.style=l),{props:u,internalRef:void 0}}var s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(void 0===e)return{};var n={};return Object.keys(e).filter((function(n){return n.match(/^on[A-Z]/)&&"function"===typeof e[n]&&!t.includes(n)})).forEach((function(t){n[t]=e[t]})),n}(w({},o,r)),c=ru(r),f=ru(o),d=t(s),p=eu(null==d?void 0:d.className,null==n?void 0:n.className,a,null==o?void 0:o.className,null==r?void 0:r.className),h=w({},null==d?void 0:d.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),v=w({},d,n,f,c);return p.length>0&&(v.className=p),Object.keys(h).length>0&&(v.style=h),{props:v,internalRef:d.ref}}var au=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function iu(e){var t,n=e.elementType,r=e.externalSlotProps,o=e.ownerState,a=e.skipResolvingSlotProps,i=void 0!==a&&a,l=v(e,au),u=i?{}:function(e,t,n){return"function"===typeof e?e(t,n):e}(r,o),s=ou(w({},l,{externalSlotProps:u})),c=function(e,t,n){return void 0===e||nu(e)?t:w({},t,{ownerState:w({},t.ownerState,n)})}(n,w({},s.props,{ref:tu(s.internalRef,null==u?void 0:u.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o);return c}function lu(e){return e&&e.ownerDocument||document}var uu,su=!0,cu=!1,fu={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function du(e){e.metaKey||e.altKey||e.ctrlKey||(su=!0)}function pu(){su=!1}function hu(){"hidden"===this.visibilityState&&cu&&(su=!0)}function vu(e){var t=e.target;try{return t.matches(":focus-visible")}catch(n){}return su||function(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!fu[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function mu(){var e=p.useCallback((function(e){var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",du,!0),t.addEventListener("mousedown",pu,!0),t.addEventListener("pointerdown",pu,!0),t.addEventListener("touchstart",pu,!0),t.addEventListener("visibilitychange",hu,!0))}),[]),t=p.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!vu(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(cu=!0,window.clearTimeout(uu),uu=window.setTimeout((function(){cu=!1}),100),t.current=!1,!0)},ref:e}}var yu="undefined"!==typeof window?p.useLayoutEffect:p.useEffect;var gu=function(e){var t=p.useRef(e);return yu((function(){t.current=e})),p.useCallback((function(){return t.current.apply(void 0,arguments)}),[])},bu={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function wu(e,t){return e-t}function xu(e,t,n){return null==e?t:Math.min(Math.max(t,e),n)}function ku(e,t){var n,r=null!=(n=e.reduce((function(e,n,r){var o=Math.abs(t-n);return null===e||o<e.distance||o===e.distance?{distance:o,index:r}:e}),null))?n:{};return r.index}function Su(e,t){if(void 0!==t.current&&e.changedTouches){for(var n=e,r=0;r<n.changedTouches.length;r+=1){var o=n.changedTouches[r];if(o.identifier===t.current)return{x:o.clientX,y:o.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function Eu(e,t,n){return 100*(e-t)/(n-t)}function Cu(e,t,n){var r=Math.round((e-n)/t)*t+n;return Number(r.toFixed(function(e){if(Math.abs(e)<1){var t=e.toExponential().split("e-"),n=t[0].split(".")[1];return(n?n.length:0)+parseInt(t[1],10)}var r=e.toString().split(".")[1];return r?r.length:0}(t)))}function Ou(e){var t=e.values,n=e.newValue,r=e.index,o=t.slice();return o[r]=n,o.sort(wu)}function _u(e){var t,n,r,o=e.sliderRef,a=e.activeIndex,i=e.setActive,l=lu(o.current);null!=(t=o.current)&&t.contains(l.activeElement)&&Number(null==l||null==(n=l.activeElement)?void 0:n.getAttribute("data-index"))===a||(null==(r=o.current)||r.querySelector('[type="range"][data-index="'.concat(a,'"]')).focus());i&&i(a)}function Nu(e,t){return"number"===typeof e&&"number"===typeof t?e===t:"object"===typeof e&&"object"===typeof t&&function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e,t){return e===t};return e.length===t.length&&e.every((function(e,r){return n(e,t[r])}))}(e,t)}var Pu,Tu={horizontal:{offset:function(e){return{left:"".concat(e,"%")}},leap:function(e){return{width:"".concat(e,"%")}}},"horizontal-reverse":{offset:function(e){return{right:"".concat(e,"%")}},leap:function(e){return{width:"".concat(e,"%")}}},vertical:{offset:function(e){return{bottom:"".concat(e,"%")}},leap:function(e){return{height:"".concat(e,"%")}}}},ju=function(e){return e};function Ru(){return void 0===Pu&&(Pu="undefined"===typeof CSS||"function"!==typeof CSS.supports||CSS.supports("touch-action","none")),Pu}function Lu(e){var t=e["aria-labelledby"],n=e.defaultValue,r=e.disabled,o=void 0!==r&&r,a=e.disableSwap,l=void 0!==a&&a,u=e.isRtl,s=void 0!==u&&u,c=e.marks,f=void 0!==c&&c,d=e.max,h=void 0===d?100:d,v=e.min,m=void 0===v?0:v,y=e.name,g=e.onChange,b=e.onChangeCommitted,x=e.orientation,k=void 0===x?"horizontal":x,S=e.rootRef,E=e.scale,C=void 0===E?ju:E,O=e.step,_=void 0===O?1:O,N=e.tabIndex,P=e.value,T=p.useRef(),j=i(p.useState(-1),2),R=j[0],L=j[1],A=i(p.useState(-1),2),z=A[0],I=A[1],M=i(p.useState(!1),2),F=M[0],D=M[1],B=p.useRef(0),U=function(e){var t=e.controlled,n=e.default,r=(e.name,e.state,p.useRef(void 0!==t).current),o=i(p.useState(n),2),a=o[0],l=o[1];return[r?t:a,p.useCallback((function(e){r||l(e)}),[])]}({controlled:P,default:null!=n?n:m,name:"Slider"}),V=i(U,2),H=V[0],W=V[1],$=g&&function(e,t,n){var r=e.nativeEvent||e,o=new r.constructor(r.type,r);Object.defineProperty(o,"target",{writable:!0,value:{value:t,name:y}}),g(o,t,n)},q=Array.isArray(H),K=q?H.slice().sort(wu):[H];K=K.map((function(e){return xu(e,m,h)}));var Q=!0===f&&null!==_?Je(Array(Math.floor((h-m)/_)+1)).map((function(e,t){return{value:m+_*t}})):f||[],Y=Q.map((function(e){return e.value})),G=mu(),X=G.isFocusVisibleRef,J=G.onBlur,Z=G.onFocus,ee=G.ref,te=i(p.useState(-1),2),ne=te[0],re=te[1],oe=p.useRef(),ae=tu(ee,oe),ie=tu(S,ae),le=function(e){return function(t){var n,r=Number(t.currentTarget.getAttribute("data-index"));Z(t),!0===X.current&&re(r),I(r),null==e||null==(n=e.onFocus)||n.call(e,t)}},ue=function(e){return function(t){var n;J(t),!1===X.current&&re(-1),I(-1),null==e||null==(n=e.onBlur)||n.call(e,t)}};yu((function(){var e;o&&oe.current.contains(document.activeElement)&&(null==(e=document.activeElement)||e.blur())}),[o]),o&&-1!==R&&L(-1),o&&-1!==ne&&re(-1);var se=function(e){return function(t){var n;null==(n=e.onChange)||n.call(e,t);var r=Number(t.currentTarget.getAttribute("data-index")),o=K[r],a=Y.indexOf(o),i=t.target.valueAsNumber;if(Q&&null==_){var u=Y[Y.length-1];i=i>u?u:i<Y[0]?Y[0]:i<o?Y[a-1]:Y[a+1]}if(i=xu(i,m,h),q){l&&(i=xu(i,K[r-1]||-1/0,K[r+1]||1/0));var s=i;i=Ou({values:K,newValue:i,index:r});var c=r;l||(c=i.indexOf(s)),_u({sliderRef:oe,activeIndex:c})}W(i),re(r),$&&!Nu(i,H)&&$(t,i,r),b&&b(t,i)}},ce=p.useRef(),fe=k;s&&"horizontal"===k&&(fe+="-reverse");var de=function(e){var t,n,r=e.finger,o=e.move,a=void 0!==o&&o,i=oe.current.getBoundingClientRect(),u=i.width,s=i.height,c=i.bottom,f=i.left;if(t=0===fe.indexOf("vertical")?(c-r.y)/s:(r.x-f)/u,-1!==fe.indexOf("-reverse")&&(t=1-t),n=function(e,t,n){return(n-t)*e+t}(t,m,h),_)n=Cu(n,_,m);else{var d=ku(Y,n);n=Y[d]}n=xu(n,m,h);var p=0;if(q){p=a?ce.current:ku(K,n),l&&(n=xu(n,K[p-1]||-1/0,K[p+1]||1/0));var v=n;n=Ou({values:K,newValue:n,index:p}),l&&a||(p=n.indexOf(v),ce.current=p)}return{newValue:n,activeIndex:p}},pe=gu((function(e){var t=Su(e,T);if(t)if(B.current+=1,"mousemove"!==e.type||0!==e.buttons){var n=de({finger:t,move:!0}),r=n.newValue,o=n.activeIndex;_u({sliderRef:oe,activeIndex:o,setActive:L}),W(r),!F&&B.current>2&&D(!0),$&&!Nu(r,H)&&$(e,r,o)}else he(e)})),he=gu((function(e){var t=Su(e,T);if(D(!1),t){var n=de({finger:t,move:!0}).newValue;L(-1),"touchend"===e.type&&I(-1),b&&b(e,n),T.current=void 0,me()}})),ve=gu((function(e){if(!o){Ru()||e.preventDefault();var t=e.changedTouches[0];null!=t&&(T.current=t.identifier);var n=Su(e,T);if(!1!==n){var r=de({finger:n}),a=r.newValue,i=r.activeIndex;_u({sliderRef:oe,activeIndex:i,setActive:L}),W(a),$&&!Nu(a,H)&&$(e,a,i)}B.current=0;var l=lu(oe.current);l.addEventListener("touchmove",pe),l.addEventListener("touchend",he)}})),me=p.useCallback((function(){var e=lu(oe.current);e.removeEventListener("mousemove",pe),e.removeEventListener("mouseup",he),e.removeEventListener("touchmove",pe),e.removeEventListener("touchend",he)}),[he,pe]);p.useEffect((function(){var e=oe.current;return e.addEventListener("touchstart",ve,{passive:Ru()}),function(){e.removeEventListener("touchstart",ve,{passive:Ru()}),me()}}),[me,ve]),p.useEffect((function(){o&&me()}),[o,me]);var ye=function(e){return function(t){var n;if(null==(n=e.onMouseDown)||n.call(e,t),!o&&!t.defaultPrevented&&0===t.button){t.preventDefault();var r=Su(t,T);if(!1!==r){var a=de({finger:r}),i=a.newValue,l=a.activeIndex;_u({sliderRef:oe,activeIndex:l,setActive:L}),W(i),$&&!Nu(i,H)&&$(t,i,l)}B.current=0;var u=lu(oe.current);u.addEventListener("mousemove",pe),u.addEventListener("mouseup",he)}}},ge=Eu(q?K[0]:m,m,h),be=Eu(K[K.length-1],m,h)-ge,we=function(e){return function(t){var n;null==(n=e.onMouseOver)||n.call(e,t);var r=Number(t.currentTarget.getAttribute("data-index"));I(r)}},xe=function(e){return function(t){var n;null==(n=e.onMouseLeave)||n.call(e,t),I(-1)}};return{active:R,axis:fe,axisProps:Tu,dragging:F,focusedThumbIndex:ne,getHiddenInputProps:function(){var n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=w({},r,{onChange:se(r||{}),onFocus:le(r||{}),onBlur:ue(r||{})});return w({tabIndex:N,"aria-labelledby":t,"aria-orientation":k,"aria-valuemax":C(h),"aria-valuemin":C(m),name:y,type:"range",min:e.min,max:e.max,step:null===e.step&&e.marks?"any":null!=(n=e.step)?n:void 0,disabled:o},a,{style:w({},bu,{direction:s?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=w({},e,{onMouseDown:ye(e||{})});return w({ref:ie},t)},getThumbProps:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return w({},e,{onMouseOver:we(e||{}),onMouseLeave:xe(e||{})})},marks:Q,open:z,range:q,rootRef:ie,trackLeap:be,trackOffset:ge,values:K,getThumbStyle:function(e){return{pointerEvents:-1!==R&&R!==e?"none":void 0}}}}function Au(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function zu(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function Iu(e){if(e.type)return e;if("#"===e.charAt(0))return Iu(function(e){e=e.slice(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error(Au(9,e));var r,o=e.substring(t+1,e.length-1);if("color"===n){if(r=(o=o.split(" ")).shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error(Au(10,r))}else o=o.split(",");return o=o.map((function(e){return parseFloat(e)})),{type:n,values:o,colorSpace:r}}function Mu(e){var t=e.type,n=e.colorSpace,r=e.values;return-1!==t.indexOf("rgb")?r=r.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),r=-1!==t.indexOf("color")?"".concat(n," ").concat(r.join(" ")):"".concat(r.join(", ")),"".concat(t,"(").concat(r,")")}function Fu(e){var t="hsl"===(e=Iu(e)).type||"hsla"===e.type?Iu(function(e){var t=(e=Iu(e)).values,n=t[0],r=t[1]/100,o=t[2]/100,a=r*Math.min(o,1-o),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-a*Math.max(Math.min(t-3,9-t,1),-1)},l="rgb",u=[Math.round(255*i(0)),Math.round(255*i(8)),Math.round(255*i(4))];return"hsla"===e.type&&(l+="a",u.push(t[3])),Mu({type:l,values:u})}(e)).values:e.values;return t=t.map((function(t){return"color"!==e.type&&(t/=255),t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Du(e,t){return e=Iu(e),t=zu(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/".concat(t):e.values[3]=t,Mu(e)}function Bu(e,t){if(e=Iu(e),t=zu(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return Mu(e)}function Uu(e,t){if(e=Iu(e),t=zu(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(var r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Mu(e)}function Vu(e,t){var n=w({},t);return Object.keys(e).forEach((function(r){if(r.toString().match(/^(components|slots)$/))n[r]=w({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){var o=e[r]||{},a=t[r];n[r]={},a&&Object.keys(a)?o&&Object.keys(o)?(n[r]=w({},a),Object.keys(o).forEach((function(e){n[r][e]=Vu(o[e],a[e])}))):n[r]=a:n[r]=o}else void 0===n[r]&&(n[r]=e[r])})),n}function Hu(e){var t=e.theme,n=e.name,r=e.props;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?Vu(t.components[n].defaultProps,r):r}function Wu(e){return null!==e&&"object"===typeof e&&e.constructor===Object}function $u(e){if(!Wu(e))return e;var t={};return Object.keys(e).forEach((function(n){t[n]=$u(e[n])})),t}function qu(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},r=n.clone?w({},e):e;return Wu(e)&&Wu(t)&&Object.keys(t).forEach((function(o){"__proto__"!==o&&(Wu(t[o])&&o in e&&Wu(e[o])?r[o]=qu(e[o],t[o],n):n.clone?r[o]=Wu(t[o])?$u(t[o]):t[o]:r[o]=t[o])})),r}var Ku=["values","unit","step"],Qu=function(e){var t=Object.keys(e).map((function(t){return{key:t,val:e[t]}}))||[];return t.sort((function(e,t){return e.val-t.val})),t.reduce((function(e,t){return w({},e,s({},t.key,t.val))}),{})};var Yu={borderRadius:4},Gu={xs:0,sm:600,md:900,lg:1200,xl:1536},Xu={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(Gu[e],"px)")}};function Ju(e,t,n){var r=e.theme||{};if(Array.isArray(t)){var o=r.breakpoints||Xu;return t.reduce((function(e,r,a){return e[o.up(o.keys[a])]=n(t[a]),e}),{})}if("object"===typeof t){var a=r.breakpoints||Xu;return Object.keys(t).reduce((function(e,r){if(-1!==Object.keys(a.values||Gu).indexOf(r)){e[a.up(r)]=n(t[r],r)}else{var o=r;e[o]=t[o]}return e}),{})}return n(t)}function Zu(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(null==(e=t.keys)?void 0:e.reduce((function(e,n){return e[t.up(n)]={},e}),{}))||{}}function es(e,t){return e.reduce((function(e,t){var n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function ts(e){if("string"!==typeof e)throw new Error(Au(7));return e.charAt(0).toUpperCase()+e.slice(1)}function ns(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||"string"!==typeof t)return null;if(e&&e.vars&&n){var r="vars.".concat(t).split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e);if(null!=r)return r}return t.split(".").reduce((function(e,t){return e&&null!=e[t]?e[t]:null}),e)}function rs(e,t,n){var r,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return r="function"===typeof e?e(n):Array.isArray(e)?e[n]||o:ns(e,n)||o,t&&(r=t(r,o,e)),r}var os=function(e){var t=e.prop,n=e.cssProperty,r=void 0===n?e.prop:n,o=e.themeKey,a=e.transform,i=function(e){if(null==e[t])return null;var n=e[t],i=ns(e.theme,o)||{};return Ju(e,n,(function(e){var n=rs(i,a,e);return e===n&&"string"===typeof e&&(n=rs(i,a,"".concat(t).concat("default"===e?"":ts(e)),e)),!1===r?n:s({},r,n)}))};return i.propTypes={},i.filterProps=[t],i};var as=function(e,t){return t?qu(e,t,{clone:!1}):e};var is={m:"margin",p:"padding"},ls={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},us={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},ss=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){if(e.length>2){if(!us[e])return[e];e=us[e]}var t=i(e.split(""),2),n=t[0],r=t[1],o=is[n],a=ls[r]||"";return Array.isArray(a)?a.map((function(e){return o+e})):[o+a]})),cs=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],fs=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],ds=[].concat(cs,fs);function ps(e,t,n,r){var o,a=null!=(o=ns(e,t,!1))?o:n;return"number"===typeof a?function(e){return"string"===typeof e?e:a*e}:Array.isArray(a)?function(e){return"string"===typeof e?e:a[e]}:"function"===typeof a?a:function(){}}function hs(e){return ps(e,"spacing",8)}function vs(e,t){if("string"===typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:"-".concat(n)}function ms(e,t,n,r){if(-1===t.indexOf(n))return null;var o=function(e,t){return function(n){return e.reduce((function(e,r){return e[r]=vs(t,n),e}),{})}}(ss(n),r);return Ju(e,e[n],o)}function ys(e,t){var n=hs(e.theme);return Object.keys(e).map((function(r){return ms(e,t,r,n)})).reduce(as,{})}function gs(e){return ys(e,cs)}function bs(e){return ys(e,fs)}function ws(e){return ys(e,ds)}gs.propTypes={},gs.filterProps=cs,bs.propTypes={},bs.filterProps=fs,ws.propTypes={},ws.filterProps=ds;var xs=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return t.filterProps.forEach((function(n){e[n]=t})),e}),{}),o=function(e){return Object.keys(e).reduce((function(t,n){return r[n]?as(t,r[n](e)):t}),{})};return o.propTypes={},o.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),o};function ks(e){return"number"!==typeof e?e:"".concat(e,"px solid")}var Ss=os({prop:"border",themeKey:"borders",transform:ks}),Es=os({prop:"borderTop",themeKey:"borders",transform:ks}),Cs=os({prop:"borderRight",themeKey:"borders",transform:ks}),Os=os({prop:"borderBottom",themeKey:"borders",transform:ks}),_s=os({prop:"borderLeft",themeKey:"borders",transform:ks}),Ns=os({prop:"borderColor",themeKey:"palette"}),Ps=os({prop:"borderTopColor",themeKey:"palette"}),Ts=os({prop:"borderRightColor",themeKey:"palette"}),js=os({prop:"borderBottomColor",themeKey:"palette"}),Rs=os({prop:"borderLeftColor",themeKey:"palette"}),Ls=function(e){if(void 0!==e.borderRadius&&null!==e.borderRadius){var t=ps(e.theme,"shape.borderRadius",4);return Ju(e,e.borderRadius,(function(e){return{borderRadius:vs(t,e)}}))}return null};Ls.propTypes={},Ls.filterProps=["borderRadius"];xs(Ss,Es,Cs,Os,_s,Ns,Ps,Ts,js,Rs,Ls);var As=function(e){if(void 0!==e.gap&&null!==e.gap){var t=ps(e.theme,"spacing",8);return Ju(e,e.gap,(function(e){return{gap:vs(t,e)}}))}return null};As.propTypes={},As.filterProps=["gap"];var zs=function(e){if(void 0!==e.columnGap&&null!==e.columnGap){var t=ps(e.theme,"spacing",8);return Ju(e,e.columnGap,(function(e){return{columnGap:vs(t,e)}}))}return null};zs.propTypes={},zs.filterProps=["columnGap"];var Is=function(e){if(void 0!==e.rowGap&&null!==e.rowGap){var t=ps(e.theme,"spacing",8);return Ju(e,e.rowGap,(function(e){return{rowGap:vs(t,e)}}))}return null};Is.propTypes={},Is.filterProps=["rowGap"];xs(As,zs,Is,os({prop:"gridColumn"}),os({prop:"gridRow"}),os({prop:"gridAutoFlow"}),os({prop:"gridAutoColumns"}),os({prop:"gridAutoRows"}),os({prop:"gridTemplateColumns"}),os({prop:"gridTemplateRows"}),os({prop:"gridTemplateAreas"}),os({prop:"gridArea"}));function Ms(e,t){return"grey"===t?t:e}xs(os({prop:"color",themeKey:"palette",transform:Ms}),os({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ms}),os({prop:"backgroundColor",themeKey:"palette",transform:Ms}));function Fs(e){return e<=1&&0!==e?"".concat(100*e,"%"):e}var Ds=os({prop:"width",transform:Fs}),Bs=function(e){if(void 0!==e.maxWidth&&null!==e.maxWidth){return Ju(e,e.maxWidth,(function(t){var n;return{maxWidth:(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||Gu[t]||Fs(t)}}))}return null};Bs.filterProps=["maxWidth"];var Us=os({prop:"minWidth",transform:Fs}),Vs=os({prop:"height",transform:Fs}),Hs=os({prop:"maxHeight",transform:Fs}),Ws=os({prop:"minHeight",transform:Fs}),$s=(os({prop:"size",cssProperty:"width",transform:Fs}),os({prop:"size",cssProperty:"height",transform:Fs}),xs(Ds,Bs,Us,Vs,Hs,Ws,os({prop:"boxSizing"})),{border:{themeKey:"borders",transform:ks},borderTop:{themeKey:"borders",transform:ks},borderRight:{themeKey:"borders",transform:ks},borderBottom:{themeKey:"borders",transform:ks},borderLeft:{themeKey:"borders",transform:ks},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ls},color:{themeKey:"palette",transform:Ms},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ms},backgroundColor:{themeKey:"palette",transform:Ms},p:{style:bs},pt:{style:bs},pr:{style:bs},pb:{style:bs},pl:{style:bs},px:{style:bs},py:{style:bs},padding:{style:bs},paddingTop:{style:bs},paddingRight:{style:bs},paddingBottom:{style:bs},paddingLeft:{style:bs},paddingX:{style:bs},paddingY:{style:bs},paddingInline:{style:bs},paddingInlineStart:{style:bs},paddingInlineEnd:{style:bs},paddingBlock:{style:bs},paddingBlockStart:{style:bs},paddingBlockEnd:{style:bs},m:{style:gs},mt:{style:gs},mr:{style:gs},mb:{style:gs},ml:{style:gs},mx:{style:gs},my:{style:gs},margin:{style:gs},marginTop:{style:gs},marginRight:{style:gs},marginBottom:{style:gs},marginLeft:{style:gs},marginX:{style:gs},marginY:{style:gs},marginInline:{style:gs},marginInlineStart:{style:gs},marginInlineEnd:{style:gs},marginBlock:{style:gs},marginBlockStart:{style:gs},marginBlockEnd:{style:gs},displayPrint:{cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:As},rowGap:{style:Is},columnGap:{style:zs},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Fs},maxWidth:{style:Bs},minWidth:{transform:Fs},height:{transform:Fs},maxHeight:{transform:Fs},minHeight:{transform:Fs},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}),qs=$s;var Ks=function(){function e(e,t,n,r){var o,a=(s(o={},e,t),s(o,"theme",n),o),i=r[e];if(!i)return s({},e,t);var l=i.cssProperty,u=void 0===l?e:l,c=i.themeKey,f=i.transform,d=i.style;if(null==t)return null;if("typography"===c&&"inherit"===t)return s({},e,t);var p=ns(n,c)||{};if(d)return d(a);return Ju(a,t,(function(t){var n=rs(p,f,t);return t===n&&"string"===typeof t&&(n=rs(p,f,"".concat(e).concat("default"===t?"":ts(t)),t)),!1===u?n:s({},u,n)}))}return function t(n){var r,o=n||{},a=o.sx,i=o.theme,l=void 0===i?{}:i;if(!a)return null;var u=null!=(r=l.unstable_sxConfig)?r:qs;function c(n){var r=n;if("function"===typeof n)r=n(l);else if("object"!==typeof n)return n;if(!r)return null;var o=Zu(l.breakpoints),a=Object.keys(o),i=o;return Object.keys(r).forEach((function(n){var o,a,c=(o=r[n],a=l,"function"===typeof o?o(a):o);if(null!==c&&void 0!==c)if("object"===typeof c)if(u[n])i=as(i,e(n,c,l,u));else{var f=Ju({theme:l},c,(function(e){return s({},n,e)}));!function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return e.concat(Object.keys(t))}),[]),o=new Set(r);return t.every((function(e){return o.size===Object.keys(e).length}))}(f,c)?i=as(i,f):i[n]=t({sx:c,theme:l})}else i=as(i,e(n,c,l,u))})),es(a,i)}return Array.isArray(a)?a.map(c):c(a)}}();Ks.filterProps=["sx"];var Qs=Ks,Ys=["breakpoints","palette","spacing","shape"];var Gs=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.palette,o=void 0===r?{}:r,a=e.spacing,i=e.shape,l=void 0===i?{}:i,u=v(e,Ys),s=function(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:900,lg:1200,xl:1536}:t,r=e.unit,o=void 0===r?"px":r,a=e.step,i=void 0===a?5:a,l=v(e,Ku),u=Qu(n),s=Object.keys(u);function c(e){var t="number"===typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(o,")")}function f(e){var t="number"===typeof n[e]?n[e]:e;return"@media (max-width:".concat(t-i/100).concat(o,")")}function d(e,t){var r=s.indexOf(t);return"@media (min-width:".concat("number"===typeof n[e]?n[e]:e).concat(o,") and ")+"(max-width:".concat((-1!==r&&"number"===typeof n[s[r]]?n[s[r]]:t)-i/100).concat(o,")")}return w({keys:s,values:u,up:c,down:f,between:d,only:function(e){return s.indexOf(e)+1<s.length?d(e,s[s.indexOf(e)+1]):c(e)},not:function(e){var t=s.indexOf(e);return 0===t?c(s[1]):t===s.length-1?f(s[t]):d(e,s[s.indexOf(e)+1]).replace("@media","@media not all and")},unit:o},l)}(n),c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=hs({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(0===n.length?[1]:n).map((function(e){var n=t(e);return"number"===typeof n?"".concat(n,"px"):n})).join(" ")};return n.mui=!0,n}(a),f=qu({breakpoints:s,direction:"ltr",components:{},palette:w({mode:"light"},o),spacing:c,shape:w({},Yu,l)},u),d=arguments.length,p=new Array(d>1?d-1:0),h=1;h<d;h++)p[h-1]=arguments[h];return(f=p.reduce((function(e,t){return qu(e,t)}),f)).unstable_sxConfig=w({},qs,null==u?void 0:u.unstable_sxConfig),f.unstable_sx=function(e){return Qs({sx:e,theme:this})},f};var Xs=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(ep){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),Js=Math.abs,Zs=String.fromCharCode,ec=Object.assign;function tc(e){return e.trim()}function nc(e,t,n){return e.replace(t,n)}function rc(e,t){return e.indexOf(t)}function oc(e,t){return 0|e.charCodeAt(t)}function ac(e,t,n){return e.slice(t,n)}function ic(e){return e.length}function lc(e){return e.length}function uc(e,t){return t.push(e),e}var sc=1,cc=1,fc=0,dc=0,pc=0,hc="";function vc(e,t,n,r,o,a,i){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:sc,column:cc,length:i,return:""}}function mc(e,t){return ec(vc("",null,null,"",null,null,0),e,{length:-e.length},t)}function yc(){return pc=dc>0?oc(hc,--dc):0,cc--,10===pc&&(cc=1,sc--),pc}function gc(){return pc=dc<fc?oc(hc,dc++):0,cc++,10===pc&&(cc=1,sc++),pc}function bc(){return oc(hc,dc)}function wc(){return dc}function xc(e,t){return ac(hc,e,t)}function kc(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Sc(e){return sc=cc=1,fc=ic(hc=e),dc=0,[]}function Ec(e){return hc="",e}function Cc(e){return tc(xc(dc-1,Nc(91===e?e+2:40===e?e+1:e)))}function Oc(e){for(;(pc=bc())&&pc<33;)gc();return kc(e)>2||kc(pc)>3?"":" "}function _c(e,t){for(;--t&&gc()&&!(pc<48||pc>102||pc>57&&pc<65||pc>70&&pc<97););return xc(e,wc()+(t<6&&32==bc()&&32==gc()))}function Nc(e){for(;gc();)switch(pc){case e:return dc;case 34:case 39:34!==e&&39!==e&&Nc(pc);break;case 40:41===e&&Nc(e);break;case 92:gc()}return dc}function Pc(e,t){for(;gc()&&e+pc!==57&&(e+pc!==84||47!==bc()););return"/*"+xc(t,dc-1)+"*"+Zs(47===e?e:gc())}function Tc(e){for(;!kc(bc());)gc();return xc(e,dc)}var jc="-ms-",Rc="-moz-",Lc="-webkit-",Ac="comm",zc="rule",Ic="decl",Mc="@keyframes";function Fc(e,t){for(var n="",r=lc(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Dc(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Ic:return e.return=e.return||e.value;case Ac:return"";case Mc:return e.return=e.value+"{"+Fc(e.children,r)+"}";case zc:e.value=e.props.join(",")}return ic(n=Fc(e.children,r))?e.return=e.value+"{"+n+"}":""}function Bc(e){return Ec(Uc("",null,null,null,[""],e=Sc(e),0,[0],e))}function Uc(e,t,n,r,o,a,i,l,u){for(var s=0,c=0,f=i,d=0,p=0,h=0,v=1,m=1,y=1,g=0,b="",w=o,x=a,k=r,S=b;m;)switch(h=g,g=gc()){case 40:if(108!=h&&58==oc(S,f-1)){-1!=rc(S+=nc(Cc(g),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:S+=Cc(g);break;case 9:case 10:case 13:case 32:S+=Oc(h);break;case 92:S+=_c(wc()-1,7);continue;case 47:switch(bc()){case 42:case 47:uc(Hc(Pc(gc(),wc()),t,n),u);break;default:S+="/"}break;case 123*v:l[s++]=ic(S)*y;case 125*v:case 59:case 0:switch(g){case 0:case 125:m=0;case 59+c:-1==y&&(S=nc(S,/\f/g,"")),p>0&&ic(S)-f&&uc(p>32?Wc(S+";",r,n,f-1):Wc(nc(S," ","")+";",r,n,f-2),u);break;case 59:S+=";";default:if(uc(k=Vc(S,t,n,s,c,o,l,b,w=[],x=[],f),a),123===g)if(0===c)Uc(S,t,k,k,w,a,f,l,x);else switch(99===d&&110===oc(S,3)?100:d){case 100:case 108:case 109:case 115:Uc(e,k,k,r&&uc(Vc(e,k,k,0,0,o,l,b,o,w=[],f),x),o,x,f,l,r?w:x);break;default:Uc(S,k,k,k,[""],x,0,l,x)}}s=c=p=0,v=y=1,b=S="",f=i;break;case 58:f=1+ic(S),p=h;default:if(v<1)if(123==g)--v;else if(125==g&&0==v++&&125==yc())continue;switch(S+=Zs(g),g*v){case 38:y=c>0?1:(S+="\f",-1);break;case 44:l[s++]=(ic(S)-1)*y,y=1;break;case 64:45===bc()&&(S+=Cc(gc())),d=bc(),c=f=ic(b=S+=Tc(wc())),g++;break;case 45:45===h&&2==ic(S)&&(v=0)}}return a}function Vc(e,t,n,r,o,a,i,l,u,s,c){for(var f=o-1,d=0===o?a:[""],p=lc(d),h=0,v=0,m=0;h<r;++h)for(var y=0,g=ac(e,f+1,f=Js(v=i[h])),b=e;y<p;++y)(b=tc(v>0?d[y]+" "+g:nc(g,/&\f/g,d[y])))&&(u[m++]=b);return vc(e,t,n,0===o?zc:l,u,s,c)}function Hc(e,t,n){return vc(e,t,n,Ac,Zs(pc),ac(e,2,-2),0)}function Wc(e,t,n,r){return vc(e,t,n,Ic,ac(e,0,r),ac(e,r+1,-1),r)}var $c=function(e,t,n){for(var r=0,o=0;r=o,o=bc(),38===r&&12===o&&(t[n]=1),!kc(o);)gc();return xc(e,dc)},qc=function(e,t){return Ec(function(e,t){var n=-1,r=44;do{switch(kc(r)){case 0:38===r&&12===bc()&&(t[n]=1),e[n]+=$c(dc-1,t,n);break;case 2:e[n]+=Cc(r);break;case 4:if(44===r){e[++n]=58===bc()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Zs(r)}}while(r=gc());return e}(Sc(e),t))},Kc=new WeakMap,Qc=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Kc.get(n))&&!r){Kc.set(e,!0);for(var o=[],a=qc(t,o),i=n.props,l=0,u=0;l<a.length;l++)for(var s=0;s<i.length;s++,u++)e.props[u]=o[l]?a[l].replace(/&\f/g,i[s]):i[s]+" "+a[l]}}},Yc=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Gc(e,t){switch(function(e,t){return 45^oc(e,0)?(((t<<2^oc(e,0))<<2^oc(e,1))<<2^oc(e,2))<<2^oc(e,3):0}(e,t)){case 5103:return Lc+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Lc+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Lc+e+Rc+e+jc+e+e;case 6828:case 4268:return Lc+e+jc+e+e;case 6165:return Lc+e+jc+"flex-"+e+e;case 5187:return Lc+e+nc(e,/(\w+).+(:[^]+)/,Lc+"box-$1$2"+jc+"flex-$1$2")+e;case 5443:return Lc+e+jc+"flex-item-"+nc(e,/flex-|-self/,"")+e;case 4675:return Lc+e+jc+"flex-line-pack"+nc(e,/align-content|flex-|-self/,"")+e;case 5548:return Lc+e+jc+nc(e,"shrink","negative")+e;case 5292:return Lc+e+jc+nc(e,"basis","preferred-size")+e;case 6060:return Lc+"box-"+nc(e,"-grow","")+Lc+e+jc+nc(e,"grow","positive")+e;case 4554:return Lc+nc(e,/([^-])(transform)/g,"$1"+Lc+"$2")+e;case 6187:return nc(nc(nc(e,/(zoom-|grab)/,Lc+"$1"),/(image-set)/,Lc+"$1"),e,"")+e;case 5495:case 3959:return nc(e,/(image-set\([^]*)/,Lc+"$1$`$1");case 4968:return nc(nc(e,/(.+:)(flex-)?(.*)/,Lc+"box-pack:$3"+jc+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Lc+e+e;case 4095:case 3583:case 4068:case 2532:return nc(e,/(.+)-inline(.+)/,Lc+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ic(e)-1-t>6)switch(oc(e,t+1)){case 109:if(45!==oc(e,t+4))break;case 102:return nc(e,/(.+:)(.+)-([^]+)/,"$1"+Lc+"$2-$3$1"+Rc+(108==oc(e,t+3)?"$3":"$2-$3"))+e;case 115:return~rc(e,"stretch")?Gc(nc(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==oc(e,t+1))break;case 6444:switch(oc(e,ic(e)-3-(~rc(e,"!important")&&10))){case 107:return nc(e,":",":"+Lc)+e;case 101:return nc(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Lc+(45===oc(e,14)?"inline-":"")+"box$3$1"+Lc+"$2$3$1"+jc+"$2box$3")+e}break;case 5936:switch(oc(e,t+11)){case 114:return Lc+e+jc+nc(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Lc+e+jc+nc(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Lc+e+jc+nc(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Lc+e+jc+e+e}return e}var Xc=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Ic:e.return=Gc(e.value,e.length);break;case Mc:return Fc([mc(e,{value:nc(e.value,"@","@"+Lc)})],r);case zc:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Fc([mc(e,{props:[nc(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Fc([mc(e,{props:[nc(t,/:(plac\w+)/,":"+Lc+"input-$1")]}),mc(e,{props:[nc(t,/:(plac\w+)/,":-moz-$1")]}),mc(e,{props:[nc(t,/:(plac\w+)/,jc+"input-$1")]})],r)}return""}))}}],Jc=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r=e.stylisPlugins||Xc;var o,a,i={},l=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)i[t[n]]=!0;l.push(e)}));var u,s,c=[Dc,(s=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&s(e)})],f=function(e){var t=lc(e);return function(n,r,o,a){for(var i="",l=0;l<t;l++)i+=e[l](n,r,o,a)||"";return i}}([Qc,Yc].concat(r,c));a=function(e,t,n,r){u=n,Fc(Bc(e?e+"{"+t.styles+"}":t.styles),f),r&&(d.inserted[t.name]=!0)};var d={key:t,sheet:new Xs({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:a};return d.sheet.hydrate(l),d};var Zc={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function ef(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var tf=/[A-Z]|^ms/g,nf=/_EMO_([^_]+?)_([^]*?)_EMO_/g,rf=function(e){return 45===e.charCodeAt(1)},of=function(e){return null!=e&&"boolean"!==typeof e},af=ef((function(e){return rf(e)?e:e.replace(tf,"-$&").toLowerCase()})),lf=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(nf,(function(e,t,n){return sf={name:t,styles:n,next:sf},t}))}return 1===Zc[e]||rf(e)||"number"!==typeof t||0===t?t:t+"px"};function uf(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return sf={name:n.name,styles:n.styles,next:sf},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)sf={name:r.name,styles:r.styles,next:sf},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=uf(e,t,n[o])+";";else for(var a in n){var i=n[a];if("object"!==typeof i)null!=t&&void 0!==t[i]?r+=a+"{"+t[i]+"}":of(i)&&(r+=af(a)+":"+lf(a,i)+";");else if(!Array.isArray(i)||"string"!==typeof i[0]||null!=t&&void 0!==t[i[0]]){var l=uf(e,t,i);switch(a){case"animation":case"animationName":r+=af(a)+":"+l+";";break;default:r+=a+"{"+l+"}"}}else for(var u=0;u<i.length;u++)of(i[u])&&(r+=af(a)+":"+lf(a,i[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=sf,a=n(e);return sf=o,uf(e,t,a)}}if(null==t)return n;var i=t[n];return void 0!==i?i:n}var sf,cf=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var ff=!!h.useInsertionEffect&&h.useInsertionEffect,df=ff||function(e){return e()},pf=(ff||p.useLayoutEffect,p.createContext("undefined"!==typeof HTMLElement?Jc({key:"css"}):null));pf.Provider;var hf=function(e){return(0,p.forwardRef)((function(t,n){var r=(0,p.useContext)(pf);return e(t,r,n)}))};var vf=p.createContext({});var mf=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=p.useContext(vf);return n&&(e=n,0!==Object.keys(e).length)?n:t},yf=Gs();var gf=function(){return mf(arguments.length>0&&void 0!==arguments[0]?arguments[0]:yf)};function bf(e,t){var n;return w({toolbar:(n={minHeight:56},s(n,e.up("xs"),{"@media (orientation: landscape)":{minHeight:48}}),s(n,e.up("sm"),{minHeight:64}),n)},t)}var wf={black:"#000",white:"#fff"},xf={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},kf={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Sf={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Ef={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Cf={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Of={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},_f={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Nf=["mode","contrastThreshold","tonalOffset"],Pf={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:wf.white,default:wf.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Tf={text:{primary:wf.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:wf.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function jf(e,t,n,r){var o=r.light||r,a=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=Uu(e.main,o):"dark"===t&&(e.dark=Bu(e.main,a)))}function Rf(e){var t=e.mode,n=void 0===t?"light":t,r=e.contrastThreshold,o=void 0===r?3:r,a=e.tonalOffset,i=void 0===a?.2:a,l=v(e,Nf),u=e.primary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:Cf[200],light:Cf[50],dark:Cf[400]}:{main:Cf[700],light:Cf[400],dark:Cf[800]}}(n),s=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:kf[200],light:kf[50],dark:kf[400]}:{main:kf[500],light:kf[300],dark:kf[700]}}(n),c=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:Sf[500],light:Sf[300],dark:Sf[700]}:{main:Sf[700],light:Sf[400],dark:Sf[800]}}(n),f=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:Of[400],light:Of[300],dark:Of[700]}:{main:Of[700],light:Of[500],dark:Of[900]}}(n),d=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:_f[400],light:_f[300],dark:_f[700]}:{main:_f[800],light:_f[500],dark:_f[900]}}(n),p=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:Ef[400],light:Ef[300],dark:Ef[700]}:{main:"#ed6c02",light:Ef[500],dark:Ef[900]}}(n);function h(e){var t=function(e,t){var n=Fu(e),r=Fu(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,Tf.text.primary)>=o?Tf.text.primary:Pf.text.primary;return t}var m=function(e){var t=e.color,n=e.name,r=e.mainShade,o=void 0===r?500:r,a=e.lightShade,l=void 0===a?300:a,u=e.darkShade,s=void 0===u?700:u;if(!(t=w({},t)).main&&t[o]&&(t.main=t[o]),!t.hasOwnProperty("main"))throw new Error(Au(11,n?" (".concat(n,")"):"",o));if("string"!==typeof t.main)throw new Error(Au(12,n?" (".concat(n,")"):"",JSON.stringify(t.main)));return jf(t,"light",l,i),jf(t,"dark",s,i),t.contrastText||(t.contrastText=h(t.main)),t},y={dark:Tf,light:Pf};return qu(w({common:w({},wf),mode:n,primary:m({color:u,name:"primary"}),secondary:m({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:c,name:"error"}),warning:m({color:p,name:"warning"}),info:m({color:f,name:"info"}),success:m({color:d,name:"success"}),grey:xf,contrastThreshold:o,getContrastText:h,augmentColor:m,tonalOffset:i},y[n]),l)}var Lf=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Af(e){return Math.round(1e5*e)/1e5}var zf={textTransform:"uppercase"},If='"Roboto", "Helvetica", "Arial", sans-serif';function Mf(e,t){var n="function"===typeof t?t(e):t,r=n.fontFamily,o=void 0===r?If:r,a=n.fontSize,i=void 0===a?14:a,l=n.fontWeightLight,u=void 0===l?300:l,s=n.fontWeightRegular,c=void 0===s?400:s,f=n.fontWeightMedium,d=void 0===f?500:f,p=n.fontWeightBold,h=void 0===p?700:p,m=n.htmlFontSize,y=void 0===m?16:m,g=n.allVariants,b=n.pxToRem,x=v(n,Lf);var k=i/14,S=b||function(e){return"".concat(e/y*k,"rem")},E=function(e,t,n,r,a){return w({fontFamily:o,fontWeight:e,fontSize:S(t),lineHeight:n},o===If?{letterSpacing:"".concat(Af(r/t),"em")}:{},a,g)},C={h1:E(u,96,1.167,-1.5),h2:E(u,60,1.2,-.5),h3:E(c,48,1.167,0),h4:E(c,34,1.235,.25),h5:E(c,24,1.334,0),h6:E(d,20,1.6,.15),subtitle1:E(c,16,1.75,.15),subtitle2:E(d,14,1.57,.1),body1:E(c,16,1.5,.15),body2:E(c,14,1.43,.15),button:E(d,14,1.75,.4,zf),caption:E(c,12,1.66,.4),overline:E(c,12,2.66,1,zf),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return qu(w({htmlFontSize:y,pxToRem:S,fontFamily:o,fontSize:i,fontWeightLight:u,fontWeightRegular:c,fontWeightMedium:d,fontWeightBold:h},C),x,{clone:!1})}function Ff(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var Df=["none",Ff(0,2,1,-1,0,1,1,0,0,1,3,0),Ff(0,3,1,-2,0,2,2,0,0,1,5,0),Ff(0,3,3,-2,0,3,4,0,0,1,8,0),Ff(0,2,4,-1,0,4,5,0,0,1,10,0),Ff(0,3,5,-1,0,5,8,0,0,1,14,0),Ff(0,3,5,-1,0,6,10,0,0,1,18,0),Ff(0,4,5,-2,0,7,10,1,0,2,16,1),Ff(0,5,5,-3,0,8,10,1,0,3,14,2),Ff(0,5,6,-3,0,9,12,1,0,3,16,2),Ff(0,6,6,-3,0,10,14,1,0,4,18,3),Ff(0,6,7,-4,0,11,15,1,0,4,20,3),Ff(0,7,8,-4,0,12,17,2,0,5,22,4),Ff(0,7,8,-4,0,13,19,2,0,5,24,4),Ff(0,7,9,-4,0,14,21,2,0,5,26,4),Ff(0,8,9,-5,0,15,22,2,0,6,28,5),Ff(0,8,10,-5,0,16,24,2,0,6,30,5),Ff(0,8,11,-5,0,17,26,2,0,6,32,5),Ff(0,9,11,-5,0,18,28,2,0,7,34,6),Ff(0,9,12,-6,0,19,29,2,0,7,36,6),Ff(0,10,13,-6,0,20,31,3,0,8,38,7),Ff(0,10,13,-6,0,21,33,3,0,8,40,7),Ff(0,10,14,-6,0,22,35,3,0,8,42,7),Ff(0,11,14,-7,0,23,36,3,0,9,44,8),Ff(0,11,15,-7,0,24,38,3,0,9,46,8)],Bf=["duration","easing","delay"],Uf={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Vf={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Hf(e){return"".concat(Math.round(e),"ms")}function Wf(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}function $f(e){var t=w({},Uf,e.easing),n=w({},Vf,e.duration);return w({getAutoHeightDuration:Wf,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r.duration,a=void 0===o?n.standard:o,i=r.easing,l=void 0===i?t.easeInOut:i,u=r.delay,s=void 0===u?0:u;v(r,Bf);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof a?a:Hf(a)," ").concat(l," ").concat("string"===typeof s?s:Hf(s))})).join(",")}},e,{easing:t,duration:n})}var qf={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Kf=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Qf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mixins,n=void 0===t?{}:t,r=e.palette,o=void 0===r?{}:r,a=e.transitions,i=void 0===a?{}:a,l=e.typography,u=void 0===l?{}:l,s=v(e,Kf);if(e.vars)throw new Error(Au(18));var c=Rf(o),f=Gs(e),d=qu(f,{mixins:bf(f.breakpoints,n),palette:c,shadows:Df.slice(),typography:Mf(c,u),transitions:$f(i),zIndex:w({},qf)});d=qu(d,s);for(var p=arguments.length,h=new Array(p>1?p-1:0),m=1;m<p;m++)h[m-1]=arguments[m];return(d=h.reduce((function(e,t){return qu(e,t)}),d)).unstable_sxConfig=w({},qs,null==s?void 0:s.unstable_sxConfig),d.unstable_sx=function(e){return Qs({sx:e,theme:this})},d}var Yf=Qf(),Gf="$$material";function Xf(e){return function(e){var t=e.props,n=e.name,r=e.defaultTheme,o=e.themeId,a=gf(r);return o&&(a=a[o]||a),Hu({theme:a,name:n,props:t})}({props:e.props,name:e.name,defaultTheme:Yf,themeId:Gf})}var Jf=/^((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)-.*))$/;var Zf=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},ed=ef((function(e){return Jf.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),td=function(e){return"theme"!==e},nd=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?ed:td},rd=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!==typeof r&&n&&(r=e.__emotion_forwardProp),r},od=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Zf(t,n,r),df((function(){return function(e,t,n){Zf(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}(t,n,r)})),null},ad=function e(t,n){var r,o,a=t.__emotion_real===t,i=a&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var l=rd(t,n,a),u=l||nd(i),s=!u("as");return function(){var c=arguments,f=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&f.push("label:"+r+";"),null==c[0]||void 0===c[0].raw)f.push.apply(f,c);else{0,f.push(c[0][0]);for(var d=c.length,h=1;h<d;h++)f.push(c[h],c[0][h])}var v=hf((function(e,t,n){var r=s&&e.as||i,a="",c=[],d=e;if(null==e.theme){for(var h in d={},e)d[h]=e[h];d.theme=p.useContext(vf)}"string"===typeof e.className?a=function(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}(t.registered,c,e.className):null!=e.className&&(a=e.className+" ");var v=function(e,t,n){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";sf=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,o+=uf(n,t,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=uf(n,t,e[i]),r&&(o+=a[i]);cf.lastIndex=0;for(var l,u="";null!==(l=cf.exec(o));)u+="-"+l[1];var s=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+u;return{name:s,styles:o,next:sf}}(f.concat(c),t.registered,d);a+=t.key+"-"+v.name,void 0!==o&&(a+=" "+o);var m=s&&void 0===l?nd(r):u,y={};for(var g in e)s&&"as"===g||m(g)&&(y[g]=e[g]);return y.className=a,y.ref=n,p.createElement(p.Fragment,null,p.createElement(od,{cache:t,serialized:v,isStringTag:"string"===typeof r}),p.createElement(r,y))}));return v.displayName=void 0!==r?r:"Styled("+("string"===typeof i?i:i.displayName||i.name||"Component")+")",v.defaultProps=t.defaultProps,v.__emotion_real=v,v.__emotion_base=i,v.__emotion_styles=f,v.__emotion_forwardProp=l,Object.defineProperty(v,"toString",{value:function(){return"."+o}}),v.withComponent=function(t,r){return e(t,w({},n,r,{shouldForwardProp:rd(v,r,!0)})).apply(void 0,f)},v}}.bind();["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","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){ad[e]=ad(e)}));var id=["variant"];function ld(e){return 0===e.length}function ud(e){var t=e.variant,n=v(e,id),r=t||"";return Object.keys(n).sort().forEach((function(t){r+="color"===t?ld(r)?e[t]:ts(e[t]):"".concat(ld(r)?t:ts(t)).concat(ts(e[t].toString()))})),r}var sd=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function cd(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}var fd=Gs();function dd(e){var t,n=e.defaultTheme,r=e.theme,o=e.themeId;return t=r,0===Object.keys(t).length?n:r[o]||r}var pd=cd,hd=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.themeId,n=e.defaultTheme,r=void 0===n?fd:n,o=e.rootShouldForwardProp,a=void 0===o?cd:o,l=e.slotShouldForwardProp,u=void 0===l?cd:l,s=function(e){return Qs(w({},e,{theme:dd(w({},e,{defaultTheme:r,themeId:t}))}))};return s.__mui_systemSx=!0,function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}(e,(function(e){return e.filter((function(e){return!(null!=e&&e.__mui_systemSx)}))}));var o=n.name,l=n.slot,c=n.skipVariantsResolver,f=n.skipSx,d=n.overridesResolver,p=v(n,sd),h=void 0!==c?c:l&&"Root"!==l||!1,m=f||!1;var y=cd;"Root"===l?y=a:l?y=u:function(e){return"string"===typeof e&&e.charCodeAt(0)>96}(e)&&(y=void 0);var g=function(e,t){return ad(e,t)}(e,w({shouldForwardProp:y,label:undefined},p)),b=function(n){for(var a=arguments.length,l=new Array(a>1?a-1:0),u=1;u<a;u++)l[u-1]=arguments[u];var c=l?l.map((function(e){return"function"===typeof e&&e.__emotion_real!==e?function(n){return e(w({},n,{theme:dd(w({},n,{defaultTheme:r,themeId:t}))}))}:e})):[],f=n;o&&d&&c.push((function(e){var n=dd(w({},e,{defaultTheme:r,themeId:t})),a=function(e,t){return t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null}(o,n);if(a){var l={};return Object.entries(a).forEach((function(t){var r=i(t,2),o=r[0],a=r[1];l[o]="function"===typeof a?a(w({},e,{theme:n})):a})),d(e,l)}return null})),o&&!h&&c.push((function(e){var n=dd(w({},e,{defaultTheme:r,themeId:t}));return function(e,t,n,r){var o,a=e.ownerState,i=void 0===a?{}:a,l=[],u=null==n||null==(o=n.components)||null==(o=o[r])?void 0:o.variants;return u&&u.forEach((function(n){var r=!0;Object.keys(n.props).forEach((function(t){i[t]!==n.props[t]&&e[t]!==n.props[t]&&(r=!1)})),r&&l.push(t[ud(n.props)])})),l}(e,function(e,t){var n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);var r={};return n.forEach((function(e){var t=ud(e.props);r[t]=e.style})),r}(o,n),n,o)})),m||c.push(s);var p=c.length-l.length;if(Array.isArray(n)&&p>0){var v=new Array(p).fill("");(f=[].concat(Je(n),Je(v))).raw=[].concat(Je(n.raw),Je(v))}else"function"===typeof n&&n.__emotion_real!==n&&(f=function(e){return n(w({},e,{theme:dd(w({},e,{defaultTheme:r,themeId:t}))}))});var y=g.apply(void 0,[f].concat(Je(c)));return e.muiName&&(y.muiName=e.muiName),y};return g.withConfig&&(b.withConfig=g.withConfig),b}}({themeId:Gf,defaultTheme:Yf,rootShouldForwardProp:function(e){return cd(e)&&"classes"!==e}}),vd=hd;var md=function(e){return!e||!nu(e)},yd=ts,gd=function(e){return e},bd=function(){var e=gd;return{configure:function(t){e=t},generate:function(t){return e(t)},reset:function(){e=gd}}}(),wd={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function xd(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",r=wd[t];return r?"".concat(n,"-").concat(r):"".concat(bd.generate(e),"-").concat(t)}function kd(e){return xd("MuiSlider",e)}var Sd=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",r={};return t.forEach((function(t){r[t]=xd(e,t,n)})),r}("MuiSlider",["root","active","colorPrimary","colorSecondary","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]),Ed=Sd;var Cd=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"];function Od(e){return e}var _d=vd("span",{name:"MuiSlider",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["color".concat(yd(n.color))],"medium"!==n.size&&t["size".concat(yd(n.size))],n.marked&&t.marked,"vertical"===n.orientation&&t.vertical,"inverted"===n.track&&t.trackInverted,!1===n.track&&t.trackFalse]}})((function(e){var t,n=e.theme,r=e.ownerState;return w({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:(n.vars||n).palette[r.color].main,WebkitTapHighlightColor:"transparent"},"horizontal"===r.orientation&&w({height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}},"small"===r.size&&{height:2},r.marked&&{marginBottom:20}),"vertical"===r.orientation&&w({height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}},"small"===r.size&&{width:2},r.marked&&{marginRight:44}),(s(t={"@media print":{colorAdjust:"exact"}},"&.".concat(Ed.disabled),{pointerEvents:"none",cursor:"default",color:(n.vars||n).palette.grey[400]}),s(t,"&.".concat(Ed.dragging),s({},"& .".concat(Ed.thumb,", & .").concat(Ed.track),{transition:"none"})),t))})),Nd=vd("span",{name:"MuiSlider",slot:"Rail",overridesResolver:function(e,t){return t.rail}})((function(e){var t=e.ownerState;return w({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38},"horizontal"===t.orientation&&{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"},"vertical"===t.orientation&&{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"},"inverted"===t.track&&{opacity:1})})),Pd=vd("span",{name:"MuiSlider",slot:"Track",overridesResolver:function(e,t){return t.track}})((function(e){var t=e.theme,n=e.ownerState,r="light"===t.palette.mode?Uu(t.palette[n.color].main,.62):Bu(t.palette[n.color].main,.5);return w({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:t.transitions.create(["left","width","bottom","height"],{duration:t.transitions.duration.shortest})},"small"===n.size&&{border:"none"},"horizontal"===n.orientation&&{height:"inherit",top:"50%",transform:"translateY(-50%)"},"vertical"===n.orientation&&{width:"inherit",left:"50%",transform:"translateX(-50%)"},!1===n.track&&{display:"none"},"inverted"===n.track&&{backgroundColor:t.vars?t.vars.palette.Slider["".concat(n.color,"Track")]:r,borderColor:t.vars?t.vars.palette.Slider["".concat(n.color,"Track")]:r})})),Td=vd("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:function(e,t){var n=e.ownerState;return[t.thumb,t["thumbColor".concat(yd(n.color))],"medium"!==n.size&&t["thumbSize".concat(yd(n.size))]]}})((function(e){var t,n=e.theme,r=e.ownerState;return w({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:n.transitions.create(["box-shadow","left","bottom"],{duration:n.transitions.duration.shortest})},"small"===r.size&&{width:12,height:12},"horizontal"===r.orientation&&{top:"50%",transform:"translate(-50%, -50%)"},"vertical"===r.orientation&&{left:"50%",transform:"translate(-50%, 50%)"},(s(t={"&:before":w({position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(n.vars||n).shadows[2]},"small"===r.size&&{boxShadow:"none"}),"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"}},"&:hover, &.".concat(Ed.focusVisible),{boxShadow:"0px 0px 0px 8px ".concat(n.vars?"rgba(".concat(n.vars.palette[r.color].mainChannel," / 0.16)"):Du(n.palette[r.color].main,.16)),"@media (hover: none)":{boxShadow:"none"}}),s(t,"&.".concat(Ed.active),{boxShadow:"0px 0px 0px 14px ".concat(n.vars?"rgba(".concat(n.vars.palette[r.color].mainChannel," / 0.16)"):Du(n.palette[r.color].main,.16))}),s(t,"&.".concat(Ed.disabled),{"&:hover":{boxShadow:"none"}}),t))})),jd=vd((function(e){var t=e.children,n=e.className,r=e.value,o=function(e){var t=e.open;return{offset:eu(t&&Ed.valueLabelOpen),circle:Ed.valueLabelCircle,label:Ed.valueLabelLabel}}(e);return t?p.cloneElement(t,{className:eu(t.props.className)},(0,N.jsxs)(p.Fragment,{children:[t.props.children,(0,N.jsx)("span",{className:eu(o.offset,n),"aria-hidden":!0,children:(0,N.jsx)("span",{className:o.circle,children:(0,N.jsx)("span",{className:o.label,children:r})})})]})):null}),{name:"MuiSlider",slot:"ValueLabel",overridesResolver:function(e,t){return t.valueLabel}})((function(e){var t,n=e.theme,r=e.ownerState;return w((s(t={},"&.".concat(Ed.valueLabelOpen),{transform:"".concat("vertical"===r.orientation?"translateY(-50%)":"translateY(-100%)"," scale(1)")}),s(t,"zIndex",1),s(t,"whiteSpace","nowrap"),t),n.typography.body2,{fontWeight:500,transition:n.transitions.create(["transform"],{duration:n.transitions.duration.shortest}),transform:"".concat("vertical"===r.orientation?"translateY(-50%)":"translateY(-100%)"," scale(0)"),position:"absolute",backgroundColor:(n.vars||n).palette.grey[600],borderRadius:2,color:(n.vars||n).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem"},"horizontal"===r.orientation&&{top:"-10px",transformOrigin:"bottom center","&:before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"}},"vertical"===r.orientation&&{right:"small"===r.size?"20px":"30px",top:"50%",transformOrigin:"right center","&:before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"}},"small"===r.size&&{fontSize:n.typography.pxToRem(12),padding:"0.25rem 0.5rem"})})),Rd=vd("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:function(e){return pd(e)&&"markActive"!==e},overridesResolver:function(e,t){var n=e.markActive;return[t.mark,n&&t.markActive]}})((function(e){var t=e.theme,n=e.ownerState,r=e.markActive;return w({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor"},"horizontal"===n.orientation&&{top:"50%",transform:"translate(-1px, -50%)"},"vertical"===n.orientation&&{left:"50%",transform:"translate(-50%, 1px)"},r&&{backgroundColor:(t.vars||t).palette.background.paper,opacity:.8})})),Ld=vd("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:function(e){return pd(e)&&"markLabelActive"!==e},overridesResolver:function(e,t){return t.markLabel}})((function(e){var t=e.theme,n=e.ownerState,r=e.markLabelActive;return w({},t.typography.body2,{color:(t.vars||t).palette.text.secondary,position:"absolute",whiteSpace:"nowrap"},"horizontal"===n.orientation&&{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}},"vertical"===n.orientation&&{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}},r&&{color:(t.vars||t).palette.text.primary})})),Ad=function(e){var t=e.disabled,n=e.dragging,r=e.marked,o=e.orientation,a=e.track,i=e.classes,l=e.color,u=e.size;return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r={};return Object.keys(e).forEach((function(o){r[o]=e[o].reduce((function(e,r){if(r){var o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}({root:["root",t&&"disabled",n&&"dragging",r&&"marked","vertical"===o&&"vertical","inverted"===a&&"trackInverted",!1===a&&"trackFalse",l&&"color".concat(yd(l)),u&&"size".concat(yd(u))],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",u&&"thumbSize".concat(yd(u)),l&&"thumbColor".concat(yd(l))],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]},kd,i)},zd=function(e){return e.children},Id=p.forwardRef((function(e,t){var n,r,o,a,i,l,u,s,c,f,d,h,m,y,g,b,x,k,S,E,C,O,_,P,T=Xf({props:e,name:"MuiSlider"}),j="rtl"===function(){var e=gf(Yf);return e[Gf]||e}().direction,R=T["aria-label"],L=T["aria-valuetext"],A=T["aria-labelledby"],z=T.component,I=void 0===z?"span":z,M=T.components,F=void 0===M?{}:M,D=T.componentsProps,B=void 0===D?{}:D,U=T.color,V=void 0===U?"primary":U,H=T.classes,W=T.className,$=T.disableSwap,q=void 0!==$&&$,K=T.disabled,Q=void 0!==K&&K,Y=T.getAriaLabel,G=T.getAriaValueText,X=T.marks,J=void 0!==X&&X,Z=T.max,ee=void 0===Z?100:Z,te=T.min,ne=void 0===te?0:te,re=T.orientation,oe=void 0===re?"horizontal":re,ae=T.size,ie=void 0===ae?"medium":ae,le=T.step,ue=void 0===le?1:le,se=T.scale,ce=void 0===se?Od:se,fe=T.slotProps,de=T.slots,pe=T.track,he=void 0===pe?"normal":pe,ve=T.valueLabelDisplay,me=void 0===ve?"off":ve,ye=T.valueLabelFormat,ge=void 0===ye?Od:ye,be=v(T,Cd),we=w({},T,{isRtl:j,max:ee,min:ne,classes:H,disabled:Q,disableSwap:q,orientation:oe,marks:J,color:V,size:ie,step:ue,scale:ce,track:he,valueLabelDisplay:me,valueLabelFormat:ge}),xe=Lu(w({},we,{rootRef:t})),ke=xe.axisProps,Se=xe.getRootProps,Ee=xe.getHiddenInputProps,Ce=xe.getThumbProps,Oe=xe.open,_e=xe.active,Ne=xe.axis,Pe=xe.focusedThumbIndex,Te=xe.range,je=xe.dragging,Re=xe.marks,Le=xe.values,Ae=xe.trackOffset,ze=xe.trackLeap,Ie=xe.getThumbStyle;we.marked=Re.length>0&&Re.some((function(e){return e.label})),we.dragging=je,we.focusedThumbIndex=Pe;var Me=Ad(we),Fe=null!=(n=null!=(r=null==de?void 0:de.root)?r:F.Root)?n:_d,De=null!=(o=null!=(a=null==de?void 0:de.rail)?a:F.Rail)?o:Nd,Be=null!=(i=null!=(l=null==de?void 0:de.track)?l:F.Track)?i:Pd,Ue=null!=(u=null!=(s=null==de?void 0:de.thumb)?s:F.Thumb)?u:Td,Ve=null!=(c=null!=(f=null==de?void 0:de.valueLabel)?f:F.ValueLabel)?c:jd,He=null!=(d=null!=(h=null==de?void 0:de.mark)?h:F.Mark)?d:Rd,We=null!=(m=null!=(y=null==de?void 0:de.markLabel)?y:F.MarkLabel)?m:Ld,$e=null!=(g=null!=(b=null==de?void 0:de.input)?b:F.Input)?g:"input",qe=null!=(x=null==fe?void 0:fe.root)?x:B.root,Ke=null!=(k=null==fe?void 0:fe.rail)?k:B.rail,Qe=null!=(S=null==fe?void 0:fe.track)?S:B.track,Ye=null!=(E=null==fe?void 0:fe.thumb)?E:B.thumb,Ge=null!=(C=null==fe?void 0:fe.valueLabel)?C:B.valueLabel,Xe=null!=(O=null==fe?void 0:fe.mark)?O:B.mark,Je=null!=(_=null==fe?void 0:fe.markLabel)?_:B.markLabel,Ze=null!=(P=null==fe?void 0:fe.input)?P:B.input,et=iu({elementType:Fe,getSlotProps:Se,externalSlotProps:qe,externalForwardedProps:be,additionalProps:w({},md(Fe)&&{as:I}),ownerState:w({},we,null==qe?void 0:qe.ownerState),className:[Me.root,W]}),tt=iu({elementType:De,externalSlotProps:Ke,ownerState:we,className:Me.rail}),nt=iu({elementType:Be,externalSlotProps:Qe,additionalProps:{style:w({},ke[Ne].offset(Ae),ke[Ne].leap(ze))},ownerState:w({},we,null==Qe?void 0:Qe.ownerState),className:Me.track}),rt=iu({elementType:Ue,getSlotProps:Ce,externalSlotProps:Ye,ownerState:w({},we,null==Ye?void 0:Ye.ownerState),className:Me.thumb}),ot=iu({elementType:Ve,externalSlotProps:Ge,ownerState:w({},we,null==Ge?void 0:Ge.ownerState),className:Me.valueLabel}),at=iu({elementType:He,externalSlotProps:Xe,ownerState:we,className:Me.mark}),it=iu({elementType:We,externalSlotProps:Je,ownerState:we,className:Me.markLabel}),lt=iu({elementType:$e,getSlotProps:Ee,externalSlotProps:Ze,ownerState:we});return(0,N.jsxs)(Fe,w({},et,{children:[(0,N.jsx)(De,w({},tt)),(0,N.jsx)(Be,w({},nt)),Re.filter((function(e){return e.value>=ne&&e.value<=ee})).map((function(e,t){var n,r=Eu(e.value,ne,ee),o=ke[Ne].offset(r);return n=!1===he?-1!==Le.indexOf(e.value):"normal"===he&&(Te?e.value>=Le[0]&&e.value<=Le[Le.length-1]:e.value<=Le[0])||"inverted"===he&&(Te?e.value<=Le[0]||e.value>=Le[Le.length-1]:e.value>=Le[0]),(0,N.jsxs)(p.Fragment,{children:[(0,N.jsx)(He,w({"data-index":t},at,!nu(He)&&{markActive:n},{style:w({},o,at.style),className:eu(at.className,n&&Me.markActive)})),null!=e.label?(0,N.jsx)(We,w({"aria-hidden":!0,"data-index":t},it,!nu(We)&&{markLabelActive:n},{style:w({},o,it.style),className:eu(Me.markLabel,it.className,n&&Me.markLabelActive),children:e.label})):null]},t)})),Le.map((function(e,t){var n=Eu(e,ne,ee),r=ke[Ne].offset(n),o="off"===me?zd:Ve;return(0,N.jsx)(o,w({},!nu(o)&&{valueLabelFormat:ge,valueLabelDisplay:me,value:"function"===typeof ge?ge(ce(e),t):ge,index:t,open:Oe===t||_e===t||"on"===me,disabled:Q},ot,{children:(0,N.jsx)(Ue,w({"data-index":t},rt,{className:eu(Me.thumb,rt.className,_e===t&&Me.active,Pe===t&&Me.focusVisible),style:w({},r,Ie(t),rt.style),children:(0,N.jsx)($e,w({"data-index":t,"aria-label":Y?Y(t):R,"aria-valuenow":ce(e),"aria-labelledby":A,"aria-valuetext":G?G(ce(e),t):L,value:Le[t]},lt))}))}),t)}))]}))})),Md=Id,Fd=p.memo((function(e){var t=(0,p.useRef)(0),n=i((0,p.useState)(!1),2),r=n[0],o=n[1];(0,p.useEffect)((function(){t.current++}));var a=e.name,l=e.parent_path,u=e.value,s=e.min,c=e.max,f=e.stepSize,d=e.readOnly,h=e.docString,v=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.min,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.max,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.stepSize;Qo(a,l,{value:t,min:n,max:r,step_size:o})},m=function(e,t){switch(t){case"min":v(u,e,c,f);break;case"max":v(u,s,e,f);break;case"stepSize":v(u,s,c,e)}};return(0,N.jsxs)("div",{className:"sliderComponent",id:l.concat("."+a),children:[!1,(0,N.jsx)(Ul,{docString:h}),(0,N.jsx)(Jl,{children:(0,N.jsxs)(Qn,{className:"col-5 d-flex align-items-center",children:[(0,N.jsx)(Ql.Text,{children:a}),(0,N.jsx)(Md,{style:{flex:1,margin:"0px 0px 5px 10px"},"aria-label":"Always visible",valueLabelDisplay:"on",disabled:d,value:u,onChange:function(e,t){return function(e,t){Array.isArray(t)&&(t=t[0]),v(t,s,c,f)}(0,t)},min:s,max:c,step:f,marks:[{value:s,label:"".concat(s)},{value:c,label:"".concat(c)}]})]})}),(0,N.jsxs)(Jl,{xs:"auto",children:[(0,N.jsx)(Ta,{onClick:function(){return o(!r)},"aria-controls":"slider-settings","aria-expanded":r,children:"Settings"}),(0,N.jsx)(Te,{in:r,children:(0,N.jsx)("div",{id:"slider-settings",children:(0,N.jsxs)(vr.Group,{children:[(0,N.jsx)(vr.Label,{children:"Min Value"}),(0,N.jsx)(vr.Control,{type:"number",value:s,onChange:function(e){return m(Number(e.target.value),"min")}}),(0,N.jsx)(vr.Label,{children:"Max Value"}),(0,N.jsx)(vr.Control,{type:"number",value:c,onChange:function(e){return m(Number(e.target.value),"max")}}),(0,N.jsx)(vr.Label,{children:"Step Size"}),(0,N.jsx)(vr.Control,{type:"number",value:f,onChange:function(e){return m(Number(e.target.value),"stepSize")}})]})})})]})]})})),Dd=p.memo((function(e){var t=(0,p.useRef)(0);(0,p.useEffect)((function(){t.current++}));var n=e.name,r=e.parent_path,o=e.value,a=e.docString,l=e.enumDict;return(0,N.jsxs)("div",{className:"enumComponent",id:r.concat("."+n),children:[!1,(0,N.jsx)(Ul,{docString:a}),(0,N.jsx)(Jl,{children:(0,N.jsxs)(Qn,{className:"col-5 d-flex align-items-center",children:[(0,N.jsx)(Ql.Text,{children:n}),(0,N.jsx)(vr.Select,{"aria-label":"Default select example",value:o,onChange:function(e){return t=e.target.value,void Qo(n,r,t);var t},children:Object.entries(l).map((function(e){var t=i(e,2),n=t[0],r=t[1];return(0,N.jsxs)("option",{value:n,children:[n," - ",r]},n)}))})]})})]})}));function Bd(){Bd=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(tp){s=function(e,t,n){return e[t]=n}}function c(e,t,n,o){var a=t&&t.prototype instanceof p?t:p,i=Object.create(a.prototype),l=new O(o||[]);return r(i,"_invoke",{value:k(e,n,l)}),i}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(tp){return{type:"throw",arg:tp}}}e.wrap=c;var d={};function p(){}function h(){}function v(){}var m={};s(m,a,(function(){return this}));var y=Object.getPrototypeOf,g=y&&y(y(_([])));g&&g!==t&&n.call(g,a)&&(m=g);var b=v.prototype=p.prototype=Object.create(m);function w(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function o(r,a,i,u){var s=f(e[r],e,a);if("throw"!==s.type){var c=s.arg,d=c.value;return d&&"object"==l(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,i,u)}),(function(e){o("throw",e,i,u)})):t.resolve(d).then((function(e){c.value=e,i(c)}),(function(e){return o("throw",e,i,u)}))}u(s.arg)}var a;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return a=a?a.then(r,r):r()}})}function k(e,t,n){var r="suspendedStart";return function(o,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw a;return N()}for(n.method=o,n.arg=a;;){var i=n.delegate;if(i){var l=S(i,n);if(l){if(l===d)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=f(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function S(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)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")),d;var o=f(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var a=o.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,d):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function E(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 C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function _(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 r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:N}}function N(){return{value:void 0,done:!0}}return h.prototype=v,r(b,"constructor",{value:v,configurable:!0}),r(v,"constructor",{value:h,configurable:!0}),h.displayName=s(v,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,s(e,u,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},w(x.prototype),s(x.prototype,i,(function(){return this})),e.AsyncIterator=x,e.async=function(t,n,r,o,a){void 0===a&&(a=Promise);var i=new x(c(t,n,r,o),a);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},w(b),s(b,u,"Generator"),s(b,a,(function(){return this})),s(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=_,O.prototype={constructor:O,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(C),!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 r(n,r){return i.type="throw",i.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(l&&u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,d):this.complete(i)},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),d},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),C(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;C(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:_(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function Ud(e,t,n,r,o,a,i){try{var l=e[a](i),u=l.value}catch(s){return void n(s)}l.done?t(u):Promise.resolve(u).then(r,o)}function Vd(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){Ud(a,r,o,i,l,"next",e)}function l(e){Ud(a,r,o,i,l,"throw",e)}i(void 0)}))}}var Hd=p.memo((function(e){var t=(0,p.useRef)(0),n=i((0,p.useState)(!1),2),r=n[0],o=n[1],a=i((0,p.useState)([]),2),l=a[0],u=a[1],s=e.name,c=e.parent_path,f=e.docString,d=function(){var t=Vd(Bd().mark((function t(n){var r;return Bd().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n.preventDefault(),r={},Object.keys(e.parameters).forEach((function(e){return r[e]=n.target[e].value})),Qo(s,c,{args:r},(function(e){void 0!==e&&u((function(t){return[].concat(Je(t),[{name:s,args:r,result:e}])}))}));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();(0,p.useEffect)((function(){t.current++,void 0!==e.hideOutput&&o(e.hideOutput)}));var h=Object.entries(e.parameters).map((function(e,t){var n=i(e,2),r=n[0],o=n[1],a="".concat(r," (").concat(o,")");return(0,N.jsxs)(Ql,{children:[(0,N.jsx)(Ql.Text,{className:"component-label",children:a}),(0,N.jsx)(vr.Control,{type:"text",name:r})]},t)}));return(0,N.jsxs)("div",{className:"col-5 align-items-center methodComponent",id:c.concat("."+s),children:[!1,(0,N.jsxs)("h5",{onClick:function(){return o(!r)},style:{cursor:"pointer"},children:["Function: ",s,(0,N.jsx)(Ul,{docString:f})]}),(0,N.jsxs)(vr,{onSubmit:d,children:[h,(0,N.jsx)("div",{children:(0,N.jsx)(Ta,{variant:"primary",type:"submit",children:"Execute"})})]}),(0,N.jsx)(Te,{in:!r,children:(0,N.jsx)("div",{id:"function-output",children:l.map((function(e,t){return(0,N.jsx)("div",{children:(0,N.jsx)("div",{style:{color:"grey",fontSize:"small"},children:Object.entries(e.args).map((function(e){var t=i(e,2),n=t[0],r=t[1];return"".concat(n,"=").concat(JSON.stringify(r))})).join(", ")+" => "+JSON.stringify(e.result)})},t)}))})})]})})),Wd=p.memo((function(e){var t=(0,p.useRef)(0),n=(0,p.useRef)(null),r=e.name,o=e.parent_path,a=e.docString,l=e.value,u=function(){var t=Vd(Bd().mark((function t(n){var a,i;return Bd().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n.preventDefault(),i={},void 0!==l&&null!==l?a="stop_".concat(r):(Object.keys(e.parameters).forEach((function(e){return i[e]=n.target[e].value})),a="start_".concat(r)),Qo(a,o,{args:i});case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();(0,p.useEffect)((function(){if(t.current++,l){var e=n.current;e&&Object.entries(l).forEach((function(t){var n=i(t,2),r=n[0],o=n[1],a=e.elements.namedItem(r);a&&(a.value=o)}))}}),[l]);var s=Object.entries(e.parameters).map((function(e,t){var n=i(e,2),r=n[0],o=n[1],a="".concat(r," (").concat(o,")"),u=l&&l[r],s=void 0!==u&&null!==u;return(0,N.jsxs)(Ql,{children:[(0,N.jsx)(Ql.Text,{className:"component-label",children:a}),(0,N.jsx)(vr.Control,{type:"text",name:r,defaultValue:s?u:"",disabled:s})]},t)}));return(0,N.jsxs)("div",{className:"col-5 align-items-center asyncMethodComponent",id:o.concat("."+r),children:[!1,(0,N.jsxs)("h5",{children:["Function: ",r,(0,N.jsx)(Ul,{docString:a})]}),(0,N.jsxs)(vr,{onSubmit:u,ref:n,children:[s,(0,N.jsx)(Ta,{id:"button-".concat(o,".").concat(r),name:r,value:o,type:"submit",children:l?"Stop":"Start"})]})]})})),$d=p.memo((function(e){var t=(0,p.useRef)(0),n=i((0,p.useState)(e.value),2),r=n[0],o=n[1],a=e.name,l=e.parent_path,u=e.readOnly,s=e.docString,c=e.isInstantUpdate;(0,p.useEffect)((function(){t.current++}),[c,r,t]),(0,p.useEffect)((function(){e.value!==r&&o(e.value)}),[e.value]);return(0,N.jsxs)("div",{className:"stringComponent",id:l.concat(a),children:[!1,(0,N.jsx)(Ul,{docString:s}),(0,N.jsx)("div",{className:"row",children:(0,N.jsx)("div",{className:"col-5 d-flex",children:(0,N.jsxs)(Ql,{children:[(0,N.jsx)(Ql.Text,{children:a}),(0,N.jsx)(vr.Control,{type:"text",value:r,disabled:u,name:a,onChange:function(e){o(e.target.value),c&&Qo(a,l,e.target.value)},onKeyDown:function(e){"Enter"!==e.key||c||Qo(a,l,r)},onBlur:function(){c||Qo(a,l,r)},className:c&&!u?"instantUpdate":""})]})})})]})})),qd=p.memo((function(e){var t=(0,p.useRef)(0);(0,p.useEffect)((function(){t.current++}));var n=e.name,r=e.parent_path,o=e.value,a=e.docString,i=e.isInstantUpdate;return(0,N.jsxs)("div",{className:"listComponent",id:r.concat(n),children:[!1,(0,N.jsx)(Ul,{docString:a}),o.map((function(e,t){return(0,N.jsx)(Kd,{attribute:e,name:"".concat(n,"[").concat(t,"]"),parentPath:r,isInstantUpdate:i},"".concat(n,"[").concat(t,"]"))}))]})})),Kd=p.memo((function(e){var t=e.attribute,n=e.name,r=e.parentPath,o=e.isInstantUpdate;return"bool"===t.type?(0,N.jsx)(Vl,{name:n,parent_path:r,docString:t.doc,readOnly:t.readonly,value:Boolean(t.value)}):"float"===t.type||"int"===t.type?(0,N.jsx)(Yl,{name:n,type:t.type,parent_path:r,docString:t.doc,readOnly:t.readonly,value:Number(t.value),isInstantUpdate:o}):"NumberSlider"===t.type?(0,N.jsx)(Fd,{name:n,parent_path:r,docString:t.doc,readOnly:t.readonly,value:t.value.value.value,min:t.value.min.value,max:t.value.max.value,stepSize:t.value.step_size.value,isInstantUpdate:o}):"Enum"===t.type?(0,N.jsx)(Dd,{name:n,parent_path:r,docString:t.doc,value:String(t.value),enumDict:t.enum}):"method"===t.type?t.async?(0,N.jsx)(Wd,{name:n,parent_path:r,docString:t.doc,parameters:t.parameters,value:t.value}):(0,N.jsx)(Hd,{name:n,parent_path:r,docString:t.doc,parameters:t.parameters}):"str"===t.type?(0,N.jsx)($d,{name:n,value:t.value,readOnly:t.readonly,docString:t.doc,parent_path:r,isInstantUpdate:o}):"DataService"===t.type?(0,N.jsx)(Qd,{props:t.value,parentPath:r.concat(".",n),isInstantUpdate:o}):"list"===t.type?(0,N.jsx)(qd,{name:n,value:t.value,docString:t.doc,parent_path:r,isInstantUpdate:o}):(0,N.jsx)("div",{children:n},n)})),Qd=p.memo((function(e){var t=e.props,n=e.parentPath,r=void 0===n?"DataService":n,o=e.isInstantUpdate,a=i((0,p.useState)(!0),2),l=a[0],u=a[1];return(0,N.jsx)("div",{className:"dataServiceComponent",children:(0,N.jsxs)(ha,{className:"mb-3",children:[(0,N.jsxs)(ha.Header,{onClick:function(){return u(!l)},style:{cursor:"pointer"},children:[r," ",l?(0,N.jsx)(ba,{}):(0,N.jsx)(Ea,{})]}),(0,N.jsx)(Te,{in:l,children:(0,N.jsx)(ha.Body,{children:Object.entries(t).map((function(e){var t=i(e,2),n=t[0],a=t[1];return(0,N.jsx)(Kd,{attribute:a,name:n,parentPath:r,isInstantUpdate:o},n)}))})})]})})}));function Yd(e,n,r){if(0===e.length)return r;var i,l,u=t(i=e)||d(i)||o(i)||a(),c=u[0],p=u.slice(1),h=c.match(/^(\w+)\[(\d+)\]$/);if(h){var v,m,y=h[1],g=parseInt(h[2]);if(Array.isArray(null===(v=n[y])||void 0===v?void 0:v.value))return f(f({},n),{},s({},y,f(f({},n[y]),{},{value:n[y].value.map((function(e,t){return t===g?f(f({},e),{},{value:Yd(p,e.value||{},r)}):e}))})));throw new Error("Expected ".concat(y,".value to be an array, but received ").concat(typeof(null===(m=n[y])||void 0===m?void 0:m.value)))}return f(f({},n),{},s({},c,f(f({},n[c]),{},{value:Yd(p,(null===(l=n[c])||void 0===l?void 0:l.value)||{},r)})))}var Gd=function(e,t){switch(t.type){case"SET_DATA":return t.data;case"UPDATE_ATTRIBUTE":return Yd(t.parent_path.split(".").slice(1).concat(t.name),e,t.value);default:throw new Error}},Xd=function(){var e=i((0,p.useReducer)(Gd,null),2),t=e[0],n=e[1],r=i((0,p.useState)(!0),2),o=r[0],a=r[1],l=i((0,p.useState)(!1),2),u=l[0],s=l[1];return(0,p.useEffect)((function(){function e(e){n({type:"UPDATE_ATTRIBUTE",parent_path:e.data.parent_path,name:e.data.name,value:e.data.value})}return fetch("http://".concat(Wo,":").concat($o,"/service-properties")).then((function(e){return e.json()})).then((function(e){return n({type:"SET_DATA",data:e})})),Ko.on("notify",e),function(){Ko.off("notify",e)}}),[]),t?(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(gn,{expand:!1,bg:"primary",variant:"dark",fixed:"top",children:(0,N.jsxs)(xn,{fluid:!0,children:[(0,N.jsx)(gn.Brand,{href:"#home",children:"My App"}),(0,N.jsx)(gn.Toggle,{"aria-controls":"offcanvasNavbar",onClick:function(){return s(!0)}})]})}),(0,N.jsxs)(dn,{show:u,onHide:function(){return s(!1)},placement:"end",children:[(0,N.jsx)(dn.Header,{closeButton:!0,children:(0,N.jsx)(dn.Title,{children:"Settings"})}),(0,N.jsx)(dn.Body,{children:(0,N.jsx)(vr.Check,{checked:o,onChange:function(e){return a(e.target.checked)},type:"switch",label:"Enable Instant Update"})})]}),(0,N.jsx)("div",{className:"App",children:(0,N.jsx)(Qd,{props:t,isInstantUpdate:o})})]}):(0,N.jsx)("p",{children:"Loading..."})},Jd=n(250),Zd=document.getElementById("root");(0,Jd.s)(Zd).render((0,N.jsx)(Xd,{}))}()}();
|
|
//# sourceMappingURL=main.d2fd5251.js.map
|