import{r as e,g as t,R as n}from"./redux-vendor-sLt0ISgd.js";function r(e,t){for(var n=0;n<t.length;n++){const r=t[n];if("string"!=typeof r&&!Array.isArray(r))for(const t in r)if("default"!==t&&!(t in e)){const n=Object.getOwnPropertyDescriptor(r,t);n&&Object.defineProperty(e,t,n.get?n:{enumerable:!0,get:()=>r[t]})}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var a={exports:{}},l={},o={exports:{}},i={};
/**
 * @license React
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
!function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,l=e[r];if(!(0<a(l,t)))break e;e[r]=t,e[n]=l,n=r}}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,l=e.length,o=l>>>1;r<o;){var i=2*(r+1)-1,u=e[i],s=i+1,c=e[s];if(0>a(u,n))s<l&&0>a(c,u)?(e[r]=c,e[s]=n,r=s):(e[r]=u,e[i]=n,r=i);else{if(!(s<l&&0>a(c,n)))break e;e[r]=c,e[s]=n,r=s}}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var l=performance;e.unstable_now=function(){return l.now()}}else{var o=Date,i=o.now();e.unstable_now=function(){return o.now()-i}}var u=[],s=[],c=1,d=null,f=3,p=!1,h=!1,m=!1,v="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var a=n(s);null!==a;){if(null===a.callback)r(s);else{if(!(a.startTime<=e))break;r(s),a.sortIndex=a.expirationTime,t(u,a)}a=n(s)}}function w(e){if(m=!1,b(e),!h)if(null!==n(u))h=!0,N(k);else{var t=n(s);null!==t&&D(w,t.startTime-e)}}function k(t,a){h=!1,m&&(m=!1,g(C),C=-1),p=!0;var l=f;try{for(b(a),d=n(u);null!==d&&(!(d.expirationTime>a)||t&&!L());){var o=d.callback;if("function"==typeof o){d.callback=null,f=d.priorityLevel;var i=o(d.expirationTime<=a);a=e.unstable_now(),"function"==typeof i?d.callback=i:d===n(u)&&r(u),b(a)}else r(u);d=n(u)}if(null!==d)var c=!0;else{var v=n(s);null!==v&&D(w,v.startTime-a),c=!1}return c}finally{d=null,f=l,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,E=!1,x=null,C=-1,P=5,_=-1;function L(){return!(e.unstable_now()-_<P)}function R(){if(null!==x){var t=e.unstable_now();_=t;var n=!0;try{n=x(!0,t)}finally{n?S():(E=!1,x=null)}}else E=!1}if("function"==typeof y)S=function(){y(R)};else if("undefined"!=typeof MessageChannel){var T=new MessageChannel,z=T.port2;T.port1.onmessage=R,S=function(){z.postMessage(null)}}else S=function(){v(R,0)};function N(e){x=e,E||(E=!0,S())}function D(t,n){C=v(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){h||p||(h=!0,N(k))},e.unstable_forceFrameRate=function(e){0>e||125<e||(P=0<e?Math.floor(1e3/e):5)},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,a,l){var o=e.unstable_now();switch("object"==typeof l&&null!==l?l="number"==typeof(l=l.delay)&&0<l?o+l:o:l=o,r){case 1:var i=-1;break;case 2:i=250;break;case 5:i=1073741823;break;case 4:i=1e4;break;default:i=5e3}return r={id:c++,callback:a,priorityLevel:r,startTime:l,expirationTime:i=l+i,sortIndex:-1},l>o?(r.sortIndex=l,t(s,r),null===n(u)&&r===n(s)&&(m?(g(C),C=-1):m=!0,D(w,l-o))):(r.sortIndex=i,t(u,r),h||p||(h=!0,N(k))),r},e.unstable_shouldYield=L,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}}(i),o.exports=i;var u=o.exports,s=e,c=u;
/**
 * @license React
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */function d(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 f=new Set,p={};function h(e,t){m(e,t),m(e+"Capture",t)}function m(e,t){for(p[e]=t,e=0;e<t.length;e++)f.add(t[e])}var v=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),g=Object.prototype.hasOwnProperty,y=/^[: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]*$/,b={},w={};function k(e,t,n,r,a,l,o){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=l,this.removeEmptyString=o}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){S[e]=new k(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];S[t]=new k(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){S[e]=new k(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){S[e]=new k(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){S[e]=new k(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){S[e]=new k(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){S[e]=new k(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){S[e]=new k(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){S[e]=new k(e,5,!1,e.toLowerCase(),null,!1,!1)});var E=/[\-:]([a-z])/g;function x(e){return e[1].toUpperCase()}function C(e,t,n,r){var a=S.hasOwnProperty(t)?S[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||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!!g.call(w,e)||!g.call(b,e)&&(y.test(e)?w[e]=!0:(b[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(E,x);S[t]=new k(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(E,x);S[t]=new k(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(E,x);S[t]=new k(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){S[e]=new k(e,1,!1,e.toLowerCase(),null,!1,!1)}),S.xlinkHref=new k("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){S[e]=new k(e,1,!1,e.toLowerCase(),null,!0,!0)});var P=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,_=Symbol.for("react.element"),L=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),z=Symbol.for("react.profiler"),N=Symbol.for("react.provider"),D=Symbol.for("react.context"),M=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),F=Symbol.for("react.suspense_list"),U=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),A=Symbol.for("react.offscreen"),j=Symbol.iterator;function B(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=j&&e[j]||e["@@iterator"])?e:null}var H,V=Object.assign;function W(e){if(void 0===H)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);H=t&&t[1]||""}return"\n"+H+e}var $=!1;function Q(e,t){if(!e||$)return"";$=!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"),l=r.stack.split("\n"),o=a.length-1,i=l.length-1;1<=o&&0<=i&&a[o]!==l[i];)i--;for(;1<=o&&0<=i;o--,i--)if(a[o]!==l[i]){if(1!==o||1!==i)do{if(o--,0>--i||a[o]!==l[i]){var u="\n"+a[o].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=o&&0<=i);break}}}finally{$=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?W(e):""}function q(e){switch(e.tag){case 5:return W(e.type);case 16:return W("Lazy");case 13:return W("Suspense");case 19:return W("SuspenseList");case 0:case 2:case 15:return e=Q(e.type,!1);case 11:return e=Q(e.type.render,!1);case 1:return e=Q(e.type,!0);default:return""}}function K(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 R:return"Fragment";case L:return"Portal";case z:return"Profiler";case T:return"StrictMode";case O:return"Suspense";case F:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case D:return(e.displayName||"Context")+".Consumer";case N:return(e._context.displayName||"Context")+".Provider";case M:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case U:return null!==(t=e.displayName||null)?t:K(e.type)||"Memo";case I:t=e._payload,e=e._init;try{return K(e(t))}catch(n){}}return null}function Y(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 K(t);case 8:return t===T?"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 X(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function J(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function G(e){e._valueTracker||(e._valueTracker=function(e){var t=J(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,l.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 Z(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=J(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function ee(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function te(e,t){var n=t.checked;return V({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ne(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=X(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 re(e,t){null!=(t=t.checked)&&C(e,"checked",t,!1)}function ae(e,t){re(e,t);var n=X(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")?oe(e,t.type,n):t.hasOwnProperty("defaultValue")&&oe(e,t.type,X(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function le(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 oe(e,t,n){"number"===t&&ee(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ie=Array.isArray;function ue(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=""+X(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 se(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(d(91));return V({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ce(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(d(92));if(ie(n)){if(1<n.length)throw Error(d(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:X(n)}}function de(e,t){var n=X(t.value),r=X(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 fe(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function pe(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 he(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?pe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var me,ve,ge=(ve=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((me=me||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=me.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 ve(e,t)})}:ve);function ye(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 be={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},we=["Webkit","ms","Moz","O"];function ke(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||be.hasOwnProperty(e)&&be[e]?(""+t).trim():t+"px"}function Se(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=ke(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(be).forEach(function(e){we.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),be[t]=be[e]})});var Ee=V({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 xe(e,t){if(t){if(Ee[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(d(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(d(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(d(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(d(62))}}function Ce(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 Pe=null;function _e(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Le=null,Re=null,Te=null;function ze(e){if(e=Ca(e)){if("function"!=typeof Le)throw Error(d(280));var t=e.stateNode;t&&(t=_a(t),Le(e.stateNode,e.type,t))}}function Ne(e){Re?Te?Te.push(e):Te=[e]:Re=e}function De(){if(Re){var e=Re,t=Te;if(Te=Re=null,ze(e),t)for(e=0;e<t.length;e++)ze(t[e])}}function Me(e,t){return e(t)}function Oe(){}var Fe=!1;function Ue(e,t,n){if(Fe)return e(t,n);Fe=!0;try{return Me(e,t,n)}finally{Fe=!1,(null!==Re||null!==Te)&&(Oe(),De())}}function Ie(e,t){var n=e.stateNode;if(null===n)return null;var r=_a(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(d(231,t,typeof n));return n}var Ae=!1;if(v)try{var je={};Object.defineProperty(je,"passive",{get:function(){Ae=!0}}),window.addEventListener("test",je,je),window.removeEventListener("test",je,je)}catch(ve){Ae=!1}function Be(e,t,n,r,a,l,o,i,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(c){this.onError(c)}}var He=!1,Ve=null,We=!1,$e=null,Qe={onError:function(e){He=!0,Ve=e}};function qe(e,t,n,r,a,l,o,i,u){He=!1,Ve=null,Be.apply(Qe,arguments)}function Ke(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ye(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 Xe(e){if(Ke(e)!==e)throw Error(d(188))}function Je(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ke(e)))throw Error(d(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 Xe(a),e;if(l===r)return Xe(a),t;l=l.sibling}throw Error(d(188))}if(n.return!==r.return)n=a,r=l;else{for(var o=!1,i=a.child;i;){if(i===n){o=!0,n=a,r=l;break}if(i===r){o=!0,r=a,n=l;break}i=i.sibling}if(!o){for(i=l.child;i;){if(i===n){o=!0,n=l,r=a;break}if(i===r){o=!0,r=l,n=a;break}i=i.sibling}if(!o)throw Error(d(189))}}if(n.alternate!==r)throw Error(d(190))}if(3!==n.tag)throw Error(d(188));return n.stateNode.current===n?e:t}(e))?Ge(e):null}function Ge(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ge(e);if(null!==t)return t;e=e.sibling}return null}var Ze=c.unstable_scheduleCallback,et=c.unstable_cancelCallback,tt=c.unstable_shouldYield,nt=c.unstable_requestPaint,rt=c.unstable_now,at=c.unstable_getCurrentPriorityLevel,lt=c.unstable_ImmediatePriority,ot=c.unstable_UserBlockingPriority,it=c.unstable_NormalPriority,ut=c.unstable_LowPriority,st=c.unstable_IdlePriority,ct=null,dt=null;var ft=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(pt(e)/ht|0)|0},pt=Math.log,ht=Math.LN2;var mt=64,vt=4194304;function gt(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 yt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,l=e.pingedLanes,o=268435455&n;if(0!==o){var i=o&~a;0!==i?r=gt(i):0!==(l&=o)&&(r=gt(l))}else 0!==(o=n&~a)?r=gt(o):0!==l&&(r=gt(l));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&a)&&((a=r&-r)>=(l=t&-t)||16===a&&4194240&l))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-ft(t)),r|=e[n],t&=~a;return r}function bt(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 wt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function kt(){var e=mt;return!(4194240&(mt<<=1))&&(mt=64),e}function St(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Et(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-ft(t)]=n}function xt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ft(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}var Ct=0;function Pt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var _t,Lt,Rt,Tt,zt,Nt=!1,Dt=[],Mt=null,Ot=null,Ft=null,Ut=new Map,It=new Map,At=[],jt="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 Bt(e,t){switch(e){case"focusin":case"focusout":Mt=null;break;case"dragenter":case"dragleave":Ot=null;break;case"mouseover":case"mouseout":Ft=null;break;case"pointerover":case"pointerout":Ut.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":It.delete(t.pointerId)}}function Ht(e,t,n,r,a,l){return null===e||e.nativeEvent!==l?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:l,targetContainers:[a]},null!==t&&(null!==(t=Ca(t))&&Lt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function Vt(e){var t=xa(e.target);if(null!==t){var n=Ke(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ye(n)))return e.blockedOn=t,void zt(e.priority,function(){Rt(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 Wt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=tn(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=Ca(n))&&Lt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);Pe=r,n.target.dispatchEvent(r),Pe=null,t.shift()}return!0}function $t(e,t,n){Wt(e)&&n.delete(t)}function Qt(){Nt=!1,null!==Mt&&Wt(Mt)&&(Mt=null),null!==Ot&&Wt(Ot)&&(Ot=null),null!==Ft&&Wt(Ft)&&(Ft=null),Ut.forEach($t),It.forEach($t)}function qt(e,t){e.blockedOn===t&&(e.blockedOn=null,Nt||(Nt=!0,c.unstable_scheduleCallback(c.unstable_NormalPriority,Qt)))}function Kt(e){function t(t){return qt(t,e)}if(0<Dt.length){qt(Dt[0],e);for(var n=1;n<Dt.length;n++){var r=Dt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Mt&&qt(Mt,e),null!==Ot&&qt(Ot,e),null!==Ft&&qt(Ft,e),Ut.forEach(t),It.forEach(t),n=0;n<At.length;n++)(r=At[n]).blockedOn===e&&(r.blockedOn=null);for(;0<At.length&&null===(n=At[0]).blockedOn;)Vt(n),null===n.blockedOn&&At.shift()}var Yt=P.ReactCurrentBatchConfig,Xt=!0;function Jt(e,t,n,r){var a=Ct,l=Yt.transition;Yt.transition=null;try{Ct=1,Zt(e,t,n,r)}finally{Ct=a,Yt.transition=l}}function Gt(e,t,n,r){var a=Ct,l=Yt.transition;Yt.transition=null;try{Ct=4,Zt(e,t,n,r)}finally{Ct=a,Yt.transition=l}}function Zt(e,t,n,r){if(Xt){var a=tn(e,t,n,r);if(null===a)Xr(e,t,r,en,n),Bt(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return Mt=Ht(Mt,e,t,n,r,a),!0;case"dragenter":return Ot=Ht(Ot,e,t,n,r,a),!0;case"mouseover":return Ft=Ht(Ft,e,t,n,r,a),!0;case"pointerover":var l=a.pointerId;return Ut.set(l,Ht(Ut.get(l)||null,e,t,n,r,a)),!0;case"gotpointercapture":return l=a.pointerId,It.set(l,Ht(It.get(l)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(Bt(e,r),4&t&&-1<jt.indexOf(e)){for(;null!==a;){var l=Ca(a);if(null!==l&&_t(l),null===(l=tn(e,t,n,r))&&Xr(e,t,r,en,n),l===a)break;a=l}null!==a&&r.stopPropagation()}else Xr(e,t,r,null,n)}}var en=null;function tn(e,t,n,r){if(en=null,null!==(e=xa(e=_e(r))))if(null===(t=Ke(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ye(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 en=e,null}function nn(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(at()){case lt:return 1;case ot:return 4;case it:case ut:return 16;case st:return 536870912;default:return 16}default:return 16}}var rn=null,an=null,ln=null;function on(){if(ln)return ln;var e,t,n=an,r=n.length,a="value"in rn?rn.value:rn.textContent,l=a.length;for(e=0;e<r&&n[e]===a[e];e++);var o=r-e;for(t=1;t<=o&&n[r-t]===a[l-t];t++);return ln=a.slice(e,1<t?1-t:void 0)}function un(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 sn(){return!0}function cn(){return!1}function dn(e){function t(t,n,r,a,l){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=l,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(a):a[o]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?sn:cn,this.isPropagationStopped=cn,this}return V(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=sn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=sn)},persist:function(){},isPersistent:sn}),t}var fn,pn,hn,mn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},vn=dn(mn),gn=V({},mn,{view:0,detail:0}),yn=dn(gn),bn=V({},gn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zn,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!==hn&&(hn&&"mousemove"===e.type?(fn=e.screenX-hn.screenX,pn=e.screenY-hn.screenY):pn=fn=0,hn=e),fn)},movementY:function(e){return"movementY"in e?e.movementY:pn}}),wn=dn(bn),kn=dn(V({},bn,{dataTransfer:0})),Sn=dn(V({},gn,{relatedTarget:0})),En=dn(V({},mn,{animationName:0,elapsedTime:0,pseudoElement:0})),xn=V({},mn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Cn=dn(xn),Pn=dn(V({},mn,{data:0})),_n={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ln={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"},Rn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Tn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Rn[e])&&!!t[e]}function zn(){return Tn}var Nn=V({},gn,{key:function(e){if(e.key){var t=_n[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=un(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Ln[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:zn,charCode:function(e){return"keypress"===e.type?un(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?un(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Dn=dn(Nn),Mn=dn(V({},bn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),On=dn(V({},gn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:zn})),Fn=dn(V({},mn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Un=V({},bn,{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}),In=dn(Un),An=[9,13,27,32],jn=v&&"CompositionEvent"in window,Bn=null;v&&"documentMode"in document&&(Bn=document.documentMode);var Hn=v&&"TextEvent"in window&&!Bn,Vn=v&&(!jn||Bn&&8<Bn&&11>=Bn),Wn=String.fromCharCode(32),$n=!1;function Qn(e,t){switch(e){case"keyup":return-1!==An.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Kn=!1;var Yn={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 Xn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Yn[e.type]:"textarea"===t}function Jn(e,t,n,r){Ne(r),0<(t=Gr(t,"onChange")).length&&(n=new vn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Gn=null,Zn=null;function er(e){Wr(e,0)}function tr(e){if(Z(Pa(e)))return e}function nr(e,t){if("change"===e)return t}var rr=!1;if(v){var ar;if(v){var lr="oninput"in document;if(!lr){var or=document.createElement("div");or.setAttribute("oninput","return;"),lr="function"==typeof or.oninput}ar=lr}else ar=!1;rr=ar&&(!document.documentMode||9<document.documentMode)}function ir(){Gn&&(Gn.detachEvent("onpropertychange",ur),Zn=Gn=null)}function ur(e){if("value"===e.propertyName&&tr(Zn)){var t=[];Jn(t,Zn,e,_e(e)),Ue(er,t)}}function sr(e,t,n){"focusin"===e?(ir(),Zn=n,(Gn=t).attachEvent("onpropertychange",ur)):"focusout"===e&&ir()}function cr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return tr(Zn)}function dr(e,t){if("click"===e)return tr(t)}function fr(e,t){if("input"===e||"change"===e)return tr(t)}var pr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function hr(e,t){if(pr(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(!g.call(t,a)||!pr(e[a],t[a]))return!1}return!0}function mr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function vr(e,t){var n,r=mr(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=mr(r)}}function gr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?gr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function yr(){for(var e=window,t=ee();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=ee((e=t.contentWindow).document)}return t}function br(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 wr(e){var t=yr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&gr(n.ownerDocument.documentElement,n)){if(null!==r&&br(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,l=Math.min(r.start,a);r=void 0===r.end?l:Math.min(r.end,a),!e.extend&&l>r&&(a=r,r=l,l=a),a=vr(n,l);var o=vr(n,r);a&&o&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),l>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var kr=v&&"documentMode"in document&&11>=document.documentMode,Sr=null,Er=null,xr=null,Cr=!1;function Pr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Cr||null==Sr||Sr!==ee(r)||("selectionStart"in(r=Sr)&&br(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},xr&&hr(xr,r)||(xr=r,0<(r=Gr(Er,"onSelect")).length&&(t=new vn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Sr)))}function _r(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Lr={animationend:_r("Animation","AnimationEnd"),animationiteration:_r("Animation","AnimationIteration"),animationstart:_r("Animation","AnimationStart"),transitionend:_r("Transition","TransitionEnd")},Rr={},Tr={};function zr(e){if(Rr[e])return Rr[e];if(!Lr[e])return e;var t,n=Lr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Tr)return Rr[e]=n[t];return e}v&&(Tr=document.createElement("div").style,"AnimationEvent"in window||(delete Lr.animationend.animation,delete Lr.animationiteration.animation,delete Lr.animationstart.animation),"TransitionEvent"in window||delete Lr.transitionend.transition);var Nr=zr("animationend"),Dr=zr("animationiteration"),Mr=zr("animationstart"),Or=zr("transitionend"),Fr=new Map,Ur="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 Ir(e,t){Fr.set(e,t),h(t,[e])}for(var Ar=0;Ar<Ur.length;Ar++){var jr=Ur[Ar];Ir(jr.toLowerCase(),"on"+(jr[0].toUpperCase()+jr.slice(1)))}Ir(Nr,"onAnimationEnd"),Ir(Dr,"onAnimationIteration"),Ir(Mr,"onAnimationStart"),Ir("dblclick","onDoubleClick"),Ir("focusin","onFocus"),Ir("focusout","onBlur"),Ir(Or,"onTransitionEnd"),m("onMouseEnter",["mouseout","mouseover"]),m("onMouseLeave",["mouseout","mouseover"]),m("onPointerEnter",["pointerout","pointerover"]),m("onPointerLeave",["pointerout","pointerover"]),h("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),h("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),h("onBeforeInput",["compositionend","keypress","textInput","paste"]),h("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Br="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(" "),Hr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Br));function Vr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,l,o,i,u){if(qe.apply(this,arguments),He){if(!He)throw Error(d(198));var s=Ve;He=!1,Ve=null,We||(We=!0,$e=s)}}(r,t,void 0,e),e.currentTarget=null}function Wr(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var l=void 0;if(t)for(var o=r.length-1;0<=o;o--){var i=r[o],u=i.instance,s=i.currentTarget;if(i=i.listener,u!==l&&a.isPropagationStopped())break e;Vr(a,i,s),l=u}else for(o=0;o<r.length;o++){if(u=(i=r[o]).instance,s=i.currentTarget,i=i.listener,u!==l&&a.isPropagationStopped())break e;Vr(a,i,s),l=u}}}if(We)throw e=$e,We=!1,$e=null,e}function $r(e,t){var n=t[ka];void 0===n&&(n=t[ka]=new Set);var r=e+"__bubble";n.has(r)||(Yr(t,e,2,!1),n.add(r))}function Qr(e,t,n){var r=0;t&&(r|=4),Yr(n,e,r,t)}var qr="_reactListening"+Math.random().toString(36).slice(2);function Kr(e){if(!e[qr]){e[qr]=!0,f.forEach(function(t){"selectionchange"!==t&&(Hr.has(t)||Qr(t,!1,e),Qr(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[qr]||(t[qr]=!0,Qr("selectionchange",!1,t))}}function Yr(e,t,n,r){switch(nn(t)){case 1:var a=Jt;break;case 4:a=Gt;break;default:a=Zt}n=a.bind(null,t,n,e),a=void 0,!Ae||"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 Xr(e,t,n,r,a){var l=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var o=r.tag;if(3===o||4===o){var i=r.stateNode.containerInfo;if(i===a||8===i.nodeType&&i.parentNode===a)break;if(4===o)for(o=r.return;null!==o;){var u=o.tag;if((3===u||4===u)&&((u=o.stateNode.containerInfo)===a||8===u.nodeType&&u.parentNode===a))return;o=o.return}for(;null!==i;){if(null===(o=xa(i)))return;if(5===(u=o.tag)||6===u){r=l=o;continue e}i=i.parentNode}}r=r.return}Ue(function(){var r=l,a=_e(n),o=[];e:{var i=Fr.get(e);if(void 0!==i){var u=vn,s=e;switch(e){case"keypress":if(0===un(n))break e;case"keydown":case"keyup":u=Dn;break;case"focusin":s="focus",u=Sn;break;case"focusout":s="blur",u=Sn;break;case"beforeblur":case"afterblur":u=Sn;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=wn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=kn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=On;break;case Nr:case Dr:case Mr:u=En;break;case Or:u=Fn;break;case"scroll":u=yn;break;case"wheel":u=In;break;case"copy":case"cut":case"paste":u=Cn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=Mn}var c=!!(4&t),d=!c&&"scroll"===e,f=c?null!==i?i+"Capture":null:i;c=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&(null!=(m=Ie(h,f))&&c.push(Jr(h,m,p)))),d)break;h=h.return}0<c.length&&(i=new u(i,s,null,n,a),o.push({event:i,listeners:c}))}}if(!(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(i="mouseover"===e||"pointerover"===e)||n===Pe||!(s=n.relatedTarget||n.fromElement)||!xa(s)&&!s[wa])&&(u||i)&&(i=a.window===a?a:(i=a.ownerDocument)?i.defaultView||i.parentWindow:window,u?(u=r,null!==(s=(s=n.relatedTarget||n.toElement)?xa(s):null)&&(s!==(d=Ke(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(u=null,s=r),u!==s)){if(c=wn,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Mn,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==u?i:Pa(u),p=null==s?i:Pa(s),(i=new c(m,h+"leave",u,n,a)).target=d,i.relatedTarget=p,m=null,xa(a)===r&&((c=new c(f,h+"enter",s,n,a)).target=p,c.relatedTarget=d,m=c),d=m,u&&s)e:{for(f=s,h=0,p=c=u;p;p=Zr(p))h++;for(p=0,m=f;m;m=Zr(m))p++;for(;0<h-p;)c=Zr(c),h--;for(;0<p-h;)f=Zr(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break e;c=Zr(c),f=Zr(f)}c=null}else c=null;null!==u&&ea(o,i,u,c,!1),null!==s&&null!==d&&ea(o,d,s,c,!0)}if("select"===(u=(i=r?Pa(r):window).nodeName&&i.nodeName.toLowerCase())||"input"===u&&"file"===i.type)var v=nr;else if(Xn(i))if(rr)v=fr;else{v=cr;var g=sr}else(u=i.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(v=dr);switch(v&&(v=v(e,r))?Jn(o,v,n,a):(g&&g(e,i,r),"focusout"===e&&(g=i._wrapperState)&&g.controlled&&"number"===i.type&&oe(i,"number",i.value)),g=r?Pa(r):window,e){case"focusin":(Xn(g)||"true"===g.contentEditable)&&(Sr=g,Er=r,xr=null);break;case"focusout":xr=Er=Sr=null;break;case"mousedown":Cr=!0;break;case"contextmenu":case"mouseup":case"dragend":Cr=!1,Pr(o,n,a);break;case"selectionchange":if(kr)break;case"keydown":case"keyup":Pr(o,n,a)}var y;if(jn)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 Kn?Qn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Vn&&"ko"!==n.locale&&(Kn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Kn&&(y=on()):(an="value"in(rn=a)?rn.value:rn.textContent,Kn=!0)),0<(g=Gr(r,b)).length&&(b=new Pn(b,e,null,n,a),o.push({event:b,listeners:g}),y?b.data=y:null!==(y=qn(n))&&(b.data=y))),(y=Hn?function(e,t){switch(e){case"compositionend":return qn(t);case"keypress":return 32!==t.which?null:($n=!0,Wn);case"textInput":return(e=t.data)===Wn&&$n?null:e;default:return null}}(e,n):function(e,t){if(Kn)return"compositionend"===e||!jn&&Qn(e,t)?(e=on(),ln=an=rn=null,Kn=!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 Vn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Gr(r,"onBeforeInput")).length&&(a=new Pn("onBeforeInput","beforeinput",null,n,a),o.push({event:a,listeners:r}),a.data=y))}Wr(o,t)})}function Jr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Gr(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,l=a.stateNode;5===a.tag&&null!==l&&(a=l,null!=(l=Ie(e,n))&&r.unshift(Jr(e,l,a)),null!=(l=Ie(e,t))&&r.push(Jr(e,l,a))),e=e.return}return r}function Zr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function ea(e,t,n,r,a){for(var l=t._reactName,o=[];null!==n&&n!==r;){var i=n,u=i.alternate,s=i.stateNode;if(null!==u&&u===r)break;5===i.tag&&null!==s&&(i=s,a?null!=(u=Ie(n,l))&&o.unshift(Jr(n,u,i)):a||null!=(u=Ie(n,l))&&o.push(Jr(n,u,i))),n=n.return}0!==o.length&&e.push({event:t,listeners:o})}var ta=/\r\n?/g,na=/\u0000|\uFFFD/g;function ra(e){return("string"==typeof e?e:""+e).replace(ta,"\n").replace(na,"")}function aa(e,t,n){if(t=ra(t),ra(e)!==t&&n)throw Error(d(425))}function la(){}var oa=null,ia=null;function ua(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 sa="function"==typeof setTimeout?setTimeout:void 0,ca="function"==typeof clearTimeout?clearTimeout:void 0,da="function"==typeof Promise?Promise:void 0,fa="function"==typeof queueMicrotask?queueMicrotask:void 0!==da?function(e){return da.resolve(null).then(e).catch(pa)}:sa;function pa(e){setTimeout(function(){throw e})}function ha(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 Kt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=a}while(n);Kt(t)}function ma(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 va(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 ga=Math.random().toString(36).slice(2),ya="__reactFiber$"+ga,ba="__reactProps$"+ga,wa="__reactContainer$"+ga,ka="__reactEvents$"+ga,Sa="__reactListeners$"+ga,Ea="__reactHandles$"+ga;function xa(e){var t=e[ya];if(t)return t;for(var n=e.parentNode;n;){if(t=n[wa]||n[ya]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=va(e);null!==e;){if(n=e[ya])return n;e=va(e)}return t}n=(e=n).parentNode}return null}function Ca(e){return!(e=e[ya]||e[wa])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Pa(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(d(33))}function _a(e){return e[ba]||null}var La=[],Ra=-1;function Ta(e){return{current:e}}function za(e){0>Ra||(e.current=La[Ra],La[Ra]=null,Ra--)}function Na(e,t){Ra++,La[Ra]=e.current,e.current=t}var Da={},Ma=Ta(Da),Oa=Ta(!1),Fa=Da;function Ua(e,t){var n=e.type.contextTypes;if(!n)return Da;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,l={};for(a in n)l[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Ia(e){return null!=(e=e.childContextTypes)}function Aa(){za(Oa),za(Ma)}function ja(e,t,n){if(Ma.current!==Da)throw Error(d(168));Na(Ma,t),Na(Oa,n)}function Ba(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(d(108,Y(e)||"Unknown",a));return V({},n,r)}function Ha(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Da,Fa=Ma.current,Na(Ma,e),Na(Oa,Oa.current),!0}function Va(e,t,n){var r=e.stateNode;if(!r)throw Error(d(169));n?(e=Ba(e,t,Fa),r.__reactInternalMemoizedMergedChildContext=e,za(Oa),za(Ma),Na(Ma,e)):za(Oa),Na(Oa,n)}var Wa=null,$a=!1,Qa=!1;function qa(e){null===Wa?Wa=[e]:Wa.push(e)}function Ka(){if(!Qa&&null!==Wa){Qa=!0;var e=0,t=Ct;try{var n=Wa;for(Ct=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Wa=null,$a=!1}catch(a){throw null!==Wa&&(Wa=Wa.slice(e+1)),Ze(lt,Ka),a}finally{Ct=t,Qa=!1}}return null}var Ya=[],Xa=0,Ja=null,Ga=0,Za=[],el=0,tl=null,nl=1,rl="";function al(e,t){Ya[Xa++]=Ga,Ya[Xa++]=Ja,Ja=e,Ga=t}function ll(e,t,n){Za[el++]=nl,Za[el++]=rl,Za[el++]=tl,tl=e;var r=nl;e=rl;var a=32-ft(r)-1;r&=~(1<<a),n+=1;var l=32-ft(t)+a;if(30<l){var o=a-a%5;l=(r&(1<<o)-1).toString(32),r>>=o,a-=o,nl=1<<32-ft(t)+a|n<<a|r,rl=l+e}else nl=1<<l|n<<a|r,rl=e}function ol(e){null!==e.return&&(al(e,1),ll(e,1,0))}function il(e){for(;e===Ja;)Ja=Ya[--Xa],Ya[Xa]=null,Ga=Ya[--Xa],Ya[Xa]=null;for(;e===tl;)tl=Za[--el],Za[el]=null,rl=Za[--el],Za[el]=null,nl=Za[--el],Za[el]=null}var ul=null,sl=null,cl=!1,dl=null;function fl(e,t){var n=Fs(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 pl(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,ul=e,sl=ma(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ul=e,sl=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==tl?{id:nl,overflow:rl}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Fs(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ul=e,sl=null,!0);default:return!1}}function hl(e){return!(!(1&e.mode)||128&e.flags)}function ml(e){if(cl){var t=sl;if(t){var n=t;if(!pl(e,t)){if(hl(e))throw Error(d(418));t=ma(n.nextSibling);var r=ul;t&&pl(e,t)?fl(r,n):(e.flags=-4097&e.flags|2,cl=!1,ul=e)}}else{if(hl(e))throw Error(d(418));e.flags=-4097&e.flags|2,cl=!1,ul=e}}}function vl(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ul=e}function gl(e){if(e!==ul)return!1;if(!cl)return vl(e),cl=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ua(e.type,e.memoizedProps)),t&&(t=sl)){if(hl(e))throw yl(),Error(d(418));for(;t;)fl(e,t),t=ma(t.nextSibling)}if(vl(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(d(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){sl=ma(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}sl=null}}else sl=ul?ma(e.stateNode.nextSibling):null;return!0}function yl(){for(var e=sl;e;)e=ma(e.nextSibling)}function bl(){sl=ul=null,cl=!1}function wl(e){null===dl?dl=[e]:dl.push(e)}var kl=P.ReactCurrentBatchConfig;function Sl(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(d(309));var r=n.stateNode}if(!r)throw Error(d(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;null===e?delete t[l]:t[l]=e})._stringRef=l,t)}if("string"!=typeof e)throw Error(d(284));if(!n._owner)throw Error(d(290,e))}return e}function El(e,t){throw e=Object.prototype.toString.call(t),Error(d(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function xl(e){return(0,e._init)(e._payload)}function Cl(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=Is(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 i(e,t,n,r){return null===t||6!==t.tag?((t=Hs(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function u(e,t,n,r){var l=n.type;return l===R?c(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===l||"object"==typeof l&&null!==l&&l.$$typeof===I&&xl(l)===t.type)?((r=a(t,n.props)).ref=Sl(e,t,n),r.return=e,r):((r=As(n.type,n.key,n.props,null,e.mode,r)).ref=Sl(e,t,n),r.return=e,r)}function s(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Vs(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function c(e,t,n,r,l){return null===t||7!==t.tag?((t=js(n,e.mode,r,l)).return=e,t):((t=a(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Hs(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case _:return(n=As(t.type,t.key,t.props,null,e.mode,n)).ref=Sl(e,null,t),n.return=e,n;case L:return(t=Vs(t,e.mode,n)).return=e,t;case I:return f(e,(0,t._init)(t._payload),n)}if(ie(t)||B(t))return(t=js(t,e.mode,n,null)).return=e,t;El(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==a?null:i(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case _:return n.key===a?u(e,t,n,r):null;case L:return n.key===a?s(e,t,n,r):null;case I:return p(e,t,(a=n._init)(n._payload),r)}if(ie(n)||B(n))return null!==a?null:c(e,t,n,r,null);El(e,n)}return null}function h(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r)return i(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case _:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a);case L:return s(t,e=e.get(null===r.key?n:r.key)||null,r,a);case I:return h(e,t,n,(0,r._init)(r._payload),a)}if(ie(r)||B(r))return c(t,e=e.get(n)||null,r,a,null);El(t,r)}return null}return function i(u,s,c,m){if("object"==typeof c&&null!==c&&c.type===R&&null===c.key&&(c=c.props.children),"object"==typeof c&&null!==c){switch(c.$$typeof){case _:e:{for(var v=c.key,g=s;null!==g;){if(g.key===v){if((v=c.type)===R){if(7===g.tag){n(u,g.sibling),(s=a(g,c.props.children)).return=u,u=s;break e}}else if(g.elementType===v||"object"==typeof v&&null!==v&&v.$$typeof===I&&xl(v)===g.type){n(u,g.sibling),(s=a(g,c.props)).ref=Sl(u,g,c),s.return=u,u=s;break e}n(u,g);break}t(u,g),g=g.sibling}c.type===R?((s=js(c.props.children,u.mode,m,c.key)).return=u,u=s):((m=As(c.type,c.key,c.props,null,u.mode,m)).ref=Sl(u,s,c),m.return=u,u=m)}return o(u);case L:e:{for(g=c.key;null!==s;){if(s.key===g){if(4===s.tag&&s.stateNode.containerInfo===c.containerInfo&&s.stateNode.implementation===c.implementation){n(u,s.sibling),(s=a(s,c.children||[])).return=u,u=s;break e}n(u,s);break}t(u,s),s=s.sibling}(s=Vs(c,u.mode,m)).return=u,u=s}return o(u);case I:return i(u,s,(g=c._init)(c._payload),m)}if(ie(c))return function(a,o,i,u){for(var s=null,c=null,d=o,m=o=0,v=null;null!==d&&m<i.length;m++){d.index>m?(v=d,d=null):v=d.sibling;var g=p(a,d,i[m],u);if(null===g){null===d&&(d=v);break}e&&d&&null===g.alternate&&t(a,d),o=l(g,o,m),null===c?s=g:c.sibling=g,c=g,d=v}if(m===i.length)return n(a,d),cl&&al(a,m),s;if(null===d){for(;m<i.length;m++)null!==(d=f(a,i[m],u))&&(o=l(d,o,m),null===c?s=d:c.sibling=d,c=d);return cl&&al(a,m),s}for(d=r(a,d);m<i.length;m++)null!==(v=h(d,a,m,i[m],u))&&(e&&null!==v.alternate&&d.delete(null===v.key?m:v.key),o=l(v,o,m),null===c?s=v:c.sibling=v,c=v);return e&&d.forEach(function(e){return t(a,e)}),cl&&al(a,m),s}(u,s,c,m);if(B(c))return function(a,o,i,u){var s=B(i);if("function"!=typeof s)throw Error(d(150));if(null==(i=s.call(i)))throw Error(d(151));for(var c=s=null,m=o,v=o=0,g=null,y=i.next();null!==m&&!y.done;v++,y=i.next()){m.index>v?(g=m,m=null):g=m.sibling;var b=p(a,m,y.value,u);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(a,m),o=l(b,o,v),null===c?s=b:c.sibling=b,c=b,m=g}if(y.done)return n(a,m),cl&&al(a,v),s;if(null===m){for(;!y.done;v++,y=i.next())null!==(y=f(a,y.value,u))&&(o=l(y,o,v),null===c?s=y:c.sibling=y,c=y);return cl&&al(a,v),s}for(m=r(a,m);!y.done;v++,y=i.next())null!==(y=h(m,a,v,y.value,u))&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),o=l(y,o,v),null===c?s=y:c.sibling=y,c=y);return e&&m.forEach(function(e){return t(a,e)}),cl&&al(a,v),s}(u,s,c,m);El(u,c)}return"string"==typeof c&&""!==c||"number"==typeof c?(c=""+c,null!==s&&6===s.tag?(n(u,s.sibling),(s=a(s,c)).return=u,u=s):(n(u,s),(s=Hs(c,u.mode,m)).return=u,u=s),o(u)):n(u,s)}}var Pl=Cl(!0),_l=Cl(!1),Ll=Ta(null),Rl=null,Tl=null,zl=null;function Nl(){zl=Tl=Rl=null}function Dl(e){var t=Ll.current;za(Ll),e._currentValue=t}function Ml(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 Ol(e,t){Rl=e,zl=Tl=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(xi=!0),e.firstContext=null)}function Fl(e){var t=e._currentValue;if(zl!==e)if(e={context:e,memoizedValue:t,next:null},null===Tl){if(null===Rl)throw Error(d(308));Tl=e,Rl.dependencies={lanes:0,firstContext:e}}else Tl=Tl.next=e;return t}var Ul=null;function Il(e){null===Ul?Ul=[e]:Ul.push(e)}function Al(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,Il(t)):(n.next=a.next,a.next=n),t.interleaved=n,jl(e,r)}function jl(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 Bl=!1;function Hl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Vl(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 Wl(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function $l(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Du){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,jl(e,n)}return null===(a=r.interleaved)?(t.next=t,Il(r)):(t.next=a.next,a.next=t),r.interleaved=t,jl(e,n)}function Ql(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,xt(e,n)}}function ql(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,l=null;if(null!==(n=n.firstBaseUpdate)){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===l?a=l=o:l=l.next=o,n=n.next}while(null!==n);null===l?a=l=t:l=l.next=t}else a=l=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:l,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Kl(e,t,n,r){var a=e.updateQueue;Bl=!1;var l=a.firstBaseUpdate,o=a.lastBaseUpdate,i=a.shared.pending;if(null!==i){a.shared.pending=null;var u=i,s=u.next;u.next=null,null===o?l=s:o.next=s,o=u;var c=e.alternate;null!==c&&((i=(c=c.updateQueue).lastBaseUpdate)!==o&&(null===i?c.firstBaseUpdate=s:i.next=s,c.lastBaseUpdate=u))}if(null!==l){var d=a.baseState;for(o=0,c=s=u=null,i=l;;){var f=i.lane,p=i.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var h=e,m=i;switch(f=t,p=n,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=m.payload)?h.call(p,d,f):h))break e;d=V({},d,f);break e;case 2:Bl=!0}}null!==i.callback&&0!==i.lane&&(e.flags|=64,null===(f=a.effects)?a.effects=[i]:f.push(i))}else p={eventTime:p,lane:f,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===c?(s=c=p,u=d):c=c.next=p,o|=f;if(null===(i=i.next)){if(null===(i=a.shared.pending))break;i=(f=i).next,f.next=null,a.lastBaseUpdate=f,a.shared.pending=null}}if(null===c&&(u=d),a.baseState=u,a.firstBaseUpdate=s,a.lastBaseUpdate=c,null!==(t=a.shared.interleaved)){a=t;do{o|=a.lane,a=a.next}while(a!==t)}else null===l&&(a.shared.lanes=0);Bu|=o,e.lanes=o,e.memoizedState=d}}function Yl(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(d(191,a));a.call(r)}}}var Xl={},Jl=Ta(Xl),Gl=Ta(Xl),Zl=Ta(Xl);function eo(e){if(e===Xl)throw Error(d(174));return e}function to(e,t){switch(Na(Zl,t),Na(Gl,e),Na(Jl,Xl),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:he(null,"");break;default:t=he(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}za(Jl),Na(Jl,t)}function no(){za(Jl),za(Gl),za(Zl)}function ro(e){eo(Zl.current);var t=eo(Jl.current),n=he(t,e.type);t!==n&&(Na(Gl,e),Na(Jl,n))}function ao(e){Gl.current===e&&(za(Jl),za(Gl))}var lo=Ta(0);function oo(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(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 io=[];function uo(){for(var e=0;e<io.length;e++)io[e]._workInProgressVersionPrimary=null;io.length=0}var so=P.ReactCurrentDispatcher,co=P.ReactCurrentBatchConfig,fo=0,po=null,ho=null,mo=null,vo=!1,go=!1,yo=0,bo=0;function wo(){throw Error(d(321))}function ko(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!pr(e[n],t[n]))return!1;return!0}function So(e,t,n,r,a,l){if(fo=l,po=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,so.current=null===e||null===e.memoizedState?li:oi,e=n(r,a),go){l=0;do{if(go=!1,yo=0,25<=l)throw Error(d(301));l+=1,mo=ho=null,t.updateQueue=null,so.current=ii,e=n(r,a)}while(go)}if(so.current=ai,t=null!==ho&&null!==ho.next,fo=0,mo=ho=po=null,vo=!1,t)throw Error(d(300));return e}function Eo(){var e=0!==yo;return yo=0,e}function xo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===mo?po.memoizedState=mo=e:mo=mo.next=e,mo}function Co(){if(null===ho){var e=po.alternate;e=null!==e?e.memoizedState:null}else e=ho.next;var t=null===mo?po.memoizedState:mo.next;if(null!==t)mo=t,ho=e;else{if(null===e)throw Error(d(310));e={memoizedState:(ho=e).memoizedState,baseState:ho.baseState,baseQueue:ho.baseQueue,queue:ho.queue,next:null},null===mo?po.memoizedState=mo=e:mo=mo.next=e}return mo}function Po(e,t){return"function"==typeof t?t(e):t}function _o(e){var t=Co(),n=t.queue;if(null===n)throw Error(d(311));n.lastRenderedReducer=e;var r=ho,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 i=o=null,u=null,s=l;do{var c=s.lane;if((fo&c)===c)null!==u&&(u=u.next={lane:0,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),r=s.hasEagerState?s.eagerState:e(r,s.action);else{var f={lane:c,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null};null===u?(i=u=f,o=r):u=u.next=f,po.lanes|=c,Bu|=c}s=s.next}while(null!==s&&s!==l);null===u?o=r:u.next=i,pr(r,t.memoizedState)||(xi=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){a=e;do{l=a.lane,po.lanes|=l,Bu|=l,a=a.next}while(a!==e)}else null===a&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Lo(e){var t=Co(),n=t.queue;if(null===n)throw Error(d(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);pr(l,t.memoizedState)||(xi=!0),t.memoizedState=l,null===t.baseQueue&&(t.baseState=l),n.lastRenderedState=l}return[l,r]}function Ro(){}function To(e,t){var n=po,r=Co(),a=t(),l=!pr(r.memoizedState,a);if(l&&(r.memoizedState=a,xi=!0),r=r.queue,Ho(Do.bind(null,n,r,e),[e]),r.getSnapshot!==t||l||null!==mo&&1&mo.memoizedState.tag){if(n.flags|=2048,Uo(9,No.bind(null,n,r,a,t),void 0,null),null===Mu)throw Error(d(349));30&fo||zo(n,t,a)}return a}function zo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=po.updateQueue)?(t={lastEffect:null,stores:null},po.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function No(e,t,n,r){t.value=n,t.getSnapshot=r,Mo(t)&&Oo(e)}function Do(e,t,n){return n(function(){Mo(t)&&Oo(e)})}function Mo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!pr(e,n)}catch(r){return!0}}function Oo(e){var t=jl(e,1);null!==t&&is(t,e,1,-1)}function Fo(e){var t=xo();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Po,lastRenderedState:e},t.queue=e,e=e.dispatch=ei.bind(null,po,e),[t.memoizedState,e]}function Uo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=po.updateQueue)?(t={lastEffect:null,stores:null},po.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 Io(){return Co().memoizedState}function Ao(e,t,n,r){var a=xo();po.flags|=e,a.memoizedState=Uo(1|t,n,void 0,void 0===r?null:r)}function jo(e,t,n,r){var a=Co();r=void 0===r?null:r;var l=void 0;if(null!==ho){var o=ho.memoizedState;if(l=o.destroy,null!==r&&ko(r,o.deps))return void(a.memoizedState=Uo(t,n,l,r))}po.flags|=e,a.memoizedState=Uo(1|t,n,l,r)}function Bo(e,t){return Ao(8390656,8,e,t)}function Ho(e,t){return jo(2048,8,e,t)}function Vo(e,t){return jo(4,2,e,t)}function Wo(e,t){return jo(4,4,e,t)}function $o(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Qo(e,t,n){return n=null!=n?n.concat([e]):null,jo(4,4,$o.bind(null,t,e),n)}function qo(){}function Ko(e,t){var n=Co();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ko(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Yo(e,t){var n=Co();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ko(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Xo(e,t,n){return 21&fo?(pr(n,t)||(n=kt(),po.lanes|=n,Bu|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,xi=!0),e.memoizedState=n)}function Jo(e,t){var n=Ct;Ct=0!==n&&4>n?n:4,e(!0);var r=co.transition;co.transition={};try{e(!1),t()}finally{Ct=n,co.transition=r}}function Go(){return Co().memoizedState}function Zo(e,t,n){var r=os(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ti(e))ni(t,n);else if(null!==(n=Al(e,t,n,r))){is(n,e,r,ls()),ri(n,t,r)}}function ei(e,t,n){var r=os(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ti(e))ni(t,a);else{var l=e.alternate;if(0===e.lanes&&(null===l||0===l.lanes)&&null!==(l=t.lastRenderedReducer))try{var o=t.lastRenderedState,i=l(o,n);if(a.hasEagerState=!0,a.eagerState=i,pr(i,o)){var u=t.interleaved;return null===u?(a.next=a,Il(t)):(a.next=u.next,u.next=a),void(t.interleaved=a)}}catch(s){}null!==(n=Al(e,t,a,r))&&(is(n,e,r,a=ls()),ri(n,t,r))}}function ti(e){var t=e.alternate;return e===po||null!==t&&t===po}function ni(e,t){go=vo=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ri(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,xt(e,n)}}var ai={readContext:Fl,useCallback:wo,useContext:wo,useEffect:wo,useImperativeHandle:wo,useInsertionEffect:wo,useLayoutEffect:wo,useMemo:wo,useReducer:wo,useRef:wo,useState:wo,useDebugValue:wo,useDeferredValue:wo,useTransition:wo,useMutableSource:wo,useSyncExternalStore:wo,useId:wo,unstable_isNewReconciler:!1},li={readContext:Fl,useCallback:function(e,t){return xo().memoizedState=[e,void 0===t?null:t],e},useContext:Fl,useEffect:Bo,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ao(4194308,4,$o.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ao(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ao(4,2,e,t)},useMemo:function(e,t){var n=xo();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=xo();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=Zo.bind(null,po,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},xo().memoizedState=e},useState:Fo,useDebugValue:qo,useDeferredValue:function(e){return xo().memoizedState=e},useTransition:function(){var e=Fo(!1),t=e[0];return e=Jo.bind(null,e[1]),xo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=po,a=xo();if(cl){if(void 0===n)throw Error(d(407));n=n()}else{if(n=t(),null===Mu)throw Error(d(349));30&fo||zo(r,t,n)}a.memoizedState=n;var l={value:n,getSnapshot:t};return a.queue=l,Bo(Do.bind(null,r,l,e),[e]),r.flags|=2048,Uo(9,No.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=xo(),t=Mu.identifierPrefix;if(cl){var n=rl;t=":"+t+"R"+(n=(nl&~(1<<32-ft(nl)-1)).toString(32)+n),0<(n=yo++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=bo++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},oi={readContext:Fl,useCallback:Ko,useContext:Fl,useEffect:Ho,useImperativeHandle:Qo,useInsertionEffect:Vo,useLayoutEffect:Wo,useMemo:Yo,useReducer:_o,useRef:Io,useState:function(){return _o(Po)},useDebugValue:qo,useDeferredValue:function(e){return Xo(Co(),ho.memoizedState,e)},useTransition:function(){return[_o(Po)[0],Co().memoizedState]},useMutableSource:Ro,useSyncExternalStore:To,useId:Go,unstable_isNewReconciler:!1},ii={readContext:Fl,useCallback:Ko,useContext:Fl,useEffect:Ho,useImperativeHandle:Qo,useInsertionEffect:Vo,useLayoutEffect:Wo,useMemo:Yo,useReducer:Lo,useRef:Io,useState:function(){return Lo(Po)},useDebugValue:qo,useDeferredValue:function(e){var t=Co();return null===ho?t.memoizedState=e:Xo(t,ho.memoizedState,e)},useTransition:function(){return[Lo(Po)[0],Co().memoizedState]},useMutableSource:Ro,useSyncExternalStore:To,useId:Go,unstable_isNewReconciler:!1};function ui(e,t){if(e&&e.defaultProps){for(var n in t=V({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function si(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:V({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ci={isMounted:function(e){return!!(e=e._reactInternals)&&Ke(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ls(),a=os(e),l=Wl(r,a);l.payload=t,null!=n&&(l.callback=n),null!==(t=$l(e,l,a))&&(is(t,e,a,r),Ql(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ls(),a=os(e),l=Wl(r,a);l.tag=1,l.payload=t,null!=n&&(l.callback=n),null!==(t=$l(e,l,a))&&(is(t,e,a,r),Ql(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ls(),r=os(e),a=Wl(n,r);a.tag=2,null!=t&&(a.callback=t),null!==(t=$l(e,a,r))&&(is(t,e,r,n),Ql(t,e,r))}};function di(e,t,n,r,a,l,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,l,o):!t.prototype||!t.prototype.isPureReactComponent||(!hr(n,r)||!hr(a,l))}function fi(e,t,n){var r=!1,a=Da,l=t.contextType;return"object"==typeof l&&null!==l?l=Fl(l):(a=Ia(t)?Fa:Ma.current,l=(r=null!=(r=t.contextTypes))?Ua(e,a):Da),t=new t(n,l),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ci,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=l),t}function pi(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&&ci.enqueueReplaceState(t,t.state,null)}function hi(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs={},Hl(e);var l=t.contextType;"object"==typeof l&&null!==l?a.context=Fl(l):(l=Ia(t)?Fa:Ma.current,a.context=Ua(e,l)),a.state=e.memoizedState,"function"==typeof(l=t.getDerivedStateFromProps)&&(si(e,t,l,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&&ci.enqueueReplaceState(a,a.state,null),Kl(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4194308)}function mi(e,t){try{var n="",r=t;do{n+=q(r),r=r.return}while(r);var a=n}catch(l){a="\nError generating stack: "+l.message+"\n"+l.stack}return{value:e,source:t,stack:a,digest:null}}function vi(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}var gi="function"==typeof WeakMap?WeakMap:Map;function yi(e,t,n){(n=Wl(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Yu||(Yu=!0,Xu=r)},n}function bi(e,t,n){(n=Wl(-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(){}}var l=e.stateNode;return null!==l&&"function"==typeof l.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Ju?Ju=new Set([this]):Ju.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function wi(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new gi;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=Ts.bind(null,e,t,n),t.then(e,e))}function ki(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 Si(e,t,n,r,a){return 1&e.mode?(e.flags|=65536,e.lanes=a,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Wl(-1,1)).tag=2,$l(n,t,1))),n.lanes|=1),e)}var Ei=P.ReactCurrentOwner,xi=!1;function Ci(e,t,n,r){t.child=null===e?_l(t,null,n,r):Pl(t,e.child,n,r)}function Pi(e,t,n,r,a){n=n.render;var l=t.ref;return Ol(t,a),r=So(e,t,n,r,l,a),n=Eo(),null===e||xi?(cl&&n&&ol(t),t.flags|=1,Ci(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Yi(e,t,a))}function _i(e,t,n,r,a){if(null===e){var l=n.type;return"function"!=typeof l||Us(l)||void 0!==l.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=As(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=l,Li(e,t,l,r,a))}if(l=e.child,0===(e.lanes&a)){var o=l.memoizedProps;if((n=null!==(n=n.compare)?n:hr)(o,r)&&e.ref===t.ref)return Yi(e,t,a)}return t.flags|=1,(e=Is(l,r)).ref=t.ref,e.return=t,t.child=e}function Li(e,t,n,r,a){if(null!==e){var l=e.memoizedProps;if(hr(l,r)&&e.ref===t.ref){if(xi=!1,t.pendingProps=r=l,0===(e.lanes&a))return t.lanes=e.lanes,Yi(e,t,a);131072&e.flags&&(xi=!0)}}return zi(e,t,n,r,a)}function Ri(e,t,n){var r=t.pendingProps,a=r.children,l=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==l?l.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Na(Iu,Uu),Uu|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==l?l.baseLanes:n,Na(Iu,Uu),Uu|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Na(Iu,Uu),Uu|=n;else null!==l?(r=l.baseLanes|n,t.memoizedState=null):r=n,Na(Iu,Uu),Uu|=r;return Ci(e,t,a,n),t.child}function Ti(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function zi(e,t,n,r,a){var l=Ia(n)?Fa:Ma.current;return l=Ua(t,l),Ol(t,a),n=So(e,t,n,r,l,a),r=Eo(),null===e||xi?(cl&&r&&ol(t),t.flags|=1,Ci(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Yi(e,t,a))}function Ni(e,t,n,r,a){if(Ia(n)){var l=!0;Ha(t)}else l=!1;if(Ol(t,a),null===t.stateNode)Ki(e,t),fi(t,n,r),hi(t,n,r,a),r=!0;else if(null===e){var o=t.stateNode,i=t.memoizedProps;o.props=i;var u=o.context,s=n.contextType;"object"==typeof s&&null!==s?s=Fl(s):s=Ua(t,s=Ia(n)?Fa:Ma.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof o.getSnapshotBeforeUpdate;d||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(i!==r||u!==s)&&pi(t,o,r,s),Bl=!1;var f=t.memoizedState;o.state=f,Kl(t,r,o,a),u=t.memoizedState,i!==r||f!==u||Oa.current||Bl?("function"==typeof c&&(si(t,n,c,r),u=t.memoizedState),(i=Bl||di(t,n,i,r,f,u,s))?(d||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),o.props=r,o.state=u,o.context=s,r=i):("function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Vl(e,t),i=t.memoizedProps,s=t.type===t.elementType?i:ui(t.type,i),o.props=s,d=t.pendingProps,f=o.context,"object"==typeof(u=n.contextType)&&null!==u?u=Fl(u):u=Ua(t,u=Ia(n)?Fa:Ma.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(i!==d||f!==u)&&pi(t,o,r,u),Bl=!1,f=t.memoizedState,o.state=f,Kl(t,r,o,a);var h=t.memoizedState;i!==d||f!==h||Oa.current||Bl?("function"==typeof p&&(si(t,n,p,r),h=t.memoizedState),(s=Bl||di(t,n,s,r,f,h,u)||!1)?(c||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,h,u),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,h,u)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),o.props=r,o.state=h,o.context=u,r=s):("function"!=typeof o.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Di(e,t,n,r,l,a)}function Di(e,t,n,r,a,l){Ti(e,t);var o=!!(128&t.flags);if(!r&&!o)return a&&Va(t,n,!1),Yi(e,t,l);r=t.stateNode,Ei.current=t;var i=o&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&o?(t.child=Pl(t,e.child,null,l),t.child=Pl(t,null,i,l)):Ci(e,t,i,l),t.memoizedState=r.state,a&&Va(t,n,!0),t.child}function Mi(e){var t=e.stateNode;t.pendingContext?ja(0,t.pendingContext,t.pendingContext!==t.context):t.context&&ja(0,t.context,!1),to(e,t.containerInfo)}function Oi(e,t,n,r,a){return bl(),wl(a),t.flags|=256,Ci(e,t,n,r),t.child}var Fi,Ui,Ii,Ai,ji={dehydrated:null,treeContext:null,retryLane:0};function Bi(e){return{baseLanes:e,cachePool:null,transitions:null}}function Hi(e,t,n){var r,a=t.pendingProps,l=lo.current,o=!1,i=!!(128&t.flags);if((r=i)||(r=(null===e||null!==e.memoizedState)&&!!(2&l)),r?(o=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(l|=1),Na(lo,1&l),null===e)return ml(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(i=a.children,e=a.fallback,o?(a=t.mode,o=t.child,i={mode:"hidden",children:i},1&a||null===o?o=Bs(i,a,0,null):(o.childLanes=0,o.pendingProps=i),e=js(e,a,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Bi(n),t.memoizedState=ji,e):Vi(t,i));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,Wi(e,t,o,r=vi(Error(d(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(l=r.fallback,a=t.mode,r=Bs({mode:"visible",children:r.children},a,0,null),(l=js(l,a,o,null)).flags|=2,r.return=t,l.return=t,r.sibling=l,t.child=r,1&t.mode&&Pl(t,e.child,null,o),t.child.memoizedState=Bi(o),t.memoizedState=ji,l);if(!(1&t.mode))return Wi(e,t,o,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var i=r.dgst;return r=i,Wi(e,t,o,r=vi(l=Error(d(419)),r,void 0))}if(i=0!==(o&e.childLanes),xi||i){if(null!==(r=Mu)){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,jl(e,a),is(r,e,a,-1))}return ws(),Wi(e,t,o,r=vi(Error(d(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=Ns.bind(null,e),a._reactRetry=t,null):(e=l.treeContext,sl=ma(a.nextSibling),ul=t,cl=!0,dl=null,null!==e&&(Za[el++]=nl,Za[el++]=rl,Za[el++]=tl,nl=e.id,rl=e.overflow,tl=t),t=Vi(t,r.children),t.flags|=4096,t)}(e,t,i,a,r,l,n);if(o){o=a.fallback,i=t.mode,r=(l=e.child).sibling;var u={mode:"hidden",children:a.children};return 1&i||t.child===l?(a=Is(l,u)).subtreeFlags=14680064&l.subtreeFlags:((a=t.child).childLanes=0,a.pendingProps=u,t.deletions=null),null!==r?o=Is(r,o):(o=js(o,i,n,null)).flags|=2,o.return=t,a.return=t,a.sibling=o,t.child=a,a=o,o=t.child,i=null===(i=e.child.memoizedState)?Bi(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},o.memoizedState=i,o.childLanes=e.childLanes&~n,t.memoizedState=ji,a}return e=(o=e.child).sibling,a=Is(o,{mode:"visible",children:a.children}),!(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 Vi(e,t){return(t=Bs({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Wi(e,t,n,r){return null!==r&&wl(r),Pl(t,e.child,null,n),(e=Vi(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function $i(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ml(e.return,t,n)}function Qi(e,t,n,r,a){var l=e.memoizedState;null===l?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(l.isBackwards=t,l.rendering=null,l.renderingStartTime=0,l.last=r,l.tail=n,l.tailMode=a)}function qi(e,t,n){var r=t.pendingProps,a=r.revealOrder,l=r.tail;if(Ci(e,t,r.children,n),2&(r=lo.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&$i(e,n,t);else if(19===e.tag)$i(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(lo,r),1&t.mode)switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===oo(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),Qi(t,!1,a,n,l);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===oo(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}Qi(t,!0,n,null,l);break;case"together":Qi(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Ki(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Yi(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Bu|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(d(153));if(null!==t.child){for(n=Is(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Is(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Xi(e,t){if(!cl)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 Ji(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 Gi(e,t,n){var r=t.pendingProps;switch(il(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ji(t),null;case 1:case 17:return Ia(t.type)&&Aa(),Ji(t),null;case 3:return r=t.stateNode,no(),za(Oa),za(Ma),uo(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(gl(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==dl&&(ds(dl),dl=null))),Ui(e,t),Ji(t),null;case 5:ao(t);var a=eo(Zl.current);if(n=t.type,null!==e&&null!=t.stateNode)Ii(e,t,n,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(d(166));return Ji(t),null}if(e=eo(Jl.current),gl(t)){r=t.stateNode,n=t.type;var l=t.memoizedProps;switch(r[ya]=t,r[ba]=l,e=!!(1&t.mode),n){case"dialog":$r("cancel",r),$r("close",r);break;case"iframe":case"object":case"embed":$r("load",r);break;case"video":case"audio":for(a=0;a<Br.length;a++)$r(Br[a],r);break;case"source":$r("error",r);break;case"img":case"image":case"link":$r("error",r),$r("load",r);break;case"details":$r("toggle",r);break;case"input":ne(r,l),$r("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!l.multiple},$r("invalid",r);break;case"textarea":ce(r,l),$r("invalid",r)}for(var o in xe(n,l),a=null,l)if(l.hasOwnProperty(o)){var i=l[o];"children"===o?"string"==typeof i?r.textContent!==i&&(!0!==l.suppressHydrationWarning&&aa(r.textContent,i,e),a=["children",i]):"number"==typeof i&&r.textContent!==""+i&&(!0!==l.suppressHydrationWarning&&aa(r.textContent,i,e),a=["children",""+i]):p.hasOwnProperty(o)&&null!=i&&"onScroll"===o&&$r("scroll",r)}switch(n){case"input":G(r),le(r,l,!0);break;case"textarea":G(r),fe(r);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(r.onclick=la)}r=a,t.updateQueue=r,null!==r&&(t.flags|=4)}else{o=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=pe(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=o.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),"select"===n&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[ya]=t,e[ba]=r,Fi(e,t,!1,!1),t.stateNode=e;e:{switch(o=Ce(n,r),n){case"dialog":$r("cancel",e),$r("close",e),a=r;break;case"iframe":case"object":case"embed":$r("load",e),a=r;break;case"video":case"audio":for(a=0;a<Br.length;a++)$r(Br[a],e);a=r;break;case"source":$r("error",e),a=r;break;case"img":case"image":case"link":$r("error",e),$r("load",e),a=r;break;case"details":$r("toggle",e),a=r;break;case"input":ne(e,r),a=te(e,r),$r("invalid",e);break;case"option":default:a=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=V({},r,{value:void 0}),$r("invalid",e);break;case"textarea":ce(e,r),a=se(e,r),$r("invalid",e)}for(l in xe(n,a),i=a)if(i.hasOwnProperty(l)){var u=i[l];"style"===l?Se(e,u):"dangerouslySetInnerHTML"===l?null!=(u=u?u.__html:void 0)&&ge(e,u):"children"===l?"string"==typeof u?("textarea"!==n||""!==u)&&ye(e,u):"number"==typeof u&&ye(e,""+u):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(p.hasOwnProperty(l)?null!=u&&"onScroll"===l&&$r("scroll",e):null!=u&&C(e,l,u,o))}switch(n){case"input":G(e),le(e,r,!1);break;case"textarea":G(e),fe(e);break;case"option":null!=r.value&&e.setAttribute("value",""+X(r.value));break;case"select":e.multiple=!!r.multiple,null!=(l=r.value)?ue(e,!!r.multiple,l,!1):null!=r.defaultValue&&ue(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof a.onClick&&(e.onclick=la)}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 Ji(t),null;case 6:if(e&&null!=t.stateNode)Ai(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(d(166));if(n=eo(Zl.current),eo(Jl.current),gl(t)){if(r=t.stateNode,n=t.memoizedProps,r[ya]=t,(l=r.nodeValue!==n)&&null!==(e=ul))switch(e.tag){case 3:aa(r.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&aa(r.nodeValue,n,!!(1&e.mode))}l&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[ya]=t,t.stateNode=r}return Ji(t),null;case 13:if(za(lo),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(cl&&null!==sl&&1&t.mode&&!(128&t.flags))yl(),bl(),t.flags|=98560,l=!1;else if(l=gl(t),null!==r&&null!==r.dehydrated){if(null===e){if(!l)throw Error(d(318));if(!(l=null!==(l=t.memoizedState)?l.dehydrated:null))throw Error(d(317));l[ya]=t}else bl(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ji(t),l=!1}else null!==dl&&(ds(dl),dl=null),l=!0;if(!l)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,1&t.mode&&(null===e||1&lo.current?0===Au&&(Au=3):ws())),null!==t.updateQueue&&(t.flags|=4),Ji(t),null);case 4:return no(),Ui(e,t),null===e&&Kr(t.stateNode.containerInfo),Ji(t),null;case 10:return Dl(t.type._context),Ji(t),null;case 19:if(za(lo),null===(l=t.memoizedState))return Ji(t),null;if(r=!!(128&t.flags),null===(o=l.rendering))if(r)Xi(l,!1);else{if(0!==Au||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(o=oo(e))){for(t.flags|=128,Xi(l,!1),null!==(r=o.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(l=n).flags&=14680066,null===(o=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=o.childLanes,l.lanes=o.lanes,l.child=o.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=o.memoizedProps,l.memoizedState=o.memoizedState,l.updateQueue=o.updateQueue,l.type=o.type,e=o.dependencies,l.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Na(lo,1&lo.current|2),t.child}e=e.sibling}null!==l.tail&&rt()>qu&&(t.flags|=128,r=!0,Xi(l,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=oo(o))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Xi(l,!0),null===l.tail&&"hidden"===l.tailMode&&!o.alternate&&!cl)return Ji(t),null}else 2*rt()-l.renderingStartTime>qu&&1073741824!==n&&(t.flags|=128,r=!0,Xi(l,!1),t.lanes=4194304);l.isBackwards?(o.sibling=t.child,t.child=o):(null!==(n=l.last)?n.sibling=o:t.child=o,l.last=o)}return null!==l.tail?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=rt(),t.sibling=null,n=lo.current,Na(lo,r?1&n|2:1&n),t):(Ji(t),null);case 22:case 23:return vs(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&Uu)&&(Ji(t),6&t.subtreeFlags&&(t.flags|=8192)):Ji(t),null;case 24:case 25:return null}throw Error(d(156,t.tag))}function Zi(e,t){switch(il(t),t.tag){case 1:return Ia(t.type)&&Aa(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return no(),za(Oa),za(Ma),uo(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ao(t),null;case 13:if(za(lo),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(d(340));bl()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return za(lo),null;case 4:return no(),null;case 10:return Dl(t.type._context),null;case 22:case 23:return vs(),null;default:return null}}Fi=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}},Ui=function(){},Ii=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,eo(Jl.current);var l,o=null;switch(n){case"input":a=te(e,a),r=te(e,r),o=[];break;case"select":a=V({},a,{value:void 0}),r=V({},r,{value:void 0}),o=[];break;case"textarea":a=se(e,a),r=se(e,r),o=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=la)}for(s in xe(n,r),n=null,a)if(!r.hasOwnProperty(s)&&a.hasOwnProperty(s)&&null!=a[s])if("style"===s){var i=a[s];for(l in i)i.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(p.hasOwnProperty(s)?o||(o=[]):(o=o||[]).push(s,null));for(s in r){var u=r[s];if(i=null!=a?a[s]:void 0,r.hasOwnProperty(s)&&u!==i&&(null!=u||null!=i))if("style"===s)if(i){for(l in i)!i.hasOwnProperty(l)||u&&u.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in u)u.hasOwnProperty(l)&&i[l]!==u[l]&&(n||(n={}),n[l]=u[l])}else n||(o||(o=[]),o.push(s,n)),n=u;else"dangerouslySetInnerHTML"===s?(u=u?u.__html:void 0,i=i?i.__html:void 0,null!=u&&i!==u&&(o=o||[]).push(s,u)):"children"===s?"string"!=typeof u&&"number"!=typeof u||(o=o||[]).push(s,""+u):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(p.hasOwnProperty(s)?(null!=u&&"onScroll"===s&&$r("scroll",e),o||i===u||(o=[])):(o=o||[]).push(s,u))}n&&(o=o||[]).push("style",n);var s=o;(t.updateQueue=s)&&(t.flags|=4)}},Ai=function(e,t,n,r){n!==r&&(t.flags|=4)};var eu=!1,tu=!1,nu="function"==typeof WeakSet?WeakSet:Set,ru=null;function au(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(r){Rs(e,t,r)}else n.current=null}function lu(e,t,n){try{n()}catch(r){Rs(e,t,r)}}var ou=!1;function iu(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 l=a.destroy;a.destroy=void 0,void 0!==l&&lu(t,n,l)}a=a.next}while(a!==r)}}function uu(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 su(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 cu(e){var t=e.alternate;null!==t&&(e.alternate=null,cu(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[ya],delete t[ba],delete t[ka],delete t[Sa],delete t[Ea])),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 du(e){return 5===e.tag||3===e.tag||4===e.tag}function fu(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||du(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 pu(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)||null!==t.onclick||(t.onclick=la));else if(4!==r&&null!==(e=e.child))for(pu(e,t,n),e=e.sibling;null!==e;)pu(e,t,n),e=e.sibling}function hu(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(hu(e,t,n),e=e.sibling;null!==e;)hu(e,t,n),e=e.sibling}var mu=null,vu=!1;function gu(e,t,n){for(n=n.child;null!==n;)yu(e,t,n),n=n.sibling}function yu(e,t,n){if(dt&&"function"==typeof dt.onCommitFiberUnmount)try{dt.onCommitFiberUnmount(ct,n)}catch(i){}switch(n.tag){case 5:tu||au(n,t);case 6:var r=mu,a=vu;mu=null,gu(e,t,n),vu=a,null!==(mu=r)&&(vu?(e=mu,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):mu.removeChild(n.stateNode));break;case 18:null!==mu&&(vu?(e=mu,n=n.stateNode,8===e.nodeType?ha(e.parentNode,n):1===e.nodeType&&ha(e,n),Kt(e)):ha(mu,n.stateNode));break;case 4:r=mu,a=vu,mu=n.stateNode.containerInfo,vu=!0,gu(e,t,n),mu=r,vu=a;break;case 0:case 11:case 14:case 15:if(!tu&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){a=r=r.next;do{var l=a,o=l.destroy;l=l.tag,void 0!==o&&(2&l||4&l)&&lu(n,t,o),a=a.next}while(a!==r)}gu(e,t,n);break;case 1:if(!tu&&(au(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(i){Rs(n,t,i)}gu(e,t,n);break;case 21:gu(e,t,n);break;case 22:1&n.mode?(tu=(r=tu)||null!==n.memoizedState,gu(e,t,n),tu=r):gu(e,t,n);break;default:gu(e,t,n)}}function bu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new nu),t.forEach(function(t){var r=Ds.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function wu(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,i=o;e:for(;null!==i;){switch(i.tag){case 5:mu=i.stateNode,vu=!1;break e;case 3:case 4:mu=i.stateNode.containerInfo,vu=!0;break e}i=i.return}if(null===mu)throw Error(d(160));yu(l,o,a),mu=null,vu=!1;var u=a.alternate;null!==u&&(u.return=null),a.return=null}catch(s){Rs(a,t,s)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)ku(t,e),t=t.sibling}function ku(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(wu(t,e),Su(e),4&r){try{iu(3,e,e.return),uu(3,e)}catch(v){Rs(e,e.return,v)}try{iu(5,e,e.return)}catch(v){Rs(e,e.return,v)}}break;case 1:wu(t,e),Su(e),512&r&&null!==n&&au(n,n.return);break;case 5:if(wu(t,e),Su(e),512&r&&null!==n&&au(n,n.return),32&e.flags){var a=e.stateNode;try{ye(a,"")}catch(v){Rs(e,e.return,v)}}if(4&r&&null!=(a=e.stateNode)){var l=e.memoizedProps,o=null!==n?n.memoizedProps:l,i=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===i&&"radio"===l.type&&null!=l.name&&re(a,l),Ce(i,o);var s=Ce(i,l);for(o=0;o<u.length;o+=2){var c=u[o],f=u[o+1];"style"===c?Se(a,f):"dangerouslySetInnerHTML"===c?ge(a,f):"children"===c?ye(a,f):C(a,c,f,s)}switch(i){case"input":ae(a,l);break;case"textarea":de(a,l);break;case"select":var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!l.multiple;var h=l.value;null!=h?ue(a,!!l.multiple,h,!1):p!==!!l.multiple&&(null!=l.defaultValue?ue(a,!!l.multiple,l.defaultValue,!0):ue(a,!!l.multiple,l.multiple?[]:"",!1))}a[ba]=l}catch(v){Rs(e,e.return,v)}}break;case 6:if(wu(t,e),Su(e),4&r){if(null===e.stateNode)throw Error(d(162));a=e.stateNode,l=e.memoizedProps;try{a.nodeValue=l}catch(v){Rs(e,e.return,v)}}break;case 3:if(wu(t,e),Su(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Kt(t.containerInfo)}catch(v){Rs(e,e.return,v)}break;case 4:default:wu(t,e),Su(e);break;case 13:wu(t,e),Su(e),8192&(a=e.child).flags&&(l=null!==a.memoizedState,a.stateNode.isHidden=l,!l||null!==a.alternate&&null!==a.alternate.memoizedState||(Qu=rt())),4&r&&bu(e);break;case 22:if(c=null!==n&&null!==n.memoizedState,1&e.mode?(tu=(s=tu)||c,wu(t,e),tu=s):wu(t,e),Su(e),8192&r){if(s=null!==e.memoizedState,(e.stateNode.isHidden=s)&&!c&&1&e.mode)for(ru=e,c=e.child;null!==c;){for(f=ru=c;null!==ru;){switch(h=(p=ru).child,p.tag){case 0:case 11:case 14:case 15:iu(4,p,p.return);break;case 1:au(p,p.return);var m=p.stateNode;if("function"==typeof m.componentWillUnmount){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(v){Rs(r,n,v)}}break;case 5:au(p,p.return);break;case 22:if(null!==p.memoizedState){Pu(f);continue}}null!==h?(h.return=p,ru=h):Pu(f)}c=c.sibling}e:for(c=null,f=e;;){if(5===f.tag){if(null===c){c=f;try{a=f.stateNode,s?"function"==typeof(l=a.style).setProperty?l.setProperty("display","none","important"):l.display="none":(i=f.stateNode,o=null!=(u=f.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,i.style.display=ke("display",o))}catch(v){Rs(e,e.return,v)}}}else if(6===f.tag){if(null===c)try{f.stateNode.nodeValue=s?"":f.memoizedProps}catch(v){Rs(e,e.return,v)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:wu(t,e),Su(e),4&r&&bu(e);case 21:}}function Su(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(du(n)){var r=n;break e}n=n.return}throw Error(d(160))}switch(r.tag){case 5:var a=r.stateNode;32&r.flags&&(ye(a,""),r.flags&=-33),hu(e,fu(e),a);break;case 3:case 4:var l=r.stateNode.containerInfo;pu(e,fu(e),l);break;default:throw Error(d(161))}}catch(o){Rs(e,e.return,o)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Eu(e,t,n){ru=e,xu(e)}function xu(e,t,n){for(var r=!!(1&e.mode);null!==ru;){var a=ru,l=a.child;if(22===a.tag&&r){var o=null!==a.memoizedState||eu;if(!o){var i=a.alternate,u=null!==i&&null!==i.memoizedState||tu;i=eu;var s=tu;if(eu=o,(tu=u)&&!s)for(ru=a;null!==ru;)u=(o=ru).child,22===o.tag&&null!==o.memoizedState?_u(a):null!==u?(u.return=o,ru=u):_u(a);for(;null!==l;)ru=l,xu(l),l=l.sibling;ru=a,eu=i,tu=s}Cu(e)}else 8772&a.subtreeFlags&&null!==l?(l.return=a,ru=l):Cu(e)}}function Cu(e){for(;null!==ru;){var t=ru;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:tu||uu(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!tu)if(null===n)r.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:ui(t.type,n.memoizedProps);r.componentDidUpdate(a,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var l=t.updateQueue;null!==l&&Yl(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}Yl(t,o,n)}break;case 5:var i=t.stateNode;if(null===n&&4&t.flags){n=i;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var s=t.alternate;if(null!==s){var c=s.memoizedState;if(null!==c){var f=c.dehydrated;null!==f&&Kt(f)}}}break;default:throw Error(d(163))}tu||512&t.flags&&su(t)}catch(p){Rs(t,t.return,p)}}if(t===e){ru=null;break}if(null!==(n=t.sibling)){n.return=t.return,ru=n;break}ru=t.return}}function Pu(e){for(;null!==ru;){var t=ru;if(t===e){ru=null;break}var n=t.sibling;if(null!==n){n.return=t.return,ru=n;break}ru=t.return}}function _u(e){for(;null!==ru;){var t=ru;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{uu(4,t)}catch(u){Rs(t,n,u)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var a=t.return;try{r.componentDidMount()}catch(u){Rs(t,a,u)}}var l=t.return;try{su(t)}catch(u){Rs(t,l,u)}break;case 5:var o=t.return;try{su(t)}catch(u){Rs(t,o,u)}}}catch(u){Rs(t,t.return,u)}if(t===e){ru=null;break}var i=t.sibling;if(null!==i){i.return=t.return,ru=i;break}ru=t.return}}var Lu,Ru=Math.ceil,Tu=P.ReactCurrentDispatcher,zu=P.ReactCurrentOwner,Nu=P.ReactCurrentBatchConfig,Du=0,Mu=null,Ou=null,Fu=0,Uu=0,Iu=Ta(0),Au=0,ju=null,Bu=0,Hu=0,Vu=0,Wu=null,$u=null,Qu=0,qu=1/0,Ku=null,Yu=!1,Xu=null,Ju=null,Gu=!1,Zu=null,es=0,ts=0,ns=null,rs=-1,as=0;function ls(){return 6&Du?rt():-1!==rs?rs:rs=rt()}function os(e){return 1&e.mode?2&Du&&0!==Fu?Fu&-Fu:null!==kl.transition?(0===as&&(as=kt()),as):0!==(e=Ct)?e:e=void 0===(e=window.event)?16:nn(e.type):1}function is(e,t,n,r){if(50<ts)throw ts=0,ns=null,Error(d(185));Et(e,n,r),2&Du&&e===Mu||(e===Mu&&(!(2&Du)&&(Hu|=n),4===Au&&fs(e,Fu)),us(e,r),1===n&&0===Du&&!(1&t.mode)&&(qu=rt()+500,$a&&Ka()))}function us(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,l=e.pendingLanes;0<l;){var o=31-ft(l),i=1<<o,u=a[o];-1===u?0!==(i&n)&&0===(i&r)||(a[o]=bt(i,t)):u<=t&&(e.expiredLanes|=i),l&=~i}}(e,t);var r=yt(e,e===Mu?Fu:0);if(0===r)null!==n&&et(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&et(n),1===t)0===e.tag?function(e){$a=!0,qa(e)}(ps.bind(null,e)):qa(ps.bind(null,e)),fa(function(){!(6&Du)&&Ka()}),n=null;else{switch(Pt(r)){case 1:n=lt;break;case 4:n=ot;break;case 16:default:n=it;break;case 536870912:n=st}n=Ms(n,ss.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ss(e,t){if(rs=-1,as=0,6&Du)throw Error(d(327));var n=e.callbackNode;if(_s()&&e.callbackNode!==n)return null;var r=yt(e,e===Mu?Fu:0);if(0===r)return null;if(30&r||0!==(r&e.expiredLanes)||t)t=ks(e,r);else{t=r;var a=Du;Du|=2;var l=bs();for(Mu===e&&Fu===t||(Ku=null,qu=rt()+500,gs(e,t));;)try{Es();break}catch(i){ys(e,i)}Nl(),Tu.current=l,Du=a,null!==Ou?t=0:(Mu=null,Fu=0,t=Au)}if(0!==t){if(2===t&&(0!==(a=wt(e))&&(r=a,t=cs(e,a))),1===t)throw n=ju,gs(e,0),fs(e,r),us(e,rt()),n;if(6===t)fs(e,r);else{if(a=e.current.alternate,!(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],l=a.getSnapshot;a=a.value;try{if(!pr(l(),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)||(t=ks(e,r),2===t&&(l=wt(e),0!==l&&(r=l,t=cs(e,l))),1!==t)))throw n=ju,gs(e,0),fs(e,r),us(e,rt()),n;switch(e.finishedWork=a,e.finishedLanes=r,t){case 0:case 1:throw Error(d(345));case 2:case 5:Ps(e,$u,Ku);break;case 3:if(fs(e,r),(130023424&r)===r&&10<(t=Qu+500-rt())){if(0!==yt(e,0))break;if(((a=e.suspendedLanes)&r)!==r){ls(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=sa(Ps.bind(null,e,$u,Ku),t);break}Ps(e,$u,Ku);break;case 4:if(fs(e,r),(4194240&r)===r)break;for(t=e.eventTimes,a=-1;0<r;){var o=31-ft(r);l=1<<o,(o=t[o])>a&&(a=o),r&=~l}if(r=a,10<(r=(120>(r=rt()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Ru(r/1960))-r)){e.timeoutHandle=sa(Ps.bind(null,e,$u,Ku),r);break}Ps(e,$u,Ku);break;default:throw Error(d(329))}}}return us(e,rt()),e.callbackNode===n?ss.bind(null,e):null}function cs(e,t){var n=Wu;return e.current.memoizedState.isDehydrated&&(gs(e,t).flags|=256),2!==(e=ks(e,t))&&(t=$u,$u=n,null!==t&&ds(t)),e}function ds(e){null===$u?$u=e:$u.push.apply($u,e)}function fs(e,t){for(t&=~Vu,t&=~Hu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ft(t),r=1<<n;e[n]=-1,t&=~r}}function ps(e){if(6&Du)throw Error(d(327));_s();var t=yt(e,0);if(!(1&t))return us(e,rt()),null;var n=ks(e,t);if(0!==e.tag&&2===n){var r=wt(e);0!==r&&(t=r,n=cs(e,r))}if(1===n)throw n=ju,gs(e,0),fs(e,t),us(e,rt()),n;if(6===n)throw Error(d(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ps(e,$u,Ku),us(e,rt()),null}function hs(e,t){var n=Du;Du|=1;try{return e(t)}finally{0===(Du=n)&&(qu=rt()+500,$a&&Ka())}}function ms(e){null!==Zu&&0===Zu.tag&&!(6&Du)&&_s();var t=Du;Du|=1;var n=Nu.transition,r=Ct;try{if(Nu.transition=null,Ct=1,e)return e()}finally{Ct=r,Nu.transition=n,!(6&(Du=t))&&Ka()}}function vs(){Uu=Iu.current,za(Iu)}function gs(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,ca(n)),null!==Ou)for(n=Ou.return;null!==n;){var r=n;switch(il(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Aa();break;case 3:no(),za(Oa),za(Ma),uo();break;case 5:ao(r);break;case 4:no();break;case 13:case 19:za(lo);break;case 10:Dl(r.type._context);break;case 22:case 23:vs()}n=n.return}if(Mu=e,Ou=e=Is(e.current,null),Fu=Uu=t,Au=0,ju=null,Vu=Hu=Bu=0,$u=Wu=null,null!==Ul){for(t=0;t<Ul.length;t++)if(null!==(r=(n=Ul[t]).interleaved)){n.interleaved=null;var a=r.next,l=n.pending;if(null!==l){var o=l.next;l.next=a,r.next=o}n.pending=r}Ul=null}return e}function ys(e,t){for(;;){var n=Ou;try{if(Nl(),so.current=ai,vo){for(var r=po.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}vo=!1}if(fo=0,mo=ho=po=null,go=!1,yo=0,zu.current=null,null===n||null===n.return){Au=1,ju=t,Ou=null;break}e:{var l=e,o=n.return,i=n,u=t;if(t=Fu,i.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var s=u,c=i,f=c.tag;if(!(1&c.mode||0!==f&&11!==f&&15!==f)){var p=c.alternate;p?(c.updateQueue=p.updateQueue,c.memoizedState=p.memoizedState,c.lanes=p.lanes):(c.updateQueue=null,c.memoizedState=null)}var h=ki(o);if(null!==h){h.flags&=-257,Si(h,o,i,0,t),1&h.mode&&wi(l,s,t),u=s;var m=(t=h).updateQueue;if(null===m){var v=new Set;v.add(u),t.updateQueue=v}else m.add(u);break e}if(!(1&t)){wi(l,s,t),ws();break e}u=Error(d(426))}else if(cl&&1&i.mode){var g=ki(o);if(null!==g){!(65536&g.flags)&&(g.flags|=256),Si(g,o,i,0,t),wl(mi(u,i));break e}}l=u=mi(u,i),4!==Au&&(Au=2),null===Wu?Wu=[l]:Wu.push(l),l=o;do{switch(l.tag){case 3:l.flags|=65536,t&=-t,l.lanes|=t,ql(l,yi(0,u,t));break e;case 1:i=u;var y=l.type,b=l.stateNode;if(!(128&l.flags||"function"!=typeof y.getDerivedStateFromError&&(null===b||"function"!=typeof b.componentDidCatch||null!==Ju&&Ju.has(b)))){l.flags|=65536,t&=-t,l.lanes|=t,ql(l,bi(l,i,t));break e}}l=l.return}while(null!==l)}Cs(n)}catch(w){t=w,Ou===n&&null!==n&&(Ou=n=n.return);continue}break}}function bs(){var e=Tu.current;return Tu.current=ai,null===e?ai:e}function ws(){0!==Au&&3!==Au&&2!==Au||(Au=4),null===Mu||!(268435455&Bu)&&!(268435455&Hu)||fs(Mu,Fu)}function ks(e,t){var n=Du;Du|=2;var r=bs();for(Mu===e&&Fu===t||(Ku=null,gs(e,t));;)try{Ss();break}catch(a){ys(e,a)}if(Nl(),Du=n,Tu.current=r,null!==Ou)throw Error(d(261));return Mu=null,Fu=0,Au}function Ss(){for(;null!==Ou;)xs(Ou)}function Es(){for(;null!==Ou&&!tt();)xs(Ou)}function xs(e){var t=Lu(e.alternate,e,Uu);e.memoizedProps=e.pendingProps,null===t?Cs(e):Ou=t,zu.current=null}function Cs(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Zi(n,t)))return n.flags&=32767,void(Ou=n);if(null===e)return Au=6,void(Ou=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Gi(n,t,Uu)))return void(Ou=n);if(null!==(t=t.sibling))return void(Ou=t);Ou=t=e}while(null!==t);0===Au&&(Au=5)}function Ps(e,t,n){var r=Ct,a=Nu.transition;try{Nu.transition=null,Ct=1,function(e,t,n,r){do{_s()}while(null!==Zu);if(6&Du)throw Error(d(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(d(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-ft(n),l=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~l}}(e,l),e===Mu&&(Ou=Mu=null,Fu=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||Gu||(Gu=!0,Ms(it,function(){return _s(),null})),l=!!(15990&n.flags),!!(15990&n.subtreeFlags)||l){l=Nu.transition,Nu.transition=null;var o=Ct;Ct=1;var i=Du;Du|=4,zu.current=null,function(e,t){if(oa=Xt,br(e=yr())){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,i=-1,u=-1,s=0,c=0,f=e,p=null;t:for(;;){for(var h;f!==n||0!==a&&3!==f.nodeType||(i=o+a),f!==l||0!==r&&3!==f.nodeType||(u=o+r),3===f.nodeType&&(o+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++s===a&&(i=o),p===l&&++c===r&&(u=o),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===i||-1===u?null:{start:i,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(ia={focusedElem:e,selectionRange:n},Xt=!1,ru=t;null!==ru;)if(e=(t=ru).child,1028&t.subtreeFlags&&null!==e)e.return=t,ru=e;else for(;null!==ru;){t=ru;try{var m=t.alternate;if(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,g=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?v:ui(t.type,v),g);y.__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(d(163))}}catch(k){Rs(t,t.return,k)}if(null!==(e=t.sibling)){e.return=t.return,ru=e;break}ru=t.return}m=ou,ou=!1}(e,n),ku(n,e),wr(ia),Xt=!!oa,ia=oa=null,e.current=n,Eu(n),nt(),Du=i,Ct=o,Nu.transition=l}else e.current=n;if(Gu&&(Gu=!1,Zu=e,es=a),l=e.pendingLanes,0===l&&(Ju=null),function(e){if(dt&&"function"==typeof dt.onCommitFiberRoot)try{dt.onCommitFiberRoot(ct,e,void 0,!(128&~e.current.flags))}catch(t){}}(n.stateNode),us(e,rt()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],r(a.value,{componentStack:a.stack,digest:a.digest});if(Yu)throw Yu=!1,e=Xu,Xu=null,e;!!(1&es)&&0!==e.tag&&_s(),l=e.pendingLanes,1&l?e===ns?ts++:(ts=0,ns=e):ts=0,Ka()}(e,t,n,r)}finally{Nu.transition=a,Ct=r}return null}function _s(){if(null!==Zu){var e=Pt(es),t=Nu.transition,n=Ct;try{if(Nu.transition=null,Ct=16>e?16:e,null===Zu)var r=!1;else{if(e=Zu,Zu=null,es=0,6&Du)throw Error(d(331));var a=Du;for(Du|=4,ru=e.current;null!==ru;){var l=ru,o=l.child;if(16&ru.flags){var i=l.deletions;if(null!==i){for(var u=0;u<i.length;u++){var s=i[u];for(ru=s;null!==ru;){var c=ru;switch(c.tag){case 0:case 11:case 15:iu(8,c,l)}var f=c.child;if(null!==f)f.return=c,ru=f;else for(;null!==ru;){var p=(c=ru).sibling,h=c.return;if(cu(c),c===s){ru=null;break}if(null!==p){p.return=h,ru=p;break}ru=h}}}var m=l.alternate;if(null!==m){var v=m.child;if(null!==v){m.child=null;do{var g=v.sibling;v.sibling=null,v=g}while(null!==v)}}ru=l}}if(2064&l.subtreeFlags&&null!==o)o.return=l,ru=o;else e:for(;null!==ru;){if(2048&(l=ru).flags)switch(l.tag){case 0:case 11:case 15:iu(9,l,l.return)}var y=l.sibling;if(null!==y){y.return=l.return,ru=y;break e}ru=l.return}}var b=e.current;for(ru=b;null!==ru;){var w=(o=ru).child;if(2064&o.subtreeFlags&&null!==w)w.return=o,ru=w;else e:for(o=b;null!==ru;){if(2048&(i=ru).flags)try{switch(i.tag){case 0:case 11:case 15:uu(9,i)}}catch(S){Rs(i,i.return,S)}if(i===o){ru=null;break e}var k=i.sibling;if(null!==k){k.return=i.return,ru=k;break e}ru=i.return}}if(Du=a,Ka(),dt&&"function"==typeof dt.onPostCommitFiberRoot)try{dt.onPostCommitFiberRoot(ct,e)}catch(S){}r=!0}return r}finally{Ct=n,Nu.transition=t}}return!1}function Ls(e,t,n){e=$l(e,t=yi(0,t=mi(n,t),1),1),t=ls(),null!==e&&(Et(e,1,t),us(e,t))}function Rs(e,t,n){if(3===e.tag)Ls(e,e,n);else for(;null!==t;){if(3===t.tag){Ls(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Ju||!Ju.has(r))){t=$l(t,e=bi(t,e=mi(n,e),1),1),e=ls(),null!==t&&(Et(t,1,e),us(t,e));break}}t=t.return}}function Ts(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ls(),e.pingedLanes|=e.suspendedLanes&n,Mu===e&&(Fu&n)===n&&(4===Au||3===Au&&(130023424&Fu)===Fu&&500>rt()-Qu?gs(e,0):Vu|=n),us(e,t)}function zs(e,t){0===t&&(1&e.mode?(t=vt,!(130023424&(vt<<=1))&&(vt=4194304)):t=1);var n=ls();null!==(e=jl(e,t))&&(Et(e,t,n),us(e,n))}function Ns(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),zs(e,n)}function Ds(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(d(314))}null!==r&&r.delete(t),zs(e,n)}function Ms(e,t){return Ze(e,t)}function Os(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 Fs(e,t,n,r){return new Os(e,t,n,r)}function Us(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Is(e,t){var n=e.alternate;return null===n?((n=Fs(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 As(e,t,n,r,a,l){var o=2;if(r=e,"function"==typeof e)Us(e)&&(o=1);else if("string"==typeof e)o=5;else e:switch(e){case R:return js(n.children,a,l,t);case T:o=8,a|=8;break;case z:return(e=Fs(12,n,t,2|a)).elementType=z,e.lanes=l,e;case O:return(e=Fs(13,n,t,a)).elementType=O,e.lanes=l,e;case F:return(e=Fs(19,n,t,a)).elementType=F,e.lanes=l,e;case A:return Bs(n,a,l,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case N:o=10;break e;case D:o=9;break e;case M:o=11;break e;case U:o=14;break e;case I:o=16,r=null;break e}throw Error(d(130,null==e?e:typeof e,""))}return(t=Fs(o,n,t,a)).elementType=e,t.type=r,t.lanes=l,t}function js(e,t,n,r){return(e=Fs(7,e,r,t)).lanes=n,e}function Bs(e,t,n,r){return(e=Fs(22,e,r,t)).elementType=A,e.lanes=n,e.stateNode={isHidden:!1},e}function Hs(e,t,n){return(e=Fs(6,e,null,t)).lanes=n,e}function Vs(e,t,n){return(t=Fs(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ws(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=St(0),this.expirationTimes=St(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=St(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function $s(e,t,n,r,a,l,o,i,u){return e=new Ws(e,t,n,i,u),1===t?(t=1,!0===l&&(t|=8)):t=0,l=Fs(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Hl(l),e}function Qs(e){if(!e)return Da;e:{if(Ke(e=e._reactInternals)!==e||1!==e.tag)throw Error(d(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ia(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(d(171))}if(1===e.tag){var n=e.type;if(Ia(n))return Ba(e,n,t)}return t}function qs(e,t,n,r,a,l,o,i,u){return(e=$s(n,r,!0,e,0,l,0,i,u)).context=Qs(null),n=e.current,(l=Wl(r=ls(),a=os(n))).callback=null!=t?t:null,$l(n,l,a),e.current.lanes=a,Et(e,a,r),us(e,r),e}function Ks(e,t,n,r){var a=t.current,l=ls(),o=os(a);return n=Qs(n),null===t.context?t.context=n:t.pendingContext=n,(t=Wl(l,o)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=$l(a,t,o))&&(is(e,a,o,l),Ql(e,a,o)),o}function Ys(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Xs(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Js(e,t){Xs(e,t),(e=e.alternate)&&Xs(e,t)}Lu=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Oa.current)xi=!0;else{if(0===(e.lanes&n)&&!(128&t.flags))return xi=!1,function(e,t,n){switch(t.tag){case 3:Mi(t),bl();break;case 5:ro(t);break;case 1:Ia(t.type)&&Ha(t);break;case 4:to(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;Na(Ll,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Na(lo,1&lo.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Hi(e,t,n):(Na(lo,1&lo.current),null!==(e=Yi(e,t,n))?e.sibling:null);Na(lo,1&lo.current);break;case 19:if(r=0!==(n&t.childLanes),128&e.flags){if(r)return qi(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),Na(lo,lo.current),r)break;return null;case 22:case 23:return t.lanes=0,Ri(e,t,n)}return Yi(e,t,n)}(e,t,n);xi=!!(131072&e.flags)}else xi=!1,cl&&1048576&t.flags&&ll(t,Ga,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ki(e,t),e=t.pendingProps;var a=Ua(t,Ma.current);Ol(t,n),a=So(null,t,r,e,a,n);var l=Eo();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,Ia(r)?(l=!0,Ha(t)):l=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,Hl(t),a.updater=ci,t.stateNode=a,a._reactInternals=t,hi(t,r,e,n),t=Di(null,t,r,!0,l,n)):(t.tag=0,cl&&l&&ol(t),Ci(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ki(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"==typeof e)return Us(e)?1:0;if(null!=e){if((e=e.$$typeof)===M)return 11;if(e===U)return 14}return 2}(r),e=ui(r,e),a){case 0:t=zi(null,t,r,e,n);break e;case 1:t=Ni(null,t,r,e,n);break e;case 11:t=Pi(null,t,r,e,n);break e;case 14:t=_i(null,t,r,ui(r.type,e),n);break e}throw Error(d(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,zi(e,t,r,a=t.elementType===r?a:ui(r,a),n);case 1:return r=t.type,a=t.pendingProps,Ni(e,t,r,a=t.elementType===r?a:ui(r,a),n);case 3:e:{if(Mi(t),null===e)throw Error(d(387));r=t.pendingProps,a=(l=t.memoizedState).element,Vl(e,t),Kl(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=Oi(e,t,r,n,a=mi(Error(d(423)),t));break e}if(r!==a){t=Oi(e,t,r,n,a=mi(Error(d(424)),t));break e}for(sl=ma(t.stateNode.containerInfo.firstChild),ul=t,cl=!0,dl=null,n=_l(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(bl(),r===a){t=Yi(e,t,n);break e}Ci(e,t,r,n)}t=t.child}return t;case 5:return ro(t),null===e&&ml(t),r=t.type,a=t.pendingProps,l=null!==e?e.memoizedProps:null,o=a.children,ua(r,a)?o=null:null!==l&&ua(r,l)&&(t.flags|=32),Ti(e,t),Ci(e,t,o,n),t.child;case 6:return null===e&&ml(t),null;case 13:return Hi(e,t,n);case 4:return to(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Pl(t,null,r,n):Ci(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,Pi(e,t,r,a=t.elementType===r?a:ui(r,a),n);case 7:return Ci(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ci(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(Ll,r._currentValue),r._currentValue=o,null!==l)if(pr(l.value,o)){if(l.children===a.children&&!Oa.current){t=Yi(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var i=l.dependencies;if(null!==i){o=l.child;for(var u=i.firstContext;null!==u;){if(u.context===r){if(1===l.tag){(u=Wl(-1,n&-n)).tag=2;var s=l.updateQueue;if(null!==s){var c=(s=s.shared).pending;null===c?u.next=u:(u.next=c.next,c.next=u),s.pending=u}}l.lanes|=n,null!==(u=l.alternate)&&(u.lanes|=n),Ml(l.return,n,t),i.lanes|=n;break}u=u.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(d(341));o.lanes|=n,null!==(i=o.alternate)&&(i.lanes|=n),Ml(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}Ci(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,Ol(t,n),r=r(a=Fl(a)),t.flags|=1,Ci(e,t,r,n),t.child;case 14:return a=ui(r=t.type,t.pendingProps),_i(e,t,r,a=ui(r.type,a),n);case 15:return Li(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:ui(r,a),Ki(e,t),t.tag=1,Ia(r)?(e=!0,Ha(t)):e=!1,Ol(t,n),fi(t,r,a),hi(t,r,a,n),Di(null,t,r,!0,e,n);case 19:return qi(e,t,n);case 22:return Ri(e,t,n)}throw Error(d(156,t.tag))};var Gs="function"==typeof reportError?reportError:function(e){};function Zs(e){this._internalRoot=e}function ec(e){this._internalRoot=e}function tc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function nc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function rc(){}function ac(e,t,n,r,a){var l=n._reactRootContainer;if(l){var o=l;if("function"==typeof a){var i=a;a=function(){var e=Ys(o);i.call(e)}}Ks(t,o,e,a)}else o=function(e,t,n,r,a){if(a){if("function"==typeof r){var l=r;r=function(){var e=Ys(o);l.call(e)}}var o=qs(t,r,e,0,null,!1,0,"",rc);return e._reactRootContainer=o,e[wa]=o.current,Kr(8===e.nodeType?e.parentNode:e),ms(),o}for(;a=e.lastChild;)e.removeChild(a);if("function"==typeof r){var i=r;r=function(){var e=Ys(u);i.call(e)}}var u=$s(e,0,!1,null,0,!1,0,"",rc);return e._reactRootContainer=u,e[wa]=u.current,Kr(8===e.nodeType?e.parentNode:e),ms(function(){Ks(t,u,n,r)}),u}(n,t,e,a,r);return Ys(o)}ec.prototype.render=Zs.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(d(409));Ks(e,t,null,null)},ec.prototype.unmount=Zs.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;ms(function(){Ks(null,e,null,null)}),t[wa]=null}},ec.prototype.unstable_scheduleHydration=function(e){if(e){var t=Tt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<At.length&&0!==t&&t<At[n].priority;n++);At.splice(n,0,e),0===n&&Vt(e)}},_t=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=gt(t.pendingLanes);0!==n&&(xt(t,1|n),us(t,rt()),!(6&Du)&&(qu=rt()+500,Ka()))}break;case 13:ms(function(){var t=jl(e,1);if(null!==t){var n=ls();is(t,e,1,n)}}),Js(e,1)}},Lt=function(e){if(13===e.tag){var t=jl(e,134217728);if(null!==t)is(t,e,134217728,ls());Js(e,134217728)}},Rt=function(e){if(13===e.tag){var t=os(e),n=jl(e,t);if(null!==n)is(n,e,t,ls());Js(e,t)}},Tt=function(){return Ct},zt=function(e,t){var n=Ct;try{return Ct=e,t()}finally{Ct=n}},Le=function(e,t,n){switch(t){case"input":if(ae(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=_a(r);if(!a)throw Error(d(90));Z(r),ae(r,a)}}}break;case"textarea":de(e,n);break;case"select":null!=(t=n.value)&&ue(e,!!n.multiple,t,!1)}},Me=hs,Oe=ms;var lc={usingClientEntryPoint:!1,Events:[Ca,Pa,_a,Ne,De,hs]},oc={findFiberByHostInstance:xa,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},ic={bundleType:oc.bundleType,version:oc.version,rendererPackageName:oc.rendererPackageName,rendererConfig:oc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:P.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Je(e))?null:e.stateNode},findFiberByHostInstance:oc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var uc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!uc.isDisabled&&uc.supportsFiber)try{ct=uc.inject(ic),dt=uc}catch(ve){}}l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=lc,l.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!tc(t))throw Error(d(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:L,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},l.createRoot=function(e,t){if(!tc(e))throw Error(d(299));var n=!1,r="",a=Gs;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=$s(e,1,!1,null,0,n,0,r,a),e[wa]=t.current,Kr(8===e.nodeType?e.parentNode:e),new Zs(t)},l.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(d(188));throw e=Object.keys(e).join(","),Error(d(268,e))}return e=null===(e=Je(t))?null:e.stateNode},l.flushSync=function(e){return ms(e)},l.hydrate=function(e,t,n){if(!nc(t))throw Error(d(200));return ac(null,e,t,!0,n)},l.hydrateRoot=function(e,t,n){if(!tc(e))throw Error(d(405));var r=null!=n&&n.hydratedSources||null,a=!1,l="",o=Gs;if(null!=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[wa]=t.current,Kr(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 ec(t)},l.render=function(e,t,n){if(!nc(t))throw Error(d(200));return ac(null,e,t,!1,n)},l.unmountComponentAtNode=function(e){if(!nc(e))throw Error(d(40));return!!e._reactRootContainer&&(ms(function(){ac(null,null,e,!1,function(){e._reactRootContainer=null,e[wa]=null})}),!0)},l.unstable_batchedUpdates=hs,l.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!nc(n))throw Error(d(200));if(null==e||void 0===e._reactInternals)throw Error(d(38));return ac(e,t,n,!1,r)},l.version="18.3.1-next-f1338f8080-20240426",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){}}(),a.exports=l;var sc=a.exports;const cc=t(sc),dc=r({__proto__:null,default:cc},[sc]);
/**
 * @remix-run/router v1.23.2
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */
function fc(){return fc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fc.apply(this,arguments)}var pc,hc;(hc=pc||(pc={})).Pop="POP",hc.Push="PUSH",hc.Replace="REPLACE";const mc="popstate";function vc(e){return void 0===e&&(e={}),function(e,t,n,r){void 0===r&&(r={});let{window:a=document.defaultView,v5Compat:l=!1}=r,o=a.history,i=pc.Pop,u=null,s=c();null==s&&(s=0,o.replaceState(fc({},o.state,{idx:s}),""));function c(){return(o.state||{idx:null}).idx}function d(){i=pc.Pop;let e=c(),t=null==e?null:e-s;s=e,u&&u({action:i,location:m.location,delta:t})}function f(e,t){i=pc.Push;let n=wc(m.location,e,t);s=c()+1;let r=bc(n,s),d=m.createHref(n);try{o.pushState(r,"",d)}catch(f){if(f instanceof DOMException&&"DataCloneError"===f.name)throw f;a.location.assign(d)}l&&u&&u({action:i,location:m.location,delta:1})}function p(e,t){i=pc.Replace;let n=wc(m.location,e,t);s=c();let r=bc(n,s),a=m.createHref(n);o.replaceState(r,"",a),l&&u&&u({action:i,location:m.location,delta:0})}function h(e){let t="null"!==a.location.origin?a.location.origin:a.location.href,n="string"==typeof e?e:kc(e);return n=n.replace(/ $/,"%20"),gc(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}let m={get action(){return i},get location(){return e(a,o)},listen(e){if(u)throw new Error("A history only accepts one active listener");return a.addEventListener(mc,d),u=e,()=>{a.removeEventListener(mc,d),u=null}},createHref:e=>t(a,e),createURL:h,encodeLocation(e){let t=h(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:f,replace:p,go:e=>o.go(e)};return m}(function(e,t){let{pathname:n,search:r,hash:a}=e.location;return wc("",{pathname:n,search:r,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){return"string"==typeof t?t:kc(t)},0,e)}function gc(e,t){if(!1===e||null==e)throw new Error(t)}function yc(e,t){if(!e)try{throw new Error(t)}catch(n){}}function bc(e,t){return{usr:e.state,key:e.key,idx:t}}function wc(e,t,n,r){return void 0===n&&(n=null),fc({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?Sc(t):t,{state:n,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function kc(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function Sc(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}var Ec,xc;(xc=Ec||(Ec={})).data="data",xc.deferred="deferred",xc.redirect="redirect",xc.error="error";const Cc=new Set(["lazy","caseSensitive","path","id","index","children"]);function Pc(e,t,n,r){return void 0===n&&(n=[]),void 0===r&&(r={}),e.map((e,a)=>{let l=[...n,String(a)],o="string"==typeof e.id?e.id:l.join("-");if(gc(!0!==e.index||!e.children,"Cannot specify children on an index route"),gc(!r[o],'Found a route id collision on id "'+o+"\".  Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){let n=fc({},e,t(e),{id:o});return r[o]=n,n}{let n=fc({},e,t(e),{id:o,children:void 0});return r[o]=n,e.children&&(n.children=Pc(e.children,t,l,r)),n}})}function _c(e,t,n){return void 0===n&&(n="/"),Lc(e,t,n,!1)}function Lc(e,t,n,r){let a=Hc(("string"==typeof t?Sc(t):t).pathname||"/",n);if(null==a)return null;let l=Rc(e);!function(e){e.sort((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n]);return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(l);let o=null;for(let i=0;null==o&&i<l.length;++i){let e=Bc(a);o=Ac(l[i],e,r)}return o}function Rc(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");let a=(e,a,l)=>{let o={relativePath:void 0===l?e.path||"":l,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};o.relativePath.startsWith("/")&&(gc(o.relativePath.startsWith(r),'Absolute route path "'+o.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),o.relativePath=o.relativePath.slice(r.length));let i=Xc([r,o.relativePath]),u=n.concat(o);e.children&&e.children.length>0&&(gc(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+i+'".'),Rc(e.children,t,u,i)),(null!=e.path||e.index)&&t.push({path:i,score:Ic(i,e.index),routesMeta:u})};return e.forEach((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let r of Tc(e.path))a(e,t,r);else a(e,t)}),t}function Tc(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,a=n.endsWith("?"),l=n.replace(/\?$/,"");if(0===r.length)return a?[l,""]:[l];let o=Tc(r.join("/")),i=[];return i.push(...o.map(e=>""===e?l:[l,e].join("/"))),a&&i.push(...o),i.map(t=>e.startsWith("/")&&""===t?"/":t)}const zc=/^:[\w-]+$/,Nc=3,Dc=2,Mc=1,Oc=10,Fc=-2,Uc=e=>"*"===e;function Ic(e,t){let n=e.split("/"),r=n.length;return n.some(Uc)&&(r+=Fc),t&&(r+=Dc),n.filter(e=>!Uc(e)).reduce((e,t)=>e+(zc.test(t)?Nc:""===t?Mc:Oc),r)}function Ac(e,t,n){void 0===n&&(n=!1);let{routesMeta:r}=e,a={},l="/",o=[];for(let i=0;i<r.length;++i){let e=r[i],u=i===r.length-1,s="/"===l?t:t.slice(l.length)||"/",c=jc({path:e.relativePath,caseSensitive:e.caseSensitive,end:u},s),d=e.route;if(!c&&u&&n&&!r[r.length-1].route.index&&(c=jc({path:e.relativePath,caseSensitive:e.caseSensitive,end:!1},s)),!c)return null;Object.assign(a,c.params),o.push({params:a,pathname:Xc([l,c.pathname]),pathnameBase:Jc(Xc([l,c.pathnameBase])),route:d}),"/"!==c.pathnameBase&&(l=Xc([l,c.pathnameBase]))}return o}function jc(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);yc("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let r=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)"));e.endsWith("*")?(r.push({paramName:"*"}),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":""!==e&&"/"!==e&&(a+="(?:(?=\\/|$))");let l=new RegExp(a,t?void 0:"i");return[l,r]}(e.path,e.caseSensitive,e.end),a=t.match(n);if(!a)return null;let l=a[0],o=l.replace(/(.)\/+$/,"$1"),i=a.slice(1);return{params:r.reduce((e,t,n)=>{let{paramName:r,isOptional:a}=t;if("*"===r){let e=i[n]||"";o=l.slice(0,l.length-e.length).replace(/(.)\/+$/,"$1")}const u=i[n];return e[r]=a&&!u?void 0:(u||"").replace(/%2F/g,"/"),e},{}),pathname:l,pathnameBase:o,pattern:e}}function Bc(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return yc(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function Hc(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}const Vc=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function Wc(e,t){void 0===t&&(t="/");let n,{pathname:r,search:a="",hash:l=""}="string"==typeof e?Sc(e):e;if(r)if(o=r,Vc.test(o))n=r;else{if(r.includes("//")){let e=r;r=r.replace(/\/\/+/g,"/"),yc(!1,"Pathnames cannot have embedded double slashes - normalizing "+e+" -> "+r)}n=r.startsWith("/")?$c(r.substring(1),"/"):$c(r,t)}else n=t;var o;return{pathname:n,search:Gc(a),hash:Zc(l)}}function $c(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)}),n.length>1?n.join("/"):"/"}function Qc(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function qc(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}function Kc(e,t){let n=qc(e);return t?n.map((e,t)=>t===n.length-1?e.pathname:e.pathnameBase):n.map(e=>e.pathnameBase)}function Yc(e,t,n,r){let a;void 0===r&&(r=!1),"string"==typeof e?a=Sc(e):(a=fc({},e),gc(!a.pathname||!a.pathname.includes("?"),Qc("?","pathname","search",a)),gc(!a.pathname||!a.pathname.includes("#"),Qc("#","pathname","hash",a)),gc(!a.search||!a.search.includes("#"),Qc("#","search","hash",a)));let l,o=""===e||""===a.pathname,i=o?"/":a.pathname;if(null==i)l=n;else{let e=t.length-1;if(!r&&i.startsWith("..")){let t=i.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}l=e>=0?t[e]:"/"}let u=Wc(a,l),s=i&&"/"!==i&&i.endsWith("/"),c=(o||"."===i)&&n.endsWith("/");return u.pathname.endsWith("/")||!s&&!c||(u.pathname+="/"),u}const Xc=e=>e.join("/").replace(/\/\/+/g,"/"),Jc=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Gc=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",Zc=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";class ed{constructor(e,t,n,r){void 0===r&&(r=!1),this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function td(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}const nd=["post","put","patch","delete"],rd=new Set(nd),ad=["get",...nd],ld=new Set(ad),od=new Set([301,302,303,307,308]),id=new Set([307,308]),ud={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},sd={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},cd={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},dd=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,fd=e=>({hasErrorBoundary:Boolean(e.hasErrorBoundary)}),pd="remix-router-transitions";function hd(e){const t=e.window?e.window:"undefined"!=typeof window?window:void 0,n=void 0!==t&&void 0!==t.document&&void 0!==t.document.createElement,r=!n;let a;if(gc(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)a=e.mapRouteProperties;else if(e.detectErrorBoundary){let t=e.detectErrorBoundary;a=e=>({hasErrorBoundary:t(e)})}else a=fd;let l,o,i,u={},s=Pc(e.routes,a,void 0,u),c=e.basename||"/",d=e.dataStrategy||xd,f=e.patchRoutesOnNavigation,p=fc({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),h=null,m=new Set,v=null,g=null,y=null,b=null!=e.hydrationData,w=_c(s,e.history.location,c),k=!1,S=null;if(null==w&&!f){let t=Fd(404,{pathname:e.history.location.pathname}),{matches:n,route:r}=Od(s);w=n,S={[r.id]:t}}if(w&&!e.hydrationData){he(w,s,e.history.location.pathname).active&&(w=null)}if(w)if(w.some(e=>e.route.lazy))o=!1;else if(w.some(e=>e.route.loader))if(p.v7_partialHydration){let t=e.hydrationData?e.hydrationData.loaderData:null,n=e.hydrationData?e.hydrationData.errors:null;if(n){let e=w.findIndex(e=>void 0!==n[e.route.id]);o=w.slice(0,e+1).every(e=>!bd(e.route,t,n))}else o=w.every(e=>!bd(e.route,t,n))}else o=null!=e.hydrationData;else o=!0;else if(o=!1,w=[],p.v7_partialHydration){let t=he(null,s,e.history.location.pathname);t.active&&t.matches&&(k=!0,w=t.matches)}let E,x,C={historyAction:e.history.action,location:e.history.location,matches:w,initialized:o,navigation:ud,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||S,fetchers:new Map,blockers:new Map},P=pc.Pop,_=!1,L=!1,R=new Map,T=null,z=!1,N=!1,D=[],M=new Set,O=new Map,F=0,U=-1,I=new Map,A=new Set,j=new Map,B=new Map,H=new Set,V=new Map,W=new Map;function $(e,t){void 0===t&&(t={}),C=fc({},C,e);let n=[],r=[];p.v7_fetcherPersist&&C.fetchers.forEach((e,t)=>{"idle"===e.state&&(H.has(t)?r.push(t):n.push(t))}),H.forEach(e=>{C.fetchers.has(e)||O.has(e)||r.push(e)}),[...m].forEach(e=>e(C,{deletedFetchers:r,viewTransitionOpts:t.viewTransitionOpts,flushSync:!0===t.flushSync})),p.v7_fetcherPersist?(n.forEach(e=>C.fetchers.delete(e)),r.forEach(e=>ne(e))):r.forEach(e=>H.delete(e))}function Q(t,n,r){var a,o;let i,{flushSync:u}=void 0===r?{}:r,c=null!=C.actionData&&null!=C.navigation.formMethod&&$d(C.navigation.formMethod)&&"loading"===C.navigation.state&&!0!==(null==(a=t.state)?void 0:a._isRedirect);i=n.actionData?Object.keys(n.actionData).length>0?n.actionData:null:c?C.actionData:null;let d=n.loaderData?Nd(C.loaderData,n.loaderData,n.matches||[],n.errors):C.loaderData,f=C.blockers;f.size>0&&(f=new Map(f),f.forEach((e,t)=>f.set(t,cd)));let p,h=!0===_||null!=C.navigation.formMethod&&$d(C.navigation.formMethod)&&!0!==(null==(o=t.state)?void 0:o._isRedirect);if(l&&(s=l,l=void 0),z||P===pc.Pop||(P===pc.Push?e.history.push(t,t.state):P===pc.Replace&&e.history.replace(t,t.state)),P===pc.Pop){let e=R.get(C.location.pathname);e&&e.has(t.pathname)?p={currentLocation:C.location,nextLocation:t}:R.has(t.pathname)&&(p={currentLocation:t,nextLocation:C.location})}else if(L){let e=R.get(C.location.pathname);e?e.add(t.pathname):(e=new Set([t.pathname]),R.set(C.location.pathname,e)),p={currentLocation:C.location,nextLocation:t}}$(fc({},n,{actionData:i,loaderData:d,historyAction:P,location:t,initialized:!0,navigation:ud,revalidation:"idle",restoreScrollPosition:pe(t,n.matches||C.matches),preventScrollReset:h,blockers:f}),{viewTransitionOpts:p,flushSync:!0===u}),P=pc.Pop,_=!1,L=!1,z=!1,N=!1,D=[]}async function q(t,n,r){E&&E.abort(),E=null,P=t,z=!0===(r&&r.startUninterruptedRevalidation),function(e,t){if(v&&y){let n=fe(e,t);v[n]=y()}}(C.location,C.matches),_=!0===(r&&r.preventScrollReset),L=!0===(r&&r.enableViewTransition);let a=l||s,o=r&&r.overrideNavigation,i=null!=r&&r.initialHydration&&C.matches&&C.matches.length>0&&!k?C.matches:_c(a,n,c),u=!0===(r&&r.flushSync);if(i&&C.initialized&&!N&&function(e,t){if(e.pathname!==t.pathname||e.search!==t.search)return!1;if(""===e.hash)return""!==t.hash;if(e.hash===t.hash)return!0;if(""!==t.hash)return!0;return!1}(C.location,n)&&!(r&&r.submission&&$d(r.submission.formMethod)))return void Q(n,{matches:i},{flushSync:u});let d=he(i,a,n.pathname);if(d.active&&d.matches&&(i=d.matches),!i){let{error:e,notFoundMatches:t,route:r}=ce(n.pathname);return void Q(n,{matches:t,loaderData:{},errors:{[r.id]:e}},{flushSync:u})}E=new AbortController;let f,h=Ld(e.history,n,E.signal,r&&r.submission);if(r&&r.pendingError)f=[Md(i).route.id,{type:Ec.error,error:r.pendingError}];else if(r&&r.submission&&$d(r.submission.formMethod)){let t=await async function(t,n,r,a,l,o){void 0===o&&(o={});G();let i,u=function(e,t){let n={state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text};return n}(n,r);if($({navigation:u},{flushSync:!0===o.flushSync}),l){let e=await me(a,n.pathname,t.signal);if("aborted"===e.type)return{shortCircuited:!0};if("error"===e.type){let t=Md(e.partialMatches).route.id;return{matches:e.partialMatches,pendingActionResult:[t,{type:Ec.error,error:e.error}]}}if(!e.matches){let{notFoundMatches:e,error:t,route:r}=ce(n.pathname);return{matches:e,pendingActionResult:[r.id,{type:Ec.error,error:t}]}}a=e.matches}let s=Xd(a,n);if(s.route.action||s.route.lazy){if(i=(await X("action",C,t,[s],a,null))[s.route.id],t.signal.aborted)return{shortCircuited:!0}}else i={type:Ec.error,error:Fd(405,{method:t.method,pathname:n.pathname,routeId:s.route.id})};if(Hd(i)){let n;if(o&&null!=o.replace)n=o.replace;else{n=_d(i.response.headers.get("Location"),new URL(t.url),c,e.history)===C.location.pathname+C.location.search}return await Y(t,i,!0,{submission:r,replace:n}),{shortCircuited:!0}}if(jd(i))throw Fd(400,{type:"defer-action"});if(Bd(i)){let e=Md(a,s.route.id);return!0!==(o&&o.replace)&&(P=pc.Push),{matches:a,pendingActionResult:[e.route.id,i]}}return{matches:a,pendingActionResult:[s.route.id,i]}}(h,n,r.submission,i,d.active,{replace:r.replace,flushSync:u});if(t.shortCircuited)return;if(t.pendingActionResult){let[e,r]=t.pendingActionResult;if(Bd(r)&&td(r.error)&&404===r.error.status)return E=null,void Q(n,{matches:t.matches,loaderData:{},errors:{[e]:r.error}})}i=t.matches||i,f=t.pendingActionResult,o=Gd(n,r.submission),u=!1,d.active=!1,h=Ld(e.history,h.url,h.signal)}let{shortCircuited:m,matches:g,loaderData:b,errors:w}=await async function(t,n,r,a,o,i,u,d,f,h,m){let v=o||Gd(n,i),g=i||u||Jd(v),y=!(z||p.v7_partialHydration&&f);if(a){if(y){let e=K(m);$(fc({navigation:v},void 0!==e?{actionData:e}:{}),{flushSync:h})}let e=await me(r,n.pathname,t.signal);if("aborted"===e.type)return{shortCircuited:!0};if("error"===e.type){let t=Md(e.partialMatches).route.id;return{matches:e.partialMatches,loaderData:{},errors:{[t]:e.error}}}if(!e.matches){let{error:e,notFoundMatches:t,route:r}=ce(n.pathname);return{matches:t,loaderData:{},errors:{[r.id]:e}}}r=e.matches}let b=l||s,[w,k]=yd(e.history,C,r,g,n,p.v7_partialHydration&&!0===f,p.v7_skipActionErrorRevalidation,N,D,M,H,j,A,b,c,m);if(de(e=>!(r&&r.some(t=>t.route.id===e))||w&&w.some(t=>t.route.id===e)),U=++F,0===w.length&&0===k.length){let e=le();return Q(n,fc({matches:r,loaderData:{},errors:m&&Bd(m[1])?{[m[0]]:m[1].error}:null},Dd(m),e?{fetchers:new Map(C.fetchers)}:{}),{flushSync:h}),{shortCircuited:!0}}if(y){let e={};if(!a){e.navigation=v;let t=K(m);void 0!==t&&(e.actionData=t)}k.length>0&&(e.fetchers=function(e){return e.forEach(e=>{let t=C.fetchers.get(e.key),n=Zd(void 0,t?t.data:void 0);C.fetchers.set(e.key,n)}),new Map(C.fetchers)}(k)),$(e,{flushSync:h})}k.forEach(e=>{re(e.key),e.controller&&O.set(e.key,e.controller)});let S=()=>k.forEach(e=>re(e.key));E&&E.signal.addEventListener("abort",S);let{loaderResults:x,fetcherResults:P}=await J(C,r,w,k,t);if(t.signal.aborted)return{shortCircuited:!0};E&&E.signal.removeEventListener("abort",S);k.forEach(e=>O.delete(e.key));let _=Ud(x);if(_)return await Y(t,_.result,!0,{replace:d}),{shortCircuited:!0};if(_=Ud(P),_)return A.add(_.key),await Y(t,_.result,!0,{replace:d}),{shortCircuited:!0};let{loaderData:L,errors:R}=zd(C,r,x,m,k,P,V);V.forEach((e,t)=>{e.subscribe(n=>{(n||e.done)&&V.delete(t)})}),p.v7_partialHydration&&f&&C.errors&&(R=fc({},C.errors,R));let T=le(),I=oe(U),B=T||I||k.length>0;return fc({matches:r,loaderData:L,errors:R},B?{fetchers:new Map(C.fetchers)}:{})}(h,n,i,d.active,o,r&&r.submission,r&&r.fetcherSubmission,r&&r.replace,r&&!0===r.initialHydration,u,f);m||(E=null,Q(n,fc({matches:g||i},Dd(f),{loaderData:b,errors:w})))}function K(e){return e&&!Bd(e[1])?{[e[0]]:e[1].data}:C.actionData?0===Object.keys(C.actionData).length?null:C.actionData:void 0}async function Y(r,a,l,o){let{submission:i,fetcherSubmission:u,preventScrollReset:s,replace:d}=void 0===o?{}:o;a.response.headers.has("X-Remix-Revalidate")&&(N=!0);let f=a.response.headers.get("Location");gc(f,"Expected a Location header on the redirect Response"),f=_d(f,new URL(r.url),c,e.history);let p=wc(C.location,f,{_isRedirect:!0});if(n){let n=!1;if(a.response.headers.has("X-Remix-Reload-Document"))n=!0;else if(dd.test(f)){const r=e.history.createURL(f);n=r.origin!==t.location.origin||null==Hc(r.pathname,c)}if(n)return void(d?t.location.replace(f):t.location.assign(f))}E=null;let h=!0===d||a.response.headers.has("X-Remix-Replace")?pc.Replace:pc.Push,{formMethod:m,formAction:v,formEncType:g}=C.navigation;!i&&!u&&m&&v&&g&&(i=Jd(C.navigation));let y=i||u;if(id.has(a.response.status)&&y&&$d(y.formMethod))await q(h,p,{submission:fc({},y,{formAction:f}),preventScrollReset:s||_,enableViewTransition:l?L:void 0});else{let e=Gd(p,i);await q(h,p,{overrideNavigation:e,fetcherSubmission:u,preventScrollReset:s||_,enableViewTransition:l?L:void 0})}}async function X(e,t,n,r,l,o){let i,s={};try{i=await async function(e,t,n,r,a,l,o,i,u,s){let c=l.map(e=>e.route.lazy?async function(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let a=n[e.id];gc(a,"No route found in manifest");let l={};for(let o in r){let e=void 0!==a[o]&&"hasErrorBoundary"!==o;yc(!e,'Route "'+a.id+'" has a static property "'+o+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+o+'" will be ignored.'),e||Cc.has(o)||(l[o]=r[o])}Object.assign(a,l),Object.assign(a,fc({},t(a),{lazy:void 0}))}(e.route,u,i):void 0),d=l.map((e,n)=>{let l=c[n],o=a.some(t=>t.route.id===e.route.id),i=async n=>(n&&"GET"===r.method&&(e.route.lazy||e.route.loader)&&(o=!0),o?async function(e,t,n,r,a,l){let o,i,u=r=>{let o,u=new Promise((e,t)=>o=t);i=()=>o(),t.signal.addEventListener("abort",i);let s=a=>"function"!=typeof r?Promise.reject(new Error('You cannot call the handler for a route which defines a boolean "'+e+'" [routeId: '+n.route.id+"]")):r({request:t,params:n.params,context:l},...void 0!==a?[a]:[]),c=(async()=>{try{return{type:"data",result:await(a?a(e=>s(e)):s())}}catch(e){return{type:"error",result:e}}})();return Promise.race([c,u])};try{let a=n.route[e];if(r)if(a){let e,[t]=await Promise.all([u(a).catch(t=>{e=t}),r]);if(void 0!==e)throw e;o=t}else{if(await r,a=n.route[e],!a){if("action"===e){let e=new URL(t.url),r=e.pathname+e.search;throw Fd(405,{method:t.method,pathname:r,routeId:n.route.id})}return{type:Ec.data,result:void 0}}o=await u(a)}else{if(!a){let e=new URL(t.url);throw Fd(404,{pathname:e.pathname+e.search})}o=await u(a)}gc(void 0!==o.result,"You defined "+("action"===e?"an action":"a loader")+' for route "'+n.route.id+"\" but didn't return anything from your `"+e+"` function. Please return a value or `null`.")}catch(s){return{type:Ec.error,result:s}}finally{i&&t.signal.removeEventListener("abort",i)}return o}(t,r,e,l,n,s):Promise.resolve({type:Ec.data,result:void 0}));return fc({},e,{shouldLoad:o,resolve:i})}),f=await e({matches:d,request:r,params:l[0].params,fetcherKey:o,context:s});try{await Promise.all(c)}catch(p){}return f}(d,e,0,n,r,l,o,u,a)}catch(f){return r.forEach(e=>{s[e.route.id]={type:Ec.error,error:f}}),s}for(let[a,u]of Object.entries(i))if(Ad(u)){let e=u.result;s[a]={type:Ec.redirect,response:Pd(e,n,a,l,c,p.v7_relativeSplatPath)}}else s[a]=await Cd(u);return s}async function J(t,n,r,a,l){let o=t.matches,i=X("loader",0,l,r,n,null),u=Promise.all(a.map(async t=>{if(t.matches&&t.match&&t.controller){let n=(await X("loader",0,Ld(e.history,t.path,t.controller.signal),[t.match],t.matches,t.key))[t.match.route.id];return{[t.key]:n}}return Promise.resolve({[t.key]:{type:Ec.error,error:Fd(404,{pathname:t.path})}})})),s=await i,c=(await u).reduce((e,t)=>Object.assign(e,t),{});return await Promise.all([Qd(n,s,l.signal,o,t.loaderData),qd(n,c,a)]),{loaderResults:s,fetcherResults:c}}function G(){N=!0,D.push(...de()),j.forEach((e,t)=>{O.has(t)&&M.add(t),re(t)})}function Z(e,t,n){void 0===n&&(n={}),C.fetchers.set(e,t),$({fetchers:new Map(C.fetchers)},{flushSync:!0===(n&&n.flushSync)})}function ee(e,t,n,r){void 0===r&&(r={});let a=Md(C.matches,t);ne(e),$({errors:{[a.route.id]:n},fetchers:new Map(C.fetchers)},{flushSync:!0===(r&&r.flushSync)})}function te(e){return B.set(e,(B.get(e)||0)+1),H.has(e)&&H.delete(e),C.fetchers.get(e)||sd}function ne(e){let t=C.fetchers.get(e);!O.has(e)||t&&"loading"===t.state&&I.has(e)||re(e),j.delete(e),I.delete(e),A.delete(e),p.v7_fetcherPersist&&H.delete(e),M.delete(e),C.fetchers.delete(e)}function re(e){let t=O.get(e);t&&(t.abort(),O.delete(e))}function ae(e){for(let t of e){let e=ef(te(t).data);C.fetchers.set(t,e)}}function le(){let e=[],t=!1;for(let n of A){let r=C.fetchers.get(n);gc(r,"Expected fetcher: "+n),"loading"===r.state&&(A.delete(n),e.push(n),t=!0)}return ae(e),t}function oe(e){let t=[];for(let[n,r]of I)if(r<e){let e=C.fetchers.get(n);gc(e,"Expected fetcher: "+n),"loading"===e.state&&(re(n),I.delete(n),t.push(n))}return ae(t),t.length>0}function ie(e){C.blockers.delete(e),W.delete(e)}function ue(e,t){let n=C.blockers.get(e)||cd;gc("unblocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"proceeding"===t.state||"blocked"===n.state&&"unblocked"===t.state||"proceeding"===n.state&&"unblocked"===t.state,"Invalid blocker state transition: "+n.state+" -> "+t.state);let r=new Map(C.blockers);r.set(e,t),$({blockers:r})}function se(e){let{currentLocation:t,nextLocation:n,historyAction:r}=e;if(0===W.size)return;W.size>1&&yc(!1,"A router only supports one blocker at a time");let a=Array.from(W.entries()),[l,o]=a[a.length-1],i=C.blockers.get(l);return i&&"proceeding"===i.state?void 0:o({currentLocation:t,nextLocation:n,historyAction:r})?l:void 0}function ce(e){let t=Fd(404,{pathname:e}),n=l||s,{matches:r,route:a}=Od(n);return de(),{notFoundMatches:r,route:a,error:t}}function de(e){let t=[];return V.forEach((n,r)=>{e&&!e(r)||(n.cancel(),t.push(r),V.delete(r))}),t}function fe(e,t){if(g){return g(e,t.map(e=>function(e,t){let{route:n,pathname:r,params:a}=e;return{id:n.id,pathname:r,params:a,data:t[n.id],handle:n.handle}}(e,C.loaderData)))||e.key}return e.key}function pe(e,t){if(v){let n=fe(e,t),r=v[n];if("number"==typeof r)return r}return null}function he(e,t,n){if(f){if(!e){return{active:!0,matches:Lc(t,n,c,!0)||[]}}if(Object.keys(e[0].params).length>0){return{active:!0,matches:Lc(t,n,c,!0)}}}return{active:!1,matches:null}}async function me(e,t,n,r){if(!f)return{type:"success",matches:e};let o=e;for(;;){let e=null==l,d=l||s,p=u;try{await f({signal:n,path:t,matches:o,fetcherKey:r,patch:(e,t)=>{n.aborted||Sd(e,t,d,p,a)}})}catch(i){return{type:"error",error:i,partialMatches:o}}finally{e&&!n.aborted&&(s=[...s])}if(n.aborted)return{type:"aborted"};let h=_c(d,t,c);if(h)return{type:"success",matches:h};let m=Lc(d,t,c,!0);if(!m||o.length===m.length&&o.every((e,t)=>e.route.id===m[t].route.id))return{type:"success",matches:null};o=m}}return i={get basename(){return c},get future(){return p},get state(){return C},get routes(){return s},get window(){return t},initialize:function(){if(h=e.history.listen(t=>{let{action:n,location:r,delta:a}=t;if(x)return x(),void(x=void 0);yc(0===W.size||null!=a,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs.  This can also happen if you are using createHashRouter and the user manually changes the URL.");let l=se({currentLocation:C.location,nextLocation:r,historyAction:n});if(l&&null!=a){let t=new Promise(e=>{x=e});return e.history.go(-1*a),void ue(l,{state:"blocked",location:r,proceed(){ue(l,{state:"proceeding",proceed:void 0,reset:void 0,location:r}),t.then(()=>e.history.go(a))},reset(){let e=new Map(C.blockers);e.set(l,cd),$({blockers:e})}})}return q(n,r)}),n){!function(e,t){try{let n=e.sessionStorage.getItem(pd);if(n){let e=JSON.parse(n);for(let[n,r]of Object.entries(e||{}))r&&Array.isArray(r)&&t.set(n,new Set(r||[]))}}catch(n){}}(t,R);let e=()=>function(e,t){if(t.size>0){let r={};for(let[e,n]of t)r[e]=[...n];try{e.sessionStorage.setItem(pd,JSON.stringify(r))}catch(n){yc(!1,"Failed to save applied view transitions in sessionStorage ("+n+").")}}}
/**
 * React Router v6.30.3
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */(t,R);t.addEventListener("pagehide",e),T=()=>t.removeEventListener("pagehide",e)}return C.initialized||q(pc.Pop,C.location,{initialHydration:!0}),i},subscribe:function(e){return m.add(e),()=>m.delete(e)},enableScrollRestoration:function(e,t,n){if(v=e,y=t,g=n||null,!b&&C.navigation===ud){b=!0;let e=pe(C.location,C.matches);null!=e&&$({restoreScrollPosition:e})}return()=>{v=null,y=null,g=null}},navigate:async function t(n,r){if("number"==typeof n)return void e.history.go(n);let a=md(C.location,C.matches,c,p.v7_prependBasename,n,p.v7_relativeSplatPath,null==r?void 0:r.fromRouteId,null==r?void 0:r.relative),{path:l,submission:o,error:i}=vd(p.v7_normalizeFormMethod,!1,a,r),u=C.location,s=wc(C.location,l,r&&r.state);s=fc({},s,e.history.encodeLocation(s));let d=r&&null!=r.replace?r.replace:void 0,f=pc.Push;!0===d?f=pc.Replace:!1===d||null!=o&&$d(o.formMethod)&&o.formAction===C.location.pathname+C.location.search&&(f=pc.Replace);let h=r&&"preventScrollReset"in r?!0===r.preventScrollReset:void 0,m=!0===(r&&r.flushSync),v=se({currentLocation:u,nextLocation:s,historyAction:f});if(!v)return await q(f,s,{submission:o,pendingError:i,preventScrollReset:h,replace:r&&r.replace,enableViewTransition:r&&r.viewTransition,flushSync:m});ue(v,{state:"blocked",location:s,proceed(){ue(v,{state:"proceeding",proceed:void 0,reset:void 0,location:s}),t(n,r)},reset(){let e=new Map(C.blockers);e.set(v,cd),$({blockers:e})}})},fetch:function(t,n,a,o){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");re(t);let i=!0===(o&&o.flushSync),u=l||s,d=md(C.location,C.matches,c,p.v7_prependBasename,a,p.v7_relativeSplatPath,n,null==o?void 0:o.relative),f=_c(u,d,c),h=he(f,u,d);if(h.active&&h.matches&&(f=h.matches),!f)return void ee(t,n,Fd(404,{pathname:d}),{flushSync:i});let{path:m,submission:v,error:g}=vd(p.v7_normalizeFormMethod,!0,d,o);if(g)return void ee(t,n,g,{flushSync:i});let y=Xd(f,m),b=!0===(o&&o.preventScrollReset);v&&$d(v.formMethod)?async function(t,n,r,a,o,i,u,d,f){function h(e){if(!e.route.action&&!e.route.lazy){let e=Fd(405,{method:f.formMethod,pathname:r,routeId:n});return ee(t,n,e,{flushSync:u}),!0}return!1}if(G(),j.delete(t),!i&&h(a))return;let m=C.fetchers.get(t);Z(t,function(e,t){let n={state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0};return n}(f,m),{flushSync:u});let v=new AbortController,g=Ld(e.history,r,v.signal,f);if(i){let e=await me(o,new URL(g.url).pathname,g.signal,t);if("aborted"===e.type)return;if("error"===e.type)return void ee(t,n,e.error,{flushSync:u});if(!e.matches)return void ee(t,n,Fd(404,{pathname:r}),{flushSync:u});if(h(a=Xd(o=e.matches,r)))return}O.set(t,v);let y=F,b=await X("action",C,g,[a],o,t),w=b[a.route.id];if(g.signal.aborted)return void(O.get(t)===v&&O.delete(t));if(p.v7_fetcherPersist&&H.has(t)){if(Hd(w)||Bd(w))return void Z(t,ef(void 0))}else{if(Hd(w))return O.delete(t),U>y?void Z(t,ef(void 0)):(A.add(t),Z(t,Zd(f)),Y(g,w,!1,{fetcherSubmission:f,preventScrollReset:d}));if(Bd(w))return void ee(t,n,w.error)}if(jd(w))throw Fd(400,{type:"defer-action"});let k=C.navigation.location||C.location,S=Ld(e.history,k,v.signal),x=l||s,_="idle"!==C.navigation.state?_c(x,C.navigation.location,c):C.matches;gc(_,"Didn't find any matches after fetcher action");let L=++F;I.set(t,L);let R=Zd(f,w.data);C.fetchers.set(t,R);let[T,z]=yd(e.history,C,_,f,k,!1,p.v7_skipActionErrorRevalidation,N,D,M,H,j,A,x,c,[a.route.id,w]);z.filter(e=>e.key!==t).forEach(e=>{let t=e.key,n=C.fetchers.get(t),r=Zd(void 0,n?n.data:void 0);C.fetchers.set(t,r),re(t),e.controller&&O.set(t,e.controller)}),$({fetchers:new Map(C.fetchers)});let B=()=>z.forEach(e=>re(e.key));v.signal.addEventListener("abort",B);let{loaderResults:W,fetcherResults:q}=await J(C,_,T,z,S);if(v.signal.aborted)return;v.signal.removeEventListener("abort",B),I.delete(t),O.delete(t),z.forEach(e=>O.delete(e.key));let K=Ud(W);if(K)return Y(S,K.result,!1,{preventScrollReset:d});if(K=Ud(q),K)return A.add(K.key),Y(S,K.result,!1,{preventScrollReset:d});let{loaderData:te,errors:ne}=zd(C,_,W,void 0,z,q,V);if(C.fetchers.has(t)){let e=ef(w.data);C.fetchers.set(t,e)}oe(L),"loading"===C.navigation.state&&L>U?(gc(P,"Expected pending action"),E&&E.abort(),Q(C.navigation.location,{matches:_,loaderData:te,errors:ne,fetchers:new Map(C.fetchers)})):($({errors:ne,loaderData:Nd(C.loaderData,te,_,ne),fetchers:new Map(C.fetchers)}),N=!1)}(t,n,m,y,f,h.active,i,b,v):(j.set(t,{routeId:n,path:m}),async function(t,n,r,a,l,o,i,u,s){let c=C.fetchers.get(t);Z(t,Zd(s,c?c.data:void 0),{flushSync:i});let d=new AbortController,f=Ld(e.history,r,d.signal);if(o){let e=await me(l,new URL(f.url).pathname,f.signal,t);if("aborted"===e.type)return;if("error"===e.type)return void ee(t,n,e.error,{flushSync:i});if(!e.matches)return void ee(t,n,Fd(404,{pathname:r}),{flushSync:i});a=Xd(l=e.matches,r)}O.set(t,d);let p=F,h=await X("loader",C,f,[a],l,t),m=h[a.route.id];jd(m)&&(m=await Kd(m,f.signal,!0)||m);O.get(t)===d&&O.delete(t);if(f.signal.aborted)return;if(H.has(t))return void Z(t,ef(void 0));if(Hd(m))return U>p?void Z(t,ef(void 0)):(A.add(t),void(await Y(f,m,!1,{preventScrollReset:u})));if(Bd(m))return void ee(t,n,m.error);gc(!jd(m),"Unhandled fetcher deferred data"),Z(t,ef(m.data))}(t,n,m,y,f,h.active,i,b,v))},revalidate:function(){G(),$({revalidation:"loading"}),"submitting"!==C.navigation.state&&("idle"!==C.navigation.state?q(P||C.historyAction,C.navigation.location,{overrideNavigation:C.navigation,enableViewTransition:!0===L}):q(C.historyAction,C.location,{startUninterruptedRevalidation:!0}))},createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:te,deleteFetcher:function(e){let t=(B.get(e)||0)-1;t<=0?(B.delete(e),H.add(e),p.v7_fetcherPersist||ne(e)):B.set(e,t),$({fetchers:new Map(C.fetchers)})},dispose:function(){h&&h(),T&&T(),m.clear(),E&&E.abort(),C.fetchers.forEach((e,t)=>ne(t)),C.blockers.forEach((e,t)=>ie(t))},getBlocker:function(e,t){let n=C.blockers.get(e)||cd;return W.get(e)!==t&&W.set(e,t),n},deleteBlocker:ie,patchRoutes:function(e,t){let n=null==l;Sd(e,t,l||s,u,a),n&&(s=[...s],$({}))},_internalFetchControllers:O,_internalActiveDeferreds:V,_internalSetRoutes:function(e){u={},l=Pc(e,a,void 0,u)}},i}function md(e,t,n,r,a,l,o,i){let u,s;if(o){u=[];for(let e of t)if(u.push(e),e.route.id===o){s=e;break}}else u=t,s=t[t.length-1];let c=Yc(a||".",Kc(u,l),Hc(e.pathname,n)||e.pathname,"path"===i);if(null==a&&(c.search=e.search,c.hash=e.hash),(null==a||""===a||"."===a)&&s){let e=Yd(c.search);if(s.route.index&&!e)c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index";else if(!s.route.index&&e){let e=new URLSearchParams(c.search),t=e.getAll("index");e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let n=e.toString();c.search=n?"?"+n:""}}return r&&"/"!==n&&(c.pathname="/"===c.pathname?n:Xc([n,c.pathname])),kc(c)}function vd(e,t,n,r){if(!r||!function(e){return null!=e&&("formData"in e&&null!=e.formData||"body"in e&&void 0!==e.body)}(r))return{path:n};if(r.formMethod&&(a=r.formMethod,!ld.has(a.toLowerCase())))return{path:n,error:Fd(405,{method:r.formMethod})};var a;let l,o,i=()=>({path:n,error:Fd(400,{type:"invalid-body"})}),u=r.formMethod||"get",s=e?u.toUpperCase():u.toLowerCase(),c=Id(n);if(void 0!==r.body){if("text/plain"===r.formEncType){if(!$d(s))return i();let e="string"==typeof r.body?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((e,t)=>{let[n,r]=t;return""+e+n+"="+r+"\n"},""):String(r.body);return{path:n,submission:{formMethod:s,formAction:c,formEncType:r.formEncType,formData:void 0,json:void 0,text:e}}}if("application/json"===r.formEncType){if(!$d(s))return i();try{let e="string"==typeof r.body?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:s,formAction:c,formEncType:r.formEncType,formData:void 0,json:e,text:void 0}}}catch(p){return i()}}}if(gc("function"==typeof FormData,"FormData is not available in this environment"),r.formData)l=Rd(r.formData),o=r.formData;else if(r.body instanceof FormData)l=Rd(r.body),o=r.body;else if(r.body instanceof URLSearchParams)l=r.body,o=Td(l);else if(null==r.body)l=new URLSearchParams,o=new FormData;else try{l=new URLSearchParams(r.body),o=Td(l)}catch(p){return i()}let d={formMethod:s,formAction:c,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:o,json:void 0,text:void 0};if($d(d.formMethod))return{path:n,submission:d};let f=Sc(n);return t&&f.search&&Yd(f.search)&&l.append("index",""),f.search="?"+l,{path:kc(f),submission:d}}function gd(e,t,n){void 0===n&&(n=!1);let r=e.findIndex(e=>e.route.id===t);return r>=0?e.slice(0,n?r+1:r):e}function yd(e,t,n,r,a,l,o,i,u,s,c,d,f,p,h,m){let v=m?Bd(m[1])?m[1].error:m[1].data:void 0,g=e.createURL(t.location),y=e.createURL(a),b=n;l&&t.errors?b=gd(n,Object.keys(t.errors)[0],!0):m&&Bd(m[1])&&(b=gd(n,m[0]));let w=m?m[1].statusCode:void 0,k=o&&w&&w>=400,S=b.filter((e,n)=>{let{route:a}=e;if(a.lazy)return!0;if(null==a.loader)return!1;if(l)return bd(a,t.loaderData,t.errors);if(function(e,t,n){let r=!t||n.route.id!==t.route.id,a=void 0===e[n.route.id];return r||a}(t.loaderData,t.matches[n],e)||u.some(t=>t===e.route.id))return!0;let o=t.matches[n],s=e;return kd(e,fc({currentUrl:g,currentParams:o.params,nextUrl:y,nextParams:s.params},r,{actionResult:v,actionStatus:w,defaultShouldRevalidate:!k&&(i||g.pathname+g.search===y.pathname+y.search||g.search!==y.search||wd(o,s))}))}),E=[];return d.forEach((e,a)=>{if(l||!n.some(t=>t.route.id===e.routeId)||c.has(a))return;let o=_c(p,e.path,h);if(!o)return void E.push({key:a,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null});let u=t.fetchers.get(a),d=Xd(o,e.path),m=!1;f.has(a)?m=!1:s.has(a)?(s.delete(a),m=!0):m=u&&"idle"!==u.state&&void 0===u.data?i:kd(d,fc({currentUrl:g,currentParams:t.matches[t.matches.length-1].params,nextUrl:y,nextParams:n[n.length-1].params},r,{actionResult:v,actionStatus:w,defaultShouldRevalidate:!k&&i})),m&&E.push({key:a,routeId:e.routeId,path:e.path,matches:o,match:d,controller:new AbortController})}),[S,E]}function bd(e,t,n){if(e.lazy)return!0;if(!e.loader)return!1;let r=null!=t&&void 0!==t[e.id],a=null!=n&&void 0!==n[e.id];return!(!r&&a)&&("function"==typeof e.loader&&!0===e.loader.hydrate||!r&&!a)}function wd(e,t){let n=e.route.path;return e.pathname!==t.pathname||null!=n&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function kd(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if("boolean"==typeof n)return n}return t.defaultShouldRevalidate}function Sd(e,t,n,r,a){var l;let o;if(e){let t=r[e];gc(t,"No route found to patch children into: routeId = "+e),t.children||(t.children=[]),o=t.children}else o=n;let i=Pc(t.filter(e=>!o.some(t=>Ed(e,t))),a,[e||"_","patch",String((null==(l=o)?void 0:l.length)||"0")],r);o.push(...i)}function Ed(e,t){return"id"in e&&"id"in t&&e.id===t.id||e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive&&(!(e.children&&0!==e.children.length||t.children&&0!==t.children.length)||e.children.every((e,n)=>{var r;return null==(r=t.children)?void 0:r.some(t=>Ed(e,t))}))}async function xd(e){let{matches:t}=e,n=t.filter(e=>e.shouldLoad);return(await Promise.all(n.map(e=>e.resolve()))).reduce((e,t,r)=>Object.assign(e,{[n[r].route.id]:t}),{})}async function Cd(e){let{result:t,type:n}=e;if(Wd(t)){let e;try{let n=t.headers.get("Content-Type");e=n&&/\bapplication\/json\b/.test(n)?null==t.body?null:await t.json():await t.text()}catch(d){return{type:Ec.error,error:d}}return n===Ec.error?{type:Ec.error,error:new ed(t.status,t.statusText,e),statusCode:t.status,headers:t.headers}:{type:Ec.data,data:e,statusCode:t.status,headers:t.headers}}var r,a,l,o,i,u,s,c;return n===Ec.error?Vd(t)?t.data instanceof Error?{type:Ec.error,error:t.data,statusCode:null==(l=t.init)?void 0:l.status,headers:null!=(o=t.init)&&o.headers?new Headers(t.init.headers):void 0}:{type:Ec.error,error:new ed((null==(r=t.init)?void 0:r.status)||500,void 0,t.data),statusCode:td(t)?t.status:void 0,headers:null!=(a=t.init)&&a.headers?new Headers(t.init.headers):void 0}:{type:Ec.error,error:t,statusCode:td(t)?t.status:void 0}:function(e){let t=e;return t&&"object"==typeof t&&"object"==typeof t.data&&"function"==typeof t.subscribe&&"function"==typeof t.cancel&&"function"==typeof t.resolveData}(t)?{type:Ec.deferred,deferredData:t,statusCode:null==(i=t.init)?void 0:i.status,headers:(null==(u=t.init)?void 0:u.headers)&&new Headers(t.init.headers)}:Vd(t)?{type:Ec.data,data:t.data,statusCode:null==(s=t.init)?void 0:s.status,headers:null!=(c=t.init)&&c.headers?new Headers(t.init.headers):void 0}:{type:Ec.data,data:t}}function Pd(e,t,n,r,a,l){let o=e.headers.get("Location");if(gc(o,"Redirects returned/thrown from loaders/actions must have a Location header"),!dd.test(o)){let i=r.slice(0,r.findIndex(e=>e.route.id===n)+1);o=md(new URL(t.url),i,a,!0,o,l),e.headers.set("Location",o)}return e}function _d(e,t,n,r){let a=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];if(dd.test(e)){let r=e,l=r.startsWith("//")?new URL(t.protocol+r):new URL(r);if(a.includes(l.protocol))throw new Error("Invalid redirect location");let o=null!=Hc(l.pathname,n);if(l.origin===t.origin&&o)return l.pathname+l.search+l.hash}try{let t=r.createURL(e);if(a.includes(t.protocol))throw new Error("Invalid redirect location")}catch(l){}return e}function Ld(e,t,n,r){let a=e.createURL(Id(t)).toString(),l={signal:n};if(r&&$d(r.formMethod)){let{formMethod:e,formEncType:t}=r;l.method=e.toUpperCase(),"application/json"===t?(l.headers=new Headers({"Content-Type":t}),l.body=JSON.stringify(r.json)):"text/plain"===t?l.body=r.text:"application/x-www-form-urlencoded"===t&&r.formData?l.body=Rd(r.formData):l.body=r.formData}return new Request(a,l)}function Rd(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,"string"==typeof r?r:r.name);return t}function Td(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function zd(e,t,n,r,a,l,o){let{loaderData:i,errors:u}=function(e,t,n,r){let a,l={},o=null,i=!1,u={},s=n&&Bd(n[1])?n[1].error:void 0;return e.forEach(n=>{if(!(n.route.id in t))return;let c=n.route.id,d=t[c];if(gc(!Hd(d),"Cannot handle redirect results in processLoaderData"),Bd(d)){let t=d.error;void 0!==s&&(t=s,s=void 0),o=o||{};{let n=Md(e,c);null==o[n.route.id]&&(o[n.route.id]=t)}l[c]=void 0,i||(i=!0,a=td(d.error)?d.error.status:500),d.headers&&(u[c]=d.headers)}else jd(d)?(r.set(c,d.deferredData),l[c]=d.deferredData.data,null==d.statusCode||200===d.statusCode||i||(a=d.statusCode),d.headers&&(u[c]=d.headers)):(l[c]=d.data,d.statusCode&&200!==d.statusCode&&!i&&(a=d.statusCode),d.headers&&(u[c]=d.headers))}),void 0!==s&&n&&(o={[n[0]]:s},l[n[0]]=void 0),{loaderData:l,errors:o,statusCode:a||200,loaderHeaders:u}}(t,n,r,o);return a.forEach(t=>{let{key:n,match:r,controller:a}=t,o=l[n];if(gc(o,"Did not find corresponding fetcher result"),!a||!a.signal.aborted)if(Bd(o)){let t=Md(e.matches,null==r?void 0:r.route.id);u&&u[t.route.id]||(u=fc({},u,{[t.route.id]:o.error})),e.fetchers.delete(n)}else if(Hd(o))gc(!1,"Unhandled fetcher revalidation redirect");else if(jd(o))gc(!1,"Unhandled fetcher deferred data");else{let t=ef(o.data);e.fetchers.set(n,t)}}),{loaderData:i,errors:u}}function Nd(e,t,n,r){let a=fc({},t);for(let l of n){let n=l.route.id;if(t.hasOwnProperty(n)?void 0!==t[n]&&(a[n]=t[n]):void 0!==e[n]&&l.route.loader&&(a[n]=e[n]),r&&r.hasOwnProperty(n))break}return a}function Dd(e){return e?Bd(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function Md(e,t){return(t?e.slice(0,e.findIndex(e=>e.route.id===t)+1):[...e]).reverse().find(e=>!0===e.route.hasErrorBoundary)||e[0]}function Od(e){let t=1===e.length?e[0]:e.find(e=>e.index||!e.path||"/"===e.path)||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Fd(e,t){let{pathname:n,routeId:r,method:a,type:l,message:o}=void 0===t?{}:t,i="Unknown Server Error",u="Unknown @remix-run/router error";return 400===e?(i="Bad Request",a&&n&&r?u="You made a "+a+' request to "'+n+'" but did not provide a `loader` for route "'+r+'", so there is no way to handle the request.':"defer-action"===l?u="defer() is not supported in actions":"invalid-body"===l&&(u="Unable to encode submission body")):403===e?(i="Forbidden",u='Route "'+r+'" does not match URL "'+n+'"'):404===e?(i="Not Found",u='No route matches URL "'+n+'"'):405===e&&(i="Method Not Allowed",a&&n&&r?u="You made a "+a.toUpperCase()+' request to "'+n+'" but did not provide an `action` for route "'+r+'", so there is no way to handle the request.':a&&(u='Invalid request method "'+a.toUpperCase()+'"')),new ed(e||500,i,new Error(u),!0)}function Ud(e){let t=Object.entries(e);for(let n=t.length-1;n>=0;n--){let[e,r]=t[n];if(Hd(r))return{key:e,result:r}}}function Id(e){return kc(fc({},"string"==typeof e?Sc(e):e,{hash:""}))}function Ad(e){return Wd(e.result)&&od.has(e.result.status)}function jd(e){return e.type===Ec.deferred}function Bd(e){return e.type===Ec.error}function Hd(e){return(e&&e.type)===Ec.redirect}function Vd(e){return"object"==typeof e&&null!=e&&"type"in e&&"data"in e&&"init"in e&&"DataWithResponseInit"===e.type}function Wd(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"==typeof e.headers&&void 0!==e.body}function $d(e){return rd.has(e.toLowerCase())}async function Qd(e,t,n,r,a){let l=Object.entries(t);for(let o=0;o<l.length;o++){let[i,u]=l[o],s=e.find(e=>(null==e?void 0:e.route.id)===i);if(!s)continue;let c=r.find(e=>e.route.id===s.route.id),d=null!=c&&!wd(c,s)&&void 0!==(a&&a[s.route.id]);jd(u)&&d&&await Kd(u,n,!1).then(e=>{e&&(t[i]=e)})}}async function qd(e,t,n){for(let r=0;r<n.length;r++){let{key:a,routeId:l,controller:o}=n[r],i=t[a];e.find(e=>(null==e?void 0:e.route.id)===l)&&(jd(i)&&(gc(o,"Expected an AbortController for revalidating fetcher deferred result"),await Kd(i,o.signal,!0).then(e=>{e&&(t[a]=e)})))}}async function Kd(e,t,n){if(void 0===n&&(n=!1),!(await e.deferredData.resolveData(t))){if(n)try{return{type:Ec.data,data:e.deferredData.unwrappedData}}catch(r){return{type:Ec.error,error:r}}return{type:Ec.data,data:e.deferredData.data}}}function Yd(e){return new URLSearchParams(e).getAll("index").some(e=>""===e)}function Xd(e,t){let n="string"==typeof t?Sc(t).search:t.search;if(e[e.length-1].route.index&&Yd(n||""))return e[e.length-1];let r=qc(e);return r[r.length-1]}function Jd(e){let{formMethod:t,formAction:n,formEncType:r,text:a,formData:l,json:o}=e;if(t&&n&&r)return null!=a?{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:a}:null!=l?{formMethod:t,formAction:n,formEncType:r,formData:l,json:void 0,text:void 0}:void 0!==o?{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:o,text:void 0}:void 0}function Gd(e,t){if(t){return{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}return{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Zd(e,t){if(e){return{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}}return{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function ef(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function tf(){return tf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tf.apply(this,arguments)}const nf=e.createContext(null),rf=e.createContext(null),af=e.createContext(null),lf=e.createContext(null),of=e.createContext({outlet:null,matches:[],isDataRoute:!1}),uf=e.createContext(null);function sf(){return null!=e.useContext(lf)}function cf(){return sf()||gc(!1),e.useContext(lf).location}function df(t){e.useContext(af).static||e.useLayoutEffect(t)}function ff(){let{isDataRoute:t}=e.useContext(of);return t?function(){let{router:t}=function(){let t=e.useContext(nf);return t||gc(!1),t}(bf.UseNavigateStable),n=kf(wf.UseNavigateStable),r=e.useRef(!1);return df(()=>{r.current=!0}),e.useCallback(function(e,a){void 0===a&&(a={}),r.current&&("number"==typeof e?t.navigate(e):t.navigate(e,tf({fromRouteId:n},a)))},[t,n])}():function(){sf()||gc(!1);let t=e.useContext(nf),{basename:n,future:r,navigator:a}=e.useContext(af),{matches:l}=e.useContext(of),{pathname:o}=cf(),i=JSON.stringify(Kc(l,r.v7_relativeSplatPath)),u=e.useRef(!1);return df(()=>{u.current=!0}),e.useCallback(function(e,r){if(void 0===r&&(r={}),!u.current)return;if("number"==typeof e)return void a.go(e);let l=Yc(e,JSON.parse(i),o,"path"===r.relative);null==t&&"/"!==n&&(l.pathname="/"===l.pathname?n:Xc([n,l.pathname])),(r.replace?a.replace:a.push)(l,r.state,r)},[n,a,i,o,t])}()}const pf=e.createContext(null);function hf(t,n,r,a){sf()||gc(!1);let{navigator:l}=e.useContext(af),{matches:o}=e.useContext(of),i=o[o.length-1],u=i?i.params:{};!i||i.pathname;let s,c=i?i.pathnameBase:"/";i&&i.route,s=cf();let d=s.pathname||"/",f=d;if("/"!==c){let e=c.replace(/^\//,"").split("/");f="/"+d.replace(/^\//,"").split("/").slice(e.length).join("/")}let p=_c(t,{pathname:f}),h=function(t,n,r,a){var l;void 0===n&&(n=[]);void 0===r&&(r=null);void 0===a&&(a=null);if(null==t){var o;if(!r)return null;if(r.errors)t=r.matches;else{if(!(null!=(o=a)&&o.v7_partialHydration&&0===n.length&&!r.initialized&&r.matches.length>0))return null;t=r.matches}}let i=t,u=null==(l=r)?void 0:l.errors;if(null!=u){let e=i.findIndex(e=>e.route.id&&void 0!==(null==u?void 0:u[e.route.id]));e>=0||gc(!1),i=i.slice(0,Math.min(i.length,e+1))}let s=!1,c=-1;if(r&&a&&a.v7_partialHydration)for(let e=0;e<i.length;e++){let t=i[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(c=e),t.route.id){let{loaderData:e,errors:n}=r,a=t.route.loader&&void 0===e[t.route.id]&&(!n||void 0===n[t.route.id]);if(t.route.lazy||a){s=!0,i=c>=0?i.slice(0,c+1):[i[0]];break}}}return i.reduceRight((t,a,l)=>{let o,d=!1,f=null,p=null;var h;r&&(o=u&&a.route.id?u[a.route.id]:void 0,f=a.route.errorElement||vf,s&&(c<0&&0===l?(Sf[h="route-fallback"]||(Sf[h]=!0),d=!0,p=null):c===l&&(d=!0,p=a.route.hydrateFallbackElement||null)));let m=n.concat(i.slice(0,l+1)),v=()=>{let n;return n=o?f:d?p:a.route.Component?e.createElement(a.route.Component,null):a.route.element?a.route.element:t,e.createElement(yf,{match:a,routeContext:{outlet:t,matches:m,isDataRoute:null!=r},children:n})};return r&&(a.route.ErrorBoundary||a.route.errorElement||0===l)?e.createElement(gf,{location:r.location,revalidation:r.revalidation,component:f,error:o,children:v(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):v()},null)}(p&&p.map(e=>Object.assign({},e,{params:Object.assign({},u,e.params),pathname:Xc([c,l.encodeLocation?l.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?c:Xc([c,l.encodeLocation?l.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),o,r,a);return h}function mf(){let t=function(){var t;let n=e.useContext(uf),r=function(){let t=e.useContext(rf);return t||gc(!1),t}(),a=kf();if(void 0!==n)return n;return null==(t=r.errors)?void 0:t[a]}(),n=td(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),r=t instanceof Error?t.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return e.createElement(e.Fragment,null,e.createElement("h2",null,"Unexpected Application Error!"),e.createElement("h3",{style:{fontStyle:"italic"}},n),r?e.createElement("pre",{style:a},r):null,null)}const vf=e.createElement(mf,null);class gf extends e.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){}render(){return void 0!==this.state.error?e.createElement(of.Provider,{value:this.props.routeContext},e.createElement(uf.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function yf(t){let{routeContext:n,match:r,children:a}=t,l=e.useContext(nf);return l&&l.static&&l.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=r.route.id),e.createElement(of.Provider,{value:n},a)}var bf=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(bf||{}),wf=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(wf||{});function kf(t){let n=function(){let t=e.useContext(of);return t||gc(!1),t}(),r=n.matches[n.matches.length-1];return r.route.id||gc(!1),r.route.id}const Sf={};function Ef(t){let{to:n,replace:r,state:a,relative:l}=t;sf()||gc(!1);let{future:o,static:i}=e.useContext(af),{matches:u}=e.useContext(of),{pathname:s}=cf(),c=ff(),d=Yc(n,Kc(u,o.v7_relativeSplatPath),s,"path"===l),f=JSON.stringify(d);return e.useEffect(()=>c(JSON.parse(f),{replace:r,state:a,relative:l}),[c,f,l,r,a]),null}function xf(t){return function(t){let n=e.useContext(of).outlet;return n?e.createElement(pf.Provider,{value:t},n):n}(t.context)}function Cf(t){let{basename:n="/",children:r=null,location:a,navigationType:l=pc.Pop,navigator:o,static:i=!1,future:u}=t;sf()&&gc(!1);let s=n.replace(/^\/*/,"/"),c=e.useMemo(()=>({basename:s,navigator:o,static:i,future:tf({v7_relativeSplatPath:!1},u)}),[s,u,o,i]);"string"==typeof a&&(a=Sc(a));let{pathname:d="/",search:f="",hash:p="",state:h=null,key:m="default"}=a,v=e.useMemo(()=>{let e=Hc(d,s);return null==e?null:{location:{pathname:e,search:f,hash:p,state:h,key:m},navigationType:l}},[s,d,f,p,h,m,l]);return null==v?null:e.createElement(af.Provider,{value:c},e.createElement(lf.Provider,{children:r,value:v}))}function Pf(t){let n={hasErrorBoundary:null!=t.ErrorBoundary||null!=t.errorElement};return t.Component&&Object.assign(n,{element:e.createElement(t.Component),Component:void 0}),t.HydrateFallback&&Object.assign(n,{hydrateFallbackElement:e.createElement(t.HydrateFallback),HydrateFallback:void 0}),t.ErrorBoundary&&Object.assign(n,{errorElement:e.createElement(t.ErrorBoundary),ErrorBoundary:void 0}),n}
/**
 * React Router DOM v6.30.3
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function _f(){return _f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_f.apply(this,arguments)}new Promise(()=>{});try{window.__reactRouterVersion="6"}catch(Wf){}function Lf(e,t){return hd({basename:null==t?void 0:t.basename,future:_f({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:vc({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||Rf(),routes:e,mapRouteProperties:Pf,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation,window:null==t?void 0:t.window}).initialize()}function Rf(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=_f({},t,{errors:Tf(t.errors)})),t}function Tf(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,a]of t)if(a&&"RouteErrorResponse"===a.__type)n[r]=new ed(a.status,a.statusText,a.data,!0===a.internal);else if(a&&"Error"===a.__type){if(a.__subType){let e=window[a.__subType];if("function"==typeof e)try{let t=new e(a.message);t.stack="",n[r]=t}catch(Wf){}}if(null==n[r]){let e=new Error(a.message);e.stack="",n[r]=e}}else n[r]=a;return n}const zf=e.createContext({isTransitioning:!1}),Nf=e.createContext(new Map),Df=n.startTransition,Mf=dc.flushSync;function Of(e){Mf?Mf(e):e()}class Ff{constructor(){this.status="pending",this.promise=new Promise((e,t)=>{this.resolve=t=>{"pending"===this.status&&(this.status="resolved",e(t))},this.reject=e=>{"pending"===this.status&&(this.status="rejected",t(e))}})}}function Uf(t){let{fallbackElement:n,router:r,future:a}=t,[l,o]=e.useState(r.state),[i,u]=e.useState(),[s,c]=e.useState({isTransitioning:!1}),[d,f]=e.useState(),[p,h]=e.useState(),[m,v]=e.useState(),g=e.useRef(new Map),{v7_startTransition:y}=a||{},b=e.useCallback(e=>{y?function(e){Df?Df(e):e()}(e):e()},[y]),w=e.useCallback((e,t)=>{let{deletedFetchers:n,flushSync:a,viewTransitionOpts:l}=t;e.fetchers.forEach((e,t)=>{void 0!==e.data&&g.current.set(t,e.data)}),n.forEach(e=>g.current.delete(e));let i=null==r.window||null==r.window.document||"function"!=typeof r.window.document.startViewTransition;if(l&&!i){if(a){Of(()=>{p&&(d&&d.resolve(),p.skipTransition()),c({isTransitioning:!0,flushSync:!0,currentLocation:l.currentLocation,nextLocation:l.nextLocation})});let t=r.window.document.startViewTransition(()=>{Of(()=>o(e))});return t.finished.finally(()=>{Of(()=>{f(void 0),h(void 0),u(void 0),c({isTransitioning:!1})})}),void Of(()=>h(t))}p?(d&&d.resolve(),p.skipTransition(),v({state:e,currentLocation:l.currentLocation,nextLocation:l.nextLocation})):(u(e),c({isTransitioning:!0,flushSync:!1,currentLocation:l.currentLocation,nextLocation:l.nextLocation}))}else a?Of(()=>o(e)):b(()=>o(e))},[r.window,p,d,g,b]);e.useLayoutEffect(()=>r.subscribe(w),[r,w]),e.useEffect(()=>{s.isTransitioning&&!s.flushSync&&f(new Ff)},[s]),e.useEffect(()=>{if(d&&i&&r.window){let e=i,t=d.promise,n=r.window.document.startViewTransition(async()=>{b(()=>o(e)),await t});n.finished.finally(()=>{f(void 0),h(void 0),u(void 0),c({isTransitioning:!1})}),h(n)}},[b,i,d,r.window]),e.useEffect(()=>{d&&i&&l.location.key===i.location.key&&d.resolve()},[d,p,l.location,i]),e.useEffect(()=>{!s.isTransitioning&&m&&(u(m.state),c({isTransitioning:!0,flushSync:!1,currentLocation:m.currentLocation,nextLocation:m.nextLocation}),v(void 0))},[s.isTransitioning,m]),e.useEffect(()=>{},[]);let k=e.useMemo(()=>({createHref:r.createHref,encodeLocation:r.encodeLocation,go:e=>r.navigate(e),push:(e,t,n)=>r.navigate(e,{state:t,preventScrollReset:null==n?void 0:n.preventScrollReset}),replace:(e,t,n)=>r.navigate(e,{replace:!0,state:t,preventScrollReset:null==n?void 0:n.preventScrollReset})}),[r]),S=r.basename||"/",E=e.useMemo(()=>({router:r,navigator:k,static:!1,basename:S}),[r,k,S]),x=e.useMemo(()=>({v7_relativeSplatPath:r.future.v7_relativeSplatPath}),[r.future.v7_relativeSplatPath]);return e.useEffect(()=>function(e,t){null==e||e.v7_startTransition,void 0===(null==e?void 0:e.v7_relativeSplatPath)&&(!t||t.v7_relativeSplatPath),t&&(t.v7_fetcherPersist,t.v7_normalizeFormMethod,t.v7_partialHydration,t.v7_skipActionErrorRevalidation)}(a,r.future),[a,r.future]),e.createElement(e.Fragment,null,e.createElement(nf.Provider,{value:E},e.createElement(rf.Provider,{value:l},e.createElement(Nf.Provider,{value:g.current},e.createElement(zf.Provider,{value:s},e.createElement(Cf,{basename:S,location:l.location,navigationType:l.historyAction,navigator:k,future:x},l.initialized||r.future.v7_partialHydration?e.createElement(If,{routes:r.routes,future:r.future,state:l}):n))))),null)}const If=e.memo(Af);function Af(e){let{routes:t,future:n,state:r}=e;return hf(t,0,r,n)}var jf,Bf,Hf,Vf;(Bf=jf||(jf={})).UseScrollRestoration="useScrollRestoration",Bf.UseSubmit="useSubmit",Bf.UseSubmitFetcher="useSubmitFetcher",Bf.UseFetcher="useFetcher",Bf.useViewTransitionState="useViewTransitionState",(Vf=Hf||(Hf={})).UseFetcher="useFetcher",Vf.UseFetchers="useFetchers",Vf.UseScrollRestoration="useScrollRestoration";export{Ef as N,xf as O,dc as R,cc as a,cf as b,Lf as c,Uf as d,sc as r,ff as u};
