mirror of
https://github.com/lemeow125/React-NotesApp.git
synced 2024-11-17 14:39:28 +08:00
3 lines
No EOL
410 KiB
JavaScript
3 lines
No EOL
410 KiB
JavaScript
/*! For license information please see main.97040878.js.LICENSE.txt */
|
|
!function(){var e={110:function(e,t,n){"use strict";var r=n(309),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function l(e){return r.isMemo(e)?a:u[e.$$typeof]||o}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u[r.Memo]=a;var s=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=c(n);f&&(a=a.concat(f(n)));for(var u=l(t),v=l(n),m=0;m<a.length;++m){var y=a[m];if(!i[y]&&(!r||!r[y])&&(!v||!v[y])&&(!u||!u[y])){var g=d(n,y);try{s(t,y,g)}catch(b){}}}}return t}},746:function(e,t){"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,s=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,v=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,g=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case f:case i:case u:case a:case p:return e;default:switch(e=e&&e.$$typeof){case s:case d:case m:case v:case l:return e;default:return t}}case o:return t}}}function k(e){return x(e)===f}t.AsyncMode=c,t.ConcurrentMode=f,t.ContextConsumer=s,t.ContextProvider=l,t.Element=r,t.ForwardRef=d,t.Fragment=i,t.Lazy=m,t.Memo=v,t.Portal=o,t.Profiler=u,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return k(e)||x(e)===c},t.isConcurrentMode=k,t.isContextConsumer=function(e){return x(e)===s},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===d},t.isFragment=function(e){return x(e)===i},t.isLazy=function(e){return x(e)===m},t.isMemo=function(e){return x(e)===v},t.isPortal=function(e){return x(e)===o},t.isProfiler=function(e){return x(e)===u},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===f||e===u||e===a||e===p||e===h||"object"===typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===v||e.$$typeof===l||e.$$typeof===s||e.$$typeof===d||e.$$typeof===g||e.$$typeof===b||e.$$typeof===w||e.$$typeof===y)},t.typeOf=x},309:function(e,t,n){"use strict";e.exports=n(746)},463:function(e,t,n){"use strict";var r=n(791),o=n(296);function i(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 a=new Set,u={};function l(e,t){s(e,t),s(e+"Capture",t)}function s(e,t){for(u[e]=t,e=0;e<t.length;e++)a.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,i,a){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=i,this.removeEmptyString=a}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"),P=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),A=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var N=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var L=Symbol.iterator;function M(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=L&&e[L]||e["@@iterator"])?e:null}var D,F=Object.assign;function z(e){if(void 0===D)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);D=t&&t[1]||""}return"\n"+D+e}var I=!1;function U(e,t){if(!e||I)return"";I=!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"),i=r.stack.split("\n"),a=o.length-1,u=i.length-1;1<=a&&0<=u&&o[a]!==i[u];)u--;for(;1<=a&&0<=u;a--,u--)if(o[a]!==i[u]){if(1!==a||1!==u)do{if(a--,0>--u||o[a]!==i[u]){var l="\n"+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=a&&0<=u);break}}}finally{I=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?z(e):""}function B(e){switch(e.tag){case 5:return z(e.type);case 16:return z("Lazy");case 13:return z("Suspense");case 19:return z("SuspenseList");case 0:case 2:case 15:return e=U(e.type,!1);case 11:return e=U(e.type.render,!1);case 1:return e=U(e.type,!0);default:return""}}function q(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 R:return"Suspense";case j:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case _:return(e.displayName||"Context")+".Consumer";case O:return(e._context.displayName||"Context")+".Provider";case P:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case T:return null!==(t=e.displayName||null)?t:q(e.type)||"Memo";case A:t=e._payload,e=e._init;try{return q(e(t))}catch(n){}}return null}function V(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 q(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 Q(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function $(e){e._valueTracker||(e._valueTracker=function(e){var t=W(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,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.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=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function H(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 Z(e,t){var n=t.checked;return F({},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=Q(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 Y(e,t){X(e,t);var n=Q(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,Q(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(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&&H(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=""+Q(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(i(91));return F({},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(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Q(n)}}function ie(e,t){var n=Q(t.value),r=Q(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 ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ue(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ue(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=F({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(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(i(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(i(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 Pe(e,t){return e(t)}function Re(){}var je=!1;function Te(e,t,n){if(je)return e(t,n);je=!0;try{return Pe(e,t,n)}finally{je=!1,(null!==Se||null!==Ee)&&(Re(),_e())}}function Ae(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(i(231,t,typeof n));return n}var Ne=!1;if(c)try{var Le={};Object.defineProperty(Le,"passive",{get:function(){Ne=!0}}),window.addEventListener("test",Le,Le),window.removeEventListener("test",Le,Le)}catch(ce){Ne=!1}function Me(e,t,n,r,o,i,a,u,l){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(c){this.onError(c)}}var De=!1,Fe=null,ze=!1,Ie=null,Ue={onError:function(e){De=!0,Fe=e}};function Be(e,t,n,r,o,i,a,u,l){De=!1,Fe=null,Me.apply(Ue,arguments)}function qe(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 Ve(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 Qe(e){if(qe(e)!==e)throw Error(i(188))}function We(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=qe(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return Qe(o),e;if(a===r)return Qe(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var u=!1,l=o.child;l;){if(l===n){u=!0,n=o,r=a;break}if(l===r){u=!0,r=o,n=a;break}l=l.sibling}if(!u){for(l=a.child;l;){if(l===n){u=!0,n=a,r=o;break}if(l===r){u=!0,r=a,n=o;break}l=l.sibling}if(!u)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?$e(e):null}function $e(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=$e(e);if(null!==t)return t;e=e.sibling}return null}var Ke=o.unstable_scheduleCallback,He=o.unstable_cancelCallback,Ze=o.unstable_shouldYield,Ge=o.unstable_requestPaint,Xe=o.unstable_now,Ye=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,it=null;var at=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(ut(e)/lt|0)|0},ut=Math.log,lt=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,i=e.pingedLanes,a=268435455&n;if(0!==a){var u=a&~o;0!==u?r=ft(u):0!==(i&=a)&&(r=ft(i))}else 0!==(a=n&~o)?r=ft(a):0!==i&&(r=ft(i));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&0!==(4194240&i)))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-at(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-at(t)]=n}function gt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(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=[],Pt=null,Rt=null,jt=null,Tt=new Map,At=new Map,Nt=[],Lt="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 Mt(e,t){switch(e){case"focusin":case"focusout":Pt=null;break;case"dragenter":case"dragleave":Rt=null;break;case"mouseover":case"mouseout":jt=null;break;case"pointerover":case"pointerout":Tt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":At.delete(t.pointerId)}}function Dt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,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 Ft(e){var t=bo(e.target);if(null!==t){var n=qe(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ve(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 zt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Zt(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 It(e,t,n){zt(e)&&n.delete(t)}function Ut(){Ot=!1,null!==Pt&&zt(Pt)&&(Pt=null),null!==Rt&&zt(Rt)&&(Rt=null),null!==jt&&zt(jt)&&(jt=null),Tt.forEach(It),At.forEach(It)}function Bt(e,t){e.blockedOn===t&&(e.blockedOn=null,Ot||(Ot=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Ut)))}function qt(e){function t(t){return Bt(t,e)}if(0<_t.length){Bt(_t[0],e);for(var n=1;n<_t.length;n++){var r=_t[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Pt&&Bt(Pt,e),null!==Rt&&Bt(Rt,e),null!==jt&&Bt(jt,e),Tt.forEach(t),At.forEach(t),n=0;n<Nt.length;n++)(r=Nt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Nt.length&&null===(n=Nt[0]).blockedOn;)Ft(n),null===n.blockedOn&&Nt.shift()}var Vt=w.ReactCurrentBatchConfig,Qt=!0;function Wt(e,t,n,r){var o=bt,i=Vt.transition;Vt.transition=null;try{bt=1,Kt(e,t,n,r)}finally{bt=o,Vt.transition=i}}function $t(e,t,n,r){var o=bt,i=Vt.transition;Vt.transition=null;try{bt=4,Kt(e,t,n,r)}finally{bt=o,Vt.transition=i}}function Kt(e,t,n,r){if(Qt){var o=Zt(e,t,n,r);if(null===o)Qr(e,t,r,Ht,n),Mt(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Pt=Dt(Pt,e,t,n,r,o),!0;case"dragenter":return Rt=Dt(Rt,e,t,n,r,o),!0;case"mouseover":return jt=Dt(jt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Tt.set(i,Dt(Tt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,At.set(i,Dt(At.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Mt(e,r),4&t&&-1<Lt.indexOf(e)){for(;null!==o;){var i=wo(o);if(null!==i&&xt(i),null===(i=Zt(e,t,n,r))&&Qr(e,t,r,Ht,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Qr(e,t,r,null,n)}}var Ht=null;function Zt(e,t,n,r){if(Ht=null,null!==(e=bo(e=xe(r))))if(null===(t=qe(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ve(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 Ht=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(Ye()){case Je: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,Yt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Yt,r=n.length,o="value"in Xt?Xt.value:Xt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Jt=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,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return F(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,un,ln,sn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=on(sn),fn=F({},sn,{view:0,detail:0}),dn=on(fn),pn=F({},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!==ln&&(ln&&"mousemove"===e.type?(an=e.screenX-ln.screenX,un=e.screenY-ln.screenY):un=an=0,ln=e),an)},movementY:function(e){return"movementY"in e?e.movementY:un}}),hn=on(pn),vn=on(F({},pn,{dataTransfer:0})),mn=on(F({},fn,{relatedTarget:0})),yn=on(F({},sn,{animationName:0,elapsedTime:0,pseudoElement:0})),gn=F({},sn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(gn),wn=on(F({},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=F({},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),Pn=on(F({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Rn=on(F({},fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),jn=on(F({},sn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Tn=F({},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}),An=on(Tn),Nn=[9,13,27,32],Ln=c&&"CompositionEvent"in window,Mn=null;c&&"documentMode"in document&&(Mn=document.documentMode);var Dn=c&&"TextEvent"in window&&!Mn,Fn=c&&(!Ln||Mn&&8<Mn&&11>=Mn),zn=String.fromCharCode(32),In=!1;function Un(e,t){switch(e){case"keyup":return-1!==Nn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var qn=!1;var Vn={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 Qn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Vn[e.type]:"textarea"===t}function Wn(e,t,n,r){Oe(r),0<(t=$r(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var $n=null,Kn=null;function Hn(e){zr(e,0)}function Zn(e){if(K(xo(e)))return e}function Gn(e,t){if("change"===e)return t}var Xn=!1;if(c){var Yn;if(c){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"===typeof er.oninput}Yn=Jn}else Yn=!1;Xn=Yn&&(!document.documentMode||9<document.documentMode)}function tr(){$n&&($n.detachEvent("onpropertychange",nr),Kn=$n=null)}function nr(e){if("value"===e.propertyName&&Zn(Kn)){var t=[];Wn(t,Kn,e,xe(e)),Te(Hn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Kn=n,($n=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Zn(Kn)}function ir(e,t){if("click"===e)return Zn(t)}function ar(e,t){if("input"===e||"change"===e)return Zn(t)}var ur="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function lr(e,t){if(ur(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)||!ur(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=H();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=H((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,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=cr(n,i);var a=cr(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.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!==H(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&&lr(gr,r)||(gr=r,0<(r=$r(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"),Pr=Cr("animationstart"),Rr=Cr("transitionend"),jr=new Map,Tr="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 Ar(e,t){jr.set(e,t),l(t,[e])}for(var Nr=0;Nr<Tr.length;Nr++){var Lr=Tr[Nr];Ar(Lr.toLowerCase(),"on"+(Lr[0].toUpperCase()+Lr.slice(1)))}Ar(Or,"onAnimationEnd"),Ar(_r,"onAnimationIteration"),Ar(Pr,"onAnimationStart"),Ar("dblclick","onDoubleClick"),Ar("focusin","onFocus"),Ar("focusout","onBlur"),Ar(Rr,"onTransitionEnd"),s("onMouseEnter",["mouseout","mouseover"]),s("onMouseLeave",["mouseout","mouseover"]),s("onPointerEnter",["pointerout","pointerover"]),s("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Mr="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(" "),Dr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Mr));function Fr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,u,l,s){if(Be.apply(this,arguments),De){if(!De)throw Error(i(198));var c=Fe;De=!1,Fe=null,ze||(ze=!0,Ie=c)}}(r,t,void 0,e),e.currentTarget=null}function zr(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 i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var u=r[a],l=u.instance,s=u.currentTarget;if(u=u.listener,l!==i&&o.isPropagationStopped())break e;Fr(o,u,s),i=l}else for(a=0;a<r.length;a++){if(l=(u=r[a]).instance,s=u.currentTarget,u=u.listener,l!==i&&o.isPropagationStopped())break e;Fr(o,u,s),i=l}}}if(ze)throw e=Ie,ze=!1,Ie=null,e}function Ir(e,t){var n=t[mo];void 0===n&&(n=t[mo]=new Set);var r=e+"__bubble";n.has(r)||(Vr(t,e,2,!1),n.add(r))}function Ur(e,t,n){var r=0;t&&(r|=4),Vr(n,e,r,t)}var Br="_reactListening"+Math.random().toString(36).slice(2);function qr(e){if(!e[Br]){e[Br]=!0,a.forEach((function(t){"selectionchange"!==t&&(Dr.has(t)||Ur(t,!1,e),Ur(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Br]||(t[Br]=!0,Ur("selectionchange",!1,t))}}function Vr(e,t,n,r){switch(Gt(t)){case 1:var o=Wt;break;case 4:o=$t;break;default:o=Kt}n=o.bind(null,t,n,e),o=void 0,!Ne||"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 Qr(e,t,n,r,o){var i=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var u=r.stateNode.containerInfo;if(u===o||8===u.nodeType&&u.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==u;){if(null===(a=bo(u)))return;if(5===(l=a.tag)||6===l){r=i=a;continue e}u=u.parentNode}}r=r.return}Te((function(){var r=i,o=xe(n),a=[];e:{var u=jr.get(e);if(void 0!==u){var l=cn,s=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=_n;break;case"focusin":s="focus",l=mn;break;case"focusout":s="blur",l=mn;break;case"beforeblur":case"afterblur":l=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":l=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=vn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Rn;break;case Or:case _r:case Pr:l=yn;break;case Rr:l=jn;break;case"scroll":l=dn;break;case"wheel":l=An;break;case"copy":case"cut":case"paste":l=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Pn}var c=0!==(4&t),f=!c&&"scroll"===e,d=c?null!==u?u+"Capture":null:u;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=Ae(h,d))&&c.push(Wr(h,v,p)))),f)break;h=h.return}0<c.length&&(u=new l(u,s,null,n,o),a.push({event:u,listeners:c}))}}if(0===(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(u="mouseover"===e||"pointerover"===e)||n===we||!(s=n.relatedTarget||n.fromElement)||!bo(s)&&!s[vo])&&(l||u)&&(u=o.window===o?o:(u=o.ownerDocument)?u.defaultView||u.parentWindow:window,l?(l=r,null!==(s=(s=n.relatedTarget||n.toElement)?bo(s):null)&&(s!==(f=qe(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(l=null,s=r),l!==s)){if(c=hn,v="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Pn,v="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==l?u:xo(l),p=null==s?u:xo(s),(u=new c(v,h+"leave",l,n,o)).target=f,u.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,l&&s)e:{for(d=s,h=0,p=c=l;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!==l&&Hr(a,u,l,c,!1),null!==s&&null!==f&&Hr(a,f,s,c,!0)}if("select"===(l=(u=r?xo(r):window).nodeName&&u.nodeName.toLowerCase())||"input"===l&&"file"===u.type)var m=Gn;else if(Qn(u))if(Xn)m=ar;else{m=or;var y=rr}else(l=u.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===u.type||"radio"===u.type)&&(m=ir);switch(m&&(m=m(e,r))?Wn(a,m,n,o):(y&&y(e,u,r),"focusout"===e&&(y=u._wrapperState)&&y.controlled&&"number"===u.type&&ee(u,"number",u.value)),y=r?xo(r):window,e){case"focusin":(Qn(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(a,n,o);break;case"selectionchange":if(vr)break;case"keydown":case"keyup":wr(a,n,o)}var g;if(Ln)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 qn?Un(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Fn&&"ko"!==n.locale&&(qn||"onCompositionStart"!==b?"onCompositionEnd"===b&&qn&&(g=en()):(Yt="value"in(Xt=o)?Xt.value:Xt.textContent,qn=!0)),0<(y=$r(r,b)).length&&(b=new wn(b,e,null,n,o),a.push({event:b,listeners:y}),g?b.data=g:null!==(g=Bn(n))&&(b.data=g))),(g=Dn?function(e,t){switch(e){case"compositionend":return Bn(t);case"keypress":return 32!==t.which?null:(In=!0,zn);case"textInput":return(e=t.data)===zn&&In?null:e;default:return null}}(e,n):function(e,t){if(qn)return"compositionend"===e||!Ln&&Un(e,t)?(e=en(),Jt=Yt=Xt=null,qn=!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 Fn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=$r(r,"onBeforeInput")).length&&(o=new wn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=g))}zr(a,t)}))}function Wr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function $r(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Ae(e,n))&&r.unshift(Wr(e,i,o)),null!=(i=Ae(e,t))&&r.push(Wr(e,i,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 Hr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var u=n,l=u.alternate,s=u.stateNode;if(null!==l&&l===r)break;5===u.tag&&null!==s&&(u=s,o?null!=(l=Ae(n,i))&&a.unshift(Wr(n,l,u)):o||null!=(l=Ae(n,i))&&a.push(Wr(n,l,u))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Zr=/\r\n?/g,Gr=/\u0000|\uFFFD/g;function Xr(e){return("string"===typeof e?e:""+e).replace(Zr,"\n").replace(Gr,"")}function Yr(e,t,n){if(t=Xr(t),Xr(e)!==t&&n)throw Error(i(425))}function Jr(){}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,io="function"===typeof Promise?Promise:void 0,ao="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof io?function(e){return io.resolve(null).then(e).catch(uo)}:ro;function uo(e){setTimeout((function(){throw e}))}function lo(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 qt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);qt(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(i(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 Po={},Ro=Co(Po),jo=Co(!1),To=Po;function Ao(e,t){var n=e.type.contextTypes;if(!n)return Po;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function No(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Lo(){Oo(jo),Oo(Ro)}function Mo(e,t,n){if(Ro.current!==Po)throw Error(i(168));_o(Ro,t),_o(jo,n)}function Do(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(i(108,V(e)||"Unknown",o));return F({},n,r)}function Fo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Po,To=Ro.current,_o(Ro,e),_o(jo,jo.current),!0}function zo(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Do(e,t,To),r.__reactInternalMemoizedMergedChildContext=e,Oo(jo),Oo(Ro),_o(Ro,e)):Oo(jo),_o(jo,n)}var Io=null,Uo=!1,Bo=!1;function qo(e){null===Io?Io=[e]:Io.push(e)}function Vo(){if(!Bo&&null!==Io){Bo=!0;var e=0,t=bt;try{var n=Io;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Io=null,Uo=!1}catch(o){throw null!==Io&&(Io=Io.slice(e+1)),Ke(Je,Vo),o}finally{bt=t,Bo=!1}}return null}var Qo=[],Wo=0,$o=null,Ko=0,Ho=[],Zo=0,Go=null,Xo=1,Yo="";function Jo(e,t){Qo[Wo++]=Ko,Qo[Wo++]=$o,$o=e,Ko=t}function ei(e,t,n){Ho[Zo++]=Xo,Ho[Zo++]=Yo,Ho[Zo++]=Go,Go=e;var r=Xo;e=Yo;var o=32-at(r)-1;r&=~(1<<o),n+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Xo=1<<32-at(t)+o|n<<o|r,Yo=i+e}else Xo=1<<i|n<<o|r,Yo=e}function ti(e){null!==e.return&&(Jo(e,1),ei(e,1,0))}function ni(e){for(;e===$o;)$o=Qo[--Wo],Qo[Wo]=null,Ko=Qo[--Wo],Qo[Wo]=null;for(;e===Go;)Go=Ho[--Zo],Ho[Zo]=null,Yo=Ho[--Zo],Ho[Zo]=null,Xo=Ho[--Zo],Ho[Zo]=null}var ri=null,oi=null,ii=!1,ai=null;function ui(e,t){var n=As(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 li(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,ri=e,oi=so(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ri=e,oi=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Go?{id:Xo,overflow:Yo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=As(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ri=e,oi=null,!0);default:return!1}}function si(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function ci(e){if(ii){var t=oi;if(t){var n=t;if(!li(e,t)){if(si(e))throw Error(i(418));t=so(n.nextSibling);var r=ri;t&&li(e,t)?ui(r,n):(e.flags=-4097&e.flags|2,ii=!1,ri=e)}}else{if(si(e))throw Error(i(418));e.flags=-4097&e.flags|2,ii=!1,ri=e}}}function fi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ri=e}function di(e){if(e!==ri)return!1;if(!ii)return fi(e),ii=!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=oi)){if(si(e))throw pi(),Error(i(418));for(;t;)ui(e,t),t=so(t.nextSibling)}if(fi(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oi=so(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oi=null}}else oi=ri?so(e.stateNode.nextSibling):null;return!0}function pi(){for(var e=oi;e;)e=so(e.nextSibling)}function hi(){oi=ri=null,ii=!1}function vi(e){null===ai?ai=[e]:ai.push(e)}var mi=w.ReactCurrentBatchConfig;function yi(e,t){if(e&&e.defaultProps){for(var n in t=F({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var gi=Co(null),bi=null,wi=null,xi=null;function ki(){xi=wi=bi=null}function Si(e){var t=gi.current;Oo(gi),e._currentValue=t}function Ei(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 Ci(e,t){bi=e,xi=wi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(wu=!0),e.firstContext=null)}function Oi(e){var t=e._currentValue;if(xi!==e)if(e={context:e,memoizedValue:t,next:null},null===wi){if(null===bi)throw Error(i(308));wi=e,bi.dependencies={lanes:0,firstContext:e}}else wi=wi.next=e;return t}var _i=null;function Pi(e){null===_i?_i=[e]:_i.push(e)}function Ri(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Pi(t)):(n.next=o.next,o.next=n),t.interleaved=n,ji(e,r)}function ji(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 Ti=!1;function Ai(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ni(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 Li(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Mi(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&Rl)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,ji(e,n)}return null===(o=r.interleaved)?(t.next=t,Pi(r)):(t.next=o.next,o.next=t),r.interleaved=t,ji(e,n)}function Di(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 Fi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function zi(e,t,n,r){var o=e.updateQueue;Ti=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,u=o.shared.pending;if(null!==u){o.shared.pending=null;var l=u,s=l.next;l.next=null,null===a?i=s:a.next=s,a=l;var c=e.alternate;null!==c&&((u=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===u?c.firstBaseUpdate=s:u.next=s,c.lastBaseUpdate=l))}if(null!==i){var f=o.baseState;for(a=0,c=s=l=null,u=i;;){var d=u.lane,p=u.eventTime;if((r&d)===d){null!==c&&(c=c.next={eventTime:p,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var h=e,v=u;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=F({},f,d);break e;case 2:Ti=!0}}null!==u.callback&&0!==u.lane&&(e.flags|=64,null===(d=o.effects)?o.effects=[u]:d.push(u))}else p={eventTime:p,lane:d,tag:u.tag,payload:u.payload,callback:u.callback,next:null},null===c?(s=c=p,l=f):c=c.next=p,a|=d;if(null===(u=u.next)){if(null===(u=o.shared.pending))break;u=(d=u).next,d.next=null,o.lastBaseUpdate=d,o.shared.pending=null}}if(null===c&&(l=f),o.baseState=l,o.firstBaseUpdate=s,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Fl|=a,e.lanes=a,e.memoizedState=f}}function Ii(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(i(191,o));o.call(r)}}}var Ui=(new r.Component).refs;function Bi(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:F({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var qi={isMounted:function(e){return!!(e=e._reactInternals)&&qe(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ts(),o=ns(e),i=Li(r,o);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Mi(e,i,o))&&(rs(t,e,o,r),Di(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ts(),o=ns(e),i=Li(r,o);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Mi(e,i,o))&&(rs(t,e,o,r),Di(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ts(),r=ns(e),o=Li(n,r);o.tag=2,void 0!==t&&null!==t&&(o.callback=t),null!==(t=Mi(e,o,r))&&(rs(t,e,r,n),Di(t,e,r))}};function Vi(e,t,n,r,o,i,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!lr(n,r)||!lr(o,i))}function Qi(e,t,n){var r=!1,o=Po,i=t.contextType;return"object"===typeof i&&null!==i?i=Oi(i):(o=No(t)?To:Ro.current,i=(r=null!==(r=t.contextTypes)&&void 0!==r)?Ao(e,o):Po),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=qi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Wi(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&&qi.enqueueReplaceState(t,t.state,null)}function $i(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Ui,Ai(e);var i=t.contextType;"object"===typeof i&&null!==i?o.context=Oi(i):(i=No(t)?To:Ro.current,o.context=Ao(e,i)),o.state=e.memoizedState,"function"===typeof(i=t.getDerivedStateFromProps)&&(Bi(e,t,i,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&&qi.enqueueReplaceState(o,o.state,null),zi(e,n,o,r),o.state=e.memoizedState),"function"===typeof o.componentDidMount&&(e.flags|=4194308)}function Ki(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(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;t===Ui&&(t=o.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!==typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function Hi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Zi(e){return(0,e._init)(e._payload)}function Gi(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=Ls(e,t)).index=0,e.sibling=null,e}function a(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 u(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=zs(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){var i=n.type;return i===S?f(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"===typeof i&&null!==i&&i.$$typeof===A&&Zi(i)===t.type)?((r=o(t,n.props)).ref=Ki(e,t,n),r.return=e,r):((r=Ms(n.type,n.key,n.props,null,e.mode,r)).ref=Ki(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=Is(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=Ds(n,e.mode,r,i)).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=zs(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case x:return(n=Ms(t.type,t.key,t.props,null,e.mode,n)).ref=Ki(e,null,t),n.return=e,n;case k:return(t=Is(t,e.mode,n)).return=e,t;case A:return d(e,(0,t._init)(t._payload),n)}if(te(t)||M(t))return(t=Ds(t,e.mode,n,null)).return=e,t;Hi(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:l(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 A:return p(e,t,(o=n._init)(n._payload),r)}if(te(n)||M(n))return null!==o?null:f(e,t,n,r,null);Hi(e,n)}return null}function h(e,t,n,r,o){if("string"===typeof r&&""!==r||"number"===typeof r)return l(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 A:return h(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||M(r))return f(t,e=e.get(n)||null,r,o,null);Hi(t,r)}return null}function v(o,i,u,l){for(var s=null,c=null,f=i,v=i=0,m=null;null!==f&&v<u.length;v++){f.index>v?(m=f,f=null):m=f.sibling;var y=p(o,f,u[v],l);if(null===y){null===f&&(f=m);break}e&&f&&null===y.alternate&&t(o,f),i=a(y,i,v),null===c?s=y:c.sibling=y,c=y,f=m}if(v===u.length)return n(o,f),ii&&Jo(o,v),s;if(null===f){for(;v<u.length;v++)null!==(f=d(o,u[v],l))&&(i=a(f,i,v),null===c?s=f:c.sibling=f,c=f);return ii&&Jo(o,v),s}for(f=r(o,f);v<u.length;v++)null!==(m=h(f,o,v,u[v],l))&&(e&&null!==m.alternate&&f.delete(null===m.key?v:m.key),i=a(m,i,v),null===c?s=m:c.sibling=m,c=m);return e&&f.forEach((function(e){return t(o,e)})),ii&&Jo(o,v),s}function m(o,u,l,s){var c=M(l);if("function"!==typeof c)throw Error(i(150));if(null==(l=c.call(l)))throw Error(i(151));for(var f=c=null,v=u,m=u=0,y=null,g=l.next();null!==v&&!g.done;m++,g=l.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),u=a(b,u,m),null===f?c=b:f.sibling=b,f=b,v=y}if(g.done)return n(o,v),ii&&Jo(o,m),c;if(null===v){for(;!g.done;m++,g=l.next())null!==(g=d(o,g.value,s))&&(u=a(g,u,m),null===f?c=g:f.sibling=g,f=g);return ii&&Jo(o,m),c}for(v=r(o,v);!g.done;m++,g=l.next())null!==(g=h(v,o,m,g.value,s))&&(e&&null!==g.alternate&&v.delete(null===g.key?m:g.key),u=a(g,u,m),null===f?c=g:f.sibling=g,f=g);return e&&v.forEach((function(e){return t(o,e)})),ii&&Jo(o,m),c}return function e(r,i,a,l){if("object"===typeof a&&null!==a&&a.type===S&&null===a.key&&(a=a.props.children),"object"===typeof a&&null!==a){switch(a.$$typeof){case x:e:{for(var s=a.key,c=i;null!==c;){if(c.key===s){if((s=a.type)===S){if(7===c.tag){n(r,c.sibling),(i=o(c,a.props.children)).return=r,r=i;break e}}else if(c.elementType===s||"object"===typeof s&&null!==s&&s.$$typeof===A&&Zi(s)===c.type){n(r,c.sibling),(i=o(c,a.props)).ref=Ki(r,c,a),i.return=r,r=i;break e}n(r,c);break}t(r,c),c=c.sibling}a.type===S?((i=Ds(a.props.children,r.mode,l,a.key)).return=r,r=i):((l=Ms(a.type,a.key,a.props,null,r.mode,l)).ref=Ki(r,i,a),l.return=r,r=l)}return u(r);case k:e:{for(c=a.key;null!==i;){if(i.key===c){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Is(a,r.mode,l)).return=r,r=i}return u(r);case A:return e(r,i,(c=a._init)(a._payload),l)}if(te(a))return v(r,i,a,l);if(M(a))return m(r,i,a,l);Hi(r,a)}return"string"===typeof a&&""!==a||"number"===typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=zs(a,r.mode,l)).return=r,r=i),u(r)):n(r,i)}}var Xi=Gi(!0),Yi=Gi(!1),Ji={},ea=Co(Ji),ta=Co(Ji),na=Co(Ji);function ra(e){if(e===Ji)throw Error(i(174));return e}function oa(e,t){switch(_o(na,t),_o(ta,e),_o(ea,Ji),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Oo(ea),_o(ea,t)}function ia(){Oo(ea),Oo(ta),Oo(na)}function aa(e){ra(na.current);var t=ra(ea.current),n=le(t,e.type);t!==n&&(_o(ta,e),_o(ea,n))}function ua(e){ta.current===e&&(Oo(ea),Oo(ta))}var la=Co(0);function sa(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 ca=[];function fa(){for(var e=0;e<ca.length;e++)ca[e]._workInProgressVersionPrimary=null;ca.length=0}var da=w.ReactCurrentDispatcher,pa=w.ReactCurrentBatchConfig,ha=0,va=null,ma=null,ya=null,ga=!1,ba=!1,wa=0,xa=0;function ka(){throw Error(i(321))}function Sa(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ur(e[n],t[n]))return!1;return!0}function Ea(e,t,n,r,o,a){if(ha=a,va=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,da.current=null===e||null===e.memoizedState?uu:lu,e=n(r,o),ba){a=0;do{if(ba=!1,wa=0,25<=a)throw Error(i(301));a+=1,ya=ma=null,t.updateQueue=null,da.current=su,e=n(r,o)}while(ba)}if(da.current=au,t=null!==ma&&null!==ma.next,ha=0,ya=ma=va=null,ga=!1,t)throw Error(i(300));return e}function Ca(){var e=0!==wa;return wa=0,e}function Oa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ya?va.memoizedState=ya=e:ya=ya.next=e,ya}function _a(){if(null===ma){var e=va.alternate;e=null!==e?e.memoizedState:null}else e=ma.next;var t=null===ya?va.memoizedState:ya.next;if(null!==t)ya=t,ma=e;else{if(null===e)throw Error(i(310));e={memoizedState:(ma=e).memoizedState,baseState:ma.baseState,baseQueue:ma.baseQueue,queue:ma.queue,next:null},null===ya?va.memoizedState=ya=e:ya=ya.next=e}return ya}function Pa(e,t){return"function"===typeof t?t(e):t}function Ra(e){var t=_a(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=ma,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var u=o.next;o.next=a.next,a.next=u}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var l=u=null,s=null,c=a;do{var f=c.lane;if((ha&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?(l=s=d,u=r):s=s.next=d,va.lanes|=f,Fl|=f}c=c.next}while(null!==c&&c!==a);null===s?u=r:s.next=l,ur(r,t.memoizedState)||(wu=!0),t.memoizedState=r,t.baseState=u,t.baseQueue=s,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,va.lanes|=a,Fl|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ja(e){var t=_a(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var u=o=o.next;do{a=e(a,u.action),u=u.next}while(u!==o);ur(a,t.memoizedState)||(wu=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Ta(){}function Aa(e,t){var n=va,r=_a(),o=t(),a=!ur(r.memoizedState,o);if(a&&(r.memoizedState=o,wu=!0),r=r.queue,Qa(Ma.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==ya&&1&ya.memoizedState.tag){if(n.flags|=2048,Ia(9,La.bind(null,n,r,o,t),void 0,null),null===jl)throw Error(i(349));0!==(30&ha)||Na(n,t,o)}return o}function Na(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=va.updateQueue)?(t={lastEffect:null,stores:null},va.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function La(e,t,n,r){t.value=n,t.getSnapshot=r,Da(t)&&Fa(e)}function Ma(e,t,n){return n((function(){Da(t)&&Fa(e)}))}function Da(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ur(e,n)}catch(r){return!0}}function Fa(e){var t=ji(e,1);null!==t&&rs(t,e,1,-1)}function za(e){var t=Oa();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Pa,lastRenderedState:e},t.queue=e,e=e.dispatch=nu.bind(null,va,e),[t.memoizedState,e]}function Ia(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=va.updateQueue)?(t={lastEffect:null,stores:null},va.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 Ua(){return _a().memoizedState}function Ba(e,t,n,r){var o=Oa();va.flags|=e,o.memoizedState=Ia(1|t,n,void 0,void 0===r?null:r)}function qa(e,t,n,r){var o=_a();r=void 0===r?null:r;var i=void 0;if(null!==ma){var a=ma.memoizedState;if(i=a.destroy,null!==r&&Sa(r,a.deps))return void(o.memoizedState=Ia(t,n,i,r))}va.flags|=e,o.memoizedState=Ia(1|t,n,i,r)}function Va(e,t){return Ba(8390656,8,e,t)}function Qa(e,t){return qa(2048,8,e,t)}function Wa(e,t){return qa(4,2,e,t)}function $a(e,t){return qa(4,4,e,t)}function Ka(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 Ha(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,qa(4,4,Ka.bind(null,t,e),n)}function Za(){}function Ga(e,t){var n=_a();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Sa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Xa(e,t){var n=_a();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Sa(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ya(e,t,n){return 0===(21&ha)?(e.baseState&&(e.baseState=!1,wu=!0),e.memoizedState=n):(ur(n,t)||(n=vt(),va.lanes|=n,Fl|=n,e.baseState=!0),t)}function Ja(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=pa.transition;pa.transition={};try{e(!1),t()}finally{bt=n,pa.transition=r}}function eu(){return _a().memoizedState}function tu(e,t,n){var r=ns(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ru(e))ou(t,n);else if(null!==(n=Ri(e,t,n,r))){rs(n,e,r,ts()),iu(n,t,r)}}function nu(e,t,n){var r=ns(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ru(e))ou(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,u=i(a,n);if(o.hasEagerState=!0,o.eagerState=u,ur(u,a)){var l=t.interleaved;return null===l?(o.next=o,Pi(t)):(o.next=l.next,l.next=o),void(t.interleaved=o)}}catch(s){}null!==(n=Ri(e,t,o,r))&&(rs(n,e,r,o=ts()),iu(n,t,r))}}function ru(e){var t=e.alternate;return e===va||null!==t&&t===va}function ou(e,t){ba=ga=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function iu(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,gt(e,n)}}var au={readContext:Oi,useCallback:ka,useContext:ka,useEffect:ka,useImperativeHandle:ka,useInsertionEffect:ka,useLayoutEffect:ka,useMemo:ka,useReducer:ka,useRef:ka,useState:ka,useDebugValue:ka,useDeferredValue:ka,useTransition:ka,useMutableSource:ka,useSyncExternalStore:ka,useId:ka,unstable_isNewReconciler:!1},uu={readContext:Oi,useCallback:function(e,t){return Oa().memoizedState=[e,void 0===t?null:t],e},useContext:Oi,useEffect:Va,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Ba(4194308,4,Ka.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ba(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ba(4,2,e,t)},useMemo:function(e,t){var n=Oa();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Oa();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=tu.bind(null,va,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Oa().memoizedState=e},useState:za,useDebugValue:Za,useDeferredValue:function(e){return Oa().memoizedState=e},useTransition:function(){var e=za(!1),t=e[0];return e=Ja.bind(null,e[1]),Oa().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=va,o=Oa();if(ii){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===jl)throw Error(i(349));0!==(30&ha)||Na(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Va(Ma.bind(null,r,a,e),[e]),r.flags|=2048,Ia(9,La.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Oa(),t=jl.identifierPrefix;if(ii){var n=Yo;t=":"+t+"R"+(n=(Xo&~(1<<32-at(Xo)-1)).toString(32)+n),0<(n=wa++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=xa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},lu={readContext:Oi,useCallback:Ga,useContext:Oi,useEffect:Qa,useImperativeHandle:Ha,useInsertionEffect:Wa,useLayoutEffect:$a,useMemo:Xa,useReducer:Ra,useRef:Ua,useState:function(){return Ra(Pa)},useDebugValue:Za,useDeferredValue:function(e){return Ya(_a(),ma.memoizedState,e)},useTransition:function(){return[Ra(Pa)[0],_a().memoizedState]},useMutableSource:Ta,useSyncExternalStore:Aa,useId:eu,unstable_isNewReconciler:!1},su={readContext:Oi,useCallback:Ga,useContext:Oi,useEffect:Qa,useImperativeHandle:Ha,useInsertionEffect:Wa,useLayoutEffect:$a,useMemo:Xa,useReducer:ja,useRef:Ua,useState:function(){return ja(Pa)},useDebugValue:Za,useDeferredValue:function(e){var t=_a();return null===ma?t.memoizedState=e:Ya(t,ma.memoizedState,e)},useTransition:function(){return[ja(Pa)[0],_a().memoizedState]},useMutableSource:Ta,useSyncExternalStore:Aa,useId:eu,unstable_isNewReconciler:!1};function cu(e,t){try{var n="",r=t;do{n+=B(r),r=r.return}while(r);var o=n}catch(i){o="\nError generating stack: "+i.message+"\n"+i.stack}return{value:e,source:t,stack:o,digest:null}}function fu(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function du(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var pu="function"===typeof WeakMap?WeakMap:Map;function hu(e,t,n){(n=Li(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Wl||(Wl=!0,$l=r),du(0,t)},n}function vu(e,t,n){(n=Li(-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(){du(0,t)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(n.callback=function(){du(0,t),"function"!==typeof r&&(null===Kl?Kl=new Set([this]):Kl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function mu(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new pu;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 yu(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 gu(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=Li(-1,1)).tag=2,Mi(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var bu=w.ReactCurrentOwner,wu=!1;function xu(e,t,n,r){t.child=null===e?Yi(t,null,n,r):Xi(t,e.child,n,r)}function ku(e,t,n,r,o){n=n.render;var i=t.ref;return Ci(t,o),r=Ea(e,t,n,r,i,o),n=Ca(),null===e||wu?(ii&&n&&ti(t),t.flags|=1,xu(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Wu(e,t,o))}function Su(e,t,n,r,o){if(null===e){var i=n.type;return"function"!==typeof i||Ns(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ms(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Eu(e,t,i,r,o))}if(i=e.child,0===(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(a,r)&&e.ref===t.ref)return Wu(e,t,o)}return t.flags|=1,(e=Ls(i,r)).ref=t.ref,e.return=t,t.child=e}function Eu(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(lr(i,r)&&e.ref===t.ref){if(wu=!1,t.pendingProps=r=i,0===(e.lanes&o))return t.lanes=e.lanes,Wu(e,t,o);0!==(131072&e.flags)&&(wu=!0)}}return _u(e,t,n,r,o)}function Cu(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},_o(Ll,Nl),Nl|=n;else{if(0===(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,_o(Ll,Nl),Nl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,_o(Ll,Nl),Nl|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,_o(Ll,Nl),Nl|=r;return xu(e,t,o,n),t.child}function Ou(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function _u(e,t,n,r,o){var i=No(n)?To:Ro.current;return i=Ao(t,i),Ci(t,o),n=Ea(e,t,n,r,i,o),r=Ca(),null===e||wu?(ii&&r&&ti(t),t.flags|=1,xu(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Wu(e,t,o))}function Pu(e,t,n,r,o){if(No(n)){var i=!0;Fo(t)}else i=!1;if(Ci(t,o),null===t.stateNode)Qu(e,t),Qi(t,n,r),$i(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,u=t.memoizedProps;a.props=u;var l=a.context,s=n.contextType;"object"===typeof s&&null!==s?s=Oi(s):s=Ao(t,s=No(n)?To:Ro.current);var c=n.getDerivedStateFromProps,f="function"===typeof c||"function"===typeof a.getSnapshotBeforeUpdate;f||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(u!==r||l!==s)&&Wi(t,a,r,s),Ti=!1;var d=t.memoizedState;a.state=d,zi(t,r,a,o),l=t.memoizedState,u!==r||d!==l||jo.current||Ti?("function"===typeof c&&(Bi(t,n,c,r),l=t.memoizedState),(u=Ti||Vi(t,n,u,r,d,l,s))?(f||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4194308)):("function"===typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=s,r=u):("function"===typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Ni(e,t),u=t.memoizedProps,s=t.type===t.elementType?u:yi(t.type,u),a.props=s,f=t.pendingProps,d=a.context,"object"===typeof(l=n.contextType)&&null!==l?l=Oi(l):l=Ao(t,l=No(n)?To:Ro.current);var p=n.getDerivedStateFromProps;(c="function"===typeof p||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(u!==f||d!==l)&&Wi(t,a,r,l),Ti=!1,d=t.memoizedState,a.state=d,zi(t,r,a,o);var h=t.memoizedState;u!==f||d!==h||jo.current||Ti?("function"===typeof p&&(Bi(t,n,p,r),h=t.memoizedState),(s=Ti||Vi(t,n,s,r,d,h,l)||!1)?(c||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,l),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,l)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof a.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=l,r=s):("function"!==typeof a.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Ru(e,t,n,r,i,o)}function Ru(e,t,n,r,o,i){Ou(e,t);var a=0!==(128&t.flags);if(!r&&!a)return o&&zo(t,n,!1),Wu(e,t,i);r=t.stateNode,bu.current=t;var u=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Xi(t,e.child,null,i),t.child=Xi(t,null,u,i)):xu(e,t,u,i),t.memoizedState=r.state,o&&zo(t,n,!0),t.child}function ju(e){var t=e.stateNode;t.pendingContext?Mo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Mo(0,t.context,!1),oa(e,t.containerInfo)}function Tu(e,t,n,r,o){return hi(),vi(o),t.flags|=256,xu(e,t,n,r),t.child}var Au,Nu,Lu,Mu,Du={dehydrated:null,treeContext:null,retryLane:0};function Fu(e){return{baseLanes:e,cachePool:null,transitions:null}}function zu(e,t,n){var r,o=t.pendingProps,a=la.current,u=!1,l=0!==(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!==(2&a)),r?(u=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),_o(la,1&a),null===e)return ci(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=o.children,e=o.fallback,u?(o=t.mode,u=t.child,l={mode:"hidden",children:l},0===(1&o)&&null!==u?(u.childLanes=0,u.pendingProps=l):u=Fs(l,o,0,null),e=Ds(e,o,n,null),u.return=t,e.return=t,u.sibling=e,t.child=u,t.child.memoizedState=Fu(n),t.memoizedState=Du,e):Iu(t,l));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,u){if(n)return 256&t.flags?(t.flags&=-257,Uu(e,t,u,r=fu(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=Fs({mode:"visible",children:r.children},o,0,null),(a=Ds(a,o,u,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!==(1&t.mode)&&Xi(t,e.child,null,u),t.child.memoizedState=Fu(u),t.memoizedState=Du,a);if(0===(1&t.mode))return Uu(e,t,u,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,Uu(e,t,u,r=fu(a=Error(i(419)),r,void 0))}if(l=0!==(u&e.childLanes),wu||l){if(null!==(r=jl)){switch(u&-u){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|u))?0:o)&&o!==a.retryLane&&(a.retryLane=o,ji(e,o),rs(r,e,o,-1))}return ms(),Uu(e,t,u,r=fu(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Ps.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,oi=so(o.nextSibling),ri=t,ii=!0,ai=null,null!==e&&(Ho[Zo++]=Xo,Ho[Zo++]=Yo,Ho[Zo++]=Go,Xo=e.id,Yo=e.overflow,Go=t),t=Iu(t,r.children),t.flags|=4096,t)}(e,t,l,o,r,a,n);if(u){u=o.fallback,l=t.mode,r=(a=e.child).sibling;var s={mode:"hidden",children:o.children};return 0===(1&l)&&t.child!==a?((o=t.child).childLanes=0,o.pendingProps=s,t.deletions=null):(o=Ls(a,s)).subtreeFlags=14680064&a.subtreeFlags,null!==r?u=Ls(r,u):(u=Ds(u,l,n,null)).flags|=2,u.return=t,o.return=t,o.sibling=u,t.child=o,o=u,u=t.child,l=null===(l=e.child.memoizedState)?Fu(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},u.memoizedState=l,u.childLanes=e.childLanes&~n,t.memoizedState=Du,o}return e=(u=e.child).sibling,o=Ls(u,{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 Iu(e,t){return(t=Fs({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Uu(e,t,n,r){return null!==r&&vi(r),Xi(t,e.child,null,n),(e=Iu(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Bu(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ei(e.return,t,n)}function qu(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Vu(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(xu(e,t,r.children,n),0!==(2&(r=la.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&&Bu(e,n,t);else if(19===e.tag)Bu(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(la,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===sa(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),qu(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===sa(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}qu(t,!0,n,null,i);break;case"together":qu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Qu(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Wu(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Fl|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Ls(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ls(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function $u(e,t){if(!ii)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 Ku(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 Hu(e,t,n){var r=t.pendingProps;switch(ni(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ku(t),null;case 1:case 17:return No(t.type)&&Lo(),Ku(t),null;case 3:return r=t.stateNode,ia(),Oo(jo),Oo(Ro),fa(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(di(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==ai&&(us(ai),ai=null))),Nu(e,t),Ku(t),null;case 5:ua(t);var o=ra(na.current);if(n=t.type,null!==e&&null!=t.stateNode)Lu(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Ku(t),null}if(e=ra(ea.current),di(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[po]=t,r[ho]=a,e=0!==(1&t.mode),n){case"dialog":Ir("cancel",r),Ir("close",r);break;case"iframe":case"object":case"embed":Ir("load",r);break;case"video":case"audio":for(o=0;o<Mr.length;o++)Ir(Mr[o],r);break;case"source":Ir("error",r);break;case"img":case"image":case"link":Ir("error",r),Ir("load",r);break;case"details":Ir("toggle",r);break;case"input":G(r,a),Ir("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Ir("invalid",r);break;case"textarea":oe(r,a),Ir("invalid",r)}for(var l in ge(n,a),o=null,a)if(a.hasOwnProperty(l)){var s=a[l];"children"===l?"string"===typeof s?r.textContent!==s&&(!0!==a.suppressHydrationWarning&&Yr(r.textContent,s,e),o=["children",s]):"number"===typeof s&&r.textContent!==""+s&&(!0!==a.suppressHydrationWarning&&Yr(r.textContent,s,e),o=["children",""+s]):u.hasOwnProperty(l)&&null!=s&&"onScroll"===l&&Ir("scroll",r)}switch(n){case"input":$(r),J(r,a,!0);break;case"textarea":$(r),ae(r);break;case"select":case"option":break;default:"function"===typeof a.onClick&&(r.onclick=Jr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ue(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[po]=t,e[ho]=r,Au(e,t,!1,!1),t.stateNode=e;e:{switch(l=be(n,r),n){case"dialog":Ir("cancel",e),Ir("close",e),o=r;break;case"iframe":case"object":case"embed":Ir("load",e),o=r;break;case"video":case"audio":for(o=0;o<Mr.length;o++)Ir(Mr[o],e);o=r;break;case"source":Ir("error",e),o=r;break;case"img":case"image":case"link":Ir("error",e),Ir("load",e),o=r;break;case"details":Ir("toggle",e),o=r;break;case"input":G(e,r),o=Z(e,r),Ir("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=F({},r,{value:void 0}),Ir("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Ir("invalid",e)}for(a in ge(n,o),s=o)if(s.hasOwnProperty(a)){var c=s[a];"style"===a?me(e,c):"dangerouslySetInnerHTML"===a?null!=(c=c?c.__html:void 0)&&fe(e,c):"children"===a?"string"===typeof c?("textarea"!==n||""!==c)&&de(e,c):"number"===typeof c&&de(e,""+c):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(u.hasOwnProperty(a)?null!=c&&"onScroll"===a&&Ir("scroll",e):null!=c&&b(e,a,c,l))}switch(n){case"input":$(e),J(e,r,!1);break;case"textarea":$(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Q(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof o.onClick&&(e.onclick=Jr)}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 Ku(t),null;case 6:if(e&&null!=t.stateNode)Mu(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(i(166));if(n=ra(na.current),ra(ea.current),di(t)){if(r=t.stateNode,n=t.memoizedProps,r[po]=t,(a=r.nodeValue!==n)&&null!==(e=ri))switch(e.tag){case 3:Yr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Yr(r.nodeValue,n,0!==(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[po]=t,t.stateNode=r}return Ku(t),null;case 13:if(Oo(la),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ii&&null!==oi&&0!==(1&t.mode)&&0===(128&t.flags))pi(),hi(),t.flags|=98560,a=!1;else if(a=di(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[po]=t}else hi(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ku(t),a=!1}else null!==ai&&(us(ai),ai=null),a=!0;if(!a)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&la.current)?0===Ml&&(Ml=3):ms())),null!==t.updateQueue&&(t.flags|=4),Ku(t),null);case 4:return ia(),Nu(e,t),null===e&&qr(t.stateNode.containerInfo),Ku(t),null;case 10:return Si(t.type._context),Ku(t),null;case 19:if(Oo(la),null===(a=t.memoizedState))return Ku(t),null;if(r=0!==(128&t.flags),null===(l=a.rendering))if(r)$u(a,!1);else{if(0!==Ml||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=sa(e))){for(t.flags|=128,$u(a,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(l=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,e=l.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return _o(la,1&la.current|2),t.child}e=e.sibling}null!==a.tail&&Xe()>Vl&&(t.flags|=128,r=!0,$u(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=sa(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),$u(a,!0),null===a.tail&&"hidden"===a.tailMode&&!l.alternate&&!ii)return Ku(t),null}else 2*Xe()-a.renderingStartTime>Vl&&1073741824!==n&&(t.flags|=128,r=!0,$u(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=a.last)?n.sibling=l:t.child=l,a.last=l)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Xe(),t.sibling=null,n=la.current,_o(la,r?1&n|2:1&n),t):(Ku(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&Nl)&&(Ku(t),6&t.subtreeFlags&&(t.flags|=8192)):Ku(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Zu(e,t){switch(ni(t),t.tag){case 1:return No(t.type)&&Lo(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ia(),Oo(jo),Oo(Ro),fa(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ua(t),null;case 13:if(Oo(la),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));hi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Oo(la),null;case 4:return ia(),null;case 10:return Si(t.type._context),null;case 22:case 23:return ds(),null;default:return null}}Au=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}},Nu=function(){},Lu=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ra(ea.current);var i,a=null;switch(n){case"input":o=Z(e,o),r=Z(e,r),a=[];break;case"select":o=F({},o,{value:void 0}),r=F({},r,{value:void 0}),a=[];break;case"textarea":o=re(e,o),r=re(e,r),a=[];break;default:"function"!==typeof o.onClick&&"function"===typeof r.onClick&&(e.onclick=Jr)}for(c in ge(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var l=o[c];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(u.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in r){var s=r[c];if(l=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&s!==l&&(null!=s||null!=l))if("style"===c)if(l){for(i in l)!l.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in s)s.hasOwnProperty(i)&&l[i]!==s[i]&&(n||(n={}),n[i]=s[i])}else n||(a||(a=[]),a.push(c,n)),n=s;else"dangerouslySetInnerHTML"===c?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(a=a||[]).push(c,s)):"children"===c?"string"!==typeof s&&"number"!==typeof s||(a=a||[]).push(c,""+s):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(u.hasOwnProperty(c)?(null!=s&&"onScroll"===c&&Ir("scroll",e),a||l===s||(a=[])):(a=a||[]).push(c,s))}n&&(a=a||[]).push("style",n);var c=a;(t.updateQueue=c)&&(t.flags|=4)}},Mu=function(e,t,n,r){n!==r&&(t.flags|=4)};var Gu=!1,Xu=!1,Yu="function"===typeof WeakSet?WeakSet:Set,Ju=null;function el(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 tl(e,t,n){try{n()}catch(r){Cs(e,t,r)}}var nl=!1;function rl(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 i=o.destroy;o.destroy=void 0,void 0!==i&&tl(t,n,i)}o=o.next}while(o!==r)}}function ol(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 il(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 al(e){var t=e.alternate;null!==t&&(e.alternate=null,al(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 ul(e){return 5===e.tag||3===e.tag||4===e.tag}function ll(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ul(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 sl(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=Jr));else if(4!==r&&null!==(e=e.child))for(sl(e,t,n),e=e.sibling;null!==e;)sl(e,t,n),e=e.sibling}function cl(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(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}var fl=null,dl=!1;function pl(e,t,n){for(n=n.child;null!==n;)hl(e,t,n),n=n.sibling}function hl(e,t,n){if(it&&"function"===typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(u){}switch(n.tag){case 5:Xu||el(n,t);case 6:var r=fl,o=dl;fl=null,pl(e,t,n),dl=o,null!==(fl=r)&&(dl?(e=fl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):fl.removeChild(n.stateNode));break;case 18:null!==fl&&(dl?(e=fl,n=n.stateNode,8===e.nodeType?lo(e.parentNode,n):1===e.nodeType&&lo(e,n),qt(e)):lo(fl,n.stateNode));break;case 4:r=fl,o=dl,fl=n.stateNode.containerInfo,dl=!0,pl(e,t,n),fl=r,dl=o;break;case 0:case 11:case 14:case 15:if(!Xu&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(0!==(2&i)||0!==(4&i))&&tl(n,t,a),o=o.next}while(o!==r)}pl(e,t,n);break;case 1:if(!Xu&&(el(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){Cs(n,t,u)}pl(e,t,n);break;case 21:pl(e,t,n);break;case 22:1&n.mode?(Xu=(r=Xu)||null!==n.memoizedState,pl(e,t,n),Xu=r):pl(e,t,n);break;default:pl(e,t,n)}}function vl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Yu),t.forEach((function(t){var r=Rs.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function ml(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,u=t,l=u;e:for(;null!==l;){switch(l.tag){case 5:fl=l.stateNode,dl=!1;break e;case 3:case 4:fl=l.stateNode.containerInfo,dl=!0;break e}l=l.return}if(null===fl)throw Error(i(160));hl(a,u,o),fl=null,dl=!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;)yl(t,e),t=t.sibling}function yl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ml(t,e),gl(e),4&r){try{rl(3,e,e.return),ol(3,e)}catch(m){Cs(e,e.return,m)}try{rl(5,e,e.return)}catch(m){Cs(e,e.return,m)}}break;case 1:ml(t,e),gl(e),512&r&&null!==n&&el(n,n.return);break;case 5:if(ml(t,e),gl(e),512&r&&null!==n&&el(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 a=e.memoizedProps,u=null!==n?n.memoizedProps:a,l=e.type,s=e.updateQueue;if(e.updateQueue=null,null!==s)try{"input"===l&&"radio"===a.type&&null!=a.name&&X(o,a),be(l,u);var c=be(l,a);for(u=0;u<s.length;u+=2){var f=s[u],d=s[u+1];"style"===f?me(o,d):"dangerouslySetInnerHTML"===f?fe(o,d):"children"===f?de(o,d):b(o,f,d,c)}switch(l){case"input":Y(o,a);break;case"textarea":ie(o,a);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?ne(o,!!a.multiple,h,!1):p!==!!a.multiple&&(null!=a.defaultValue?ne(o,!!a.multiple,a.defaultValue,!0):ne(o,!!a.multiple,a.multiple?[]:"",!1))}o[ho]=a}catch(m){Cs(e,e.return,m)}}break;case 6:if(ml(t,e),gl(e),4&r){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(m){Cs(e,e.return,m)}}break;case 3:if(ml(t,e),gl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{qt(t.containerInfo)}catch(m){Cs(e,e.return,m)}break;case 4:default:ml(t,e),gl(e);break;case 13:ml(t,e),gl(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(ql=Xe())),4&r&&vl(e);break;case 22:if(f=null!==n&&null!==n.memoizedState,1&e.mode?(Xu=(c=Xu)||f,ml(t,e),Xu=c):ml(t,e),gl(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!f&&0!==(1&e.mode))for(Ju=e,f=e.child;null!==f;){for(d=Ju=f;null!==Ju;){switch(h=(p=Ju).child,p.tag){case 0:case 11:case 14:case 15:rl(4,p,p.return);break;case 1:el(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:el(p,p.return);break;case 22:if(null!==p.memoizedState){kl(d);continue}}null!==h?(h.return=p,Ju=h):kl(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(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=d.stateNode,u=void 0!==(s=d.memoizedProps.style)&&null!==s&&s.hasOwnProperty("display")?s.display:null,l.style.display=ve("display",u))}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:ml(t,e),gl(e),4&r&&vl(e);case 21:}}function gl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(ul(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(de(o,""),r.flags&=-33),cl(e,ll(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;sl(e,ll(e),a);break;default:throw Error(i(161))}}catch(u){Cs(e,e.return,u)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bl(e,t,n){Ju=e,wl(e,t,n)}function wl(e,t,n){for(var r=0!==(1&e.mode);null!==Ju;){var o=Ju,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Gu;if(!a){var u=o.alternate,l=null!==u&&null!==u.memoizedState||Xu;u=Gu;var s=Xu;if(Gu=a,(Xu=l)&&!s)for(Ju=o;null!==Ju;)l=(a=Ju).child,22===a.tag&&null!==a.memoizedState?Sl(o):null!==l?(l.return=a,Ju=l):Sl(o);for(;null!==i;)Ju=i,wl(i,t,n),i=i.sibling;Ju=o,Gu=u,Xu=s}xl(e)}else 0!==(8772&o.subtreeFlags)&&null!==i?(i.return=o,Ju=i):xl(e)}}function xl(e){for(;null!==Ju;){var t=Ju;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Xu||ol(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Xu)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:yi(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Ii(t,a,r);break;case 3:var u=t.updateQueue;if(null!==u){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Ii(t,u,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;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&&qt(d)}}}break;default:throw Error(i(163))}Xu||512&t.flags&&il(t)}catch(p){Cs(t,t.return,p)}}if(t===e){Ju=null;break}if(null!==(n=t.sibling)){n.return=t.return,Ju=n;break}Ju=t.return}}function kl(e){for(;null!==Ju;){var t=Ju;if(t===e){Ju=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Ju=n;break}Ju=t.return}}function Sl(e){for(;null!==Ju;){var t=Ju;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ol(4,t)}catch(l){Cs(t,n,l)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(l){Cs(t,o,l)}}var i=t.return;try{il(t)}catch(l){Cs(t,i,l)}break;case 5:var a=t.return;try{il(t)}catch(l){Cs(t,a,l)}}}catch(l){Cs(t,t.return,l)}if(t===e){Ju=null;break}var u=t.sibling;if(null!==u){u.return=t.return,Ju=u;break}Ju=t.return}}var El,Cl=Math.ceil,Ol=w.ReactCurrentDispatcher,_l=w.ReactCurrentOwner,Pl=w.ReactCurrentBatchConfig,Rl=0,jl=null,Tl=null,Al=0,Nl=0,Ll=Co(0),Ml=0,Dl=null,Fl=0,zl=0,Il=0,Ul=null,Bl=null,ql=0,Vl=1/0,Ql=null,Wl=!1,$l=null,Kl=null,Hl=!1,Zl=null,Gl=0,Xl=0,Yl=null,Jl=-1,es=0;function ts(){return 0!==(6&Rl)?Xe():-1!==Jl?Jl:Jl=Xe()}function ns(e){return 0===(1&e.mode)?1:0!==(2&Rl)&&0!==Al?Al&-Al:null!==mi.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<Xl)throw Xl=0,Yl=null,Error(i(185));yt(e,n,r),0!==(2&Rl)&&e===jl||(e===jl&&(0===(2&Rl)&&(zl|=n),4===Ml&&ls(e,Al)),os(e,r),1===n&&0===Rl&&0===(1&t.mode)&&(Vl=Xe()+500,Uo&&Vo()))}function os(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),u=1<<a,l=o[a];-1===l?0!==(u&n)&&0===(u&r)||(o[a]=pt(u,t)):l<=t&&(e.expiredLanes|=u),i&=~u}}(e,t);var r=dt(e,e===jl?Al:0);if(0===r)null!==n&&He(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&He(n),1===t)0===e.tag?function(e){Uo=!0,qo(e)}(ss.bind(null,e)):qo(ss.bind(null,e)),ao((function(){0===(6&Rl)&&Vo()})),n=null;else{switch(wt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=js(n,is.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function is(e,t){if(Jl=-1,es=0,0!==(6&Rl))throw Error(i(327));var n=e.callbackNode;if(Ss()&&e.callbackNode!==n)return null;var r=dt(e,e===jl?Al:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=ys(e,r);else{t=r;var o=Rl;Rl|=2;var a=vs();for(jl===e&&Al===t||(Ql=null,Vl=Xe()+500,ps(e,t));;)try{bs();break}catch(l){hs(e,l)}ki(),Ol.current=a,Rl=o,null!==Tl?t=0:(jl=null,Al=0,t=Ml)}if(0!==t){if(2===t&&(0!==(o=ht(e))&&(r=o,t=as(e,o))),1===t)throw n=Dl,ps(e,0),ls(e,r),os(e,Xe()),n;if(6===t)ls(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],i=o.getSnapshot;o=o.value;try{if(!ur(i(),o))return!1}catch(u){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!==(a=ht(e))&&(r=a,t=as(e,a))),1===t))throw n=Dl,ps(e,0),ls(e,r),os(e,Xe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:ks(e,Bl,Ql);break;case 3:if(ls(e,r),(130023424&r)===r&&10<(t=ql+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,Bl,Ql),t);break}ks(e,Bl,Ql);break;case 4:if(ls(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var u=31-at(r);a=1<<u,(u=t[u])>o&&(o=u),r&=~a}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*Cl(r/1960))-r)){e.timeoutHandle=ro(ks.bind(null,e,Bl,Ql),r);break}ks(e,Bl,Ql);break;default:throw Error(i(329))}}}return os(e,Xe()),e.callbackNode===n?is.bind(null,e):null}function as(e,t){var n=Ul;return e.current.memoizedState.isDehydrated&&(ps(e,t).flags|=256),2!==(e=ys(e,t))&&(t=Bl,Bl=n,null!==t&&us(t)),e}function us(e){null===Bl?Bl=e:Bl.push.apply(Bl,e)}function ls(e,t){for(t&=~Il,t&=~zl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function ss(e){if(0!==(6&Rl))throw Error(i(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=as(e,r))}if(1===n)throw n=Dl,ps(e,0),ls(e,t),os(e,Xe()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ks(e,Bl,Ql),os(e,Xe()),null}function cs(e,t){var n=Rl;Rl|=1;try{return e(t)}finally{0===(Rl=n)&&(Vl=Xe()+500,Uo&&Vo())}}function fs(e){null!==Zl&&0===Zl.tag&&0===(6&Rl)&&Ss();var t=Rl;Rl|=1;var n=Pl.transition,r=bt;try{if(Pl.transition=null,bt=1,e)return e()}finally{bt=r,Pl.transition=n,0===(6&(Rl=t))&&Vo()}}function ds(){Nl=Ll.current,Oo(Ll)}function ps(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Tl)for(n=Tl.return;null!==n;){var r=n;switch(ni(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Lo();break;case 3:ia(),Oo(jo),Oo(Ro),fa();break;case 5:ua(r);break;case 4:ia();break;case 13:case 19:Oo(la);break;case 10:Si(r.type._context);break;case 22:case 23:ds()}n=n.return}if(jl=e,Tl=e=Ls(e.current,null),Al=Nl=t,Ml=0,Dl=null,Il=zl=Fl=0,Bl=Ul=null,null!==_i){for(t=0;t<_i.length;t++)if(null!==(r=(n=_i[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}_i=null}return e}function hs(e,t){for(;;){var n=Tl;try{if(ki(),da.current=au,ga){for(var r=va.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ga=!1}if(ha=0,ya=ma=va=null,ba=!1,wa=0,_l.current=null,null===n||null===n.return){Ml=1,Dl=t,Tl=null;break}e:{var a=e,u=n.return,l=n,s=t;if(t=Al,l.flags|=32768,null!==s&&"object"===typeof s&&"function"===typeof s.then){var c=s,f=l,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=yu(u);if(null!==h){h.flags&=-257,gu(h,u,l,0,t),1&h.mode&&mu(a,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)){mu(a,c,t),ms();break e}s=Error(i(426))}else if(ii&&1&l.mode){var y=yu(u);if(null!==y){0===(65536&y.flags)&&(y.flags|=256),gu(y,u,l,0,t),vi(cu(s,l));break e}}a=s=cu(s,l),4!==Ml&&(Ml=2),null===Ul?Ul=[a]:Ul.push(a),a=u;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Fi(a,hu(0,s,t));break e;case 1:l=s;var g=a.type,b=a.stateNode;if(0===(128&a.flags)&&("function"===typeof g.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===Kl||!Kl.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,Fi(a,vu(a,l,t));break e}}a=a.return}while(null!==a)}xs(n)}catch(w){t=w,Tl===n&&null!==n&&(Tl=n=n.return);continue}break}}function vs(){var e=Ol.current;return Ol.current=au,null===e?au:e}function ms(){0!==Ml&&3!==Ml&&2!==Ml||(Ml=4),null===jl||0===(268435455&Fl)&&0===(268435455&zl)||ls(jl,Al)}function ys(e,t){var n=Rl;Rl|=2;var r=vs();for(jl===e&&Al===t||(Ql=null,ps(e,t));;)try{gs();break}catch(o){hs(e,o)}if(ki(),Rl=n,Ol.current=r,null!==Tl)throw Error(i(261));return jl=null,Al=0,Ml}function gs(){for(;null!==Tl;)ws(Tl)}function bs(){for(;null!==Tl&&!Ze();)ws(Tl)}function ws(e){var t=El(e.alternate,e,Nl);e.memoizedProps=e.pendingProps,null===t?xs(e):Tl=t,_l.current=null}function xs(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Hu(n,t,Nl)))return void(Tl=n)}else{if(null!==(n=Zu(n,t)))return n.flags&=32767,void(Tl=n);if(null===e)return Ml=6,void(Tl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Tl=t);Tl=t=e}while(null!==t);0===Ml&&(Ml=5)}function ks(e,t,n){var r=bt,o=Pl.transition;try{Pl.transition=null,bt=1,function(e,t,n,r){do{Ss()}while(null!==Zl);if(0!==(6&Rl))throw Error(i(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(i(177));e.callbackNode=null,e.callbackPriority=0;var a=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-at(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===jl&&(Tl=jl=null,Al=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Hl||(Hl=!0,js(tt,(function(){return Ss(),null}))),a=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||a){a=Pl.transition,Pl.transition=null;var u=bt;bt=1;var l=Rl;Rl|=4,_l.current=null,function(e,t){if(eo=Qt,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,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(x){n=null;break e}var u=0,l=-1,s=-1,c=0,f=0,d=e,p=null;t:for(;;){for(var h;d!==n||0!==o&&3!==d.nodeType||(l=u+o),d!==a||0!==r&&3!==d.nodeType||(s=u+r),3===d.nodeType&&(u+=d.nodeValue.length),null!==(h=d.firstChild);)p=d,d=h;for(;;){if(d===e)break t;if(p===n&&++c===o&&(l=u),p===a&&++f===r&&(s=u),null!==(h=d.nextSibling))break;p=(d=p).parentNode}d=h}n=-1===l||-1===s?null:{start:l,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},Qt=!1,Ju=t;null!==Ju;)if(e=(t=Ju).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Ju=e;else for(;null!==Ju;){t=Ju;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:yi(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(i(163))}}catch(x){Cs(t,t.return,x)}if(null!==(e=t.sibling)){e.return=t.return,Ju=e;break}Ju=t.return}v=nl,nl=!1}(e,n),yl(n,e),hr(to),Qt=!!eo,to=eo=null,e.current=n,bl(n,e,o),Ge(),Rl=l,bt=u,Pl.transition=a}else e.current=n;if(Hl&&(Hl=!1,Zl=e,Gl=o),a=e.pendingLanes,0===a&&(Kl=null),function(e){if(it&&"function"===typeof it.onCommitFiberRoot)try{it.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(Wl)throw Wl=!1,e=$l,$l=null,e;0!==(1&Gl)&&0!==e.tag&&Ss(),a=e.pendingLanes,0!==(1&a)?e===Yl?Xl++:(Xl=0,Yl=e):Xl=0,Vo()}(e,t,n,r)}finally{Pl.transition=o,bt=r}return null}function Ss(){if(null!==Zl){var e=wt(Gl),t=Pl.transition,n=bt;try{if(Pl.transition=null,bt=16>e?16:e,null===Zl)var r=!1;else{if(e=Zl,Zl=null,Gl=0,0!==(6&Rl))throw Error(i(331));var o=Rl;for(Rl|=4,Ju=e.current;null!==Ju;){var a=Ju,u=a.child;if(0!==(16&Ju.flags)){var l=a.deletions;if(null!==l){for(var s=0;s<l.length;s++){var c=l[s];for(Ju=c;null!==Ju;){var f=Ju;switch(f.tag){case 0:case 11:case 15:rl(8,f,a)}var d=f.child;if(null!==d)d.return=f,Ju=d;else for(;null!==Ju;){var p=(f=Ju).sibling,h=f.return;if(al(f),f===c){Ju=null;break}if(null!==p){p.return=h,Ju=p;break}Ju=h}}}var v=a.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)}}Ju=a}}if(0!==(2064&a.subtreeFlags)&&null!==u)u.return=a,Ju=u;else e:for(;null!==Ju;){if(0!==(2048&(a=Ju).flags))switch(a.tag){case 0:case 11:case 15:rl(9,a,a.return)}var g=a.sibling;if(null!==g){g.return=a.return,Ju=g;break e}Ju=a.return}}var b=e.current;for(Ju=b;null!==Ju;){var w=(u=Ju).child;if(0!==(2064&u.subtreeFlags)&&null!==w)w.return=u,Ju=w;else e:for(u=b;null!==Ju;){if(0!==(2048&(l=Ju).flags))try{switch(l.tag){case 0:case 11:case 15:ol(9,l)}}catch(k){Cs(l,l.return,k)}if(l===u){Ju=null;break e}var x=l.sibling;if(null!==x){x.return=l.return,Ju=x;break e}Ju=l.return}}if(Rl=o,Vo(),it&&"function"===typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(k){}r=!0}return r}finally{bt=n,Pl.transition=t}}return!1}function Es(e,t,n){e=Mi(e,t=hu(0,t=cu(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===Kl||!Kl.has(r))){t=Mi(t,e=vu(t,e=cu(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,jl===e&&(Al&n)===n&&(4===Ml||3===Ml&&(130023424&Al)===Al&&500>Xe()-ql?ps(e,0):Il|=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=ji(e,t))&&(yt(e,t,n),os(e,n))}function Ps(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),_s(e,n)}function Rs(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(i(314))}null!==r&&r.delete(t),_s(e,n)}function js(e,t){return Ke(e,t)}function Ts(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 As(e,t,n,r){return new Ts(e,t,n,r)}function Ns(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ls(e,t){var n=e.alternate;return null===n?((n=As(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 Ms(e,t,n,r,o,a){var u=2;if(r=e,"function"===typeof e)Ns(e)&&(u=1);else if("string"===typeof e)u=5;else e:switch(e){case S:return Ds(n.children,o,a,t);case E:u=8,o|=8;break;case C:return(e=As(12,n,t,2|o)).elementType=C,e.lanes=a,e;case R:return(e=As(13,n,t,o)).elementType=R,e.lanes=a,e;case j:return(e=As(19,n,t,o)).elementType=j,e.lanes=a,e;case N:return Fs(n,o,a,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case O:u=10;break e;case _:u=9;break e;case P:u=11;break e;case T:u=14;break e;case A:u=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=As(u,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Ds(e,t,n,r){return(e=As(7,e,r,t)).lanes=n,e}function Fs(e,t,n,r){return(e=As(22,e,r,t)).elementType=N,e.lanes=n,e.stateNode={isHidden:!1},e}function zs(e,t,n){return(e=As(6,e,null,t)).lanes=n,e}function Is(e,t,n){return(t=As(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Us(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 Bs(e,t,n,r,o,i,a,u,l){return e=new Us(e,t,n,u,l),1===t?(t=1,!0===i&&(t|=8)):t=0,i=As(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ai(i),e}function qs(e){if(!e)return Po;e:{if(qe(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(No(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(No(n))return Do(e,n,t)}return t}function Vs(e,t,n,r,o,i,a,u,l){return(e=Bs(n,r,!0,e,0,i,0,u,l)).context=qs(null),n=e.current,(i=Li(r=ts(),o=ns(n))).callback=void 0!==t&&null!==t?t:null,Mi(n,i,o),e.current.lanes=o,yt(e,o,r),os(e,r),e}function Qs(e,t,n,r){var o=t.current,i=ts(),a=ns(o);return n=qs(n),null===t.context?t.context=n:t.pendingContext=n,(t=Li(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Mi(o,t,a))&&(rs(e,o,a,i),Di(e,o,a)),a}function Ws(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function $s(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){$s(e,t),(e=e.alternate)&&$s(e,t)}El=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||jo.current)wu=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return wu=!1,function(e,t,n){switch(t.tag){case 3:ju(t),hi();break;case 5:aa(t);break;case 1:No(t.type)&&Fo(t);break;case 4:oa(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;_o(gi,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(_o(la,1&la.current),t.flags|=128,null):0!==(n&t.child.childLanes)?zu(e,t,n):(_o(la,1&la.current),null!==(e=Wu(e,t,n))?e.sibling:null);_o(la,1&la.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return Vu(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),_o(la,la.current),r)break;return null;case 22:case 23:return t.lanes=0,Cu(e,t,n)}return Wu(e,t,n)}(e,t,n);wu=0!==(131072&e.flags)}else wu=!1,ii&&0!==(1048576&t.flags)&&ei(t,Ko,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Qu(e,t),e=t.pendingProps;var o=Ao(t,Ro.current);Ci(t,n),o=Ea(null,t,r,e,o,n);var a=Ca();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,No(r)?(a=!0,Fo(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Ai(t),o.updater=qi,t.stateNode=o,o._reactInternals=t,$i(t,r,e,n),t=Ru(null,t,r,!0,a,n)):(t.tag=0,ii&&a&&ti(t),xu(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Qu(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"===typeof e)return Ns(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===P)return 11;if(e===T)return 14}return 2}(r),e=yi(r,e),o){case 0:t=_u(null,t,r,e,n);break e;case 1:t=Pu(null,t,r,e,n);break e;case 11:t=ku(null,t,r,e,n);break e;case 14:t=Su(null,t,r,yi(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,_u(e,t,r,o=t.elementType===r?o:yi(r,o),n);case 1:return r=t.type,o=t.pendingProps,Pu(e,t,r,o=t.elementType===r?o:yi(r,o),n);case 3:e:{if(ju(t),null===e)throw Error(i(387));r=t.pendingProps,o=(a=t.memoizedState).element,Ni(e,t),zi(t,r,null,n);var u=t.memoizedState;if(r=u.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Tu(e,t,r,n,o=cu(Error(i(423)),t));break e}if(r!==o){t=Tu(e,t,r,n,o=cu(Error(i(424)),t));break e}for(oi=so(t.stateNode.containerInfo.firstChild),ri=t,ii=!0,ai=null,n=Yi(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(hi(),r===o){t=Wu(e,t,n);break e}xu(e,t,r,n)}t=t.child}return t;case 5:return aa(t),null===e&&ci(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,u=o.children,no(r,o)?u=null:null!==a&&no(r,a)&&(t.flags|=32),Ou(e,t),xu(e,t,u,n),t.child;case 6:return null===e&&ci(t),null;case 13:return zu(e,t,n);case 4:return oa(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Xi(t,null,r,n):xu(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,ku(e,t,r,o=t.elementType===r?o:yi(r,o),n);case 7:return xu(e,t,t.pendingProps,n),t.child;case 8:case 12:return xu(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,u=o.value,_o(gi,r._currentValue),r._currentValue=u,null!==a)if(ur(a.value,u)){if(a.children===o.children&&!jo.current){t=Wu(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){u=a.child;for(var s=l.firstContext;null!==s;){if(s.context===r){if(1===a.tag){(s=Li(-1,n&-n)).tag=2;var c=a.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}}a.lanes|=n,null!==(s=a.alternate)&&(s.lanes|=n),Ei(a.return,n,t),l.lanes|=n;break}s=s.next}}else if(10===a.tag)u=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(u=a.return))throw Error(i(341));u.lanes|=n,null!==(l=u.alternate)&&(l.lanes|=n),Ei(u,n,t),u=a.sibling}else u=a.child;if(null!==u)u.return=a;else for(u=a;null!==u;){if(u===t){u=null;break}if(null!==(a=u.sibling)){a.return=u.return,u=a;break}u=u.return}a=u}xu(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ci(t,n),r=r(o=Oi(o)),t.flags|=1,xu(e,t,r,n),t.child;case 14:return o=yi(r=t.type,t.pendingProps),Su(e,t,r,o=yi(r.type,o),n);case 15:return Eu(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:yi(r,o),Qu(e,t),t.tag=1,No(r)?(e=!0,Fo(t)):e=!1,Ci(t,n),Qi(t,r,o),$i(t,r,o,n),Ru(null,t,r,!0,e,n);case 19:return Vu(e,t,n);case 22:return Cu(e,t,n)}throw Error(i(156,t.tag))};var Hs="function"===typeof reportError?reportError:function(e){console.error(e)};function Zs(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 Ys(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Js(){}function ec(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"===typeof o){var u=o;o=function(){var e=Ws(a);u.call(e)}}Qs(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"===typeof r){var i=r;r=function(){var e=Ws(a);i.call(e)}}var a=Vs(t,r,e,0,null,!1,0,"",Js);return e._reactRootContainer=a,e[vo]=a.current,qr(8===e.nodeType?e.parentNode:e),fs(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"===typeof r){var u=r;r=function(){var e=Ws(l);u.call(e)}}var l=Bs(e,0,!1,null,0,!1,0,"",Js);return e._reactRootContainer=l,e[vo]=l.current,qr(8===e.nodeType?e.parentNode:e),fs((function(){Qs(t,l,n,r)})),l}(n,t,e,o,r);return Ws(a)}Gs.prototype.render=Zs.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));Qs(e,t,null,null)},Gs.prototype.unmount=Zs.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;fs((function(){Qs(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<Nt.length&&0!==t&&t<Nt[n].priority;n++);Nt.splice(n,0,e),0===n&&Ft(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&Rl)&&(Vl=Xe()+500,Vo()))}break;case 13:fs((function(){var t=ji(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=ji(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=ji(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(Y(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(i(90));K(r),Y(r,o)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Pe=cs,Re=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=We(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),it=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(i(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(i(299));var n=!1,r="",o=Hs;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=Bs(e,1,!1,null,0,n,0,r,o),e[vo]=t.current,qr(8===e.nodeType?e.parentNode:e),new Zs(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(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=null===(e=We(t))?null:e.stateNode},t.flushSync=function(e){return fs(e)},t.hydrate=function(e,t,n){if(!Ys(t))throw Error(i(200));return ec(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Xs(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",u=Hs;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(u=n.onRecoverableError)),t=Vs(t,null,e,1,null!=n?n:null,o,0,a,u),e[vo]=t.current,qr(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(!Ys(t))throw Error(i(200));return ec(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Ys(e))throw Error(i(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(!Ys(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(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.createRoot=r.createRoot,t.hydrateRoot=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)},590:function(e,t,n){"use strict";n.d(t,{j:function(){return a}});var r=n(578),o=n(846),i=n(985),a=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!i.sk&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),function(){window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}},t}(0,r.Z)(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"===typeof e?n.setFocused(e):n.onFocus()}))},n.setFocused=function(e){this.focused=e,e&&this.onFocus()},n.onFocus=function(){this.listeners.forEach((function(e){e()}))},n.isFocused=function(){return"boolean"===typeof this.focused?this.focused:"undefined"===typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)},t}(o.l))},708:function(e,t,n){"use strict";n.d(t,{QueryClient:function(){return r.S}});var r=n(161),o=n(44);n.o(o,"QueryClientProvider")&&n.d(t,{QueryClientProvider:function(){return o.QueryClientProvider}}),n.o(o,"useMutation")&&n.d(t,{useMutation:function(){return o.useMutation}}),n.o(o,"useQuery")&&n.d(t,{useQuery:function(){return o.useQuery}}),n.o(o,"useQueryClient")&&n.d(t,{useQueryClient:function(){return o.useQueryClient}})},209:function(e,t,n){"use strict";n.d(t,{E:function(){return i},j:function(){return o}});var r=console;function o(){return r}function i(e){r=e}},909:function(e,t,n){"use strict";n.d(t,{R:function(){return s},m:function(){return l}});var r=n(462),o=n(209),i=n(363),a=n(350),u=n(985),l=function(){function e(e){this.options=(0,r.Z)({},e.defaultOptions,e.options),this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.observers=[],this.state=e.state||s(),this.meta=e.meta}var t=e.prototype;return t.setState=function(e){this.dispatch({type:"setState",state:e})},t.addObserver=function(e){-1===this.observers.indexOf(e)&&this.observers.push(e)},t.removeObserver=function(e){this.observers=this.observers.filter((function(t){return t!==e}))},t.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(u.ZT).catch(u.ZT)):Promise.resolve()},t.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},t.execute=function(){var e,t=this,n="loading"===this.state.status,r=Promise.resolve();return n||(this.dispatch({type:"loading",variables:this.options.variables}),r=r.then((function(){null==t.mutationCache.config.onMutate||t.mutationCache.config.onMutate(t.state.variables,t)})).then((function(){return null==t.options.onMutate?void 0:t.options.onMutate(t.state.variables)})).then((function(e){e!==t.state.context&&t.dispatch({type:"loading",context:e,variables:t.state.variables})}))),r.then((function(){return t.executeMutation()})).then((function(n){e=n,null==t.mutationCache.config.onSuccess||t.mutationCache.config.onSuccess(e,t.state.variables,t.state.context,t)})).then((function(){return null==t.options.onSuccess?void 0:t.options.onSuccess(e,t.state.variables,t.state.context)})).then((function(){return null==t.options.onSettled?void 0:t.options.onSettled(e,null,t.state.variables,t.state.context)})).then((function(){return t.dispatch({type:"success",data:e}),e})).catch((function(e){return null==t.mutationCache.config.onError||t.mutationCache.config.onError(e,t.state.variables,t.state.context,t),(0,o.j)().error(e),Promise.resolve().then((function(){return null==t.options.onError?void 0:t.options.onError(e,t.state.variables,t.state.context)})).then((function(){return null==t.options.onSettled?void 0:t.options.onSettled(void 0,e,t.state.variables,t.state.context)})).then((function(){throw t.dispatch({type:"error",error:e}),e}))}))},t.executeMutation=function(){var e,t=this;return this.retryer=new a.m4({fn:function(){return t.options.mutationFn?t.options.mutationFn(t.state.variables):Promise.reject("No mutationFn found")},onFail:function(){t.dispatch({type:"failed"})},onPause:function(){t.dispatch({type:"pause"})},onContinue:function(){t.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay}),this.retryer.promise},t.dispatch=function(e){var t=this;this.state=function(e,t){switch(t.type){case"failed":return(0,r.Z)({},e,{failureCount:e.failureCount+1});case"pause":return(0,r.Z)({},e,{isPaused:!0});case"continue":return(0,r.Z)({},e,{isPaused:!1});case"loading":return(0,r.Z)({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return(0,r.Z)({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return(0,r.Z)({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return(0,r.Z)({},e,t.state);default:return e}}(this.state,e),i.V.batch((function(){t.observers.forEach((function(t){t.onMutationUpdate(e)})),t.mutationCache.notify(t)}))},e}();function s(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}},363:function(e,t,n){"use strict";n.d(t,{V:function(){return i}});var r=n(985),o=function(){function e(){this.queue=[],this.transactions=0,this.notifyFn=function(e){e()},this.batchNotifyFn=function(e){e()}}var t=e.prototype;return t.batch=function(e){var t;this.transactions++;try{t=e()}finally{this.transactions--,this.transactions||this.flush()}return t},t.schedule=function(e){var t=this;this.transactions?this.queue.push(e):(0,r.A4)((function(){t.notifyFn(e)}))},t.batchCalls=function(e){var t=this;return function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];t.schedule((function(){e.apply(void 0,r)}))}},t.flush=function(){var e=this,t=this.queue;this.queue=[],t.length&&(0,r.A4)((function(){e.batchNotifyFn((function(){t.forEach((function(t){e.notifyFn(t)}))}))}))},t.setNotifyFunction=function(e){this.notifyFn=e},t.setBatchNotifyFunction=function(e){this.batchNotifyFn=e},e}(),i=new o},503:function(e,t,n){"use strict";n.d(t,{N:function(){return a}});var r=n(578),o=n(846),i=n(985),a=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!i.sk&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener("online",n,!1),window.addEventListener("offline",n,!1),function(){window.removeEventListener("online",n),window.removeEventListener("offline",n)}}},t}(0,r.Z)(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"===typeof e?n.setOnline(e):n.onOnline()}))},n.setOnline=function(e){this.online=e,e&&this.onOnline()},n.onOnline=function(){this.listeners.forEach((function(e){e()}))},n.isOnline=function(){return"boolean"===typeof this.online?this.online:"undefined"===typeof navigator||"undefined"===typeof navigator.onLine||navigator.onLine},t}(o.l))},161:function(e,t,n){"use strict";n.d(t,{S:function(){return g}});var r=n(462),o=n(985),i=n(578),a=n(363),u=n(209),l=n(350),s=function(){function e(e){this.abortSignalConsumed=!1,this.hadObservers=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||this.getDefaultState(this.options),this.state=this.initialState,this.meta=e.meta,this.scheduleGc()}var t=e.prototype;return t.setOptions=function(e){var t;this.options=(0,r.Z)({},this.defaultOptions,e),this.meta=null==e?void 0:e.meta,this.cacheTime=Math.max(this.cacheTime||0,null!=(t=this.options.cacheTime)?t:3e5)},t.setDefaultOptions=function(e){this.defaultOptions=e},t.scheduleGc=function(){var e=this;this.clearGcTimeout(),(0,o.PN)(this.cacheTime)&&(this.gcTimeout=setTimeout((function(){e.optionalRemove()}),this.cacheTime))},t.clearGcTimeout=function(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)},t.optionalRemove=function(){this.observers.length||(this.state.isFetching?this.hadObservers&&this.scheduleGc():this.cache.remove(this))},t.setData=function(e,t){var n,r,i=this.state.data,a=(0,o.SE)(e,i);return(null==(n=(r=this.options).isDataEqual)?void 0:n.call(r,i,a))?a=i:!1!==this.options.structuralSharing&&(a=(0,o.Q$)(i,a)),this.dispatch({data:a,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt}),a},t.setState=function(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})},t.cancel=function(e){var t,n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(o.ZT).catch(o.ZT):Promise.resolve()},t.destroy=function(){this.clearGcTimeout(),this.cancel({silent:!0})},t.reset=function(){this.destroy(),this.setState(this.initialState)},t.isActive=function(){return this.observers.some((function(e){return!1!==e.options.enabled}))},t.isFetching=function(){return this.state.isFetching},t.isStale=function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((function(e){return e.getCurrentResult().isStale}))},t.isStaleByTime=function(e){return void 0===e&&(e=0),this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,o.Kp)(this.state.dataUpdatedAt,e)},t.onFocus=function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnWindowFocus()}));t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.onOnline=function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnReconnect()}));t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.addObserver=function(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.hadObservers=!0,this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))},t.removeObserver=function(e){-1!==this.observers.indexOf(e)&&(this.observers=this.observers.filter((function(t){return t!==e})),this.observers.length||(this.retryer&&(this.retryer.isTransportCancelable||this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.cacheTime?this.scheduleGc():this.cache.remove(this)),this.cache.notify({type:"observerRemoved",query:this,observer:e}))},t.getObserversCount=function(){return this.observers.length},t.invalidate=function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})},t.fetch=function(e,t){var n,r,i,a=this;if(this.state.isFetching)if(this.state.dataUpdatedAt&&(null==t?void 0:t.cancelRefetch))this.cancel({silent:!0});else if(this.promise){var s;return null==(s=this.retryer)||s.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){var c=this.observers.find((function(e){return e.options.queryFn}));c&&this.setOptions(c.options)}var f=(0,o.mc)(this.queryKey),d=(0,o.G9)(),p={queryKey:f,pageParam:void 0,meta:this.meta};Object.defineProperty(p,"signal",{enumerable:!0,get:function(){if(d)return a.abortSignalConsumed=!0,d.signal}});var h,v,m={fetchOptions:t,options:this.options,queryKey:f,state:this.state,fetchFn:function(){return a.options.queryFn?(a.abortSignalConsumed=!1,a.options.queryFn(p)):Promise.reject("Missing queryFn")},meta:this.meta};(null==(n=this.options.behavior)?void 0:n.onFetch)&&(null==(h=this.options.behavior)||h.onFetch(m));(this.revertState=this.state,this.state.isFetching&&this.state.fetchMeta===(null==(r=m.fetchOptions)?void 0:r.meta))||this.dispatch({type:"fetch",meta:null==(v=m.fetchOptions)?void 0:v.meta});return this.retryer=new l.m4({fn:m.fetchFn,abort:null==d||null==(i=d.abort)?void 0:i.bind(d),onSuccess:function(e){a.setData(e),null==a.cache.config.onSuccess||a.cache.config.onSuccess(e,a),0===a.cacheTime&&a.optionalRemove()},onError:function(e){(0,l.DV)(e)&&e.silent||a.dispatch({type:"error",error:e}),(0,l.DV)(e)||(null==a.cache.config.onError||a.cache.config.onError(e,a),(0,u.j)().error(e)),0===a.cacheTime&&a.optionalRemove()},onFail:function(){a.dispatch({type:"failed"})},onPause:function(){a.dispatch({type:"pause"})},onContinue:function(){a.dispatch({type:"continue"})},retry:m.options.retry,retryDelay:m.options.retryDelay}),this.promise=this.retryer.promise,this.promise},t.dispatch=function(e){var t=this;this.state=this.reducer(this.state,e),a.V.batch((function(){t.observers.forEach((function(t){t.onQueryUpdate(e)})),t.cache.notify({query:t,type:"queryUpdated",action:e})}))},t.getDefaultState=function(e){var t="function"===typeof e.initialData?e.initialData():e.initialData,n="undefined"!==typeof e.initialData?"function"===typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,r="undefined"!==typeof t;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:r?"success":"idle"}},t.reducer=function(e,t){var n,o;switch(t.type){case"failed":return(0,r.Z)({},e,{fetchFailureCount:e.fetchFailureCount+1});case"pause":return(0,r.Z)({},e,{isPaused:!0});case"continue":return(0,r.Z)({},e,{isPaused:!1});case"fetch":return(0,r.Z)({},e,{fetchFailureCount:0,fetchMeta:null!=(n=t.meta)?n:null,isFetching:!0,isPaused:!1},!e.dataUpdatedAt&&{error:null,status:"loading"});case"success":return(0,r.Z)({},e,{data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:null!=(o=t.dataUpdatedAt)?o:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:"success"});case"error":var i=t.error;return(0,l.DV)(i)&&i.revert&&this.revertState?(0,r.Z)({},this.revertState):(0,r.Z)({},e,{error:i,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return(0,r.Z)({},e,{isInvalidated:!0});case"setState":return(0,r.Z)({},e,t.state);default:return e}},e}(),c=n(846),f=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.queries=[],n.queriesMap={},n}(0,i.Z)(t,e);var n=t.prototype;return n.build=function(e,t,n){var r,i=t.queryKey,a=null!=(r=t.queryHash)?r:(0,o.Rm)(i,t),u=this.get(a);return u||(u=new s({cache:this,queryKey:i,queryHash:a,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(i),meta:t.meta}),this.add(u)),u},n.add=function(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"queryAdded",query:e}))},n.remove=function(e){var t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter((function(t){return t!==e})),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"queryRemoved",query:e}))},n.clear=function(){var e=this;a.V.batch((function(){e.queries.forEach((function(t){e.remove(t)}))}))},n.get=function(e){return this.queriesMap[e]},n.getAll=function(){return this.queries},n.find=function(e,t){var n=(0,o.I6)(e,t)[0];return"undefined"===typeof n.exact&&(n.exact=!0),this.queries.find((function(e){return(0,o._x)(n,e)}))},n.findAll=function(e,t){var n=(0,o.I6)(e,t)[0];return Object.keys(n).length>0?this.queries.filter((function(e){return(0,o._x)(n,e)})):this.queries},n.notify=function(e){var t=this;a.V.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},n.onFocus=function(){var e=this;a.V.batch((function(){e.queries.forEach((function(e){e.onFocus()}))}))},n.onOnline=function(){var e=this;a.V.batch((function(){e.queries.forEach((function(e){e.onOnline()}))}))},t}(c.l),d=n(909),p=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.mutations=[],n.mutationId=0,n}(0,i.Z)(t,e);var n=t.prototype;return n.build=function(e,t,n){var r=new d.m({mutationCache:this,mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0,meta:t.meta});return this.add(r),r},n.add=function(e){this.mutations.push(e),this.notify(e)},n.remove=function(e){this.mutations=this.mutations.filter((function(t){return t!==e})),e.cancel(),this.notify(e)},n.clear=function(){var e=this;a.V.batch((function(){e.mutations.forEach((function(t){e.remove(t)}))}))},n.getAll=function(){return this.mutations},n.find=function(e){return"undefined"===typeof e.exact&&(e.exact=!0),this.mutations.find((function(t){return(0,o.X7)(e,t)}))},n.findAll=function(e){return this.mutations.filter((function(t){return(0,o.X7)(e,t)}))},n.notify=function(e){var t=this;a.V.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},n.onFocus=function(){this.resumePausedMutations()},n.onOnline=function(){this.resumePausedMutations()},n.resumePausedMutations=function(){var e=this.mutations.filter((function(e){return e.state.isPaused}));return a.V.batch((function(){return e.reduce((function(e,t){return e.then((function(){return t.continue().catch(o.ZT)}))}),Promise.resolve())}))},t}(c.l),h=n(590),v=n(503);function m(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}function y(e,t){return null==e.getPreviousPageParam?void 0:e.getPreviousPageParam(t[0],t)}var g=function(){function e(e){void 0===e&&(e={}),this.queryCache=e.queryCache||new f,this.mutationCache=e.mutationCache||new p,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var t=e.prototype;return t.mount=function(){var e=this;this.unsubscribeFocus=h.j.subscribe((function(){h.j.isFocused()&&v.N.isOnline()&&(e.mutationCache.onFocus(),e.queryCache.onFocus())})),this.unsubscribeOnline=v.N.subscribe((function(){h.j.isFocused()&&v.N.isOnline()&&(e.mutationCache.onOnline(),e.queryCache.onOnline())}))},t.unmount=function(){var e,t;null==(e=this.unsubscribeFocus)||e.call(this),null==(t=this.unsubscribeOnline)||t.call(this)},t.isFetching=function(e,t){var n=(0,o.I6)(e,t)[0];return n.fetching=!0,this.queryCache.findAll(n).length},t.isMutating=function(e){return this.mutationCache.findAll((0,r.Z)({},e,{fetching:!0})).length},t.getQueryData=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data},t.getQueriesData=function(e){return this.getQueryCache().findAll(e).map((function(e){return[e.queryKey,e.state.data]}))},t.setQueryData=function(e,t,n){var r=(0,o._v)(e),i=this.defaultQueryOptions(r);return this.queryCache.build(this,i).setData(t,n)},t.setQueriesData=function(e,t,n){var r=this;return a.V.batch((function(){return r.getQueryCache().findAll(e).map((function(e){var o=e.queryKey;return[o,r.setQueryData(o,t,n)]}))}))},t.getQueryState=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state},t.removeQueries=function(e,t){var n=(0,o.I6)(e,t)[0],r=this.queryCache;a.V.batch((function(){r.findAll(n).forEach((function(e){r.remove(e)}))}))},t.resetQueries=function(e,t,n){var i=this,u=(0,o.I6)(e,t,n),l=u[0],s=u[1],c=this.queryCache,f=(0,r.Z)({},l,{active:!0});return a.V.batch((function(){return c.findAll(l).forEach((function(e){e.reset()})),i.refetchQueries(f,s)}))},t.cancelQueries=function(e,t,n){var r=this,i=(0,o.I6)(e,t,n),u=i[0],l=i[1],s=void 0===l?{}:l;"undefined"===typeof s.revert&&(s.revert=!0);var c=a.V.batch((function(){return r.queryCache.findAll(u).map((function(e){return e.cancel(s)}))}));return Promise.all(c).then(o.ZT).catch(o.ZT)},t.invalidateQueries=function(e,t,n){var i,u,l,s=this,c=(0,o.I6)(e,t,n),f=c[0],d=c[1],p=(0,r.Z)({},f,{active:null==(i=null!=(u=f.refetchActive)?u:f.active)||i,inactive:null!=(l=f.refetchInactive)&&l});return a.V.batch((function(){return s.queryCache.findAll(f).forEach((function(e){e.invalidate()})),s.refetchQueries(p,d)}))},t.refetchQueries=function(e,t,n){var i=this,u=(0,o.I6)(e,t,n),l=u[0],s=u[1],c=a.V.batch((function(){return i.queryCache.findAll(l).map((function(e){return e.fetch(void 0,(0,r.Z)({},s,{meta:{refetchPage:null==l?void 0:l.refetchPage}}))}))})),f=Promise.all(c).then(o.ZT);return(null==s?void 0:s.throwOnError)||(f=f.catch(o.ZT)),f},t.fetchQuery=function(e,t,n){var r=(0,o._v)(e,t,n),i=this.defaultQueryOptions(r);"undefined"===typeof i.retry&&(i.retry=!1);var a=this.queryCache.build(this,i);return a.isStaleByTime(i.staleTime)?a.fetch(i):Promise.resolve(a.state.data)},t.prefetchQuery=function(e,t,n){return this.fetchQuery(e,t,n).then(o.ZT).catch(o.ZT)},t.fetchInfiniteQuery=function(e,t,n){var r=(0,o._v)(e,t,n);return r.behavior={onFetch:function(e){e.fetchFn=function(){var t,n,r,i,a,u,s,c=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,f=null==(r=e.fetchOptions)||null==(i=r.meta)?void 0:i.fetchMore,d=null==f?void 0:f.pageParam,p="forward"===(null==f?void 0:f.direction),h="backward"===(null==f?void 0:f.direction),v=(null==(a=e.state.data)?void 0:a.pages)||[],g=(null==(u=e.state.data)?void 0:u.pageParams)||[],b=(0,o.G9)(),w=null==b?void 0:b.signal,x=g,k=!1,S=e.options.queryFn||function(){return Promise.reject("Missing queryFn")},E=function(e,t,n,r){return x=r?[t].concat(x):[].concat(x,[t]),r?[n].concat(e):[].concat(e,[n])},C=function(t,n,r,o){if(k)return Promise.reject("Cancelled");if("undefined"===typeof r&&!n&&t.length)return Promise.resolve(t);var i={queryKey:e.queryKey,signal:w,pageParam:r,meta:e.meta},a=S(i),u=Promise.resolve(a).then((function(e){return E(t,r,e,o)}));return(0,l.LE)(a)&&(u.cancel=a.cancel),u};if(v.length)if(p){var O="undefined"!==typeof d,_=O?d:m(e.options,v);s=C(v,O,_)}else if(h){var P="undefined"!==typeof d,R=P?d:y(e.options,v);s=C(v,P,R,!0)}else!function(){x=[];var t="undefined"===typeof e.options.getNextPageParam,n=!c||!v[0]||c(v[0],0,v);s=n?C([],t,g[0]):Promise.resolve(E([],g[0],v[0]));for(var r=function(n){s=s.then((function(r){if(!c||!v[n]||c(v[n],n,v)){var o=t?g[n]:m(e.options,r);return C(r,t,o)}return Promise.resolve(E(r,g[n],v[n]))}))},o=1;o<v.length;o++)r(o)}();else s=C([]);var j=s.then((function(e){return{pages:e,pageParams:x}}));return j.cancel=function(){k=!0,null==b||b.abort(),(0,l.LE)(s)&&s.cancel()},j}}},this.fetchQuery(r)},t.prefetchInfiniteQuery=function(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(o.ZT).catch(o.ZT)},t.cancelMutations=function(){var e=this,t=a.V.batch((function(){return e.mutationCache.getAll().map((function(e){return e.cancel()}))}));return Promise.all(t).then(o.ZT).catch(o.ZT)},t.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},t.executeMutation=function(e){return this.mutationCache.build(this,e).execute()},t.getQueryCache=function(){return this.queryCache},t.getMutationCache=function(){return this.mutationCache},t.getDefaultOptions=function(){return this.defaultOptions},t.setDefaultOptions=function(e){this.defaultOptions=e},t.setQueryDefaults=function(e,t){var n=this.queryDefaults.find((function(t){return(0,o.yF)(e)===(0,o.yF)(t.queryKey)}));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})},t.getQueryDefaults=function(e){var t;return e?null==(t=this.queryDefaults.find((function(t){return(0,o.to)(e,t.queryKey)})))?void 0:t.defaultOptions:void 0},t.setMutationDefaults=function(e,t){var n=this.mutationDefaults.find((function(t){return(0,o.yF)(e)===(0,o.yF)(t.mutationKey)}));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})},t.getMutationDefaults=function(e){var t;return e?null==(t=this.mutationDefaults.find((function(t){return(0,o.to)(e,t.mutationKey)})))?void 0:t.defaultOptions:void 0},t.defaultQueryOptions=function(e){if(null==e?void 0:e._defaulted)return e;var t=(0,r.Z)({},this.defaultOptions.queries,this.getQueryDefaults(null==e?void 0:e.queryKey),e,{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=(0,o.Rm)(t.queryKey,t)),t},t.defaultQueryObserverOptions=function(e){return this.defaultQueryOptions(e)},t.defaultMutationOptions=function(e){return(null==e?void 0:e._defaulted)?e:(0,r.Z)({},this.defaultOptions.mutations,this.getMutationDefaults(null==e?void 0:e.mutationKey),e,{_defaulted:!0})},t.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e}()},350:function(e,t,n){"use strict";n.d(t,{DV:function(){return s},LE:function(){return u},m4:function(){return c}});var r=n(590),o=n(503),i=n(985);function a(e){return Math.min(1e3*Math.pow(2,e),3e4)}function u(e){return"function"===typeof(null==e?void 0:e.cancel)}var l=function(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent};function s(e){return e instanceof l}var c=function(e){var t,n,s,c,f=this,d=!1;this.abort=e.abort,this.cancel=function(e){return null==t?void 0:t(e)},this.cancelRetry=function(){d=!0},this.continueRetry=function(){d=!1},this.continue=function(){return null==n?void 0:n()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise((function(e,t){s=e,c=t}));var p=function(t){f.isResolved||(f.isResolved=!0,null==e.onSuccess||e.onSuccess(t),null==n||n(),s(t))},h=function(t){f.isResolved||(f.isResolved=!0,null==e.onError||e.onError(t),null==n||n(),c(t))};!function s(){if(!f.isResolved){var c;try{c=e.fn()}catch(v){c=Promise.reject(v)}t=function(e){if(!f.isResolved&&(h(new l(e)),null==f.abort||f.abort(),u(c)))try{c.cancel()}catch(t){}},f.isTransportCancelable=u(c),Promise.resolve(c).then(p).catch((function(t){var u,l;if(!f.isResolved){var c=null!=(u=e.retry)?u:3,p=null!=(l=e.retryDelay)?l:a,v="function"===typeof p?p(f.failureCount,t):p,m=!0===c||"number"===typeof c&&f.failureCount<c||"function"===typeof c&&c(f.failureCount,t);!d&&m?(f.failureCount++,null==e.onFail||e.onFail(f.failureCount,t),(0,i.Gh)(v).then((function(){if(!r.j.isFocused()||!o.N.isOnline())return new Promise((function(t){n=t,f.isPaused=!0,null==e.onPause||e.onPause()})).then((function(){n=void 0,f.isPaused=!1,null==e.onContinue||e.onContinue()}))})).then((function(){d?h(t):s()}))):h(t)}}))}}()}},846:function(e,t,n){"use strict";n.d(t,{l:function(){return r}});var r=function(){function e(){this.listeners=[]}var t=e.prototype;return t.subscribe=function(e){var t=this,n=e||function(){};return this.listeners.push(n),this.onSubscribe(),function(){t.listeners=t.listeners.filter((function(e){return e!==n})),t.onUnsubscribe()}},t.hasListeners=function(){return this.listeners.length>0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e}()},44:function(){},985:function(e,t,n){"use strict";n.d(t,{A4:function(){return C},G9:function(){return O},Gh:function(){return E},I6:function(){return d},Kp:function(){return s},PN:function(){return u},Q$:function(){return b},Rm:function(){return v},SE:function(){return a},VS:function(){return w},X7:function(){return h},ZT:function(){return i},_v:function(){return c},_x:function(){return p},lV:function(){return f},mc:function(){return l},sk:function(){return o},to:function(){return y},yF:function(){return m}});var r=n(462),o="undefined"===typeof window;function i(){}function a(e,t){return"function"===typeof e?e(t):e}function u(e){return"number"===typeof e&&e>=0&&e!==1/0}function l(e){return Array.isArray(e)?e:[e]}function s(e,t){return Math.max(e+(t||0)-Date.now(),0)}function c(e,t,n){return S(e)?"function"===typeof t?(0,r.Z)({},n,{queryKey:e,queryFn:t}):(0,r.Z)({},t,{queryKey:e}):e}function f(e,t,n){return S(e)?"function"===typeof t?(0,r.Z)({},n,{mutationKey:e,mutationFn:t}):(0,r.Z)({},t,{mutationKey:e}):"function"===typeof e?(0,r.Z)({},t,{mutationFn:e}):(0,r.Z)({},e)}function d(e,t,n){return S(e)?[(0,r.Z)({},t,{queryKey:e}),n]:[e||{},t]}function p(e,t){var n=e.active,r=e.exact,o=e.fetching,i=e.inactive,a=e.predicate,u=e.queryKey,l=e.stale;if(S(u))if(r){if(t.queryHash!==v(u,t.options))return!1}else if(!y(t.queryKey,u))return!1;var s=function(e,t){return!0===e&&!0===t||null==e&&null==t?"all":!1===e&&!1===t?"none":(null!=e?e:!t)?"active":"inactive"}(n,i);if("none"===s)return!1;if("all"!==s){var c=t.isActive();if("active"===s&&!c)return!1;if("inactive"===s&&c)return!1}return("boolean"!==typeof l||t.isStale()===l)&&(("boolean"!==typeof o||t.isFetching()===o)&&!(a&&!a(t)))}function h(e,t){var n=e.exact,r=e.fetching,o=e.predicate,i=e.mutationKey;if(S(i)){if(!t.options.mutationKey)return!1;if(n){if(m(t.options.mutationKey)!==m(i))return!1}else if(!y(t.options.mutationKey,i))return!1}return("boolean"!==typeof r||"loading"===t.state.status===r)&&!(o&&!o(t))}function v(e,t){return((null==t?void 0:t.queryKeyHashFn)||m)(e)}function m(e){var t,n=l(e);return t=n,JSON.stringify(t,(function(e,t){return x(t)?Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{}):t}))}function y(e,t){return g(l(e),l(t))}function g(e,t){return e===t||typeof e===typeof t&&(!(!e||!t||"object"!==typeof e||"object"!==typeof t)&&!Object.keys(t).some((function(n){return!g(e[n],t[n])})))}function b(e,t){if(e===t)return e;var n=Array.isArray(e)&&Array.isArray(t);if(n||x(e)&&x(t)){for(var r=n?e.length:Object.keys(e).length,o=n?t:Object.keys(t),i=o.length,a=n?[]:{},u=0,l=0;l<i;l++){var s=n?l:o[l];a[s]=b(e[s],t[s]),a[s]===e[s]&&u++}return r===i&&u===r?e:a}return t}function w(e,t){if(e&&!t||t&&!e)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}function x(e){if(!k(e))return!1;var t=e.constructor;if("undefined"===typeof t)return!0;var n=t.prototype;return!!k(n)&&!!n.hasOwnProperty("isPrototypeOf")}function k(e){return"[object Object]"===Object.prototype.toString.call(e)}function S(e){return"string"===typeof e||Array.isArray(e)}function E(e){return new Promise((function(t){setTimeout(t,e)}))}function C(e){Promise.resolve().then(e).catch((function(e){return setTimeout((function(){throw e}))}))}function O(){if("function"===typeof AbortController)return new AbortController}},933:function(e,t,n){"use strict";n.d(t,{QueryClient:function(){return r.QueryClient},QueryClientProvider:function(){return o.QueryClientProvider},useMutation:function(){return o.useMutation},useQuery:function(){return o.useQuery},useQueryClient:function(){return o.useQueryClient}});var r=n(708);n.o(r,"QueryClientProvider")&&n.d(t,{QueryClientProvider:function(){return r.QueryClientProvider}}),n.o(r,"useMutation")&&n.d(t,{useMutation:function(){return r.useMutation}}),n.o(r,"useQuery")&&n.d(t,{useQuery:function(){return r.useQuery}}),n.o(r,"useQueryClient")&&n.d(t,{useQueryClient:function(){return r.useQueryClient}});var o=n(704)},704:function(e,t,n){"use strict";n.d(t,{QueryClientProvider:function(){return d},useMutation:function(){return w},useQuery:function(){return T},useQueryClient:function(){return f}});var r=n(363),o=n(164).unstable_batchedUpdates;r.V.setBatchNotifyFunction(o);var i=n(209),a=console;(0,i.E)(a);var u=n(791),l=u.createContext(void 0),s=u.createContext(!1);function c(e){return e&&"undefined"!==typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=l),window.ReactQueryClientContext):l}var f=function(){var e=u.useContext(c(u.useContext(s)));if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},d=function(e){var t=e.client,n=e.contextSharing,r=void 0!==n&&n,o=e.children;u.useEffect((function(){return t.mount(),function(){t.unmount()}}),[t]);var i=c(r);return u.createElement(s.Provider,{value:r},u.createElement(i.Provider,{value:t},o))},p=n(462),h=n(985),v=n(578),m=n(909),y=n(846),g=function(e){function t(t,n){var r;return(r=e.call(this)||this).client=t,r.setOptions(n),r.bindMethods(),r.updateResult(),r}(0,v.Z)(t,e);var n=t.prototype;return n.bindMethods=function(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)},n.setOptions=function(e){this.options=this.client.defaultMutationOptions(e)},n.onUnsubscribe=function(){var e;this.listeners.length||(null==(e=this.currentMutation)||e.removeObserver(this))},n.onMutationUpdate=function(e){this.updateResult();var t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)},n.getCurrentResult=function(){return this.currentResult},n.reset=function(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})},n.mutate=function(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,(0,p.Z)({},this.options,{variables:"undefined"!==typeof e?e:this.options.variables})),this.currentMutation.addObserver(this),this.currentMutation.execute()},n.updateResult=function(){var e=this.currentMutation?this.currentMutation.state:(0,m.R)(),t=(0,p.Z)({},e,{isLoading:"loading"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset});this.currentResult=t},n.notify=function(e){var t=this;r.V.batch((function(){t.mutateOptions&&(e.onSuccess?(null==t.mutateOptions.onSuccess||t.mutateOptions.onSuccess(t.currentResult.data,t.currentResult.variables,t.currentResult.context),null==t.mutateOptions.onSettled||t.mutateOptions.onSettled(t.currentResult.data,null,t.currentResult.variables,t.currentResult.context)):e.onError&&(null==t.mutateOptions.onError||t.mutateOptions.onError(t.currentResult.error,t.currentResult.variables,t.currentResult.context),null==t.mutateOptions.onSettled||t.mutateOptions.onSettled(void 0,t.currentResult.error,t.currentResult.variables,t.currentResult.context))),e.listeners&&t.listeners.forEach((function(e){e(t.currentResult)}))}))},t}(y.l);function b(e,t,n){return"function"===typeof t?t.apply(void 0,n):"boolean"===typeof t?t:!!e}function w(e,t,n){var o=u.useRef(!1),i=u.useState(0)[1],a=(0,h.lV)(e,t,n),l=f(),s=u.useRef();s.current?s.current.setOptions(a):s.current=new g(l,a);var c=s.current.getCurrentResult();u.useEffect((function(){o.current=!0;var e=s.current.subscribe(r.V.batchCalls((function(){o.current&&i((function(e){return e+1}))})));return function(){o.current=!1,e()}}),[]);var d=u.useCallback((function(e,t){s.current.mutate(e,t).catch(h.ZT)}),[]);if(c.error&&b(void 0,s.current.options.useErrorBoundary,[c.error]))throw c.error;return(0,p.Z)({},c,{mutate:d,mutateAsync:c.mutate})}var x=n(590),k=n(350),S=function(e){function t(t,n){var r;return(r=e.call(this)||this).client=t,r.options=n,r.trackedProps=[],r.selectError=null,r.bindMethods(),r.setOptions(n),r}(0,v.Z)(t,e);var n=t.prototype;return n.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},n.onSubscribe=function(){1===this.listeners.length&&(this.currentQuery.addObserver(this),E(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},n.onUnsubscribe=function(){this.listeners.length||this.destroy()},n.shouldFetchOnReconnect=function(){return C(this.currentQuery,this.options,this.options.refetchOnReconnect)},n.shouldFetchOnWindowFocus=function(){return C(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},n.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},n.setOptions=function(e,t){var n=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(e),"undefined"!==typeof this.options.enabled&&"boolean"!==typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();var o=this.hasListeners();o&&O(this.currentQuery,r,this.options,n)&&this.executeFetch(),this.updateResult(t),!o||this.currentQuery===r&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();var i=this.computeRefetchInterval();!o||this.currentQuery===r&&this.options.enabled===n.enabled&&i===this.currentRefetchInterval||this.updateRefetchInterval(i)},n.getOptimisticResult=function(e){var t=this.client.defaultQueryObserverOptions(e),n=this.client.getQueryCache().build(this.client,t);return this.createResult(n,t)},n.getCurrentResult=function(){return this.currentResult},n.trackResult=function(e,t){var n=this,r={},o=function(e){n.trackedProps.includes(e)||n.trackedProps.push(e)};return Object.keys(e).forEach((function(t){Object.defineProperty(r,t,{configurable:!1,enumerable:!0,get:function(){return o(t),e[t]}})})),(t.useErrorBoundary||t.suspense)&&o("error"),r},n.getNextResult=function(e){var t=this;return new Promise((function(n,r){var o=t.subscribe((function(t){t.isFetching||(o(),t.isError&&(null==e?void 0:e.throwOnError)?r(t.error):n(t))}))}))},n.getCurrentQuery=function(){return this.currentQuery},n.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},n.refetch=function(e){return this.fetch((0,p.Z)({},e,{meta:{refetchPage:null==e?void 0:e.refetchPage}}))},n.fetchOptimistic=function(e){var t=this,n=this.client.defaultQueryObserverOptions(e),r=this.client.getQueryCache().build(this.client,n);return r.fetch().then((function(){return t.createResult(r,n)}))},n.fetch=function(e){var t=this;return this.executeFetch(e).then((function(){return t.updateResult(),t.currentResult}))},n.executeFetch=function(e){this.updateQuery();var t=this.currentQuery.fetch(this.options,e);return(null==e?void 0:e.throwOnError)||(t=t.catch(h.ZT)),t},n.updateStaleTimeout=function(){var e=this;if(this.clearStaleTimeout(),!h.sk&&!this.currentResult.isStale&&(0,h.PN)(this.options.staleTime)){var t=(0,h.Kp)(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((function(){e.currentResult.isStale||e.updateResult()}),t)}},n.computeRefetchInterval=function(){var e;return"function"===typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e},n.updateRefetchInterval=function(e){var t=this;this.clearRefetchInterval(),this.currentRefetchInterval=e,!h.sk&&!1!==this.options.enabled&&(0,h.PN)(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((function(){(t.options.refetchIntervalInBackground||x.j.isFocused())&&t.executeFetch()}),this.currentRefetchInterval))},n.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},n.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},n.clearStaleTimeout=function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)},n.clearRefetchInterval=function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)},n.createResult=function(e,t){var n,r=this.currentQuery,o=this.options,a=this.currentResult,u=this.currentResultState,l=this.currentResultOptions,s=e!==r,c=s?e.state:this.currentQueryInitialState,f=s?this.currentResult:this.previousQueryResult,d=e.state,p=d.dataUpdatedAt,v=d.error,m=d.errorUpdatedAt,y=d.isFetching,g=d.status,b=!1,w=!1;if(t.optimisticResults){var x=this.hasListeners(),k=!x&&E(e,t),S=x&&O(e,r,t,o);(k||S)&&(y=!0,p||(g="loading"))}if(t.keepPreviousData&&!d.dataUpdateCount&&(null==f?void 0:f.isSuccess)&&"error"!==g)n=f.data,p=f.dataUpdatedAt,g=f.status,b=!0;else if(t.select&&"undefined"!==typeof d.data)if(a&&d.data===(null==u?void 0:u.data)&&t.select===this.selectFn)n=this.selectResult;else try{this.selectFn=t.select,n=t.select(d.data),!1!==t.structuralSharing&&(n=(0,h.Q$)(null==a?void 0:a.data,n)),this.selectResult=n,this.selectError=null}catch(P){(0,i.j)().error(P),this.selectError=P}else n=d.data;if("undefined"!==typeof t.placeholderData&&"undefined"===typeof n&&("loading"===g||"idle"===g)){var C;if((null==a?void 0:a.isPlaceholderData)&&t.placeholderData===(null==l?void 0:l.placeholderData))C=a.data;else if(C="function"===typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&"undefined"!==typeof C)try{C=t.select(C),!1!==t.structuralSharing&&(C=(0,h.Q$)(null==a?void 0:a.data,C)),this.selectError=null}catch(P){(0,i.j)().error(P),this.selectError=P}"undefined"!==typeof C&&(g="success",n=C,w=!0)}return this.selectError&&(v=this.selectError,n=this.selectResult,m=Date.now(),g="error"),{status:g,isLoading:"loading"===g,isSuccess:"success"===g,isError:"error"===g,isIdle:"idle"===g,data:n,dataUpdatedAt:p,error:v,errorUpdatedAt:m,failureCount:d.fetchFailureCount,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>c.dataUpdateCount||d.errorUpdateCount>c.errorUpdateCount,isFetching:y,isRefetching:y&&"loading"!==g,isLoadingError:"error"===g&&0===d.dataUpdatedAt,isPlaceholderData:w,isPreviousData:b,isRefetchError:"error"===g&&0!==d.dataUpdatedAt,isStale:_(e,t),refetch:this.refetch,remove:this.remove}},n.shouldNotifyListeners=function(e,t){if(!t)return!0;var n=this.options,r=n.notifyOnChangeProps,o=n.notifyOnChangePropsExclusions;if(!r&&!o)return!0;if("tracked"===r&&!this.trackedProps.length)return!0;var i="tracked"===r?this.trackedProps:r;return Object.keys(e).some((function(n){var r=n,a=e[r]!==t[r],u=null==i?void 0:i.some((function(e){return e===n})),l=null==o?void 0:o.some((function(e){return e===n}));return a&&!l&&(!i||u)}))},n.updateResult=function(e){var t=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!(0,h.VS)(this.currentResult,t)){var n={cache:!0};!1!==(null==e?void 0:e.listeners)&&this.shouldNotifyListeners(this.currentResult,t)&&(n.listeners=!0),this.notify((0,p.Z)({},n,e))}},n.updateQuery=function(){var e=this.client.getQueryCache().build(this.client,this.options);if(e!==this.currentQuery){var t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}},n.onQueryUpdate=function(e){var t={};"success"===e.type?t.onSuccess=!0:"error"!==e.type||(0,k.DV)(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()},n.notify=function(e){var t=this;r.V.batch((function(){e.onSuccess?(null==t.options.onSuccess||t.options.onSuccess(t.currentResult.data),null==t.options.onSettled||t.options.onSettled(t.currentResult.data,null)):e.onError&&(null==t.options.onError||t.options.onError(t.currentResult.error),null==t.options.onSettled||t.options.onSettled(void 0,t.currentResult.error)),e.listeners&&t.listeners.forEach((function(e){e(t.currentResult)})),e.cache&&t.client.getQueryCache().notify({query:t.currentQuery,type:"observerResultsUpdated"})}))},t}(y.l);function E(e,t){return function(e,t){return!1!==t.enabled&&!e.state.dataUpdatedAt&&!("error"===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&C(e,t,t.refetchOnMount)}function C(e,t,n){if(!1!==t.enabled){var r="function"===typeof n?n(e):n;return"always"===r||!1!==r&&_(e,t)}return!1}function O(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||"error"!==e.state.status)&&_(e,n)}function _(e,t){return e.isStaleByTime(t.staleTime)}function P(){var e=!1;return{clearReset:function(){e=!1},reset:function(){e=!0},isReset:function(){return e}}}var R=u.createContext(P()),j=function(){return u.useContext(R)};function T(e,t,n){return function(e,t){var n=u.useRef(!1),o=u.useState(0)[1],i=f(),a=j(),l=i.defaultQueryObserverOptions(e);l.optimisticResults=!0,l.onError&&(l.onError=r.V.batchCalls(l.onError)),l.onSuccess&&(l.onSuccess=r.V.batchCalls(l.onSuccess)),l.onSettled&&(l.onSettled=r.V.batchCalls(l.onSettled)),l.suspense&&("number"!==typeof l.staleTime&&(l.staleTime=1e3),0===l.cacheTime&&(l.cacheTime=1)),(l.suspense||l.useErrorBoundary)&&(a.isReset()||(l.retryOnMount=!1));var s=u.useState((function(){return new t(i,l)}))[0],c=s.getOptimisticResult(l);if(u.useEffect((function(){n.current=!0,a.clearReset();var e=s.subscribe(r.V.batchCalls((function(){n.current&&o((function(e){return e+1}))})));return s.updateResult(),function(){n.current=!1,e()}}),[a,s]),u.useEffect((function(){s.setOptions(l,{listeners:!1})}),[l,s]),l.suspense&&c.isLoading)throw s.fetchOptimistic(l).then((function(e){var t=e.data;null==l.onSuccess||l.onSuccess(t),null==l.onSettled||l.onSettled(t,null)})).catch((function(e){a.clearReset(),null==l.onError||l.onError(e),null==l.onSettled||l.onSettled(void 0,e)}));if(c.isError&&!a.isReset()&&!c.isFetching&&b(l.suspense,l.useErrorBoundary,[c.error,s.getCurrentQuery()]))throw c.error;return"tracked"===l.notifyOnChangeProps&&(c=s.trackResult(c,l)),c}((0,h._v)(e,t,n),S)}},459:function(e,t){"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function y(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case u:case a:case d:case p:return e;default:switch(e=e&&e.$$typeof){case c:case s:case f:case v:case h:case l:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference")},900:function(e,t,n){"use strict";n(459)},374:function(e,t,n){"use strict";var r=n(791),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,u=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,n){var r,i={},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)a.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:s,ref:c,props:i,_owner:u.current}}t.Fragment=i,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"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),l=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,i={},a=null,u=null;if(null!=t)for(o in void 0!==t.ref&&(u=t.ref),void 0!==t.key&&(a=""+t.key),t)k.call(t,o)&&!E.hasOwnProperty(o)&&(i[o]=t[o]);var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){for(var s=Array(l),c=0;c<l;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===i[o]&&(i[o]=l[o]);return{$$typeof:n,type:e,key:a,ref:u,props:i,_owner:S.current}}function O(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var _=/\/+/g;function P(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 R(e,t,o,i,a){var u=typeof e;"undefined"!==u&&"boolean"!==u||(e=null);var l=!1;if(null===e)l=!0;else switch(u){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return a=a(l=e),e=""===i?"."+P(l,0):i,x(a)?(o="",null!=e&&(o=e.replace(_,"$&/")+"/"),R(a,t,o,"",(function(e){return e}))):null!=a&&(O(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(_,"$&/")+"/")+e)),t.push(a)),1;if(l=0,i=""===i?".":i+":",x(e))for(var s=0;s<e.length;s++){var c=i+P(u=e[s],s);l+=R(u,t,o,c,a)}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;!(u=e.next()).done;)l+=R(u=u.value,t,o,c=i+P(u,s++),a);else if("object"===u)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function j(e,t,n){if(null==e)return e;var r=[],o=0;return R(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function T(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 A={current:null},N={transition:null},L={ReactCurrentDispatcher:A,ReactCurrentBatchConfig:N,ReactCurrentOwner:S};t.Children={map:j,forEach:function(e,t,n){j(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return j(e,(function(){t++})),t},toArray:function(e){return j(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=a,t.PureComponent=b,t.StrictMode=i,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,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),i=e.key,a=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,u=S.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(s in t)k.call(t,s)&&!E.hasOwnProperty(s)&&(o[s]=void 0===t[s]&&void 0!==l?l[s]:t[s])}var s=arguments.length-2;if(1===s)o.children=r;else if(1<s){l=Array(s);for(var c=0;c<s;c++)l[c]=arguments[c+2];o.children=l}return{$$typeof:n,type:e.type,key:i,ref:a,props:o,_owner:u}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:u,_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:T}},t.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=N.transition;N.transition={};try{e()}finally{N.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return A.current.useCallback(e,t)},t.useContext=function(e){return A.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return A.current.useDeferredValue(e)},t.useEffect=function(e,t){return A.current.useEffect(e,t)},t.useId=function(){return A.current.useId()},t.useImperativeHandle=function(e,t,n){return A.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return A.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return A.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return A.current.useMemo(e,t)},t.useReducer=function(e,t,n){return A.current.useReducer(e,t,n)},t.useRef=function(e){return A.current.useRef(e)},t.useState=function(e){return A.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return A.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return A.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<i(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,a=o>>>1;r<a;){var u=2*(r+1)-1,l=e[u],s=u+1,c=e[s];if(0>i(l,n))s<o&&0>i(c,l)?(e[r]=c,e[s]=n,r=s):(e[r]=l,e[u]=n,r=u);else{if(!(s<o&&0>i(c,n)))break e;e[r]=c,e[s]=n,r=s}}}return t}function i(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 a=performance;t.unstable_now=function(){return a.now()}}else{var u=Date,l=u.now();t.unstable_now=function(){return u.now()-l}}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,N(k);else{var t=r(c);null!==t&&L(x,t.startTime-e)}}function k(e,n){v=!1,m&&(m=!1,g(O),O=-1),h=!0;var i=p;try{for(w(n),d=r(s);null!==d&&(!(d.expirationTime>n)||e&&!R());){var a=d.callback;if("function"===typeof a){d.callback=null,p=d.priorityLevel;var u=a(d.expirationTime<=n);n=t.unstable_now(),"function"===typeof u?d.callback=u:d===r(s)&&o(s),w(n)}else o(s);d=r(s)}if(null!==d)var l=!0;else{var f=r(c);null!==f&&L(x,f.startTime-n),l=!1}return l}finally{d=null,p=i,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,P=-1;function R(){return!(t.unstable_now()-P<_)}function j(){if(null!==C){var e=t.unstable_now();P=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(j)};else if("undefined"!==typeof MessageChannel){var T=new MessageChannel,A=T.port2;T.port1.onmessage=j,S=function(){A.postMessage(null)}}else S=function(){y(j,0)};function N(e){C=e,E||(E=!0,S())}function L(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,N(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,i){var a=t.unstable_now();switch("object"===typeof i&&null!==i?i="number"===typeof(i=i.delay)&&0<i?a+i:a:i=a,e){case 1:var u=-1;break;case 2:u=250;break;case 5:u=1073741823;break;case 4:u=1e4;break;default:u=5e3}return e={id:f++,callback:o,priorityLevel:e,startTime:i,expirationTime:u=i+u,sortIndex:-1},i>a?(e.sortIndex=i,n(c,e),null===r(s)&&e===r(c)&&(m?(g(O),O=-1):m=!0,L(x,i-a))):(e.sortIndex=u,n(s,e),v||h||(v=!0,N(k))),e},t.unstable_shouldYield=R,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)},561:function(e,t,n){"use strict";var r=n(791);var o="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},i=r.useState,a=r.useEffect,u=r.useLayoutEffect,l=r.useDebugValue;function s(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(r){return!0}}var c="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,c=r[1];return u((function(){o.value=n,o.getSnapshot=t,s(o)&&c({inst:o})}),[e,n,t]),a((function(){return s(o)&&c({inst:o}),e((function(){s(o)&&c({inst:o})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},595:function(e,t,n){"use strict";var r=n(791),o=n(248);var i="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},a=o.useSyncExternalStore,u=r.useRef,l=r.useEffect,s=r.useMemo,c=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var f=u(null);if(null===f.current){var d={hasValue:!1,value:null};f.current=d}else d=f.current;f=s((function(){function e(e){if(!l){if(l=!0,a=e,e=r(e),void 0!==o&&d.hasValue){var t=d.value;if(o(t,e))return u=t}return u=e}if(t=u,i(a,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(a=e,u=n)}var a,u,l=!1,s=void 0===n?null:n;return[function(){return e(t())},null===s?void 0:function(){return e(s())}]}),[t,n,r,o]);var p=a(e,f[0],f[1]);return l((function(){d.hasValue=!0,d.value=p}),[p]),c(p),p}},248:function(e,t,n){"use strict";e.exports=n(561)},327:function(e,t,n){"use strict";e.exports=n(595)},462:function(e,t,n){"use strict";function r(){return r=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},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},578:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(611);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},611:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.m=e,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 i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var u=2&o&&r;"object"==typeof u&&!~e.indexOf(u);u=t(u))Object.getOwnPropertyNames(u).forEach((function(e){a[e]=function(){return r[e]}}));return a.default=function(){return r},n.d(i,a),i}}(),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.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,r){return n.f[r](e,t),t}),[]))},n.u=function(e){return"static/js/"+e+".7d29de91.chunk.js"},n.miniCssF=function(e){},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)},function(){var e={},t="react-notes:";n.l=function(r,o,i,a){if(e[r])e[r].push(o);else{var u,l;if(void 0!==i)for(var s=document.getElementsByTagName("script"),c=0;c<s.length;c++){var f=s[c];if(f.getAttribute("src")==r||f.getAttribute("data-webpack")==t+i){u=f;break}}u||(l=!0,(u=document.createElement("script")).charset="utf-8",u.timeout=120,n.nc&&u.setAttribute("nonce",n.nc),u.setAttribute("data-webpack",t+i),u.src=r),e[r]=[o];var d=function(t,n){u.onerror=u.onload=null,clearTimeout(p);var o=e[r];if(delete e[r],u.parentNode&&u.parentNode.removeChild(u),o&&o.forEach((function(e){return e(n)})),t)return t(n)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:u}),12e4);u.onerror=d.bind(null,u.onerror),u.onload=d.bind(null,u.onload),l&&document.head.appendChild(u)}}}(),n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="/React-NotesApp/",function(){var e={179:0};n.f.j=function(t,r){var o=n.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else{var i=new Promise((function(n,r){o=e[t]=[n,r]}));r.push(o[2]=i);var a=n.p+n.u(t),u=new Error;n.l(a,(function(r){if(n.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var i=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;u.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",u.name="ChunkLoadError",u.type=i,u.request=a,o[1](u)}}),"chunk-"+t,t)}};var t=function(t,r){var o,i,a=r[0],u=r[1],l=r[2],s=0;if(a.some((function(t){return 0!==e[t]}))){for(o in u)n.o(u,o)&&(n.m[o]=u[o]);if(l)l(n)}for(t&&t(r);s<a.length;s++)i=a[s],n.o(e,i)&&e[i]&&e[i][0](),e[i]=0},r=self.webpackChunkreact_notes=self.webpackChunkreact_notes||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))}(),function(){"use strict";var e=n(791),t=n.t(e,2),r=n(250),o=function(e){e&&e instanceof Function&&n.e(787).then(n.bind(n,787)).then((function(t){var n=t.getCLS,r=t.getFID,o=t.getFCP,i=t.getLCP,a=t.getTTFB;n(e),r(e),o(e),i(e),a(e)}))};function i(e){if(Array.isArray(e))return e}function a(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 u(e,t){if(e){if("string"===typeof e)return a(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)?a(e,t):void 0}}function l(){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 s(e,t){return i(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,u=[],l=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(c){s=!0,o=c}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(e,t)||u(e,t)||l()}function c(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function f(e){return function(e){if(Array.isArray(e))return a(e)}(e)||c(e)||u(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 d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e){return p="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},p(e)}function h(e){var t=function(e,t){if("object"!==p(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==p(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===p(t)?t:String(t)}function v(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,h(r.key),r)}}function m(e,t,n){return t&&v(e.prototype,t),n&&v(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var y,g=n(611);function b(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&&(0,g.Z)(e,t)}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}function x(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function k(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e){var t=x();return function(){var n,r=w(e);if(t){var o=w(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===p(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return k(e)}(this,n)}}function E(){E=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:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(j){l=function(e,t,n){return e[t]=n}}function s(e,t,n,o){var i=t&&t.prototype instanceof d?t:d,a=Object.create(i.prototype),u=new _(o||[]);return r(a,"_invoke",{value:k(e,n,u)}),a}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(j){return{type:"throw",arg:j}}}e.wrap=s;var f={};function d(){}function h(){}function v(){}var m={};l(m,i,(function(){return this}));var y=Object.getPrototypeOf,g=y&&y(y(P([])));g&&g!==t&&n.call(g,i)&&(m=g);var b=v.prototype=d.prototype=Object.create(m);function w(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function o(r,i,a,u){var l=c(e[r],e,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==p(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,a,u)}),(function(e){o("throw",e,a,u)})):t.resolve(f).then((function(e){s.value=e,a(s)}),(function(e){return o("throw",e,a,u)}))}u(l.arg)}var i;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function k(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return R()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=S(a,n);if(u){if(u===f)continue;return u}}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 l=c(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.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")),f;var o=c(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,f;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function P(e){if(e){var t=e[i];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:R}}function R(){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=l(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,l(e,u,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},w(x.prototype),l(x.prototype,a,(function(){return this})),e.AsyncIterator=x,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new x(s(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(b),l(b,u,"Generator"),l(b,i,(function(){return this})),l(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=P,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!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 a.type="throw",a.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 i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(u&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.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 i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:P(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function C(e,t,n,r,o,i,a){try{var u=e[i](a),l=u.value}catch(s){return void n(s)}u.done?t(l):Promise.resolve(l).then(r,o)}function O(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){C(i,r,o,a,u,"next",e)}function u(e){C(i,r,o,a,u,"throw",e)}a(void 0)}))}}function _(e,t,n){return(t=h(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function P(e,t,n){return P=x()?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&&(0,g.Z)(o,n.prototype),o},P.apply(null,arguments)}function R(e){var t="function"===typeof Map?new Map:void 0;return R=function(e){if(null===e||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(e))return e;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,n)}function n(){return P(e,arguments,w(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,g.Z)(n,e)},R(e)}function j(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=u(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw i}}}}function T(){return T=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},T.apply(this,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(y||(y={}));var A,N="popstate";function L(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function M(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function D(e,t){return{usr:e.state,key:e.key,idx:t}}function F(e,t,n,r){return void 0===n&&(n=null),T({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?I(t):t,{state:n,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function z(e){var t=e.pathname,n=void 0===t?"/":t,r=e.search,o=void 0===r?"":r,i=e.hash,a=void 0===i?"":i;return o&&"?"!==o&&(n+="?"===o.charAt(0)?o:"?"+o),a&&"#"!==a&&(n+="#"===a.charAt(0)?a:"#"+a),n}function I(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function U(e,t,n,r){void 0===r&&(r={});var o=r,i=o.window,a=void 0===i?document.defaultView:i,u=o.v5Compat,l=void 0!==u&&u,s=a.history,c=y.Pop,f=null,d=p();function p(){return(s.state||{idx:null}).idx}function h(){c=y.Pop;var e=p(),t=null==e?null:e-d;d=e,f&&f({action:c,location:m.location,delta:t})}function v(e){var t="null"!==a.location.origin?a.location.origin:a.location.href,n="string"===typeof e?e:z(e);return L(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==d&&(d=0,s.replaceState(T({},s.state,{idx:d}),""));var m={get action(){return c},get location(){return e(a,s)},listen:function(e){if(f)throw new Error("A history only accepts one active listener");return a.addEventListener(N,h),f=e,function(){a.removeEventListener(N,h),f=null}},createHref:function(e){return t(a,e)},createURL:v,encodeLocation:function(e){var t=v(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){c=y.Push;var r=F(m.location,e,t);n&&n(r,e);var o=D(r,d=p()+1),i=m.createHref(r);try{s.pushState(o,"",i)}catch(u){a.location.assign(i)}l&&f&&f({action:c,location:m.location,delta:1})},replace:function(e,t){c=y.Replace;var r=F(m.location,e,t);n&&n(r,e);var o=D(r,d=p()),i=m.createHref(r);s.replaceState(o,"",i),l&&f&&f({action:c,location:m.location,delta:0})},go:function(e){return s.go(e)}};return m}function B(e,t,n){return void 0===t&&(t=[]),void 0===n&&(n=new Set),e.map((function(e,r){var o=[].concat(f(t),[r]),i="string"===typeof e.id?e.id:o.join("-");return L(!0!==e.index||!e.children,"Cannot specify children on an index route"),L(!n.has(i),'Found a route id collision on id "'+i+"\". Route id's must be globally unique within Data Router usages"),n.add(i),function(e){return!0===e.index}(e)?T({},e,{id:i}):T({},e,{id:i,children:e.children?B(e.children,o,n):void 0})}))}function q(e,t,n){void 0===n&&(n="/");var r=ne(("string"===typeof t?I(t):t).pathname||"/",n);if(null==r)return null;var o=V(e);!function(e){e.sort((function(e,t){return e.score!==t.score?t.score-e.score:function(e,t){var n=e.length===t.length&&e.slice(0,-1).every((function(e,n){return e===t[n]}));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((function(e){return e.childrenIndex})),t.routesMeta.map((function(e){return e.childrenIndex})))}))}(o);for(var i=null,a=0;null==i&&a<o.length;++a)i=J(o[a],te(r));return i}function V(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");var o=function(e,o,i){var a={relativePath:void 0===i?e.path||"":i,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};a.relativePath.startsWith("/")&&(L(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(r.length));var u=ue([r,a.relativePath]),l=n.concat(a);e.children&&e.children.length>0&&(L(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+u+'".'),V(e.children,t,l,u)),(null!=e.path||e.index)&&t.push({path:u,score:Y(u,e.index),routesMeta:l})};return e.forEach((function(e,t){var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?")){var r,i=j(Q(e.path));try{for(i.s();!(r=i.n()).done;){var a=r.value;o(e,t,a)}}catch(u){i.e(u)}finally{i.f()}}else o(e,t)})),t}function Q(e){var t=e.split("/");if(0===t.length)return[];var n,r=i(n=t)||c(n)||u(n)||l(),o=r[0],a=r.slice(1),s=o.endsWith("?"),d=o.replace(/\?$/,"");if(0===a.length)return s?[d,""]:[d];var p=Q(a.join("/")),h=[];return h.push.apply(h,f(p.map((function(e){return""===e?d:[d,e].join("/")})))),s&&h.push.apply(h,f(p)),h.map((function(t){return e.startsWith("/")&&""===t?"/":t}))}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(A||(A={}));var W=/^:\w+$/,$=3,K=2,H=1,Z=10,G=-2,X=function(e){return"*"===e};function Y(e,t){var n=e.split("/"),r=n.length;return n.some(X)&&(r+=G),t&&(r+=K),n.filter((function(e){return!X(e)})).reduce((function(e,t){return e+(W.test(t)?$:""===t?H:Z)}),r)}function J(e,t){for(var n=e.routesMeta,r={},o="/",i=[],a=0;a<n.length;++a){var u=n[a],l=a===n.length-1,s="/"===o?t:t.slice(o.length)||"/",c=ee({path:u.relativePath,caseSensitive:u.caseSensitive,end:l},s);if(!c)return null;Object.assign(r,c.params);var f=u.route;i.push({params:r,pathname:ue([o,c.pathname]),pathnameBase:le(ue([o,c.pathnameBase])),route:f}),"/"!==c.pathnameBase&&(o=ue([o,c.pathnameBase]))}return i}function ee(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});var n=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);re("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');var r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(function(e,t){return r.push(t),"/([^\\/]+)"}));e.endsWith("*")?(r.push("*"),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))");var i=new RegExp(o,t?void 0:"i");return[i,r]}(e.path,e.caseSensitive,e.end),r=s(n,2),o=r[0],i=r[1],a=t.match(o);if(!a)return null;var u=a[0],l=u.replace(/(.)\/+$/,"$1"),c=a.slice(1);return{params:i.reduce((function(e,t,n){if("*"===t){var r=c[n]||"";l=u.slice(0,u.length-r.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return re(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),e}}(c[n]||"",t),e}),{}),pathname:u,pathnameBase:l,pattern:e}}function te(e){try{return decodeURI(e)}catch(t){return re(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function ne(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;var n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function re(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function oe(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function ie(e){return e.filter((function(e,t){return 0===t||e.route.path&&e.route.path.length>0}))}function ae(e,t,n,r){var o;void 0===r&&(r=!1),"string"===typeof e?o=I(e):(L(!(o=T({},e)).pathname||!o.pathname.includes("?"),oe("?","pathname","search",o)),L(!o.pathname||!o.pathname.includes("#"),oe("#","pathname","hash",o)),L(!o.search||!o.search.includes("#"),oe("#","search","hash",o)));var i,a=""===e||""===o.pathname,u=a?"/":o.pathname;if(r||null==u)i=n;else{var l=t.length-1;if(u.startsWith("..")){for(var s=u.split("/");".."===s[0];)s.shift(),l-=1;o.pathname=s.join("/")}i=l>=0?t[l]:"/"}var c=function(e,t){void 0===t&&(t="/");var n="string"===typeof e?I(e):e,r=n.pathname,o=n.search,i=void 0===o?"":o,a=n.hash,u=void 0===a?"":a,l=r?r.startsWith("/")?r:function(e,t){var n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((function(e){".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(r,t):t;return{pathname:l,search:se(i),hash:ce(u)}}(o,i),f=u&&"/"!==u&&u.endsWith("/"),d=(a||"."===u)&&n.endsWith("/");return c.pathname.endsWith("/")||!f&&!d||(c.pathname+="/"),c}var ue=function(e){return e.join("/").replace(/\/\/+/g,"/")},le=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},se=function(e){return e&&"?"!==e?e.startsWith("?")?e:"?"+e:""},ce=function(e){return e&&"#"!==e?e.startsWith("#")?e:"#"+e:""},fe=function(e){b(n,e);var t=S(n);function n(){return d(this,n),t.apply(this,arguments)}return m(n)}(R(Error)),de=function(){function e(t,n){var r,o=this;d(this,e),this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],L(t&&"object"===typeof t&&!Array.isArray(t),"defer() only accepts plain objects"),this.abortPromise=new Promise((function(e,t){return r=t})),this.controller=new AbortController;var i=function(){return r(new fe("Deferred data aborted"))};this.unlistenAbortSignal=function(){return o.controller.signal.removeEventListener("abort",i)},this.controller.signal.addEventListener("abort",i),this.data=Object.entries(t).reduce((function(e,t){var n=s(t,2),r=n[0],i=n[1];return Object.assign(e,_({},r,o.trackPromise(r,i)))}),{}),this.done&&this.unlistenAbortSignal(),this.init=n}return m(e,[{key:"trackPromise",value:function(e,t){var n=this;if(!(t instanceof Promise))return t;this.deferredKeys.push(e),this.pendingKeysSet.add(e);var r=Promise.race([t,this.abortPromise]).then((function(t){return n.onSettle(r,e,null,t)}),(function(t){return n.onSettle(r,e,t)}));return r.catch((function(){})),Object.defineProperty(r,"_tracked",{get:function(){return!0}}),r}},{key:"onSettle",value:function(e,t,n,r){return this.controller.signal.aborted&&n instanceof fe?(this.unlistenAbortSignal(),Object.defineProperty(e,"_error",{get:function(){return n}}),Promise.reject(n)):(this.pendingKeysSet.delete(t),this.done&&this.unlistenAbortSignal(),n?(Object.defineProperty(e,"_error",{get:function(){return n}}),this.emit(!1,t),Promise.reject(n)):(Object.defineProperty(e,"_data",{get:function(){return r}}),this.emit(!1,t),r))}},{key:"emit",value:function(e,t){this.subscribers.forEach((function(n){return n(e,t)}))}},{key:"subscribe",value:function(e){var t=this;return this.subscribers.add(e),function(){return t.subscribers.delete(e)}}},{key:"cancel",value:function(){var e=this;this.controller.abort(),this.pendingKeysSet.forEach((function(t,n){return e.pendingKeysSet.delete(n)})),this.emit(!0)}},{key:"resolveData",value:function(){var e=O(E().mark((function e(t){var n,r,o=this;return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=!1,this.done){e.next=7;break}return r=function(){return o.cancel()},t.addEventListener("abort",r),e.next=6,new Promise((function(e){o.subscribe((function(n){t.removeEventListener("abort",r),(n||o.done)&&e(n)}))}));case 6:n=e.sent;case 7:return e.abrupt("return",n);case 8:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"done",get:function(){return 0===this.pendingKeysSet.size}},{key:"unwrappedData",get:function(){return L(null!==this.data&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce((function(e,t){var n=s(t,2),r=n[0],o=n[1];return Object.assign(e,_({},r,function(e){if(!function(e){return e instanceof Promise&&!0===e._tracked}(e))return e;if(e._error)throw e._error;return e._data}(o)))}),{})}},{key:"pendingKeys",get:function(){return Array.from(this.pendingKeysSet)}}]),e}();var pe=m((function e(t,n,r,o){d(this,e),void 0===o&&(o=!1),this.status=t,this.statusText=n||"",this.internal=o,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}));function he(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}var ve=["post","put","patch","delete"],me=new Set(ve),ye=["get"].concat(ve),ge=new Set(ye),be=new Set([301,302,303,307,308]),we=new Set([307,308]),xe={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},ke={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},Se={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Ee=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ce="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement,Oe=!Ce;function _e(e){L(e.routes.length>0,"You must provide a non-empty routes array to createRouter");var t=B(e.routes),n=null,r=new Set,o=null,i=null,a=null,u=null!=e.hydrationData,l=q(t,e.history.location,e.basename),c=null;if(null==l){var d=qe(404,{pathname:e.history.location.pathname}),p=Be(t);l=p.matches,c=_({},p.route.id,d)}var h,v,m=!l.some((function(e){return e.route.loader}))||null!=e.hydrationData,g={historyAction:e.history.action,location:e.history.location,matches:l,initialized:m,navigation:xe,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||c,fetchers:new Map,blockers:new Map},b=y.Pop,w=!1,x=!1,k=!1,S=[],C=[],P=new Map,R=0,N=-1,M=new Map,D=new Set,z=new Map,I=new Map,U=new Map,V=!1;function Q(e){g=T({},g,e),r.forEach((function(e){return e(g)}))}function W(t,n){var r,o,i,a=null!=g.actionData&&null!=g.navigation.formMethod&&Xe(g.navigation.formMethod)&&"loading"===g.navigation.state&&!0!==(null==(r=t.state)?void 0:r._isRedirect);i=n.actionData?Object.keys(n.actionData).length>0?n.actionData:null:a?g.actionData:null;var u,l=n.loaderData?Ie(g.loaderData,n.loaderData,n.matches||[],n.errors):g.loaderData,c=j(U);try{for(c.s();!(u=c.n()).done;){ve(s(u.value,1)[0])}}catch(d){c.e(d)}finally{c.f()}var f=!0===w||null!=g.navigation.formMethod&&Xe(g.navigation.formMethod)&&!0!==(null==(o=t.state)?void 0:o._isRedirect);Q(T({},n,{actionData:i,loaderData:l,historyAction:b,location:t,initialized:!0,navigation:xe,revalidation:"idle",restoreScrollPosition:_e(t,n.matches||g.matches),preventScrollReset:f,blockers:new Map(g.blockers)})),x||b===y.Pop||(b===y.Push?e.history.push(t,t.state):b===y.Replace&&e.history.replace(t,t.state)),b=y.Pop,w=!1,x=!1,k=!1,S=[],C=[]}function $(e,t){return K.apply(this,arguments)}function K(){return K=O(E().mark((function t(n,r){var o,i,a,u,l,s,c,f,d,p;return E().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("number"!==typeof n){t.next=3;break}return e.history.go(n),t.abrupt("return");case 3:if(o=Pe(n,r),i=o.path,a=o.submission,u=o.error,l=g.location,s=T({},s=F(g.location,i,r&&r.state),e.history.encodeLocation(s)),c=r&&null!=r.replace?r.replace:void 0,f=y.Push,!0===c?f=y.Replace:!1===c||null!=a&&Xe(a.formMethod)&&a.formAction===g.location.pathname+g.location.search&&(f=y.Replace),d=r&&"preventScrollReset"in r?!0===r.preventScrollReset:void 0,!(p=ye({currentLocation:l,nextLocation:s,historyAction:f}))){t.next=15;break}return me(p,{state:"blocked",location:s,proceed:function(){me(p,{state:"proceeding",proceed:void 0,reset:void 0,location:s}),$(n,r)},reset:function(){ve(p),Q({blockers:new Map(g.blockers)})}}),t.abrupt("return");case 15:return t.next=17,H(f,s,{submission:a,pendingError:u,preventScrollReset:d,replace:r&&r.replace});case 17:return t.abrupt("return",t.sent);case 18:case"end":return t.stop()}}),t)}))),K.apply(this,arguments)}function H(e,t,n){return Z.apply(this,arguments)}function Z(){return Z=O(E().mark((function n(r,o,i){var a,u,l,s,c,f,d,p,h,m,y,k,S,C,O;return E().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(v&&v.abort(),v=null,b=r,x=!0===(i&&i.startUninterruptedRevalidation),be(g.location,g.matches),w=!0===(i&&i.preventScrollReset),a=i&&i.overrideNavigation,u=q(t,o,e.basename)){n.next=14;break}return l=qe(404,{pathname:o.pathname}),s=Be(t),c=s.matches,f=s.route,ge(),W(o,{matches:c,loaderData:{},errors:_({},f.id,l)}),n.abrupt("return");case 14:if(!We(g.location,o)||i&&i.submission&&Xe(i.submission.formMethod)){n.next=17;break}return W(o,{matches:u}),n.abrupt("return");case 17:if(v=new AbortController,d=Me(e.history,o,v.signal,i&&i.submission),!i||!i.pendingError){n.next=23;break}h=_({},Ue(u).route.id,i.pendingError),n.next=34;break;case 23:if(!(i&&i.submission&&Xe(i.submission.formMethod))){n.next=34;break}return n.next=26,G(d,o,i.submission,u,{replace:i.replace});case 26:if(!(m=n.sent).shortCircuited){n.next=29;break}return n.abrupt("return");case 29:p=m.pendingActionData,h=m.pendingActionError,y=T({state:"loading",location:o},i.submission),a=y,d=new Request(d.url,{signal:d.signal});case 34:return n.next=36,Y(d,o,u,a,i&&i.submission,i&&i.replace,p,h);case 36:if(k=n.sent,S=k.shortCircuited,C=k.loaderData,O=k.errors,!S){n.next=42;break}return n.abrupt("return");case 42:v=null,W(o,T({matches:u},p?{actionData:p}:{},{loaderData:C,errors:O}));case 44:case"end":return n.stop()}}),n)}))),Z.apply(this,arguments)}function G(e,t,n,r,o){return X.apply(this,arguments)}function X(){return X=O(E().mark((function e(t,n,r,o,i){var a,u,l,s;return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(le(),Q({navigation:T({state:"submitting",location:n},r)}),(u=ot(o,n)).route.action){e.next=8;break}a={type:A.error,error:qe(405,{method:t.method,pathname:n.pathname,routeId:u.route.id})},e.next=13;break;case 8:return e.next=10,Ne("action",t,u,o,h.basename);case 10:if(a=e.sent,!t.signal.aborted){e.next=13;break}return e.abrupt("return",{shortCircuited:!0});case 13:if(!He(a)){e.next=18;break}return l=i&&null!=i.replace?i.replace:a.location===g.location.pathname+g.location.search,e.next=17,oe(g,a,{submission:r,replace:l});case 17:return e.abrupt("return",{shortCircuited:!0});case 18:if(!Ke(a)){e.next=22;break}return s=Ue(o,u.route.id),!0!==(i&&i.replace)&&(b=y.Push),e.abrupt("return",{pendingActionData:{},pendingActionError:_({},s.route.id,a.error)});case 22:if(!$e(a)){e.next=24;break}throw qe(400,{type:"defer-action"});case 24:return e.abrupt("return",{pendingActionData:_({},u.route.id,a.data)});case 25:case"end":return e.stop()}}),e)}))),X.apply(this,arguments)}function Y(e,t,n,r,o,i,a,u){return J.apply(this,arguments)}function J(){return J=O(E().mark((function t(n,r,o,i,a,u,l,c){var f,d,p,h,m,y,b,w,O,_,j,A,L,M,D,F,U;return E().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((f=i)||(d=T({state:"loading",location:r,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},a),f=d),p=a||(f.formMethod&&f.formAction&&f.formData&&f.formEncType?{formMethod:f.formMethod,formAction:f.formAction,formData:f.formData,formEncType:f.formEncType}:void 0),h=je(e.history,g,o,p,r,k,S,C,l,c,z),m=s(h,2),y=m[0],b=m[1],ge((function(e){return!(o&&o.some((function(t){return t.route.id===e})))||y&&y.some((function(t){return t.route.id===e}))})),0!==y.length||0!==b.length){t.next=8;break}return W(r,T({matches:o,loaderData:{},errors:c||null},l?{actionData:l}:{})),t.abrupt("return",{shortCircuited:!0});case 8:return x||(b.forEach((function(e){var t=g.fetchers.get(e.key),n={state:"loading",data:t&&t.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};g.fetchers.set(e.key,n)})),w=l||g.actionData,Q(T({navigation:f},w?0===Object.keys(w).length?{actionData:null}:{actionData:w}:{},b.length>0?{fetchers:new Map(g.fetchers)}:{}))),N=++R,b.forEach((function(e){return P.set(e.key,v)})),t.next=13,ae(g.matches,o,y,b,n);case 13:if(O=t.sent,_=O.results,j=O.loaderResults,A=O.fetcherResults,!n.signal.aborted){t.next=19;break}return t.abrupt("return",{shortCircuited:!0});case 19:if(b.forEach((function(e){return P.delete(e.key)})),!(L=Ve(_))){t.next=25;break}return t.next=24,oe(g,L,{replace:u});case 24:return t.abrupt("return",{shortCircuited:!0});case 25:return M=ze(g,o,y,j,c,b,A,I),D=M.loaderData,F=M.errors,I.forEach((function(e,t){e.subscribe((function(n){(n||e.done)&&I.delete(t)}))})),pe(),U=he(N),t.abrupt("return",T({loaderData:D,errors:F},U||b.length>0?{fetchers:new Map(g.fetchers)}:{}));case 30:case"end":return t.stop()}}),t)}))),J.apply(this,arguments)}function ee(e){return g.fetchers.get(e)||ke}function te(){return te=O(E().mark((function n(r,o,i,a,u,l){var c,f,d,p,m,y,w,x,O,j,A,F,U,B,V,$,K,H,Z,G,X,Y,J,ee,te,ne;return E().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(le(),z.delete(r),a.route.action){n.next=6;break}return c=qe(405,{method:l.formMethod,pathname:i,routeId:o}),se(r,o,c),n.abrupt("return");case 6:return f=g.fetchers.get(r),d=T({state:"submitting"},l,{data:f&&f.data," _hasFetcherDoneAnything ":!0}),g.fetchers.set(r,d),Q({fetchers:new Map(g.fetchers)}),p=new AbortController,m=Me(e.history,i,p.signal,l),P.set(r,p),n.next=15,Ne("action",m,a,u,h.basename);case 15:if(y=n.sent,!m.signal.aborted){n.next=19;break}return P.get(r)===p&&P.delete(r),n.abrupt("return");case 19:if(!He(y)){n.next=26;break}return P.delete(r),D.add(r),w=T({state:"loading"},l,{data:void 0," _hasFetcherDoneAnything ":!0}),g.fetchers.set(r,w),Q({fetchers:new Map(g.fetchers)}),n.abrupt("return",oe(g,y,{isFetchActionRedirect:!0}));case 26:if(!Ke(y)){n.next=29;break}return se(r,o,y.error),n.abrupt("return");case 29:if(!$e(y)){n.next=31;break}throw qe(400,{type:"defer-action"});case 31:return x=g.navigation.location||g.location,O=Me(e.history,x,p.signal),L(j="idle"!==g.navigation.state?q(t,g.navigation.location,e.basename):g.matches,"Didn't find any matches after fetcher action"),A=++R,M.set(r,A),F=T({state:"loading",data:y.data},l,{" _hasFetcherDoneAnything ":!0}),g.fetchers.set(r,F),U=je(e.history,g,j,l,x,k,S,C,_({},a.route.id,y.data),void 0,z),B=s(U,2),V=B[0],($=B[1]).filter((function(e){return e.key!==r})).forEach((function(e){var t=e.key,n=g.fetchers.get(t),r={state:"loading",data:n&&n.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};g.fetchers.set(t,r),P.set(t,p)})),Q({fetchers:new Map(g.fetchers)}),n.next=44,ae(g.matches,j,V,$,O);case 44:if(K=n.sent,H=K.results,Z=K.loaderResults,G=K.fetcherResults,!p.signal.aborted){n.next=50;break}return n.abrupt("return");case 50:if(M.delete(r),P.delete(r),$.forEach((function(e){return P.delete(e.key)})),!(X=Ve(H))){n.next=56;break}return n.abrupt("return",oe(g,X));case 56:Y=ze(g,g.matches,V,Z,void 0,$,G,I),J=Y.loaderData,ee=Y.errors,te={state:"idle",data:y.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0},g.fetchers.set(r,te),ne=he(A),"loading"===g.navigation.state&&A>N?(L(b,"Expected pending action"),v&&v.abort(),W(g.navigation.location,{matches:j,loaderData:J,errors:ee,fetchers:new Map(g.fetchers)})):(Q(T({errors:ee,loaderData:Ie(g.loaderData,J,j,ee)},ne?{fetchers:new Map(g.fetchers)}:{})),k=!1);case 61:case"end":return n.stop()}}),n)}))),te.apply(this,arguments)}function ne(){return ne=O(E().mark((function t(n,r,o,i,a,u){var l,s,c,f,d,p,v;return E().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return l=g.fetchers.get(n),s=T({state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},u,{data:l&&l.data," _hasFetcherDoneAnything ":!0}),g.fetchers.set(n,s),Q({fetchers:new Map(g.fetchers)}),c=new AbortController,f=Me(e.history,o,c.signal),P.set(n,c),t.next=9,Ne("loader",f,i,a,h.basename);case 9:if(!$e(d=t.sent)){t.next=17;break}return t.next=13,et(d,f.signal,!0);case 13:if(t.t0=t.sent,t.t0){t.next=16;break}t.t0=d;case 16:d=t.t0;case 17:if(P.get(n)===c&&P.delete(n),!f.signal.aborted){t.next=20;break}return t.abrupt("return");case 20:if(!He(d)){t.next=24;break}return t.next=23,oe(g,d);case 23:return t.abrupt("return");case 24:if(!Ke(d)){t.next=29;break}return p=Ue(g.matches,r),g.fetchers.delete(n),Q({fetchers:new Map(g.fetchers),errors:_({},p.route.id,d.error)}),t.abrupt("return");case 29:L(!$e(d),"Unhandled fetcher deferred data"),v={state:"idle",data:d.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0},g.fetchers.set(n,v),Q({fetchers:new Map(g.fetchers)});case 33:case"end":return t.stop()}}),t)}))),ne.apply(this,arguments)}function oe(e,t,n){return ie.apply(this,arguments)}function ie(){return ie=O(E().mark((function t(n,r,o){var i,a,u,l,s,c,f,d,p,h,m,g,b;return E().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(u=(a=void 0===o?{}:o).submission,l=a.replace,s=a.isFetchActionRedirect,r.revalidate&&(k=!0),L(c=F(n.location,r.location,T({_isRedirect:!0},s?{_isFetchActionRedirect:!0}:{})),"Expected a location on the redirect navigation"),!Ee.test(r.location)||!Ce||"undefined"===typeof(null==(i=window)?void 0:i.location)){t.next=9;break}if(f=e.history.createURL(r.location).origin,window.location.origin===f){t.next=9;break}return l?window.location.replace(r.location):window.location.assign(r.location),t.abrupt("return");case 9:if(v=null,d=!0===l?y.Replace:y.Push,p=n.navigation,h=p.formMethod,m=p.formAction,g=p.formEncType,b=p.formData,!u&&h&&m&&b&&g&&(u={formMethod:h,formAction:m,formEncType:g,formData:b}),!(we.has(r.status)&&u&&Xe(u.formMethod))){t.next=18;break}return t.next=16,H(d,c,{submission:T({},u,{formAction:r.location}),preventScrollReset:w});case 16:t.next=20;break;case 18:return t.next=20,H(d,c,{overrideNavigation:{state:"loading",location:c,formMethod:u?u.formMethod:void 0,formAction:u?u.formAction:void 0,formEncType:u?u.formEncType:void 0,formData:u?u.formData:void 0},preventScrollReset:w});case 20:case"end":return t.stop()}}),t)}))),ie.apply(this,arguments)}function ae(e,t,n,r,o){return ue.apply(this,arguments)}function ue(){return ue=O(E().mark((function t(n,r,o,i,a){var u,l,s;return E().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([].concat(f(o.map((function(e){return Ne("loader",a,e,r,h.basename)}))),f(i.map((function(t){return Ne("loader",Me(e.history,t.path,a.signal),t.match,t.matches,h.basename)})))));case 2:return u=t.sent,l=u.slice(0,o.length),s=u.slice(o.length),t.next=7,Promise.all([Ye(n,o,l,a.signal,!1,g.loaderData),Ye(n,i.map((function(e){return e.match})),s,a.signal,!0)]);case 7:return t.abrupt("return",{results:u,loaderResults:l,fetcherResults:s});case 8:case"end":return t.stop()}}),t)}))),ue.apply(this,arguments)}function le(){var e;k=!0,(e=S).push.apply(e,f(ge())),z.forEach((function(e,t){P.has(t)&&(C.push(t),fe(t))}))}function se(e,t,n){var r=Ue(g.matches,t);ce(e),Q({errors:_({},r.route.id,n),fetchers:new Map(g.fetchers)})}function ce(e){P.has(e)&&fe(e),z.delete(e),M.delete(e),D.delete(e),g.fetchers.delete(e)}function fe(e){var t=P.get(e);L(t,"Expected fetch controller: "+e),t.abort(),P.delete(e)}function de(e){var t,n=j(e);try{for(n.s();!(t=n.n()).done;){var r=t.value,o={state:"idle",data:ee(r).data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};g.fetchers.set(r,o)}}catch(i){n.e(i)}finally{n.f()}}function pe(){var e,t=[],n=j(D);try{for(n.s();!(e=n.n()).done;){var r=e.value,o=g.fetchers.get(r);L(o,"Expected fetcher: "+r),"loading"===o.state&&(D.delete(r),t.push(r))}}catch(i){n.e(i)}finally{n.f()}de(t)}function he(e){var t,n=[],r=j(M);try{for(r.s();!(t=r.n()).done;){var o=s(t.value,2),i=o[0];if(o[1]<e){var a=g.fetchers.get(i);L(a,"Expected fetcher: "+i),"loading"===a.state&&(fe(i),M.delete(i),n.push(i))}}}catch(u){r.e(u)}finally{r.f()}return de(n),n.length>0}function ve(e){g.blockers.delete(e),U.delete(e)}function me(e,t){var n=g.blockers.get(e)||Se;L("unblocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"proceeding"===t.state||"blocked"===n.state&&"unblocked"===t.state||"proceeding"===n.state&&"unblocked"===t.state,"Invalid blocker state transition: "+n.state+" -> "+t.state),g.blockers.set(e,t),Q({blockers:new Map(g.blockers)})}function ye(e){var t=e.currentLocation,n=e.nextLocation,r=e.historyAction;if(0!==U.size){U.size>1&&re(!1,"A router only supports one blocker at a time");var o=Array.from(U.entries()),i=s(o[o.length-1],2),a=i[0],u=i[1],l=g.blockers.get(a);if(!l||"proceeding"!==l.state)return u({currentLocation:t,nextLocation:n,historyAction:r})?a:void 0}}function ge(e){var t=[];return I.forEach((function(n,r){e&&!e(r)||(n.cancel(),t.push(r),I.delete(r))})),t}function be(e,t){if(o&&i&&a){var n=t.map((function(e){return rt(e,g.loaderData)})),r=i(e,n)||e.key;o[r]=a()}}function _e(e,t){if(o&&i&&a){var n=t.map((function(e){return rt(e,g.loaderData)})),r=i(e,n)||e.key,u=o[r];if("number"===typeof u)return u}return null}return h={get basename(){return e.basename},get state(){return g},get routes(){return t},initialize:function(){return n=e.history.listen((function(t){var n=t.action,r=t.location,o=t.delta;if(!V){re(0===U.size||null!=o,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");var i=ye({currentLocation:g.location,nextLocation:r,historyAction:n});return i&&null!=o?(V=!0,e.history.go(-1*o),void me(i,{state:"blocked",location:r,proceed:function(){me(i,{state:"proceeding",proceed:void 0,reset:void 0,location:r}),e.history.go(o)},reset:function(){ve(i),Q({blockers:new Map(h.state.blockers)})}})):H(n,r)}V=!1})),g.initialized||H(y.Pop,g.location),h},subscribe:function(e){return r.add(e),function(){return r.delete(e)}},enableScrollRestoration:function(e,t,n){if(o=e,a=t,i=n||function(e){return e.key},!u&&g.navigation===xe){u=!0;var r=_e(g.location,g.matches);null!=r&&Q({restoreScrollPosition:r})}return function(){o=null,a=null,i=null}},navigate:$,fetch:function(n,r,o,i){if(Oe)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");P.has(n)&&fe(n);var a=q(t,o,e.basename);if(a){var u=Pe(o,i,!0),l=u.path,s=u.submission,c=ot(a,l);w=!0===(i&&i.preventScrollReset),s&&Xe(s.formMethod)?function(e,t,n,r,o,i){te.apply(this,arguments)}(n,r,l,c,a,s):(z.set(n,{routeId:r,path:l,match:c,matches:a}),function(e,t,n,r,o,i){ne.apply(this,arguments)}(n,r,l,c,a,s))}else se(n,r,qe(404,{pathname:o}))},revalidate:function(){le(),Q({revalidation:"loading"}),"submitting"!==g.navigation.state&&("idle"!==g.navigation.state?H(b||g.historyAction,g.navigation.location,{overrideNavigation:g.navigation}):H(g.historyAction,g.location,{startUninterruptedRevalidation:!0}))},createHref:function(t){return e.history.createHref(t)},encodeLocation:function(t){return e.history.encodeLocation(t)},getFetcher:ee,deleteFetcher:ce,dispose:function(){n&&n(),r.clear(),v&&v.abort(),g.fetchers.forEach((function(e,t){return ce(t)})),g.blockers.forEach((function(e,t){return ve(t)}))},getBlocker:function(e,t){var n=g.blockers.get(e)||Se;return U.get(e)!==t&&U.set(e,t),n},deleteBlocker:ve,_internalFetchControllers:P,_internalActiveDeferreds:I},h}Symbol("deferred");function Pe(e,t,n){void 0===n&&(n=!1);var r,o="string"===typeof e?e:z(e);if(!t||!function(e){return null!=e&&"formData"in e}(t))return{path:o};if(t.formMethod&&!Ge(t.formMethod))return{path:o,error:qe(405,{method:t.formMethod})};if(t.formData&&Xe((r={formMethod:t.formMethod||"get",formAction:Qe(o),formEncType:t&&t.formEncType||"application/x-www-form-urlencoded",formData:t.formData}).formMethod))return{path:o,submission:r};var i=I(o),a=De(t.formData);return n&&i.search&&nt(i.search)&&a.append("index",""),i.search="?"+a,{path:z(i),submission:r}}function Re(e,t){var n=e;if(t){var r=e.findIndex((function(e){return e.route.id===t}));r>=0&&(n=e.slice(0,r))}return n}function je(e,t,n,r,o,i,a,u,l,s,c){var f=s?Object.values(s)[0]:l?Object.values(l)[0]:void 0,d=e.createURL(t.location),p=e.createURL(o),h=i||d.toString()===p.toString()||d.search!==p.search,v=s?Object.keys(s)[0]:void 0,m=Re(n,v).filter((function(e,n){if(null==e.route.loader)return!1;if(function(e,t,n){var r=!t||n.route.id!==t.route.id,o=void 0===e[n.route.id];return r||o}(t.loaderData,t.matches[n],e)||a.some((function(t){return t===e.route.id})))return!0;var o=t.matches[n],i=e;return Ae(e,T({currentUrl:d,currentParams:o.params,nextUrl:p,nextParams:i.params},r,{actionResult:f,defaultShouldRevalidate:h||Te(o,i)}))})),y=[];return c&&c.forEach((function(e,o){n.some((function(t){return t.route.id===e.routeId}))&&((u.includes(o)||Ae(e.match,T({currentUrl:d,currentParams:t.matches[t.matches.length-1].params,nextUrl:p,nextParams:n[n.length-1].params},r,{actionResult:f,defaultShouldRevalidate:h})))&&y.push(T({key:o},e)))})),[m,y]}function Te(e,t){var n=e.route.path;return e.pathname!==t.pathname||null!=n&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Ae(e,t){if(e.route.shouldRevalidate){var n=e.route.shouldRevalidate(t);if("boolean"===typeof n)return n}return t.defaultShouldRevalidate}function Ne(e,t,n,r,o,i,a,u){return Le.apply(this,arguments)}function Le(){return Le=O(E().mark((function e(t,n,r,o,i,a,u,l){var s,c,f,d,p,h,v,m,y,g,b,w,x,k,S,C;return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===i&&(i="/"),void 0===a&&(a=!1),void 0===u&&(u=!1),d=new Promise((function(e,t){return f=t})),p=function(){return f()},n.signal.addEventListener("abort",p),e.prev=6,L(h=r.route[t],"Could not find the "+t+' to run on the "'+r.route.id+'" route'),e.next=11,Promise.race([h({request:n,params:r.params,context:l}),d]);case 11:L(void 0!==(c=e.sent),"You defined "+("action"===t?"an action":"a loader")+' for route "'+r.route.id+"\" but didn't return anything from your `"+t+"` function. Please return a value or `null`."),e.next=19;break;case 15:e.prev=15,e.t0=e.catch(6),s=A.error,c=e.t0;case 19:return e.prev=19,n.signal.removeEventListener("abort",p),e.finish(19);case 22:if(!Ze(c)){e.next=47;break}if(v=c.status,!be.has(v)){e.next=32;break}if(L(m=c.headers.get("Location"),"Redirects returned/thrown from loaders/actions must have a Location header"),Ee.test(m)?a||(x=new URL(n.url),(k=m.startsWith("//")?new URL(x.protocol+m):new URL(m)).origin===x.origin&&(m=k.pathname+k.search+k.hash)):(y=o.slice(0,o.indexOf(r)+1),g=ie(y).map((function(e){return e.pathnameBase})),L(z(b=ae(m,g,new URL(n.url).pathname)),"Unable to resolve redirect location: "+m),i&&(w=b.pathname,b.pathname="/"===w?i:ue([i,w])),m=z(b)),!a){e.next=31;break}throw c.headers.set("Location",m),c;case 31:return e.abrupt("return",{type:A.redirect,status:v,location:m,revalidate:null!==c.headers.get("X-Remix-Revalidate")});case 32:if(!u){e.next=34;break}throw{type:s||A.data,response:c};case 34:if(!(C=c.headers.get("Content-Type"))||!/\bapplication\/json\b/.test(C)){e.next=41;break}return e.next=38,c.json();case 38:S=e.sent,e.next=44;break;case 41:return e.next=43,c.text();case 43:S=e.sent;case 44:if(s!==A.error){e.next=46;break}return e.abrupt("return",{type:s,error:new pe(v,c.statusText,S),headers:c.headers});case 46:return e.abrupt("return",{type:A.data,data:S,statusCode:c.status,headers:c.headers});case 47:if(s!==A.error){e.next=49;break}return e.abrupt("return",{type:s,error:c});case 49:if(!(c instanceof de)){e.next=51;break}return e.abrupt("return",{type:A.deferred,deferredData:c});case 51:return e.abrupt("return",{type:A.data,data:c});case 52:case"end":return e.stop()}}),e,null,[[6,15,19,22]])}))),Le.apply(this,arguments)}function Me(e,t,n,r){var o=e.createURL(Qe(t)).toString(),i={signal:n};if(r&&Xe(r.formMethod)){var a=r.formMethod,u=r.formEncType,l=r.formData;i.method=a.toUpperCase(),i.body="application/x-www-form-urlencoded"===u?De(l):l}return new Request(o,i)}function De(e){var t,n=new URLSearchParams,r=j(e.entries());try{for(r.s();!(t=r.n()).done;){var o=s(t.value,2),i=o[0],a=o[1];n.append(i,a instanceof File?a.name:a)}}catch(u){r.e(u)}finally{r.f()}return n}function Fe(e,t,n,r,o){var i,a={},u=null,l=!1,s={};return n.forEach((function(n,c){var f=t[c].route.id;if(L(!He(n),"Cannot handle redirect results in processLoaderData"),Ke(n)){var d=Ue(e,f),p=n.error;r&&(p=Object.values(r)[0],r=void 0),null==(u=u||{})[d.route.id]&&(u[d.route.id]=p),a[f]=void 0,l||(l=!0,i=he(n.error)?n.error.status:500),n.headers&&(s[f]=n.headers)}else $e(n)?(o.set(f,n.deferredData),a[f]=n.deferredData.data):a[f]=n.data,null==n.statusCode||200===n.statusCode||l||(i=n.statusCode),n.headers&&(s[f]=n.headers)})),r&&(u=r,a[Object.keys(r)[0]]=void 0),{loaderData:a,errors:u,statusCode:i||200,loaderHeaders:s}}function ze(e,t,n,r,o,i,a,u){for(var l=Fe(t,n,r,o,u),s=l.loaderData,c=l.errors,f=0;f<i.length;f++){var d=i[f],p=d.key,h=d.match;L(void 0!==a&&void 0!==a[f],"Did not find corresponding fetcher result");var v=a[f];if(Ke(v)){var m=Ue(e.matches,h.route.id);c&&c[m.route.id]||(c=T({},c,_({},m.route.id,v.error))),e.fetchers.delete(p)}else if(He(v))L(!1,"Unhandled fetcher revalidation redirect");else if($e(v))L(!1,"Unhandled fetcher deferred data");else{var y={state:"idle",data:v.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};e.fetchers.set(p,y)}}return{loaderData:s,errors:c}}function Ie(e,t,n,r){var o,i=T({},t),a=j(n);try{for(a.s();!(o=a.n()).done;){var u=o.value.route.id;if(t.hasOwnProperty(u)?void 0!==t[u]&&(i[u]=t[u]):void 0!==e[u]&&(i[u]=e[u]),r&&r.hasOwnProperty(u))break}}catch(l){a.e(l)}finally{a.f()}return i}function Ue(e,t){var n=t?e.slice(0,e.findIndex((function(e){return e.route.id===t}))+1):f(e);return n.reverse().find((function(e){return!0===e.route.hasErrorBoundary}))||e[0]}function Be(e){var t=e.find((function(e){return e.index||!e.path||"/"===e.path}))||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function qe(e,t){var n=void 0===t?{}:t,r=n.pathname,o=n.routeId,i=n.method,a=n.type,u="Unknown Server Error",l="Unknown @remix-run/router error";return 400===e?(u="Bad Request",i&&r&&o?l="You made a "+i+' request to "'+r+'" but did not provide a `loader` for route "'+o+'", so there is no way to handle the request.':"defer-action"===a&&(l="defer() is not supported in actions")):403===e?(u="Forbidden",l='Route "'+o+'" does not match URL "'+r+'"'):404===e?(u="Not Found",l='No route matches URL "'+r+'"'):405===e&&(u="Method Not Allowed",i&&r&&o?l="You made a "+i.toUpperCase()+' request to "'+r+'" but did not provide an `action` for route "'+o+'", so there is no way to handle the request.':i&&(l='Invalid request method "'+i.toUpperCase()+'"')),new pe(e||500,u,new Error(l),!0)}function Ve(e){for(var t=e.length-1;t>=0;t--){var n=e[t];if(He(n))return n}}function Qe(e){return z(T({},"string"===typeof e?I(e):e,{hash:""}))}function We(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash!==t.hash}function $e(e){return e.type===A.deferred}function Ke(e){return e.type===A.error}function He(e){return(e&&e.type)===A.redirect}function Ze(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"object"===typeof e.headers&&"undefined"!==typeof e.body}function Ge(e){return ge.has(e)}function Xe(e){return me.has(e)}function Ye(e,t,n,r,o,i){return Je.apply(this,arguments)}function Je(){return Je=O(E().mark((function e(t,n,r,o,i,a){var u,l;return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:u=E().mark((function e(u){var l,s,c,f;return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l=r[u],s=n[u],c=t.find((function(e){return e.route.id===s.route.id})),f=null!=c&&!Te(c,s)&&void 0!==(a&&a[s.route.id]),!$e(l)||!i&&!f){e.next=7;break}return e.next=7,et(l,o,i).then((function(e){e&&(r[u]=e||r[u])}));case 7:case"end":return e.stop()}}),e)})),l=0;case 2:if(!(l<r.length)){e.next=7;break}return e.delegateYield(u(l),"t0",4);case 4:l++,e.next=2;break;case 7:case"end":return e.stop()}}),e)}))),Je.apply(this,arguments)}function et(e,t,n){return tt.apply(this,arguments)}function tt(){return(tt=O(E().mark((function e(t,n,r){return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===r&&(r=!1),e.next=3,t.deferredData.resolveData(n);case 3:if(!e.sent){e.next=6;break}return e.abrupt("return");case 6:if(!r){e.next=14;break}return e.prev=7,e.abrupt("return",{type:A.data,data:t.deferredData.unwrappedData});case 11:return e.prev=11,e.t0=e.catch(7),e.abrupt("return",{type:A.error,error:e.t0});case 14:return e.abrupt("return",{type:A.data,data:t.deferredData.data});case 15:case"end":return e.stop()}}),e,null,[[7,11]])})))).apply(this,arguments)}function nt(e){return new URLSearchParams(e).getAll("index").some((function(e){return""===e}))}function rt(e,t){var n=e.route,r=e.pathname,o=e.params;return{id:n.id,pathname:r,params:o,data:t[n.id],handle:n.handle}}function ot(e,t){var n="string"===typeof t?I(t).search:t.search;if(e[e.length-1].route.index&&nt(n||""))return e[e.length-1];var r=ie(e);return r[r.length-1]}function it(){return it=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},it.apply(this,arguments)}var at="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},ut=e.useState,lt=e.useEffect,st=e.useLayoutEffect,ct=e.useDebugValue;function ft(e){var t=e.getSnapshot,n=e.value;try{var r=t();return!at(n,r)}catch(o){return!0}}"undefined"===typeof window||"undefined"===typeof window.document||window.document.createElement;var dt=t.useSyncExternalStore,pt=e.createContext(null);var ht=e.createContext(null);var vt=e.createContext(null);var mt=e.createContext(null);var yt=e.createContext(null);var gt=e.createContext({outlet:null,matches:[]});var bt=e.createContext(null);function wt(){return null!=e.useContext(yt)}function xt(){return wt()||L(!1),e.useContext(yt).location}function kt(){wt()||L(!1);var t=e.useContext(mt),n=t.basename,r=t.navigator,o=e.useContext(gt).matches,i=xt().pathname,a=JSON.stringify(ie(o).map((function(e){return e.pathnameBase}))),u=e.useRef(!1);return e.useEffect((function(){u.current=!0})),e.useCallback((function(e,t){if(void 0===t&&(t={}),u.current)if("number"!==typeof e){var o=ae(e,JSON.parse(a),i,"path"===t.relative);"/"!==n&&(o.pathname="/"===o.pathname?n:ue([n,o.pathname])),(t.replace?r.replace:r.push)(o,t.state,t)}else r.go(e)}),[n,r,a,i])}function St(){var t=e.useContext(gt).matches,n=t[t.length-1];return n?n.params:{}}function Et(){var t=function(){var t,n=e.useContext(bt),r=jt(Ot.UseRouteError),o=Tt(Ot.UseRouteError);if(n)return n;return null==(t=r.errors)?void 0:t[o]}(),n=he(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),r=t instanceof Error?t.stack:null,o="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:o};return e.createElement(e.Fragment,null,e.createElement("h2",null,"Unexpected Application Error!"),e.createElement("h3",{style:{fontStyle:"italic"}},n),r?e.createElement("pre",{style:i},r):null,null)}var Ct,Ot,_t=function(t){b(r,t);var n=S(r);function r(e){var t;return d(this,r),(t=n.call(this,e)).state={location:e.location,error:e.error},t}return m(r,[{key:"componentDidCatch",value:function(e,t){console.error("React Router caught the following error during render",e,t)}},{key:"render",value:function(){return this.state.error?e.createElement(gt.Provider,{value:this.props.routeContext},e.createElement(bt.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}],[{key:"getDerivedStateFromError",value:function(e){return{error:e}}},{key:"getDerivedStateFromProps",value:function(e,t){return t.location!==e.location?{error:e.error,location:e.location}:{error:e.error||t.error,location:t.location}}}]),r}(e.Component);function Pt(t){var n=t.routeContext,r=t.match,o=t.children,i=e.useContext(pt);return i&&i.static&&i.staticContext&&r.route.errorElement&&(i.staticContext._deepestRenderedBoundaryId=r.route.id),e.createElement(gt.Provider,{value:n},o)}function Rt(t,n,r){if(void 0===n&&(n=[]),null==t){if(null==r||!r.errors)return null;t=r.matches}var o=t,i=null==r?void 0:r.errors;if(null!=i){var a=o.findIndex((function(e){return e.route.id&&(null==i?void 0:i[e.route.id])}));a>=0||L(!1),o=o.slice(0,Math.min(o.length,a+1))}return o.reduceRight((function(t,a,u){var l=a.route.id?null==i?void 0:i[a.route.id]:null,s=r?a.route.errorElement||e.createElement(Et,null):null,c=n.concat(o.slice(0,u+1)),f=function(){return e.createElement(Pt,{match:a,routeContext:{outlet:t,matches:c}},l?s:void 0!==a.route.element?a.route.element:t)};return r&&(a.route.errorElement||0===u)?e.createElement(_t,{location:r.location,component:s,error:l,children:f(),routeContext:{outlet:null,matches:c}}):f()}),null)}function jt(t){var n=e.useContext(ht);return n||L(!1),n}function Tt(t){var n=function(t){var n=e.useContext(gt);return n||L(!1),n}(),r=n.matches[n.matches.length-1];return r.route.id||L(!1),r.route.id}!function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator"}(Ct||(Ct={})),function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"}(Ot||(Ot={}));var At;function Nt(t){var n=t.fallbackElement,r=t.router,o=dt(r.subscribe,(function(){return r.state}),(function(){return r.state})),i=e.useMemo((function(){return{createHref:r.createHref,encodeLocation:r.encodeLocation,go:function(e){return r.navigate(e)},push:function(e,t,n){return r.navigate(e,{state:t,preventScrollReset:null==n?void 0:n.preventScrollReset})},replace:function(e,t,n){return r.navigate(e,{replace:!0,state:t,preventScrollReset:null==n?void 0:n.preventScrollReset})}}}),[r]),a=r.basename||"/";return e.createElement(e.Fragment,null,e.createElement(pt.Provider,{value:{router:r,navigator:i,static:!1,basename:a}},e.createElement(ht.Provider,{value:o},e.createElement(Mt,{basename:r.basename,location:r.state.location,navigationType:r.state.historyAction,navigator:i},r.state.initialized?e.createElement(Dt,null):n))),null)}function Lt(e){L(!1)}function Mt(t){var n=t.basename,r=void 0===n?"/":n,o=t.children,i=void 0===o?null:o,a=t.location,u=t.navigationType,l=void 0===u?y.Pop:u,s=t.navigator,c=t.static,f=void 0!==c&&c;wt()&&L(!1);var d=r.replace(/^\/*/,"/"),p=e.useMemo((function(){return{basename:d,navigator:s,static:f}}),[d,s,f]);"string"===typeof a&&(a=I(a));var h=a,v=h.pathname,m=void 0===v?"/":v,g=h.search,b=void 0===g?"":g,w=h.hash,x=void 0===w?"":w,k=h.state,S=void 0===k?null:k,E=h.key,C=void 0===E?"default":E,O=e.useMemo((function(){var e=ne(m,d);return null==e?null:{pathname:e,search:b,hash:x,state:S,key:C}}),[d,m,b,x,S,C]);return null==O?null:e.createElement(mt.Provider,{value:p},e.createElement(yt.Provider,{children:i,value:{location:O,navigationType:l}}))}function Dt(t){var n=t.children,r=t.location,o=e.useContext(pt);return function(t,n){wt()||L(!1);var r,o=e.useContext(mt).navigator,i=e.useContext(ht),a=e.useContext(gt).matches,u=a[a.length-1],l=u?u.params:{},s=(u&&u.pathname,u?u.pathnameBase:"/"),c=(u&&u.route,xt());if(n){var f,d="string"===typeof n?I(n):n;"/"===s||(null==(f=d.pathname)?void 0:f.startsWith(s))||L(!1),r=d}else r=c;var p=r.pathname||"/",h=q(t,{pathname:"/"===s?p:p.slice(s.length)||"/"}),v=Rt(h&&h.map((function(e){return Object.assign({},e,{params:Object.assign({},l,e.params),pathname:ue([s,o.encodeLocation?o.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?s:ue([s,o.encodeLocation?o.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})})),a,i||void 0);return n&&v?e.createElement(yt.Provider,{value:{location:it({pathname:"/",search:"",hash:"",state:null,key:"default"},r),navigationType:y.Pop}},v):v}(o&&!n?o.router.routes:zt(n),r)}!function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(At||(At={}));var Ft=new Promise((function(){}));e.Component;function zt(t,n){void 0===n&&(n=[]);var r=[];return e.Children.forEach(t,(function(t,o){if(e.isValidElement(t))if(t.type!==e.Fragment){t.type!==Lt&&L(!1),t.props.index&&t.props.children&&L(!1);var i=[].concat(f(n),[o]),a={id:t.props.id||i.join("-"),caseSensitive:t.props.caseSensitive,element:t.props.element,index:t.props.index,path:t.props.path,loader:t.props.loader,action:t.props.action,errorElement:t.props.errorElement,hasErrorBoundary:null!=t.props.errorElement,shouldRevalidate:t.props.shouldRevalidate,handle:t.props.handle};t.props.children&&(a.children=zt(t.props.children,i)),r.push(a)}else r.push.apply(r,zt(t.props.children,n))})),r}function It(e){return e.map((function(e){var t=it({},e);return null==t.hasErrorBoundary&&(t.hasErrorBoundary=null!=t.errorElement),t.children&&(t.children=It(t.children)),t}))}function Ut(){return Ut=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},Ut.apply(this,arguments)}function Bt(){var e,t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=Ut({},t,{errors:qt(t.errors)})),t}function qt(e){if(!e)return null;for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var o=s(r[n],2),i=o[0],a=o[1];if(a&&"RouteErrorResponse"===a.__type)t[i]=new pe(a.status,a.statusText,a.data,!0===a.internal);else if(a&&"Error"===a.__type){var u=new Error(a.message);u.stack="",t[i]=u}else t[i]=a}return t}"undefined"!==typeof window&&"undefined"!==typeof window.document&&window.document.createElement;var Vt,Qt;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(Vt||(Vt={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(Qt||(Qt={}));var Wt={background:{display:"flex",flexDirection:"column",backgroundColor:"#002d4c",minHeight:"100vh",paddingBottom:128},header:{display:"flex",alignItems:"center",justifyContent:"center",position:"sticky",backgroundColor:"#0087e4",margin:"2vh",height:"32px",padding:8,borderRadius:4},header_contentwrapper:{display:"flex",alignItems:"center",justifyContent:"center"},window:{alignSelf:"center",width:"60%",minHeight:"128px",display:"flex",flexDirection:"column",backgroundColor:"#0087e4",margin:16,padding:16,borderRadius:16},note:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",backgroundColor:"#001018",margin:"2vh",width:"50%",alignSelf:"center",padding:32,borderRadius:32},note_content:{display:"flex",flexWrap:"wrap",flexDirection:"column",alignItems:"center",justifyContent:"center",backgroundColor:"#00293e",width:"90%",margin:"2vh",padding:8,paddingBottom:64,paddingTop:64,borderRadius:4},input_notetitle:{alignSelf:"center",backgroundColor:"#001018",borderRadius:4,borderColor:"#00293e",outline:"none",color:"white",height:"16px",fontSize:"2vh",fontWeight:"bold"},input_notebody:{alignSelf:"center",backgroundColor:"#00293e",maxWidth:"100%",borderRadius:4,border:"none",outline:"none",color:"white",height:"100%",width:"100%",minWidth:"100%",minHeight:"256px",maxHeight:"768px",fontSize:"2vh",fontWeight:"bold"},button_green:{backgroundColor:"#0dbc6a",alignSelf:"center",display:"flex",flexDirection:"row",width:"256x",margin:4},button_yellow:{backgroundColor:"#e2b465",alignSelf:"center",display:"flex",flexDirection:"row",width:"256px",margin:4},button_red:{backgroundColor:"#bc231e",alignSelf:"center",display:"flex",flexDirection:"row",width:"256px",margin:4},text_small:{color:"white",fontSize:"2vh",fontWeight:"bold",textAlign:"center"},text_small_red:{color:"#bc231e",fontSize:"2vh",fontWeight:"bold",textAlign:"center"},text_small_green:{color:"#0dbc6a",fontSize:"2vh",fontWeight:"bold",textAlign:"center"},text_medium:{color:"white",fontSize:"4vh",fontWeight:"bold",textAlign:"center"},text_medium_red:{color:"#bc231e",fontSize:"4vh",fontWeight:"bold",textAlign:"center"},flex_column:{display:"flex",flexDirection:"column"},flex_row:{width:"100%",justifyContent:"center",display:"flex",flexDirection:"row"}};function $t(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 Kt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$t(Object(n),!0).forEach((function(t){_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$t(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ht=n(184);function Zt(e){return(0,Ht.jsx)(Ht.Fragment,{children:(0,Ht.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:e.size+"px",height:e.size+"px",viewBox:"0 0 24 24",strokeWidth:"2",stroke:e.color,fill:"none",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,Ht.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,Ht.jsx)("path",{d:"M9 5h-2a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-12a2 2 0 0 0 -2 -2h-2"}),(0,Ht.jsx)("path",{d:"M9 3m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v0a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z"}),(0,Ht.jsx)("path",{d:"M9 12h6"}),(0,Ht.jsx)("path",{d:"M9 16h6"})]})})}function Gt(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var Xt=n(462);function Yt(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=Yt(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}var Jt=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Yt(e))&&(r&&(r+=" "),r+=t);return r};function en(e,t){var n=(0,Xt.Z)({},t);return Object.keys(e).forEach((function(r){if(r.toString().match(/^(components|slots)$/))n[r]=(0,Xt.Z)({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){var o=e[r]||{},i=t[r];n[r]={},i&&Object.keys(i)?o&&Object.keys(o)?(n[r]=(0,Xt.Z)({},i),Object.keys(o).forEach((function(e){n[r][e]=en(o[e],i[e])}))):n[r]=i:n[r]=o}else void 0===n[r]&&(n[r]=e[r])})),n}function tn(e,t,n){var r={};return Object.keys(e).forEach((function(o){r[o]=e[o].reduce((function(e,r){return r&&(e.push(t(r)),n&&n[r]&&e.push(n[r])),e}),[]).join(" ")})),r}function nn(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 rn(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 on(e){if(e.type)return e;if("#"===e.charAt(0))return on(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(nn(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(nn(10,r))}else o=o.split(",");return{type:n,values:o=o.map((function(e){return parseFloat(e)})),colorSpace:r}}function an(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 un(e){var t="hsl"===(e=on(e)).type||"hsla"===e.type?on(function(e){var t=(e=on(e)).values,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)},u="rgb",l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(u+="a",l.push(t[3])),an({type:u,values:l})}(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 ln(e,t){return e=on(e),t=rn(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/".concat(t):e.values[3]=t,an(e)}function sn(e,t){if(e=on(e),t=rn(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 an(e)}function cn(e,t){if(e=on(e),t=rn(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 an(e)}var fn=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}},dn=/^((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)-.*))$/,pn=fn((function(e){return dn.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var hn=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(r){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}(),vn=Math.abs,mn=String.fromCharCode,yn=Object.assign;function gn(e){return e.trim()}function bn(e,t,n){return e.replace(t,n)}function wn(e,t){return e.indexOf(t)}function xn(e,t){return 0|e.charCodeAt(t)}function kn(e,t,n){return e.slice(t,n)}function Sn(e){return e.length}function En(e){return e.length}function Cn(e,t){return t.push(e),e}var On=1,_n=1,Pn=0,Rn=0,jn=0,Tn="";function An(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:On,column:_n,length:a,return:""}}function Nn(e,t){return yn(An("",null,null,"",null,null,0),e,{length:-e.length},t)}function Ln(){return jn=Rn>0?xn(Tn,--Rn):0,_n--,10===jn&&(_n=1,On--),jn}function Mn(){return jn=Rn<Pn?xn(Tn,Rn++):0,_n++,10===jn&&(_n=1,On++),jn}function Dn(){return xn(Tn,Rn)}function Fn(){return Rn}function zn(e,t){return kn(Tn,e,t)}function In(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 Un(e){return On=_n=1,Pn=Sn(Tn=e),Rn=0,[]}function Bn(e){return Tn="",e}function qn(e){return gn(zn(Rn-1,Wn(91===e?e+2:40===e?e+1:e)))}function Vn(e){for(;(jn=Dn())&&jn<33;)Mn();return In(e)>2||In(jn)>3?"":" "}function Qn(e,t){for(;--t&&Mn()&&!(jn<48||jn>102||jn>57&&jn<65||jn>70&&jn<97););return zn(e,Fn()+(t<6&&32==Dn()&&32==Mn()))}function Wn(e){for(;Mn();)switch(jn){case e:return Rn;case 34:case 39:34!==e&&39!==e&&Wn(jn);break;case 40:41===e&&Wn(e);break;case 92:Mn()}return Rn}function $n(e,t){for(;Mn()&&e+jn!==57&&(e+jn!==84||47!==Dn()););return"/*"+zn(t,Rn-1)+"*"+mn(47===e?e:Mn())}function Kn(e){for(;!In(Dn());)Mn();return zn(e,Rn)}var Hn="-ms-",Zn="-moz-",Gn="-webkit-",Xn="comm",Yn="rule",Jn="decl",er="@import",tr="@keyframes";function nr(e,t){for(var n="",r=En(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function rr(e,t,n,r){switch(e.type){case er:case Jn:return e.return=e.return||e.value;case Xn:return"";case tr:return e.return=e.value+"{"+nr(e.children,r)+"}";case Yn:e.value=e.props.join(",")}return Sn(n=nr(e.children,r))?e.return=e.value+"{"+n+"}":""}function or(e){return Bn(ir("",null,null,null,[""],e=Un(e),0,[0],e))}function ir(e,t,n,r,o,i,a,u,l){for(var s=0,c=0,f=a,d=0,p=0,h=0,v=1,m=1,y=1,g=0,b="",w=o,x=i,k=r,S=b;m;)switch(h=g,g=Mn()){case 40:if(108!=h&&58==xn(S,f-1)){-1!=wn(S+=bn(qn(g),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:S+=qn(g);break;case 9:case 10:case 13:case 32:S+=Vn(h);break;case 92:S+=Qn(Fn()-1,7);continue;case 47:switch(Dn()){case 42:case 47:Cn(ur($n(Mn(),Fn()),t,n),l);break;default:S+="/"}break;case 123*v:u[s++]=Sn(S)*y;case 125*v:case 59:case 0:switch(g){case 0:case 125:m=0;case 59+c:p>0&&Sn(S)-f&&Cn(p>32?lr(S+";",r,n,f-1):lr(bn(S," ","")+";",r,n,f-2),l);break;case 59:S+=";";default:if(Cn(k=ar(S,t,n,s,c,o,u,b,w=[],x=[],f),i),123===g)if(0===c)ir(S,t,k,k,w,i,f,u,x);else switch(99===d&&110===xn(S,3)?100:d){case 100:case 109:case 115:ir(e,k,k,r&&Cn(ar(e,k,k,0,0,o,u,b,o,w=[],f),x),o,x,f,u,r?w:x);break;default:ir(S,k,k,k,[""],x,0,u,x)}}s=c=p=0,v=y=1,b=S="",f=a;break;case 58:f=1+Sn(S),p=h;default:if(v<1)if(123==g)--v;else if(125==g&&0==v++&&125==Ln())continue;switch(S+=mn(g),g*v){case 38:y=c>0?1:(S+="\f",-1);break;case 44:u[s++]=(Sn(S)-1)*y,y=1;break;case 64:45===Dn()&&(S+=qn(Mn())),d=Dn(),c=f=Sn(b=S+=Kn(Fn())),g++;break;case 45:45===h&&2==Sn(S)&&(v=0)}}return i}function ar(e,t,n,r,o,i,a,u,l,s,c){for(var f=o-1,d=0===o?i:[""],p=En(d),h=0,v=0,m=0;h<r;++h)for(var y=0,g=kn(e,f+1,f=vn(v=a[h])),b=e;y<p;++y)(b=gn(v>0?d[y]+" "+g:bn(g,/&\f/g,d[y])))&&(l[m++]=b);return An(e,t,n,0===o?Yn:u,l,s,c)}function ur(e,t,n){return An(e,t,n,Xn,mn(jn),kn(e,2,-2),0)}function lr(e,t,n,r){return An(e,t,n,Jn,kn(e,0,r),kn(e,r+1,-1),r)}var sr=function(e,t,n){for(var r=0,o=0;r=o,o=Dn(),38===r&&12===o&&(t[n]=1),!In(o);)Mn();return zn(e,Rn)},cr=function(e,t){return Bn(function(e,t){var n=-1,r=44;do{switch(In(r)){case 0:38===r&&12===Dn()&&(t[n]=1),e[n]+=sr(Rn-1,t,n);break;case 2:e[n]+=qn(r);break;case 4:if(44===r){e[++n]=58===Dn()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=mn(r)}}while(r=Mn());return e}(Un(e),t))},fr=new WeakMap,dr=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)||fr.get(n))&&!r){fr.set(e,!0);for(var o=[],i=cr(t,o),a=n.props,u=0,l=0;u<i.length;u++)for(var s=0;s<a.length;s++,l++)e.props[l]=o[u]?i[u].replace(/&\f/g,a[s]):a[s]+" "+i[u]}}},pr=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function hr(e,t){switch(function(e,t){return 45^xn(e,0)?(((t<<2^xn(e,0))<<2^xn(e,1))<<2^xn(e,2))<<2^xn(e,3):0}(e,t)){case 5103:return Gn+"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 Gn+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Gn+e+Zn+e+Hn+e+e;case 6828:case 4268:return Gn+e+Hn+e+e;case 6165:return Gn+e+Hn+"flex-"+e+e;case 5187:return Gn+e+bn(e,/(\w+).+(:[^]+)/,Gn+"box-$1$2"+Hn+"flex-$1$2")+e;case 5443:return Gn+e+Hn+"flex-item-"+bn(e,/flex-|-self/,"")+e;case 4675:return Gn+e+Hn+"flex-line-pack"+bn(e,/align-content|flex-|-self/,"")+e;case 5548:return Gn+e+Hn+bn(e,"shrink","negative")+e;case 5292:return Gn+e+Hn+bn(e,"basis","preferred-size")+e;case 6060:return Gn+"box-"+bn(e,"-grow","")+Gn+e+Hn+bn(e,"grow","positive")+e;case 4554:return Gn+bn(e,/([^-])(transform)/g,"$1"+Gn+"$2")+e;case 6187:return bn(bn(bn(e,/(zoom-|grab)/,Gn+"$1"),/(image-set)/,Gn+"$1"),e,"")+e;case 5495:case 3959:return bn(e,/(image-set\([^]*)/,Gn+"$1$`$1");case 4968:return bn(bn(e,/(.+:)(flex-)?(.*)/,Gn+"box-pack:$3"+Hn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Gn+e+e;case 4095:case 3583:case 4068:case 2532:return bn(e,/(.+)-inline(.+)/,Gn+"$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(Sn(e)-1-t>6)switch(xn(e,t+1)){case 109:if(45!==xn(e,t+4))break;case 102:return bn(e,/(.+:)(.+)-([^]+)/,"$1"+Gn+"$2-$3$1"+Zn+(108==xn(e,t+3)?"$3":"$2-$3"))+e;case 115:return~wn(e,"stretch")?hr(bn(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==xn(e,t+1))break;case 6444:switch(xn(e,Sn(e)-3-(~wn(e,"!important")&&10))){case 107:return bn(e,":",":"+Gn)+e;case 101:return bn(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Gn+(45===xn(e,14)?"inline-":"")+"box$3$1"+Gn+"$2$3$1"+Hn+"$2box$3")+e}break;case 5936:switch(xn(e,t+11)){case 114:return Gn+e+Hn+bn(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Gn+e+Hn+bn(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Gn+e+Hn+bn(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Gn+e+Hn+e+e}return e}var vr=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Jn:e.return=hr(e.value,e.length);break;case tr:return nr([Nn(e,{value:bn(e.value,"@","@"+Gn)})],r);case Yn: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 nr([Nn(e,{props:[bn(t,/:(read-\w+)/,":"+Zn+"$1")]})],r);case"::placeholder":return nr([Nn(e,{props:[bn(t,/:(plac\w+)/,":"+Gn+"input-$1")]}),Nn(e,{props:[bn(t,/:(plac\w+)/,":"+Zn+"$1")]}),Nn(e,{props:[bn(t,/:(plac\w+)/,Hn+"input-$1")]})],r)}return""}))}}],mr=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||vr;var o,i,a={},u=[];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++)a[t[n]]=!0;u.push(e)}));var l,s,c=[rr,(s=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&s(e)})],f=function(e){var t=En(e);return function(n,r,o,i){for(var a="",u=0;u<t;u++)a+=e[u](n,r,o,i)||"";return a}}([dr,pr].concat(r,c));i=function(e,t,n,r){l=n,function(e){nr(or(e),f)}(e?e+"{"+t.styles+"}":t.styles),r&&(d.inserted[t.name]=!0)};var d={key:t,sheet:new hn({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return d.sheet.hydrate(u),d};var yr=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)},gr={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},br=/[A-Z]|^ms/g,wr=/_EMO_([^_]+?)_([^]*?)_EMO_/g,xr=function(e){return 45===e.charCodeAt(1)},kr=function(e){return null!=e&&"boolean"!==typeof e},Sr=fn((function(e){return xr(e)?e:e.replace(br,"-$&").toLowerCase()})),Er=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(wr,(function(e,t,n){return Or={name:t,styles:n,next:Or},t}))}return 1===gr[e]||xr(e)||"number"!==typeof t||0===t?t:t+"px"};function Cr(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 Or={name:n.name,styles:n.styles,next:Or},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Or={name:r.name,styles:r.styles,next:Or},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+=Cr(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!==typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":kr(a)&&(r+=Sr(i)+":"+Er(i,a)+";");else if(!Array.isArray(a)||"string"!==typeof a[0]||null!=t&&void 0!==t[a[0]]){var u=Cr(e,t,a);switch(i){case"animation":case"animationName":r+=Sr(i)+":"+u+";";break;default:r+=i+"{"+u+"}"}}else for(var l=0;l<a.length;l++)kr(a[l])&&(r+=Sr(i)+":"+Er(i,a[l])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=Or,i=n(e);return Or=o,Cr(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var Or,_r=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var Pr=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="";Or=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=Cr(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=Cr(n,t,e[a]),r&&(o+=i[a]);_r.lastIndex=0;for(var u,l="";null!==(u=_r.exec(o));)l+="-"+u[1];return{name:yr(o)+l,styles:o,next:Or}},Rr=!!t.useInsertionEffect&&t.useInsertionEffect,jr=Rr||function(e){return e()},Tr=(Rr||e.useLayoutEffect,(0,e.createContext)("undefined"!==typeof HTMLElement?mr({key:"css"}):null));Tr.Provider;var Ar=function(t){return(0,e.forwardRef)((function(n,r){var o=(0,e.useContext)(Tr);return t(n,o,r)}))},Nr=(0,e.createContext)({});var Lr=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Mr=pn,Dr=function(e){return"theme"!==e},Fr=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?Mr:Dr},zr=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},Ir=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;Lr(t,n,r);jr((function(){return function(e,t,n){Lr(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)}));return null},Ur=function t(n,r){var o,i,a=n.__emotion_real===n,u=a&&n.__emotion_base||n;void 0!==r&&(o=r.label,i=r.target);var l=zr(n,r,a),s=l||Fr(u),c=!s("as");return function(){var f=arguments,d=a&&void 0!==n.__emotion_styles?n.__emotion_styles.slice(0):[];if(void 0!==o&&d.push("label:"+o+";"),null==f[0]||void 0===f[0].raw)d.push.apply(d,f);else{0,d.push(f[0][0]);for(var p=f.length,h=1;h<p;h++)d.push(f[h],f[0][h])}var v=Ar((function(t,n,r){var o=c&&t.as||u,a="",f=[],p=t;if(null==t.theme){for(var h in p={},t)p[h]=t[h];p.theme=(0,e.useContext)(Nr)}"string"===typeof t.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}(n.registered,f,t.className):null!=t.className&&(a=t.className+" ");var v=Pr(d.concat(f),n.registered,p);a+=n.key+"-"+v.name,void 0!==i&&(a+=" "+i);var m=c&&void 0===l?Fr(o):s,y={};for(var g in t)c&&"as"===g||m(g)&&(y[g]=t[g]);return y.className=a,y.ref=r,(0,e.createElement)(e.Fragment,null,(0,e.createElement)(Ir,{cache:n,serialized:v,isStringTag:"string"===typeof o}),(0,e.createElement)(o,y))}));return v.displayName=void 0!==o?o:"Styled("+("string"===typeof u?u:u.displayName||u.name||"Component")+")",v.defaultProps=n.defaultProps,v.__emotion_real=v,v.__emotion_base=u,v.__emotion_styles=d,v.__emotion_forwardProp=l,Object.defineProperty(v,"toString",{value:function(){return"."+i}}),v.withComponent=function(e,n){return t(e,(0,Xt.Z)({},r,n,{shouldForwardProp:zr(v,n,!0)})).apply(void 0,d)},v}},Br=Ur.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){Br[e]=Br(e)}));var qr=Br;var Vr=function(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};function Qr(e){return null!==e&&"object"===typeof e&&e.constructor===Object}function Wr(e){if(!Qr(e))return e;var t={};return Object.keys(e).forEach((function(n){t[n]=Wr(e[n])})),t}function $r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},r=n.clone?(0,Xt.Z)({},e):e;return Qr(e)&&Qr(t)&&Object.keys(t).forEach((function(o){"__proto__"!==o&&(Qr(t[o])&&o in e&&Qr(e[o])?r[o]=$r(e[o],t[o],n):n.clone?r[o]=Qr(t[o])?Wr(t[o]):t[o]:r[o]=t[o])})),r}var Kr=["values","unit","step"],Hr=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(0,Xt.Z)({},e,_({},t.key,t.val))}),{})};var Zr={borderRadius:4},Gr={xs:0,sm:600,md:900,lg:1200,xl:1536},Xr={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(Gr[e],"px)")}};function Yr(e,t,n){var r=e.theme||{};if(Array.isArray(t)){var o=r.breakpoints||Xr;return t.reduce((function(e,r,i){return e[o.up(o.keys[i])]=n(t[i]),e}),{})}if("object"===typeof t){var i=r.breakpoints||Xr;return Object.keys(t).reduce((function(e,r){if(-1!==Object.keys(i.values||Gr).indexOf(r)){e[i.up(r)]=n(t[r],r)}else{var o=r;e[o]=t[o]}return e}),{})}return n(t)}function Jr(){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 eo(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 to(e){if("string"!==typeof e)throw new Error(nn(7));return e.charAt(0).toUpperCase()+e.slice(1)}function no(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 ro(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:no(e,n)||o,t&&(r=t(r,o,e)),r}var oo=function(e){var t=e.prop,n=e.cssProperty,r=void 0===n?e.prop:n,o=e.themeKey,i=e.transform,a=function(e){if(null==e[t])return null;var n=e[t],a=no(e.theme,o)||{};return Yr(e,n,(function(e){var n=ro(a,i,e);return e===n&&"string"===typeof e&&(n=ro(a,i,"".concat(t).concat("default"===e?"":to(e)),e)),!1===r?n:_({},r,n)}))};return a.propTypes={},a.filterProps=[t],a};var io=function(e,t){return t?$r(e,t,{clone:!1}):e};var ao={m:"margin",p:"padding"},uo={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},lo={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},so=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(!lo[e])return[e];e=lo[e]}var t=s(e.split(""),2),n=t[0],r=t[1],o=ao[n],i=uo[r]||"";return Array.isArray(i)?i.map((function(e){return o+e})):[o+i]})),co=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],fo=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],po=[].concat(co,fo);function ho(e,t,n,r){var o,i=null!=(o=no(e,t,!1))?o:n;return"number"===typeof i?function(e){return"string"===typeof e?e:i*e}:Array.isArray(i)?function(e){return"string"===typeof e?e:i[e]}:"function"===typeof i?i:function(){}}function vo(e){return ho(e,"spacing",8)}function mo(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 yo(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]=mo(t,n),e}),{})}}(so(n),r);return Yr(e,e[n],o)}function go(e,t){var n=vo(e.theme);return Object.keys(e).map((function(r){return yo(e,t,r,n)})).reduce(io,{})}function bo(e){return go(e,co)}function wo(e){return go(e,fo)}function xo(e){return go(e,po)}bo.propTypes={},bo.filterProps=co,wo.propTypes={},wo.filterProps=fo,xo.propTypes={},xo.filterProps=po;var ko=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]?io(t,r[n](e)):t}),{})};return o.propTypes={},o.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),o};function So(e){return"number"!==typeof e?e:"".concat(e,"px solid")}var Eo=oo({prop:"border",themeKey:"borders",transform:So}),Co=oo({prop:"borderTop",themeKey:"borders",transform:So}),Oo=oo({prop:"borderRight",themeKey:"borders",transform:So}),_o=oo({prop:"borderBottom",themeKey:"borders",transform:So}),Po=oo({prop:"borderLeft",themeKey:"borders",transform:So}),Ro=oo({prop:"borderColor",themeKey:"palette"}),jo=oo({prop:"borderTopColor",themeKey:"palette"}),To=oo({prop:"borderRightColor",themeKey:"palette"}),Ao=oo({prop:"borderBottomColor",themeKey:"palette"}),No=oo({prop:"borderLeftColor",themeKey:"palette"}),Lo=function(e){if(void 0!==e.borderRadius&&null!==e.borderRadius){var t=ho(e.theme,"shape.borderRadius",4);return Yr(e,e.borderRadius,(function(e){return{borderRadius:mo(t,e)}}))}return null};Lo.propTypes={},Lo.filterProps=["borderRadius"];ko(Eo,Co,Oo,_o,Po,Ro,jo,To,Ao,No,Lo);var Mo=function(e){if(void 0!==e.gap&&null!==e.gap){var t=ho(e.theme,"spacing",8);return Yr(e,e.gap,(function(e){return{gap:mo(t,e)}}))}return null};Mo.propTypes={},Mo.filterProps=["gap"];var Do=function(e){if(void 0!==e.columnGap&&null!==e.columnGap){var t=ho(e.theme,"spacing",8);return Yr(e,e.columnGap,(function(e){return{columnGap:mo(t,e)}}))}return null};Do.propTypes={},Do.filterProps=["columnGap"];var Fo=function(e){if(void 0!==e.rowGap&&null!==e.rowGap){var t=ho(e.theme,"spacing",8);return Yr(e,e.rowGap,(function(e){return{rowGap:mo(t,e)}}))}return null};Fo.propTypes={},Fo.filterProps=["rowGap"];ko(Mo,Do,Fo,oo({prop:"gridColumn"}),oo({prop:"gridRow"}),oo({prop:"gridAutoFlow"}),oo({prop:"gridAutoColumns"}),oo({prop:"gridAutoRows"}),oo({prop:"gridTemplateColumns"}),oo({prop:"gridTemplateRows"}),oo({prop:"gridTemplateAreas"}),oo({prop:"gridArea"}));function zo(e,t){return"grey"===t?t:e}ko(oo({prop:"color",themeKey:"palette",transform:zo}),oo({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:zo}),oo({prop:"backgroundColor",themeKey:"palette",transform:zo}));function Io(e){return e<=1&&0!==e?"".concat(100*e,"%"):e}var Uo=oo({prop:"width",transform:Io}),Bo=function(e){if(void 0!==e.maxWidth&&null!==e.maxWidth){return Yr(e,e.maxWidth,(function(t){var n,r,o;return{maxWidth:(null==(n=e.theme)||null==(r=n.breakpoints)||null==(o=r.values)?void 0:o[t])||Gr[t]||Io(t)}}))}return null};Bo.filterProps=["maxWidth"];var qo=oo({prop:"minWidth",transform:Io}),Vo=oo({prop:"height",transform:Io}),Qo=oo({prop:"maxHeight",transform:Io}),Wo=oo({prop:"minHeight",transform:Io}),$o=(oo({prop:"size",cssProperty:"width",transform:Io}),oo({prop:"size",cssProperty:"height",transform:Io}),ko(Uo,Bo,qo,Vo,Qo,Wo,oo({prop:"boxSizing"})),{border:{themeKey:"borders",transform:So},borderTop:{themeKey:"borders",transform:So},borderRight:{themeKey:"borders",transform:So},borderBottom:{themeKey:"borders",transform:So},borderLeft:{themeKey:"borders",transform:So},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Lo},color:{themeKey:"palette",transform:zo},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:zo},backgroundColor:{themeKey:"palette",transform:zo},p:{style:wo},pt:{style:wo},pr:{style:wo},pb:{style:wo},pl:{style:wo},px:{style:wo},py:{style:wo},padding:{style:wo},paddingTop:{style:wo},paddingRight:{style:wo},paddingBottom:{style:wo},paddingLeft:{style:wo},paddingX:{style:wo},paddingY:{style:wo},paddingInline:{style:wo},paddingInlineStart:{style:wo},paddingInlineEnd:{style:wo},paddingBlock:{style:wo},paddingBlockStart:{style:wo},paddingBlockEnd:{style:wo},m:{style:bo},mt:{style:bo},mr:{style:bo},mb:{style:bo},ml:{style:bo},mx:{style:bo},my:{style:bo},margin:{style:bo},marginTop:{style:bo},marginRight:{style:bo},marginBottom:{style:bo},marginLeft:{style:bo},marginX:{style:bo},marginY:{style:bo},marginInline:{style:bo},marginInlineStart:{style:bo},marginInlineEnd:{style:bo},marginBlock:{style:bo},marginBlockStart:{style:bo},marginBlockEnd:{style:bo},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:Mo},rowGap:{style:Fo},columnGap:{style:Do},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Io},maxWidth:{style:Bo},minWidth:{transform:Io},height:{transform:Io},maxHeight:{transform:Io},minHeight:{transform:Io},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}});var Ko=function(){function e(e,t,n,r){var o,i=(_(o={},e,t),_(o,"theme",n),o),a=r[e];if(!a)return _({},e,t);var u=a.cssProperty,l=void 0===u?e:u,s=a.themeKey,c=a.transform,f=a.style;if(null==t)return null;var d=no(n,s)||{};if(f)return f(i);return Yr(i,t,(function(t){var n=ro(d,c,t);return t===n&&"string"===typeof t&&(n=ro(d,c,"".concat(e).concat("default"===t?"":to(t)),t)),!1===l?n:_({},l,n)}))}return function t(n){var r,o=n||{},i=o.sx,a=o.theme,u=void 0===a?{}:a;if(!i)return null;var l=null!=(r=u.unstable_sxConfig)?r:$o;function s(n){var r=n;if("function"===typeof n)r=n(u);else if("object"!==typeof n)return n;if(!r)return null;var o=Jr(u.breakpoints),i=Object.keys(o),a=o;return Object.keys(r).forEach((function(n){var o,i,s=(o=r[n],i=u,"function"===typeof o?o(i):o);if(null!==s&&void 0!==s)if("object"===typeof s)if(l[n])a=io(a,e(n,s,u,l));else{var c=Yr({theme:u},s,(function(e){return _({},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}))}(c,s)?a=io(a,c):a[n]=t({sx:s,theme:u})}else a=io(a,e(n,s,u,l))})),eo(i,a)}return Array.isArray(i)?i.map(s):s(i)}}();Ko.filterProps=["sx"];var Ho=Ko,Zo=["breakpoints","palette","spacing","shape"];var Go=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,i=e.spacing,a=e.shape,u=void 0===a?{}:a,l=Gt(e,Zo),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,i=e.step,a=void 0===i?5:i,u=Gt(e,Kr),l=Hr(n),s=Object.keys(l);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-a/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)-a/100).concat(o,")")}return(0,Xt.Z)({keys:s,values:l,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},u)}(n),c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=vo({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}(i),f=$r({breakpoints:s,direction:"ltr",components:{},palette:(0,Xt.Z)({mode:"light"},o),spacing:c,shape:(0,Xt.Z)({},Zr,u)},l),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 $r(e,t)}),f)).unstable_sxConfig=(0,Xt.Z)({},$o,null==l?void 0:l.unstable_sxConfig),f.unstable_sx=function(e){return Ho({sx:e,theme:this})},f},Xo=["variant"];function Yo(e){return 0===e.length}function Jo(e){var t=e.variant,n=Gt(e,Xo),r=t||"";return Object.keys(n).sort().forEach((function(t){r+="color"===t?Yo(r)?e[t]:to(e[t]):"".concat(Yo(r)?t:to(t)).concat(to(e[t].toString()))})),r}var ei=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],ti=["theme"],ni=["theme"];function ri(e){return 0===Object.keys(e).length}var oi=function(e,t){return t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null},ii=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=Jo(e.props);r[t]=e.style})),r},ai=function(e,t,n,r){var o,i,a=e.ownerState,u=void 0===a?{}:a,l=[],s=null==n||null==(o=n.components)||null==(i=o[r])?void 0:i.variants;return s&&s.forEach((function(n){var r=!0;Object.keys(n.props).forEach((function(t){u[t]!==n.props[t]&&e[t]!==n.props[t]&&(r=!1)})),r&&l.push(t[Jo(n.props)])})),l};function ui(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}var li=Go();function si(e,t){var n;return(0,Xt.Z)({toolbar:(n={minHeight:56},_(n,e.up("xs"),{"@media (orientation: landscape)":{minHeight:48}}),_(n,e.up("sm"),{minHeight:64}),n)},t)}var ci={black:"#000",white:"#fff"},fi={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"},di={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"},pi={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"},hi={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"},vi={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"},mi={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"},yi={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"},gi=["mode","contrastThreshold","tonalOffset"],bi={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:ci.white,default:ci.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}},wi={text:{primary:ci.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:ci.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 xi(e,t,n,r){var o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=cn(e.main,o):"dark"===t&&(e.dark=sn(e.main,i)))}function ki(e){var t=e.mode,n=void 0===t?"light":t,r=e.contrastThreshold,o=void 0===r?3:r,i=e.tonalOffset,a=void 0===i?.2:i,u=Gt(e,gi),l=e.primary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:vi[200],light:vi[50],dark:vi[400]}:{main:vi[700],light:vi[400],dark:vi[800]}}(n),s=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:di[200],light:di[50],dark:di[400]}:{main:di[500],light:di[300],dark:di[700]}}(n),c=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:pi[500],light:pi[300],dark:pi[700]}:{main:pi[700],light:pi[400],dark:pi[800]}}(n),f=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:mi[400],light:mi[300],dark:mi[700]}:{main:mi[700],light:mi[500],dark:mi[900]}}(n),d=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:yi[400],light:yi[300],dark:yi[700]}:{main:yi[800],light:yi[500],dark:yi[900]}}(n),p=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:hi[400],light:hi[300],dark:hi[700]}:{main:"#ed6c02",light:hi[500],dark:hi[900]}}(n);function h(e){var t=function(e,t){var n=un(e),r=un(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,wi.text.primary)>=o?wi.text.primary:bi.text.primary;return t}var v=function(e){var t=e.color,n=e.name,r=e.mainShade,o=void 0===r?500:r,i=e.lightShade,u=void 0===i?300:i,l=e.darkShade,s=void 0===l?700:l;if(!(t=(0,Xt.Z)({},t)).main&&t[o]&&(t.main=t[o]),!t.hasOwnProperty("main"))throw new Error(nn(11,n?" (".concat(n,")"):"",o));if("string"!==typeof t.main)throw new Error(nn(12,n?" (".concat(n,")"):"",JSON.stringify(t.main)));return xi(t,"light",u,a),xi(t,"dark",s,a),t.contrastText||(t.contrastText=h(t.main)),t},m={dark:wi,light:bi};return $r((0,Xt.Z)({common:(0,Xt.Z)({},ci),mode:n,primary:v({color:l,name:"primary"}),secondary:v({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:v({color:c,name:"error"}),warning:v({color:p,name:"warning"}),info:v({color:f,name:"info"}),success:v({color:d,name:"success"}),grey:fi,contrastThreshold:o,getContrastText:h,augmentColor:v,tonalOffset:a},m[n]),u)}var Si=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];var Ei={textTransform:"uppercase"},Ci='"Roboto", "Helvetica", "Arial", sans-serif';function Oi(e,t){var n="function"===typeof t?t(e):t,r=n.fontFamily,o=void 0===r?Ci:r,i=n.fontSize,a=void 0===i?14:i,u=n.fontWeightLight,l=void 0===u?300:u,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,v=n.htmlFontSize,m=void 0===v?16:v,y=n.allVariants,g=n.pxToRem,b=Gt(n,Si);var w=a/14,x=g||function(e){return"".concat(e/m*w,"rem")},k=function(e,t,n,r,i){return(0,Xt.Z)({fontFamily:o,fontWeight:e,fontSize:x(t),lineHeight:n},o===Ci?{letterSpacing:"".concat((a=r/t,Math.round(1e5*a)/1e5),"em")}:{},i,y);var a},S={h1:k(l,96,1.167,-1.5),h2:k(l,60,1.2,-.5),h3:k(c,48,1.167,0),h4:k(c,34,1.235,.25),h5:k(c,24,1.334,0),h6:k(d,20,1.6,.15),subtitle1:k(c,16,1.75,.15),subtitle2:k(d,14,1.57,.1),body1:k(c,16,1.5,.15),body2:k(c,14,1.43,.15),button:k(d,14,1.75,.4,Ei),caption:k(c,12,1.66,.4),overline:k(c,12,2.66,1,Ei)};return $r((0,Xt.Z)({htmlFontSize:m,pxToRem:x,fontFamily:o,fontSize:a,fontWeightLight:l,fontWeightRegular:c,fontWeightMedium:d,fontWeightBold:h},S),b,{clone:!1})}var _i=.2,Pi=.14,Ri=.12;function ji(){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(_i,")"),"".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(Pi,")"),"".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(Ri,")")].join(",")}var Ti=["none",ji(0,2,1,-1,0,1,1,0,0,1,3,0),ji(0,3,1,-2,0,2,2,0,0,1,5,0),ji(0,3,3,-2,0,3,4,0,0,1,8,0),ji(0,2,4,-1,0,4,5,0,0,1,10,0),ji(0,3,5,-1,0,5,8,0,0,1,14,0),ji(0,3,5,-1,0,6,10,0,0,1,18,0),ji(0,4,5,-2,0,7,10,1,0,2,16,1),ji(0,5,5,-3,0,8,10,1,0,3,14,2),ji(0,5,6,-3,0,9,12,1,0,3,16,2),ji(0,6,6,-3,0,10,14,1,0,4,18,3),ji(0,6,7,-4,0,11,15,1,0,4,20,3),ji(0,7,8,-4,0,12,17,2,0,5,22,4),ji(0,7,8,-4,0,13,19,2,0,5,24,4),ji(0,7,9,-4,0,14,21,2,0,5,26,4),ji(0,8,9,-5,0,15,22,2,0,6,28,5),ji(0,8,10,-5,0,16,24,2,0,6,30,5),ji(0,8,11,-5,0,17,26,2,0,6,32,5),ji(0,9,11,-5,0,18,28,2,0,7,34,6),ji(0,9,12,-6,0,19,29,2,0,7,36,6),ji(0,10,13,-6,0,20,31,3,0,8,38,7),ji(0,10,13,-6,0,21,33,3,0,8,40,7),ji(0,10,14,-6,0,22,35,3,0,8,42,7),ji(0,11,14,-7,0,23,36,3,0,9,44,8),ji(0,11,15,-7,0,24,38,3,0,9,46,8)],Ai=["duration","easing","delay"],Ni={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)"},Li={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Mi(e){return"".concat(Math.round(e),"ms")}function Di(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}function Fi(e){var t=(0,Xt.Z)({},Ni,e.easing),n=(0,Xt.Z)({},Li,e.duration);return(0,Xt.Z)({getAutoHeightDuration:Di,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,i=void 0===o?n.standard:o,a=r.easing,u=void 0===a?t.easeInOut:a,l=r.delay,s=void 0===l?0:l;Gt(r,Ai);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof i?i:Mi(i)," ").concat(u," ").concat("string"===typeof s?s:Mi(s))})).join(",")}},e,{easing:t,duration:n})}var zi={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Ii=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Ui(){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,i=e.transitions,a=void 0===i?{}:i,u=e.typography,l=void 0===u?{}:u,s=Gt(e,Ii);if(e.vars)throw new Error(nn(18));var c=ki(o),f=Go(e),d=$r(f,{mixins:si(f.breakpoints,n),palette:c,shadows:Ti.slice(),typography:Oi(c,l),transitions:Fi(a),zIndex:(0,Xt.Z)({},zi)});d=$r(d,s);for(var p=arguments.length,h=new Array(p>1?p-1:0),v=1;v<p;v++)h[v-1]=arguments[v];return(d=h.reduce((function(e,t){return $r(e,t)}),d)).unstable_sxConfig=(0,Xt.Z)({},$o,null==s?void 0:s.unstable_sxConfig),d.unstable_sx=function(e){return Ho({sx:e,theme:this})},d}var Bi=Ui(),qi=function(e){return ui(e)&&"classes"!==e},Vi=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.defaultTheme,n=void 0===t?li:t,r=e.rootShouldForwardProp,o=void 0===r?ui:r,i=e.slotShouldForwardProp,a=void 0===i?ui:i,u=function(e){var t=ri(e.theme)?n:e.theme;return Ho((0,Xt.Z)({},e,{theme:t}))};return u.__mui_systemSx=!0,function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Vr(e,(function(e){return e.filter((function(e){return!(null!=e&&e.__mui_systemSx)}))}));var r=t.name,i=t.slot,l=t.skipVariantsResolver,c=t.skipSx,d=t.overridesResolver,p=Gt(t,ei),h=void 0!==l?l:i&&"Root"!==i||!1,v=c||!1;var m=ui;"Root"===i?m=o:i?m=a:function(e){return"string"===typeof e&&e.charCodeAt(0)>96}(e)&&(m=void 0);var y=function(e,t){return qr(e,t)}(e,(0,Xt.Z)({shouldForwardProp:m,label:undefined},p)),g=function(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),i=1;i<t;i++)o[i-1]=arguments[i];var a=o?o.map((function(e){return"function"===typeof e&&e.__emotion_real!==e?function(t){var r=t.theme,o=Gt(t,ti);return e((0,Xt.Z)({theme:ri(r)?n:r},o))}:e})):[],l=e;r&&d&&a.push((function(e){var t=ri(e.theme)?n:e.theme,o=oi(r,t);if(o){var i={};return Object.entries(o).forEach((function(n){var r=s(n,2),o=r[0],a=r[1];i[o]="function"===typeof a?a((0,Xt.Z)({},e,{theme:t})):a})),d(e,i)}return null})),r&&!h&&a.push((function(e){var t=ri(e.theme)?n:e.theme;return ai(e,ii(r,t),t,r)})),v||a.push(u);var c=a.length-o.length;if(Array.isArray(e)&&c>0){var p=new Array(c).fill("");(l=[].concat(f(e),f(p))).raw=[].concat(f(e.raw),f(p))}else"function"===typeof e&&e.__emotion_real!==e&&(l=function(t){var r=t.theme,o=Gt(t,ni);return e((0,Xt.Z)({theme:ri(r)?n:r},o))});return y.apply(void 0,[l].concat(f(a)))};return y.withConfig&&(g.withConfig=y.withConfig),g}}({defaultTheme:Bi,rootShouldForwardProp:qi}),Qi=Vi;var Wi=e.createContext(null);var $i=function(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=e.useContext(Wi);return r&&(t=r,0!==Object.keys(t).length)?r:n},Ki=Go();var Hi=function(){return $i(arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ki)};function Zi(e){var t=e.props,n=e.name,r=e.defaultTheme,o=function(e){var t=e.theme,n=e.name,r=e.props;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?en(t.components[n].defaultProps,r):r}({theme:Hi(r),name:n,props:t});return o}function Gi(e){return Zi({props:e.props,name:e.name,defaultTheme:Bi})}var Xi=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.useMemo((function(){return n.every((function(e){return null==e}))?null:function(e){n.forEach((function(t){!function(e,t){"function"===typeof e?e(t):e&&(e.current=t)}(t,e)}))}}),n)},Yi="undefined"!==typeof window?e.useLayoutEffect:e.useEffect;var Ji,ea=function(t){var n=e.useRef(t);return Yi((function(){n.current=t})),e.useCallback((function(){return n.current.apply(void 0,arguments)}),[])},ta=!0,na=!1,ra={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 oa(e){e.metaKey||e.altKey||e.ctrlKey||(ta=!0)}function ia(){ta=!1}function aa(){"hidden"===this.visibilityState&&na&&(ta=!0)}function ua(e){var t=e.target;try{return t.matches(":focus-visible")}catch(n){}return ta||function(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!ra[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}var la=function(){var t=e.useCallback((function(e){var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",oa,!0),t.addEventListener("mousedown",ia,!0),t.addEventListener("pointerdown",ia,!0),t.addEventListener("touchstart",ia,!0),t.addEventListener("visibilitychange",aa,!0))}),[]),n=e.useRef(!1);return{isFocusVisibleRef:n,onFocus:function(e){return!!ua(e)&&(n.current=!0,!0)},onBlur:function(){return!!n.current&&(na=!0,window.clearTimeout(Ji),Ji=window.setTimeout((function(){na=!1}),100),n.current=!1,!0)},ref:t}};function sa(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var ca=n(578),fa=e.createContext(null);function da(t,n){var r=Object.create(null);return t&&e.Children.map(t,(function(e){return e})).forEach((function(t){r[t.key]=function(t){return n&&(0,e.isValidElement)(t)?n(t):t}(t)})),r}function pa(e,t,n){return null!=n[t]?n[t]:e.props[t]}function ha(t,n,r){var o=da(t.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var u={};for(var l in t){if(o[l])for(r=0;r<o[l].length;r++){var s=o[l][r];u[o[l][r]]=n(s)}u[l]=n(l)}for(r=0;r<i.length;r++)u[i[r]]=n(i[r]);return u}(n,o);return Object.keys(i).forEach((function(a){var u=i[a];if((0,e.isValidElement)(u)){var l=a in n,s=a in o,c=n[a],f=(0,e.isValidElement)(c)&&!c.props.in;!s||l&&!f?s||!l||f?s&&l&&(0,e.isValidElement)(c)&&(i[a]=(0,e.cloneElement)(u,{onExited:r.bind(null,u),in:c.props.in,exit:pa(u,"exit",t),enter:pa(u,"enter",t)})):i[a]=(0,e.cloneElement)(u,{in:!1}):i[a]=(0,e.cloneElement)(u,{onExited:r.bind(null,u),in:!0,exit:pa(u,"exit",t),enter:pa(u,"enter",t)})}})),i}var va=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},ma=function(t){function n(e,n){var r,o=(r=t.call(this,e,n)||this).handleExited.bind(k(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}(0,ca.Z)(n,t);var r=n.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(t,n){var r,o,i=n.children,a=n.handleExited;return{children:n.firstRender?(r=t,o=a,da(r.children,(function(t){return(0,e.cloneElement)(t,{onExited:o.bind(null,t),in:!0,appear:pa(t,"appear",r),enter:pa(t,"enter",r),exit:pa(t,"exit",r)})}))):ha(t,i,a),firstRender:!1}},r.handleExited=function(e,t){var n=da(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,Xt.Z)({},t.children);return delete n[e.key],{children:n}})))},r.render=function(){var t=this.props,n=t.component,r=t.childFactory,o=Gt(t,["component","childFactory"]),i=this.state.contextValue,a=va(this.state.children).map(r);return delete o.appear,delete o.enter,delete o.exit,null===n?e.createElement(fa.Provider,{value:i},a):e.createElement(fa.Provider,{value:i},e.createElement(n,o,a))},n}(e.Component);ma.propTypes={},ma.defaultProps={component:"div",childFactory:function(e){return e}};var ya=ma;n(110);function ga(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Pr(t)}var ba=function(){var e=ga.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}};var wa=function(t){var n=t.className,r=t.classes,o=t.pulsate,i=void 0!==o&&o,a=t.rippleX,u=t.rippleY,l=t.rippleSize,c=t.in,f=t.onExited,d=t.timeout,p=s(e.useState(!1),2),h=p[0],v=p[1],m=Jt(n,r.ripple,r.rippleVisible,i&&r.ripplePulsate),y={width:l,height:l,top:-l/2+u,left:-l/2+a},g=Jt(r.child,h&&r.childLeaving,i&&r.childPulsate);return c||h||v(!0),e.useEffect((function(){if(!c&&null!=f){var e=setTimeout(f,d);return function(){clearTimeout(e)}}}),[f,c,d]),(0,Ht.jsx)("span",{className:m,style:y,children:(0,Ht.jsx)("span",{className:g})})},xa=function(e){return e},ka=function(){var e=xa;return{configure:function(t){e=t},generate:function(t){return e(t)},reset:function(){e=xa}}}(),Sa={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function Ea(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",r=Sa[t];return r?"".concat(n,"-").concat(r):"".concat(ka.generate(e),"-").concat(t)}function Ca(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",r={};return t.forEach((function(t){r[t]=Ea(e,t,n)})),r}var Oa,_a,Pa,Ra,ja,Ta,Aa,Na,La=Ca("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Ma=["center","classes","className"],Da=80,Fa=ba(ja||(ja=Oa||(Oa=sa(["\n 0% {\n transform: scale(0);\n opacity: 0.1;\n }\n\n 100% {\n transform: scale(1);\n opacity: 0.3;\n }\n"])))),za=ba(Ta||(Ta=_a||(_a=sa(["\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n"])))),Ia=ba(Aa||(Aa=Pa||(Pa=sa(["\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(0.92);\n }\n\n 100% {\n transform: scale(1);\n }\n"])))),Ua=Qi("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Ba=Qi(wa,{name:"MuiTouchRipple",slot:"Ripple"})(Na||(Na=Ra||(Ra=sa(["\n opacity: 0;\n position: absolute;\n\n &."," {\n opacity: 0.3;\n transform: scale(1);\n animation-name: ",";\n animation-duration: ","ms;\n animation-timing-function: ",";\n }\n\n &."," {\n animation-duration: ","ms;\n }\n\n & ."," {\n opacity: 1;\n display: block;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: currentColor;\n }\n\n & ."," {\n opacity: 0;\n animation-name: ",";\n animation-duration: ","ms;\n animation-timing-function: ",";\n }\n\n & ."," {\n position: absolute;\n /* @noflip */\n left: 0px;\n top: 0;\n animation-name: ",";\n animation-duration: 2500ms;\n animation-timing-function: ",";\n animation-iteration-count: infinite;\n animation-delay: 200ms;\n }\n"]))),La.rippleVisible,Fa,550,(function(e){return e.theme.transitions.easing.easeInOut}),La.ripplePulsate,(function(e){return e.theme.transitions.duration.shorter}),La.child,La.childLeaving,za,550,(function(e){return e.theme.transitions.easing.easeInOut}),La.childPulsate,Ia,(function(e){return e.theme.transitions.easing.easeInOut})),qa=e.forwardRef((function(t,n){var r=Gi({props:t,name:"MuiTouchRipple"}),o=r.center,i=void 0!==o&&o,a=r.classes,u=void 0===a?{}:a,l=r.className,c=Gt(r,Ma),d=s(e.useState([]),2),p=d[0],h=d[1],v=e.useRef(0),m=e.useRef(null);e.useEffect((function(){m.current&&(m.current(),m.current=null)}),[p]);var y=e.useRef(!1),g=e.useRef(null),b=e.useRef(null),w=e.useRef(null);e.useEffect((function(){return function(){clearTimeout(g.current)}}),[]);var x=e.useCallback((function(e){var t=e.pulsate,n=e.rippleX,r=e.rippleY,o=e.rippleSize,i=e.cb;h((function(e){return[].concat(f(e),[(0,Ht.jsx)(Ba,{classes:{ripple:Jt(u.ripple,La.ripple),rippleVisible:Jt(u.rippleVisible,La.rippleVisible),ripplePulsate:Jt(u.ripplePulsate,La.ripplePulsate),child:Jt(u.child,La.child),childLeaving:Jt(u.childLeaving,La.childLeaving),childPulsate:Jt(u.childPulsate,La.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},v.current)])})),v.current+=1,m.current=i}),[u]),k=e.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=t.pulsate,o=void 0!==r&&r,a=t.center,u=void 0===a?i||t.pulsate:a,l=t.fakeElement,s=void 0!==l&&l;if("mousedown"===(null==e?void 0:e.type)&&y.current)y.current=!1;else{"touchstart"===(null==e?void 0:e.type)&&(y.current=!0);var c,f,d,p=s?null:w.current,h=p?p.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(u||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(h.width/2),f=Math.round(h.height/2);else{var v=e.touches&&e.touches.length>0?e.touches[0]:e,m=v.clientX,k=v.clientY;c=Math.round(m-h.left),f=Math.round(k-h.top)}if(u)(d=Math.sqrt((2*Math.pow(h.width,2)+Math.pow(h.height,2))/3))%2===0&&(d+=1);else{var S=2*Math.max(Math.abs((p?p.clientWidth:0)-c),c)+2,E=2*Math.max(Math.abs((p?p.clientHeight:0)-f),f)+2;d=Math.sqrt(Math.pow(S,2)+Math.pow(E,2))}null!=e&&e.touches?null===b.current&&(b.current=function(){x({pulsate:o,rippleX:c,rippleY:f,rippleSize:d,cb:n})},g.current=setTimeout((function(){b.current&&(b.current(),b.current=null)}),Da)):x({pulsate:o,rippleX:c,rippleY:f,rippleSize:d,cb:n})}}),[i,x]),S=e.useCallback((function(){k({},{pulsate:!0})}),[k]),E=e.useCallback((function(e,t){if(clearTimeout(g.current),"touchend"===(null==e?void 0:e.type)&&b.current)return b.current(),b.current=null,void(g.current=setTimeout((function(){E(e,t)})));b.current=null,h((function(e){return e.length>0?e.slice(1):e})),m.current=t}),[]);return e.useImperativeHandle(n,(function(){return{pulsate:S,start:k,stop:E}}),[S,k,E]),(0,Ht.jsx)(Ua,(0,Xt.Z)({className:Jt(La.root,u.root,l),ref:w},c,{children:(0,Ht.jsx)(ya,{component:null,exit:!0,children:p})}))})),Va=qa;function Qa(e){return Ea("MuiButtonBase",e)}var Wa,$a=Ca("MuiButtonBase",["root","disabled","focusVisible"]),Ka=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Ha=Qi("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:function(e,t){return t.root}})((_(Wa={display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"}},"&.".concat($a.disabled),{pointerEvents:"none",cursor:"default"}),_(Wa,"@media print",{colorAdjust:"exact"}),Wa)),Za=e.forwardRef((function(t,n){var r=Gi({props:t,name:"MuiButtonBase"}),o=r.action,i=r.centerRipple,a=void 0!==i&&i,u=r.children,l=r.className,c=r.component,f=void 0===c?"button":c,d=r.disabled,p=void 0!==d&&d,h=r.disableRipple,v=void 0!==h&&h,m=r.disableTouchRipple,y=void 0!==m&&m,g=r.focusRipple,b=void 0!==g&&g,w=r.LinkComponent,x=void 0===w?"a":w,k=r.onBlur,S=r.onClick,E=r.onContextMenu,C=r.onDragLeave,O=r.onFocus,_=r.onFocusVisible,P=r.onKeyDown,R=r.onKeyUp,j=r.onMouseDown,T=r.onMouseLeave,A=r.onMouseUp,N=r.onTouchEnd,L=r.onTouchMove,M=r.onTouchStart,D=r.tabIndex,F=void 0===D?0:D,z=r.TouchRippleProps,I=r.touchRippleRef,U=r.type,B=Gt(r,Ka),q=e.useRef(null),V=e.useRef(null),Q=Xi(V,I),W=la(),$=W.isFocusVisibleRef,K=W.onFocus,H=W.onBlur,Z=W.ref,G=s(e.useState(!1),2),X=G[0],Y=G[1];p&&X&&Y(!1),e.useImperativeHandle(o,(function(){return{focusVisible:function(){Y(!0),q.current.focus()}}}),[]);var J=s(e.useState(!1),2),ee=J[0],te=J[1];e.useEffect((function(){te(!0)}),[]);var ne=ee&&!v&&!p;function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y;return ea((function(r){return t&&t(r),!n&&V.current&&V.current[e](r),!0}))}e.useEffect((function(){X&&b&&!v&&ee&&V.current.pulsate()}),[v,b,X,ee]);var oe=re("start",j),ie=re("stop",E),ae=re("stop",C),ue=re("stop",A),le=re("stop",(function(e){X&&e.preventDefault(),T&&T(e)})),se=re("start",M),ce=re("stop",N),fe=re("stop",L),de=re("stop",(function(e){H(e),!1===$.current&&Y(!1),k&&k(e)}),!1),pe=ea((function(e){q.current||(q.current=e.currentTarget),K(e),!0===$.current&&(Y(!0),_&&_(e)),O&&O(e)})),he=function(){var e=q.current;return f&&"button"!==f&&!("A"===e.tagName&&e.href)},ve=e.useRef(!1),me=ea((function(e){b&&!ve.current&&X&&V.current&&" "===e.key&&(ve.current=!0,V.current.stop(e,(function(){V.current.start(e)}))),e.target===e.currentTarget&&he()&&" "===e.key&&e.preventDefault(),P&&P(e),e.target===e.currentTarget&&he()&&"Enter"===e.key&&!p&&(e.preventDefault(),S&&S(e))})),ye=ea((function(e){b&&" "===e.key&&V.current&&X&&!e.defaultPrevented&&(ve.current=!1,V.current.stop(e,(function(){V.current.pulsate(e)}))),R&&R(e),S&&e.target===e.currentTarget&&he()&&" "===e.key&&!e.defaultPrevented&&S(e)})),ge=f;"button"===ge&&(B.href||B.to)&&(ge=x);var be={};"button"===ge?(be.type=void 0===U?"button":U,be.disabled=p):(B.href||B.to||(be.role="button"),p&&(be["aria-disabled"]=p));var we=Xi(n,Z,q);var xe=(0,Xt.Z)({},r,{centerRipple:a,component:f,disabled:p,disableRipple:v,disableTouchRipple:y,focusRipple:b,tabIndex:F,focusVisible:X}),ke=function(e){var t=e.disabled,n=e.focusVisible,r=e.focusVisibleClassName,o=tn({root:["root",t&&"disabled",n&&"focusVisible"]},Qa,e.classes);return n&&r&&(o.root+=" ".concat(r)),o}(xe);return(0,Ht.jsxs)(Ha,(0,Xt.Z)({as:ge,className:Jt(ke.root,l),ownerState:xe,onBlur:de,onClick:S,onContextMenu:ie,onFocus:pe,onKeyDown:me,onKeyUp:ye,onMouseDown:oe,onMouseLeave:le,onMouseUp:ue,onDragLeave:ae,onTouchEnd:ce,onTouchMove:fe,onTouchStart:se,ref:we,tabIndex:p?-1:F,type:U},be,B,{children:[u,ne?(0,Ht.jsx)(Va,(0,Xt.Z)({ref:Q,center:a},z)):null]}))})),Ga=Za,Xa=to;function Ya(e){return Ea("MuiButton",e)}var Ja=Ca("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var eu=e.createContext({}),tu=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],nu=function(e){return(0,Xt.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}})},ru=Qi(Ga,{shouldForwardProp:function(e){return qi(e)||"classes"===e},name:"MuiButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["".concat(n.variant).concat(Xa(n.color))],t["size".concat(Xa(n.size))],t["".concat(n.variant,"Size").concat(Xa(n.size))],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((function(e){var t,n,r,o=e.theme,i=e.ownerState;return(0,Xt.Z)({},o.typography.button,(_(t={minWidth:64,padding:"6px 16px",borderRadius:(o.vars||o).shape.borderRadius,transition:o.transitions.create(["background-color","box-shadow","border-color","color"],{duration:o.transitions.duration.short}),"&:hover":(0,Xt.Z)({textDecoration:"none",backgroundColor:o.vars?"rgba(".concat(o.vars.palette.text.primaryChannel," / ").concat(o.vars.palette.action.hoverOpacity,")"):ln(o.palette.text.primary,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===i.variant&&"inherit"!==i.color&&{backgroundColor:o.vars?"rgba(".concat(o.vars.palette[i.color].mainChannel," / ").concat(o.vars.palette.action.hoverOpacity,")"):ln(o.palette[i.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===i.variant&&"inherit"!==i.color&&{border:"1px solid ".concat((o.vars||o).palette[i.color].main),backgroundColor:o.vars?"rgba(".concat(o.vars.palette[i.color].mainChannel," / ").concat(o.vars.palette.action.hoverOpacity,")"):ln(o.palette[i.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===i.variant&&{backgroundColor:(o.vars||o).palette.grey.A100,boxShadow:(o.vars||o).shadows[4],"@media (hover: none)":{boxShadow:(o.vars||o).shadows[2],backgroundColor:(o.vars||o).palette.grey[300]}},"contained"===i.variant&&"inherit"!==i.color&&{backgroundColor:(o.vars||o).palette[i.color].dark,"@media (hover: none)":{backgroundColor:(o.vars||o).palette[i.color].main}}),"&:active":(0,Xt.Z)({},"contained"===i.variant&&{boxShadow:(o.vars||o).shadows[8]})},"&.".concat(Ja.focusVisible),(0,Xt.Z)({},"contained"===i.variant&&{boxShadow:(o.vars||o).shadows[6]})),_(t,"&.".concat(Ja.disabled),(0,Xt.Z)({color:(o.vars||o).palette.action.disabled},"outlined"===i.variant&&{border:"1px solid ".concat((o.vars||o).palette.action.disabledBackground)},"contained"===i.variant&&{color:(o.vars||o).palette.action.disabled,boxShadow:(o.vars||o).shadows[0],backgroundColor:(o.vars||o).palette.action.disabledBackground})),t),"text"===i.variant&&{padding:"6px 8px"},"text"===i.variant&&"inherit"!==i.color&&{color:(o.vars||o).palette[i.color].main},"outlined"===i.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===i.variant&&"inherit"!==i.color&&{color:(o.vars||o).palette[i.color].main,border:o.vars?"1px solid rgba(".concat(o.vars.palette[i.color].mainChannel," / 0.5)"):"1px solid ".concat(ln(o.palette[i.color].main,.5))},"contained"===i.variant&&{color:o.vars?o.vars.palette.text.primary:null==(n=(r=o.palette).getContrastText)?void 0:n.call(r,o.palette.grey[300]),backgroundColor:(o.vars||o).palette.grey[300],boxShadow:(o.vars||o).shadows[2]},"contained"===i.variant&&"inherit"!==i.color&&{color:(o.vars||o).palette[i.color].contrastText,backgroundColor:(o.vars||o).palette[i.color].main},"inherit"===i.color&&{color:"inherit",borderColor:"currentColor"},"small"===i.size&&"text"===i.variant&&{padding:"4px 5px",fontSize:o.typography.pxToRem(13)},"large"===i.size&&"text"===i.variant&&{padding:"8px 11px",fontSize:o.typography.pxToRem(15)},"small"===i.size&&"outlined"===i.variant&&{padding:"3px 9px",fontSize:o.typography.pxToRem(13)},"large"===i.size&&"outlined"===i.variant&&{padding:"7px 21px",fontSize:o.typography.pxToRem(15)},"small"===i.size&&"contained"===i.variant&&{padding:"4px 10px",fontSize:o.typography.pxToRem(13)},"large"===i.size&&"contained"===i.variant&&{padding:"8px 22px",fontSize:o.typography.pxToRem(15)},i.fullWidth&&{width:"100%"})}),(function(e){var t;return e.ownerState.disableElevation&&(_(t={boxShadow:"none","&:hover":{boxShadow:"none"}},"&.".concat(Ja.focusVisible),{boxShadow:"none"}),_(t,"&:active",{boxShadow:"none"}),_(t,"&.".concat(Ja.disabled),{boxShadow:"none"}),t)})),ou=Qi("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:function(e,t){var n=e.ownerState;return[t.startIcon,t["iconSize".concat(Xa(n.size))]]}})((function(e){var t=e.ownerState;return(0,Xt.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===t.size&&{marginLeft:-2},nu(t))})),iu=Qi("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:function(e,t){var n=e.ownerState;return[t.endIcon,t["iconSize".concat(Xa(n.size))]]}})((function(e){var t=e.ownerState;return(0,Xt.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===t.size&&{marginRight:-2},nu(t))})),au=e.forwardRef((function(t,n){var r=e.useContext(eu),o=Gi({props:en(r,t),name:"MuiButton"}),i=o.children,a=o.color,u=void 0===a?"primary":a,l=o.component,s=void 0===l?"button":l,c=o.className,f=o.disabled,d=void 0!==f&&f,p=o.disableElevation,h=void 0!==p&&p,v=o.disableFocusRipple,m=void 0!==v&&v,y=o.endIcon,g=o.focusVisibleClassName,b=o.fullWidth,w=void 0!==b&&b,x=o.size,k=void 0===x?"medium":x,S=o.startIcon,E=o.type,C=o.variant,O=void 0===C?"text":C,_=Gt(o,tu),P=(0,Xt.Z)({},o,{color:u,component:s,disabled:d,disableElevation:h,disableFocusRipple:m,fullWidth:w,size:k,type:E,variant:O}),R=function(e){var t=e.color,n=e.disableElevation,r=e.fullWidth,o=e.size,i=e.variant,a=e.classes,u=tn({root:["root",i,"".concat(i).concat(Xa(t)),"size".concat(Xa(o)),"".concat(i,"Size").concat(Xa(o)),"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon","iconSize".concat(Xa(o))],endIcon:["endIcon","iconSize".concat(Xa(o))]},Ya,a);return(0,Xt.Z)({},a,u)}(P),j=S&&(0,Ht.jsx)(ou,{className:R.startIcon,ownerState:P,children:S}),T=y&&(0,Ht.jsx)(iu,{className:R.endIcon,ownerState:P,children:y});return(0,Ht.jsxs)(ru,(0,Xt.Z)({ownerState:P,className:Jt(r.className,R.root,c),component:s,disabled:d,focusRipple:!m,focusVisibleClassName:Jt(R.focusVisible,g),ref:n,type:E},_,{classes:R,children:[j,i,T]}))})),uu=au,lu=n(248),su=n(327),cu=n(164);var fu=function(e){e()},du=function(){return fu},pu=(0,e.createContext)(null);function hu(){return(0,e.useContext)(pu)}var vu=function(){throw new Error("uSES not initialized!")},mu=vu,yu=function(e,t){return e===t};function gu(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pu,n=t===pu?hu:function(){return(0,e.useContext)(t)};return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:yu;var o=n(),i=o.store,a=o.subscription,u=o.getServerState,l=mu(a.addNestedSub,i.getState,u||i.getState,t,r);return(0,e.useDebugValue)(l),l}}var bu=gu();n(900);var wu={notify:function(){},get:function(){return[]}};function xu(e,t){var n,r=wu;function o(){a.onStateChange&&a.onStateChange()}function i(){n||(n=t?t.addNestedSub(o):e.subscribe(o),r=function(){var e=du(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}var a={addNestedSub:function(e){return i(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:o,isSubscribed:function(){return Boolean(n)},trySubscribe:i,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=wu)},getListeners:function(){return r}};return a}var ku=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement)?e.useLayoutEffect:e.useEffect;var Su=function(t){var n=t.store,r=t.context,o=t.children,i=t.serverState,a=(0,e.useMemo)((function(){var e=xu(n);return{store:n,subscription:e,getServerState:i?function(){return i}:void 0}}),[n,i]),u=(0,e.useMemo)((function(){return n.getState()}),[n]);ku((function(){var e=a.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),u!==n.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=void 0}}),[a,u]);var l=r||pu;return e.createElement(l.Provider,{value:a},o)};function Eu(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pu,n=t===pu?hu:function(){return(0,e.useContext)(t)};return function(){return n().store}}var Cu=Eu();function Ou(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pu,t=e===pu?Cu:Eu(e);return function(){return t().dispatch}}var _u,Pu=Ou();function Ru(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ju(e){return!!e&&!!e[bl]}function Tu(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===wl}(e)||Array.isArray(e)||!!e[gl]||!!(null===(t=e.constructor)||void 0===t?void 0:t[gl])||zu(e)||Iu(e))}function Au(e,t,n){void 0===n&&(n=!1),0===Nu(e)?(n?Object.keys:xl)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function Nu(e){var t=e[bl];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:zu(e)?2:Iu(e)?3:0}function Lu(e,t){return 2===Nu(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Mu(e,t){return 2===Nu(e)?e.get(t):e[t]}function Du(e,t,n){var r=Nu(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function Fu(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function zu(e){return hl&&e instanceof Map}function Iu(e){return vl&&e instanceof Set}function Uu(e){return e.o||e.t}function Bu(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=kl(e);delete t[bl];for(var n=xl(t),r=0;r<n.length;r++){var o=n[r],i=t[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function qu(e,t){return void 0===t&&(t=!1),Qu(e)||ju(e)||!Tu(e)||(Nu(e)>1&&(e.set=e.add=e.clear=e.delete=Vu),Object.freeze(e),t&&Au(e,(function(e,t){return qu(t,!0)}),!0)),e}function Vu(){Ru(2)}function Qu(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function Wu(e){var t=Sl[e];return t||Ru(18,e),t}function $u(e,t){Sl[e]||(Sl[e]=t)}function Ku(){return dl}function Hu(e,t){t&&(Wu("Patches"),e.u=[],e.s=[],e.v=t)}function Zu(e){Gu(e),e.p.forEach(Yu),e.p=null}function Gu(e){e===dl&&(dl=e.l)}function Xu(e){return dl={p:[],l:dl,h:e,m:!0,_:0}}function Yu(e){var t=e[bl];0===t.i||1===t.i?t.j():t.O=!0}function Ju(e,t){t._=t.p.length;var n=t.p[0],r=void 0!==e&&e!==n;return t.h.g||Wu("ES5").S(t,e,r),r?(n[bl].P&&(Zu(t),Ru(4)),Tu(e)&&(e=el(t,e),t.l||nl(t,e)),t.u&&Wu("Patches").M(n[bl].t,e,t.u,t.s)):e=el(t,n,[]),Zu(t),t.u&&t.v(t.u,t.s),e!==yl?e:void 0}function el(e,t,n){if(Qu(t))return t;var r=t[bl];if(!r)return Au(t,(function(o,i){return tl(e,r,t,o,i,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return nl(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=Bu(r.k):r.o,i=o,a=!1;3===r.i&&(i=new Set(o),o.clear(),a=!0),Au(i,(function(t,i){return tl(e,r,o,t,i,n,a)})),nl(e,o,!1),n&&e.u&&Wu("Patches").N(r,n,e.u,e.s)}return r.o}function tl(e,t,n,r,o,i,a){if(ju(o)){var u=el(e,o,i&&t&&3!==t.i&&!Lu(t.R,r)?i.concat(r):void 0);if(Du(n,r,u),!ju(u))return;e.m=!1}else a&&n.add(o);if(Tu(o)&&!Qu(o)){if(!e.h.D&&e._<1)return;el(e,o),t&&t.A.l||nl(e,o)}}function nl(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e.m&&qu(t,n)}function rl(e,t){var n=e[bl];return(n?Uu(n):e)[t]}function ol(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function il(e){e.P||(e.P=!0,e.l&&il(e.l))}function al(e){e.o||(e.o=Bu(e.t))}function ul(e,t,n){var r=zu(t)?Wu("MapSet").F(t,n):Iu(t)?Wu("MapSet").T(t,n):e.g?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:Ku(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=r,i=El;n&&(o=[r],i=Cl);var a=Proxy.revocable(o,i),u=a.revoke,l=a.proxy;return r.k=l,r.j=u,l}(t,n):Wu("ES5").J(t,n);return(n?n.A:Ku()).p.push(r),r}function ll(e){return ju(e)||Ru(22,e),function e(t){if(!Tu(t))return t;var n,r=t[bl],o=Nu(t);if(r){if(!r.P&&(r.i<4||!Wu("ES5").K(r)))return r.t;r.I=!0,n=sl(t,o),r.I=!1}else n=sl(t,o);return Au(n,(function(t,o){r&&Mu(r.t,t)===o||Du(n,t,e(o))})),3===o?new Set(n):n}(e)}function sl(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Bu(e)}function cl(){function e(e,t){var n=o[e];return n?n.enumerable=t:o[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[bl];return El.get(t,e)},set:function(t){var n=this[bl];El.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var o=e[t][bl];if(!o.P)switch(o.i){case 5:r(o)&&il(o);break;case 4:n(o)&&il(o)}}}function n(e){for(var t=e.t,n=e.k,r=xl(n),o=r.length-1;o>=0;o--){var i=r[o];if(i!==bl){var a=t[i];if(void 0===a&&!Lu(t,i))return!0;var u=n[i],l=u&&u[bl];if(l?l.t!==a:!Fu(u,a))return!0}}var s=!!t[bl];return r.length!==xl(t).length+(s?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r<t.length;r++)if(!t.hasOwnProperty(r))return!0;return!1}var o={};$u("ES5",{J:function(t,n){var r=Array.isArray(t),o=function(t,n){if(t){for(var r=Array(n.length),o=0;o<n.length;o++)Object.defineProperty(r,""+o,e(o,!0));return r}var i=kl(n);delete i[bl];for(var a=xl(i),u=0;u<a.length;u++){var l=a[u];i[l]=e(l,t||!!i[l].enumerable)}return Object.create(Object.getPrototypeOf(n),i)}(r,t),i={i:r?5:4,A:n?n.A:Ku(),P:!1,I:!1,R:{},l:n,t:t,k:o,o:null,O:!1,C:!1};return Object.defineProperty(o,bl,{value:i,writable:!0}),o},S:function(e,n,o){o?ju(n)&&n[bl].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var n=t[bl];if(n){var o=n.t,i=n.k,a=n.R,u=n.i;if(4===u)Au(i,(function(t){t!==bl&&(void 0!==o[t]||Lu(o,t)?a[t]||e(i[t]):(a[t]=!0,il(n)))})),Au(o,(function(e){void 0!==i[e]||Lu(i,e)||(a[e]=!1,il(n))}));else if(5===u){if(r(n)&&(il(n),a.length=!0),i.length<o.length)for(var l=i.length;l<o.length;l++)a[l]=!1;else for(var s=o.length;s<i.length;s++)a[s]=!0;for(var c=Math.min(i.length,o.length),f=0;f<c;f++)i.hasOwnProperty(f)||(a[f]=!0),void 0===a[f]&&e(i[f])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?n(e):r(e)}})}!function(e){mu=e}(su.useSyncExternalStoreWithSelector),function(e){e}(lu.useSyncExternalStore),_u=cu.unstable_batchedUpdates,fu=_u;var fl,dl,pl="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),hl="undefined"!=typeof Map,vl="undefined"!=typeof Set,ml="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,yl=pl?Symbol.for("immer-nothing"):((fl={})["immer-nothing"]=!0,fl),gl=pl?Symbol.for("immer-draftable"):"__$immer_draftable",bl=pl?Symbol.for("immer-state"):"__$immer_state",wl=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),xl="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,kl=Object.getOwnPropertyDescriptors||function(e){var t={};return xl(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},Sl={},El={get:function(e,t){if(t===bl)return e;var n=Uu(e);if(!Lu(n,t))return function(e,t,n){var r,o=ol(t,n);return o?"value"in o?o.value:null===(r=o.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!Tu(r)?r:r===rl(e.t,t)?(al(e),e.o[t]=ul(e.A.h,r,e)):r},has:function(e,t){return t in Uu(e)},ownKeys:function(e){return Reflect.ownKeys(Uu(e))},set:function(e,t,n){var r=ol(Uu(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=rl(Uu(e),t),i=null==o?void 0:o[bl];if(i&&i.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(Fu(n,o)&&(void 0!==n||Lu(e.t,t)))return!0;al(e),il(e)}return e.o[t]===n&&(void 0!==n||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==rl(e.t,t)||t in e.t?(e.R[t]=!1,al(e),il(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=Uu(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){Ru(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Ru(12)}},Cl={};Au(El,(function(e,t){Cl[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Cl.deleteProperty=function(e,t){return Cl.set.call(this,e,t,void 0)},Cl.set=function(e,t,n){return El.set.call(this,e[0],t,n,e[0])};var Ol=function(){function e(e){var t=this;this.g=ml,this.D=!0,this.produce=function(e,n,r){if("function"==typeof e&&"function"!=typeof n){var o=n;n=e;var i=t;return function(e){var t=this;void 0===e&&(e=o);for(var r=arguments.length,a=Array(r>1?r-1:0),u=1;u<r;u++)a[u-1]=arguments[u];return i.produce(e,(function(e){var r;return(r=n).call.apply(r,[t,e].concat(a))}))}}var a;if("function"!=typeof n&&Ru(6),void 0!==r&&"function"!=typeof r&&Ru(7),Tu(e)){var u=Xu(t),l=ul(t,e,void 0),s=!0;try{a=n(l),s=!1}finally{s?Zu(u):Gu(u)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(e){return Hu(u,r),Ju(e,u)}),(function(e){throw Zu(u),e})):(Hu(u,r),Ju(a,u))}if(!e||"object"!=typeof e){if(void 0===(a=n(e))&&(a=e),a===yl&&(a=void 0),t.D&&qu(a,!0),r){var c=[],f=[];Wu("Patches").M(e,a,c,f),r(c,f)}return a}Ru(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(o))}))};var r,o,i=t.produce(e,n,(function(e,t){r=e,o=t}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(e){return[e,r,o]})):[i,r,o]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){Tu(e)||Ru(8),ju(e)&&(e=ll(e));var t=Xu(this),n=ul(this,e,void 0);return n[bl].C=!0,Gu(t),n},t.finishDraft=function(e,t){var n=(e&&e[bl]).A;return Hu(n,t),Ju(void 0,n)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!ml&&Ru(20),this.g=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var o=Wu("Patches").$;return ju(e)?o(e,t):this.produce(e,(function(e){return o(e,t)}))},e}(),_l=new Ol,Pl=_l.produce,Rl=(_l.produceWithPatches.bind(_l),_l.setAutoFreeze.bind(_l),_l.setUseProxies.bind(_l),_l.applyPatches.bind(_l),_l.createDraft.bind(_l),_l.finishDraft.bind(_l),Pl);function jl(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Tl="function"===typeof Symbol&&Symbol.observable||"@@observable",Al=function(){return Math.random().toString(36).substring(7).split("").join(".")},Nl={INIT:"@@redux/INIT"+Al(),REPLACE:"@@redux/REPLACE"+Al(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Al()}};function Ll(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Ml(e,t,n){var r;if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(jl(0));if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(jl(1));return n(Ml)(e,t)}if("function"!==typeof e)throw new Error(jl(2));var o=e,i=t,a=[],u=a,l=!1;function s(){u===a&&(u=a.slice())}function c(){if(l)throw new Error(jl(3));return i}function f(e){if("function"!==typeof e)throw new Error(jl(4));if(l)throw new Error(jl(5));var t=!0;return s(),u.push(e),function(){if(t){if(l)throw new Error(jl(6));t=!1,s();var n=u.indexOf(e);u.splice(n,1),a=null}}}function d(e){if(!Ll(e))throw new Error(jl(7));if("undefined"===typeof e.type)throw new Error(jl(8));if(l)throw new Error(jl(9));try{l=!0,i=o(i,e)}finally{l=!1}for(var t=a=u,n=0;n<t.length;n++){(0,t[n])()}return e}return d({type:Nl.INIT}),(r={dispatch:d,subscribe:f,getState:c,replaceReducer:function(e){if("function"!==typeof e)throw new Error(jl(10));o=e,d({type:Nl.REPLACE})}})[Tl]=function(){var e,t=f;return(e={subscribe:function(e){if("object"!==typeof e||null===e)throw new Error(jl(11));function n(){e.next&&e.next(c())}return n(),{unsubscribe:t(n)}}})[Tl]=function(){return this},e},r}function Dl(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"===typeof e[o]&&(n[o]=e[o])}var i,a=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if("undefined"===typeof n(void 0,{type:Nl.INIT}))throw new Error(jl(12));if("undefined"===typeof n(void 0,{type:Nl.PROBE_UNKNOWN_ACTION()}))throw new Error(jl(13))}))}(n)}catch(u){i=u}return function(e,t){if(void 0===e&&(e={}),i)throw i;for(var r=!1,o={},u=0;u<a.length;u++){var l=a[u],s=n[l],c=e[l],f=s(c,t);if("undefined"===typeof f){t&&t.type;throw new Error(jl(14))}o[l]=f,r=r||f!==c}return(r=r||a.length!==Object.keys(e).length)?o:e}}function Fl(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function zl(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(jl(15))},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return r=Fl.apply(void 0,i)(n.dispatch),Kt(Kt({},n),{},{dispatch:r})}}}function Il(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"===typeof o?o(n,r,e):t(o)}}}}var Ul=Il();Ul.withExtraArgument=Il;var Bl=Ul,ql=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Vl=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(u){i=[6,u],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}},Ql=function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e},Wl=Object.defineProperty,$l=Object.defineProperties,Kl=Object.getOwnPropertyDescriptors,Hl=Object.getOwnPropertySymbols,Zl=Object.prototype.hasOwnProperty,Gl=Object.prototype.propertyIsEnumerable,Xl=function(e,t,n){return t in e?Wl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},Yl=function(e,t){for(var n in t||(t={}))Zl.call(t,n)&&Xl(e,n,t[n]);if(Hl)for(var r=0,o=Hl(t);r<o.length;r++){n=o[r];Gl.call(t,n)&&Xl(e,n,t[n])}return e},Jl=function(e,t){return $l(e,Kl(t))},es=function(e,t,n){return new Promise((function(r,o){var i=function(e){try{u(n.next(e))}catch(t){o(t)}},a=function(e){try{u(n.throw(e))}catch(t){o(t)}},u=function(e){return e.done?r(e.value):Promise.resolve(e.value).then(i,a)};u((n=n.apply(e,t)).next())}))},ts="undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"===typeof arguments[0]?Fl:Fl.apply(null,arguments)};"undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function ns(e){if("object"!==typeof e||null===e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return t===n}var rs=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=e.apply(this,n)||this;return Object.setPrototypeOf(o,t.prototype),o}return ql(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,Ql([void 0],e[0].concat(this)))):new(t.bind.apply(t,Ql([void 0],e.concat(this))))},t}(Array);function os(e){return Tu(e)?Rl(e,(function(){})):e}function is(){return function(e){return function(e){void 0===e&&(e={});var t=e.thunk,n=void 0===t||t,r=(e.immutableCheck,e.serializableCheck,new rs);n&&(!function(e){return"boolean"===typeof e}(n)?r.push(Bl.withExtraArgument(n.extraArgument)):r.push(Bl));0;return r}(e)}}var as=!0;function us(e,t){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(t){var o=t.apply(void 0,n);if(!o)throw new Error("prepareAction did not return an object");return Yl(Yl({type:e,payload:o.payload},"meta"in o&&{meta:o.meta}),"error"in o&&{error:o.error})}return{type:e,payload:n[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(t){return t.type===e},n}function ls(e){var t,n={},r=[],o={addCase:function(e,t){var r="string"===typeof e?e:e.type;if(r in n)throw new Error("addCase cannot be called with two reducers for the same action type");return n[r]=t,o},addMatcher:function(e,t){return r.push({matcher:e,reducer:t}),o},addDefaultCase:function(e){return t=e,o}};return e(o),[n,r,t]}function ss(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");var n,r="function"==typeof e.initialState?e.initialState:os(e.initialState),o=e.reducers||{},i=Object.keys(o),a={},u={},l={};function s(){var t="function"===typeof e.extraReducers?ls(e.extraReducers):[e.extraReducers],n=t[0],o=void 0===n?{}:n,i=t[1],a=void 0===i?[]:i,l=t[2],s=void 0===l?void 0:l,c=Yl(Yl({},o),u);return function(e,t,n,r){void 0===n&&(n=[]);var o,i="function"===typeof t?ls(t):[t,n,r],a=i[0],u=i[1],l=i[2];if(function(e){return"function"===typeof e}(e))o=function(){return os(e())};else{var s=os(e);o=function(){return s}}function c(e,t){void 0===e&&(e=o());var n=Ql([a[t.type]],u.filter((function(e){return(0,e.matcher)(t)})).map((function(e){return e.reducer})));return 0===n.filter((function(e){return!!e})).length&&(n=[l]),n.reduce((function(e,n){if(n){var r;if(ju(e))return void 0===(r=n(e,t))?e:r;if(Tu(e))return Rl(e,(function(e){return n(e,t)}));if(void 0===(r=n(e,t))){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return e}),e)}return c.getInitialState=o,c}(r,(function(e){for(var t in c)e.addCase(t,c[t]);for(var n=0,r=a;n<r.length;n++){var o=r[n];e.addMatcher(o.matcher,o.reducer)}s&&e.addDefaultCase(s)}))}return i.forEach((function(e){var n,r,i=o[e],s=function(e,t){return e+"/"+t}(t,e);"reducer"in i?(n=i.reducer,r=i.prepare):n=i,a[e]=n,u[s]=n,l[e]=r?us(s,r):us(s)})),{name:t,reducer:function(e,t){return n||(n=s()),n(e,t)},actions:l,caseReducers:a,getInitialState:function(){return n||(n=s()),n.getInitialState()}}}var cs=function(e){void 0===e&&(e=21);for(var t="",n=e;n--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t},fs=["name","message","stack","code"],ds=function(e,t){this.payload=e,this.meta=t},ps=function(e,t){this.payload=e,this.meta=t},hs=function(e){if("object"===typeof e&&null!==e){for(var t={},n=0,r=fs;n<r.length;n++){var o=r[n];"string"===typeof e[o]&&(t[o]=e[o])}return t}return{message:String(e)}};!function(){function e(e,t,n){var r=us(e+"/fulfilled",(function(e,t,n,r){return{payload:e,meta:Jl(Yl({},r||{}),{arg:n,requestId:t,requestStatus:"fulfilled"})}})),o=us(e+"/pending",(function(e,t,n){return{payload:void 0,meta:Jl(Yl({},n||{}),{arg:t,requestId:e,requestStatus:"pending"})}})),i=us(e+"/rejected",(function(e,t,r,o,i){return{payload:o,error:(n&&n.serializeError||hs)(e||"Rejected"),meta:Jl(Yl({},i||{}),{arg:r,requestId:t,rejectedWithValue:!!o,requestStatus:"rejected",aborted:"AbortError"===(null==e?void 0:e.name),condition:"ConditionError"===(null==e?void 0:e.name)})}})),a="undefined"!==typeof AbortController?AbortController:function(){function e(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return e.prototype.abort=function(){0},e}();return Object.assign((function(e){return function(u,l,s){var c,f=(null==n?void 0:n.idGenerator)?n.idGenerator(e):cs(),d=new a;function p(e){c=e,d.abort()}var h=function(){return es(this,null,(function(){var a,h,v,m,y,g;return Vl(this,(function(b){switch(b.label){case 0:return b.trys.push([0,4,,5]),m=null==(a=null==n?void 0:n.condition)?void 0:a.call(n,e,{getState:l,extra:s}),null===(w=m)||"object"!==typeof w||"function"!==typeof w.then?[3,2]:[4,m];case 1:m=b.sent(),b.label=2;case 2:if(!1===m||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return!0,y=new Promise((function(e,t){return d.signal.addEventListener("abort",(function(){return t({name:"AbortError",message:c||"Aborted"})}))})),u(o(f,e,null==(h=null==n?void 0:n.getPendingMeta)?void 0:h.call(n,{requestId:f,arg:e},{getState:l,extra:s}))),[4,Promise.race([y,Promise.resolve(t(e,{dispatch:u,getState:l,extra:s,requestId:f,signal:d.signal,abort:p,rejectWithValue:function(e,t){return new ds(e,t)},fulfillWithValue:function(e,t){return new ps(e,t)}})).then((function(t){if(t instanceof ds)throw t;return t instanceof ps?r(t.payload,f,e,t.meta):r(t,f,e)}))])];case 3:return v=b.sent(),[3,5];case 4:return g=b.sent(),v=g instanceof ds?i(null,f,e,g.payload,g.meta):i(g,f,e),[3,5];case 5:return n&&!n.dispatchConditionRejection&&i.match(v)&&v.meta.condition||u(v),[2,v]}var w}))}))}();return Object.assign(h,{abort:p,requestId:f,arg:e,unwrap:function(){return h.then(vs)}})}}),{pending:o,rejected:i,fulfilled:r,typePrefix:e})}e.withTypes=function(){return e}}();function vs(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}Object.assign;var ms="listenerMiddleware";us(ms+"/add"),us(ms+"/removeAll"),us(ms+"/remove");"function"===typeof queueMicrotask&&queueMicrotask.bind("undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:globalThis);var ys,gs=function(e){return function(t){setTimeout(t,e)}};"undefined"!==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:gs(10);cl();var bs=ss({name:"Login",initialState:{value:!1},reducers:{Toggle_Login:function(e){e.value=!e.value}}}),ws=bs.actions.Toggle_Login,xs=bs.reducer,ks=ss({name:"Login",initialState:{value:{email:"",id:0,username:""}},reducers:{SetUser:function(e,t){e.value={email:t.payload.email,id:t.payload.id,username:t.payload.username}},UnsetUser:function(e){e.value={email:"",id:0,username:""}}}}),Ss=ks.actions,Es=Ss.SetUser,Cs=Ss.UnsetUser,Os=ks.reducer;function _s(){var e=Pu(),t=bu((function(e){return e.logged_in.value})),n=bu((function(e){return e.logged_in_user.value})),r=kt();return t?(0,Ht.jsxs)("div",{style:Wt.flex_row,children:[(0,Ht.jsxs)("p",{style:Wt.text_small,children:["Logged in as ",n.username]}),(0,Ht.jsx)("div",{style:{margin:4}}),(0,Ht.jsx)(uu,{style:Wt.button_red,variant:"contained",onClick:function(){console.log("Logged out..."),e(ws()),e(Cs()),localStorage.setItem("token","")},children:"Logout"})]}):(0,Ht.jsxs)("div",{style:Wt.flex_row,children:[(0,Ht.jsx)("p",{style:Wt.text_small,children:"Not Logged in"}),(0,Ht.jsx)("div",{style:{margin:4}}),(0,Ht.jsx)(uu,{style:Wt.button_green,variant:"contained",onClick:function(){r("/Login")},children:"Login"})]})}function Ps(e){var t=kt();return(0,Ht.jsx)(uu,{variant:"contained",style:{backgroundColor:"#005997",borderRadius:16,width:e.size+"px",height:e.size+"px",margin:4,alignContent:"center",alignItems:"center"},onClick:function(){return t("/")},children:(0,Ht.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:e.size-4+"px",height:e.size-4+"px",viewBox:"0 0 24 24",strokeWidth:"2",stroke:e.color,fill:"none",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,Ht.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,Ht.jsx)("path",{d:"M5 12l-2 0l9 -9l9 9l-2 0"}),(0,Ht.jsx)("path",{d:"M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7"}),(0,Ht.jsx)("path",{d:"M10 12h4v4h-4z"})]})})}function Rs(e){var t=kt();return(0,Ht.jsx)(uu,{variant:"contained",style:{backgroundColor:"#005997",borderRadius:16,width:e.size+"px",height:e.size+"px",margin:4,alignContent:"center",alignItems:"center"},onClick:function(){return t("/User")},children:(0,Ht.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:e.size,height:e.size,viewBox:"0 0 24 24",strokeWidth:"2",stroke:e.color,fill:"none",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,Ht.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,Ht.jsx)("path",{d:"M12 7m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}),(0,Ht.jsx)("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2"})]})})}function js(e,t){return function(){return e.apply(t,arguments)}}var Ts,As=Object.prototype.toString,Ns=Object.getPrototypeOf,Ls=(Ts=Object.create(null),function(e){var t=As.call(e);return Ts[t]||(Ts[t]=t.slice(8,-1).toLowerCase())}),Ms=function(e){return e=e.toLowerCase(),function(t){return Ls(t)===e}},Ds=function(e){return function(t){return typeof t===e}},Fs=Array.isArray,zs=Ds("undefined");var Is=Ms("ArrayBuffer");var Us=Ds("string"),Bs=Ds("function"),qs=Ds("number"),Vs=function(e){return null!==e&&"object"===typeof e},Qs=function(e){if("object"!==Ls(e))return!1;var t=Ns(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Ws=Ms("Date"),$s=Ms("File"),Ks=Ms("Blob"),Hs=Ms("FileList"),Zs=Ms("URLSearchParams");function Gs(e,t){var n,r,o=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).allOwnKeys,i=void 0!==o&&o;if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),Fs(e))for(n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else{var a,u=i?Object.getOwnPropertyNames(e):Object.keys(e),l=u.length;for(n=0;n<l;n++)a=u[n],t.call(null,e[a],a,e)}}function Xs(e,t){t=t.toLowerCase();for(var n,r=Object.keys(e),o=r.length;o-- >0;)if(t===(n=r[o]).toLowerCase())return n;return null}var Ys="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global,Js=function(e){return!zs(e)&&e!==Ys};var ec,tc=(ec="undefined"!==typeof Uint8Array&&Ns(Uint8Array),function(e){return ec&&e instanceof ec}),nc=Ms("HTMLFormElement"),rc=function(e){var t=Object.prototype.hasOwnProperty;return function(e,n){return t.call(e,n)}}(),oc=Ms("RegExp"),ic=function(e,t){var n=Object.getOwnPropertyDescriptors(e),r={};Gs(n,(function(n,o){!1!==t(n,o,e)&&(r[o]=n)})),Object.defineProperties(e,r)},ac="abcdefghijklmnopqrstuvwxyz",uc="0123456789",lc={DIGIT:uc,ALPHA:ac,ALPHA_DIGIT:ac+ac.toUpperCase()+uc};var sc={isArray:Fs,isArrayBuffer:Is,isBuffer:function(e){return null!==e&&!zs(e)&&null!==e.constructor&&!zs(e.constructor)&&Bs(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"===typeof FormData&&e instanceof FormData||As.call(e)===t||Bs(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Is(e.buffer)},isString:Us,isNumber:qs,isBoolean:function(e){return!0===e||!1===e},isObject:Vs,isPlainObject:Qs,isUndefined:zs,isDate:Ws,isFile:$s,isBlob:Ks,isRegExp:oc,isFunction:Bs,isStream:function(e){return Vs(e)&&Bs(e.pipe)},isURLSearchParams:Zs,isTypedArray:tc,isFileList:Hs,forEach:Gs,merge:function e(){for(var t=(Js(this)&&this||{}).caseless,n={},r=function(r,o){var i=t&&Xs(n,o)||o;Qs(n[i])&&Qs(r)?n[i]=e(n[i],r):Qs(r)?n[i]=e({},r):Fs(r)?n[i]=r.slice():n[i]=r},o=0,i=arguments.length;o<i;o++)arguments[o]&&Gs(arguments[o],r);return n},extend:function(e,t,n){return Gs(t,(function(t,r){n&&Bs(t)?e[r]=js(t,n):e[r]=t}),{allOwnKeys:(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}).allOwnKeys}),e},trim:function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n,r){var o,i,a,u={};if(t=t||{},null==e)return t;do{for(i=(o=Object.getOwnPropertyNames(e)).length;i-- >0;)a=o[i],r&&!r(a,e,t)||u[a]||(t[a]=e[a],u[a]=!0);e=!1!==n&&Ns(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:Ls,kindOfTest:Ms,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return-1!==r&&r===n},toArray:function(e){if(!e)return null;if(Fs(e))return e;var t=e.length;if(!qs(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},forEachEntry:function(e,t){for(var n,r=(e&&e[Symbol.iterator]).call(e);(n=r.next())&&!n.done;){var o=n.value;t.call(e,o[0],o[1])}},matchAll:function(e,t){for(var n,r=[];null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:nc,hasOwnProperty:rc,hasOwnProp:rc,reduceDescriptors:ic,freezeMethods:function(e){ic(e,(function(t,n){if(Bs(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;var r=e[n];Bs(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=function(){throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:function(e,t){var n={},r=function(e){e.forEach((function(e){n[e]=!0}))};return Fs(e)?r(e):r(String(e).split(t)),n},toCamelCase:function(e){return e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n}))},noop:function(){},toFiniteNumber:function(e,t){return e=+e,Number.isFinite(e)?e:t},findKey:Xs,global:Ys,isContextDefined:Js,ALPHABET:lc,generateString:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:lc.ALPHA_DIGIT,n="",r=t.length;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&Bs(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:function(e){var t=new Array(10);return function e(n,r){if(Vs(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[r]=n;var o=Fs(n)?[]:{};return Gs(n,(function(t,n){var i=e(t,r+1);!zs(i)&&(o[n]=i)})),t[r]=void 0,o}}return n}(e,0)}};function cc(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}sc.inherits(cc,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:sc.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var fc=cc.prototype,dc={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((function(e){dc[e]={value:e}})),Object.defineProperties(cc,dc),Object.defineProperty(fc,"isAxiosError",{value:!0}),cc.from=function(e,t,n,r,o,i){var a=Object.create(fc);return sc.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(function(e){return"isAxiosError"!==e})),cc.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};var pc=cc,hc=null;function vc(e){return sc.isPlainObject(e)||sc.isArray(e)}function mc(e){return sc.endsWith(e,"[]")?e.slice(0,-2):e}function yc(e,t,n){return e?e.concat(t).map((function(e,t){return e=mc(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}var gc=sc.toFlatObject(sc,{},null,(function(e){return/^is[A-Z]/.test(e)}));var bc=function(e,t,n){if(!sc.isObject(e))throw new TypeError("target must be an object");t=t||new(hc||FormData);var r=(n=sc.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!sc.isUndefined(t[e])}))).metaTokens,o=n.visitor||s,i=n.dots,a=n.indexes,u=(n.Blob||"undefined"!==typeof Blob&&Blob)&&sc.isSpecCompliantForm(t);if(!sc.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(sc.isDate(e))return e.toISOString();if(!u&&sc.isBlob(e))throw new pc("Blob is not supported. Use a Buffer instead.");return sc.isArrayBuffer(e)||sc.isTypedArray(e)?u&&"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}function s(e,n,o){var u=e;if(e&&!o&&"object"===typeof e)if(sc.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(sc.isArray(e)&&function(e){return sc.isArray(e)&&!e.some(vc)}(e)||(sc.isFileList(e)||sc.endsWith(n,"[]"))&&(u=sc.toArray(e)))return n=mc(n),u.forEach((function(e,r){!sc.isUndefined(e)&&null!==e&&t.append(!0===a?yc([n],r,i):null===a?n:n+"[]",l(e))})),!1;return!!vc(e)||(t.append(yc(o,n,i),l(e)),!1)}var c=[],f=Object.assign(gc,{defaultVisitor:s,convertValue:l,isVisitable:vc});if(!sc.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!sc.isUndefined(n)){if(-1!==c.indexOf(n))throw Error("Circular reference detected in "+r.join("."));c.push(n),sc.forEach(n,(function(n,i){!0===(!(sc.isUndefined(n)||null===n)&&o.call(t,n,sc.isString(i)?i.trim():i,r,f))&&e(n,r?r.concat(i):[i])})),c.pop()}}(e),t};function wc(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function xc(e,t){this._pairs=[],e&&bc(e,this,t)}var kc=xc.prototype;kc.append=function(e,t){this._pairs.push([e,t])},kc.toString=function(e){var t=e?function(t){return e.call(this,t,wc)}:wc;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var Sc=xc;function Ec(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Cc(e,t,n){if(!t)return e;var r,o=n&&n.encode||Ec,i=n&&n.serialize;if(r=i?i(t,n):sc.isURLSearchParams(t)?t.toString():new Sc(t,n).toString(o)){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}var Oc=function(){function e(){d(this,e),this.handlers=[]}return m(e,[{key:"use",value:function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}},{key:"eject",value:function(e){this.handlers[e]&&(this.handlers[e]=null)}},{key:"clear",value:function(){this.handlers&&(this.handlers=[])}},{key:"forEach",value:function(e){sc.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}]),e}(),_c=Oc,Pc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Rc="undefined"!==typeof URLSearchParams?URLSearchParams:Sc,jc="undefined"!==typeof FormData?FormData:null,Tc=function(){var e;return("undefined"===typeof navigator||"ReactNative"!==(e=navigator.product)&&"NativeScript"!==e&&"NS"!==e)&&("undefined"!==typeof window&&"undefined"!==typeof document)}(),Ac="undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts,Nc={isBrowser:!0,classes:{URLSearchParams:Rc,FormData:jc,Blob:Blob},isStandardBrowserEnv:Tc,isStandardBrowserWebWorkerEnv:Ac,protocols:["http","https","file","blob","url","data"]};var Lc=function(e){function t(e,n,r,o){var i=e[o++],a=Number.isFinite(+i),u=o>=e.length;return i=!i&&sc.isArray(r)?r.length:i,u?(sc.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a):(r[i]&&sc.isObject(r[i])||(r[i]=[]),t(e,n,r[i],o)&&sc.isArray(r[i])&&(r[i]=function(e){var t,n,r={},o=Object.keys(e),i=o.length;for(t=0;t<i;t++)r[n=o[t]]=e[n];return r}(r[i])),!a)}if(sc.isFormData(e)&&sc.isFunction(e.entries)){var n={};return sc.forEachEntry(e,(function(e,r){t(function(e){return sc.matchAll(/\w+|\[(\w*)]/g,e).map((function(e){return"[]"===e[0]?"":e[1]||e[0]}))}(e),r,n,0)})),n}return null},Mc={"Content-Type":void 0};var Dc={transitional:Pc,adapter:["xhr","http"],transformRequest:[function(e,t){var n,r=t.getContentType()||"",o=r.indexOf("application/json")>-1,i=sc.isObject(e);if(i&&sc.isHTMLForm(e)&&(e=new FormData(e)),sc.isFormData(e))return o&&o?JSON.stringify(Lc(e)):e;if(sc.isArrayBuffer(e)||sc.isBuffer(e)||sc.isStream(e)||sc.isFile(e)||sc.isBlob(e))return e;if(sc.isArrayBufferView(e))return e.buffer;if(sc.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return bc(e,new Nc.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return Nc.isNode&&sc.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((n=sc.isFileList(e))||r.indexOf("multipart/form-data")>-1){var a=this.env&&this.env.FormData;return bc(n?{"files[]":e}:e,a&&new a,this.formSerializer)}}return i||o?(t.setContentType("application/json",!1),function(e,t,n){if(sc.isString(e))try{return(t||JSON.parse)(e),sc.trim(e)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||Dc.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&sc.isString(e)&&(n&&!this.responseType||r)){var o=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(i){if(o){if("SyntaxError"===i.name)throw pc.from(i,pc.ERR_BAD_RESPONSE,this,null,this.response);throw i}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Nc.classes.FormData,Blob:Nc.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};sc.forEach(["delete","get","head"],(function(e){Dc.headers[e]={}})),sc.forEach(["post","put","patch"],(function(e){Dc.headers[e]=sc.merge(Mc)}));var Fc=Dc,zc=sc.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ic=Symbol("internals");function Uc(e){return e&&String(e).trim().toLowerCase()}function Bc(e){return!1===e||null==e?e:sc.isArray(e)?e.map(Bc):String(e)}function qc(e,t,n,r,o){return sc.isFunction(r)?r.call(this,t,n):(o&&(t=n),sc.isString(t)?sc.isString(r)?-1!==t.indexOf(r):sc.isRegExp(r)?r.test(t):void 0:void 0)}var Vc=function(e,t){function n(e){d(this,n),e&&this.set(e)}return m(n,[{key:"set",value:function(e,t,n){var r=this;function o(e,t,n){var o=Uc(t);if(!o)throw new Error("header name must be a non-empty string");var i=sc.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=Bc(e))}var i=function(e,t){return sc.forEach(e,(function(e,n){return o(e,n,t)}))};return sc.isPlainObject(e)||e instanceof this.constructor?i(e,t):sc.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z]+$/.test(e.trim())?i(function(e){var t,n,r,o={};return e&&e.split("\n").forEach((function(e){r=e.indexOf(":"),t=e.substring(0,r).trim().toLowerCase(),n=e.substring(r+1).trim(),!t||o[t]&&zc[t]||("set-cookie"===t?o[t]?o[t].push(n):o[t]=[n]:o[t]=o[t]?o[t]+", "+n:n)})),o}(e),t):null!=e&&o(t,e,n),this}},{key:"get",value:function(e,t){if(e=Uc(e)){var n=sc.findKey(this,e);if(n){var r=this[n];if(!t)return r;if(!0===t)return function(e){for(var t,n=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;t=r.exec(e);)n[t[1]]=t[2];return n}(r);if(sc.isFunction(t))return t.call(this,r,n);if(sc.isRegExp(t))return t.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}},{key:"has",value:function(e,t){if(e=Uc(e)){var n=sc.findKey(this,e);return!(!n||void 0===this[n]||t&&!qc(0,this[n],n,t))}return!1}},{key:"delete",value:function(e,t){var n=this,r=!1;function o(e){if(e=Uc(e)){var o=sc.findKey(n,e);!o||t&&!qc(0,n[o],o,t)||(delete n[o],r=!0)}}return sc.isArray(e)?e.forEach(o):o(e),r}},{key:"clear",value:function(e){for(var t=Object.keys(this),n=t.length,r=!1;n--;){var o=t[n];e&&!qc(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}},{key:"normalize",value:function(e){var t=this,n={};return sc.forEach(this,(function(r,o){var i=sc.findKey(n,o);if(i)return t[i]=Bc(r),void delete t[o];var a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n}))}(o):String(o).trim();a!==o&&delete t[o],t[a]=Bc(r),n[a]=!0})),this}},{key:"concat",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=this.constructor).concat.apply(e,[this].concat(n))}},{key:"toJSON",value:function(e){var t=Object.create(null);return sc.forEach(this,(function(n,r){null!=n&&!1!==n&&(t[r]=e&&sc.isArray(n)?n.join(", "):n)})),t}},{key:Symbol.iterator,value:function(){return Object.entries(this.toJSON())[Symbol.iterator]()}},{key:"toString",value:function(){return Object.entries(this.toJSON()).map((function(e){var t=s(e,2);return t[0]+": "+t[1]})).join("\n")}},{key:Symbol.toStringTag,get:function(){return"AxiosHeaders"}}],[{key:"from",value:function(e){return e instanceof this?e:new this(e)}},{key:"concat",value:function(e){for(var t=new this(e),n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.forEach((function(e){return t.set(e)})),t}},{key:"accessor",value:function(e){var t=(this[Ic]=this[Ic]={accessors:{}}).accessors,n=this.prototype;function r(e){var r=Uc(e);t[r]||(!function(e,t){var n=sc.toCamelCase(" "+t);["get","set","has"].forEach((function(r){Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return sc.isArray(e)?e.forEach(r):r(e),this}}]),n}();Vc.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),sc.freezeMethods(Vc.prototype),sc.freezeMethods(Vc);var Qc=Vc;function Wc(e,t){var n=this||Fc,r=t||n,o=Qc.from(r.headers),i=r.data;return sc.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function $c(e){return!(!e||!e.__CANCEL__)}function Kc(e,t,n){pc.call(this,null==e?"canceled":e,pc.ERR_CANCELED,t,n),this.name="CanceledError"}sc.inherits(Kc,pc,{__CANCEL__:!0});var Hc=Kc;var Zc=Nc.isStandardBrowserEnv?{write:function(e,t,n,r,o,i){var a=[];a.push(e+"="+encodeURIComponent(t)),sc.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),sc.isString(r)&&a.push("path="+r),sc.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function Gc(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var Xc=Nc.isStandardBrowserEnv?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){var n=sc.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0};var Yc=function(e,t){e=e||10;var n,r=new Array(e),o=new Array(e),i=0,a=0;return t=void 0!==t?t:1e3,function(u){var l=Date.now(),s=o[a];n||(n=l),r[i]=u,o[i]=l;for(var c=a,f=0;c!==i;)f+=r[c++],c%=e;if((i=(i+1)%e)===a&&(a=(a+1)%e),!(l-n<t)){var d=s&&l-s;return d?Math.round(1e3*f/d):void 0}}};function Jc(e,t){var n=0,r=Yc(50,250);return function(o){var i=o.loaded,a=o.lengthComputable?o.total:void 0,u=i-n,l=r(u);n=i;var s={loaded:i,total:a,progress:a?i/a:void 0,bytes:u,rate:l||void 0,estimated:l&&a&&i<=a?(a-i)/l:void 0,event:o};s[t?"download":"upload"]=!0,e(s)}}var ef="undefined"!==typeof XMLHttpRequest,tf={http:hc,xhr:ef&&function(e){return new Promise((function(t,n){var r,o=e.data,i=Qc.from(e.headers).normalize(),a=e.responseType;function u(){e.cancelToken&&e.cancelToken.unsubscribe(r),e.signal&&e.signal.removeEventListener("abort",r)}sc.isFormData(o)&&(Nc.isStandardBrowserEnv||Nc.isStandardBrowserWebWorkerEnv)&&i.setContentType(!1);var l=new XMLHttpRequest;if(e.auth){var s=e.auth.username||"",c=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(s+":"+c))}var f=Gc(e.baseURL,e.url);function d(){if(l){var r=Qc.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders());!function(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new pc("Request failed with status code "+n.status,[pc.ERR_BAD_REQUEST,pc.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),u()}),(function(e){n(e),u()}),{data:a&&"text"!==a&&"json"!==a?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:r,config:e,request:l}),l=null}}if(l.open(e.method.toUpperCase(),Cc(f,e.params,e.paramsSerializer),!0),l.timeout=e.timeout,"onloadend"in l?l.onloadend=d:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(d)},l.onabort=function(){l&&(n(new pc("Request aborted",pc.ECONNABORTED,e,l)),l=null)},l.onerror=function(){n(new pc("Network Error",pc.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||Pc;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new pc(t,r.clarifyTimeoutError?pc.ETIMEDOUT:pc.ECONNABORTED,e,l)),l=null},Nc.isStandardBrowserEnv){var p=(e.withCredentials||Xc(f))&&e.xsrfCookieName&&Zc.read(e.xsrfCookieName);p&&i.set(e.xsrfHeaderName,p)}void 0===o&&i.setContentType(null),"setRequestHeader"in l&&sc.forEach(i.toJSON(),(function(e,t){l.setRequestHeader(t,e)})),sc.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),a&&"json"!==a&&(l.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&l.addEventListener("progress",Jc(e.onDownloadProgress,!0)),"function"===typeof e.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",Jc(e.onUploadProgress)),(e.cancelToken||e.signal)&&(r=function(t){l&&(n(!t||t.type?new Hc(null,e,l):t),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(r),e.signal&&(e.signal.aborted?r():e.signal.addEventListener("abort",r)));var h=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(f);h&&-1===Nc.protocols.indexOf(h)?n(new pc("Unsupported protocol "+h+":",pc.ERR_BAD_REQUEST,e)):l.send(o||null)}))}};sc.forEach(tf,(function(e,t){if(e){try{Object.defineProperty(e,"name",{value:t})}catch(n){}Object.defineProperty(e,"adapterName",{value:t})}}));var nf={getAdapter:function(e){for(var t,n,r=(e=sc.isArray(e)?e:[e]).length,o=0;o<r&&(t=e[o],!(n=sc.isString(t)?tf[t.toLowerCase()]:t));o++);if(!n){if(!1===n)throw new pc("Adapter ".concat(t," is not supported by the environment"),"ERR_NOT_SUPPORT");throw new Error(sc.hasOwnProp(tf,t)?"Adapter '".concat(t,"' is not available in the build"):"Unknown adapter '".concat(t,"'"))}if(!sc.isFunction(n))throw new TypeError("adapter is not a function");return n},adapters:tf};function rf(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Hc(null,e)}function of(e){return rf(e),e.headers=Qc.from(e.headers),e.data=Wc.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),nf.getAdapter(e.adapter||Fc.adapter)(e).then((function(t){return rf(e),t.data=Wc.call(e,e.transformResponse,t),t.headers=Qc.from(t.headers),t}),(function(t){return $c(t)||(rf(e),t&&t.response&&(t.response.data=Wc.call(e,e.transformResponse,t.response),t.response.headers=Qc.from(t.response.headers))),Promise.reject(t)}))}var af=function(e){return e instanceof Qc?e.toJSON():e};function uf(e,t){t=t||{};var n={};function r(e,t,n){return sc.isPlainObject(e)&&sc.isPlainObject(t)?sc.merge.call({caseless:n},e,t):sc.isPlainObject(t)?sc.merge({},t):sc.isArray(t)?t.slice():t}function o(e,t,n){return sc.isUndefined(t)?sc.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!sc.isUndefined(t))return r(void 0,t)}function a(e,t){return sc.isUndefined(t)?sc.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function u(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}var l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:u,headers:function(e,t){return o(af(e),af(t),!0)}};return sc.forEach(Object.keys(e).concat(Object.keys(t)),(function(r){var i=l[r]||o,a=i(e[r],t[r],r);sc.isUndefined(a)&&i!==u||(n[r]=a)})),n}var lf="1.3.3",sf={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){sf[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var cf={};sf.transitional=function(e,t,n){function r(e,t){return"[Axios v"+lf+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,o,i){if(!1===e)throw new pc(r(o," has been removed"+(t?" in "+t:"")),pc.ERR_DEPRECATED);return t&&!cf[o]&&(cf[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};var ff={assertOptions:function(e,t,n){if("object"!==typeof e)throw new pc("options must be an object",pc.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=t[i];if(a){var u=e[i],l=void 0===u||a(u,i,e);if(!0!==l)throw new pc("option "+i+" must be "+l,pc.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new pc("Unknown option "+i,pc.ERR_BAD_OPTION)}},validators:sf},df=ff.validators,pf=function(){function e(t){d(this,e),this.defaults=t,this.interceptors={request:new _c,response:new _c}}return m(e,[{key:"request",value:function(e,t){"string"===typeof e?(t=t||{}).url=e:t=e||{};var n,r=t=uf(this.defaults,t),o=r.transitional,i=r.paramsSerializer,a=r.headers;void 0!==o&&ff.assertOptions(o,{silentJSONParsing:df.transitional(df.boolean),forcedJSONParsing:df.transitional(df.boolean),clarifyTimeoutError:df.transitional(df.boolean)},!1),void 0!==i&&ff.assertOptions(i,{encode:df.function,serialize:df.function},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase(),(n=a&&sc.merge(a.common,a[t.method]))&&sc.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete a[e]})),t.headers=Qc.concat(n,a);var u=[],l=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(l=l&&e.synchronous,u.unshift(e.fulfilled,e.rejected))}));var s,c=[];this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));var f,d=0;if(!l){var p=[of.bind(this),void 0];for(p.unshift.apply(p,u),p.push.apply(p,c),f=p.length,s=Promise.resolve(t);d<f;)s=s.then(p[d++],p[d++]);return s}f=u.length;var h=t;for(d=0;d<f;){var v=u[d++],m=u[d++];try{h=v(h)}catch(y){m.call(this,y);break}}try{s=of.call(this,h)}catch(y){return Promise.reject(y)}for(d=0,f=c.length;d<f;)s=s.then(c[d++],c[d++]);return s}},{key:"getUri",value:function(e){return Cc(Gc((e=uf(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}]),e}();sc.forEach(["delete","get","head","options"],(function(e){pf.prototype[e]=function(t,n){return this.request(uf(n||{},{method:e,url:t,data:(n||{}).data}))}})),sc.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(uf(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}pf.prototype[e]=t(),pf.prototype[e+"Form"]=t(!0)}));var hf=pf,vf=function(){function e(t){if(d(this,e),"function"!==typeof t)throw new TypeError("executor must be a function.");var n;this.promise=new Promise((function(e){n=e}));var r=this;this.promise.then((function(e){if(r._listeners){for(var t=r._listeners.length;t-- >0;)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},t((function(e,t,o){r.reason||(r.reason=new Hc(e,t,o),n(r.reason))}))}return m(e,[{key:"throwIfRequested",value:function(){if(this.reason)throw this.reason}},{key:"subscribe",value:function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}},{key:"unsubscribe",value:function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}}}],[{key:"source",value:function(){var t,n=new e((function(e){t=e}));return{token:n,cancel:t}}}]),e}(),mf=vf;var yf={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(yf).forEach((function(e){var t=s(e,2),n=t[0],r=t[1];yf[r]=n}));var gf=yf;var bf=function e(t){var n=new hf(t),r=js(hf.prototype.request,n);return sc.extend(r,hf.prototype,n,{allOwnKeys:!0}),sc.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(uf(t,n))},r}(Fc);bf.Axios=hf,bf.CanceledError=Hc,bf.CancelToken=mf,bf.isCancel=$c,bf.VERSION=lf,bf.toFormData=bc,bf.AxiosError=pc,bf.Cancel=bf.CanceledError,bf.all=function(e){return Promise.all(e)},bf.spread=function(e){return function(t){return e.apply(null,t)}},bf.isAxiosError=function(e){return sc.isObject(e)&&!0===e.isAxiosError},bf.mergeConfig=uf,bf.AxiosHeaders=Qc,bf.formToJSON=function(e){return Lc(sc.isHTMLForm(e)?new FormData(e):e)},bf.HttpStatusCode=gf,bf.default=bf;var wf=bf.create({baseURL:"https://keannu126.pythonanywhere.com"});function xf(){var e=JSON.parse(localStorage.getItem("token")||"{}");return wf.get("/api/v1/notes/",{headers:{Authorization:"Token "+e}}).then((function(e){return e.data}))}function kf(){return wf.get("/api/v1/public_notes/").then((function(e){return e.data}))}function Sf(e){var t=JSON.parse(localStorage.getItem("token")||"{}");return wf.get("/api/v1/notes/"+e+"/",{headers:{Authorization:"Token "+t}}).then((function(e){return e.data}))}function Ef(e){var t=JSON.parse(localStorage.getItem("token")||"{}");return wf.patch("/api/v1/notes/"+e.id+"/",e,{headers:{Authorization:"Token "+t}}).then((function(e){return e.data})).catch((function(e){return e}))}function Cf(e){var t=JSON.parse(localStorage.getItem("token")||"{}");return wf.post("/api/v1/notes/",e,{headers:{Authorization:"Token "+t}}).then((function(e){return e.data})).catch((function(e){return e}))}function Of(e){var t=JSON.parse(localStorage.getItem("token")||"{}");return wf.delete("/api/v1/notes/"+e+"/",{headers:{Authorization:"Token "+t}}).catch((function(e){return e}))}function _f(e){return wf.post("/api/v1/accounts/token/login/",e).then(function(){var e=O(E().mark((function e(t){return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return localStorage.setItem("token",JSON.stringify(t.data.auth_token)),e.abrupt("return",!0);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){return!1}))}function Pf(){var e=JSON.parse(localStorage.getItem("token")||"{}");return wf.get("/api/v1/accounts/users/me/",{headers:{Authorization:"Token "+e}}).then((function(e){return e.data}))}function Rf(e){return wf.post("/api/v1/accounts/users/activation/",e).then(function(){var e=O(E().mark((function e(t){return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",!0);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){return!1}))}var jf=ss({name:"old_session_checked",initialState:{value:!1},reducers:{set_checked:function(e){e.value=!e.value}}}),Tf=jf.actions.set_checked,Af=jf.reducer;function Nf(){var t=Pu(),n=bu((function(e){return e.logged_in.value})),r=(0,e.useCallback)(O(E().mark((function e(){return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Pf();case 2:if(!e.sent){e.next=17;break}if(!0===n){e.next=15;break}return console.log("Previous session found. Restoring"),e.next=7,t(ws());case 7:return e.t0=t,e.t1=Es,e.next=11,Pf();case 11:return e.t2=e.sent,e.t3=(0,e.t1)(e.t2),e.next=15,(0,e.t0)(e.t3);case 15:e.next=19;break;case 17:console.log("No old session found"),localStorage.removeItem("token");case 19:return e.next=21,t(Tf());case 21:case"end":return e.stop()}}),e)}))),[t,n]);return(0,e.useEffect)((function(){n||r()}),[r,n]),(0,Ht.jsx)("div",{})}function Lf(){return(0,Ht.jsxs)("div",{style:Wt.header,children:[(0,Ht.jsx)(Nf,{}),(0,Ht.jsxs)("div",{style:Wt.flex_row,children:[(0,Ht.jsxs)("div",{style:Kt(Kt({},Wt.header_contentwrapper),{flex:2}),children:[(0,Ht.jsx)(Ps,{size:32,color:"white"}),(0,Ht.jsx)(Rs,{size:32,color:"white"})]}),(0,Ht.jsxs)("div",{style:Kt(Kt({},Wt.header_contentwrapper),{flex:6}),children:[(0,Ht.jsx)(Zt,{size:48,color:"white"}),(0,Ht.jsx)("p",{style:Wt.text_medium,children:"Clip Notes"})]}),(0,Ht.jsx)("div",{style:Kt(Kt({},Wt.header_contentwrapper),{flex:2}),children:(0,Ht.jsx)("div",{style:Wt.flex_row,children:(0,Ht.jsx)(_s,{})})})]})]})}var Mf=function(t){var n=t.controlled,r=t.default,o=(t.name,t.state,e.useRef(void 0!==n).current),i=s(e.useState(r),2),a=i[0],u=i[1];return[o?n:a,e.useCallback((function(e){o||u(e)}),[])]};var Df=e.createContext(void 0);function Ff(e){return Ea("PrivateSwitchBase",e)}Ca("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var zf=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],If=Qi(Ga)((function(e){var t=e.ownerState;return(0,Xt.Z)({padding:9,borderRadius:"50%"},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})})),Uf=Qi("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Bf=e.forwardRef((function(t,n){var r=t.autoFocus,o=t.checked,i=t.checkedIcon,a=t.className,u=t.defaultChecked,l=t.disabled,c=t.disableFocusRipple,f=void 0!==c&&c,d=t.edge,p=void 0!==d&&d,h=t.icon,v=t.id,m=t.inputProps,y=t.inputRef,g=t.name,b=t.onBlur,w=t.onChange,x=t.onFocus,k=t.readOnly,S=t.required,E=void 0!==S&&S,C=t.tabIndex,O=t.type,_=t.value,P=Gt(t,zf),R=s(Mf({controlled:o,default:Boolean(u),name:"SwitchBase",state:"checked"}),2),j=R[0],T=R[1],A=e.useContext(Df),N=l;A&&"undefined"===typeof N&&(N=A.disabled);var L="checkbox"===O||"radio"===O,M=(0,Xt.Z)({},t,{checked:j,disabled:N,disableFocusRipple:f,edge:p}),D=function(e){var t=e.classes,n=e.checked,r=e.disabled,o=e.edge;return tn({root:["root",n&&"checked",r&&"disabled",o&&"edge".concat(Xa(o))],input:["input"]},Ff,t)}(M);return(0,Ht.jsxs)(If,(0,Xt.Z)({component:"span",className:Jt(D.root,a),centerRipple:!0,focusRipple:!f,disabled:N,tabIndex:null,role:void 0,onFocus:function(e){x&&x(e),A&&A.onFocus&&A.onFocus(e)},onBlur:function(e){b&&b(e),A&&A.onBlur&&A.onBlur(e)},ownerState:M,ref:n},P,{children:[(0,Ht.jsx)(Uf,(0,Xt.Z)({autoFocus:r,checked:o,defaultChecked:u,className:D.input,disabled:N,id:L?v:void 0,name:g,onChange:function(e){if(!e.nativeEvent.defaultPrevented){var t=e.target.checked;T(t),w&&w(e,t)}},readOnly:k,ref:y,required:E,ownerState:M,tabIndex:C,type:O},"checkbox"===O&&void 0===_?{}:{value:_},m)),j?i:h]}))}));function qf(e){return Ea("MuiSwitch",e)}var Vf=Ca("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),Qf=["className","color","edge","size","sx"],Wf=Qi("span",{name:"MuiSwitch",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.edge&&t["edge".concat(Xa(n.edge))],t["size".concat(Xa(n.size))]]}})((function(e){var t,n=e.ownerState;return(0,Xt.Z)({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},"start"===n.edge&&{marginLeft:-8},"end"===n.edge&&{marginRight:-8},"small"===n.size&&(_(t={width:40,height:24,padding:7},"& .".concat(Vf.thumb),{width:16,height:16}),_(t,"& .".concat(Vf.switchBase),_({padding:4},"&.".concat(Vf.checked),{transform:"translateX(16px)"})),t))})),$f=Qi(Bf,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:function(e,t){var n=e.ownerState;return[t.switchBase,_({},"& .".concat(Vf.input),t.input),"default"!==n.color&&t["color".concat(Xa(n.color))]]}})((function(e){var t,n=e.theme;return _(t={position:"absolute",top:0,left:0,zIndex:1,color:n.vars?n.vars.palette.Switch.defaultColor:"".concat("light"===n.palette.mode?n.palette.common.white:n.palette.grey[300]),transition:n.transitions.create(["left","transform"],{duration:n.transitions.duration.shortest})},"&.".concat(Vf.checked),{transform:"translateX(20px)"}),_(t,"&.".concat(Vf.disabled),{color:n.vars?n.vars.palette.Switch.defaultDisabledColor:"".concat("light"===n.palette.mode?n.palette.grey[100]:n.palette.grey[600])}),_(t,"&.".concat(Vf.checked," + .").concat(Vf.track),{opacity:.5}),_(t,"&.".concat(Vf.disabled," + .").concat(Vf.track),{opacity:n.vars?n.vars.opacity.switchTrackDisabled:"".concat("light"===n.palette.mode?.12:.2)}),_(t,"& .".concat(Vf.input),{left:"-100%",width:"300%"}),t}),(function(e){var t,n=e.theme,r=e.ownerState;return(0,Xt.Z)({"&:hover":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.action.activeChannel," / ").concat(n.vars.palette.action.hoverOpacity,")"):ln(n.palette.action.active,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==r.color&&(_(t={},"&.".concat(Vf.checked),_({color:(n.vars||n).palette[r.color].main,"&:hover":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette[r.color].mainChannel," / ").concat(n.vars.palette.action.hoverOpacity,")"):ln(n.palette[r.color].main,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&.".concat(Vf.disabled),{color:n.vars?n.vars.palette.Switch["".concat(r.color,"DisabledColor")]:"".concat("light"===n.palette.mode?cn(n.palette[r.color].main,.62):sn(n.palette[r.color].main,.55))})),_(t,"&.".concat(Vf.checked," + .").concat(Vf.track),{backgroundColor:(n.vars||n).palette[r.color].main}),t))})),Kf=Qi("span",{name:"MuiSwitch",slot:"Track",overridesResolver:function(e,t){return t.track}})((function(e){var t=e.theme;return{height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:t.vars?t.vars.palette.common.onBackground:"".concat("light"===t.palette.mode?t.palette.common.black:t.palette.common.white),opacity:t.vars?t.vars.opacity.switchTrack:"".concat("light"===t.palette.mode?.38:.3)}})),Hf=Qi("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:function(e,t){return t.thumb}})((function(e){var t=e.theme;return{boxShadow:(t.vars||t).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}})),Zf=e.forwardRef((function(e,t){var n=Gi({props:e,name:"MuiSwitch"}),r=n.className,o=n.color,i=void 0===o?"primary":o,a=n.edge,u=void 0!==a&&a,l=n.size,s=void 0===l?"medium":l,c=n.sx,f=Gt(n,Qf),d=(0,Xt.Z)({},n,{color:i,edge:u,size:s}),p=function(e){var t=e.classes,n=e.edge,r=e.size,o=e.color,i=e.checked,a=e.disabled,u=tn({root:["root",n&&"edge".concat(Xa(n)),"size".concat(Xa(r))],switchBase:["switchBase","color".concat(Xa(o)),i&&"checked",a&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},qf,t);return(0,Xt.Z)({},t,u)}(d),h=(0,Ht.jsx)(Hf,{className:p.thumb,ownerState:d});return(0,Ht.jsxs)(Wf,{className:Jt(p.root,r),sx:c,ownerState:d,children:[(0,Ht.jsx)($f,(0,Xt.Z)({type:"checkbox",icon:h,checkedIcon:h,ref:t,ownerState:d},f,{classes:(0,Xt.Z)({},p,{root:p.switchBase})})),(0,Ht.jsx)(Kf,{className:p.track,ownerState:d})]})})),Gf=Zf,Xf=n(933);function Yf(e){var t=kt(),n=(0,Xf.useQueryClient)(),r=(0,Xf.useMutation)({mutationFn:Of,onSuccess:function(){n.invalidateQueries("notes"),n.invalidateQueries("public_notes")}});return(0,Ht.jsx)("div",{style:Wt.flex_column,children:(0,Ht.jsxs)("div",{style:Wt.note,children:[(0,Ht.jsxs)("p",{style:Wt.text_medium,children:["Owner: ",e.owner]}),(0,Ht.jsxs)("p",{style:Wt.text_medium,children:["Title: ",e.title]}),(0,Ht.jsx)("div",{style:Wt.note_content,children:(0,Ht.jsx)("textarea",{style:Wt.input_notebody,disabled:!0,value:e.content})}),(0,Ht.jsxs)("p",{style:Wt.text_medium,children:["Timestamp: ",String(e.date_created)]}),(0,Ht.jsxs)("p",{style:Wt.text_medium,children:["Public: ",e.public?"Yes":"No"]}),(0,Ht.jsxs)("div",{style:Wt.flex_row,children:[(0,Ht.jsx)(uu,{style:Wt.button_red,variant:"contained",onClick:function(){r.mutate(e.id)},children:"Remove Note"}),(0,Ht.jsx)(uu,{style:Wt.button_yellow,variant:"contained",onClick:function(){t("/Note/"+e.id)},children:"Edit Note"})]})]})})}function Jf(){var e=kt(),t=(0,Xf.useQuery)("notes",xf,{retry:0}),n=t.data,r=t.isLoading,o=t.error,i=bu((function(e){return e.logged_in.value}));return r?(0,Ht.jsx)("div",{style:Wt.note,children:(0,Ht.jsx)("p",{style:Wt.text_medium,children:"Loading Notes..."})}):!i&&o?(0,Ht.jsx)("div",{style:Wt.note,children:(0,Ht.jsx)("p",{style:Wt.text_medium,children:"Please login to use Clip Notes"})}):o?(0,Ht.jsx)("div",{style:Wt.note,children:(0,Ht.jsx)("p",{style:Wt.text_medium_red,children:"Error contacting Notes server"})}):0===n.length?(0,Ht.jsxs)("div",{style:Wt.note,children:[(0,Ht.jsx)("p",{style:Wt.text_medium,children:"No notes exist yet"}),(0,Ht.jsx)("p",{style:Wt.text_medium,children:"Make one!"}),(0,Ht.jsx)(uu,{style:Wt.button_green,variant:"contained",onClick:function(){e("/NewNote")},children:"Add Note"})]}):(0,Ht.jsxs)(Ht.Fragment,{children:[n.map((function(e,t){return(0,Ht.jsx)(Yf,{id:e.id,title:e.title,content:e.content,date_created:e.date_created,owner:e.owner,public:e.public},t)})),(0,Ht.jsx)(uu,{style:Wt.button_green,variant:"contained",onClick:function(){e("/NewNote")},children:"Add Note"})]})}function ed(e){return(0,Ht.jsx)("div",{style:Wt.flex_column,children:(0,Ht.jsxs)("div",{style:Wt.note,children:[(0,Ht.jsxs)("p",{style:Wt.text_medium,children:["Owner: ",e.owner]}),(0,Ht.jsxs)("p",{style:Wt.text_medium,children:["Title: ",e.title]}),(0,Ht.jsx)("div",{style:Wt.note_content,children:(0,Ht.jsx)("textarea",{style:Wt.input_notebody,disabled:!0,value:e.content})}),(0,Ht.jsxs)("p",{style:Wt.text_medium,children:["Timestamp: ",String(e.date_created)]}),(0,Ht.jsxs)("p",{style:Wt.text_medium,children:["Public: ",e.public?"Yes":"No"]})]})})}function td(){var e=kt(),t=(0,Xf.useQuery)("public_notes",kf,{retry:0}),n=t.data,r=t.isLoading,o=t.error;return r?(0,Ht.jsx)("div",{style:Wt.note,children:(0,Ht.jsx)("p",{style:Wt.text_medium,children:"Loading Notes..."})}):o?(0,Ht.jsx)("div",{style:Wt.note,children:(0,Ht.jsx)("p",{style:Wt.text_medium_red,children:"Error contacting Notes server"})}):0===n.length?(0,Ht.jsxs)("div",{style:Wt.note,children:[(0,Ht.jsx)("p",{style:Wt.text_medium,children:"No notes exist yet"}),(0,Ht.jsx)("p",{style:Wt.text_medium,children:"Make one!"}),(0,Ht.jsx)(uu,{style:Wt.button_green,variant:"contained",onClick:function(){e("/NewNote")},children:"Add Note"})]}):(0,Ht.jsx)(Ht.Fragment,{children:n.map((function(e,t){return(0,Ht.jsx)(ed,{id:e.id,title:e.title,content:e.content,date_created:e.date_created,owner:e.owner,public:e.public},t)}))})}function nd(){var t=s((0,e.useState)("Viewing public notes"),2),n=t[0],r=t[1],o=s((0,e.useState)(!0),2),i=o[0],a=o[1];return i?(0,Ht.jsxs)("div",{style:Wt.background,children:[(0,Ht.jsxs)("div",{style:{marginLeft:16,flexDirection:"row",display:"flex",alignItems:"center"},children:[(0,Ht.jsx)(Gf,{checked:i,onClick:function(){a(!i),r(i?"Viewing own notes":"Viewing public notes")}}),(0,Ht.jsx)("p",{style:Wt.text_small,children:n})]}),(0,Ht.jsx)("p",{style:Wt.text_medium,children:"Public Notes"}),(0,Ht.jsx)(td,{})]}):(0,Ht.jsxs)("div",{style:Wt.background,children:[(0,Ht.jsxs)("div",{style:{marginLeft:16,flexDirection:"row",display:"flex",alignItems:"center"},children:[(0,Ht.jsx)(Gf,{checked:i,onClick:function(){a(!i),r(i?"Viewing own notes":"Viewing public notes")}}),(0,Ht.jsx)("p",{style:Wt.text_small,children:n})]}),(0,Ht.jsx)("p",{style:Wt.text_medium,children:"Private Notes"}),(0,Ht.jsx)(Jf,{})]})}function rd(){return(0,Ht.jsxs)("div",{style:Wt.background,children:[(0,Ht.jsx)(Lf,{}),(0,Ht.jsx)(nd,{})]})}function od(){var t=kt(),n=s((0,e.useState)({title:"",content:"",public:!1}),2),r=n[0],o=n[1],i=(0,Xf.useQueryClient)(),a=(0,Xf.useMutation)({mutationFn:Cf,onSuccess:function(){i.invalidateQueries("notes"),i.invalidateQueries("public_notes")}});return(0,Ht.jsxs)("div",{style:Wt.background,children:[(0,Ht.jsx)(Lf,{}),(0,Ht.jsx)("p",{style:Wt.text_medium,children:"New Note"}),(0,Ht.jsx)("div",{style:Wt.flex_column,children:(0,Ht.jsxs)("div",{style:Wt.note,children:[(0,Ht.jsxs)("div",{style:Wt.flex_row,children:[(0,Ht.jsx)("p",{style:Wt.text_small,children:"Title:\xa0"}),(0,Ht.jsx)("input",{style:Wt.input_notetitle,onChange:function(e){o(Kt(Kt({},r),{},{title:e.target.value}))},maxLength:20})]}),(0,Ht.jsx)("div",{style:Wt.note_content,children:(0,Ht.jsx)("textarea",{style:Wt.input_notebody,onChange:function(){var e=O(E().mark((function e(t){return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o(Kt(Kt({},r),{},{content:t.target.value}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()})}),(0,Ht.jsxs)("div",{style:Wt.flex_row,children:[(0,Ht.jsx)("p",{style:Wt.text_small,children:"Public Note?"}),(0,Ht.jsx)("input",{type:"checkbox",onClick:function(){o(Kt(Kt({},r),{},{public:!r.public}))}})]}),(0,Ht.jsx)(uu,{style:Wt.button_green,variant:"contained",onClick:O(E().mark((function e(){return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,a.mutate({title:r.title,content:r.content,public:r.public});case 3:t("/"),e.next=8;break;case 6:e.prev=6,e.t0=e.catch(0);case 8:case"end":return e.stop()}}),e,null,[[0,6]])}))),children:"Add Note"})]})}),(0,Ht.jsx)("div",{style:Wt.flex_row,children:(0,Ht.jsx)(uu,{style:Wt.button_red,variant:"contained",onClick:function(){t("/")},children:"Cancel"})})]})}function id(){var t=kt(),n=Pu(),r=s((0,e.useState)({username:"",password:""}),2),o=r[0],i=r[1],a=s((0,e.useState)(""),2),u=a[0],l=a[1];return(0,Ht.jsxs)("div",{style:Wt.background,children:[(0,Ht.jsx)(Lf,{}),(0,Ht.jsxs)("div",{style:Wt.window,children:[(0,Ht.jsx)("p",{style:Wt.text_medium,children:"Login to Clip Notes"}),(0,Ht.jsxs)("div",{style:Wt.flex_row,children:[(0,Ht.jsx)("p",{style:Wt.text_small,children:"Username"}),(0,Ht.jsx)("div",{style:{margin:4}}),(0,Ht.jsx)("input",{style:Wt.input_notetitle,onChange:function(e){i(Kt(Kt({},o),{},{username:e.target.value}))},value:o.username})]}),(0,Ht.jsxs)("div",{style:Wt.flex_row,children:[(0,Ht.jsx)("p",{style:Wt.text_small,children:"Password"}),(0,Ht.jsx)("div",{style:{margin:4}}),(0,Ht.jsx)("input",{style:Wt.input_notetitle,type:"password",onChange:function(e){i(Kt(Kt({},o),{},{password:e.target.value}))},value:o.password})]}),(0,Ht.jsx)(uu,{style:Wt.button_green,variant:"contained",onClick:O(E().mark((function e(){return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i({username:"",password:""}),e.next=3,_f(o);case 3:if(!e.sent){e.next=17;break}return e.next=6,n(ws());case 6:return e.t0=n,e.t1=Es,e.next=10,Pf();case 10:return e.t2=e.sent,e.t3=(0,e.t1)(e.t2),e.next=14,(0,e.t0)(e.t3);case 14:t("/"),e.next=18;break;case 17:l("Invalid Login");case 18:case"end":return e.stop()}}),e)}))),children:"Login"}),(0,Ht.jsx)("p",{style:Wt.text_small_red,children:u}),(0,Ht.jsx)(uu,{style:Wt.button_yellow,variant:"contained",onClick:function(){t("/Register")},children:"Register"})]})]})}function ad(){var t=St(),n=t.uid,r=t.token,o=s((0,e.useState)(0),2),i=o[0],a=o[1];function u(){return u=O(E().mark((function e(t){var n;return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Rf(t);case 2:n=e.sent,a(n?1:2);case 4:case"end":return e.stop()}}),e)}))),u.apply(this,arguments)}return(0,e.useEffect)((function(){n&&r&&function(e){u.apply(this,arguments)}({uid:n,token:r})}),[n,r]),1===i?(0,Ht.jsxs)("div",{style:Wt.background,children:[(0,Ht.jsx)(Lf,{}),(0,Ht.jsxs)("div",{style:Wt.note,children:[(0,Ht.jsxs)("p",{style:Wt.text_small,children:["User ID: ",n]}),(0,Ht.jsxs)("p",{style:Wt.text_small,children:["Activation Token: ",r]}),(0,Ht.jsx)("p",{style:Wt.text_small_green,children:"Activation Successful. Please login"})]})]}):2===i?(0,Ht.jsxs)("div",{style:Wt.background,children:[(0,Ht.jsx)(Lf,{}),(0,Ht.jsxs)("div",{style:Wt.note,children:[(0,Ht.jsxs)("p",{style:Wt.text_small,children:["User ID: ",n]}),(0,Ht.jsxs)("p",{style:Wt.text_small,children:["Activation Token: ",r]}),(0,Ht.jsx)("p",{style:Wt.text_small_red,children:"Invalid Activation Link"})]})]}):(0,Ht.jsxs)("div",{style:Wt.background,children:[(0,Ht.jsx)(Lf,{}),(0,Ht.jsxs)("div",{style:Wt.note,children:[(0,Ht.jsxs)("p",{style:Wt.text_small,children:["User ID: ",n]}),(0,Ht.jsxs)("p",{style:Wt.text_small,children:["Activation Token: ",r]}),(0,Ht.jsx)("p",{style:Wt.text_small,children:"Activating..."})]})]})}function ud(){var t=s((0,e.useState)({email:"",username:"",password:""}),2),n=t[0],r=t[1],o=s((0,e.useState)(""),2),i=o[0],a=o[1];return(0,Ht.jsxs)("div",{style:Wt.background,children:[(0,Ht.jsx)(Lf,{}),(0,Ht.jsxs)("div",{style:Wt.window,children:[(0,Ht.jsx)("p",{style:Wt.text_medium,children:"Create an Account"}),(0,Ht.jsxs)("div",{style:Wt.flex_row,children:[(0,Ht.jsx)("p",{style:Wt.text_small,children:"Email"}),(0,Ht.jsx)("div",{style:{margin:4}}),(0,Ht.jsx)("input",{style:Wt.input_notetitle,onChange:function(e){r(Kt(Kt({},n),{},{email:e.target.value}))}})]}),(0,Ht.jsxs)("div",{style:Wt.flex_row,children:[(0,Ht.jsx)("p",{style:Wt.text_small,children:"Username"}),(0,Ht.jsx)("div",{style:{margin:4}}),(0,Ht.jsx)("input",{style:Wt.input_notetitle,onChange:function(e){r(Kt(Kt({},n),{},{username:e.target.value}))}})]}),(0,Ht.jsxs)("div",{style:Wt.flex_row,children:[(0,Ht.jsx)("p",{style:Wt.text_small,children:"Password"}),(0,Ht.jsx)("div",{style:{margin:4}}),(0,Ht.jsx)("input",{style:Wt.input_notetitle,type:"password",onChange:function(e){r(Kt(Kt({},n),{},{password:e.target.value}))}})]}),(0,Ht.jsx)(uu,{style:Wt.button_yellow,variant:"contained",onClick:O(E().mark((function e(){return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r(Kt({},n)),e.next=3,t=n,wf.post("/api/v1/accounts/users/",t).then(function(){var e=O(E().mark((function e(t){return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",!0);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){return!1}));case 3:if(!e.sent){e.next=7;break}a("Registration success. Please check your email address for activation"),e.next=8;break;case 7:a("Invalid credentials specified");case 8:case"end":return e.stop()}var t}),e)}))),children:"Register"}),(0,Ht.jsx)("p",{style:Wt.text_small,children:i})]})]})}function ld(){var e=(0,Xf.useQuery)("user",Pf,{retry:0}),t=e.data,n=e.isLoading,r=e.error,o=bu((function(e){return e.logged_in.value}));return n&&!r?(0,Ht.jsxs)("div",{style:Wt.background,children:[(0,Ht.jsx)(Lf,{}),(0,Ht.jsx)("div",{style:Wt.note,children:(0,Ht.jsx)("p",{style:Wt.text_medium,children:"Loading..."})})]}):!o&&r?(0,Ht.jsxs)("div",{style:Wt.background,children:[(0,Ht.jsx)(Lf,{}),(0,Ht.jsxs)("div",{style:Wt.note,children:[(0,Ht.jsx)("p",{style:Wt.text_medium,children:"Please login to view user info"}),(0,Ht.jsx)(_s,{})]})]}):r?(0,Ht.jsxs)("div",{style:Wt.background,children:[(0,Ht.jsx)(Lf,{}),(0,Ht.jsx)("div",{style:Wt.note,children:(0,Ht.jsx)("p",{style:Wt.text_medium_red,children:"An error has occured"})})]}):(0,Ht.jsxs)("div",{style:Wt.background,children:[(0,Ht.jsx)(Lf,{}),(0,Ht.jsxs)("div",{style:Wt.note,children:[(0,Ht.jsxs)("p",{style:Wt.text_medium,children:["Username: ",t.username]}),(0,Ht.jsxs)("p",{style:Wt.text_medium,children:["Email: ",t.email]}),(0,Ht.jsxs)("p",{style:Wt.text_medium,children:["User ID: ",t.id]})]})]})}function sd(){var t=kt(),n=St().id,r=(0,Xf.useQueryClient)(),o=(0,Xf.useMutation)({mutationFn:Ef,onSuccess:function(){r.invalidateQueries("notes"),r.invalidateQueries("public_notes")}}),i=s((0,e.useState)({title:"",content:"",public:!0}),2),a=i[0],u=i[1];function l(){return l=O(E().mark((function e(){var t;return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Sf(Number(n));case 2:return t=e.sent,u(t),e.abrupt("return",t);case 5:case"end":return e.stop()}}),e)}))),l.apply(this,arguments)}var c=(0,Xf.useQuery)("note",(function(){return l.apply(this,arguments)}),{retry:0}),f=c.data,d=c.isLoading,p=c.error;return(0,e.useEffect)((function(){u(f)}),[f]),p?(0,Ht.jsxs)("div",{style:Wt.background,children:[(0,Ht.jsx)(Lf,{}),(0,Ht.jsx)("div",{style:Wt.note,children:(0,Ht.jsx)("p",{style:Wt.text_medium_red,children:"Error retrieving specific note"})})]}):d?(0,Ht.jsx)("div",{style:Wt.background,children:(0,Ht.jsx)("div",{style:Wt.note,children:(0,Ht.jsx)("p",{style:Wt.text_medium,children:"Loading Note..."})})}):f&&a?(0,Ht.jsxs)("div",{style:Wt.background,children:[(0,Ht.jsx)(Lf,{}),(0,Ht.jsx)("p",{style:Wt.text_medium,children:"Edit Note"}),(0,Ht.jsx)("div",{style:Wt.flex_column,children:(0,Ht.jsxs)("div",{style:Wt.note,children:[(0,Ht.jsxs)("div",{style:Wt.flex_row,children:[(0,Ht.jsx)("p",{style:Wt.text_small,children:"Title:\xa0"}),(0,Ht.jsx)("input",{style:Wt.input_notetitle,value:a.title,onChange:function(e){u(Kt(Kt({},a),{},{title:e.target.value}))},maxLength:20})]}),(0,Ht.jsx)("div",{style:Wt.note_content,children:(0,Ht.jsx)("textarea",{style:Wt.input_notebody,value:a.content,onChange:function(){var e=O(E().mark((function e(t){return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u(Kt(Kt({},a),{},{content:t.target.value}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()})}),(0,Ht.jsxs)("div",{style:Wt.flex_row,children:[(0,Ht.jsx)("p",{style:Wt.text_small,children:"Public Note?"}),(0,Ht.jsx)("input",{type:"checkbox",defaultChecked:a.public,onClick:function(){u(Kt(Kt({},a),{},{public:!a.public}))}})]}),(0,Ht.jsx)(uu,{style:Wt.button_green,variant:"contained",onClick:O(E().mark((function e(){return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,o.mutate({id:Number(n),title:a.title,content:a.content,public:a.public});case 3:t("/"),e.next=8;break;case 6:e.prev=6,e.t0=e.catch(0);case 8:case"end":return e.stop()}}),e,null,[[0,6]])}))),children:"Update Note"})]})}),(0,Ht.jsx)("div",{style:Wt.flex_row,children:(0,Ht.jsx)(uu,{style:Wt.button_red,variant:"contained",onClick:function(){t("/")},children:"Cancel"})})]}):(0,Ht.jsx)("div",{children:"heh"})}var cd=function(e){var t,n=is(),r=e||{},o=r.reducer,i=void 0===o?void 0:o,a=r.middleware,u=void 0===a?n():a,l=r.devTools,s=void 0===l||l,c=r.preloadedState,f=void 0===c?void 0:c,d=r.enhancers,p=void 0===d?void 0:d;if("function"===typeof i)t=i;else{if(!ns(i))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');t=Dl(i)}var h=u;if("function"===typeof h&&(h=h(n),!as&&!Array.isArray(h)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!as&&h.some((function(e){return"function"!==typeof e})))throw new Error("each middleware provided to configureStore must be a function");var v=zl.apply(void 0,h),m=Fl;s&&(m=ts(Yl({trace:!as},"object"===typeof s&&s)));var y=[v];return Array.isArray(p)?y=Ql([v],p):"function"===typeof p&&(y=p(y)),Ml(t,f,m.apply(void 0,y))}({reducer:{logged_in:xs,logged_in_user:Os,old_session_checked:Af}}),fd=cd,dd=new Xf.QueryClient,pd=function(e,t){return _e({basename:null==t?void 0:t.basename,history:(n={window:null==t?void 0:t.window},void 0===n&&(n={}),U((function(e,t){var n=I(e.location.hash.substr(1)),r=n.pathname,o=void 0===r?"/":r,i=n.search,a=void 0===i?"":i,u=n.hash;return F("",{pathname:o,search:a,hash:void 0===u?"":u},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){var n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){var o=e.location.href,i=o.indexOf("#");r=-1===i?o:o.slice(0,i)}return r+"#"+("string"===typeof t?t:z(t))}),(function(e,t){M("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),n)),hydrationData:(null==t?void 0:t.hydrationData)||Bt(),routes:It(e)}).initialize();var n}([{path:"/",element:(0,Ht.jsx)(rd,{})},{path:"/NewNote",element:(0,Ht.jsx)(od,{})},{path:"/Login",element:(0,Ht.jsx)(id,{})},{path:"/Register",element:(0,Ht.jsx)(ud,{})},{path:"/Activation/:uid/:token",element:(0,Ht.jsx)(ad,{})},{path:"/Note/:id",element:(0,Ht.jsx)(sd,{})},{path:"/User",element:(0,Ht.jsx)(ld,{})}]);r.createRoot(document.getElementById("root")).render((0,Ht.jsx)(Su,{store:fd,children:(0,Ht.jsx)(Xf.QueryClientProvider,{client:dd,children:(0,Ht.jsx)(Nt,{router:pd})})})),o()}()}();
|
|
//# sourceMappingURL=main.97040878.js.map
|