3 lines
No EOL
218 KiB
JavaScript
3 lines
No EOL
218 KiB
JavaScript
/*! For license information please see main.d3d96545.js.LICENSE.txt */
|
|
!function(){"use strict";var e={463:function(e,t,n){var r=n(791),a=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 l=new Set,o={};function u(e,t){s(e,t),s(e+"Capture",t)}function s(e,t){for(o[e]=t,e=0;e<t.length;e++)l.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]*$/,h={},p={};function m(e,t,n,r,a,i,l){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){v[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];v[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[e]=new m(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){v[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){v[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){v[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){v[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){v[e]=new m(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 a=v.hasOwnProperty(t)?v[t]:null;(null!==a?0!==a.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,a,r)&&(n=null),r||null===a?function(e){return!!f.call(p,e)||!f.call(h,e)&&(d.test(e)?p[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!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);v[t]=new m(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);v[t]=new m(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);v[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k=Symbol.for("react.element"),S=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),N=Symbol.for("react.provider"),j=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),P=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var L=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var O=Symbol.iterator;function D(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=O&&e[O]||e["@@iterator"])?e:null}var z,A=Object.assign;function M(e){if(void 0===z)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);z=t&&t[1]||""}return"\n"+z+e}var F=!1;function U(e,t){if(!e||F)return"";F=!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 a=s.stack.split("\n"),i=r.stack.split("\n"),l=a.length-1,o=i.length-1;1<=l&&0<=o&&a[l]!==i[o];)o--;for(;1<=l&&0<=o;l--,o--)if(a[l]!==i[o]){if(1!==l||1!==o)do{if(l--,0>--o||a[l]!==i[o]){var u="\n"+a[l].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=l&&0<=o);break}}}finally{F=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?M(e):""}function B(e){switch(e.tag){case 5:return M(e.type);case 16:return M("Lazy");case 13:return M("Suspense");case 19:return M("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 W(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 x:return"Fragment";case S:return"Portal";case C:return"Profiler";case E:return"StrictMode";case T:return"Suspense";case _:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case j:return(e.displayName||"Context")+".Consumer";case N:return(e._context.displayName||"Context")+".Provider";case R:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case I:return null!==(t=e.displayName||null)?t:W(e.type)||"Memo";case P:t=e._payload,e=e._init;try{return W(e(t))}catch(n){}}return null}function q(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 W(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 H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function V(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=V(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 a=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.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 G(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=V(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Q(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Y(e,t){var n=t.checked;return A({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function X(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=H(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 K(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function Z(e,t){K(e,t);var n=H(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,H(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&&Q(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+H(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return A({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ae(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:H(n)}}function ie(e,t){var n=H(t.value),r=H(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 le(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function oe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ue(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?oe(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 he={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},pe=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||he.hasOwnProperty(e)&&he[e]?(""+t).trim():t+"px"}function ve(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(he).forEach((function(e){pe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),he[t]=he[e]}))}));var ye=A({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 ke(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Se=null,xe=null,Ee=null;function Ce(e){if(e=ba(e)){if("function"!==typeof Se)throw Error(i(280));var t=e.stateNode;t&&(t=ka(t),Se(e.stateNode,e.type,t))}}function Ne(e){xe?Ee?Ee.push(e):Ee=[e]:xe=e}function je(){if(xe){var e=xe,t=Ee;if(Ee=xe=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function Re(e,t){return e(t)}function Te(){}var _e=!1;function Ie(e,t,n){if(_e)return e(t,n);_e=!0;try{return Re(e,t,n)}finally{_e=!1,(null!==xe||null!==Ee)&&(Te(),je())}}function Pe(e,t){var n=e.stateNode;if(null===n)return null;var r=ka(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 Le=!1;if(c)try{var Oe={};Object.defineProperty(Oe,"passive",{get:function(){Le=!0}}),window.addEventListener("test",Oe,Oe),window.removeEventListener("test",Oe,Oe)}catch(ce){Le=!1}function De(e,t,n,r,a,i,l,o,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(c){this.onError(c)}}var ze=!1,Ae=null,Me=!1,Fe=null,Ue={onError:function(e){ze=!0,Ae=e}};function Be(e,t,n,r,a,i,l,o,u){ze=!1,Ae=null,De.apply(Ue,arguments)}function We(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 qe(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 He(e){if(We(e)!==e)throw Error(i(188))}function Ve(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=We(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var l=a.alternate;if(null===l){if(null!==(r=a.return)){n=r;continue}break}if(a.child===l.child){for(l=a.child;l;){if(l===n)return He(a),e;if(l===r)return He(a),t;l=l.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=l;else{for(var o=!1,u=a.child;u;){if(u===n){o=!0,n=a,r=l;break}if(u===r){o=!0,r=a,n=l;break}u=u.sibling}if(!o){for(u=l.child;u;){if(u===n){o=!0,n=l,r=a;break}if(u===r){o=!0,r=l,n=a;break}u=u.sibling}if(!o)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 Ge=a.unstable_scheduleCallback,Qe=a.unstable_cancelCallback,Ye=a.unstable_shouldYield,Xe=a.unstable_requestPaint,Ke=a.unstable_now,Ze=a.unstable_getCurrentPriorityLevel,Je=a.unstable_ImmediatePriority,et=a.unstable_UserBlockingPriority,tt=a.unstable_NormalPriority,nt=a.unstable_LowPriority,rt=a.unstable_IdlePriority,at=null,it=null;var lt=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(ot(e)/ut|0)|0},ot=Math.log,ut=Math.LN2;var st=64,ct=4194304;function ft(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function dt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,i=e.pingedLanes,l=268435455&n;if(0!==l){var o=l&~a;0!==o?r=ft(o):0!==(i&=l)&&(r=ft(i))}else 0!==(l=n&~a)?r=ft(l):0!==i&&(r=ft(i));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&a)&&((a=r&-r)>=(i=t&-t)||16===a&&0!==(4194240&i)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-lt(t)),r|=e[n],t&=~a;return r}function ht(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function pt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=st;return 0===(4194240&(st<<=1))&&(st=64),e}function vt(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-lt(t)]=n}function gt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-lt(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}var bt=0;function wt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var kt,St,xt,Et,Ct,Nt=!1,jt=[],Rt=null,Tt=null,_t=null,It=new Map,Pt=new Map,Lt=[],Ot="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 Dt(e,t){switch(e){case"focusin":case"focusout":Rt=null;break;case"dragenter":case"dragleave":Tt=null;break;case"mouseover":case"mouseout":_t=null;break;case"pointerover":case"pointerout":It.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Pt.delete(t.pointerId)}}function zt(e,t,n,r,a,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[a]},null!==t&&(null!==(t=ba(t))&&St(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function At(e){var t=ga(e.target);if(null!==t){var n=We(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=qe(n)))return e.blockedOn=t,void Ct(e.priority,(function(){xt(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 Mt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Yt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ba(n))&&St(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 Ft(e,t,n){Mt(e)&&n.delete(t)}function Ut(){Nt=!1,null!==Rt&&Mt(Rt)&&(Rt=null),null!==Tt&&Mt(Tt)&&(Tt=null),null!==_t&&Mt(_t)&&(_t=null),It.forEach(Ft),Pt.forEach(Ft)}function Bt(e,t){e.blockedOn===t&&(e.blockedOn=null,Nt||(Nt=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Ut)))}function Wt(e){function t(t){return Bt(t,e)}if(0<jt.length){Bt(jt[0],e);for(var n=1;n<jt.length;n++){var r=jt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Rt&&Bt(Rt,e),null!==Tt&&Bt(Tt,e),null!==_t&&Bt(_t,e),It.forEach(t),Pt.forEach(t),n=0;n<Lt.length;n++)(r=Lt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Lt.length&&null===(n=Lt[0]).blockedOn;)At(n),null===n.blockedOn&&Lt.shift()}var qt=w.ReactCurrentBatchConfig,Ht=!0;function Vt(e,t,n,r){var a=bt,i=qt.transition;qt.transition=null;try{bt=1,Gt(e,t,n,r)}finally{bt=a,qt.transition=i}}function $t(e,t,n,r){var a=bt,i=qt.transition;qt.transition=null;try{bt=4,Gt(e,t,n,r)}finally{bt=a,qt.transition=i}}function Gt(e,t,n,r){if(Ht){var a=Yt(e,t,n,r);if(null===a)Hr(e,t,r,Qt,n),Dt(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return Rt=zt(Rt,e,t,n,r,a),!0;case"dragenter":return Tt=zt(Tt,e,t,n,r,a),!0;case"mouseover":return _t=zt(_t,e,t,n,r,a),!0;case"pointerover":var i=a.pointerId;return It.set(i,zt(It.get(i)||null,e,t,n,r,a)),!0;case"gotpointercapture":return i=a.pointerId,Pt.set(i,zt(Pt.get(i)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(Dt(e,r),4&t&&-1<Ot.indexOf(e)){for(;null!==a;){var i=ba(a);if(null!==i&&kt(i),null===(i=Yt(e,t,n,r))&&Hr(e,t,r,Qt,n),i===a)break;a=i}null!==a&&r.stopPropagation()}else Hr(e,t,r,null,n)}}var Qt=null;function Yt(e,t,n,r){if(Qt=null,null!==(e=ga(e=ke(r))))if(null===(t=We(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=qe(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Qt=e,null}function Xt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ze()){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 Kt=null,Zt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Zt,r=n.length,a="value"in Kt?Kt.value:Kt.textContent,i=a.length;for(e=0;e<r&&n[e]===a[e];e++);var l=r-e;for(t=1;t<=l&&n[r-t]===a[i-t];t++);return Jt=a.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function an(e){function t(t,n,r,a,i){for(var l in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(l)&&(t=e[l],this[l]=t?t(a):a[l]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return A(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 ln,on,un,sn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=an(sn),fn=A({},sn,{view:0,detail:0}),dn=an(fn),hn=A({},fn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==un&&(un&&"mousemove"===e.type?(ln=e.screenX-un.screenX,on=e.screenY-un.screenY):on=ln=0,un=e),ln)},movementY:function(e){return"movementY"in e?e.movementY:on}}),pn=an(hn),mn=an(A({},hn,{dataTransfer:0})),vn=an(A({},fn,{relatedTarget:0})),yn=an(A({},sn,{animationName:0,elapsedTime:0,pseudoElement:0})),gn=A({},sn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=an(gn),wn=an(A({},sn,{data:0})),kn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sn={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"},xn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=xn[e])&&!!t[e]}function Cn(){return En}var Nn=A({},fn,{key:function(e){if(e.key){var t=kn[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?Sn[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}}),jn=an(Nn),Rn=an(A({},hn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Tn=an(A({},fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),_n=an(A({},sn,{propertyName:0,elapsedTime:0,pseudoElement:0})),In=A({},hn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Pn=an(In),Ln=[9,13,27,32],On=c&&"CompositionEvent"in window,Dn=null;c&&"documentMode"in document&&(Dn=document.documentMode);var zn=c&&"TextEvent"in window&&!Dn,An=c&&(!On||Dn&&8<Dn&&11>=Dn),Mn=String.fromCharCode(32),Fn=!1;function Un(e,t){switch(e){case"keyup":return-1!==Ln.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Wn=!1;var qn={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 Hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!qn[e.type]:"textarea"===t}function Vn(e,t,n,r){Ne(r),0<(t=$r(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var $n=null,Gn=null;function Qn(e){Mr(e,0)}function Yn(e){if(G(wa(e)))return e}function Xn(e,t){if("change"===e)return t}var Kn=!1;if(c){var Zn;if(c){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"===typeof er.oninput}Zn=Jn}else Zn=!1;Kn=Zn&&(!document.documentMode||9<document.documentMode)}function tr(){$n&&($n.detachEvent("onpropertychange",nr),Gn=$n=null)}function nr(e){if("value"===e.propertyName&&Yn(Gn)){var t=[];Vn(t,Gn,e,ke(e)),Ie(Qn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Gn=n,($n=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Yn(Gn)}function ir(e,t){if("click"===e)return Yn(t)}function lr(e,t){if("input"===e||"change"===e)return Yn(t)}var or="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function ur(e,t){if(or(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 a=n[r];if(!f.call(t,a)||!or(e[a],t[a]))return!1}return!0}function sr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=sr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=sr(r)}}function fr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dr(){for(var e=window,t=Q();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=Q((e=t.contentWindow).document)}return t}function hr(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 pr(e){var t=dr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&fr(n.ownerDocument.documentElement,n)){if(null!==r&&hr(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 a=n.textContent.length,i=Math.min(r.start,a);r=void 0===r.end?i:Math.min(r.end,a),!e.extend&&i>r&&(a=r,r=i,i=a),a=cr(n,i);var l=cr(n,r);a&&l&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.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 mr=c&&"documentMode"in document&&11>=document.documentMode,vr=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==vr||vr!==Q(r)||("selectionStart"in(r=vr)&&hr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},gr&&ur(gr,r)||(gr=r,0<(r=$r(yr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=vr)))}function kr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Sr={animationend:kr("Animation","AnimationEnd"),animationiteration:kr("Animation","AnimationIteration"),animationstart:kr("Animation","AnimationStart"),transitionend:kr("Transition","TransitionEnd")},xr={},Er={};function Cr(e){if(xr[e])return xr[e];if(!Sr[e])return e;var t,n=Sr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return xr[e]=n[t];return e}c&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete Sr.animationend.animation,delete Sr.animationiteration.animation,delete Sr.animationstart.animation),"TransitionEvent"in window||delete Sr.transitionend.transition);var Nr=Cr("animationend"),jr=Cr("animationiteration"),Rr=Cr("animationstart"),Tr=Cr("transitionend"),_r=new Map,Ir="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 Pr(e,t){_r.set(e,t),u(t,[e])}for(var Lr=0;Lr<Ir.length;Lr++){var Or=Ir[Lr];Pr(Or.toLowerCase(),"on"+(Or[0].toUpperCase()+Or.slice(1)))}Pr(Nr,"onAnimationEnd"),Pr(jr,"onAnimationIteration"),Pr(Rr,"onAnimationStart"),Pr("dblclick","onDoubleClick"),Pr("focusin","onFocus"),Pr("focusout","onBlur"),Pr(Tr,"onTransitionEnd"),s("onMouseEnter",["mouseout","mouseover"]),s("onMouseLeave",["mouseout","mouseover"]),s("onPointerEnter",["pointerout","pointerover"]),s("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Dr="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(" "),zr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Dr));function Ar(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,l,o,u,s){if(Be.apply(this,arguments),ze){if(!ze)throw Error(i(198));var c=Ae;ze=!1,Ae=null,Me||(Me=!0,Fe=c)}}(r,t,void 0,e),e.currentTarget=null}function Mr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var l=r.length-1;0<=l;l--){var o=r[l],u=o.instance,s=o.currentTarget;if(o=o.listener,u!==i&&a.isPropagationStopped())break e;Ar(a,o,s),i=u}else for(l=0;l<r.length;l++){if(u=(o=r[l]).instance,s=o.currentTarget,o=o.listener,u!==i&&a.isPropagationStopped())break e;Ar(a,o,s),i=u}}}if(Me)throw e=Fe,Me=!1,Fe=null,e}function Fr(e,t){var n=t[ma];void 0===n&&(n=t[ma]=new Set);var r=e+"__bubble";n.has(r)||(qr(t,e,2,!1),n.add(r))}function Ur(e,t,n){var r=0;t&&(r|=4),qr(n,e,r,t)}var Br="_reactListening"+Math.random().toString(36).slice(2);function Wr(e){if(!e[Br]){e[Br]=!0,l.forEach((function(t){"selectionchange"!==t&&(zr.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 qr(e,t,n,r){switch(Xt(t)){case 1:var a=Vt;break;case 4:a=$t;break;default:a=Gt}n=a.bind(null,t,n,e),a=void 0,!Le||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function Hr(e,t,n,r,a){var i=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var l=r.tag;if(3===l||4===l){var o=r.stateNode.containerInfo;if(o===a||8===o.nodeType&&o.parentNode===a)break;if(4===l)for(l=r.return;null!==l;){var u=l.tag;if((3===u||4===u)&&((u=l.stateNode.containerInfo)===a||8===u.nodeType&&u.parentNode===a))return;l=l.return}for(;null!==o;){if(null===(l=ga(o)))return;if(5===(u=l.tag)||6===u){r=i=l;continue e}o=o.parentNode}}r=r.return}Ie((function(){var r=i,a=ke(n),l=[];e:{var o=_r.get(e);if(void 0!==o){var u=cn,s=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":u=jn;break;case"focusin":s="focus",u=vn;break;case"focusout":s="blur",u=vn;break;case"beforeblur":case"afterblur":u=vn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=pn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=Tn;break;case Nr:case jr:case Rr:u=yn;break;case Tr:u=_n;break;case"scroll":u=dn;break;case"wheel":u=Pn;break;case"copy":case"cut":case"paste":u=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=Rn}var c=0!==(4&t),f=!c&&"scroll"===e,d=c?null!==o?o+"Capture":null:o;c=[];for(var h,p=r;null!==p;){var m=(h=p).stateNode;if(5===h.tag&&null!==m&&(h=m,null!==d&&(null!=(m=Pe(p,d))&&c.push(Vr(p,m,h)))),f)break;p=p.return}0<c.length&&(o=new u(o,s,null,n,a),l.push({event:o,listeners:c}))}}if(0===(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(o="mouseover"===e||"pointerover"===e)||n===we||!(s=n.relatedTarget||n.fromElement)||!ga(s)&&!s[pa])&&(u||o)&&(o=a.window===a?a:(o=a.ownerDocument)?o.defaultView||o.parentWindow:window,u?(u=r,null!==(s=(s=n.relatedTarget||n.toElement)?ga(s):null)&&(s!==(f=We(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(u=null,s=r),u!==s)){if(c=pn,m="onMouseLeave",d="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(c=Rn,m="onPointerLeave",d="onPointerEnter",p="pointer"),f=null==u?o:wa(u),h=null==s?o:wa(s),(o=new c(m,p+"leave",u,n,a)).target=f,o.relatedTarget=h,m=null,ga(a)===r&&((c=new c(d,p+"enter",s,n,a)).target=h,c.relatedTarget=f,m=c),f=m,u&&s)e:{for(d=s,p=0,h=c=u;h;h=Gr(h))p++;for(h=0,m=d;m;m=Gr(m))h++;for(;0<p-h;)c=Gr(c),p--;for(;0<h-p;)d=Gr(d),h--;for(;p--;){if(c===d||null!==d&&c===d.alternate)break e;c=Gr(c),d=Gr(d)}c=null}else c=null;null!==u&&Qr(l,o,u,c,!1),null!==s&&null!==f&&Qr(l,f,s,c,!0)}if("select"===(u=(o=r?wa(r):window).nodeName&&o.nodeName.toLowerCase())||"input"===u&&"file"===o.type)var v=Xn;else if(Hn(o))if(Kn)v=lr;else{v=ar;var y=rr}else(u=o.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(v=ir);switch(v&&(v=v(e,r))?Vn(l,v,n,a):(y&&y(e,o,r),"focusout"===e&&(y=o._wrapperState)&&y.controlled&&"number"===o.type&&ee(o,"number",o.value)),y=r?wa(r):window,e){case"focusin":(Hn(y)||"true"===y.contentEditable)&&(vr=y,yr=r,gr=null);break;case"focusout":gr=yr=vr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,wr(l,n,a);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":wr(l,n,a)}var g;if(On)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 Wn?Un(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(An&&"ko"!==n.locale&&(Wn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Wn&&(g=en()):(Zt="value"in(Kt=a)?Kt.value:Kt.textContent,Wn=!0)),0<(y=$r(r,b)).length&&(b=new wn(b,e,null,n,a),l.push({event:b,listeners:y}),g?b.data=g:null!==(g=Bn(n))&&(b.data=g))),(g=zn?function(e,t){switch(e){case"compositionend":return Bn(t);case"keypress":return 32!==t.which?null:(Fn=!0,Mn);case"textInput":return(e=t.data)===Mn&&Fn?null:e;default:return null}}(e,n):function(e,t){if(Wn)return"compositionend"===e||!On&&Un(e,t)?(e=en(),Jt=Zt=Kt=null,Wn=!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 An&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=$r(r,"onBeforeInput")).length&&(a=new wn("onBeforeInput","beforeinput",null,n,a),l.push({event:a,listeners:r}),a.data=g))}Mr(l,t)}))}function Vr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function $r(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,i=a.stateNode;5===a.tag&&null!==i&&(a=i,null!=(i=Pe(e,n))&&r.unshift(Vr(e,i,a)),null!=(i=Pe(e,t))&&r.push(Vr(e,i,a))),e=e.return}return r}function Gr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Qr(e,t,n,r,a){for(var i=t._reactName,l=[];null!==n&&n!==r;){var o=n,u=o.alternate,s=o.stateNode;if(null!==u&&u===r)break;5===o.tag&&null!==s&&(o=s,a?null!=(u=Pe(n,i))&&l.unshift(Vr(n,u,o)):a||null!=(u=Pe(n,i))&&l.push(Vr(n,u,o))),n=n.return}0!==l.length&&e.push({event:t,listeners:l})}var Yr=/\r\n?/g,Xr=/\u0000|\uFFFD/g;function Kr(e){return("string"===typeof e?e:""+e).replace(Yr,"\n").replace(Xr,"")}function Zr(e,t,n){if(t=Kr(t),Kr(e)!==t&&n)throw Error(i(425))}function Jr(){}var ea=null,ta=null;function na(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 ra="function"===typeof setTimeout?setTimeout:void 0,aa="function"===typeof clearTimeout?clearTimeout:void 0,ia="function"===typeof Promise?Promise:void 0,la="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof ia?function(e){return ia.resolve(null).then(e).catch(oa)}:ra;function oa(e){setTimeout((function(){throw e}))}function ua(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)){if(0===r)return e.removeChild(a),void Wt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=a}while(n);Wt(t)}function sa(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 ca(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 fa=Math.random().toString(36).slice(2),da="__reactFiber$"+fa,ha="__reactProps$"+fa,pa="__reactContainer$"+fa,ma="__reactEvents$"+fa,va="__reactListeners$"+fa,ya="__reactHandles$"+fa;function ga(e){var t=e[da];if(t)return t;for(var n=e.parentNode;n;){if(t=n[pa]||n[da]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ca(e);null!==e;){if(n=e[da])return n;e=ca(e)}return t}n=(e=n).parentNode}return null}function ba(e){return!(e=e[da]||e[pa])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wa(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function ka(e){return e[ha]||null}var Sa=[],xa=-1;function Ea(e){return{current:e}}function Ca(e){0>xa||(e.current=Sa[xa],Sa[xa]=null,xa--)}function Na(e,t){xa++,Sa[xa]=e.current,e.current=t}var ja={},Ra=Ea(ja),Ta=Ea(!1),_a=ja;function Ia(e,t){var n=e.type.contextTypes;if(!n)return ja;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,i={};for(a in n)i[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Pa(e){return null!==(e=e.childContextTypes)&&void 0!==e}function La(){Ca(Ta),Ca(Ra)}function Oa(e,t,n){if(Ra.current!==ja)throw Error(i(168));Na(Ra,t),Na(Ta,n)}function Da(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(i(108,q(e)||"Unknown",a));return A({},n,r)}function za(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ja,_a=Ra.current,Na(Ra,e),Na(Ta,Ta.current),!0}function Aa(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Da(e,t,_a),r.__reactInternalMemoizedMergedChildContext=e,Ca(Ta),Ca(Ra),Na(Ra,e)):Ca(Ta),Na(Ta,n)}var Ma=null,Fa=!1,Ua=!1;function Ba(e){null===Ma?Ma=[e]:Ma.push(e)}function Wa(){if(!Ua&&null!==Ma){Ua=!0;var e=0,t=bt;try{var n=Ma;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Ma=null,Fa=!1}catch(a){throw null!==Ma&&(Ma=Ma.slice(e+1)),Ge(Je,Wa),a}finally{bt=t,Ua=!1}}return null}var qa=[],Ha=0,Va=null,$a=0,Ga=[],Qa=0,Ya=null,Xa=1,Ka="";function Za(e,t){qa[Ha++]=$a,qa[Ha++]=Va,Va=e,$a=t}function Ja(e,t,n){Ga[Qa++]=Xa,Ga[Qa++]=Ka,Ga[Qa++]=Ya,Ya=e;var r=Xa;e=Ka;var a=32-lt(r)-1;r&=~(1<<a),n+=1;var i=32-lt(t)+a;if(30<i){var l=a-a%5;i=(r&(1<<l)-1).toString(32),r>>=l,a-=l,Xa=1<<32-lt(t)+a|n<<a|r,Ka=i+e}else Xa=1<<i|n<<a|r,Ka=e}function ei(e){null!==e.return&&(Za(e,1),Ja(e,1,0))}function ti(e){for(;e===Va;)Va=qa[--Ha],qa[Ha]=null,$a=qa[--Ha],qa[Ha]=null;for(;e===Ya;)Ya=Ga[--Qa],Ga[Qa]=null,Ka=Ga[--Qa],Ga[Qa]=null,Xa=Ga[--Qa],Ga[Qa]=null}var ni=null,ri=null,ai=!1,ii=null;function li(e,t){var n=Is(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 oi(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,ni=e,ri=sa(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ni=e,ri=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ya?{id:Xa,overflow:Ka}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Is(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ni=e,ri=null,!0);default:return!1}}function ui(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function si(e){if(ai){var t=ri;if(t){var n=t;if(!oi(e,t)){if(ui(e))throw Error(i(418));t=sa(n.nextSibling);var r=ni;t&&oi(e,t)?li(r,n):(e.flags=-4097&e.flags|2,ai=!1,ni=e)}}else{if(ui(e))throw Error(i(418));e.flags=-4097&e.flags|2,ai=!1,ni=e}}}function ci(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ni=e}function fi(e){if(e!==ni)return!1;if(!ai)return ci(e),ai=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!na(e.type,e.memoizedProps)),t&&(t=ri)){if(ui(e))throw di(),Error(i(418));for(;t;)li(e,t),t=sa(t.nextSibling)}if(ci(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){ri=sa(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ri=null}}else ri=ni?sa(e.stateNode.nextSibling):null;return!0}function di(){for(var e=ri;e;)e=sa(e.nextSibling)}function hi(){ri=ni=null,ai=!1}function pi(e){null===ii?ii=[e]:ii.push(e)}var mi=w.ReactCurrentBatchConfig;function vi(e,t){if(e&&e.defaultProps){for(var n in t=A({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var yi=Ea(null),gi=null,bi=null,wi=null;function ki(){wi=bi=gi=null}function Si(e){var t=yi.current;Ca(yi),e._currentValue=t}function xi(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 Ei(e,t){gi=e,wi=bi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(wo=!0),e.firstContext=null)}function Ci(e){var t=e._currentValue;if(wi!==e)if(e={context:e,memoizedValue:t,next:null},null===bi){if(null===gi)throw Error(i(308));bi=e,gi.dependencies={lanes:0,firstContext:e}}else bi=bi.next=e;return t}var Ni=null;function ji(e){null===Ni?Ni=[e]:Ni.push(e)}function Ri(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,ji(t)):(n.next=a.next,a.next=n),t.interleaved=n,Ti(e,r)}function Ti(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 _i=!1;function Ii(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Pi(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 Oi(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&Ru)){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,Ti(e,n)}return null===(a=r.interleaved)?(t.next=t,ji(r)):(t.next=a.next,a.next=t),r.interleaved=t,Ti(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 zi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?a=i=l:i=i.next=l,n=n.next}while(null!==n);null===i?a=i=t:i=i.next=t}else a=i=t;return n={baseState:r.baseState,firstBaseUpdate:a,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 Ai(e,t,n,r){var a=e.updateQueue;_i=!1;var i=a.firstBaseUpdate,l=a.lastBaseUpdate,o=a.shared.pending;if(null!==o){a.shared.pending=null;var u=o,s=u.next;u.next=null,null===l?i=s:l.next=s,l=u;var c=e.alternate;null!==c&&((o=(c=c.updateQueue).lastBaseUpdate)!==l&&(null===o?c.firstBaseUpdate=s:o.next=s,c.lastBaseUpdate=u))}if(null!==i){var f=a.baseState;for(l=0,c=s=u=null,o=i;;){var d=o.lane,h=o.eventTime;if((r&d)===d){null!==c&&(c=c.next={eventTime:h,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var p=e,m=o;switch(d=t,h=n,m.tag){case 1:if("function"===typeof(p=m.payload)){f=p.call(h,f,d);break e}f=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null===(d="function"===typeof(p=m.payload)?p.call(h,f,d):p)||void 0===d)break e;f=A({},f,d);break e;case 2:_i=!0}}null!==o.callback&&0!==o.lane&&(e.flags|=64,null===(d=a.effects)?a.effects=[o]:d.push(o))}else h={eventTime:h,lane:d,tag:o.tag,payload:o.payload,callback:o.callback,next:null},null===c?(s=c=h,u=f):c=c.next=h,l|=d;if(null===(o=o.next)){if(null===(o=a.shared.pending))break;o=(d=o).next,d.next=null,a.lastBaseUpdate=d,a.shared.pending=null}}if(null===c&&(u=f),a.baseState=u,a.firstBaseUpdate=s,a.lastBaseUpdate=c,null!==(t=a.shared.interleaved)){a=t;do{l|=a.lane,a=a.next}while(a!==t)}else null===i&&(a.shared.lanes=0);zu|=l,e.lanes=l,e.memoizedState=f}}function Mi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!==typeof a)throw Error(i(191,a));a.call(r)}}}var Fi=(new r.Component).refs;function Ui(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:A({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Bi={isMounted:function(e){return!!(e=e._reactInternals)&&We(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=es(),a=ts(e),i=Li(r,a);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Oi(e,i,a))&&(ns(t,e,a,r),Di(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=es(),a=ts(e),i=Li(r,a);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Oi(e,i,a))&&(ns(t,e,a,r),Di(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=es(),r=ts(e),a=Li(n,r);a.tag=2,void 0!==t&&null!==t&&(a.callback=t),null!==(t=Oi(e,a,r))&&(ns(t,e,r,n),Di(t,e,r))}};function Wi(e,t,n,r,a,i,l){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,l):!t.prototype||!t.prototype.isPureReactComponent||(!ur(n,r)||!ur(a,i))}function qi(e,t,n){var r=!1,a=ja,i=t.contextType;return"object"===typeof i&&null!==i?i=Ci(i):(a=Pa(t)?_a:Ra.current,i=(r=null!==(r=t.contextTypes)&&void 0!==r)?Ia(e,a):ja),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Bi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=i),t}function Hi(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&&Bi.enqueueReplaceState(t,t.state,null)}function Vi(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=Fi,Ii(e);var i=t.contextType;"object"===typeof i&&null!==i?a.context=Ci(i):(i=Pa(t)?_a:Ra.current,a.context=Ia(e,i)),a.state=e.memoizedState,"function"===typeof(i=t.getDerivedStateFromProps)&&(Ui(e,t,i,n),a.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof a.getSnapshotBeforeUpdate||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||(t=a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&Bi.enqueueReplaceState(a,a.state,null),Ai(e,n,a,r),a.state=e.memoizedState),"function"===typeof a.componentDidMount&&(e.flags|=4194308)}function $i(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 a=r,l=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===l?t.ref:(t=function(e){var t=a.refs;t===Fi&&(t=a.refs={}),null===e?delete t[l]:t[l]=e},t._stringRef=l,t)}if("string"!==typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function Gi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Qi(e){return(0,e._init)(e._payload)}function Yi(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 a(e,t){return(e=Ls(e,t)).index=0,e.sibling=null,e}function l(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 o(t){return e&&null===t.alternate&&(t.flags|=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=As(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function s(e,t,n,r){var i=n.type;return i===x?f(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"===typeof i&&null!==i&&i.$$typeof===P&&Qi(i)===t.type)?((r=a(t,n.props)).ref=$i(e,t,n),r.return=e,r):((r=Os(n.type,n.key,n.props,null,e.mode,r)).ref=$i(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=Ms(n,e.mode,r)).return=e,t):((t=a(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=a(t,n)).return=e,t)}function d(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=As(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case k:return(n=Os(t.type,t.key,t.props,null,e.mode,n)).ref=$i(e,null,t),n.return=e,n;case S:return(t=Ms(t,e.mode,n)).return=e,t;case P:return d(e,(0,t._init)(t._payload),n)}if(te(t)||D(t))return(t=Ds(t,e.mode,n,null)).return=e,t;Gi(e,t)}return null}function h(e,t,n,r){var a=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==a?null:u(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case k:return n.key===a?s(e,t,n,r):null;case S:return n.key===a?c(e,t,n,r):null;case P:return h(e,t,(a=n._init)(n._payload),r)}if(te(n)||D(n))return null!==a?null:f(e,t,n,r,null);Gi(e,n)}return null}function p(e,t,n,r,a){if("string"===typeof r&&""!==r||"number"===typeof r)return u(t,e=e.get(n)||null,""+r,a);if("object"===typeof r&&null!==r){switch(r.$$typeof){case k:return s(t,e=e.get(null===r.key?n:r.key)||null,r,a);case S:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case P:return p(e,t,n,(0,r._init)(r._payload),a)}if(te(r)||D(r))return f(t,e=e.get(n)||null,r,a,null);Gi(t,r)}return null}function m(a,i,o,u){for(var s=null,c=null,f=i,m=i=0,v=null;null!==f&&m<o.length;m++){f.index>m?(v=f,f=null):v=f.sibling;var y=h(a,f,o[m],u);if(null===y){null===f&&(f=v);break}e&&f&&null===y.alternate&&t(a,f),i=l(y,i,m),null===c?s=y:c.sibling=y,c=y,f=v}if(m===o.length)return n(a,f),ai&&Za(a,m),s;if(null===f){for(;m<o.length;m++)null!==(f=d(a,o[m],u))&&(i=l(f,i,m),null===c?s=f:c.sibling=f,c=f);return ai&&Za(a,m),s}for(f=r(a,f);m<o.length;m++)null!==(v=p(f,a,m,o[m],u))&&(e&&null!==v.alternate&&f.delete(null===v.key?m:v.key),i=l(v,i,m),null===c?s=v:c.sibling=v,c=v);return e&&f.forEach((function(e){return t(a,e)})),ai&&Za(a,m),s}function v(a,o,u,s){var c=D(u);if("function"!==typeof c)throw Error(i(150));if(null==(u=c.call(u)))throw Error(i(151));for(var f=c=null,m=o,v=o=0,y=null,g=u.next();null!==m&&!g.done;v++,g=u.next()){m.index>v?(y=m,m=null):y=m.sibling;var b=h(a,m,g.value,s);if(null===b){null===m&&(m=y);break}e&&m&&null===b.alternate&&t(a,m),o=l(b,o,v),null===f?c=b:f.sibling=b,f=b,m=y}if(g.done)return n(a,m),ai&&Za(a,v),c;if(null===m){for(;!g.done;v++,g=u.next())null!==(g=d(a,g.value,s))&&(o=l(g,o,v),null===f?c=g:f.sibling=g,f=g);return ai&&Za(a,v),c}for(m=r(a,m);!g.done;v++,g=u.next())null!==(g=p(m,a,v,g.value,s))&&(e&&null!==g.alternate&&m.delete(null===g.key?v:g.key),o=l(g,o,v),null===f?c=g:f.sibling=g,f=g);return e&&m.forEach((function(e){return t(a,e)})),ai&&Za(a,v),c}return function e(r,i,l,u){if("object"===typeof l&&null!==l&&l.type===x&&null===l.key&&(l=l.props.children),"object"===typeof l&&null!==l){switch(l.$$typeof){case k:e:{for(var s=l.key,c=i;null!==c;){if(c.key===s){if((s=l.type)===x){if(7===c.tag){n(r,c.sibling),(i=a(c,l.props.children)).return=r,r=i;break e}}else if(c.elementType===s||"object"===typeof s&&null!==s&&s.$$typeof===P&&Qi(s)===c.type){n(r,c.sibling),(i=a(c,l.props)).ref=$i(r,c,l),i.return=r,r=i;break e}n(r,c);break}t(r,c),c=c.sibling}l.type===x?((i=Ds(l.props.children,r.mode,u,l.key)).return=r,r=i):((u=Os(l.type,l.key,l.props,null,r.mode,u)).ref=$i(r,i,l),u.return=r,r=u)}return o(r);case S:e:{for(c=l.key;null!==i;){if(i.key===c){if(4===i.tag&&i.stateNode.containerInfo===l.containerInfo&&i.stateNode.implementation===l.implementation){n(r,i.sibling),(i=a(i,l.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Ms(l,r.mode,u)).return=r,r=i}return o(r);case P:return e(r,i,(c=l._init)(l._payload),u)}if(te(l))return m(r,i,l,u);if(D(l))return v(r,i,l,u);Gi(r,l)}return"string"===typeof l&&""!==l||"number"===typeof l?(l=""+l,null!==i&&6===i.tag?(n(r,i.sibling),(i=a(i,l)).return=r,r=i):(n(r,i),(i=As(l,r.mode,u)).return=r,r=i),o(r)):n(r,i)}}var Xi=Yi(!0),Ki=Yi(!1),Zi={},Ji=Ea(Zi),el=Ea(Zi),tl=Ea(Zi);function nl(e){if(e===Zi)throw Error(i(174));return e}function rl(e,t){switch(Na(tl,t),Na(el,e),Na(Ji,Zi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ue(null,"");break;default:t=ue(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ca(Ji),Na(Ji,t)}function al(){Ca(Ji),Ca(el),Ca(tl)}function il(e){nl(tl.current);var t=nl(Ji.current),n=ue(t,e.type);t!==n&&(Na(el,e),Na(Ji,n))}function ll(e){el.current===e&&(Ca(Ji),Ca(el))}var ol=Ea(0);function ul(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 sl=[];function cl(){for(var e=0;e<sl.length;e++)sl[e]._workInProgressVersionPrimary=null;sl.length=0}var fl=w.ReactCurrentDispatcher,dl=w.ReactCurrentBatchConfig,hl=0,pl=null,ml=null,vl=null,yl=!1,gl=!1,bl=0,wl=0;function kl(){throw Error(i(321))}function Sl(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!or(e[n],t[n]))return!1;return!0}function xl(e,t,n,r,a,l){if(hl=l,pl=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fl.current=null===e||null===e.memoizedState?lo:oo,e=n(r,a),gl){l=0;do{if(gl=!1,bl=0,25<=l)throw Error(i(301));l+=1,vl=ml=null,t.updateQueue=null,fl.current=uo,e=n(r,a)}while(gl)}if(fl.current=io,t=null!==ml&&null!==ml.next,hl=0,vl=ml=pl=null,yl=!1,t)throw Error(i(300));return e}function El(){var e=0!==bl;return bl=0,e}function Cl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===vl?pl.memoizedState=vl=e:vl=vl.next=e,vl}function Nl(){if(null===ml){var e=pl.alternate;e=null!==e?e.memoizedState:null}else e=ml.next;var t=null===vl?pl.memoizedState:vl.next;if(null!==t)vl=t,ml=e;else{if(null===e)throw Error(i(310));e={memoizedState:(ml=e).memoizedState,baseState:ml.baseState,baseQueue:ml.baseQueue,queue:ml.queue,next:null},null===vl?pl.memoizedState=vl=e:vl=vl.next=e}return vl}function jl(e,t){return"function"===typeof t?t(e):t}function Rl(e){var t=Nl(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=ml,a=r.baseQueue,l=n.pending;if(null!==l){if(null!==a){var o=a.next;a.next=l.next,l.next=o}r.baseQueue=a=l,n.pending=null}if(null!==a){l=a.next,r=r.baseState;var u=o=null,s=null,c=l;do{var f=c.lane;if((hl&f)===f)null!==s&&(s=s.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var d={lane:f,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===s?(u=s=d,o=r):s=s.next=d,pl.lanes|=f,zu|=f}c=c.next}while(null!==c&&c!==l);null===s?o=r:s.next=u,or(r,t.memoizedState)||(wo=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=s,n.lastRenderedState=r}if(null!==(e=n.interleaved)){a=e;do{l=a.lane,pl.lanes|=l,zu|=l,a=a.next}while(a!==e)}else null===a&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Tl(e){var t=Nl(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,l=t.memoizedState;if(null!==a){n.pending=null;var o=a=a.next;do{l=e(l,o.action),o=o.next}while(o!==a);or(l,t.memoizedState)||(wo=!0),t.memoizedState=l,null===t.baseQueue&&(t.baseState=l),n.lastRenderedState=l}return[l,r]}function _l(){}function Il(e,t){var n=pl,r=Nl(),a=t(),l=!or(r.memoizedState,a);if(l&&(r.memoizedState=a,wo=!0),r=r.queue,ql(Ol.bind(null,n,r,e),[e]),r.getSnapshot!==t||l||null!==vl&&1&vl.memoizedState.tag){if(n.flags|=2048,Ml(9,Ll.bind(null,n,r,a,t),void 0,null),null===Tu)throw Error(i(349));0!==(30&hl)||Pl(n,t,a)}return a}function Pl(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=pl.updateQueue)?(t={lastEffect:null,stores:null},pl.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ll(e,t,n,r){t.value=n,t.getSnapshot=r,Dl(t)&&zl(e)}function Ol(e,t,n){return n((function(){Dl(t)&&zl(e)}))}function Dl(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!or(e,n)}catch(r){return!0}}function zl(e){var t=Ti(e,1);null!==t&&ns(t,e,1,-1)}function Al(e){var t=Cl();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:jl,lastRenderedState:e},t.queue=e,e=e.dispatch=to.bind(null,pl,e),[t.memoizedState,e]}function Ml(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=pl.updateQueue)?(t={lastEffect:null,stores:null},pl.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 Fl(){return Nl().memoizedState}function Ul(e,t,n,r){var a=Cl();pl.flags|=e,a.memoizedState=Ml(1|t,n,void 0,void 0===r?null:r)}function Bl(e,t,n,r){var a=Nl();r=void 0===r?null:r;var i=void 0;if(null!==ml){var l=ml.memoizedState;if(i=l.destroy,null!==r&&Sl(r,l.deps))return void(a.memoizedState=Ml(t,n,i,r))}pl.flags|=e,a.memoizedState=Ml(1|t,n,i,r)}function Wl(e,t){return Ul(8390656,8,e,t)}function ql(e,t){return Bl(2048,8,e,t)}function Hl(e,t){return Bl(4,2,e,t)}function Vl(e,t){return Bl(4,4,e,t)}function $l(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 Gl(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Bl(4,4,$l.bind(null,t,e),n)}function Ql(){}function Yl(e,t){var n=Nl();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Sl(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Xl(e,t){var n=Nl();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Sl(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Kl(e,t,n){return 0===(21&hl)?(e.baseState&&(e.baseState=!1,wo=!0),e.memoizedState=n):(or(n,t)||(n=mt(),pl.lanes|=n,zu|=n,e.baseState=!0),t)}function Zl(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=dl.transition;dl.transition={};try{e(!1),t()}finally{bt=n,dl.transition=r}}function Jl(){return Nl().memoizedState}function eo(e,t,n){var r=ts(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},no(e))ro(t,n);else if(null!==(n=Ri(e,t,n,r))){ns(n,e,r,es()),ao(n,t,r)}}function to(e,t,n){var r=ts(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(no(e))ro(t,a);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var l=t.lastRenderedState,o=i(l,n);if(a.hasEagerState=!0,a.eagerState=o,or(o,l)){var u=t.interleaved;return null===u?(a.next=a,ji(t)):(a.next=u.next,u.next=a),void(t.interleaved=a)}}catch(s){}null!==(n=Ri(e,t,a,r))&&(ns(n,e,r,a=es()),ao(n,t,r))}}function no(e){var t=e.alternate;return e===pl||null!==t&&t===pl}function ro(e,t){gl=yl=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ao(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,gt(e,n)}}var io={readContext:Ci,useCallback:kl,useContext:kl,useEffect:kl,useImperativeHandle:kl,useInsertionEffect:kl,useLayoutEffect:kl,useMemo:kl,useReducer:kl,useRef:kl,useState:kl,useDebugValue:kl,useDeferredValue:kl,useTransition:kl,useMutableSource:kl,useSyncExternalStore:kl,useId:kl,unstable_isNewReconciler:!1},lo={readContext:Ci,useCallback:function(e,t){return Cl().memoizedState=[e,void 0===t?null:t],e},useContext:Ci,useEffect:Wl,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Ul(4194308,4,$l.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ul(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ul(4,2,e,t)},useMemo:function(e,t){var n=Cl();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Cl();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=eo.bind(null,pl,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Cl().memoizedState=e},useState:Al,useDebugValue:Ql,useDeferredValue:function(e){return Cl().memoizedState=e},useTransition:function(){var e=Al(!1),t=e[0];return e=Zl.bind(null,e[1]),Cl().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=pl,a=Cl();if(ai){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Tu)throw Error(i(349));0!==(30&hl)||Pl(r,t,n)}a.memoizedState=n;var l={value:n,getSnapshot:t};return a.queue=l,Wl(Ol.bind(null,r,l,e),[e]),r.flags|=2048,Ml(9,Ll.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=Cl(),t=Tu.identifierPrefix;if(ai){var n=Ka;t=":"+t+"R"+(n=(Xa&~(1<<32-lt(Xa)-1)).toString(32)+n),0<(n=bl++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=wl++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},oo={readContext:Ci,useCallback:Yl,useContext:Ci,useEffect:ql,useImperativeHandle:Gl,useInsertionEffect:Hl,useLayoutEffect:Vl,useMemo:Xl,useReducer:Rl,useRef:Fl,useState:function(){return Rl(jl)},useDebugValue:Ql,useDeferredValue:function(e){return Kl(Nl(),ml.memoizedState,e)},useTransition:function(){return[Rl(jl)[0],Nl().memoizedState]},useMutableSource:_l,useSyncExternalStore:Il,useId:Jl,unstable_isNewReconciler:!1},uo={readContext:Ci,useCallback:Yl,useContext:Ci,useEffect:ql,useImperativeHandle:Gl,useInsertionEffect:Hl,useLayoutEffect:Vl,useMemo:Xl,useReducer:Tl,useRef:Fl,useState:function(){return Tl(jl)},useDebugValue:Ql,useDeferredValue:function(e){var t=Nl();return null===ml?t.memoizedState=e:Kl(t,ml.memoizedState,e)},useTransition:function(){return[Tl(jl)[0],Nl().memoizedState]},useMutableSource:_l,useSyncExternalStore:Il,useId:Jl,unstable_isNewReconciler:!1};function so(e,t){try{var n="",r=t;do{n+=B(r),r=r.return}while(r);var a=n}catch(i){a="\nError generating stack: "+i.message+"\n"+i.stack}return{value:e,source:t,stack:a,digest:null}}function co(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fo(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var ho="function"===typeof WeakMap?WeakMap:Map;function po(e,t,n){(n=Li(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Hu||(Hu=!0,Vu=r),fo(0,t)},n}function mo(e,t,n){(n=Li(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){fo(0,t)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(n.callback=function(){fo(0,t),"function"!==typeof r&&(null===$u?$u=new Set([this]):$u.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function vo(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new ho;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=Cs.bind(null,e,t,n),t.then(e,e))}function yo(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 go(e,t,n,r,a){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,Oi(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=a,e)}var bo=w.ReactCurrentOwner,wo=!1;function ko(e,t,n,r){t.child=null===e?Ki(t,null,n,r):Xi(t,e.child,n,r)}function So(e,t,n,r,a){n=n.render;var i=t.ref;return Ei(t,a),r=xl(e,t,n,r,i,a),n=El(),null===e||wo?(ai&&n&&ei(t),t.flags|=1,ko(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Ho(e,t,a))}function xo(e,t,n,r,a){if(null===e){var i=n.type;return"function"!==typeof i||Ps(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Os(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Eo(e,t,i,r,a))}if(i=e.child,0===(e.lanes&a)){var l=i.memoizedProps;if((n=null!==(n=n.compare)?n:ur)(l,r)&&e.ref===t.ref)return Ho(e,t,a)}return t.flags|=1,(e=Ls(i,r)).ref=t.ref,e.return=t,t.child=e}function Eo(e,t,n,r,a){if(null!==e){var i=e.memoizedProps;if(ur(i,r)&&e.ref===t.ref){if(wo=!1,t.pendingProps=r=i,0===(e.lanes&a))return t.lanes=e.lanes,Ho(e,t,a);0!==(131072&e.flags)&&(wo=!0)}}return jo(e,t,n,r,a)}function Co(e,t,n){var r=t.pendingProps,a=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},Na(Lu,Pu),Pu|=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,Na(Lu,Pu),Pu|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Na(Lu,Pu),Pu|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Na(Lu,Pu),Pu|=r;return ko(e,t,a,n),t.child}function No(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function jo(e,t,n,r,a){var i=Pa(n)?_a:Ra.current;return i=Ia(t,i),Ei(t,a),n=xl(e,t,n,r,i,a),r=El(),null===e||wo?(ai&&r&&ei(t),t.flags|=1,ko(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Ho(e,t,a))}function Ro(e,t,n,r,a){if(Pa(n)){var i=!0;za(t)}else i=!1;if(Ei(t,a),null===t.stateNode)qo(e,t),qi(t,n,r),Vi(t,n,r,a),r=!0;else if(null===e){var l=t.stateNode,o=t.memoizedProps;l.props=o;var u=l.context,s=n.contextType;"object"===typeof s&&null!==s?s=Ci(s):s=Ia(t,s=Pa(n)?_a:Ra.current);var c=n.getDerivedStateFromProps,f="function"===typeof c||"function"===typeof l.getSnapshotBeforeUpdate;f||"function"!==typeof l.UNSAFE_componentWillReceiveProps&&"function"!==typeof l.componentWillReceiveProps||(o!==r||u!==s)&&Hi(t,l,r,s),_i=!1;var d=t.memoizedState;l.state=d,Ai(t,r,l,a),u=t.memoizedState,o!==r||d!==u||Ta.current||_i?("function"===typeof c&&(Ui(t,n,c,r),u=t.memoizedState),(o=_i||Wi(t,n,o,r,d,u,s))?(f||"function"!==typeof l.UNSAFE_componentWillMount&&"function"!==typeof l.componentWillMount||("function"===typeof l.componentWillMount&&l.componentWillMount(),"function"===typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount()),"function"===typeof l.componentDidMount&&(t.flags|=4194308)):("function"===typeof l.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),l.props=r,l.state=u,l.context=s,r=o):("function"===typeof l.componentDidMount&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,Pi(e,t),o=t.memoizedProps,s=t.type===t.elementType?o:vi(t.type,o),l.props=s,f=t.pendingProps,d=l.context,"object"===typeof(u=n.contextType)&&null!==u?u=Ci(u):u=Ia(t,u=Pa(n)?_a:Ra.current);var h=n.getDerivedStateFromProps;(c="function"===typeof h||"function"===typeof l.getSnapshotBeforeUpdate)||"function"!==typeof l.UNSAFE_componentWillReceiveProps&&"function"!==typeof l.componentWillReceiveProps||(o!==f||d!==u)&&Hi(t,l,r,u),_i=!1,d=t.memoizedState,l.state=d,Ai(t,r,l,a);var p=t.memoizedState;o!==f||d!==p||Ta.current||_i?("function"===typeof h&&(Ui(t,n,h,r),p=t.memoizedState),(s=_i||Wi(t,n,s,r,d,p,u)||!1)?(c||"function"!==typeof l.UNSAFE_componentWillUpdate&&"function"!==typeof l.componentWillUpdate||("function"===typeof l.componentWillUpdate&&l.componentWillUpdate(r,p,u),"function"===typeof l.UNSAFE_componentWillUpdate&&l.UNSAFE_componentWillUpdate(r,p,u)),"function"===typeof l.componentDidUpdate&&(t.flags|=4),"function"===typeof l.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof l.componentDidUpdate||o===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof l.getSnapshotBeforeUpdate||o===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),l.props=r,l.state=p,l.context=u,r=s):("function"!==typeof l.componentDidUpdate||o===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof l.getSnapshotBeforeUpdate||o===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return To(e,t,n,r,i,a)}function To(e,t,n,r,a,i){No(e,t);var l=0!==(128&t.flags);if(!r&&!l)return a&&Aa(t,n,!1),Ho(e,t,i);r=t.stateNode,bo.current=t;var o=l&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&l?(t.child=Xi(t,e.child,null,i),t.child=Xi(t,null,o,i)):ko(e,t,o,i),t.memoizedState=r.state,a&&Aa(t,n,!0),t.child}function _o(e){var t=e.stateNode;t.pendingContext?Oa(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Oa(0,t.context,!1),rl(e,t.containerInfo)}function Io(e,t,n,r,a){return hi(),pi(a),t.flags|=256,ko(e,t,n,r),t.child}var Po,Lo,Oo,Do={dehydrated:null,treeContext:null,retryLane:0};function zo(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ao(e,t,n){var r,a=t.pendingProps,l=ol.current,o=!1,u=0!==(128&t.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&0!==(2&l)),r?(o=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(l|=1),Na(ol,1&l),null===e)return si(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(u=a.children,e=a.fallback,o?(a=t.mode,o=t.child,u={mode:"hidden",children:u},0===(1&a)&&null!==o?(o.childLanes=0,o.pendingProps=u):o=zs(u,a,0,null),e=Ds(e,a,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=zo(n),t.memoizedState=Do,e):Mo(t,u));if(null!==(l=e.memoizedState)&&null!==(r=l.dehydrated))return function(e,t,n,r,a,l,o){if(n)return 256&t.flags?(t.flags&=-257,Fo(e,t,o,r=co(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(l=r.fallback,a=t.mode,r=zs({mode:"visible",children:r.children},a,0,null),(l=Ds(l,a,o,null)).flags|=2,r.return=t,l.return=t,r.sibling=l,t.child=r,0!==(1&t.mode)&&Xi(t,e.child,null,o),t.child.memoizedState=zo(o),t.memoizedState=Do,l);if(0===(1&t.mode))return Fo(e,t,o,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var u=r.dgst;return r=u,Fo(e,t,o,r=co(l=Error(i(419)),r,void 0))}if(u=0!==(o&e.childLanes),wo||u){if(null!==(r=Tu)){switch(o&-o){case 4:a=2;break;case 16:a=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:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=0!==(a&(r.suspendedLanes|o))?0:a)&&a!==l.retryLane&&(l.retryLane=a,Ti(e,a),ns(r,e,a,-1))}return ms(),Fo(e,t,o,r=co(Error(i(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=js.bind(null,e),a._reactRetry=t,null):(e=l.treeContext,ri=sa(a.nextSibling),ni=t,ai=!0,ii=null,null!==e&&(Ga[Qa++]=Xa,Ga[Qa++]=Ka,Ga[Qa++]=Ya,Xa=e.id,Ka=e.overflow,Ya=t),(t=Mo(t,r.children)).flags|=4096,t)}(e,t,u,a,r,l,n);if(o){o=a.fallback,u=t.mode,r=(l=e.child).sibling;var s={mode:"hidden",children:a.children};return 0===(1&u)&&t.child!==l?((a=t.child).childLanes=0,a.pendingProps=s,t.deletions=null):(a=Ls(l,s)).subtreeFlags=14680064&l.subtreeFlags,null!==r?o=Ls(r,o):(o=Ds(o,u,n,null)).flags|=2,o.return=t,a.return=t,a.sibling=o,t.child=a,a=o,o=t.child,u=null===(u=e.child.memoizedState)?zo(n):{baseLanes:u.baseLanes|n,cachePool:null,transitions:u.transitions},o.memoizedState=u,o.childLanes=e.childLanes&~n,t.memoizedState=Do,a}return e=(o=e.child).sibling,a=Ls(o,{mode:"visible",children:a.children}),0===(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function Mo(e,t){return(t=zs({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Fo(e,t,n,r){return null!==r&&pi(r),Xi(t,e.child,null,n),(e=Mo(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Uo(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),xi(e.return,t,n)}function Bo(e,t,n,r,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=a)}function Wo(e,t,n){var r=t.pendingProps,a=r.revealOrder,i=r.tail;if(ko(e,t,r.children,n),0!==(2&(r=ol.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&&Uo(e,n,t);else if(19===e.tag)Uo(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(Na(ol,r),0===(1&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===ul(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),Bo(t,!1,a,n,i);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===ul(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}Bo(t,!0,n,null,i);break;case"together":Bo(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function qo(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ho(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),zu|=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 Vo(e,t){if(!ai)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 $o(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=14680064&a.subtreeFlags,r|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Go(e,t,n){var r=t.pendingProps;switch(ti(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return $o(t),null;case 1:case 17:return Pa(t.type)&&La(),$o(t),null;case 3:return r=t.stateNode,al(),Ca(Ta),Ca(Ra),cl(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fi(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==ii&&(ls(ii),ii=null))),$o(t),null;case 5:ll(t);var a=nl(tl.current);if(n=t.type,null!==e&&null!=t.stateNode)Lo(e,t,n,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return $o(t),null}if(e=nl(Ji.current),fi(t)){r=t.stateNode,n=t.type;var l=t.memoizedProps;switch(r[da]=t,r[ha]=l,e=0!==(1&t.mode),n){case"dialog":Fr("cancel",r),Fr("close",r);break;case"iframe":case"object":case"embed":Fr("load",r);break;case"video":case"audio":for(a=0;a<Dr.length;a++)Fr(Dr[a],r);break;case"source":Fr("error",r);break;case"img":case"image":case"link":Fr("error",r),Fr("load",r);break;case"details":Fr("toggle",r);break;case"input":X(r,l),Fr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!l.multiple},Fr("invalid",r);break;case"textarea":ae(r,l),Fr("invalid",r)}for(var u in ge(n,l),a=null,l)if(l.hasOwnProperty(u)){var s=l[u];"children"===u?"string"===typeof s?r.textContent!==s&&(!0!==l.suppressHydrationWarning&&Zr(r.textContent,s,e),a=["children",s]):"number"===typeof s&&r.textContent!==""+s&&(!0!==l.suppressHydrationWarning&&Zr(r.textContent,s,e),a=["children",""+s]):o.hasOwnProperty(u)&&null!=s&&"onScroll"===u&&Fr("scroll",r)}switch(n){case"input":$(r),J(r,l,!0);break;case"textarea":$(r),le(r);break;case"select":case"option":break;default:"function"===typeof l.onClick&&(r.onclick=Jr)}r=a,t.updateQueue=r,null!==r&&(t.flags|=4)}else{u=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=oe(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),"select"===n&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[da]=t,e[ha]=r,Po(e,t),t.stateNode=e;e:{switch(u=be(n,r),n){case"dialog":Fr("cancel",e),Fr("close",e),a=r;break;case"iframe":case"object":case"embed":Fr("load",e),a=r;break;case"video":case"audio":for(a=0;a<Dr.length;a++)Fr(Dr[a],e);a=r;break;case"source":Fr("error",e),a=r;break;case"img":case"image":case"link":Fr("error",e),Fr("load",e),a=r;break;case"details":Fr("toggle",e),a=r;break;case"input":X(e,r),a=Y(e,r),Fr("invalid",e);break;case"option":default:a=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=A({},r,{value:void 0}),Fr("invalid",e);break;case"textarea":ae(e,r),a=re(e,r),Fr("invalid",e)}for(l in ge(n,a),s=a)if(s.hasOwnProperty(l)){var c=s[l];"style"===l?ve(e,c):"dangerouslySetInnerHTML"===l?null!=(c=c?c.__html:void 0)&&fe(e,c):"children"===l?"string"===typeof c?("textarea"!==n||""!==c)&&de(e,c):"number"===typeof c&&de(e,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(o.hasOwnProperty(l)?null!=c&&"onScroll"===l&&Fr("scroll",e):null!=c&&b(e,l,c,u))}switch(n){case"input":$(e),J(e,r,!1);break;case"textarea":$(e),le(e);break;case"option":null!=r.value&&e.setAttribute("value",""+H(r.value));break;case"select":e.multiple=!!r.multiple,null!=(l=r.value)?ne(e,!!r.multiple,l,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof a.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 $o(t),null;case 6:if(e&&null!=t.stateNode)Oo(0,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(i(166));if(n=nl(tl.current),nl(Ji.current),fi(t)){if(r=t.stateNode,n=t.memoizedProps,r[da]=t,(l=r.nodeValue!==n)&&null!==(e=ni))switch(e.tag){case 3:Zr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Zr(r.nodeValue,n,0!==(1&e.mode))}l&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[da]=t,t.stateNode=r}return $o(t),null;case 13:if(Ca(ol),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ai&&null!==ri&&0!==(1&t.mode)&&0===(128&t.flags))di(),hi(),t.flags|=98560,l=!1;else if(l=fi(t),null!==r&&null!==r.dehydrated){if(null===e){if(!l)throw Error(i(318));if(!(l=null!==(l=t.memoizedState)?l.dehydrated:null))throw Error(i(317));l[da]=t}else hi(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;$o(t),l=!1}else null!==ii&&(ls(ii),ii=null),l=!0;if(!l)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&ol.current)?0===Ou&&(Ou=3):ms())),null!==t.updateQueue&&(t.flags|=4),$o(t),null);case 4:return al(),null===e&&Wr(t.stateNode.containerInfo),$o(t),null;case 10:return Si(t.type._context),$o(t),null;case 19:if(Ca(ol),null===(l=t.memoizedState))return $o(t),null;if(r=0!==(128&t.flags),null===(u=l.rendering))if(r)Vo(l,!1);else{if(0!==Ou||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(u=ul(e))){for(t.flags|=128,Vo(l,!1),null!==(r=u.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(l=n).flags&=14680066,null===(u=l.alternate)?(l.childLanes=0,l.lanes=e,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=u.childLanes,l.lanes=u.lanes,l.child=u.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=u.memoizedProps,l.memoizedState=u.memoizedState,l.updateQueue=u.updateQueue,l.type=u.type,e=u.dependencies,l.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Na(ol,1&ol.current|2),t.child}e=e.sibling}null!==l.tail&&Ke()>Wu&&(t.flags|=128,r=!0,Vo(l,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ul(u))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Vo(l,!0),null===l.tail&&"hidden"===l.tailMode&&!u.alternate&&!ai)return $o(t),null}else 2*Ke()-l.renderingStartTime>Wu&&1073741824!==n&&(t.flags|=128,r=!0,Vo(l,!1),t.lanes=4194304);l.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=l.last)?n.sibling=u:t.child=u,l.last=u)}return null!==l.tail?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=Ke(),t.sibling=null,n=ol.current,Na(ol,r?1&n|2:1&n),t):($o(t),null);case 22:case 23:return fs(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&Pu)&&($o(t),6&t.subtreeFlags&&(t.flags|=8192)):$o(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Qo(e,t){switch(ti(t),t.tag){case 1:return Pa(t.type)&&La(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return al(),Ca(Ta),Ca(Ra),cl(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ll(t),null;case 13:if(Ca(ol),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 Ca(ol),null;case 4:return al(),null;case 10:return Si(t.type._context),null;case 22:case 23:return fs(),null;default:return null}}Po=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}},Lo=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,nl(Ji.current);var i,l=null;switch(n){case"input":a=Y(e,a),r=Y(e,r),l=[];break;case"select":a=A({},a,{value:void 0}),r=A({},r,{value:void 0}),l=[];break;case"textarea":a=re(e,a),r=re(e,r),l=[];break;default:"function"!==typeof a.onClick&&"function"===typeof r.onClick&&(e.onclick=Jr)}for(c in ge(n,r),n=null,a)if(!r.hasOwnProperty(c)&&a.hasOwnProperty(c)&&null!=a[c])if("style"===c){var u=a[c];for(i in u)u.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(o.hasOwnProperty(c)?l||(l=[]):(l=l||[]).push(c,null));for(c in r){var s=r[c];if(u=null!=a?a[c]:void 0,r.hasOwnProperty(c)&&s!==u&&(null!=s||null!=u))if("style"===c)if(u){for(i in u)!u.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in s)s.hasOwnProperty(i)&&u[i]!==s[i]&&(n||(n={}),n[i]=s[i])}else n||(l||(l=[]),l.push(c,n)),n=s;else"dangerouslySetInnerHTML"===c?(s=s?s.__html:void 0,u=u?u.__html:void 0,null!=s&&u!==s&&(l=l||[]).push(c,s)):"children"===c?"string"!==typeof s&&"number"!==typeof s||(l=l||[]).push(c,""+s):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(o.hasOwnProperty(c)?(null!=s&&"onScroll"===c&&Fr("scroll",e),l||u===s||(l=[])):(l=l||[]).push(c,s))}n&&(l=l||[]).push("style",n);var c=l;(t.updateQueue=c)&&(t.flags|=4)}},Oo=function(e,t,n,r){n!==r&&(t.flags|=4)};var Yo=!1,Xo=!1,Ko="function"===typeof WeakSet?WeakSet:Set,Zo=null;function Jo(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){Es(e,t,r)}else n.current=null}function eu(e,t,n){try{n()}catch(r){Es(e,t,r)}}var tu=!1;function nu(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var i=a.destroy;a.destroy=void 0,void 0!==i&&eu(t,n,i)}a=a.next}while(a!==r)}}function ru(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function au(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function iu(e){var t=e.alternate;null!==t&&(e.alternate=null,iu(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[da],delete t[ha],delete t[ma],delete t[va],delete t[ya])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function lu(e){return 5===e.tag||3===e.tag||4===e.tag}function ou(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||lu(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function uu(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(uu(e,t,n),e=e.sibling;null!==e;)uu(e,t,n),e=e.sibling}function su(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(su(e,t,n),e=e.sibling;null!==e;)su(e,t,n),e=e.sibling}var cu=null,fu=!1;function du(e,t,n){for(n=n.child;null!==n;)hu(e,t,n),n=n.sibling}function hu(e,t,n){if(it&&"function"===typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(at,n)}catch(o){}switch(n.tag){case 5:Xo||Jo(n,t);case 6:var r=cu,a=fu;cu=null,du(e,t,n),fu=a,null!==(cu=r)&&(fu?(e=cu,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):cu.removeChild(n.stateNode));break;case 18:null!==cu&&(fu?(e=cu,n=n.stateNode,8===e.nodeType?ua(e.parentNode,n):1===e.nodeType&&ua(e,n),Wt(e)):ua(cu,n.stateNode));break;case 4:r=cu,a=fu,cu=n.stateNode.containerInfo,fu=!0,du(e,t,n),cu=r,fu=a;break;case 0:case 11:case 14:case 15:if(!Xo&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){a=r=r.next;do{var i=a,l=i.destroy;i=i.tag,void 0!==l&&(0!==(2&i)||0!==(4&i))&&eu(n,t,l),a=a.next}while(a!==r)}du(e,t,n);break;case 1:if(!Xo&&(Jo(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(o){Es(n,t,o)}du(e,t,n);break;case 21:du(e,t,n);break;case 22:1&n.mode?(Xo=(r=Xo)||null!==n.memoizedState,du(e,t,n),Xo=r):du(e,t,n);break;default:du(e,t,n)}}function pu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ko),t.forEach((function(t){var r=Rs.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function mu(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];try{var l=e,o=t,u=o;e:for(;null!==u;){switch(u.tag){case 5:cu=u.stateNode,fu=!1;break e;case 3:case 4:cu=u.stateNode.containerInfo,fu=!0;break e}u=u.return}if(null===cu)throw Error(i(160));hu(l,o,a),cu=null,fu=!1;var s=a.alternate;null!==s&&(s.return=null),a.return=null}catch(c){Es(a,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)vu(t,e),t=t.sibling}function vu(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(mu(t,e),yu(e),4&r){try{nu(3,e,e.return),ru(3,e)}catch(v){Es(e,e.return,v)}try{nu(5,e,e.return)}catch(v){Es(e,e.return,v)}}break;case 1:mu(t,e),yu(e),512&r&&null!==n&&Jo(n,n.return);break;case 5:if(mu(t,e),yu(e),512&r&&null!==n&&Jo(n,n.return),32&e.flags){var a=e.stateNode;try{de(a,"")}catch(v){Es(e,e.return,v)}}if(4&r&&null!=(a=e.stateNode)){var l=e.memoizedProps,o=null!==n?n.memoizedProps:l,u=e.type,s=e.updateQueue;if(e.updateQueue=null,null!==s)try{"input"===u&&"radio"===l.type&&null!=l.name&&K(a,l),be(u,o);var c=be(u,l);for(o=0;o<s.length;o+=2){var f=s[o],d=s[o+1];"style"===f?ve(a,d):"dangerouslySetInnerHTML"===f?fe(a,d):"children"===f?de(a,d):b(a,f,d,c)}switch(u){case"input":Z(a,l);break;case"textarea":ie(a,l);break;case"select":var h=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!l.multiple;var p=l.value;null!=p?ne(a,!!l.multiple,p,!1):h!==!!l.multiple&&(null!=l.defaultValue?ne(a,!!l.multiple,l.defaultValue,!0):ne(a,!!l.multiple,l.multiple?[]:"",!1))}a[ha]=l}catch(v){Es(e,e.return,v)}}break;case 6:if(mu(t,e),yu(e),4&r){if(null===e.stateNode)throw Error(i(162));a=e.stateNode,l=e.memoizedProps;try{a.nodeValue=l}catch(v){Es(e,e.return,v)}}break;case 3:if(mu(t,e),yu(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Wt(t.containerInfo)}catch(v){Es(e,e.return,v)}break;case 4:default:mu(t,e),yu(e);break;case 13:mu(t,e),yu(e),8192&(a=e.child).flags&&(l=null!==a.memoizedState,a.stateNode.isHidden=l,!l||null!==a.alternate&&null!==a.alternate.memoizedState||(Bu=Ke())),4&r&&pu(e);break;case 22:if(f=null!==n&&null!==n.memoizedState,1&e.mode?(Xo=(c=Xo)||f,mu(t,e),Xo=c):mu(t,e),yu(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!f&&0!==(1&e.mode))for(Zo=e,f=e.child;null!==f;){for(d=Zo=f;null!==Zo;){switch(p=(h=Zo).child,h.tag){case 0:case 11:case 14:case 15:nu(4,h,h.return);break;case 1:Jo(h,h.return);var m=h.stateNode;if("function"===typeof m.componentWillUnmount){r=h,n=h.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(v){Es(r,n,v)}}break;case 5:Jo(h,h.return);break;case 22:if(null!==h.memoizedState){ku(d);continue}}null!==p?(p.return=h,Zo=p):ku(d)}f=f.sibling}e:for(f=null,d=e;;){if(5===d.tag){if(null===f){f=d;try{a=d.stateNode,c?"function"===typeof(l=a.style).setProperty?l.setProperty("display","none","important"):l.display="none":(u=d.stateNode,o=void 0!==(s=d.memoizedProps.style)&&null!==s&&s.hasOwnProperty("display")?s.display:null,u.style.display=me("display",o))}catch(v){Es(e,e.return,v)}}}else if(6===d.tag){if(null===f)try{d.stateNode.nodeValue=c?"":d.memoizedProps}catch(v){Es(e,e.return,v)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;f===d&&(f=null),d=d.return}f===d&&(f=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:mu(t,e),yu(e),4&r&&pu(e);case 21:}}function yu(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(lu(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var a=r.stateNode;32&r.flags&&(de(a,""),r.flags&=-33),su(e,ou(e),a);break;case 3:case 4:var l=r.stateNode.containerInfo;uu(e,ou(e),l);break;default:throw Error(i(161))}}catch(o){Es(e,e.return,o)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function gu(e,t,n){Zo=e,bu(e,t,n)}function bu(e,t,n){for(var r=0!==(1&e.mode);null!==Zo;){var a=Zo,i=a.child;if(22===a.tag&&r){var l=null!==a.memoizedState||Yo;if(!l){var o=a.alternate,u=null!==o&&null!==o.memoizedState||Xo;o=Yo;var s=Xo;if(Yo=l,(Xo=u)&&!s)for(Zo=a;null!==Zo;)u=(l=Zo).child,22===l.tag&&null!==l.memoizedState?Su(a):null!==u?(u.return=l,Zo=u):Su(a);for(;null!==i;)Zo=i,bu(i,t,n),i=i.sibling;Zo=a,Yo=o,Xo=s}wu(e)}else 0!==(8772&a.subtreeFlags)&&null!==i?(i.return=a,Zo=i):wu(e)}}function wu(e){for(;null!==Zo;){var t=Zo;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Xo||ru(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Xo)if(null===n)r.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:vi(t.type,n.memoizedProps);r.componentDidUpdate(a,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var l=t.updateQueue;null!==l&&Mi(t,l,r);break;case 3:var o=t.updateQueue;if(null!==o){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Mi(t,o,n)}break;case 5:var u=t.stateNode;if(null===n&&4&t.flags){n=u;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var f=c.memoizedState;if(null!==f){var d=f.dehydrated;null!==d&&Wt(d)}}}break;default:throw Error(i(163))}Xo||512&t.flags&&au(t)}catch(h){Es(t,t.return,h)}}if(t===e){Zo=null;break}if(null!==(n=t.sibling)){n.return=t.return,Zo=n;break}Zo=t.return}}function ku(e){for(;null!==Zo;){var t=Zo;if(t===e){Zo=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Zo=n;break}Zo=t.return}}function Su(e){for(;null!==Zo;){var t=Zo;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ru(4,t)}catch(u){Es(t,n,u)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var a=t.return;try{r.componentDidMount()}catch(u){Es(t,a,u)}}var i=t.return;try{au(t)}catch(u){Es(t,i,u)}break;case 5:var l=t.return;try{au(t)}catch(u){Es(t,l,u)}}}catch(u){Es(t,t.return,u)}if(t===e){Zo=null;break}var o=t.sibling;if(null!==o){o.return=t.return,Zo=o;break}Zo=t.return}}var xu,Eu=Math.ceil,Cu=w.ReactCurrentDispatcher,Nu=w.ReactCurrentOwner,ju=w.ReactCurrentBatchConfig,Ru=0,Tu=null,_u=null,Iu=0,Pu=0,Lu=Ea(0),Ou=0,Du=null,zu=0,Au=0,Mu=0,Fu=null,Uu=null,Bu=0,Wu=1/0,qu=null,Hu=!1,Vu=null,$u=null,Gu=!1,Qu=null,Yu=0,Xu=0,Ku=null,Zu=-1,Ju=0;function es(){return 0!==(6&Ru)?Ke():-1!==Zu?Zu:Zu=Ke()}function ts(e){return 0===(1&e.mode)?1:0!==(2&Ru)&&0!==Iu?Iu&-Iu:null!==mi.transition?(0===Ju&&(Ju=mt()),Ju):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Xt(e.type)}function ns(e,t,n,r){if(50<Xu)throw Xu=0,Ku=null,Error(i(185));yt(e,n,r),0!==(2&Ru)&&e===Tu||(e===Tu&&(0===(2&Ru)&&(Au|=n),4===Ou&&os(e,Iu)),rs(e,r),1===n&&0===Ru&&0===(1&t.mode)&&(Wu=Ke()+500,Fa&&Wa()))}function rs(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,i=e.pendingLanes;0<i;){var l=31-lt(i),o=1<<l,u=a[l];-1===u?0!==(o&n)&&0===(o&r)||(a[l]=ht(o,t)):u<=t&&(e.expiredLanes|=o),i&=~o}}(e,t);var r=dt(e,e===Tu?Iu:0);if(0===r)null!==n&&Qe(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Qe(n),1===t)0===e.tag?function(e){Fa=!0,Ba(e)}(us.bind(null,e)):Ba(us.bind(null,e)),la((function(){0===(6&Ru)&&Wa()})),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=Ts(n,as.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function as(e,t){if(Zu=-1,Ju=0,0!==(6&Ru))throw Error(i(327));var n=e.callbackNode;if(Ss()&&e.callbackNode!==n)return null;var r=dt(e,e===Tu?Iu:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=vs(e,r);else{t=r;var a=Ru;Ru|=2;var l=ps();for(Tu===e&&Iu===t||(qu=null,Wu=Ke()+500,ds(e,t));;)try{gs();break}catch(u){hs(e,u)}ki(),Cu.current=l,Ru=a,null!==_u?t=0:(Tu=null,Iu=0,t=Ou)}if(0!==t){if(2===t&&(0!==(a=pt(e))&&(r=a,t=is(e,a))),1===t)throw n=Du,ds(e,0),os(e,r),rs(e,Ke()),n;if(6===t)os(e,r);else{if(a=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 a=n[r],i=a.getSnapshot;a=a.value;try{if(!or(i(),a))return!1}catch(o){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}(a)&&(2===(t=vs(e,r))&&(0!==(l=pt(e))&&(r=l,t=is(e,l))),1===t))throw n=Du,ds(e,0),os(e,r),rs(e,Ke()),n;switch(e.finishedWork=a,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:ks(e,Uu,qu);break;case 3:if(os(e,r),(130023424&r)===r&&10<(t=Bu+500-Ke())){if(0!==dt(e,0))break;if(((a=e.suspendedLanes)&r)!==r){es(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ra(ks.bind(null,e,Uu,qu),t);break}ks(e,Uu,qu);break;case 4:if(os(e,r),(4194240&r)===r)break;for(t=e.eventTimes,a=-1;0<r;){var o=31-lt(r);l=1<<o,(o=t[o])>a&&(a=o),r&=~l}if(r=a,10<(r=(120>(r=Ke()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Eu(r/1960))-r)){e.timeoutHandle=ra(ks.bind(null,e,Uu,qu),r);break}ks(e,Uu,qu);break;default:throw Error(i(329))}}}return rs(e,Ke()),e.callbackNode===n?as.bind(null,e):null}function is(e,t){var n=Fu;return e.current.memoizedState.isDehydrated&&(ds(e,t).flags|=256),2!==(e=vs(e,t))&&(t=Uu,Uu=n,null!==t&&ls(t)),e}function ls(e){null===Uu?Uu=e:Uu.push.apply(Uu,e)}function os(e,t){for(t&=~Mu,t&=~Au,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-lt(t),r=1<<n;e[n]=-1,t&=~r}}function us(e){if(0!==(6&Ru))throw Error(i(327));Ss();var t=dt(e,0);if(0===(1&t))return rs(e,Ke()),null;var n=vs(e,t);if(0!==e.tag&&2===n){var r=pt(e);0!==r&&(t=r,n=is(e,r))}if(1===n)throw n=Du,ds(e,0),os(e,t),rs(e,Ke()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ks(e,Uu,qu),rs(e,Ke()),null}function ss(e,t){var n=Ru;Ru|=1;try{return e(t)}finally{0===(Ru=n)&&(Wu=Ke()+500,Fa&&Wa())}}function cs(e){null!==Qu&&0===Qu.tag&&0===(6&Ru)&&Ss();var t=Ru;Ru|=1;var n=ju.transition,r=bt;try{if(ju.transition=null,bt=1,e)return e()}finally{bt=r,ju.transition=n,0===(6&(Ru=t))&&Wa()}}function fs(){Pu=Lu.current,Ca(Lu)}function ds(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,aa(n)),null!==_u)for(n=_u.return;null!==n;){var r=n;switch(ti(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&La();break;case 3:al(),Ca(Ta),Ca(Ra),cl();break;case 5:ll(r);break;case 4:al();break;case 13:case 19:Ca(ol);break;case 10:Si(r.type._context);break;case 22:case 23:fs()}n=n.return}if(Tu=e,_u=e=Ls(e.current,null),Iu=Pu=t,Ou=0,Du=null,Mu=Au=zu=0,Uu=Fu=null,null!==Ni){for(t=0;t<Ni.length;t++)if(null!==(r=(n=Ni[t]).interleaved)){n.interleaved=null;var a=r.next,i=n.pending;if(null!==i){var l=i.next;i.next=a,r.next=l}n.pending=r}Ni=null}return e}function hs(e,t){for(;;){var n=_u;try{if(ki(),fl.current=io,yl){for(var r=pl.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}yl=!1}if(hl=0,vl=ml=pl=null,gl=!1,bl=0,Nu.current=null,null===n||null===n.return){Ou=1,Du=t,_u=null;break}e:{var l=e,o=n.return,u=n,s=t;if(t=Iu,u.flags|=32768,null!==s&&"object"===typeof s&&"function"===typeof s.then){var c=s,f=u,d=f.tag;if(0===(1&f.mode)&&(0===d||11===d||15===d)){var h=f.alternate;h?(f.updateQueue=h.updateQueue,f.memoizedState=h.memoizedState,f.lanes=h.lanes):(f.updateQueue=null,f.memoizedState=null)}var p=yo(o);if(null!==p){p.flags&=-257,go(p,o,u,0,t),1&p.mode&&vo(l,c,t),s=c;var m=(t=p).updateQueue;if(null===m){var v=new Set;v.add(s),t.updateQueue=v}else m.add(s);break e}if(0===(1&t)){vo(l,c,t),ms();break e}s=Error(i(426))}else if(ai&&1&u.mode){var y=yo(o);if(null!==y){0===(65536&y.flags)&&(y.flags|=256),go(y,o,u,0,t),pi(so(s,u));break e}}l=s=so(s,u),4!==Ou&&(Ou=2),null===Fu?Fu=[l]:Fu.push(l),l=o;do{switch(l.tag){case 3:l.flags|=65536,t&=-t,l.lanes|=t,zi(l,po(0,s,t));break e;case 1:u=s;var g=l.type,b=l.stateNode;if(0===(128&l.flags)&&("function"===typeof g.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===$u||!$u.has(b)))){l.flags|=65536,t&=-t,l.lanes|=t,zi(l,mo(l,u,t));break e}}l=l.return}while(null!==l)}ws(n)}catch(w){t=w,_u===n&&null!==n&&(_u=n=n.return);continue}break}}function ps(){var e=Cu.current;return Cu.current=io,null===e?io:e}function ms(){0!==Ou&&3!==Ou&&2!==Ou||(Ou=4),null===Tu||0===(268435455&zu)&&0===(268435455&Au)||os(Tu,Iu)}function vs(e,t){var n=Ru;Ru|=2;var r=ps();for(Tu===e&&Iu===t||(qu=null,ds(e,t));;)try{ys();break}catch(a){hs(e,a)}if(ki(),Ru=n,Cu.current=r,null!==_u)throw Error(i(261));return Tu=null,Iu=0,Ou}function ys(){for(;null!==_u;)bs(_u)}function gs(){for(;null!==_u&&!Ye();)bs(_u)}function bs(e){var t=xu(e.alternate,e,Pu);e.memoizedProps=e.pendingProps,null===t?ws(e):_u=t,Nu.current=null}function ws(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Go(n,t,Pu)))return void(_u=n)}else{if(null!==(n=Qo(n,t)))return n.flags&=32767,void(_u=n);if(null===e)return Ou=6,void(_u=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(_u=t);_u=t=e}while(null!==t);0===Ou&&(Ou=5)}function ks(e,t,n){var r=bt,a=ju.transition;try{ju.transition=null,bt=1,function(e,t,n,r){do{Ss()}while(null!==Qu);if(0!==(6&Ru))throw Error(i(327));n=e.finishedWork;var a=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 l=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 a=31-lt(n),i=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~i}}(e,l),e===Tu&&(_u=Tu=null,Iu=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Gu||(Gu=!0,Ts(tt,(function(){return Ss(),null}))),l=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||l){l=ju.transition,ju.transition=null;var o=bt;bt=1;var u=Ru;Ru|=4,Nu.current=null,function(e,t){if(ea=Ht,hr(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 a=r.anchorOffset,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch(k){n=null;break e}var o=0,u=-1,s=-1,c=0,f=0,d=e,h=null;t:for(;;){for(var p;d!==n||0!==a&&3!==d.nodeType||(u=o+a),d!==l||0!==r&&3!==d.nodeType||(s=o+r),3===d.nodeType&&(o+=d.nodeValue.length),null!==(p=d.firstChild);)h=d,d=p;for(;;){if(d===e)break t;if(h===n&&++c===a&&(u=o),h===l&&++f===r&&(s=o),null!==(p=d.nextSibling))break;h=(d=h).parentNode}d=p}n=-1===u||-1===s?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(ta={focusedElem:e,selectionRange:n},Ht=!1,Zo=t;null!==Zo;)if(e=(t=Zo).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Zo=e;else for(;null!==Zo;){t=Zo;try{var m=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!==m){var v=m.memoizedProps,y=m.memoizedState,g=t.stateNode,b=g.getSnapshotBeforeUpdate(t.elementType===t.type?v:vi(t.type,v),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(k){Es(t,t.return,k)}if(null!==(e=t.sibling)){e.return=t.return,Zo=e;break}Zo=t.return}m=tu,tu=!1}(e,n),vu(n,e),pr(ta),Ht=!!ea,ta=ea=null,e.current=n,gu(n,e,a),Xe(),Ru=u,bt=o,ju.transition=l}else e.current=n;if(Gu&&(Gu=!1,Qu=e,Yu=a),0===(l=e.pendingLanes)&&($u=null),function(e){if(it&&"function"===typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(at,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),rs(e,Ke()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r((a=t[n]).value,{componentStack:a.stack,digest:a.digest});if(Hu)throw Hu=!1,e=Vu,Vu=null,e;0!==(1&Yu)&&0!==e.tag&&Ss(),0!==(1&(l=e.pendingLanes))?e===Ku?Xu++:(Xu=0,Ku=e):Xu=0,Wa()}(e,t,n,r)}finally{ju.transition=a,bt=r}return null}function Ss(){if(null!==Qu){var e=wt(Yu),t=ju.transition,n=bt;try{if(ju.transition=null,bt=16>e?16:e,null===Qu)var r=!1;else{if(e=Qu,Qu=null,Yu=0,0!==(6&Ru))throw Error(i(331));var a=Ru;for(Ru|=4,Zo=e.current;null!==Zo;){var l=Zo,o=l.child;if(0!==(16&Zo.flags)){var u=l.deletions;if(null!==u){for(var s=0;s<u.length;s++){var c=u[s];for(Zo=c;null!==Zo;){var f=Zo;switch(f.tag){case 0:case 11:case 15:nu(8,f,l)}var d=f.child;if(null!==d)d.return=f,Zo=d;else for(;null!==Zo;){var h=(f=Zo).sibling,p=f.return;if(iu(f),f===c){Zo=null;break}if(null!==h){h.return=p,Zo=h;break}Zo=p}}}var m=l.alternate;if(null!==m){var v=m.child;if(null!==v){m.child=null;do{var y=v.sibling;v.sibling=null,v=y}while(null!==v)}}Zo=l}}if(0!==(2064&l.subtreeFlags)&&null!==o)o.return=l,Zo=o;else e:for(;null!==Zo;){if(0!==(2048&(l=Zo).flags))switch(l.tag){case 0:case 11:case 15:nu(9,l,l.return)}var g=l.sibling;if(null!==g){g.return=l.return,Zo=g;break e}Zo=l.return}}var b=e.current;for(Zo=b;null!==Zo;){var w=(o=Zo).child;if(0!==(2064&o.subtreeFlags)&&null!==w)w.return=o,Zo=w;else e:for(o=b;null!==Zo;){if(0!==(2048&(u=Zo).flags))try{switch(u.tag){case 0:case 11:case 15:ru(9,u)}}catch(S){Es(u,u.return,S)}if(u===o){Zo=null;break e}var k=u.sibling;if(null!==k){k.return=u.return,Zo=k;break e}Zo=u.return}}if(Ru=a,Wa(),it&&"function"===typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(at,e)}catch(S){}r=!0}return r}finally{bt=n,ju.transition=t}}return!1}function xs(e,t,n){e=Oi(e,t=po(0,t=so(n,t),1),1),t=es(),null!==e&&(yt(e,1,t),rs(e,t))}function Es(e,t,n){if(3===e.tag)xs(e,e,n);else for(;null!==t;){if(3===t.tag){xs(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===$u||!$u.has(r))){t=Oi(t,e=mo(t,e=so(n,e),1),1),e=es(),null!==t&&(yt(t,1,e),rs(t,e));break}}t=t.return}}function Cs(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=es(),e.pingedLanes|=e.suspendedLanes&n,Tu===e&&(Iu&n)===n&&(4===Ou||3===Ou&&(130023424&Iu)===Iu&&500>Ke()-Bu?ds(e,0):Mu|=n),rs(e,t)}function Ns(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ct,0===(130023424&(ct<<=1))&&(ct=4194304)));var n=es();null!==(e=Ti(e,t))&&(yt(e,t,n),rs(e,n))}function js(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Ns(e,n)}function Rs(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),Ns(e,n)}function Ts(e,t){return Ge(e,t)}function _s(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 Is(e,t,n,r){return new _s(e,t,n,r)}function Ps(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ls(e,t){var n=e.alternate;return null===n?((n=Is(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 Os(e,t,n,r,a,l){var o=2;if(r=e,"function"===typeof e)Ps(e)&&(o=1);else if("string"===typeof e)o=5;else e:switch(e){case x:return Ds(n.children,a,l,t);case E:o=8,a|=8;break;case C:return(e=Is(12,n,t,2|a)).elementType=C,e.lanes=l,e;case T:return(e=Is(13,n,t,a)).elementType=T,e.lanes=l,e;case _:return(e=Is(19,n,t,a)).elementType=_,e.lanes=l,e;case L:return zs(n,a,l,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case N:o=10;break e;case j:o=9;break e;case R:o=11;break e;case I:o=14;break e;case P:o=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Is(o,n,t,a)).elementType=e,t.type=r,t.lanes=l,t}function Ds(e,t,n,r){return(e=Is(7,e,r,t)).lanes=n,e}function zs(e,t,n,r){return(e=Is(22,e,r,t)).elementType=L,e.lanes=n,e.stateNode={isHidden:!1},e}function As(e,t,n){return(e=Is(6,e,null,t)).lanes=n,e}function Ms(e,t,n){return(t=Is(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Fs(e,t,n,r,a){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=vt(0),this.expirationTimes=vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vt(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function Us(e,t,n,r,a,i,l,o,u){return e=new Fs(e,t,n,o,u),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Is(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ii(i),e}function Bs(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Ws(e){if(!e)return ja;e:{if(We(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(Pa(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(Pa(n))return Da(e,n,t)}return t}function qs(e,t,n,r,a,i,l,o,u){return(e=Us(n,r,!0,e,0,i,0,o,u)).context=Ws(null),n=e.current,(i=Li(r=es(),a=ts(n))).callback=void 0!==t&&null!==t?t:null,Oi(n,i,a),e.current.lanes=a,yt(e,a,r),rs(e,r),e}function Hs(e,t,n,r){var a=t.current,i=es(),l=ts(a);return n=Ws(n),null===t.context?t.context=n:t.pendingContext=n,(t=Li(i,l)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Oi(a,t,l))&&(ns(e,a,l,i),Di(e,a,l)),l}function Vs(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 Gs(e,t){$s(e,t),(e=e.alternate)&&$s(e,t)}xu=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ta.current)wo=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return wo=!1,function(e,t,n){switch(t.tag){case 3:_o(t),hi();break;case 5:il(t);break;case 1:Pa(t.type)&&za(t);break;case 4:rl(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;Na(yi,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Na(ol,1&ol.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Ao(e,t,n):(Na(ol,1&ol.current),null!==(e=Ho(e,t,n))?e.sibling:null);Na(ol,1&ol.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return Wo(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),Na(ol,ol.current),r)break;return null;case 22:case 23:return t.lanes=0,Co(e,t,n)}return Ho(e,t,n)}(e,t,n);wo=0!==(131072&e.flags)}else wo=!1,ai&&0!==(1048576&t.flags)&&Ja(t,$a,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;qo(e,t),e=t.pendingProps;var a=Ia(t,Ra.current);Ei(t,n),a=xl(null,t,r,e,a,n);var l=El();return t.flags|=1,"object"===typeof a&&null!==a&&"function"===typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Pa(r)?(l=!0,za(t)):l=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,Ii(t),a.updater=Bi,t.stateNode=a,a._reactInternals=t,Vi(t,r,e,n),t=To(null,t,r,!0,l,n)):(t.tag=0,ai&&l&&ei(t),ko(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(qo(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"===typeof e)return Ps(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===R)return 11;if(e===I)return 14}return 2}(r),e=vi(r,e),a){case 0:t=jo(null,t,r,e,n);break e;case 1:t=Ro(null,t,r,e,n);break e;case 11:t=So(null,t,r,e,n);break e;case 14:t=xo(null,t,r,vi(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,jo(e,t,r,a=t.elementType===r?a:vi(r,a),n);case 1:return r=t.type,a=t.pendingProps,Ro(e,t,r,a=t.elementType===r?a:vi(r,a),n);case 3:e:{if(_o(t),null===e)throw Error(i(387));r=t.pendingProps,a=(l=t.memoizedState).element,Pi(e,t),Ai(t,r,null,n);var o=t.memoizedState;if(r=o.element,l.isDehydrated){if(l={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=l,t.memoizedState=l,256&t.flags){t=Io(e,t,r,n,a=so(Error(i(423)),t));break e}if(r!==a){t=Io(e,t,r,n,a=so(Error(i(424)),t));break e}for(ri=sa(t.stateNode.containerInfo.firstChild),ni=t,ai=!0,ii=null,n=Ki(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(hi(),r===a){t=Ho(e,t,n);break e}ko(e,t,r,n)}t=t.child}return t;case 5:return il(t),null===e&&si(t),r=t.type,a=t.pendingProps,l=null!==e?e.memoizedProps:null,o=a.children,na(r,a)?o=null:null!==l&&na(r,l)&&(t.flags|=32),No(e,t),ko(e,t,o,n),t.child;case 6:return null===e&&si(t),null;case 13:return Ao(e,t,n);case 4:return rl(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Xi(t,null,r,n):ko(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,So(e,t,r,a=t.elementType===r?a:vi(r,a),n);case 7:return ko(e,t,t.pendingProps,n),t.child;case 8:case 12:return ko(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,l=t.memoizedProps,o=a.value,Na(yi,r._currentValue),r._currentValue=o,null!==l)if(or(l.value,o)){if(l.children===a.children&&!Ta.current){t=Ho(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var u=l.dependencies;if(null!==u){o=l.child;for(var s=u.firstContext;null!==s;){if(s.context===r){if(1===l.tag){(s=Li(-1,n&-n)).tag=2;var c=l.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}}l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),xi(l.return,n,t),u.lanes|=n;break}s=s.next}}else if(10===l.tag)o=l.type===t.type?null:l.child;else if(18===l.tag){if(null===(o=l.return))throw Error(i(341));o.lanes|=n,null!==(u=o.alternate)&&(u.lanes|=n),xi(o,n,t),o=l.sibling}else o=l.child;if(null!==o)o.return=l;else for(o=l;null!==o;){if(o===t){o=null;break}if(null!==(l=o.sibling)){l.return=o.return,o=l;break}o=o.return}l=o}ko(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,Ei(t,n),r=r(a=Ci(a)),t.flags|=1,ko(e,t,r,n),t.child;case 14:return a=vi(r=t.type,t.pendingProps),xo(e,t,r,a=vi(r.type,a),n);case 15:return Eo(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:vi(r,a),qo(e,t),t.tag=1,Pa(r)?(e=!0,za(t)):e=!1,Ei(t,n),qi(t,r,a),Vi(t,r,a,n),To(null,t,r,!0,e,n);case 19:return Wo(e,t,n);case 22:return Co(e,t,n)}throw Error(i(156,t.tag))};var Qs="function"===typeof reportError?reportError:function(e){console.error(e)};function Ys(e){this._internalRoot=e}function Xs(e){this._internalRoot=e}function Ks(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Zs(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,a){var i=n._reactRootContainer;if(i){var l=i;if("function"===typeof a){var o=a;a=function(){var e=Vs(l);o.call(e)}}Hs(t,l,e,a)}else l=function(e,t,n,r,a){if(a){if("function"===typeof r){var i=r;r=function(){var e=Vs(l);i.call(e)}}var l=qs(t,r,e,0,null,!1,0,"",Js);return e._reactRootContainer=l,e[pa]=l.current,Wr(8===e.nodeType?e.parentNode:e),cs(),l}for(;a=e.lastChild;)e.removeChild(a);if("function"===typeof r){var o=r;r=function(){var e=Vs(u);o.call(e)}}var u=Us(e,0,!1,null,0,!1,0,"",Js);return e._reactRootContainer=u,e[pa]=u.current,Wr(8===e.nodeType?e.parentNode:e),cs((function(){Hs(t,u,n,r)})),u}(n,t,e,a,r);return Vs(l)}Xs.prototype.render=Ys.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));Hs(e,t,null,null)},Xs.prototype.unmount=Ys.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;cs((function(){Hs(null,e,null,null)})),t[pa]=null}},Xs.prototype.unstable_scheduleHydration=function(e){if(e){var t=Et();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Lt.length&&0!==t&&t<Lt[n].priority;n++);Lt.splice(n,0,e),0===n&&At(e)}},kt=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),rs(t,Ke()),0===(6&Ru)&&(Wu=Ke()+500,Wa()))}break;case 13:cs((function(){var t=Ti(e,1);if(null!==t){var n=es();ns(t,e,1,n)}})),Gs(e,1)}},St=function(e){if(13===e.tag){var t=Ti(e,134217728);if(null!==t)ns(t,e,134217728,es());Gs(e,134217728)}},xt=function(e){if(13===e.tag){var t=ts(e),n=Ti(e,t);if(null!==n)ns(n,e,t,es());Gs(e,t)}},Et=function(){return bt},Ct=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},Se=function(e,t,n){switch(t){case"input":if(Z(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 a=ka(r);if(!a)throw Error(i(90));G(r),Z(r,a)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Re=ss,Te=cs;var tc={usingClientEntryPoint:!1,Events:[ba,wa,ka,Ne,je,ss]},nc={findFiberByHostInstance:ga,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=Ve(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 ac=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ac.isDisabled&&ac.supportsFiber)try{at=ac.inject(rc),it=ac}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(!Ks(t))throw Error(i(200));return Bs(e,t,null,n)},t.createRoot=function(e,t){if(!Ks(e))throw Error(i(299));var n=!1,r="",a=Qs;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=Us(e,1,!1,null,0,n,0,r,a),e[pa]=t.current,Wr(8===e.nodeType?e.parentNode:e),new Ys(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=null===(e=Ve(t))?null:e.stateNode},t.flushSync=function(e){return cs(e)},t.hydrate=function(e,t,n){if(!Zs(t))throw Error(i(200));return ec(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Ks(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,a=!1,l="",o=Qs;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(l=n.identifierPrefix),void 0!==n.onRecoverableError&&(o=n.onRecoverableError)),t=qs(t,null,e,1,null!=n?n:null,a,0,l,o),e[pa]=t.current,Wr(e),r)for(e=0;e<r.length;e++)a=(a=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new Xs(t)},t.render=function(e,t,n){if(!Zs(t))throw Error(i(200));return ec(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Zs(e))throw Error(i(40));return!!e._reactRootContainer&&(cs((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[pa]=null}))})),!0)},t.unstable_batchedUpdates=ss,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Zs(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){var r=n(164);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},164:function(e,t,n){!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(463)},374:function(e,t,n){var r=n(791),a=Symbol.for("react.element"),i=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,n){var r,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)l.call(t,r)&&!u.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:a,type:e,key:s,ref:c,props:i,_owner:o.current}}t.Fragment=i,t.jsx=s,t.jsxs=s},117:function(e,t){var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),u=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.iterator;var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,v={};function y(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||p}function g(){}function b(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||p}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,m(w,y.prototype),w.isPureReactComponent=!0;var k=Array.isArray,S=Object.prototype.hasOwnProperty,x={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,r){var a,i={},l=null,o=null;if(null!=t)for(a in void 0!==t.ref&&(o=t.ref),void 0!==t.key&&(l=""+t.key),t)S.call(t,a)&&!E.hasOwnProperty(a)&&(i[a]=t[a]);var u=arguments.length-2;if(1===u)i.children=r;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(a in u=e.defaultProps)void 0===i[a]&&(i[a]=u[a]);return{$$typeof:n,type:e,key:l,ref:o,props:i,_owner:x.current}}function N(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var j=/\/+/g;function R(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 T(e,t,a,i,l){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var u=!1;if(null===e)u=!0;else switch(o){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case n:case r:u=!0}}if(u)return l=l(u=e),e=""===i?"."+R(u,0):i,k(l)?(a="",null!=e&&(a=e.replace(j,"$&/")+"/"),T(l,t,a,"",(function(e){return e}))):null!=l&&(N(l)&&(l=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(l,a+(!l.key||u&&u.key===l.key?"":(""+l.key).replace(j,"$&/")+"/")+e)),t.push(l)),1;if(u=0,i=""===i?".":i+":",k(e))for(var s=0;s<e.length;s++){var c=i+R(o=e[s],s);u+=T(o,t,a,c,l)}else if(c=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e),"function"===typeof c)for(e=c.call(e),s=0;!(o=e.next()).done;)u+=T(o=o.value,t,a,c=i+R(o,s++),l);else if("object"===o)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return u}function _(e,t,n){if(null==e)return e;var r=[],a=0;return T(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function I(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 P={current:null},L={transition:null},O={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:L,ReactCurrentOwner:x};t.Children={map:_,forEach:function(e,t,n){_(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return _(e,(function(){t++})),t},toArray:function(e){return _(e,(function(e){return e}))||[]},only:function(e){if(!N(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=a,t.Profiler=l,t.PureComponent=b,t.StrictMode=i,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=O,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 a=m({},e.props),i=e.key,l=e.ref,o=e._owner;if(null!=t){if(void 0!==t.ref&&(l=t.ref,o=x.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(s in t)S.call(t,s)&&!E.hasOwnProperty(s)&&(a[s]=void 0===t[s]&&void 0!==u?u[s]:t[s])}var s=arguments.length-2;if(1===s)a.children=r;else if(1<s){u=Array(s);for(var c=0;c<s;c++)u[c]=arguments[c+2];a.children=u}return{$$typeof:n,type:e.type,key:i,ref:l,props:a,_owner:o}},t.createContext=function(e){return(e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:o,_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=N,t.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:I}},t.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=L.transition;L.transition={};try{e()}finally{L.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return P.current.useCallback(e,t)},t.useContext=function(e){return P.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return P.current.useDeferredValue(e)},t.useEffect=function(e,t){return P.current.useEffect(e,t)},t.useId=function(){return P.current.useId()},t.useImperativeHandle=function(e,t,n){return P.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return P.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return P.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return P.current.useMemo(e,t)},t.useReducer=function(e,t,n){return P.current.useReducer(e,t,n)},t.useRef=function(e){return P.current.useRef(e)},t.useState=function(e){return P.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return P.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return P.current.useTransition()},t.version="18.2.0"},791:function(e,t,n){e.exports=n(117)},184:function(e,t,n){e.exports=n(374)},813:function(e,t){function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<i(a,t)))break e;e[r]=t,e[n]=a,n=r}}function r(e){return 0===e.length?null:e[0]}function a(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,a=e.length,l=a>>>1;r<l;){var o=2*(r+1)-1,u=e[o],s=o+1,c=e[s];if(0>i(u,n))s<a&&0>i(c,u)?(e[r]=c,e[s]=n,r=s):(e[r]=u,e[o]=n,r=o);else{if(!(s<a&&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 l=performance;t.unstable_now=function(){return l.now()}}else{var o=Date,u=o.now();t.unstable_now=function(){return o.now()-u}}var s=[],c=[],f=1,d=null,h=3,p=!1,m=!1,v=!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)a(c);else{if(!(t.startTime<=e))break;a(c),t.sortIndex=t.expirationTime,n(s,t)}t=r(c)}}function k(e){if(v=!1,w(e),!m)if(null!==r(s))m=!0,L(S);else{var t=r(c);null!==t&&O(k,t.startTime-e)}}function S(e,n){m=!1,v&&(v=!1,g(N),N=-1),p=!0;var i=h;try{for(w(n),d=r(s);null!==d&&(!(d.expirationTime>n)||e&&!T());){var l=d.callback;if("function"===typeof l){d.callback=null,h=d.priorityLevel;var o=l(d.expirationTime<=n);n=t.unstable_now(),"function"===typeof o?d.callback=o:d===r(s)&&a(s),w(n)}else a(s);d=r(s)}if(null!==d)var u=!0;else{var f=r(c);null!==f&&O(k,f.startTime-n),u=!1}return u}finally{d=null,h=i,p=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var x,E=!1,C=null,N=-1,j=5,R=-1;function T(){return!(t.unstable_now()-R<j)}function _(){if(null!==C){var e=t.unstable_now();R=e;var n=!0;try{n=C(!0,e)}finally{n?x():(E=!1,C=null)}}else E=!1}if("function"===typeof b)x=function(){b(_)};else if("undefined"!==typeof MessageChannel){var I=new MessageChannel,P=I.port2;I.port1.onmessage=_,x=function(){P.postMessage(null)}}else x=function(){y(_,0)};function L(e){C=e,E||(E=!0,x())}function O(e,n){N=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(){m||p||(m=!0,L(S))},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"):j=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return r(s)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},t.unstable_scheduleCallback=function(e,a,i){var l=t.unstable_now();switch("object"===typeof i&&null!==i?i="number"===typeof(i=i.delay)&&0<i?l+i:l:i=l,e){case 1:var o=-1;break;case 2:o=250;break;case 5:o=1073741823;break;case 4:o=1e4;break;default:o=5e3}return e={id:f++,callback:a,priorityLevel:e,startTime:i,expirationTime:o=i+o,sortIndex:-1},i>l?(e.sortIndex=i,n(c,e),null===r(s)&&e===r(c)&&(v?(g(N),N=-1):v=!0,O(k,i-l))):(e.sortIndex=o,n(s,e),m||p||(m=!0,L(S))),e},t.unstable_shouldYield=T,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},296:function(e,t,n){e.exports=n(813)}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.m=e,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+"."+{787:"ada1a5f8",911:"e40081a5",941:"0c0a870a",984:"b2865733"}[e]+".chunk.js"},n.miniCssF=function(e){},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="botw-hundo-dupl:";n.l=function(r,a,i,l){if(e[r])e[r].push(a);else{var o,u;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){o=f;break}}o||(u=!0,(o=document.createElement("script")).charset="utf-8",o.timeout=120,n.nc&&o.setAttribute("nonce",n.nc),o.setAttribute("data-webpack",t+i),o.src=r),e[r]=[a];var d=function(t,n){o.onerror=o.onload=null,clearTimeout(h);var a=e[r];if(delete e[r],o.parentNode&&o.parentNode.removeChild(o),a&&a.forEach((function(e){return e(n)})),t)return t(n)},h=setTimeout(d.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=d.bind(null,o.onerror),o.onload=d.bind(null,o.onload),u&&document.head.appendChild(o)}}}(),n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="/",function(){var e={179:0};n.f.j=function(t,r){var a=n.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else{var i=new Promise((function(n,r){a=e[t]=[n,r]}));r.push(a[2]=i);var l=n.p+n.u(t),o=new Error;n.l(l,(function(r){if(n.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var i=r&&("load"===r.type?"missing":r.type),l=r&&r.target&&r.target.src;o.message="Loading chunk "+t+" failed.\n("+i+": "+l+")",o.name="ChunkLoadError",o.type=i,o.request=l,a[1](o)}}),"chunk-"+t,t)}};var t=function(t,r){var a,i,l=r[0],o=r[1],u=r[2],s=0;if(l.some((function(t){return 0!==e[t]}))){for(a in o)n.o(o,a)&&(n.m[a]=o[a]);if(u)u(n)}for(t&&t(r);s<l.length;s++)i=l[s],n.o(e,i)&&e[i]&&e[i][0](),e[i]=0},r=self.webpackChunkbotw_hundo_dupl=self.webpackChunkbotw_hundo_dupl||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))}(),function(){var e=n(791),t=n(250);function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}function i(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||a(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i=[],l=!0,o=!1;try{for(n=n.call(e);!(l=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);l=!0);}catch(u){o=!0,a=u}finally{try{l||null==n.return||n.return()}finally{if(o)throw a}}return i}}(e,t)||a(e,t)||function(){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 o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(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,r.key,r)}}function d(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}function p(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function v(e){return v="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},v(e)}function y(e,t){if(t&&("object"===v(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function g(e){var t=function(){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}}();return function(){var n,r=m(e);if(t){var a=m(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return y(this,n)}}var b=function(e,t){var n=[e];return t.forEach((function(e){var t=e.stack,r=e.number;n.push(""+r),n.push(w(t))})),n.join(" ")},w=function(e){return e.item.id},k=function(e){var t=[];return e.forEach((function(e){for(var n=l(e.getStackAndSlotCount(),2),r=n[0],a=n[1],i=0;i<a;i++)t.push(r)})),t},S=function(e){return C(e,["get","cook","add","pickup","buy"])},x=function(e){return C(e,["remove","sell","eat","drop","with"])},E=function(e,t){return e.toLowerCase()===t},C=function(e,t){for(var n=0;n<t.length;n++)if(E(e,t[n]))return!0;return!1},N=function(){function e(){c(this,e)}return d(e,[{key:"getError",value:function(){}},{key:"execute",value:function(e){}}]),e}(),j=function(e){p(n,e);var t=g(n);function n(e){var r;return c(this,n),(r=t.call(this)).stacks=void 0,r.stacks=e,r}return d(n,[{key:"execute",value:function(e){e.initialize(k(this.stacks))}},{key:"getDisplayString",value:function(){return b("Initialize",this.stacks)}}]),n}(N),R=function(e){p(n,e);var t=g(n);function n(){return c(this,n),t.apply(this,arguments)}return d(n,[{key:"execute",value:function(e){e.save()}},{key:"getDisplayString",value:function(){return"Save"}}]),n}(N),T=function(e){p(n,e);var t=g(n);function n(e){var r;return c(this,n),(r=t.call(this)).name=void 0,r.name=e,r}return d(n,[{key:"execute",value:function(e){e.save(this.name)}},{key:"getDisplayString",value:function(){return"Save As ".concat(this.name)}}]),n}(N),_=function(e){p(n,e);var t=g(n);function n(e){var r;return c(this,n),(r=t.call(this)).name=void 0,r.name=e,r}return d(n,[{key:"execute",value:function(e){e.reload(this.name)}},{key:"getDisplayString",value:function(){return"Reload".concat(this.name?" ".concat(this.name):"")}}]),n}(N),I=function(e){p(n,e);var t=g(n);function n(e){var r;return c(this,n),(r=t.call(this)).name=void 0,r.name=e,r}return d(n,[{key:"execute",value:function(e){e.useSaveForNextReload(this.name)}},{key:"getDisplayString",value:function(){return"Use ".concat(this.name)}},{key:"getError",value:function(){return'This command is deprecated. Use "Reload '.concat(this.name,'" directly')}}]),n}(N),P=function(e){p(n,e);var t=g(n);function n(e){var r;return c(this,n),(r=t.call(this)).numToBreak=void 0,r.numToBreak=e,r}return d(n,[{key:"execute",value:function(e){e.breakSlots(this.numToBreak)}},{key:"getDisplayString",value:function(){return"Break ".concat(this.numToBreak," Slots")}}]),n}(N),L=function(e){p(n,e);var t=g(n);function n(e,r){var a;return c(this,n),(a=t.call(this))._verb=void 0,a.stacks=void 0,a._verb=e,a.stacks=r,a}return d(n,[{key:"execute",value:function(e){k(this.stacks).forEach((function(t){return e.obtain(t)}))}}]),n}(N),O=function(e){p(n,e);var t=g(n);function n(e,r,a){var i;return c(this,n),(i=t.call(this))._verb=void 0,i.stacks=void 0,i.slot=void 0,i._verb=e,i.stacks=r,i.slot=a,i}return d(n,[{key:"execute",value:function(e){var t=this;k(this.stacks).forEach((function(n){return e.remove(n,t.slot)}))}}]),n}(N),D=function(e){p(n,e);var t=g(n);function n(e){var r;return c(this,n),(r=t.call(this)).stacks=void 0,r.stacks=e,r}return d(n,[{key:"execute",value:function(e){k(this.stacks).forEach((function(t){e.remove(t,0),e.obtain(t)}))}},{key:"getDisplayString",value:function(){return b("D&P",this.stacks)}}]),n}(N),z=function(e){p(n,e);var t=g(n);function n(e,r,a){var i;return c(this,n),(i=t.call(this)).item=void 0,i.slot=void 0,i.noSlot=void 0,i.item=e,i.slot=r,i.noSlot=a,i}return d(n,[{key:"execute",value:function(e){e.equip(this.item,this.slot)}},{key:"getDisplayString",value:function(){var e=this.noSlot?"":" In Slot ".concat(this.slot+1);return"Equip ".concat(this.item).concat(e)}}]),n}(N),A=function(e){p(n,e);var t=g(n);function n(e,r,a){var i;return c(this,n),(i=t.call(this)).item=void 0,i.slot=void 0,i.noSlot=void 0,i.item=e,i.slot=r,i.noSlot=a,i}return d(n,[{key:"execute",value:function(e){e.unequip(this.item,this.slot)}},{key:"getDisplayString",value:function(){var e=this.noSlot?"":" In Slot ".concat(this.slot+1);return"Unequip ".concat(this.item).concat(e)}}]),n}(N),M=function(e){p(n,e);var t=g(n);function n(e){var r;return c(this,n),(r=t.call(this)).count=void 0,r.count=e,r}return d(n,[{key:"execute",value:function(e){e.shootArrow(this.count)}},{key:"getDisplayString",value:function(){return"Shoot ".concat(this.count," Arrow")}}]),n}(N),F=function(e){p(n,e);var t=g(n);function n(){return c(this,n),t.apply(this,arguments)}return d(n,[{key:"execute",value:function(e){e.closeGame()}},{key:"getDisplayString",value:function(){return"Close Game"}}]),n}(N),U=function(e){p(n,e);var t=g(n);function n(){return c(this,n),t.apply(this,arguments)}return d(n,[{key:"execute",value:function(e){e.syncGameDataWithPouch()}}]),n}(N),B=function(e){p(n,e);var t=g(n);function n(e){var r;return c(this,n),(r=t.call(this)).enter=void 0,r.enter=e,r}return d(n,[{key:"execute",value:function(e){e.setEventide(this.enter)}},{key:"getDisplayString",value:function(){return"".concat(this.enter?"Enter":"Exit"," Eventide")}}]),n}(N),W=function(e){p(n,e);var t=g(n);function n(e,r){var a;return c(this,n),(a=t.call(this)).text=void 0,a.error=void 0,a.text=e,a.error=r,a}return d(n,[{key:"getError",value:function(){return this.error}},{key:"execute",value:function(e){}},{key:"getDisplayString",value:function(){return this.text}}]),n}(N),q=function(e){p(n,e);var t=g(n);function n(){return c(this,n),t.apply(this,arguments)}return d(n,[{key:"execute",value:function(e){}},{key:"getError",value:function(){return"This command is currently not supported"}}]),n}(N);q.Op=5;var H=function(e){p(n,e);var t=g(n);function n(){return c(this,n),t.apply(this,arguments)}return d(n,[{key:"execute",value:function(e){}},{key:"getError",value:function(){return"This command is currently not supported"}}]),n}(N);function V(){V=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function o(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{o({},"")}catch(j){o=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var a=t&&t.prototype instanceof f?t:f,i=Object.create(a.prototype),l=new E(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(a,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===a)throw i;return N()}for(n.method=a,n.arg=i;;){var l=n.delegate;if(l){var o=k(l,n);if(o){if(o===c)continue;return o}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=s(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===c)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,l),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(j){return{type:"throw",arg:j}}}e.wrap=u;var c={};function f(){}function d(){}function h(){}var p={};o(p,a,(function(){return this}));var m=Object.getPrototypeOf,y=m&&m(m(C([])));y&&y!==t&&n.call(y,a)&&(p=y);var g=h.prototype=f.prototype=Object.create(p);function b(e){["next","throw","return"].forEach((function(t){o(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(a,i,l,o){var u=s(e[a],e,i);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==v(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,l,o)}),(function(e){r("throw",e,l,o)})):t.resolve(f).then((function(e){c.value=e,l(c)}),(function(e){return r("throw",e,l,o)}))}o(u.arg)}var a;this._invoke=function(e,n){function i(){return new t((function(t,a){r(e,n,t,a)}))}return a=a?a.then(i,i):i()}}function k(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,k(e,t),"throw"===t.method))return c;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,c;var a=r.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,c):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,c)}function S(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 x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=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 i.next=i}}return{next:N}}function N(){return{value:void 0,done:!0}}return d.prototype=h,o(g,"constructor",h),o(h,"constructor",d),d.displayName=o(h,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,o(e,l,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},b(w.prototype),o(w.prototype,i,(function(){return this})),e.AsyncIterator=w,e.async=function(t,n,r,a,i){void 0===i&&(i=Promise);var l=new w(u(t,n,r,a),i);return e.isGeneratorFunction(n)?l:l.next().then((function(e){return e.done?e.value:l.next()}))},b(g),o(g,l,"Generator"),o(g,a,(function(){return this})),o(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=C,E.prototype={constructor:E,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(x),!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 l.type="throw",l.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var o=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(o&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(o){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)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 a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var i=a;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var l=i?i.completion:{};return l.type=e,l.arg=t,i?(this.method="next",this.next=i.finallyLoc,c):this.complete(l)},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),c},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),x(n),c}},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 a=r.arg;x(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},e}function $(e,t,n,r,a,i,l){try{var o=e[i](l),u=o.value}catch(s){return void n(s)}o.done?t(u):Promise.resolve(u).then(r,a)}function G(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var i=e.apply(t,n);function l(e){$(i,r,a,l,o,"next",e)}function o(e){$(i,r,a,l,o,"throw",e)}l(void 0)}))}}H.Op=6;var Q,Y,X=n(184),K=function(e){var t=e.children;return(0,X.jsxs)("div",{className:"SpecialScreen",style:{textAlign:"center",position:"absolute",top:0,bottom:0,left:0,right:0,backgroundColor:"#010101"},children:[(0,X.jsx)("div",{style:{color:"#ffffff",fontSize:"40pt",position:"absolute",top:"30%",left:"calc( 50% - 40px )",right:"calc( 50% - 40px )",border:"2px solid #ffffff"},children:"!"}),(0,X.jsx)("span",{style:{color:"#ffffff",lineHeight:"100vh",height:"100vh"},children:t})]})},Z=performance?function(e,t){var n=performance.now();t();var r=performance.now()-n;console.log("".concat(e).concat(r.toPrecision(4),"ms"))}:function(e,t){return t()},J=function(e){var t=e.children;return(0,X.jsx)("div",{style:{textAlign:"center",position:"absolute",top:0,bottom:0,left:0,right:0,backgroundColor:"#262626"},children:(0,X.jsx)("span",{style:{color:"#00ffcc",lineHeight:"100vh",height:"100vh"},children:t})})},ee=function(){function e(t,n,r){c(this,e),this.item=void 0,this.life=void 0,this.equipped=void 0,this.item=t,this.life=n,this.equipped=r}return d(e,[{key:"count",get:function(){return this.life}},{key:"durability",get:function(){return this.life/100}},{key:"modify",value:function(t){var n="item"in t?t.item:this.item,r=this.life;return"count"in t?r=t.count:"durability"in t&&(r=t.durability,r*=100),new e(n,r,"equipped"in t?!!t.equipped:this.equipped)}},{key:"modifyMeta",value:function(e){var t={};return"life"in e&&(t=s(s({},t),{},{count:e.life})),"equip"in e&&(t=s(s({},t),{},{equipped:e.equip})),this.modify(t)}},{key:"equals",value:function(e){return this.equalsExceptForEquipped(e)&&this.equipped===e.equipped}},{key:"equalsExceptForEquipped",value:function(e){return this.canStack(e)&&this.life===e.count}},{key:"canStack",value:function(e){return this.item===e.item}}]),e}(),te=function(e,t,n){return new ee(e,100*t,n)};!function(e){e[e.Weapon=0]="Weapon",e[e.Bow=1]="Bow",e[e.Arrow=2]="Arrow",e[e.Shield=3]="Shield",e[e.ArmorUpper=4]="ArmorUpper",e[e.ArmorMiddle=5]="ArmorMiddle",e[e.ArmorLower=6]="ArmorLower",e[e.Material=7]="Material",e[e.Food=8]="Food",e[e.Key=9]="Key",e[e.Flag=-1]="Flag"}(Q||(Q={})),function(e){e[e.Weapon=0]="Weapon",e[e.Bow=1]="Bow",e[e.Shield=3]="Shield",e[e.Armor=4]="Armor",e[e.Material=7]="Material",e[e.Food=8]="Food",e[e.Key=9]="Key",e[e.None=-1]="None"}(Y||(Y={}));var ne,re=function(){return[Y.Weapon,Y.Bow,Y.Shield,Y.Armor,Y.Material,Y.Food,Y.Key]},ae=function(e){switch(e){case Q.Weapon:return Y.Weapon;case Q.Bow:case Q.Arrow:return Y.Bow;case Q.Shield:return Y.Shield;case Q.ArmorUpper:case Q.ArmorMiddle:case Q.ArmorLower:return Y.Armor;case Q.Material:return Y.Material;case Q.Food:return Y.Food;case Q.Key:return Y.Key;default:return Y.None}},ie=(o(ne={},Q.Weapon,0),o(ne,Q.Bow,0),o(ne,Q.Arrow,0),o(ne,Q.Shield,0),o(ne,Q.ArmorUpper,0),o(ne,Q.ArmorMiddle,0),o(ne,Q.ArmorLower,0),o(ne,Q.Material,0),o(ne,Q.Food,0),o(ne,Q.Key,0),ne),le=function(){function e(t,n,r,a,i,l,o){c(this,e),this.id=void 0,this.type=void 0,this.repeatable=void 0,this.stackable=void 0,this.sortOrder=-1,this.image=void 0,this.configuredAnimatedImage=void 0,this.defaultStackFactory=void 0,this.id=t,this.type=n,this.repeatable=r,this.stackable=a,this.image=i,this.configuredAnimatedImage=l,this.defaultStackFactory=o,n!==Q.Flag&&(this.sortOrder=ie[n],ie[n]++)}return d(e,[{key:"tab",get:function(){return ae(this.type)}},{key:"animatedImage",get:function(){return this.configuredAnimatedImage||this.image}},{key:"createDefaultStack",value:function(){return this.defaultStackFactory?this.defaultStackFactory(this):new ee(this,1,!1)}}]),e}(),oe={Slate:"SheikahSlate",Glider:"Paraglider",SpiritOrb:"SpiritOrb",Lotus:"FleetLotusSeeds",SilentPrincess:"SilentPrincess",Honey:"CourserBeeHoney",Acorn:"Acorn",FaroshScale:"FaroshsScale",FaroshClaw:"FaroshsClaw",FaroshHorn:"ShardOfFaroshsHorn",HeartyBass:"HeartyBass",Beetle:"EnergeticRhinoBeetle",Opal:"Opal",Diamond:"Diamond",Tail:"LizalfosTail",Spring:"AncientSpring",Shaft:"AncientShaft",Core:"AncientCore",Wood:"Wood",Rushroom:"Rushroom",Screw:"AncientScrew",HyruleBass:"HyruleBass",LizalfosHorn:"LizalfosHorn",LizalfosTalon:"LizalfosTalon",Weapon:"Weapon",Bow:"Bow",NormalArrow:"NormalArrow",FireArrow:"FireArrow",IceArrow:"IceArrow",ShockArrow:"ShockArrow",BombArrow:"BombArrow",AncientArrow:"AncientArrow",Shield:"Shield",Apple:"Apple",HylianShroom:"HylianShroom",SpicyPepper:"SpicyPepper",EnduraShroom:"EnduraShroom",HeartyRadish:"HeartyRadish",BigHeartyRadish:"BigHeartyRadish",Fairy:"Fairy",MasterSword:"MasterSword",ZoraArmor:"ZoraArmor"};function ue(e){return e=(e=e.toLowerCase()).replace(/[\u30a1-\u30f6]/g,(function(e){return String.fromCharCode(e.charCodeAt(0)-96)}))}var se=e.createContext({}),ce={},fe=function(t){var n=t.children,r=l((0,e.useState)(!1),2),a=r[0],i=r[1],o=l((0,e.useState)(null),2),u=o[0],s=o[1],c=l((0,e.useState)(null),2),f=c[0],d=c[1];(0,e.useEffect)((function(){var e=function(){var e=G(V().mark((function e(){var t,n,r,a;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,de();case 3:t=e.sent,n=l(t,2),r=n[0],a=n[1],s(r),d(a),e.next=17;break;case 11:e.prev=11,e.t0=e.catch(0),console.error(e.t0),i(!0),s(null),d(null);case 17:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(){return e.apply(this,arguments)}}();Z("Load Item: ",(function(){e()}))}),[]);var h=l((0,e.useMemo)((function(){if(ce={},u&&f){return[function(e){return u[e]},function(e){return we(e,u,f,ce)},function(){return u}]}return[function(){},function(){},function(){return{}}]}),[u,f]),3),p=h[0],m=h[1],v=h[2];return u&&f?(0,X.jsx)(se.Provider,{value:{getItem:p,searchItem:m,getAllItems:v},children:n}):a?(0,X.jsx)(K,{children:"An error has occured while loading items"}):(0,X.jsx)(J,{children:"Loading items..."})},de=function(){var e=G(V().mark((function e(){var t,r,a,i;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.e(984).then(n.bind(n,984));case 2:return t=e.sent,r=t.default,e.next=6,n.e(941).then(n.bind(n,941));case 6:return a=e.sent,i=a.default,e.abrupt("return",he(r,i));case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),he=function(e,t){var n={},r={};return me(e,t,"weapon",Q.Weapon,n,r),me(e,t,"bow",Q.Bow,n,r),me(e,t,"arrow",Q.Arrow,n,r),me(e,t,"shield",Q.Shield,n,r),me(e,t,"armor",void 0,n,r),me(e,t,"material",Q.Material,n,r),me(e,t,"food",Q.Food,n,r),me(e,t,"key",Q.Key,n,r),me(e,t,"flag",Q.Flag,n,r),[n,r]},pe={stackable:!0,animated:!1,repeatable:!0},me=function(e,t,n,r,a,i){var l=e[n];l&&ve(l,r,t,a,i)},ve=function(e,t,n,r,a){var i=e.global||{};e.entries.forEach((function(e){var o,u;if("string"===typeof e)o=e,u={};else{var c=l(Object.entries(e)[0],2);o=c[0],u=c[1]}var f=t;"upper"===u.subtype?f=Q.ArmorUpper:"middle"===u.subtype?f=Q.ArmorMiddle:"lower"===u.subtype&&(f=Q.ArmorLower);var d=s(s(s({},pe),i),u);ye(o,d,f,n,r,a)}))},ye=function(e,t,n,r,a,i){var o,u,s=l(be(e),2),c=s[0],f=s[1],d=ge(c,n,!1),h=t.animated?ge(c,n,!0):void 0,p=t.repeatable&&t.stackable,m=void 0;if(n===Q.Weapon||n===Q.Bow||n===Q.Shield)if(void 0!==t.durability){var v=t.durability;m=function(e){return te(e,v,!1)}}else m=function(e){return te(e,10,!1)};var y=new le(c,n,null===(o=t.repeatable)||void 0===o||o,null===p||void 0===p||p,d,h,m);a[c]=y,i[f]=c,null===r||void 0===r||null===(u=r[c])||void 0===u||u.forEach((function(e){return i[ue(e)]=c}))},ge=function(e,t,n){var r;return r=ae(t)===Y.Armor?"Armor":Q[t],"assets/img/".concat(r,"/").concat(e).concat(n?"Animated.webp":".png")},be=function(e){var t=e.indexOf(":");if(t<0)return[e,ue(e)];var n=e.substring(0,t);return[n,ue(n+e.substring(t+1))]},we=function(e,t,n,r){if(e){if(e in r)return r[e];var a=function(e,t){return e in oe?t[oe[e]].createDefaultStack():"SpeedFood"===e?t.SteamedFruit.createDefaultStack():"EnduraFood"===e?t.MushroomSkewer.createDefaultStack():void 0}(e,t);if(a)return r[e]=a,a;var i=ke(e,t,n);return r[e]=i,i}},ke=function(e,t,n){var r=t[e];if(r)return r.createDefaultStack();for(var a=e.replace(/(\++)$/,"*$1").split("*").map(ue),i=Object.keys(n),l=function(e){var r=a[e];if(0===(i=i.filter((function(e){return e.includes(r)}))).length)return{v:void 0};if(1===i.length){var l=n[i[0]];return{v:t[l].createDefaultStack()}}},o=0;o<a.length;o++){var u=l(o);if("object"===typeof u)return u.v}var s={};i.forEach((function(e){s[e]=a.filter((function(t){return e.startsWith(t)})).length})),i.sort((function(e,t){var n=s[t]-s[e];return 0!==n?n:e.length-t.length}));var c=n[i[0]];return t[c].createDefaultStack()},Se=function(e){if(0===e.trim().length)return{};for(var t=e.toLowerCase().split(","),n={},r=0;r<t.length;r++){var a=t[r],i=a.indexOf("="),l=void 0,o=void 0;switch(-1===i?(l=a,o="true"):(l=a.substring(0,i),o=a.substring(i+1)),l=l.trim()){case"life":var u=parseInt(o.trim());if(!Number.isInteger(u))return"Life must be an integer: ".concat(o.trim());n.life=u;break;case"equip":var s="true"===o;n.equip=s;break;default:return"Invalid metadata name: ".concat(l)}}return n},xe=function(e){p(n,e);var t=g(n);function n(e){var r;return c(this,n),(r=t.call(this)).keyword=void 0,r.keyword=e,r}return d(n,[{key:"getError",value:function(){switch(this.keyword){case"initialize":return"Initialize X item1[meta] Y item2[meta] Z item3[meta] ...";case"save":return"Save (As <file name>)";case"reload":return"Reload (<file name>)";case"break":return"Break X Slots";case"d&p":case"dnp":case"dap":return"D&P X item1[meta] Y item2[meta] Z item3[meta] ...";case"equip":return"Equip item (In Slot X)";case"unequip":return"Unequip item (In Slot X)";case"shoot":return"Shoot X Arrow";case"close":return'"Close Game"?';case"exit":return"Exit Game|TOTS|Eventide";case"sync":return'"Sync GameData"?';case"enter":return"Enter TOTS|Eventide";case"sort":return"Sorting is currently not supported";case"init":return"Init GameData X item1[meta] Y item2[meta] Z item3[meta] ..."}return S(this.keyword)?"Add item, Add X item1[meta] Y item2[meta] Z item3[meta] ...":x(this.keyword)?"Remove item (From Slot X), Remove X item (From Slot Y), Remove X item1[meta] Y item2[meta] Z item3[meta] ...":"Unknown Command"}}]),n}(N),Ee=function(e){p(n,e);var t=g(n);function n(e){var r;return c(this,n),(r=t.call(this)).stacks=void 0,r.stacks=e,r}return d(n,[{key:"execute",value:function(e){e.setGameData(k(this.stacks))}},{key:"getDisplayString",value:function(){return b("Init GameData",this.stacks)}}]),n}(N),Ce=function(e){p(n,e);var t=g(n);function n(e,r,a){var i;return c(this,n),(i=t.call(this)).itemTarget=void 0,i.slot=void 0,i.meta=void 0,i.itemTarget=e,i.slot=r,i.meta=a,i}return d(n,[{key:"execute",value:function(e){return e.setMetadata(this.itemTarget,this.slot,this.meta)}}]),n}(N),Ne=function(){function e(t,n){c(this,e),this.stack=void 0,this.number=void 0,this.stack=t,this.number=n}return d(e,[{key:"getStackAndSlotCount",value:function(){return this.stack.item.stackable?[this.stack.modify({count:this.number}),1]:[this.stack,this.number]}}]),e}(),je=function(e){if(1===e.length&&E(e[0],"save"))return new R;if(3===e.length&&E(e[0],"save")&&E(e[1],"as")){var t=e[2];return new T(t)}if(2===e.length&&E(e[0],"use")){var n=e[1];return new I(n)}if(1===e.length&&E(e[0],"reload"))return new _;if(2===e.length&&E(e[0],"reload"))return new _(e[1]);if(e.length>2&&E(e[0],"break")&&E(e[2],"slots")){var r=parseInt(e[1]);if(Number.isInteger(r))return new P(r)}return 2===e.length&&E(e[0],"sort")&&E(e[1],"key")?new q:2===e.length&&E(e[0],"sort")&&E(e[1],"material")?new H:2===e.length&&C(e[0],["close","exit"])&&E(e[1],"game")?new F:2===e.length&&E(e[0],"sync")&&E(e[1],"gamedata")?new U:2===e.length&&(E(e[0],"enter")||E(e[0],"exit"))&&(E(e[1],"eventide")||E(e[1],"tots"))?new B(E(e[0],"enter")):void 0},Re=function(e,t,n){for(var r=[],a=t;a<e.length;){var i=Te(e[a]);if(void 0===i)return _e(e[a]);a++;for(var l=[],o="",u=!1;a<e.length&&void 0===Te(e[a]);)"["===e[a]?u=!0:"]"===e[a]?u=!1:u?o+=e[a]:l.push(e[a]),a++;var s=n(l.join("*"));if(!s)return Ie(l.join(" "));var c=Se(o);if("string"===typeof c)return c;s=s.modifyMeta(c),r.push(new Ne(s,i))}return r},Te=function(e){if(E(e,"all"))return-1;var t=parseInt(e);return Number.isInteger(t)?t:void 0},_e=function(e){return"Failed to parse number: ".concat(e)},Ie=function(e){return"Item not found: ".concat(e)};function Pe(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=Pe(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function Le(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Pe(e))&&(r&&(r+=" "),r+=t);return r}var Oe=function(t){var n=t.useListItem,r=t.isSelected,a=t.isContextSelected,i=t.isComment,l=t.isInvalid,o=t.onClick,u=t.onContextMenu,s=t.children,c=Le("CommandItem",r&&"CommandItemSelected",a&&"CommandItemContextSelected",i&&"CommandItemComment",l&&!i&&"CommandItemInvalid"),f=(0,e.useCallback)((function(e){o(e.clientX,e.clientY)}),[o]),d=(0,e.useCallback)((function(e){u&&(u(e.clientX,e.clientY),e.preventDefault())}),[u]);return n?(0,X.jsxs)("li",{className:c,onClick:f,onContextMenu:d,children:[s,"\xa0"]}):(0,X.jsxs)("div",{className:c,onClick:f,onContextMenu:d,children:[s,"\xa0"]})},De=n.p+"static/media/Background.0e120fe5fc51d2dee803.png",ze=e.createContext((function(e){return e})),Ae=new Set,Me=function(t){var n=t.children,r=l((0,e.useState)(!1),2),a=r[0],i=r[1],o=l((0,e.useState)(null),2),u=o[0],s=o[1];(0,e.useEffect)((function(){var e=function(){var e=G(V().mark((function e(){return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.t0=s,e.next=4,Fe();case 4:e.t1=e.sent,(0,e.t0)(e.t1),e.next=13;break;case 8:e.prev=8,e.t2=e.catch(0),console.error(e.t2),i(!0),s(null);case 13:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}();Z("Load Language: ",(function(){e()}))}),[]);var c=(0,e.useCallback)((function(e){if(!u)throw new Error("Translation function should not be supplied before lang map is loaded");return e in u?u[e]:(Ae.has(e)||(console.warn("Unlocalized: ".concat(e)),Ae.add(e)),e)}),[u]);return u?(0,X.jsx)(ze.Provider,{value:c,children:n}):a?(0,X.jsx)(K,{children:"An error has occured while loading language"}):(0,X.jsx)(J,{children:"Loading language..."})},Fe=function(){var e=G(V().mark((function e(){var t,r,a,i;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.e(911).then(n.bind(n,911));case 2:for(i in t=e.sent,r=t.default,a={},r)Ue(i,r[i],a);return e.abrupt("return",a);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Ue=function e(t,n,r){if("string"!==typeof n)for(var a in n)e(t+"."+a,n[a],r);else r[t]=n},Be=function(t){var n=t.slot,r=n.image,a=n.descKey,i=n.count,l=n.durability,o=n.isBrokenSlot,u=n.isEquipped,s=(0,e.useContext)(ze);return(0,X.jsxs)("span",{className:Le("ItemSlot",o&&"ItemSlotBroken",u&&"ItemSlotEquipped"),title:s(a),children:[(0,X.jsx)("img",{className:Le("ItemImage"),src:r}),void 0!==i&&(0,X.jsx)("div",{className:"ItemLayer",children:(0,X.jsxs)("span",{className:"ItemCount",children:["x",i]})}),void 0!==l&&(0,X.jsx)("div",{className:"ItemLayer",children:(0,X.jsx)("span",{className:"ItemDurability",children:l})})]})},We=function(e){var t=e.first,n=e.second;return(0,X.jsxs)("span",{style:{display:"inline-block",width:72,height:144,verticalAlign:"top"},children:[(0,X.jsx)("div",{style:{height:72,background:"url(".concat(De,")")},children:t&&(0,X.jsx)(Be,s({},t))}),(0,X.jsx)("div",{style:{height:72},children:n&&(0,X.jsx)(Be,s({},n))})]})},qe=function(e){var t=e.title,n=e.children;return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)("h3",{className:"ListHeader",style:{height:40,borderBottom:"2px solid",boxSizing:"border-box"},children:t}),(0,X.jsx)("div",{style:{height:"calc( 100% - 40px )",overflowY:"auto"},children:n})]})},He=n.p+"static/media/InGame.54443a18479ad462e4fe.png",Ve=function(e){var t=e.slots;return(0,X.jsx)(X.Fragment,{children:t.map((function(e,t){return(0,X.jsx)(Be,{slot:e},t)}))})},$e=function(e){var t=e.children;return(0,X.jsx)("h2",{children:t})},Ge=function(e){var t=e.connected,n=e.children;return(0,X.jsx)("h3",{className:t?"Reference2":"Reference",children:n})},Qe=function(e){var t=e.children;return(0,X.jsx)("h4",{className:"Reference",children:t})},Ye=function(e){var t=e.emphasized,n=e.children;return(0,X.jsx)("p",{className:Le("Reference",t&&"Example"),children:n})},Xe=function(e){var t=e.children;return(0,X.jsx)("span",{className:"Example",children:t})},Ke=function(t){var n,r=t.command,a=t.commandError,i=t.editCommand,l=t.simulationState,o=t.overlaySave,u=t.isIconAnimated,s=(0,e.useMemo)((function(){return""===r||r.startsWith("#")?"":a}),[r,a]);return n=l.isCrashed()?(0,X.jsx)("div",{style:{position:"relative",height:"100%"},children:(0,X.jsxs)(K,{children:["The game has crashed (This is ",(0,X.jsx)(Xe,{children:"not"})," a simulator bug)"]})}):o?(0,X.jsx)("div",{style:{borderTop:"1px solid black",boxSizing:"border-box",height:"100%",overflowY:"auto",background:"url(".concat(He,")"),backgroundPosition:"center",backgroundSize:"auto 100%",color:"white"},children:(0,X.jsx)(qe,{title:"Game Data / Visible Inventory (Count=".concat(l.inventoryMCount,")"),children:function(){for(var e=[],t=l.displayableGameData.getDisplayedSlots(u),n=l.displayablePouch.getDisplayedSlots(u),r=0;r<t.length&&r<n.length;r++)e.push((0,X.jsx)(We,{first:{slot:t[r]},second:{slot:n[r]}},r));if(t.length>n.length)for(var a=n.length;a<t.length;a++)e.push((0,X.jsx)(We,{first:{slot:t[a]}},a+n.length));else if(n.length>t.length)for(var i=t.length;i<n.length;i++)e.push((0,X.jsx)(We,{second:{slot:n[i]}},i+t.length));return e}()})}):(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)("div",{style:{borderTop:"1px solid black",background:"url(".concat(De,")"),color:"white",borderBottom:"1px solid black",boxSizing:"border-box",height:"50%",overflowY:"auto"},children:(0,X.jsx)(qe,{title:"Game Data",children:(0,X.jsx)(Ve,{slots:l.displayableGameData.getDisplayedSlots(u)})})}),(0,X.jsx)("div",{style:{borderTop:"1px solid black",background:"url(".concat(He,")"),backgroundPosition:"center",backgroundSize:"100%",boxSizing:"border-box",height:"50%",overflowY:"auto",color:"white"},children:(0,X.jsx)(qe,{title:"Visible Inventory (Count=".concat(l.inventoryMCount,")"),children:(0,X.jsx)(Ve,{slots:l.displayablePouch.getDisplayedSlots(u)})})})]}),(0,X.jsxs)("div",{id:"DisplayPane",style:{height:"100%"},children:[(0,X.jsxs)("div",{style:{boxSizing:"border-box",height:"40px",position:"relative"},children:[(0,X.jsx)("input",{id:"CommandInputField",className:Le("Calamity","CommandInput",s&&"InputError"),style:{background:"url(".concat(De,")"),width:"100%",height:"40px",paddingLeft:10,margin:0,boxSizing:"border-box",fontSize:"16pt",outline:"none"},value:r,placeholder:"Type command here...",spellCheck:!1,onChange:function(e){var t=e.target.value;i(t)}}),s&&(0,X.jsx)("div",{style:{boxSizing:"border-box",border:"2px solid #ee0000",borderTop:"none",backgroundColor:"#333333bb",padding:3,color:"#eeeeee"},children:s})]}),(0,X.jsx)("div",{style:{height:"calc( 100% - 40px )"},children:n})]})},Ze=function(e,t,n){var r=e.item,a=e.count,i=e.durability,l=e.equipped,o=r.type===Q.Weapon||r.type===Q.Bow||r.type===Q.Shield,u=Number.isInteger(i)?i+"":i.toPrecision(4),s=!o&&(r.stackable?r.type===Q.Arrow||a>0:a>1);return{image:n?r.animatedImage:r.image,descKey:"items.".concat(Q[r.type],".").concat(r.id),count:s?a:void 0,durability:o?u:void 0,isEquipped:l,isBrokenSlot:t}},Je=function(){function e(t){c(this,e),this.internalSlots=[],this.internalSlots=t}return d(e,[{key:"getSlotsRef",value:function(){return this.internalSlots}},{key:"deepClone",value:function(){return new e(i(this.internalSlots))}},{key:"length",get:function(){return this.internalSlots.length}},{key:"sortItemByTab",value:function(e){null===e&&(e=this.internalSlots.length),e<=1||function(e,t){var n=e.map((function(e,t){return[e,t]}));n.sort((function(e,n){var r=t(e[0],n[0]);return 0!=r?r:e[1]-n[1]}));for(var r=0;r<e.length;r++)e[r]=n[r][0]}(this.internalSlots,(function(e,t){return e.item.type===Q.Arrow&&t.item.type===Q.Arrow?e.item.sortOrder-t.item.sortOrder:e.item.tab===t.item.tab&&e.item.tab===Y.Bow?e.item.type-t.item.type:e.item.tab-t.item.tab}))}},{key:"clearFirst",value:function(e){this.internalSlots.splice(0,e)}},{key:"addStackDirectly",value:function(e){return this.internalSlots.push(e),1}},{key:"addSlot",value:function(e,t){this.internalSlots.push(e),this.sortItemByTab(t)}},{key:"remove",value:function(e,t){for(var n=this.internalSlots.length,r=e.count,a=0,i=!1,l=0;l<this.internalSlots.length&&0!==r;l++){var o=this.internalSlots[l];if(o.canStack(e))if(i=!0,a<t)a++;else{if(o.item.type===Q.Weapon||o.item.type===Q.Bow||o.item.type===Q.Shield){this.internalSlots[l]=o.modify({count:0});break}if(!(r<0||o.count<r)){this.internalSlots[l]=o.modify({count:o.count-r});break}r-=o.count,this.internalSlots[l]=o.modify({count:0})}}if(!i)for(var u=0;u<this.internalSlots.length&&r>0;u++){var s=this.internalSlots[u];if(s.item===e.item)if(i=!0,a<t)a++;else{if(!(s.count<r)){this.internalSlots[u]=s.modify({count:s.count-r});break}r-=s.count,this.internalSlots[u]=s.modify({count:0})}}return this.removeZeroStackExceptArrows(),n-this.internalSlots.length}},{key:"removeZeroStackExceptArrows",value:function(){this.internalSlots=this.internalSlots.filter((function(e){var t=e.item,n=e.count;return t.type===Q.Arrow||n>0}))}},{key:"add",value:function(e,t,n){if(null===n&&(n=this.internalSlots.length),e.item.stackable){var r=!0;if(e.item.type===Q.Arrow)-1===this.findFirstTabIndex(Q.Arrow,n)&&(r=!1);for(var a=0;a<this.internalSlots.length;a++)if(this.internalSlots[a].canStack(e)){if(!t){var i=Math.min(999,this.internalSlots[a].count+e.count);return i!=this.internalSlots[a].count&&(this.internalSlots[a]=this.internalSlots[a].modify({count:i})),0}if(r&&this.internalSlots[a].count+e.count>999)return 0}}if(!e.item.repeatable){var l=this.findFirstTabIndex(e.item.type,n);if(-1!==l)for(;l<this.internalSlots.length&&this.internalSlots[l].item.type===e.item.type;l++)if(this.internalSlots[l].item===e.item)return 0}if(!t&&(e.item.type===Q.Weapon||e.item.type===Q.Bow||e.item.type===Q.Shield||e.item.type===Q.Arrow)){var o=this.internalSlots.filter((function(t){return t.item.type===e.item.type&&t.equipped})),u=0===o.length;if(u||e.item.type!==Q.Arrow||(u=0===o.filter((function(e){return e.count>0})).length),u&&(e=e.modify({equipped:!0})).item.type===Q.Arrow){var s=this.findFirstTabIndex(Q.Arrow,n);if(-1!==s)for(;s<this.internalSlots.length&&this.internalSlots[s].item.type===Q.Arrow;s++)this.internalSlots[s]=this.internalSlots[s].modify({equipped:!1})}}return this.addSlot(e,n+1),1}},{key:"equip",value:function(e,t,n){var r=0,a=this.findFirstTabIndex(e.type,n);if(-1!==a)for(;a<this.internalSlots.length&&this.internalSlots[a].item.tab===e.tab;a++)this.internalSlots[a].item.type===e.type&&this.modifySlot(a,{equipped:!1});for(var i=0;i<this.internalSlots.length;i++)if(this.internalSlots[i].item===e){if(r===t){this.modifySlot(i,{equipped:!0});break}r++}}},{key:"unequip",value:function(e,t){var n=0;if(e.type!==Q.Arrow)for(var r=0;r<this.internalSlots.length;r++)if(this.internalSlots[r].item===e)if(t<0){if(this.internalSlots[r].equipped){this.modifySlot(r,{equipped:!1});break}}else{if(!(n<t)){this.modifySlot(r,{equipped:!1});break}n++}}},{key:"updateLife",value:function(e,t){if(!(t<0||t>=this.internalSlots.length)){var n=this.internalSlots[t].item.type,r=this.internalSlots[t].item.stackable,a=n===Q.Material||n===Q.Food,i=n===Q.Arrow,l=n===Q.Key&&r;!i&&(a||l)&&(e=Math.min(999,e)),this.modifySlot(t,{count:e})}}},{key:"shootArrow",value:function(e){var t=this.findLastEquippedSlot(Q.Arrow);if(t<0)return-1;for(var n=this.internalSlots[t].item,r=0;r<this.internalSlots.length;r++)if(this.internalSlots[r].item===n)return this.modifySlot(r,{count:Math.max(0,this.internalSlots[r].count-e)}),r;return-1}},{key:"findLastEquippedSlot",value:function(e){for(var t=0,n=-1;t<this.internalSlots.length&&!(this.internalSlots[t].item.type>e+1);t++)this.internalSlots[t].equipped&&this.internalSlots[t].item.type===e&&(n=t);return n}},{key:"setMetadata",value:function(e,t,n){for(var r=0,a=0;a<this.internalSlots.length;a++){var i=this.internalSlots[a];if(i.item===e){if(!(r<t)){this.internalSlots[a]=i.modifyMeta(n);break}r++}}}},{key:"clearAllButKeyItems",value:function(){var e=this.internalSlots.filter((function(e){return e.item.type===Q.Key})),t=this.internalSlots.length-e.length;return this.internalSlots=e,t}},{key:"findFirstTabIndex",value:function(e,t){var n=this,r=[],a=new Set;if(0!==t)for(var i=Y.None,o=function(e){var t=n.internalSlots[e].item.tab;t!=i&&(re().filter((function(e){return e<t})).forEach((function(e){!a.has(e)&&n.isTabDiscovered(e)&&(r.push([e,-1]),a.add(e))})),r.push([t,e]),a.add(t),i=t)},u=0;u<this.internalSlots.length;u++)o(u);else re().forEach((function(e){n.isTabDiscovered(e)&&r.push([e,-1])}));for(var s=ae(e),c=-1,f=0;f<r.length;f++){var d=l(r[f],2),h=d[0],p=d[1];if(h===s){c=p;break}}if(e===Q.Arrow&&-1!==c)for(;c<this.internalSlots.length;c++){if(this.internalSlots[c].item.type>Q.Arrow)return-1;if(this.internalSlots[c].item.type===Q.Arrow)return c}return c}},{key:"isTabDiscovered",value:function(e){return!0}},{key:"modifySlot",value:function(e,t){this.internalSlots[e]=this.internalSlots[e].modify(t)}}]),e}(),et=function(){function e(t){c(this,e),this.slots=new Je([]),this.slots=t}return d(e,[{key:"deepClone",value:function(){return new e(this.slots.deepClone())}},{key:"syncWith",value:function(e){e.getCount()<=0?this.slots=new Je([]):this.slots=e.getSlots().deepClone()}},{key:"updateLife",value:function(e,t){this.slots.updateLife(e,t)}},{key:"addAllToPouchOnReload",value:function(e){this.slots.getSlotsRef().forEach((function(t){return e.addWhenReload(t)}))}},{key:"getDisplayedSlots",value:function(e){return this.slots.getSlotsRef().map((function(t){return Ze(t,!1,e)}))}}]),e}(),tt=function(){function e(t,n){c(this,e),this.slots=new Je([]),this.count=0,this.slots=t,this.count=n}return d(e,[{key:"deepClone",value:function(){return new e(this.slots.deepClone(),this.count)}},{key:"getDisplayedSlots",value:function(e){var t=this;return this.slots.getSlotsRef().map((function(n,r){return Ze(n,r>=t.count,e)}))}},{key:"getSlots",value:function(){return this.slots}},{key:"addDirectly",value:function(e){this.count+=this.slots.addStackDirectly(e)}},{key:"addWhenReload",value:function(e){var t=this.slots.add(e,!0,this.count);this.count+=t}},{key:"addInGame",value:function(e){var t=this.slots.add(e,!1,this.count);this.count+=t}},{key:"remove",value:function(e,t){var n=this.slots.remove(e,t);this.count-=n}},{key:"equip",value:function(e,t){this.slots.equip(e,t,this.count)}},{key:"unequip",value:function(e,t){this.slots.unequip(e,t)}},{key:"clearForReload",value:function(){this.count>0&&(this.slots.clearFirst(this.count),this.count=0)}},{key:"updateEquipmentDurability",value:function(e){var t=-1,n=-1,r=-1;this.slots.getSlotsRef().forEach((function(e,a){var i=e.item;if(e.equipped){var l=i.type;l===Q.Weapon&&-1===t&&(t=a),l===Q.Bow&&-1===n&&(n=a),l===Q.Shield&&-1===r&&(r=a)}}));var a=this.slots.findLastEquippedSlot(Q.Weapon);t>=0&&a>=0&&e.updateLife(this.slots.getSlotsRef()[a].count,t);var i=this.slots.findLastEquippedSlot(Q.Bow);n>=0&&i>=0&&e.updateLife(this.slots.getSlotsRef()[i].count,n);var l=this.slots.findLastEquippedSlot(Q.Shield);r>=0&&l>=0&&e.updateLife(this.slots.getSlotsRef()[l].count,r)}},{key:"shootArrow",value:function(e,t){var n=this.slots.shootArrow(e);if(n>=0){var r=this.slots.getSlotsRef()[n].count;t.updateLife(r,n)}}},{key:"setMetadata",value:function(e,t,n){this.slots.setMetadata(e,t,n)}},{key:"getCount",value:function(){return this.count}},{key:"modifyCount",value:function(e){this.count+=e}},{key:"resetCount",value:function(){this.count=this.slots.length}},{key:"clearForEventide",value:function(){this.count-=this.slots.clearAllButKeyItems()}}]),e}(),nt=function(){function e(t,n,r,a){c(this,e),this.gameData=void 0,this.manualSave=void 0,this.namedSaves={},this.pouch=void 0,this.nextReloadName=void 0,this.isOnEventide=!1,this.crashed=!1,this.gameData=t,this.manualSave=n,this.namedSaves=r,this.pouch=a}return d(e,[{key:"deepClone",value:function(){var t={};for(var n in this.namedSaves)t[n]=this.namedSaves[n].deepClone();var r=new e(this.gameData.deepClone(),this.manualSave?this.manualSave.deepClone():null,t,this.pouch.deepClone());return r.nextReloadName=this.nextReloadName,r.isOnEventide=this.isOnEventide,r.crashed=this.crashed,r}},{key:"executeCommand",value:function(e){this.crashed=!1,e.execute(this),this.shouldCrash()&&(this.closeGame(),this.crashed=!0)}},{key:"initialize",value:function(e){var t=this;this.pouch=new tt(new Je([]),0),e.forEach((function(e){return t.pouch.addDirectly(e)})),this.gameData.syncWith(this.pouch)}},{key:"setGameData",value:function(e){this.gameData=new et(new Je(i(e)))}},{key:"save",value:function(e){e?this.namedSaves[e]=this.gameData.deepClone():this.manualSave=this.gameData.deepClone()}},{key:"reload",value:function(e){if(e)e in this.namedSaves&&this.reloadFrom(this.namedSaves[e]);else if(this.nextReloadName)this.nextReloadName in this.namedSaves&&this.reloadFrom(this.namedSaves[this.nextReloadName]);else{var t=this.manualSave;t&&this.reloadFrom(t)}}},{key:"reloadFrom",value:function(e){this.gameData=e.deepClone(),this.pouch.clearForReload(),this.gameData.addAllToPouchOnReload(this.pouch),this.pouch.updateEquipmentDurability(this.gameData),this.isOnEventide=!1}},{key:"useSaveForNextReload",value:function(e){this.nextReloadName=e}},{key:"breakSlots",value:function(e){this.pouch.modifyCount(-e)}},{key:"obtain",value:function(e){this.pouch.addInGame(e),this.syncGameDataWithPouch()}},{key:"remove",value:function(e,t){this.pouch.remove(e,t),this.syncGameDataWithPouch()}},{key:"equip",value:function(e,t){this.pouch.equip(e,t),this.syncGameDataWithPouch()}},{key:"unequip",value:function(e,t){this.pouch.unequip(e,t),this.syncGameDataWithPouch()}},{key:"shootArrow",value:function(e){this.pouch.shootArrow(e,this.gameData)}},{key:"setMetadata",value:function(e,t,n){this.pouch.setMetadata(e,t,n),this.syncGameDataWithPouch()}},{key:"closeGame",value:function(){this.pouch=new tt(new Je([]),0),this.gameData=new et(new Je([])),this.isOnEventide=!1}},{key:"setEventide",value:function(e){this.isOnEventide!==e&&(e?this.pouch.clearForEventide():this.reloadFrom(this.gameData),this.isOnEventide=e)}},{key:"syncGameDataWithPouch",value:function(){this.isOnEventide||this.gameData.syncWith(this.pouch)}},{key:"shouldCrash",value:function(){return this.pouch.getSlots().length>420}},{key:"displayableGameData",get:function(){return this.gameData}},{key:"displayablePouch",get:function(){return this.pouch}},{key:"inventoryMCount",get:function(){return this.pouch.getCount()}},{key:"isCrashed",value:function(){return this.crashed}},{key:"getManualSave",value:function(){return this.manualSave}},{key:"getNamedSaves",value:function(){return this.namedSaves}}]),e}(),rt=e.memo((function(){return(0,X.jsx)("div",{className:"OtherPage",children:(0,X.jsx)(qe,{title:"Command Reference",children:(0,X.jsxs)("div",{className:"OtherPageContent",children:[(0,X.jsx)($e,{children:"Item Syntax"}),(0,X.jsxs)(Ye,{children:["Item are specified by using ",(0,X.jsx)(Xe,{children:"search keys"})," and ",(0,X.jsx)(Xe,{children:"metadata"}),"."]}),(0,X.jsx)(Ge,{children:"Search Keys"}),(0,X.jsxs)(Ye,{children:["Search keys are used to find the item. For example, in the command ",(0,X.jsx)(Xe,{children:'"Add 1 master sword"'}),",",(0,X.jsx)(Xe,{children:"1"})," specifies the count, and ",(0,X.jsx)(Xe,{children:"master sword"}),' are 2 search keys to locate the item. Search keys are designed to "just work", but they sometimes find the wrong item. In this case you can add more keys to narrow the search. For example, ',(0,X.jsx)(Xe,{children:"shroom"})," will match ",(0,X.jsx)(Xe,{children:"Rushroom"}),", but ",(0,X.jsx)(Xe,{children:"shroom hy"})," will match ",(0,X.jsx)(Xe,{children:"HylianShroom"}),". Another example, ",(0,X.jsx)(Xe,{children:"hammer"})," will match ",(0,X.jsx)(Xe,{children:"IronSledgeHammer"}),", but ",(0,X.jsx)(Xe,{children:"spr ham"})," will match ",(0,X.jsx)(Xe,{children:"SpringLoadedHammer"})]}),(0,X.jsxs)(Ye,{children:["In certain commands like ",(0,X.jsx)(Xe,{children:"Equip"}),', you can only use 1 search key. In this case, you can use "*" to combine search keys into 1. For example, ',(0,X.jsx)(Xe,{children:"snow*head"})," is one search key that functions like ",(0,X.jsx)(Xe,{children:"snow head"}),", which will give you the snowquill headdress"]}),(0,X.jsx)(Ye,{children:"The order of the keys doesn't matter and they are case-insensitive."}),(0,X.jsx)(Ge,{children:"Number of Items"}),(0,X.jsxs)(Ye,{children:["When specifying number of items, you can use an integer or ",(0,X.jsx)(Xe,{children:"all"}),", which is equivalent to -1. When using -1 as the count in Remove commands, it will remove all items."]}),(0,X.jsx)(Ge,{children:"Metadata"}),(0,X.jsxs)(Ye,{children:["Metadata is used to specify extra information. The syntax is ",(0,X.jsx)(Xe,{children:"[key1=value1,key2=value2,...]"}),". Metadata is not available in all commands. If you see ",(0,X.jsx)(Xe,{children:"item[meta]"}),", then it's supported in that particular command."]}),(0,X.jsx)(Ye,{children:"Here is a list of available metadata. More will be added as they are implemented in the future"}),(0,X.jsx)(Qe,{children:"life (integer)"}),(0,X.jsx)(Ye,{children:"Used to specify stack size or durability"}),(0,X.jsx)(Ye,{emphasized:!0,children:"Example: hammer[life=300] makes a hammer with 3 durability"}),(0,X.jsx)(Qe,{children:"equip (boolean)"}),(0,X.jsx)(Ye,{children:"Used to specify if a slot is equipped"}),(0,X.jsx)(Ye,{emphasized:!0,children:"Example: hammer[equip] makes the hammer equipped. [equip] and [equip=true] are the same"}),(0,X.jsx)($e,{children:"Command List"}),(0,X.jsx)(Ye,{children:"This is a list of available commands. All commands and items are case-insensitive"}),(0,X.jsx)(Ge,{children:"Initialize"}),(0,X.jsx)(Ge,{connected:!0,children:"Initialize X item1[meta] Y item2[meta] Z item3[meta] ..."}),(0,X.jsx)(Qe,{children:"Used for initializing inventory before simulation"}),(0,X.jsx)(Ye,{children:"Fully resets the inventory by clearing all items and set Count to 0, then forcefully write the item list to inventory. This would reset any broken slot you already have, and any in-game checks that happen when adding items are disabled. For example, the items will appear in the order you specify, not in the in-game tab order"}),(0,X.jsx)(Ye,{children:"If you specify count > 1 for unstackable items like weapon or sheika slate, multiple of that item would be added. Game Data will be synced with Visible Inventory after the reset"}),(0,X.jsx)(Ye,{children:"If you don't specify any item, it will make an empty inventory"}),(0,X.jsx)(Ye,{children:"Note that this will not clear saves. You can use this command to initialize multiple saves"}),(0,X.jsx)(Ye,{emphasized:!0,children:"Example: Initialize 1 Apple 2 Axe 3 Slate 4 SpiritOrb"}),(0,X.jsx)("h3",{className:"Reference",children:"Save"}),(0,X.jsx)("h3",{className:"Reference2",children:"Save As NAME"}),(0,X.jsx)("h4",{className:"Reference",children:"Simulates a hard save or auto save action"}),(0,X.jsx)("p",{className:"Reference",children:"Writes Game Data to the corresponding save slot. The auto saves are specified by NAME. You can have as many auto saves as you want in the simulator."}),(0,X.jsx)("p",{className:"Reference",children:"You cannot save on Eventide/ToTS. However, the simulator does not enforce that."}),(0,X.jsx)("p",{className:"Reference Example",children:"Example 1: Save"}),(0,X.jsx)("p",{className:"Reference Example",children:"Example 2: Save As MySave"}),(0,X.jsx)("p",{className:"Reference",children:'Example 1 will save to the manual save slot, while example 2 will save to the slot named "MySave". There cannot be spaces in the name. If "MySave" doesn\'t exist, a new slot is created'}),(0,X.jsx)("h3",{className:"Reference",children:"Reload (NAME)"}),(0,X.jsx)("h4",{className:"Reference",children:"Simulates reloading a save"}),(0,X.jsx)("p",{className:"Reference",children:'First, reads Game Data from the corresponding save slot. If NAME is not given, the manual save is used unless "Use" commands are used before this (see below). If NAME is given, the corresponding save slot with that name is used'}),(0,X.jsx)("p",{className:"Reference",children:"After that, the first Count items in the visible inventory is removed, and Count is decreased accordingly. Then, each item slot in the Game Data is added to the inventory."}),(0,X.jsx)("p",{className:"Reference Example",children:"Example 1: Reload"}),(0,X.jsx)("p",{className:"Reference Example",children:"Example 2: Reload MySave"}),(0,X.jsx)("h3",{className:"Reference",children:"Break X Slots"}),(0,X.jsx)("h4",{className:"Reference",children:"Simulate making X broken slots with hold smuggle glitch"}),(0,X.jsx)("p",{className:"Reference",children:"Decrease inventory Count by X"}),(0,X.jsx)("p",{className:"Reference",children:"This command does not automatically simulate the hold smuggle and sell process. It just changes count (i.e. make broken slots) with magic."}),(0,X.jsx)("p",{className:"Reference Example",children:"Example: Break 4 Slots"}),(0,X.jsx)("h3",{className:"Reference",children:"Get/Add/Cook/Pickup/Buy item"}),(0,X.jsx)("h3",{className:"Reference2",children:"Get/Add/Cook/Pickup/Buy X item1[meta] Y item2[meta] Z item3[meta] ..."}),(0,X.jsx)("h4",{className:"Reference",children:"Simulate obtaining items in game"}),(0,X.jsx)("p",{className:"Reference",children:"Add the item(s) to visible inventory. Sync with Game Data unless you are on Eventide or inside TOTS"}),(0,X.jsx)("p",{className:"Reference",children:"Like in game, you won't be able to obtain multiple unstackable key items, or multiple master sword in this way. If a stackable item is at 999 or more when you invoke this command, the count is set to 999 (not fully accurate since you won't be able to pick up more items in game)."}),(0,X.jsx)("p",{className:"Reference",children:"If you specify a count for unstackable items, they are added in different slots as if you pick them up in game, one after another."}),(0,X.jsx)("p",{className:"Reference",children:"Try to avoid plural forms as they often make search fail"}),(0,X.jsx)("p",{className:"Reference Example",children:"Example 1: Add Apple"}),(0,X.jsx)("p",{className:"Reference Example",children:"Example 2: Get 10 Apple"}),(0,X.jsx)("p",{className:"Reference Example",children:"Example 3: Pickup 10 Apple 5 Diamond 1 Slate 5 MasterSword[life=700]"}),(0,X.jsx)("h3",{className:"Reference",children:"With/Remove/Sell/Eat/Drop item"}),(0,X.jsx)("h3",{className:"Reference2",children:"With/Remove/Sell/Eat/Drop item From Slot Y"}),(0,X.jsx)("h3",{className:"Reference2",children:"With/Remove/Sell/Eat/Drop X item From Slot Y"}),(0,X.jsx)("h3",{className:"Reference2",children:"With/Remove/Sell/Eat/Drop X item1[meta] Y item2[meta] Z item3[meta] ..."}),(0,X.jsx)("h4",{className:"Reference",children:"Simulate removing items in game"}),(0,X.jsx)("p",{className:"Reference",children:"Remove the item(s) to visible inventory. Sync with Game Data unless you are on Eventide or inside TOTS"}),(0,X.jsx)("p",{className:"Reference",children:"When number of item is not specified, it defaults to 1. Up to X items will be removed from inventory, even when they span multiple slots. If X > total number of items in inventory, all of them will be removed."}),(0,X.jsx)("p",{className:"Reference",children:"When slot is specified, it starts removing from slot X (slot 1 is the leftmost slot with that item, slot 2 is the second leftmost slot with that item)."}),(0,X.jsx)(Ye,{children:"When removing items, the simulator will try to match the stack exactly, including metadata. If no items are found this way, the simulator will then try to match an item while ignoring the metadata"}),(0,X.jsx)("p",{className:"Reference",children:"Try to avoid plural forms as they often make search fail"}),(0,X.jsx)("p",{className:"Reference Example",children:"Example 1: Remove Apple"}),(0,X.jsx)("p",{className:"Reference Example",children:"Example 2: Drop 10 Diamond"}),(0,X.jsx)("p",{className:"Reference Example",children:"Example 3: Sell 10 Apple 5 Diamond"}),(0,X.jsx)("p",{className:"Reference Example",children:"Example 4: Sell 5 Apple From Slot 3"}),(0,X.jsx)("h3",{className:"Reference",children:"D&P X item1[meta] Y item2[meta] Z item3[meta] ..."}),(0,X.jsx)("h4",{className:"Reference",children:"Shortcut for drop and pick up, for sorting inventory"}),(0,X.jsx)("p",{className:"Reference",children:"This command drops and pick up each item stack in the specified order. You can also repeat items if you are combining more than 2 slots."}),(0,X.jsx)("p",{className:"Reference",children:"You can only drop from slot 1 with this shortcut."}),(0,X.jsx)("p",{className:"Reference Example",children:"Example 1: D&P 5 Diamond"}),(0,X.jsx)("p",{className:"Reference Example",children:"Example 2: D&P 20 Shaft 5 Diamond"}),(0,X.jsx)("p",{className:"Reference Example",children:"Example 3: D&P 5 Diamond 10 Diamond"}),(0,X.jsx)("h3",{className:"Reference",children:"Equip item"}),(0,X.jsx)("h3",{className:"Reference2",children:"Equip item In Slot X"}),(0,X.jsx)("h4",{className:"Reference",children:"Simulates equipping something"}),(0,X.jsx)("p",{className:"Reference",children:"When equipping an item, all other item of the same type in the first tab is unequipped, then the item selected is equipped."}),(0,X.jsx)("p",{className:"Reference",children:"Slot can be used if you have multiple of the same item. When slot is not specified, the leftmost item will be equipped. Note that you can use this command to equip something that is already equipped, which is not possible in game. You can also equip unequippable items like materials, but it is not meaningful"}),(0,X.jsx)(Ye,{emphasized:!0,children:"Note that you cannot specify metadata. If you need to equip a specific item among others of the same type, use slot to specify which"}),(0,X.jsx)("p",{className:"Reference Example",children:"Example 1: Equip Weapon"}),(0,X.jsx)("p",{className:"Reference Example",children:"Example 2: Equip Weapon In Slot 3"}),(0,X.jsx)("h3",{className:"Reference",children:"Unequip item"}),(0,X.jsx)("h3",{className:"Reference2",children:"Unequip item In Slot X"}),(0,X.jsx)("h4",{className:"Reference",children:"Simulates unequipping something"}),(0,X.jsx)("p",{className:"Reference",children:"When unequipping an item, only the selected item is unequipped."}),(0,X.jsx)("p",{className:"Reference",children:"Slot can be used if you have multiple of the same item. When slot is not specified, the leftmost equipped item will be unequipped. Note that you can use this command to unequip something that is already unequipped, which is useless. You cannot unequip arrows."}),(0,X.jsx)(Ye,{emphasized:!0,children:"Note that you cannot specify metadata. If you need to equip a specific item among others of the same type, use slot to specify which"}),(0,X.jsx)("p",{className:"Reference Example",children:"Example 1: Unequip Shield"}),(0,X.jsx)("p",{className:"Reference Example",children:"Example 2: Unequip Shield In Slot 5"}),(0,X.jsx)("h3",{className:"Reference",children:"Close Game"}),(0,X.jsx)("h4",{className:"Reference",children:"Simulates closing the game and restarting"}),(0,X.jsx)("p",{className:"Reference",children:"When closing the game, Visible Inventory and Game Data are erased"}),(0,X.jsx)("p",{className:"Reference Example",children:"Example: Close Game"}),(0,X.jsx)(Ge,{children:"Sync GameData"}),(0,X.jsx)(Qe,{children:"Copy Visible Inventory to Game Data"}),(0,X.jsx)(Ye,{children:"Certain actions in game will cause gamedata be synced with visible inventory, including but not limited to: open and close inventory, dpad quick menu, drop items."}),(0,X.jsx)(Ye,{children:"Furthermore, if visible inventory has Count = 0, Game Data will be empty."}),(0,X.jsx)(Ye,{emphasized:!0,children:"Example: Sync GameData"}),(0,X.jsx)(Ge,{children:"Init GameData"}),(0,X.jsx)(Ge,{connected:!0,children:"Init GameData X item1[meta] Y item2[meta] Z item3[meta] ..."}),(0,X.jsx)(Qe,{children:"Used for forcing the game data to be desynced with visible inventory in simulation"}),(0,X.jsxs)(Ye,{children:["Similar to ",(0,X.jsx)(Xe,{children:"Initialize"}),", this command sets up game data with items in the specified order. However, this command does not change visible inventory. This can be used to set up an initial state where Game Data is desynced."]}),(0,X.jsx)(Ye,{emphasized:!0,children:"Example: Init GameData 1 Apple 2 Axe 3 Slate 4 SpiritOrb"}),(0,X.jsx)("h3",{className:"Reference",children:"Shoot X Arrow"}),(0,X.jsx)("h4",{className:"Reference",children:"Simulates shooting arrow without opening inventory"}),(0,X.jsx)("p",{className:"Reference",children:"When reloading a save with desynced game data, the equipped weapon/bow/shield are automatically corrupted, but not the arrows. To corrupt the equipped arrow slot, you need to shoot an arrow."}),(0,X.jsxs)("p",{className:"Reference",children:["This command does not let you select which arrow to shoot. When you reload a save, Link should have the last equipped arrow slot equipped in the overworld.",(0,X.jsx)("span",{className:"Example",children:"[needs confirmation]"})]}),(0,X.jsx)("p",{className:"Reference Example",children:"Example: Shoot 1 Arrow"}),(0,X.jsx)("h3",{className:"Reference",children:"Enter/Exit Eventide"}),(0,X.jsx)("h3",{className:"Reference2",children:"Enter/Exit TOTS"}),(0,X.jsx)("h4",{className:"Reference",children:"Simulates entering/exiting Eventide or Trial of the Sword"}),(0,X.jsx)("p",{className:"Reference",children:"When entering Eventide or TotS, the entire inventory is cleared except for key items regardless of inventory count. While the challenge is active, none of the inventory changes are synced to game data."}),(0,X.jsx)("p",{className:"Reference",children:"When exiting the challenge, the game reloads the game data as if reloading a save"}),(0,X.jsx)("p",{className:"Reference Example",children:"Example: Enter Eventide"}),(0,X.jsx)(Ge,{children:"Write [meta] To item"}),(0,X.jsx)(Ge,{connected:!0,children:"Write [meta] To item In Slot X"}),(0,X.jsx)(Qe,{children:"Change the metadata of item"}),(0,X.jsx)(Ye,{children:"This can be used to modify durability on weapon or count on items. This will sync inventory to game data."}),(0,X.jsx)(Ye,{children:"if you write 0 to life, it will not cause the slot to be removed"}),(0,X.jsx)(Ye,{emphasized:!0,children:"Example: Write [life=1000] To pot lid"}),(0,X.jsx)(Ye,{emphasized:!0,children:"Example: Write [life=1000] To pot lid In Slot 3"})]})})})})),at="object"===typeof window&&window.window===window?window:"object"===typeof window.self&&window.self.self===window.self?window.self:"object"===typeof window.global&&window.global.global===window.global?window.global:void 0;function it(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){st(r.response,t,n)},r.onerror=function(){console.error("could not download file")},r.send()}function lt(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(n){}return t.status>=200&&t.status<=299}function ot(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var ut=at.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),st=at.saveAs||("object"!==typeof window||window!==at?function(){}:"download"in HTMLAnchorElement.prototype&&!ut?function(e,t,n){var r=at.URL||at.webkitURL,a=document.createElement("a");t=t||e.name||"download",a.download=t,a.rel="noopener","string"===typeof e?(a.href=e,a.origin!==window.location.origin?lt(a.href)?it(e,t,n):ot(a,a.target="_blank"):ot(a)):(a.href=r.createObjectURL(e),setTimeout((function(){r.revokeObjectURL(a.href)}),4e4),setTimeout((function(){ot(a)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,t,n){if(t=t||e.name||"download","string"===typeof e)if(lt(e))it(e,t,n);else{var r=document.createElement("a");r.href=e,r.target="_blank",setTimeout((function(){ot(r)}))}else navigator.msSaveOrOpenBlob(function(e,t){return"undefined"===typeof t?t={autoBom:!1}:"object"!==typeof t&&(console.error("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}(e,n),t)}:function(e,t,n,r){if((r=r||window.open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),"string"===typeof e)return it(e,t,n);var a="application/octet-stream"===e.type,i=/constructor/i.test(at.HTMLElement)||at.safari,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||a&&i||ut)&&"undefined"!==typeof FileReader){var o=new FileReader;o.onloadend=function(){var e=o.result;e=l?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=e:window.location=e,r=null},o.readAsDataURL(e)}else{var u=at.URL||at.webkitURL,s=u.createObjectURL(e);r?r.location=s:window.location.href=s,r=null,setTimeout((function(){u.revokeObjectURL(s)}),4e4)}}),ct=st,ft=function(t){var n=t.interlaceInventory,r=t.setInterlaceInventory,a=t.isIconAnimated,i=t.setIsIconAnimated,o=t.commandText,u=t.setCommandText,s=l((0,e.useState)(o),2),c=s[0],f=s[1],d=l((0,e.useState)(""),2),h=d[0],p=d[1],m=(0,e.useRef)(null);return(0,X.jsxs)("div",{className:"OtherPage",children:[(0,X.jsx)("input",{ref:m,id:"Upload",type:"File",hidden:!0,onChange:function(e){var t=e.target.files;if(null!==t&&void 0!==t&&t.length&&t[0]){var n=t[0],r=n.name.endsWith(".txt")?n.name.substring(0,n.name.length-4):n.name;p(r),n.text().then((function(e){f(e),u(e)}))}}}),(0,X.jsx)(qe,{title:"Options",children:(0,X.jsxs)("div",{className:"OtherPageContent",children:[(0,X.jsxs)("h3",{className:"Reference",children:["Interlace Inventory with GameData",(0,X.jsx)("button",{className:"MainButton",onClick:function(){r(!n)},children:n?"ON":"OFF"})]}),(0,X.jsx)("h4",{className:"Reference",children:"Toggle whether Visible Inventory should be displayed separetely from Game Data or interlaced."}),(0,X.jsxs)("h3",{className:"Reference",children:["Enable Animated Item Icons",(0,X.jsx)("button",{className:"MainButton",onClick:function(){i(!a)},children:a?"ON":"OFF"})]}),(0,X.jsx)("h4",{className:"Reference",children:"Toggle whether items such as the champion abilities or Travel Medallion use animated or still icons."}),(0,X.jsx)("h3",{className:"Reference",children:"Import / Export"}),(0,X.jsx)("h4",{className:"Reference",children:"You can also directly copy, paste, or edit the commands here"}),(0,X.jsxs)("p",{className:"Reference",children:[(0,X.jsx)("button",{className:"MainButton",onClick:function(){m.current&&m.current.click()},children:"Import"}),(0,X.jsx)("button",{className:"MainButton",onClick:function(){!function(e,t){var n=new Blob([e],{type:"text/plain;charset=utf-8"});ct(n,t)}(c,h+".txt"||0)},children:"Export"}),(0,X.jsx)("input",{className:"MainInput",spellCheck:!1,value:h,onChange:function(e){p(e.target.value)},placeholder:"File name"}),(0,X.jsx)("textarea",{className:"MainInput",spellCheck:!1,value:c,onChange:function(e){f(e.target.value)}}),c!==o&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)("button",{className:"MainButton",onClick:function(){u(c)},children:"Save"}),(0,X.jsx)("span",{className:"Example",children:"Don't forget to save changes"})]})]}),(0,X.jsx)("h3",{className:"Reference",children:"Credits"}),(0,X.jsxs)("p",{className:"Reference",children:["This app is a fork of ",(0,X.jsx)("a",{href:"https://github.com/iTNTPiston",children:"iTNTPiston"}),"'s ",(0,X.jsx)("a",{href:"https://dupl.itntpiston.app/",children:"dupl.itntpiston.app"}),", and is modified by ",(0,X.jsx)("a",{href:"https://github.com/sup39",children:"sup39"}),". This app is released under MIT license:"]}),(0,X.jsx)("p",{className:"Reference License",children:(0,X.jsx)("code",{children:'MIT License\n\nCopyright (c) 2022 Michael\nCopyright (c) 2022 sup39\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.'})}),(0,X.jsxs)("p",{className:"Reference",children:["The source code of this app can be found on ",(0,X.jsx)("a",{href:"https://github.com/sup39/botw-hundo-dupl",children:"Github"}),"."]})]})})]})},dt=e.memo((function(t){var n=t.isIconAnimated,r=(0,e.useContext)(se).getAllItems();return(0,X.jsx)("div",{className:"OtherPage",children:(0,X.jsx)(qe,{title:"Item Gallery",children:(0,X.jsxs)("div",{className:"OtherPageContent",children:[(0,X.jsx)(Ye,{children:"You can find every single item here."}),(0,X.jsx)(Ye,{children:"The value at the bottom left of equipments is the default durability"}),(0,X.jsx)("div",{children:Object.values(r).map((function(e,t){return(0,X.jsx)(Be,{slot:Ze(e.createDefaultStack(),!1,n)},t)}))})]})})})})),ht=function(){var e=localStorage.getItem("HDS.Setting"),t={interlaceInventory:!1,isIconAnimated:!0};return e?s(s({},t),JSON.parse(e)):t}(),pt=function(){var t=(0,e.useContext)(se).searchItem,n=l((0,e.useState)("#simulation"),2),r=n[0],a=n[1],o=l((0,e.useState)(ht.interlaceInventory),2),u=o[0],s=o[1],c=l((0,e.useState)(ht.isIconAnimated),2),f=c[0],d=c[1];(0,e.useEffect)((function(){localStorage.setItem("HDS.Setting",JSON.stringify({interlaceInventory:u,isIconAnimated:f}))}),[u,f]);var h=l((0,e.useState)(function(){var e=localStorage.getItem("HDS.CurrentCommandsText");return e?e.split("\n"):["Get 5 Diamond 1 Slate 1 Glider 4 SpiritOrb","Save","# Magically break 4 slots","Break 4 Slots","Reload","Save","Reload"]}()),2),p=h[0],m=h[1],v=l((0,e.useState)(""),2),y=v[0],g=v[1],b=l((0,e.useState)(0),2),w=b[0],k=b[1],N=l((0,e.useState)(0),2),R=N[0],T=N[1],_=l((0,e.useState)(0),2),I=_[0],P=_[1],F=l((0,e.useState)(-1),2),U=F[0],B=F[1],q=(0,e.useRef)(null),H=(0,e.useCallback)((function(e){return function(e,t){var n=function(e,t){for(var n=[],r=e.search(t);-1!==r;)0!==r&&n.push(e.substring(0,r)),n.push(e[r]),r=(e=e.substring(r+1)).search(t);return""!==e&&n.push(e),n}(e,/[\s.[\]]/).filter((function(e){return!e.match(/^\s*$/)}));if(0===n.length)return new W("","");var r=je(n);if(r)return r;var a=function(e){return t(e)||"Item not found: ".concat(e)};if(n.length>0&&E(n[0],"initialize")){var i=Re(n,1,t);return"string"===typeof i?new W(e,i):new j(i)}if(n.length>1&&E(n[0],"init")&&E(n[1],"gamedata")){var l=Re(n,2,t);return"string"===typeof l?new W(e,l):new Ee(l)}if(S(n[0])){if(2===n.length){var o=a(n[1]);return"string"===typeof o?new W(e,o):new L(n[0],[new Ne(o,1)])}if(n.length>2){var u=Re(n,1,t);return"string"===typeof u?new W(e,u):new L(n[0],u)}}if(x(n[0])){if(6===n.length&&E(n[3],"from")&&E(n[4],"slot")){var s=Te(n[1]);if(void 0===s)return new W(e,_e(n[1]));var c=n[2],f=parseInt(n[5]);if(!Number.isInteger(f))return new W(e,_e(n[5]));var d=a(c);return"string"===typeof d?new W(e,d):new O(n[0],[new Ne(d,s)],f-1)}if(5===n.length&&E(n[2],"from")&&E(n[3],"slot")){var h=n[1],p=parseInt(n[4]);if(!Number.isInteger(p))return new W(e,_e(n[4]));var m=a(h);return"string"===typeof m?new W(e,m):new O(n[0],[new Ne(m,1)],p-1)}if(2===n.length){var v=a(n[1]);return"string"===typeof v?new W(e,v):new O(n[0],[new Ne(v,1)],0)}if(n.length>2){var y=Re(n,1,t);return"string"===typeof y?new W(e,y):new O(n[0],y,0)}}if(n.length>2&&C(n[0],["d&p","dnp","dap"])){var g=Re(n,1,t);return"string"===typeof g?new W(e,g):new D(g)}if(E(n[0],"equip")){if(5===n.length&&E(n[2],"in")&&E(n[3],"slot")){var b=n[1],w=parseInt(n[4]);if(!Number.isInteger(w))return new W(e,_e(n[4]));var k=a(b);return"string"===typeof k?new W(e,k):new z(k.item,w-1,!1)}if(2===n.length){var N=a(n[1]);return"string"===typeof N?new W(e,N):new z(N.item,0,!0)}}if(E(n[0],"unequip")){if(5===n.length&&E(n[2],"in")&&E(n[3],"slot")){var R=n[1],T=parseInt(n[4]);if(!Number.isInteger(T))return new W(e,_e(n[4]));var _=a(R);return"string"===typeof _?new W(e,_):new A(_.item,T-1,!1)}if(2===n.length){var I=a(n[1]);return"string"===typeof I?new W(e,I):new A(I.item,-1,!0)}}if(3===n.length&&E(n[0],"shoot")&&E(n[2],"arrow")){var P=Te(n[1]);return void 0===P?new W(e,_e(n[1])):new M(P)}if(n.length>2&&E(n[0],"write")&&"["===n[1]){for(var F="",U=2;U<n.length&&"]"!==n[U];){if("["===n[U])return new W(e,'Invalid "[" character in metadata');F+=n[U],U++}var B=Se(F);if("string"===typeof B)return new W(e,B);if(U++,n.length<=U||"to"!==n[U])return new W(e,"Missing item to write to");var q=a(n[++U]);if("string"===typeof q)return new W(e,q);if(n.length<=U+1)return new Ce(q.item,0,B);if(n.length===U+4&&E(n[U+1],"in")&&E(n[U+2],"slot")){var H=parseInt(n[U+3]);return Number.isInteger(H)?new Ce(q.item,H-1,B):new W(e,_e(n[4]))}}return n.length>0?new xe(n[0]):new W(e,"Unknown command")}(e,t)}),[t]),V=(0,e.useMemo)((function(){return p.map((function(e){return H(e)}))}),[p,H]),$=(0,e.useMemo)((function(){var e=[],t=new nt(new et(new Je([])),null,{},new tt(new Je([]),0));return V.forEach((function(n){t.executeCommand(n),e.push(t.deepClone())})),e}),[V]),G=(0,e.useCallback)((function(e){window.location.hash=e,a(e)}),[]);return(0,e.useEffect)((function(){G(window.location.hash||"#simulation")}),[window.location.hash]),(0,e.useEffect)((function(){window.onkeydown=function(e){if("ArrowDown"===e.code){for(var t=w+1;t<p.length&&void 0!==V[t].getError();)t++;if(t===p.length-1){var n=i(p);n.push(""),m(n),k(n.length-1)}else k(Math.min(p.length-1,t))}else if("ArrowUp"===e.code){for(var r=w-1;r>=0&&void 0!==V[r].getError();)r--;k(Math.max(0,r))}}}),[p,w,V]),(0,e.useEffect)((function(){var e=p.join("\n");localStorage.setItem("HDS.CurrentCommandsText",e)}),[p]),(0,e.useEffect)((function(){if(U<0||U>=p.length)B(-1);else if(q.current){var e=q.current.getBoundingClientRect();e.bottom>window.innerHeight&&P(I-e.height)}}),[q,U,p]),(0,X.jsxs)("div",{className:"Calamity",children:[(0,X.jsxs)("div",{id:"NavBar",style:{backgroundColor:"#262626",color:"#ffffff",height:40},children:[(0,X.jsx)("button",{className:"MainButton",onClick:function(){G("#simulation")},children:"Simulation"}),(0,X.jsx)("button",{className:"MainButton",onClick:function(){G("#reference")},children:"Commands"}),(0,X.jsx)("button",{className:"MainButton",onClick:function(){G("#items")},children:"Items"}),(0,X.jsx)("button",{className:"MainButton",onClick:function(){G("#options")},children:"Options"}),"Helpful reading for understanding IST: ",(0,X.jsx)("a",{href:"https://restite.org/reload/#",children:"https://restite.org/reload"})," by savage13"]}),(0,X.jsxs)("div",{id:"SidePane",style:{width:300,float:"left"},children:[(0,X.jsx)("div",{style:{maxHeight:220,height:"30vh",border:"1px solid black",boxSizing:"border-box",overflowY:"hidden"},children:(0,X.jsx)(qe,{title:"Saves",children:w>=0&&w<$.length&&(0,X.jsxs)("ol",{children:[!!$[w].getManualSave()&&(0,X.jsx)(Oe,{onClick:function(){g(""),G("#simulation")},useListItem:!0,isSelected:""===y,children:"Manual Save"}),Object.entries($[w].getNamedSaves()).map((function(e,t){var n=l(e,2),r=n[0];n[1];return(0,X.jsx)(Oe,{onClick:function(){g(r),G("#simulation")},isSelected:y===r,useListItem:!0,children:r},t)}))]})})}),(0,X.jsx)("div",{style:{minHeight:"calc( 70vh - 40px )",height:"calc( 100vh - 40px - 220px )",border:"1px solid black",boxSizing:"border-box",overflowY:"hidden"},children:(0,X.jsx)(qe,{title:"Instructions",children:(0,X.jsxs)("ol",{style:{},children:[p.map((function(e,t){return(0,X.jsx)(Oe,{onClick:function(){k(t),G("#simulation");var e=document.getElementById("CommandInputField");e&&e.focus()},onContextMenu:function(e,n){B(t),T(e),P(n)},isSelected:w===t,isContextSelected:U===t,isComment:e.startsWith("#"),useListItem:!e.startsWith("#"),isInvalid:void 0!==V[t].getError(),children:e},t)})),(0,X.jsx)(Oe,{onClick:function(){var e=i(p);e.push(""),m(e)},onContextMenu:function(){var e=i(p);e.push(""),m(e)},children:"(new)"})]})})})]}),(0,X.jsxs)("div",{id:"MainPane",style:{position:"absolute",top:40,right:0,bottom:0,left:300,backgroundColor:"#262626"},children:["#simulation"===r&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)("div",{style:{maxHeight:220,height:"30vh",overflowY:"hidden",color:"white",backgroundColor:"#262626"},children:w>=0&&w<V.length?(0,X.jsx)(qe,{title:"Save Data",children:function(){if(""===y){var e=$[w].getManualSave();if(e)return(0,X.jsx)(Ve,{slots:e.getDisplayedSlots(f)})}else if(y){var t=$[w].getNamedSaves();if(y in t){var n=t[y];return(0,X.jsx)(Ve,{slots:n.getDisplayedSlots(f)})}}return null}()}):(0,X.jsx)(qe,{title:"Select an instruction on the left to view it"})}),(0,X.jsx)("div",{style:{minHeight:"calc( 70vh - 40px )",height:"calc( 100vh - 40px - 220px )",border:"1px solid black",boxSizing:"border-box",overflowY:"hidden"},children:w>=0&&w<V.length&&(0,X.jsx)(Ke,{overlaySave:u,isIconAnimated:f,command:p[w],commandError:V[w].getError(),simulationState:$[w],editCommand:function(e){var t=i(p);t[w]=e,m(t)}})})]}),"#reference"===r&&(0,X.jsx)(rt,{}),"#items"===r&&(0,X.jsx)(dt,{isIconAnimated:f}),"#options"===r&&(0,X.jsx)(ft,{interlaceInventory:u,setInterlaceInventory:s,isIconAnimated:f,setIsIconAnimated:d,commandText:p.join("\n"),setCommandText:function(e){m(e.split("\n"))}})]}),U>=0&&U<V.length&&(0,X.jsx)("div",{style:{position:"absolute",top:0,left:0,width:"100vw",height:"100vh"},onClick:function(){B(-1)},onContextMenu:function(e){B(-1),e.preventDefault()},children:(0,X.jsx)("div",{ref:q,style:{position:"absolute",top:I,left:R,width:"200px",backgroundColor:"white",border:"1px solid black"},children:(0,X.jsxs)("ul",{style:{margin:0,listStyleType:"none",paddingInlineStart:0},children:[(0,X.jsx)(Oe,{onClick:function(){var e=i(p);e.splice(U,0,""),m(e),B(-1)},children:"Insert Above"}),(0,X.jsx)(Oe,{onClick:function(){if(U>0){var e=i(p),t=e[U];e[U]=e[U-1],e[U-1]=t,m(e),B(-1)}},children:"Move Up"}),(0,X.jsx)(Oe,{onClick:function(){confirm("Delete?")&&(m(p.filter((function(e,t){return t!==U}))),w>=p.length&&k(p.length-1),B(-1))},children:"Delete"})]})})})]})},mt=function(e){e&&e instanceof Function&&n.e(787).then(n.bind(n,787)).then((function(t){var n=t.getCLS,r=t.getFID,a=t.getFCP,i=t.getLCP,l=t.getTTFB;n(e),r(e),a(e),i(e),l(e)}))};t.createRoot(document.getElementById("root")).render((0,X.jsx)(e.StrictMode,{children:(0,X.jsx)(Me,{children:(0,X.jsx)(fe,{children:(0,X.jsx)(pt,{})})})})),mt()}()}();
|
|
//# sourceMappingURL=main.d3d96545.js.map
|