diff --git a/assets/index-C3ndmOpK.js b/assets/index-Cctp1nxa.js similarity index 74% rename from assets/index-C3ndmOpK.js rename to assets/index-Cctp1nxa.js index 59a3331..ea681ea 100644 --- a/assets/index-C3ndmOpK.js +++ b/assets/index-Cctp1nxa.js @@ -6,7 +6,7 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Xr=Symbol.for("react.element"),Vd=Symbol.for("react.portal"),bd=Symbol.for("react.fragment"),Wd=Symbol.for("react.strict_mode"),Ud=Symbol.for("react.profiler"),Gd=Symbol.for("react.provider"),Xd=Symbol.for("react.context"),Qd=Symbol.for("react.forward_ref"),Yd=Symbol.for("react.suspense"),Kd=Symbol.for("react.memo"),Zd=Symbol.for("react.lazy"),hs=Symbol.iterator;function qd(e){return e===null||typeof e!="object"?null:(e=hs&&e[hs]||e["@@iterator"],typeof e=="function"?e:null)}var Ku={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Zu=Object.assign,qu={};function Zn(e,t,n){this.props=e,this.context=t,this.refs=qu,this.updater=n||Ku}Zn.prototype.isReactComponent={};Zn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Zn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Ju(){}Ju.prototype=Zn.prototype;function fl(e,t,n){this.props=e,this.context=t,this.refs=qu,this.updater=n||Ku}var dl=fl.prototype=new Ju;dl.constructor=fl;Zu(dl,Zn.prototype);dl.isPureReactComponent=!0;var ps=Array.isArray,ec=Object.prototype.hasOwnProperty,hl={current:null},tc={key:!0,ref:!0,__self:!0,__source:!0};function nc(e,t,n){var r,o={},i=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)ec.call(t,r)&&!tc.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(u===1)o.children=n;else if(1>>1,D=x[z];if(0>>1;zo(Ke,O))beo(ht,Ke)?(x[z]=ht,x[be]=O,z=be):(x[z]=Ke,x[ae]=O,z=ae);else if(beo(ht,O))x[z]=ht,x[be]=O,z=be;else break e}}return I}function o(x,I){var O=x.sortIndex-I.sortIndex;return O!==0?O:x.id-I.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var c=[],f=[],y=1,a=null,s=3,d=!1,p=!1,v=!1,_=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g(x){for(var I=n(f);I!==null;){if(I.callback===null)r(f);else if(I.startTime<=x)r(f),I.sortIndex=I.expirationTime,t(c,I);else break;I=n(f)}}function w(x){if(v=!1,g(x),!p)if(n(c)!==null)p=!0,X(S);else{var I=n(f);I!==null&&fe(w,I.startTime-x)}}function S(x,I){p=!1,v&&(v=!1,h(M),M=-1),d=!0;var O=s;try{for(g(I),a=n(c);a!==null&&(!(a.expirationTime>I)||x&&!N());){var z=a.callback;if(typeof z=="function"){a.callback=null,s=a.priorityLevel;var D=z(a.expirationTime<=I);I=e.unstable_now(),typeof D=="function"?a.callback=D:a===n(c)&&r(c),g(I)}else r(c);a=n(c)}if(a!==null)var oe=!0;else{var ae=n(f);ae!==null&&fe(w,ae.startTime-I),oe=!1}return oe}finally{a=null,s=O,d=!1}}var k=!1,C=null,M=-1,T=5,A=-1;function N(){return!(e.unstable_now()-Ax||125z?(x.sortIndex=O,t(f,x),n(c)===null&&x===n(f)&&(v?(h(M),M=-1):v=!0,fe(w,O-z))):(x.sortIndex=D,t(c,x),p||d||(p=!0,X(S))),x},e.unstable_shouldYield=N,e.unstable_wrapCallback=function(x){var I=s;return function(){var O=s;s=I;try{return x.apply(this,arguments)}finally{s=O}}}})(lc);ac.exports=lc;var uh=ac.exports;/** + */(function(e){function t(E,I){var O=E.length;E.push(I);e:for(;0>>1,D=E[z];if(0>>1;zo(Ke,O))beo(pt,Ke)?(E[z]=pt,E[be]=O,z=be):(E[z]=Ke,E[ae]=O,z=ae);else if(beo(pt,O))E[z]=pt,E[be]=O,z=be;else break e}}return I}function o(E,I){var O=E.sortIndex-I.sortIndex;return O!==0?O:E.id-I.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var c=[],f=[],y=1,a=null,s=3,d=!1,p=!1,v=!1,_=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g(E){for(var I=n(f);I!==null;){if(I.callback===null)r(f);else if(I.startTime<=E)r(f),I.sortIndex=I.expirationTime,t(c,I);else break;I=n(f)}}function w(E){if(v=!1,g(E),!p)if(n(c)!==null)p=!0,X(S);else{var I=n(f);I!==null&&fe(w,I.startTime-E)}}function S(E,I){p=!1,v&&(v=!1,h(M),M=-1),d=!0;var O=s;try{for(g(I),a=n(c);a!==null&&(!(a.expirationTime>I)||E&&!N());){var z=a.callback;if(typeof z=="function"){a.callback=null,s=a.priorityLevel;var D=z(a.expirationTime<=I);I=e.unstable_now(),typeof D=="function"?a.callback=D:a===n(c)&&r(c),g(I)}else r(c);a=n(c)}if(a!==null)var oe=!0;else{var ae=n(f);ae!==null&&fe(w,ae.startTime-I),oe=!1}return oe}finally{a=null,s=O,d=!1}}var k=!1,C=null,M=-1,T=5,A=-1;function N(){return!(e.unstable_now()-AE||125z?(E.sortIndex=O,t(f,E),n(c)===null&&E===n(f)&&(v?(h(M),M=-1):v=!0,fe(w,O-z))):(E.sortIndex=D,t(c,E),p||d||(p=!0,X(S))),E},e.unstable_shouldYield=N,e.unstable_wrapCallback=function(E){var I=s;return function(){var O=s;s=I;try{return E.apply(this,arguments)}finally{s=O}}}})(lc);ac.exports=lc;var ch=ac.exports;/** * @license React * react-dom.production.min.js * @@ -30,14 +30,14 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var ch=L,Be=uh;function P(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),pa=Object.prototype.hasOwnProperty,fh=/^[: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]*$/,ms={},ys={};function dh(e){return pa.call(ys,e)?!0:pa.call(ms,e)?!1:fh.test(e)?ys[e]=!0:(ms[e]=!0,!1)}function hh(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function ph(e,t,n,r){if(t===null||typeof t>"u"||hh(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ee(e,t,n,r,o,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var pe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){pe[e]=new Ee(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];pe[t]=new Ee(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){pe[e]=new Ee(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){pe[e]=new Ee(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){pe[e]=new Ee(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){pe[e]=new Ee(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){pe[e]=new Ee(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){pe[e]=new Ee(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){pe[e]=new Ee(e,5,!1,e.toLowerCase(),null,!1,!1)});var vl=/[\-:]([a-z])/g;function ml(e){return e[1].toUpperCase()}"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(vl,ml);pe[t]=new Ee(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(vl,ml);pe[t]=new Ee(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(vl,ml);pe[t]=new Ee(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){pe[e]=new Ee(e,1,!1,e.toLowerCase(),null,!1,!1)});pe.xlinkHref=new Ee("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){pe[e]=new Ee(e,1,!1,e.toLowerCase(),null,!0,!0)});function yl(e,t,n,r){var o=pe.hasOwnProperty(t)?pe[t]:null;(o!==null?o.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),pa=Object.prototype.hasOwnProperty,dh=/^[: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]*$/,ms={},ys={};function hh(e){return pa.call(ys,e)?!0:pa.call(ms,e)?!1:dh.test(e)?ys[e]=!0:(ms[e]=!0,!1)}function ph(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function vh(e,t,n,r){if(t===null||typeof t>"u"||ph(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ee(e,t,n,r,o,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var pe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){pe[e]=new Ee(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];pe[t]=new Ee(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){pe[e]=new Ee(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){pe[e]=new Ee(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){pe[e]=new Ee(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){pe[e]=new Ee(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){pe[e]=new Ee(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){pe[e]=new Ee(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){pe[e]=new Ee(e,5,!1,e.toLowerCase(),null,!1,!1)});var vl=/[\-:]([a-z])/g;function ml(e){return e[1].toUpperCase()}"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(vl,ml);pe[t]=new Ee(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(vl,ml);pe[t]=new Ee(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(vl,ml);pe[t]=new Ee(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){pe[e]=new Ee(e,1,!1,e.toLowerCase(),null,!1,!1)});pe.xlinkHref=new Ee("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){pe[e]=new Ee(e,1,!1,e.toLowerCase(),null,!0,!0)});function yl(e,t,n,r){var o=pe.hasOwnProperty(t)?pe[t]:null;(o!==null?o.type!==0:r||!(2u||o[l]!==i[u]){var c=` -`+o[l].replace(" at new "," at ");return e.displayName&&c.includes("")&&(c=c.replace("",e.displayName)),c}while(1<=l&&0<=u);break}}}finally{zi=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?fr(e):""}function vh(e){switch(e.tag){case 5:return fr(e.type);case 16:return fr("Lazy");case 13:return fr("Suspense");case 19:return fr("SuspenseList");case 0:case 2:case 15:return e=ji(e.type,!1),e;case 11:return e=ji(e.type.render,!1),e;case 1:return e=ji(e.type,!0),e;default:return""}}function ga(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case wn:return"Fragment";case _n:return"Portal";case va:return"Profiler";case gl:return"StrictMode";case ma:return"Suspense";case ya:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case cc:return(e.displayName||"Context")+".Consumer";case uc:return(e._context.displayName||"Context")+".Provider";case _l:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case wl:return t=e.displayName||null,t!==null?t:ga(e.type)||"Memo";case Tt:t=e._payload,e=e._init;try{return ga(e(t))}catch{}}return null}function mh(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=t.render,e=e.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 ga(t);case 8:return t===gl?"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(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function bt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function dc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function yh(e){var t=dc(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function no(e){e._valueTracker||(e._valueTracker=yh(e))}function hc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=dc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Do(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function _a(e,t){var n=t.checked;return te({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function _s(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=bt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function pc(e,t){t=t.checked,t!=null&&yl(e,"checked",t,!1)}function wa(e,t){pc(e,t);var n=bt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Sa(e,t.type,n):t.hasOwnProperty("defaultValue")&&Sa(e,t.type,bt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ws(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Sa(e,t,n){(t!=="number"||Do(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var dr=Array.isArray;function On(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=ro.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Lr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var vr={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},gh=["Webkit","ms","Moz","O"];Object.keys(vr).forEach(function(e){gh.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),vr[t]=vr[e]})});function gc(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||vr.hasOwnProperty(e)&&vr[e]?(""+t).trim():t+"px"}function _c(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=gc(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var _h=te({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 ka(e,t){if(t){if(_h[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(P(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(P(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(P(61))}if(t.style!=null&&typeof t.style!="object")throw Error(P(62))}}function Ca(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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 Pa=null;function Sl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ta=null,In=null,Dn=null;function Es(e){if(e=Kr(e)){if(typeof Ta!="function")throw Error(P(280));var t=e.stateNode;t&&(t=hi(t),Ta(e.stateNode,e.type,t))}}function wc(e){In?Dn?Dn.push(e):Dn=[e]:In=e}function Sc(){if(In){var e=In,t=Dn;if(Dn=In=null,Es(e),t)for(e=0;e>>=0,e===0?32:31-(Rh(e)/Ah|0)|0}var oo=64,io=4194304;function hr(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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function jo(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=n&268435455;if(l!==0){var u=l&~o;u!==0?r=hr(u):(i&=l,i!==0&&(r=hr(i)))}else l=n&~o,l!==0?r=hr(l):i!==0&&(r=hr(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Qr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-tt(t),e[t]=n}function Nh(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=yr),Os=" ",Is=!1;function Hc(e,t){switch(e){case"keyup":return up.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Sn=!1;function fp(e,t){switch(e){case"compositionend":return Vc(t);case"keypress":return t.which!==32?null:(Is=!0,Os);case"textInput":return e=t.data,e===Os&&Is?null:e;default:return null}}function dp(e,t){if(Sn)return e==="compositionend"||!Ll&&Hc(e,t)?(e=$c(),ko=Pl=Ot=null,Sn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=zs(n)}}function Gc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Gc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Xc(){for(var e=window,t=Do();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Do(e.document)}return t}function Rl(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Sp(e){var t=Xc(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Gc(n.ownerDocument.documentElement,n)){if(r!==null&&Rl(n)){if(t=r.start,e=r.end,e===void 0&&(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,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=js(n,i);var l=js(n,r);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,xn=null,Ia=null,_r=null,Da=!1;function $s(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Da||xn==null||xn!==Do(r)||(r=xn,"selectionStart"in r&&Rl(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),_r&&Nr(_r,r)||(_r=r,r=Ho(Ia,"onSelect"),0Cn||(e.current=Ba[Cn],Ba[Cn]=null,Cn--)}function Q(e,t){Cn++,Ba[Cn]=e.current,e.current=t}var Wt={},_e=Gt(Wt),Le=Gt(!1),an=Wt;function Bn(e,t){var n=e.type.contextTypes;if(!n)return Wt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Re(e){return e=e.childContextTypes,e!=null}function bo(){Z(Le),Z(_e)}function Gs(e,t,n){if(_e.current!==Wt)throw Error(P(168));Q(_e,t),Q(Le,n)}function nf(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(P(108,mh(e)||"Unknown",o));return te({},n,r)}function Wo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Wt,an=_e.current,Q(_e,e),Q(Le,Le.current),!0}function Xs(e,t,n){var r=e.stateNode;if(!r)throw Error(P(169));n?(e=nf(e,t,an),r.__reactInternalMemoizedMergedChildContext=e,Z(Le),Z(_e),Q(_e,e)):Z(Le),Q(Le,n)}var vt=null,pi=!1,qi=!1;function rf(e){vt===null?vt=[e]:vt.push(e)}function Ip(e){pi=!0,rf(e)}function Xt(){if(!qi&&vt!==null){qi=!0;var e=0,t=U;try{var n=vt;for(U=1;e>=l,o-=l,mt=1<<32-tt(t)+o|n<M?(T=C,C=null):T=C.sibling;var A=s(h,C,g[M],w);if(A===null){C===null&&(C=T);break}e&&C&&A.alternate===null&&t(h,C),m=i(A,m,M),k===null?S=A:k.sibling=A,k=A,C=T}if(M===g.length)return n(h,C),q&&Yt(h,M),S;if(C===null){for(;MM?(T=C,C=null):T=C.sibling;var N=s(h,C,A.value,w);if(N===null){C===null&&(C=T);break}e&&C&&N.alternate===null&&t(h,C),m=i(N,m,M),k===null?S=N:k.sibling=N,k=N,C=T}if(A.done)return n(h,C),q&&Yt(h,M),S;if(C===null){for(;!A.done;M++,A=g.next())A=a(h,A.value,w),A!==null&&(m=i(A,m,M),k===null?S=A:k.sibling=A,k=A);return q&&Yt(h,M),S}for(C=r(h,C);!A.done;M++,A=g.next())A=d(C,h,M,A.value,w),A!==null&&(e&&A.alternate!==null&&C.delete(A.key===null?M:A.key),m=i(A,m,M),k===null?S=A:k.sibling=A,k=A);return e&&C.forEach(function(b){return t(h,b)}),q&&Yt(h,M),S}function _(h,m,g,w){if(typeof g=="object"&&g!==null&&g.type===wn&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case to:e:{for(var S=g.key,k=m;k!==null;){if(k.key===S){if(S=g.type,S===wn){if(k.tag===7){n(h,k.sibling),m=o(k,g.props.children),m.return=h,h=m;break e}}else if(k.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Tt&&Ks(S)===k.type){n(h,k.sibling),m=o(k,g.props),m.ref=lr(h,k,g),m.return=h,h=m;break e}n(h,k);break}else t(h,k);k=k.sibling}g.type===wn?(m=rn(g.props.children,h.mode,w,g.key),m.return=h,h=m):(w=Oo(g.type,g.key,g.props,null,h.mode,w),w.ref=lr(h,m,g),w.return=h,h=w)}return l(h);case _n:e:{for(k=g.key;m!==null;){if(m.key===k)if(m.tag===4&&m.stateNode.containerInfo===g.containerInfo&&m.stateNode.implementation===g.implementation){n(h,m.sibling),m=o(m,g.children||[]),m.return=h,h=m;break e}else{n(h,m);break}else t(h,m);m=m.sibling}m=aa(g,h.mode,w),m.return=h,h=m}return l(h);case Tt:return k=g._init,_(h,m,k(g._payload),w)}if(dr(g))return p(h,m,g,w);if(nr(g))return v(h,m,g,w);ho(h,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,m!==null&&m.tag===6?(n(h,m.sibling),m=o(m,g),m.return=h,h=m):(n(h,m),m=ia(g,h.mode,w),m.return=h,h=m),l(h)):n(h,m)}return _}var Vn=sf(!0),uf=sf(!1),Xo=Gt(null),Qo=null,Mn=null,Dl=null;function Nl(){Dl=Mn=Qo=null}function Fl(e){var t=Xo.current;Z(Xo),e._currentValue=t}function ba(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Fn(e,t){Qo=e,Dl=Mn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Te=!0),e.firstContext=null)}function Qe(e){var t=e._currentValue;if(Dl!==e)if(e={context:e,memoizedValue:t,next:null},Mn===null){if(Qo===null)throw Error(P(308));Mn=e,Qo.dependencies={lanes:0,firstContext:e}}else Mn=Mn.next=e;return t}var Jt=null;function zl(e){Jt===null?Jt=[e]:Jt.push(e)}function cf(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,zl(t)):(n.next=o.next,o.next=n),t.interleaved=n,St(e,r)}function St(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Mt=!1;function jl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ff(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 gt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function jt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,H&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,St(e,n)}return o=r.interleaved,o===null?(t.next=t,zl(r)):(t.next=o.next,o.next=t),r.interleaved=t,St(e,n)}function Po(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,El(e,n)}}function Zs(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=l:i=i.next=l,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Yo(e,t,n,r){var o=e.updateQueue;Mt=!1;var i=o.firstBaseUpdate,l=o.lastBaseUpdate,u=o.shared.pending;if(u!==null){o.shared.pending=null;var c=u,f=c.next;c.next=null,l===null?i=f:l.next=f,l=c;var y=e.alternate;y!==null&&(y=y.updateQueue,u=y.lastBaseUpdate,u!==l&&(u===null?y.firstBaseUpdate=f:u.next=f,y.lastBaseUpdate=c))}if(i!==null){var a=o.baseState;l=0,y=f=c=null,u=i;do{var s=u.lane,d=u.eventTime;if((r&s)===s){y!==null&&(y=y.next={eventTime:d,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var p=e,v=u;switch(s=t,d=n,v.tag){case 1:if(p=v.payload,typeof p=="function"){a=p.call(d,a,s);break e}a=p;break e;case 3:p.flags=p.flags&-65537|128;case 0:if(p=v.payload,s=typeof p=="function"?p.call(d,a,s):p,s==null)break e;a=te({},a,s);break e;case 2:Mt=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,s=o.effects,s===null?o.effects=[u]:s.push(u))}else d={eventTime:d,lane:s,tag:u.tag,payload:u.payload,callback:u.callback,next:null},y===null?(f=y=d,c=a):y=y.next=d,l|=s;if(u=u.next,u===null){if(u=o.shared.pending,u===null)break;s=u,u=s.next,s.next=null,o.lastBaseUpdate=s,o.shared.pending=null}}while(!0);if(y===null&&(c=a),o.baseState=c,o.firstBaseUpdate=f,o.lastBaseUpdate=y,t=o.shared.interleaved,t!==null){o=t;do l|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);un|=l,e.lanes=l,e.memoizedState=a}}function qs(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=ea.transition;ea.transition={};try{e(!1),t()}finally{U=n,ea.transition=r}}function Mf(){return Ye().memoizedState}function zp(e,t,n){var r=Bt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Lf(e))Rf(t,n);else if(n=cf(e,t,n,r),n!==null){var o=Se();nt(n,e,r,o),Af(n,t,r)}}function jp(e,t,n){var r=Bt(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Lf(e))Rf(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,u=i(l,n);if(o.hasEagerState=!0,o.eagerState=u,rt(u,l)){var c=t.interleaved;c===null?(o.next=o,zl(t)):(o.next=c.next,c.next=o),t.interleaved=o;return}}catch{}finally{}n=cf(e,t,o,r),n!==null&&(o=Se(),nt(n,e,r,o),Af(n,t,r))}}function Lf(e){var t=e.alternate;return e===ee||t!==null&&t===ee}function Rf(e,t){wr=Zo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Af(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,El(e,n)}}var qo={readContext:Qe,useCallback:me,useContext:me,useEffect:me,useImperativeHandle:me,useInsertionEffect:me,useLayoutEffect:me,useMemo:me,useReducer:me,useRef:me,useState:me,useDebugValue:me,useDeferredValue:me,useTransition:me,useMutableSource:me,useSyncExternalStore:me,useId:me,unstable_isNewReconciler:!1},$p={readContext:Qe,useCallback:function(e,t){return lt().memoizedState=[e,t===void 0?null:t],e},useContext:Qe,useEffect:eu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Mo(4194308,4,Ef.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Mo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Mo(4,2,e,t)},useMemo:function(e,t){var n=lt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=lt();return t=n!==void 0?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=zp.bind(null,ee,e),[r.memoizedState,e]},useRef:function(e){var t=lt();return e={current:e},t.memoizedState=e},useState:Js,useDebugValue:Gl,useDeferredValue:function(e){return lt().memoizedState=e},useTransition:function(){var e=Js(!1),t=e[0];return e=Fp.bind(null,e[1]),lt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ee,o=lt();if(q){if(n===void 0)throw Error(P(407));n=n()}else{if(n=t(),ce===null)throw Error(P(349));sn&30||vf(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,eu(yf.bind(null,r,i,e),[e]),r.flags|=2048,br(9,mf.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=lt(),t=ce.identifierPrefix;if(q){var n=yt,r=mt;n=(r&~(1<<32-tt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Hr++,0")&&(c=c.replace("",e.displayName)),c}while(1<=l&&0<=u);break}}}finally{zi=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?fr(e):""}function mh(e){switch(e.tag){case 5:return fr(e.type);case 16:return fr("Lazy");case 13:return fr("Suspense");case 19:return fr("SuspenseList");case 0:case 2:case 15:return e=ji(e.type,!1),e;case 11:return e=ji(e.type.render,!1),e;case 1:return e=ji(e.type,!0),e;default:return""}}function ga(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case wn:return"Fragment";case _n:return"Portal";case va:return"Profiler";case gl:return"StrictMode";case ma:return"Suspense";case ya:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case cc:return(e.displayName||"Context")+".Consumer";case uc:return(e._context.displayName||"Context")+".Provider";case _l:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case wl:return t=e.displayName||null,t!==null?t:ga(e.type)||"Memo";case Tt:t=e._payload,e=e._init;try{return ga(e(t))}catch{}}return null}function yh(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=t.render,e=e.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 ga(t);case 8:return t===gl?"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(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function bt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function dc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function gh(e){var t=dc(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function no(e){e._valueTracker||(e._valueTracker=gh(e))}function hc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=dc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Do(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function _a(e,t){var n=t.checked;return te({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function _s(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=bt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function pc(e,t){t=t.checked,t!=null&&yl(e,"checked",t,!1)}function wa(e,t){pc(e,t);var n=bt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Sa(e,t.type,n):t.hasOwnProperty("defaultValue")&&Sa(e,t.type,bt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ws(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Sa(e,t,n){(t!=="number"||Do(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var dr=Array.isArray;function On(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=ro.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Lr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var vr={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},_h=["Webkit","ms","Moz","O"];Object.keys(vr).forEach(function(e){_h.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),vr[t]=vr[e]})});function gc(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||vr.hasOwnProperty(e)&&vr[e]?(""+t).trim():t+"px"}function _c(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=gc(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var wh=te({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 ka(e,t){if(t){if(wh[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(P(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(P(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(P(61))}if(t.style!=null&&typeof t.style!="object")throw Error(P(62))}}function Ca(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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 Pa=null;function Sl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ta=null,In=null,Dn=null;function Es(e){if(e=Kr(e)){if(typeof Ta!="function")throw Error(P(280));var t=e.stateNode;t&&(t=hi(t),Ta(e.stateNode,e.type,t))}}function wc(e){In?Dn?Dn.push(e):Dn=[e]:In=e}function Sc(){if(In){var e=In,t=Dn;if(Dn=In=null,Es(e),t)for(e=0;e>>=0,e===0?32:31-(Ah(e)/Oh|0)|0}var oo=64,io=4194304;function hr(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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function jo(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=n&268435455;if(l!==0){var u=l&~o;u!==0?r=hr(u):(i&=l,i!==0&&(r=hr(i)))}else l=n&~o,l!==0?r=hr(l):i!==0&&(r=hr(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Qr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-tt(t),e[t]=n}function Fh(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=yr),Os=" ",Is=!1;function Hc(e,t){switch(e){case"keyup":return cp.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Sn=!1;function dp(e,t){switch(e){case"compositionend":return Vc(t);case"keypress":return t.which!==32?null:(Is=!0,Os);case"textInput":return e=t.data,e===Os&&Is?null:e;default:return null}}function hp(e,t){if(Sn)return e==="compositionend"||!Ll&&Hc(e,t)?(e=$c(),ko=Pl=Ot=null,Sn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=zs(n)}}function Gc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Gc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Xc(){for(var e=window,t=Do();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Do(e.document)}return t}function Rl(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function xp(e){var t=Xc(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Gc(n.ownerDocument.documentElement,n)){if(r!==null&&Rl(n)){if(t=r.start,e=r.end,e===void 0&&(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,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=js(n,i);var l=js(n,r);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,xn=null,Ia=null,_r=null,Da=!1;function $s(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Da||xn==null||xn!==Do(r)||(r=xn,"selectionStart"in r&&Rl(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),_r&&Nr(_r,r)||(_r=r,r=Ho(Ia,"onSelect"),0Cn||(e.current=Ba[Cn],Ba[Cn]=null,Cn--)}function Q(e,t){Cn++,Ba[Cn]=e.current,e.current=t}var Wt={},_e=Gt(Wt),Le=Gt(!1),an=Wt;function Bn(e,t){var n=e.type.contextTypes;if(!n)return Wt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Re(e){return e=e.childContextTypes,e!=null}function bo(){Z(Le),Z(_e)}function Gs(e,t,n){if(_e.current!==Wt)throw Error(P(168));Q(_e,t),Q(Le,n)}function nf(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(P(108,yh(e)||"Unknown",o));return te({},n,r)}function Wo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Wt,an=_e.current,Q(_e,e),Q(Le,Le.current),!0}function Xs(e,t,n){var r=e.stateNode;if(!r)throw Error(P(169));n?(e=nf(e,t,an),r.__reactInternalMemoizedMergedChildContext=e,Z(Le),Z(_e),Q(_e,e)):Z(Le),Q(Le,n)}var yt=null,pi=!1,qi=!1;function rf(e){yt===null?yt=[e]:yt.push(e)}function Dp(e){pi=!0,rf(e)}function Xt(){if(!qi&&yt!==null){qi=!0;var e=0,t=U;try{var n=yt;for(U=1;e>=l,o-=l,gt=1<<32-tt(t)+o|n<M?(T=C,C=null):T=C.sibling;var A=s(h,C,g[M],w);if(A===null){C===null&&(C=T);break}e&&C&&A.alternate===null&&t(h,C),m=i(A,m,M),k===null?S=A:k.sibling=A,k=A,C=T}if(M===g.length)return n(h,C),q&&Yt(h,M),S;if(C===null){for(;MM?(T=C,C=null):T=C.sibling;var N=s(h,C,A.value,w);if(N===null){C===null&&(C=T);break}e&&C&&N.alternate===null&&t(h,C),m=i(N,m,M),k===null?S=N:k.sibling=N,k=N,C=T}if(A.done)return n(h,C),q&&Yt(h,M),S;if(C===null){for(;!A.done;M++,A=g.next())A=a(h,A.value,w),A!==null&&(m=i(A,m,M),k===null?S=A:k.sibling=A,k=A);return q&&Yt(h,M),S}for(C=r(h,C);!A.done;M++,A=g.next())A=d(C,h,M,A.value,w),A!==null&&(e&&A.alternate!==null&&C.delete(A.key===null?M:A.key),m=i(A,m,M),k===null?S=A:k.sibling=A,k=A);return e&&C.forEach(function(b){return t(h,b)}),q&&Yt(h,M),S}function _(h,m,g,w){if(typeof g=="object"&&g!==null&&g.type===wn&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case to:e:{for(var S=g.key,k=m;k!==null;){if(k.key===S){if(S=g.type,S===wn){if(k.tag===7){n(h,k.sibling),m=o(k,g.props.children),m.return=h,h=m;break e}}else if(k.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Tt&&Ks(S)===k.type){n(h,k.sibling),m=o(k,g.props),m.ref=lr(h,k,g),m.return=h,h=m;break e}n(h,k);break}else t(h,k);k=k.sibling}g.type===wn?(m=rn(g.props.children,h.mode,w,g.key),m.return=h,h=m):(w=Oo(g.type,g.key,g.props,null,h.mode,w),w.ref=lr(h,m,g),w.return=h,h=w)}return l(h);case _n:e:{for(k=g.key;m!==null;){if(m.key===k)if(m.tag===4&&m.stateNode.containerInfo===g.containerInfo&&m.stateNode.implementation===g.implementation){n(h,m.sibling),m=o(m,g.children||[]),m.return=h,h=m;break e}else{n(h,m);break}else t(h,m);m=m.sibling}m=aa(g,h.mode,w),m.return=h,h=m}return l(h);case Tt:return k=g._init,_(h,m,k(g._payload),w)}if(dr(g))return p(h,m,g,w);if(nr(g))return v(h,m,g,w);ho(h,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,m!==null&&m.tag===6?(n(h,m.sibling),m=o(m,g),m.return=h,h=m):(n(h,m),m=ia(g,h.mode,w),m.return=h,h=m),l(h)):n(h,m)}return _}var Vn=sf(!0),uf=sf(!1),Xo=Gt(null),Qo=null,Mn=null,Dl=null;function Nl(){Dl=Mn=Qo=null}function Fl(e){var t=Xo.current;Z(Xo),e._currentValue=t}function ba(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Fn(e,t){Qo=e,Dl=Mn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Te=!0),e.firstContext=null)}function Qe(e){var t=e._currentValue;if(Dl!==e)if(e={context:e,memoizedValue:t,next:null},Mn===null){if(Qo===null)throw Error(P(308));Mn=e,Qo.dependencies={lanes:0,firstContext:e}}else Mn=Mn.next=e;return t}var Jt=null;function zl(e){Jt===null?Jt=[e]:Jt.push(e)}function cf(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,zl(t)):(n.next=o.next,o.next=n),t.interleaved=n,Et(e,r)}function Et(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Mt=!1;function jl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ff(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 wt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function jt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,H&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Et(e,n)}return o=r.interleaved,o===null?(t.next=t,zl(r)):(t.next=o.next,o.next=t),r.interleaved=t,Et(e,n)}function Po(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,El(e,n)}}function Zs(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=l:i=i.next=l,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Yo(e,t,n,r){var o=e.updateQueue;Mt=!1;var i=o.firstBaseUpdate,l=o.lastBaseUpdate,u=o.shared.pending;if(u!==null){o.shared.pending=null;var c=u,f=c.next;c.next=null,l===null?i=f:l.next=f,l=c;var y=e.alternate;y!==null&&(y=y.updateQueue,u=y.lastBaseUpdate,u!==l&&(u===null?y.firstBaseUpdate=f:u.next=f,y.lastBaseUpdate=c))}if(i!==null){var a=o.baseState;l=0,y=f=c=null,u=i;do{var s=u.lane,d=u.eventTime;if((r&s)===s){y!==null&&(y=y.next={eventTime:d,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var p=e,v=u;switch(s=t,d=n,v.tag){case 1:if(p=v.payload,typeof p=="function"){a=p.call(d,a,s);break e}a=p;break e;case 3:p.flags=p.flags&-65537|128;case 0:if(p=v.payload,s=typeof p=="function"?p.call(d,a,s):p,s==null)break e;a=te({},a,s);break e;case 2:Mt=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,s=o.effects,s===null?o.effects=[u]:s.push(u))}else d={eventTime:d,lane:s,tag:u.tag,payload:u.payload,callback:u.callback,next:null},y===null?(f=y=d,c=a):y=y.next=d,l|=s;if(u=u.next,u===null){if(u=o.shared.pending,u===null)break;s=u,u=s.next,s.next=null,o.lastBaseUpdate=s,o.shared.pending=null}}while(!0);if(y===null&&(c=a),o.baseState=c,o.firstBaseUpdate=f,o.lastBaseUpdate=y,t=o.shared.interleaved,t!==null){o=t;do l|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);un|=l,e.lanes=l,e.memoizedState=a}}function qs(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=ea.transition;ea.transition={};try{e(!1),t()}finally{U=n,ea.transition=r}}function Mf(){return Ye().memoizedState}function jp(e,t,n){var r=Bt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Lf(e))Rf(t,n);else if(n=cf(e,t,n,r),n!==null){var o=Se();nt(n,e,r,o),Af(n,t,r)}}function $p(e,t,n){var r=Bt(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Lf(e))Rf(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,u=i(l,n);if(o.hasEagerState=!0,o.eagerState=u,rt(u,l)){var c=t.interleaved;c===null?(o.next=o,zl(t)):(o.next=c.next,c.next=o),t.interleaved=o;return}}catch{}finally{}n=cf(e,t,o,r),n!==null&&(o=Se(),nt(n,e,r,o),Af(n,t,r))}}function Lf(e){var t=e.alternate;return e===ee||t!==null&&t===ee}function Rf(e,t){wr=Zo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Af(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,El(e,n)}}var qo={readContext:Qe,useCallback:me,useContext:me,useEffect:me,useImperativeHandle:me,useInsertionEffect:me,useLayoutEffect:me,useMemo:me,useReducer:me,useRef:me,useState:me,useDebugValue:me,useDeferredValue:me,useTransition:me,useMutableSource:me,useSyncExternalStore:me,useId:me,unstable_isNewReconciler:!1},Bp={readContext:Qe,useCallback:function(e,t){return st().memoizedState=[e,t===void 0?null:t],e},useContext:Qe,useEffect:eu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Mo(4194308,4,Ef.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Mo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Mo(4,2,e,t)},useMemo:function(e,t){var n=st();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=st();return t=n!==void 0?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=jp.bind(null,ee,e),[r.memoizedState,e]},useRef:function(e){var t=st();return e={current:e},t.memoizedState=e},useState:Js,useDebugValue:Gl,useDeferredValue:function(e){return st().memoizedState=e},useTransition:function(){var e=Js(!1),t=e[0];return e=zp.bind(null,e[1]),st().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ee,o=st();if(q){if(n===void 0)throw Error(P(407));n=n()}else{if(n=t(),ce===null)throw Error(P(349));sn&30||vf(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,eu(yf.bind(null,r,i,e),[e]),r.flags|=2048,br(9,mf.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=st(),t=ce.identifierPrefix;if(q){var n=_t,r=gt;n=(r&~(1<<32-tt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Hr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[ut]=t,e[jr]=r,Hf(e,t,!1,!1),t.stateNode=e;e:{switch(l=Ca(n,r),n){case"dialog":K("cancel",e),K("close",e),o=r;break;case"iframe":case"object":case"embed":K("load",e),o=r;break;case"video":case"audio":for(o=0;oUn&&(t.flags|=128,r=!0,sr(i,!1),t.lanes=4194304)}else{if(!r)if(e=Ko(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),sr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!q)return ye(t),null}else 2*re()-i.renderingStartTime>Un&&n!==1073741824&&(t.flags|=128,r=!0,sr(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(n=i.last,n!==null?n.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=re(),t.sibling=null,n=J.current,Q(J,r?n&1|2:n&1),t):(ye(t),null);case 22:case 23:return ql(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ne&1073741824&&(ye(t),t.subtreeFlags&6&&(t.flags|=8192)):ye(t),null;case 24:return null;case 25:return null}throw Error(P(156,t.tag))}function Xp(e,t){switch(Ol(t),t.tag){case 1:return Re(t.type)&&bo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return bn(),Z(Le),Z(_e),Hl(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Bl(t),null;case 13:if(Z(J),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(P(340));Hn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Z(J),null;case 4:return bn(),null;case 10:return Fl(t.type._context),null;case 22:case 23:return ql(),null;case 24:return null;default:return null}}var vo=!1,ge=!1,Qp=typeof WeakSet=="function"?WeakSet:Set,R=null;function Ln(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ne(e,t,r)}else n.current=null}function qa(e,t,n){try{n()}catch(r){ne(e,t,r)}}var fu=!1;function Yp(e,t){if(Na=$o,e=Xc(),Rl(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,u=-1,c=-1,f=0,y=0,a=e,s=null;t:for(;;){for(var d;a!==n||o!==0&&a.nodeType!==3||(u=l+o),a!==i||r!==0&&a.nodeType!==3||(c=l+r),a.nodeType===3&&(l+=a.nodeValue.length),(d=a.firstChild)!==null;)s=a,a=d;for(;;){if(a===e)break t;if(s===n&&++f===o&&(u=l),s===i&&++y===r&&(c=l),(d=a.nextSibling)!==null)break;a=s,s=a.parentNode}a=d}n=u===-1||c===-1?null:{start:u,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(Fa={focusedElem:e,selectionRange:n},$o=!1,R=t;R!==null;)if(t=R,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;try{var p=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(p!==null){var v=p.memoizedProps,_=p.memoizedState,h=t.stateNode,m=h.getSnapshotBeforeUpdate(t.elementType===t.type?v:qe(t.type,v),_);h.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var g=t.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(P(163))}}catch(w){ne(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return p=fu,fu=!1,p}function Sr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&qa(t,n,i)}o=o.next}while(o!==r)}}function yi(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==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 Ja(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Wf(e){var t=e.alternate;t!==null&&(e.alternate=null,Wf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ut],delete t[jr],delete t[$a],delete t[Ap],delete t[Op])),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 Uf(e){return e.tag===5||e.tag===3||e.tag===4}function du(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Uf(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function el(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Vo));else if(r!==4&&(e=e.child,e!==null))for(el(e,t,n),e=e.sibling;e!==null;)el(e,t,n),e=e.sibling}function tl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(tl(e,t,n),e=e.sibling;e!==null;)tl(e,t,n),e=e.sibling}var de=null,Je=!1;function Ct(e,t,n){for(n=n.child;n!==null;)Gf(e,t,n),n=n.sibling}function Gf(e,t,n){if(ct&&typeof ct.onCommitFiberUnmount=="function")try{ct.onCommitFiberUnmount(ui,n)}catch{}switch(n.tag){case 5:ge||Ln(n,t);case 6:var r=de,o=Je;de=null,Ct(e,t,n),de=r,Je=o,de!==null&&(Je?(e=de,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):de.removeChild(n.stateNode));break;case 18:de!==null&&(Je?(e=de,n=n.stateNode,e.nodeType===8?Zi(e.parentNode,n):e.nodeType===1&&Zi(e,n),Ir(e)):Zi(de,n.stateNode));break;case 4:r=de,o=Je,de=n.stateNode.containerInfo,Je=!0,Ct(e,t,n),de=r,Je=o;break;case 0:case 11:case 14:case 15:if(!ge&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&(i&2||i&4)&&qa(n,t,l),o=o.next}while(o!==r)}Ct(e,t,n);break;case 1:if(!ge&&(Ln(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){ne(n,t,u)}Ct(e,t,n);break;case 21:Ct(e,t,n);break;case 22:n.mode&1?(ge=(r=ge)||n.memoizedState!==null,Ct(e,t,n),ge=r):Ct(e,t,n);break;default:Ct(e,t,n)}}function hu(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Qp),t.forEach(function(r){var o=ov.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Ze(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=l),r&=~i}if(r=o,r=re()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Zp(r/1960))-r,10e?16:e,It===null)var r=!1;else{if(e=It,It=null,ti=0,H&6)throw Error(P(331));var o=H;for(H|=4,R=e.current;R!==null;){var i=R,l=i.child;if(R.flags&16){var u=i.deletions;if(u!==null){for(var c=0;cre()-Kl?nn(e,0):Yl|=n),Ae(e,t)}function ed(e,t){t===0&&(e.mode&1?(t=io,io<<=1,!(io&130023424)&&(io=4194304)):t=1);var n=Se();e=St(e,t),e!==null&&(Qr(e,t,n),Ae(e,n))}function rv(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),ed(e,n)}function ov(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(P(314))}r!==null&&r.delete(t),ed(e,n)}var td;td=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Le.current)Te=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Te=!1,Up(e,t,n);Te=!!(e.flags&131072)}else Te=!1,q&&t.flags&1048576&&of(t,Go,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Lo(e,t),e=t.pendingProps;var o=Bn(t,_e.current);Fn(t,n),o=bl(null,t,r,e,o,n);var i=Wl();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Re(r)?(i=!0,Wo(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,jl(t),o.updater=mi,t.stateNode=o,o._reactInternals=t,Ua(t,r,e,n),t=Qa(null,t,r,!0,i,n)):(t.tag=0,q&&i&&Al(t),we(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Lo(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=av(r),e=qe(r,e),o){case 0:t=Xa(null,t,r,e,n);break e;case 1:t=su(null,t,r,e,n);break e;case 11:t=au(null,t,r,e,n);break e;case 14:t=lu(null,t,r,qe(r.type,e),n);break e}throw Error(P(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:qe(r,o),Xa(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:qe(r,o),su(e,t,r,o,n);case 3:e:{if(jf(t),e===null)throw Error(P(387));r=t.pendingProps,i=t.memoizedState,o=i.element,ff(e,t),Yo(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Wn(Error(P(423)),t),t=uu(e,t,r,n,o);break e}else if(r!==o){o=Wn(Error(P(424)),t),t=uu(e,t,r,n,o);break e}else for(ze=zt(t.stateNode.containerInfo.firstChild),$e=t,q=!0,et=null,n=uf(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Hn(),r===o){t=xt(e,t,n);break e}we(e,t,r,n)}t=t.child}return t;case 5:return df(t),e===null&&Va(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,za(r,o)?l=null:i!==null&&za(r,i)&&(t.flags|=32),zf(e,t),we(e,t,l,n),t.child;case 6:return e===null&&Va(t),null;case 13:return $f(e,t,n);case 4:return $l(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Vn(t,null,r,n):we(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:qe(r,o),au(e,t,r,o,n);case 7:return we(e,t,t.pendingProps,n),t.child;case 8:return we(e,t,t.pendingProps.children,n),t.child;case 12:return we(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,Q(Xo,r._currentValue),r._currentValue=l,i!==null)if(rt(i.value,l)){if(i.children===o.children&&!Le.current){t=xt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){l=i.child;for(var c=u.firstContext;c!==null;){if(c.context===r){if(i.tag===1){c=gt(-1,n&-n),c.tag=2;var f=i.updateQueue;if(f!==null){f=f.shared;var y=f.pending;y===null?c.next=c:(c.next=y.next,y.next=c),f.pending=c}}i.lanes|=n,c=i.alternate,c!==null&&(c.lanes|=n),ba(i.return,n,t),u.lanes|=n;break}c=c.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(P(341));l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),ba(l,n,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}we(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Fn(t,n),o=Qe(o),r=r(o),t.flags|=1,we(e,t,r,n),t.child;case 14:return r=t.type,o=qe(r,t.pendingProps),o=qe(r.type,o),lu(e,t,r,o,n);case 15:return Nf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:qe(r,o),Lo(e,t),t.tag=1,Re(r)?(e=!0,Wo(t)):e=!1,Fn(t,n),Of(t,r,o),Ua(t,r,o,n),Qa(null,t,r,!0,e,n);case 19:return Bf(e,t,n);case 22:return Ff(e,t,n)}throw Error(P(156,t.tag))};function nd(e,t){return Mc(e,t)}function iv(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 Ge(e,t,n,r){return new iv(e,t,n,r)}function es(e){return e=e.prototype,!(!e||!e.isReactComponent)}function av(e){if(typeof e=="function")return es(e)?1:0;if(e!=null){if(e=e.$$typeof,e===_l)return 11;if(e===wl)return 14}return 2}function Ht(e,t){var n=e.alternate;return n===null?(n=Ge(e.tag,t,e.key,e.mode),n.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=e.flags&14680064,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=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Oo(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")es(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case wn:return rn(n.children,o,i,t);case gl:l=8,o|=8;break;case va:return e=Ge(12,n,t,o|2),e.elementType=va,e.lanes=i,e;case ma:return e=Ge(13,n,t,o),e.elementType=ma,e.lanes=i,e;case ya:return e=Ge(19,n,t,o),e.elementType=ya,e.lanes=i,e;case fc:return _i(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case uc:l=10;break e;case cc:l=9;break e;case _l:l=11;break e;case wl:l=14;break e;case Tt:l=16,r=null;break e}throw Error(P(130,e==null?e:typeof e,""))}return t=Ge(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function rn(e,t,n,r){return e=Ge(7,e,r,t),e.lanes=n,e}function _i(e,t,n,r){return e=Ge(22,e,r,t),e.elementType=fc,e.lanes=n,e.stateNode={isHidden:!1},e}function ia(e,t,n){return e=Ge(6,e,null,t),e.lanes=n,e}function aa(e,t,n){return t=Ge(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function lv(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Bi(0),this.expirationTimes=Bi(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Bi(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function ts(e,t,n,r,o,i,l,u,c){return e=new lv(e,t,n,u,c),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ge(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},jl(i),e}function sv(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ad)}catch(e){console.error(e)}}ad(),ic.exports=He;var ld=ic.exports,Su=ld;ha.createRoot=Su.createRoot,ha.hydrateRoot=Su.hydrateRoot;const xu="pushstate",Eu="popstate",sd="beforeunload",ud=e=>(e.preventDefault(),e.returnValue=""),hv=()=>{removeEventListener(sd,ud,{capture:!0})};function cd(e){let t=e.getLocation();const n=new Set;let r=[];const o=()=>{t=e.getLocation(),n.forEach(l=>l())},i=async(l,u)=>{var c;if(!((u==null?void 0:u.ignoreBlocker)??!1)&&typeof document<"u"&&r.length){for(const y of r)if(!await y()){(c=e.onBlocked)==null||c.call(e,o);return}}l()};return{get location(){return t},subscribers:n,subscribe:l=>(n.add(l),()=>{n.delete(l)}),push:(l,u,c)=>{u=kr(u),i(()=>{e.pushState(l,u),o()},c)},replace:(l,u,c)=>{u=kr(u),i(()=>{e.replaceState(l,u),o()},c)},go:(l,u)=>{i(()=>{e.go(l),o()},u)},back:l=>{i(()=>{e.back(),o()},l)},forward:l=>{i(()=>{e.forward(),o()},l)},createHref:l=>e.createHref(l),block:l=>(r.push(l),r.length===1&&addEventListener(sd,ud,{capture:!0}),()=>{r=r.filter(u=>u!==l),r.length||hv()}),flush:()=>{var l;return(l=e.flush)==null?void 0:l.call(e)},destroy:()=>{var l;return(l=e.destroy)==null?void 0:l.call(e)},notify:o}}function kr(e){return e||(e={}),{...e,key:dd()}}function fd(e){const t=(e==null?void 0:e.window)??(typeof document<"u"?window:void 0),n=t.history.pushState,r=t.history.replaceState,o=(e==null?void 0:e.createHref)??(v=>v),i=(e==null?void 0:e.parseLocation)??(()=>Ur(`${t.location.pathname}${t.location.search}${t.location.hash}`,t.history.state));let l=i(),u;const c=()=>l;let f,y;const a=()=>{f&&(p._ignoreSubscribers=!0,(f.isPush?t.history.pushState:t.history.replaceState)(f.state,"",f.href),p._ignoreSubscribers=!1,f=void 0,y=void 0,u=void 0)},s=(v,_,h)=>{const m=o(_);y||(u=l),l=Ur(_,h),f={href:m,state:h,isPush:(f==null?void 0:f.isPush)||v==="push"},y||(y=Promise.resolve().then(()=>a()))},d=()=>{l=i(),p.notify()},p=cd({getLocation:c,pushState:(v,_)=>s("push",v,_),replaceState:(v,_)=>s("replace",v,_),back:()=>t.history.back(),forward:()=>t.history.forward(),go:v=>t.history.go(v),createHref:v=>o(v),flush:a,destroy:()=>{t.history.pushState=n,t.history.replaceState=r,t.removeEventListener(xu,d),t.removeEventListener(Eu,d)},onBlocked:v=>{u&&l!==u&&(l=u,v())}});return t.addEventListener(xu,d),t.addEventListener(Eu,d),t.history.pushState=function(...v){const _=n.apply(t.history,v);return p._ignoreSubscribers||d(),_},t.history.replaceState=function(...v){const _=r.apply(t.history,v);return p._ignoreSubscribers||d(),_},p}function pv(e){const t=typeof document<"u"?window:void 0;return fd({window:t,parseLocation:()=>{const n=t.location.hash.split("#").slice(1).join("#")??"/";return Ur(n,t.history.state)},createHref:n=>`${t.location.pathname}${t.location.search}#${n}`})}function vv(e={initialEntries:["/"]}){const t=e.initialEntries;let n=e.initialIndex??t.length-1,r={key:dd()};return cd({getLocation:()=>Ur(t[n],r),pushState:(i,l)=>{r=l,t.splice,n{r=l,t[n]=i},back:()=>{r=kr(r),n=Math.max(n-1,0)},forward:()=>{r=kr(r),n=Math.min(n+1,t.length-1)},go:i=>{r=kr(r),n=Math.min(Math.max(n+i,0),t.length-1)},createHref:i=>i})}function Ur(e,t){const n=e.indexOf("#"),r=e.indexOf("?");return{href:e,pathname:e.substring(0,n>0?r>0?Math.min(n,r):n:r>0?r:e.length),hash:n>-1?e.substring(n):"",search:r>-1?e.slice(r,n===-1?void 0:n):"",state:t||{}}}function dd(){return(Math.random()+1).toString(36).substring(7)}var mv="Invariant failed";function Ce(e,t){if(!e)throw new Error(mv)}const la=L.createContext(null);function hd(){return typeof document>"u"?la:window.__TSR_ROUTER_CONTEXT__?window.__TSR_ROUTER_CONTEXT__:(window.__TSR_ROUTER_CONTEXT__=la,la)}function Qt(e){const t=L.useContext(hd());return e==null||e.warn,t}var pd={exports:{}},vd={},md={exports:{}},yd={};/** +`+i.stack}return{value:e,source:t,stack:o,digest:null}}function ra(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ga(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var bp=typeof WeakMap=="function"?WeakMap:Map;function If(e,t,n){n=wt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ei||(ei=!0,nl=r),Ga(e,t)},n}function Df(e,t,n){n=wt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Ga(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Ga(e,t),typeof r!="function"&&($t===null?$t=new Set([this]):$t.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}function ru(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new bp;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=rv.bind(null,e,t,n),t.then(e,e))}function ou(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function iu(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=wt(-1,1),t.tag=2,jt(n,t,1))),n.lanes|=1),e)}var Wp=Ct.ReactCurrentOwner,Te=!1;function we(e,t,n,r){t.child=e===null?uf(t,null,n,r):Vn(t,e.child,n,r)}function au(e,t,n,r,o){n=n.render;var i=t.ref;return Fn(t,o),r=bl(e,t,n,r,i,o),n=Wl(),e!==null&&!Te?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,kt(e,t,o)):(q&&n&&Al(t),t.flags|=1,we(e,t,r,o),t.child)}function lu(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!es(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Nf(e,t,i,r,o)):(e=Oo(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var l=i.memoizedProps;if(n=n.compare,n=n!==null?n:Nr,n(l,r)&&e.ref===t.ref)return kt(e,t,o)}return t.flags|=1,e=Ht(i,r),e.ref=t.ref,e.return=t,t.child=e}function Nf(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Nr(i,r)&&e.ref===t.ref)if(Te=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(Te=!0);else return t.lanes=e.lanes,kt(e,t,o)}return Xa(e,t,n,r,o)}function Ff(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Q(Rn,Ne),Ne|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Q(Rn,Ne),Ne|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,Q(Rn,Ne),Ne|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,Q(Rn,Ne),Ne|=r;return we(e,t,o,n),t.child}function zf(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Xa(e,t,n,r,o){var i=Re(n)?an:_e.current;return i=Bn(t,i),Fn(t,o),n=bl(e,t,n,r,i,o),r=Wl(),e!==null&&!Te?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,kt(e,t,o)):(q&&r&&Al(t),t.flags|=1,we(e,t,n,o),t.child)}function su(e,t,n,r,o){if(Re(n)){var i=!0;Wo(t)}else i=!1;if(Fn(t,o),t.stateNode===null)Lo(e,t),Of(t,n,r),Ua(t,n,r,o),r=!0;else if(e===null){var l=t.stateNode,u=t.memoizedProps;l.props=u;var c=l.context,f=n.contextType;typeof f=="object"&&f!==null?f=Qe(f):(f=Re(n)?an:_e.current,f=Bn(t,f));var y=n.getDerivedStateFromProps,a=typeof y=="function"||typeof l.getSnapshotBeforeUpdate=="function";a||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(u!==r||c!==f)&&nu(t,l,r,f),Mt=!1;var s=t.memoizedState;l.state=s,Yo(t,r,l,o),c=t.memoizedState,u!==r||s!==c||Le.current||Mt?(typeof y=="function"&&(Wa(t,n,y,r),c=t.memoizedState),(u=Mt||tu(t,n,u,r,s,c,f))?(a||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4194308)):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),l.props=r,l.state=c,l.context=f,r=u):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,ff(e,t),u=t.memoizedProps,f=t.type===t.elementType?u:qe(t.type,u),l.props=f,a=t.pendingProps,s=l.context,c=n.contextType,typeof c=="object"&&c!==null?c=Qe(c):(c=Re(n)?an:_e.current,c=Bn(t,c));var d=n.getDerivedStateFromProps;(y=typeof d=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(u!==a||s!==c)&&nu(t,l,r,c),Mt=!1,s=t.memoizedState,l.state=s,Yo(t,r,l,o);var p=t.memoizedState;u!==a||s!==p||Le.current||Mt?(typeof d=="function"&&(Wa(t,n,d,r),p=t.memoizedState),(f=Mt||tu(t,n,f,r,s,p,c)||!1)?(y||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(r,p,c),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(r,p,c)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||u===e.memoizedProps&&s===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&s===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),l.props=r,l.state=p,l.context=c,r=f):(typeof l.componentDidUpdate!="function"||u===e.memoizedProps&&s===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&s===e.memoizedState||(t.flags|=1024),r=!1)}return Qa(e,t,n,r,i,o)}function Qa(e,t,n,r,o,i){zf(e,t);var l=(t.flags&128)!==0;if(!r&&!l)return o&&Xs(t,n,!1),kt(e,t,i);r=t.stateNode,Wp.current=t;var u=l&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&l?(t.child=Vn(t,e.child,null,i),t.child=Vn(t,null,u,i)):we(e,t,u,i),t.memoizedState=r.state,o&&Xs(t,n,!0),t.child}function jf(e){var t=e.stateNode;t.pendingContext?Gs(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Gs(e,t.context,!1),$l(e,t.containerInfo)}function uu(e,t,n,r,o){return Hn(),Il(o),t.flags|=256,we(e,t,n,r),t.child}var Ya={dehydrated:null,treeContext:null,retryLane:0};function Ka(e){return{baseLanes:e,cachePool:null,transitions:null}}function $f(e,t,n){var r=t.pendingProps,o=J.current,i=!1,l=(t.flags&128)!==0,u;if((u=l)||(u=e!==null&&e.memoizedState===null?!1:(o&2)!==0),u?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),Q(J,o&1),e===null)return Va(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=r.children,e=r.fallback,i?(r=t.mode,i=t.child,l={mode:"hidden",children:l},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=l):i=_i(l,r,0,null),e=rn(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Ka(n),t.memoizedState=Ya,e):Xl(t,l));if(o=e.memoizedState,o!==null&&(u=o.dehydrated,u!==null))return Up(e,t,l,r,u,o,n);if(i){i=r.fallback,l=t.mode,o=e.child,u=o.sibling;var c={mode:"hidden",children:r.children};return!(l&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=Ht(o,c),r.subtreeFlags=o.subtreeFlags&14680064),u!==null?i=Ht(u,i):(i=rn(i,l,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,l=e.child.memoizedState,l=l===null?Ka(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},i.memoizedState=l,i.childLanes=e.childLanes&~n,t.memoizedState=Ya,r}return i=e.child,e=i.sibling,r=Ht(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Xl(e,t){return t=_i({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function po(e,t,n,r){return r!==null&&Il(r),Vn(t,e.child,null,n),e=Xl(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Up(e,t,n,r,o,i,l){if(n)return t.flags&256?(t.flags&=-257,r=ra(Error(P(422))),po(e,t,l,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=_i({mode:"visible",children:r.children},o,0,null),i=rn(i,o,l,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&Vn(t,e.child,null,l),t.child.memoizedState=Ka(l),t.memoizedState=Ya,i);if(!(t.mode&1))return po(e,t,l,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var u=r.dgst;return r=u,i=Error(P(419)),r=ra(i,r,void 0),po(e,t,l,r)}if(u=(l&e.childLanes)!==0,Te||u){if(r=ce,r!==null){switch(l&-l){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|l)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,Et(e,o),nt(r,e,o,-1))}return Jl(),r=ra(Error(P(421))),po(e,t,l,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=ov.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,ze=zt(o.nextSibling),$e=t,q=!0,et=null,e!==null&&(We[Ue++]=gt,We[Ue++]=_t,We[Ue++]=ln,gt=e.id,_t=e.overflow,ln=t),t=Xl(t,r.children),t.flags|=4096,t)}function cu(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),ba(e.return,t,n)}function oa(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Bf(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(we(e,t,r.children,n),r=J.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&cu(e,n,t);else if(e.tag===19)cu(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Q(J,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Ko(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),oa(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Ko(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}oa(t,!0,n,null,i);break;case"together":oa(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Lo(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function kt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),un|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(P(153));if(t.child!==null){for(e=t.child,n=Ht(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Ht(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Gp(e,t,n){switch(t.tag){case 3:jf(t),Hn();break;case 5:df(t);break;case 1:Re(t.type)&&Wo(t);break;case 4:$l(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Q(Xo,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Q(J,J.current&1),t.flags|=128,null):n&t.child.childLanes?$f(e,t,n):(Q(J,J.current&1),e=kt(e,t,n),e!==null?e.sibling:null);Q(J,J.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Bf(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Q(J,J.current),r)break;return null;case 22:case 23:return t.lanes=0,Ff(e,t,n)}return kt(e,t,n)}var Hf,Za,Vf,bf;Hf=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Za=function(){};Vf=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,en(dt.current);var i=null;switch(n){case"input":o=_a(e,o),r=_a(e,r),i=[];break;case"select":o=te({},o,{value:void 0}),r=te({},r,{value:void 0}),i=[];break;case"textarea":o=xa(e,o),r=xa(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Vo)}ka(n,r);var l;n=null;for(f in o)if(!r.hasOwnProperty(f)&&o.hasOwnProperty(f)&&o[f]!=null)if(f==="style"){var u=o[f];for(l in u)u.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else f!=="dangerouslySetInnerHTML"&&f!=="children"&&f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&f!=="autoFocus"&&(Mr.hasOwnProperty(f)?i||(i=[]):(i=i||[]).push(f,null));for(f in r){var c=r[f];if(u=o!=null?o[f]:void 0,r.hasOwnProperty(f)&&c!==u&&(c!=null||u!=null))if(f==="style")if(u){for(l in u)!u.hasOwnProperty(l)||c&&c.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in c)c.hasOwnProperty(l)&&u[l]!==c[l]&&(n||(n={}),n[l]=c[l])}else n||(i||(i=[]),i.push(f,n)),n=c;else f==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,u=u?u.__html:void 0,c!=null&&u!==c&&(i=i||[]).push(f,c)):f==="children"?typeof c!="string"&&typeof c!="number"||(i=i||[]).push(f,""+c):f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&(Mr.hasOwnProperty(f)?(c!=null&&f==="onScroll"&&K("scroll",e),i||u===c||(i=[])):(i=i||[]).push(f,c))}n&&(i=i||[]).push("style",n);var f=i;(t.updateQueue=f)&&(t.flags|=4)}};bf=function(e,t,n,r){n!==r&&(t.flags|=4)};function sr(e,t){if(!q)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ye(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Xp(e,t,n){var r=t.pendingProps;switch(Ol(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ye(t),null;case 1:return Re(t.type)&&bo(),ye(t),null;case 3:return r=t.stateNode,bn(),Z(Le),Z(_e),Hl(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(fo(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,et!==null&&(il(et),et=null))),Za(e,t),ye(t),null;case 5:Bl(t);var o=en(Br.current);if(n=t.type,e!==null&&t.stateNode!=null)Vf(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(P(166));return ye(t),null}if(e=en(dt.current),fo(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[ct]=t,r[jr]=i,e=(t.mode&1)!==0,n){case"dialog":K("cancel",r),K("close",r);break;case"iframe":case"object":case"embed":K("load",r);break;case"video":case"audio":for(o=0;o<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[ct]=t,e[jr]=r,Hf(e,t,!1,!1),t.stateNode=e;e:{switch(l=Ca(n,r),n){case"dialog":K("cancel",e),K("close",e),o=r;break;case"iframe":case"object":case"embed":K("load",e),o=r;break;case"video":case"audio":for(o=0;oUn&&(t.flags|=128,r=!0,sr(i,!1),t.lanes=4194304)}else{if(!r)if(e=Ko(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),sr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!q)return ye(t),null}else 2*re()-i.renderingStartTime>Un&&n!==1073741824&&(t.flags|=128,r=!0,sr(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(n=i.last,n!==null?n.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=re(),t.sibling=null,n=J.current,Q(J,r?n&1|2:n&1),t):(ye(t),null);case 22:case 23:return ql(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ne&1073741824&&(ye(t),t.subtreeFlags&6&&(t.flags|=8192)):ye(t),null;case 24:return null;case 25:return null}throw Error(P(156,t.tag))}function Qp(e,t){switch(Ol(t),t.tag){case 1:return Re(t.type)&&bo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return bn(),Z(Le),Z(_e),Hl(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Bl(t),null;case 13:if(Z(J),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(P(340));Hn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Z(J),null;case 4:return bn(),null;case 10:return Fl(t.type._context),null;case 22:case 23:return ql(),null;case 24:return null;default:return null}}var vo=!1,ge=!1,Yp=typeof WeakSet=="function"?WeakSet:Set,R=null;function Ln(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ne(e,t,r)}else n.current=null}function qa(e,t,n){try{n()}catch(r){ne(e,t,r)}}var fu=!1;function Kp(e,t){if(Na=$o,e=Xc(),Rl(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,u=-1,c=-1,f=0,y=0,a=e,s=null;t:for(;;){for(var d;a!==n||o!==0&&a.nodeType!==3||(u=l+o),a!==i||r!==0&&a.nodeType!==3||(c=l+r),a.nodeType===3&&(l+=a.nodeValue.length),(d=a.firstChild)!==null;)s=a,a=d;for(;;){if(a===e)break t;if(s===n&&++f===o&&(u=l),s===i&&++y===r&&(c=l),(d=a.nextSibling)!==null)break;a=s,s=a.parentNode}a=d}n=u===-1||c===-1?null:{start:u,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(Fa={focusedElem:e,selectionRange:n},$o=!1,R=t;R!==null;)if(t=R,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;try{var p=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(p!==null){var v=p.memoizedProps,_=p.memoizedState,h=t.stateNode,m=h.getSnapshotBeforeUpdate(t.elementType===t.type?v:qe(t.type,v),_);h.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var g=t.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(P(163))}}catch(w){ne(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return p=fu,fu=!1,p}function Sr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&qa(t,n,i)}o=o.next}while(o!==r)}}function yi(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==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 Ja(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Wf(e){var t=e.alternate;t!==null&&(e.alternate=null,Wf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ct],delete t[jr],delete t[$a],delete t[Op],delete t[Ip])),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 Uf(e){return e.tag===5||e.tag===3||e.tag===4}function du(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Uf(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function el(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Vo));else if(r!==4&&(e=e.child,e!==null))for(el(e,t,n),e=e.sibling;e!==null;)el(e,t,n),e=e.sibling}function tl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(tl(e,t,n),e=e.sibling;e!==null;)tl(e,t,n),e=e.sibling}var de=null,Je=!1;function Pt(e,t,n){for(n=n.child;n!==null;)Gf(e,t,n),n=n.sibling}function Gf(e,t,n){if(ft&&typeof ft.onCommitFiberUnmount=="function")try{ft.onCommitFiberUnmount(ui,n)}catch{}switch(n.tag){case 5:ge||Ln(n,t);case 6:var r=de,o=Je;de=null,Pt(e,t,n),de=r,Je=o,de!==null&&(Je?(e=de,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):de.removeChild(n.stateNode));break;case 18:de!==null&&(Je?(e=de,n=n.stateNode,e.nodeType===8?Zi(e.parentNode,n):e.nodeType===1&&Zi(e,n),Ir(e)):Zi(de,n.stateNode));break;case 4:r=de,o=Je,de=n.stateNode.containerInfo,Je=!0,Pt(e,t,n),de=r,Je=o;break;case 0:case 11:case 14:case 15:if(!ge&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&(i&2||i&4)&&qa(n,t,l),o=o.next}while(o!==r)}Pt(e,t,n);break;case 1:if(!ge&&(Ln(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){ne(n,t,u)}Pt(e,t,n);break;case 21:Pt(e,t,n);break;case 22:n.mode&1?(ge=(r=ge)||n.memoizedState!==null,Pt(e,t,n),ge=r):Pt(e,t,n);break;default:Pt(e,t,n)}}function hu(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Yp),t.forEach(function(r){var o=iv.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Ze(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=l),r&=~i}if(r=o,r=re()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*qp(r/1960))-r,10e?16:e,It===null)var r=!1;else{if(e=It,It=null,ti=0,H&6)throw Error(P(331));var o=H;for(H|=4,R=e.current;R!==null;){var i=R,l=i.child;if(R.flags&16){var u=i.deletions;if(u!==null){for(var c=0;cre()-Kl?nn(e,0):Yl|=n),Ae(e,t)}function ed(e,t){t===0&&(e.mode&1?(t=io,io<<=1,!(io&130023424)&&(io=4194304)):t=1);var n=Se();e=Et(e,t),e!==null&&(Qr(e,t,n),Ae(e,n))}function ov(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),ed(e,n)}function iv(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(P(314))}r!==null&&r.delete(t),ed(e,n)}var td;td=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Le.current)Te=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Te=!1,Gp(e,t,n);Te=!!(e.flags&131072)}else Te=!1,q&&t.flags&1048576&&of(t,Go,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Lo(e,t),e=t.pendingProps;var o=Bn(t,_e.current);Fn(t,n),o=bl(null,t,r,e,o,n);var i=Wl();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Re(r)?(i=!0,Wo(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,jl(t),o.updater=mi,t.stateNode=o,o._reactInternals=t,Ua(t,r,e,n),t=Qa(null,t,r,!0,i,n)):(t.tag=0,q&&i&&Al(t),we(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Lo(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=lv(r),e=qe(r,e),o){case 0:t=Xa(null,t,r,e,n);break e;case 1:t=su(null,t,r,e,n);break e;case 11:t=au(null,t,r,e,n);break e;case 14:t=lu(null,t,r,qe(r.type,e),n);break e}throw Error(P(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:qe(r,o),Xa(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:qe(r,o),su(e,t,r,o,n);case 3:e:{if(jf(t),e===null)throw Error(P(387));r=t.pendingProps,i=t.memoizedState,o=i.element,ff(e,t),Yo(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Wn(Error(P(423)),t),t=uu(e,t,r,n,o);break e}else if(r!==o){o=Wn(Error(P(424)),t),t=uu(e,t,r,n,o);break e}else for(ze=zt(t.stateNode.containerInfo.firstChild),$e=t,q=!0,et=null,n=uf(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Hn(),r===o){t=kt(e,t,n);break e}we(e,t,r,n)}t=t.child}return t;case 5:return df(t),e===null&&Va(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,za(r,o)?l=null:i!==null&&za(r,i)&&(t.flags|=32),zf(e,t),we(e,t,l,n),t.child;case 6:return e===null&&Va(t),null;case 13:return $f(e,t,n);case 4:return $l(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Vn(t,null,r,n):we(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:qe(r,o),au(e,t,r,o,n);case 7:return we(e,t,t.pendingProps,n),t.child;case 8:return we(e,t,t.pendingProps.children,n),t.child;case 12:return we(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,Q(Xo,r._currentValue),r._currentValue=l,i!==null)if(rt(i.value,l)){if(i.children===o.children&&!Le.current){t=kt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){l=i.child;for(var c=u.firstContext;c!==null;){if(c.context===r){if(i.tag===1){c=wt(-1,n&-n),c.tag=2;var f=i.updateQueue;if(f!==null){f=f.shared;var y=f.pending;y===null?c.next=c:(c.next=y.next,y.next=c),f.pending=c}}i.lanes|=n,c=i.alternate,c!==null&&(c.lanes|=n),ba(i.return,n,t),u.lanes|=n;break}c=c.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(P(341));l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),ba(l,n,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}we(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Fn(t,n),o=Qe(o),r=r(o),t.flags|=1,we(e,t,r,n),t.child;case 14:return r=t.type,o=qe(r,t.pendingProps),o=qe(r.type,o),lu(e,t,r,o,n);case 15:return Nf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:qe(r,o),Lo(e,t),t.tag=1,Re(r)?(e=!0,Wo(t)):e=!1,Fn(t,n),Of(t,r,o),Ua(t,r,o,n),Qa(null,t,r,!0,e,n);case 19:return Bf(e,t,n);case 22:return Ff(e,t,n)}throw Error(P(156,t.tag))};function nd(e,t){return Mc(e,t)}function av(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 Ge(e,t,n,r){return new av(e,t,n,r)}function es(e){return e=e.prototype,!(!e||!e.isReactComponent)}function lv(e){if(typeof e=="function")return es(e)?1:0;if(e!=null){if(e=e.$$typeof,e===_l)return 11;if(e===wl)return 14}return 2}function Ht(e,t){var n=e.alternate;return n===null?(n=Ge(e.tag,t,e.key,e.mode),n.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=e.flags&14680064,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=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Oo(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")es(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case wn:return rn(n.children,o,i,t);case gl:l=8,o|=8;break;case va:return e=Ge(12,n,t,o|2),e.elementType=va,e.lanes=i,e;case ma:return e=Ge(13,n,t,o),e.elementType=ma,e.lanes=i,e;case ya:return e=Ge(19,n,t,o),e.elementType=ya,e.lanes=i,e;case fc:return _i(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case uc:l=10;break e;case cc:l=9;break e;case _l:l=11;break e;case wl:l=14;break e;case Tt:l=16,r=null;break e}throw Error(P(130,e==null?e:typeof e,""))}return t=Ge(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function rn(e,t,n,r){return e=Ge(7,e,r,t),e.lanes=n,e}function _i(e,t,n,r){return e=Ge(22,e,r,t),e.elementType=fc,e.lanes=n,e.stateNode={isHidden:!1},e}function ia(e,t,n){return e=Ge(6,e,null,t),e.lanes=n,e}function aa(e,t,n){return t=Ge(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function sv(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Bi(0),this.expirationTimes=Bi(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Bi(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function ts(e,t,n,r,o,i,l,u,c){return e=new sv(e,t,n,u,c),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ge(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},jl(i),e}function uv(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ad)}catch(e){console.error(e)}}ad(),ic.exports=He;var ld=ic.exports,Su=ld;ha.createRoot=Su.createRoot,ha.hydrateRoot=Su.hydrateRoot;const xu="pushstate",Eu="popstate",sd="beforeunload",ud=e=>(e.preventDefault(),e.returnValue=""),pv=()=>{removeEventListener(sd,ud,{capture:!0})};function cd(e){let t=e.getLocation();const n=new Set;let r=[];const o=()=>{t=e.getLocation(),n.forEach(l=>l())},i=async(l,u)=>{var c;if(!((u==null?void 0:u.ignoreBlocker)??!1)&&typeof document<"u"&&r.length){for(const y of r)if(!await y()){(c=e.onBlocked)==null||c.call(e,o);return}}l()};return{get location(){return t},subscribers:n,subscribe:l=>(n.add(l),()=>{n.delete(l)}),push:(l,u,c)=>{u=kr(u),i(()=>{e.pushState(l,u),o()},c)},replace:(l,u,c)=>{u=kr(u),i(()=>{e.replaceState(l,u),o()},c)},go:(l,u)=>{i(()=>{e.go(l),o()},u)},back:l=>{i(()=>{e.back(),o()},l)},forward:l=>{i(()=>{e.forward(),o()},l)},createHref:l=>e.createHref(l),block:l=>(r.push(l),r.length===1&&addEventListener(sd,ud,{capture:!0}),()=>{r=r.filter(u=>u!==l),r.length||pv()}),flush:()=>{var l;return(l=e.flush)==null?void 0:l.call(e)},destroy:()=>{var l;return(l=e.destroy)==null?void 0:l.call(e)},notify:o}}function kr(e){return e||(e={}),{...e,key:dd()}}function fd(e){const t=(e==null?void 0:e.window)??(typeof document<"u"?window:void 0),n=t.history.pushState,r=t.history.replaceState,o=(e==null?void 0:e.createHref)??(v=>v),i=(e==null?void 0:e.parseLocation)??(()=>Ur(`${t.location.pathname}${t.location.search}${t.location.hash}`,t.history.state));let l=i(),u;const c=()=>l;let f,y;const a=()=>{f&&(p._ignoreSubscribers=!0,(f.isPush?t.history.pushState:t.history.replaceState)(f.state,"",f.href),p._ignoreSubscribers=!1,f=void 0,y=void 0,u=void 0)},s=(v,_,h)=>{const m=o(_);y||(u=l),l=Ur(_,h),f={href:m,state:h,isPush:(f==null?void 0:f.isPush)||v==="push"},y||(y=Promise.resolve().then(()=>a()))},d=()=>{l=i(),p.notify()},p=cd({getLocation:c,pushState:(v,_)=>s("push",v,_),replaceState:(v,_)=>s("replace",v,_),back:()=>t.history.back(),forward:()=>t.history.forward(),go:v=>t.history.go(v),createHref:v=>o(v),flush:a,destroy:()=>{t.history.pushState=n,t.history.replaceState=r,t.removeEventListener(xu,d),t.removeEventListener(Eu,d)},onBlocked:v=>{u&&l!==u&&(l=u,v())}});return t.addEventListener(xu,d),t.addEventListener(Eu,d),t.history.pushState=function(...v){const _=n.apply(t.history,v);return p._ignoreSubscribers||d(),_},t.history.replaceState=function(...v){const _=r.apply(t.history,v);return p._ignoreSubscribers||d(),_},p}function vv(e){const t=typeof document<"u"?window:void 0;return fd({window:t,parseLocation:()=>{const n=t.location.hash.split("#").slice(1).join("#")??"/";return Ur(n,t.history.state)},createHref:n=>`${t.location.pathname}${t.location.search}#${n}`})}function mv(e={initialEntries:["/"]}){const t=e.initialEntries;let n=e.initialIndex??t.length-1,r={key:dd()};return cd({getLocation:()=>Ur(t[n],r),pushState:(i,l)=>{r=l,t.splice,n{r=l,t[n]=i},back:()=>{r=kr(r),n=Math.max(n-1,0)},forward:()=>{r=kr(r),n=Math.min(n+1,t.length-1)},go:i=>{r=kr(r),n=Math.min(Math.max(n+i,0),t.length-1)},createHref:i=>i})}function Ur(e,t){const n=e.indexOf("#"),r=e.indexOf("?");return{href:e,pathname:e.substring(0,n>0?r>0?Math.min(n,r):n:r>0?r:e.length),hash:n>-1?e.substring(n):"",search:r>-1?e.slice(r,n===-1?void 0:n):"",state:t||{}}}function dd(){return(Math.random()+1).toString(36).substring(7)}var yv="Invariant failed";function Ce(e,t){if(!e)throw new Error(yv)}const la=L.createContext(null);function hd(){return typeof document>"u"?la:window.__TSR_ROUTER_CONTEXT__?window.__TSR_ROUTER_CONTEXT__:(window.__TSR_ROUTER_CONTEXT__=la,la)}function Qt(e){const t=L.useContext(hd());return e==null||e.warn,t}var pd={exports:{}},vd={},md={exports:{}},yd={};/** * @license React * use-sync-external-store-shim.production.min.js * @@ -45,7 +45,7 @@ Error generating stack: `+i.message+` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Gn=L;function yv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var gv=typeof Object.is=="function"?Object.is:yv,_v=Gn.useState,wv=Gn.useEffect,Sv=Gn.useLayoutEffect,xv=Gn.useDebugValue;function Ev(e,t){var n=t(),r=_v({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return Sv(function(){o.value=n,o.getSnapshot=t,sa(o)&&i({inst:o})},[e,n,t]),wv(function(){return sa(o)&&i({inst:o}),e(function(){sa(o)&&i({inst:o})})},[e]),xv(n),n}function sa(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!gv(e,n)}catch{return!0}}function kv(e,t){return t()}var Cv=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?kv:Ev;yd.useSyncExternalStore=Gn.useSyncExternalStore!==void 0?Gn.useSyncExternalStore:Cv;md.exports=yd;var Pv=md.exports;/** + */var Gn=L;function gv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var _v=typeof Object.is=="function"?Object.is:gv,wv=Gn.useState,Sv=Gn.useEffect,xv=Gn.useLayoutEffect,Ev=Gn.useDebugValue;function kv(e,t){var n=t(),r=wv({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return xv(function(){o.value=n,o.getSnapshot=t,sa(o)&&i({inst:o})},[e,n,t]),Sv(function(){return sa(o)&&i({inst:o}),e(function(){sa(o)&&i({inst:o})})},[e]),Ev(n),n}function sa(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!_v(e,n)}catch{return!0}}function Cv(e,t){return t()}var Pv=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Cv:kv;yd.useSyncExternalStore=Gn.useSyncExternalStore!==void 0?Gn.useSyncExternalStore:Pv;md.exports=yd;var Tv=md.exports;/** * @license React * use-sync-external-store-shim/with-selector.production.min.js * @@ -53,7 +53,7 @@ Error generating stack: `+i.message+` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var ki=L,Tv=Pv;function Mv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Lv=typeof Object.is=="function"?Object.is:Mv,Rv=Tv.useSyncExternalStore,Av=ki.useRef,Ov=ki.useEffect,Iv=ki.useMemo,Dv=ki.useDebugValue;vd.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var i=Av(null);if(i.current===null){var l={hasValue:!1,value:null};i.current=l}else l=i.current;i=Iv(function(){function c(d){if(!f){if(f=!0,y=d,d=r(d),o!==void 0&&l.hasValue){var p=l.value;if(o(p,d))return a=p}return a=d}if(p=a,Lv(y,d))return p;var v=r(d);return o!==void 0&&o(p,v)?p:(y=d,a=v)}var f=!1,y,a,s=n===void 0?null:n;return[function(){return c(t())},s===null?void 0:function(){return c(s())}]},[t,n,r,o]);var u=Rv(e,i[0],i[1]);return Ov(function(){l.hasValue=!0,l.value=u},[u]),Dv(u),u};pd.exports=vd;var Nv=pd.exports;class Fv{constructor(t,n){this.listeners=new Set,this._batching=!1,this._flushing=0,this.subscribe=r=>{var o,i;this.listeners.add(r);const l=(i=(o=this.options)==null?void 0:o.onSubscribe)==null?void 0:i.call(o,r,this);return()=>{this.listeners.delete(r),l==null||l()}},this.setState=r=>{var o,i,l;const u=this.state;this.state=(o=this.options)!=null&&o.updateFn?this.options.updateFn(u)(r):r(u),(l=(i=this.options)==null?void 0:i.onUpdate)==null||l.call(i),this._flush()},this._flush=()=>{if(this._batching)return;const r=++this._flushing;this.listeners.forEach(o=>{this._flushing===r&&o()})},this.batch=r=>{if(this._batching)return r();this._batching=!0,r(),this._batching=!1,this._flush()},this.state=t,this.options=n}}function zv(e,t=n=>n){return Nv.useSyncExternalStoreWithSelector(e.subscribe,()=>e.state,()=>e.state,t,jv)}function jv(e,t){if(Object.is(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(let r=0;r{t.substring(0,1)==="?"&&(t=t.substring(1));const n=Bv(t);for(const r in n){const o=n[r];if(typeof o=="string")try{n[r]=e(o)}catch{}}return n}}function Wv(e,t){function n(r){if(typeof r=="object"&&r!==null)try{return e(r)}catch{}else if(typeof r=="string"&&typeof t=="function")try{return t(r),e(r)}catch{}return r}return r=>{r={...r},Object.keys(r).forEach(i=>{const l=r[i];typeof l>"u"||l===void 0?delete r[i]:r[i]=n(l)});const o=$v(r).toString();return o?`?${o}`:""}}function Cr(e){return e[e.length-1]}function Uv(e){return typeof e=="function"}function An(e,t){return Uv(e)?e(t):e}function Pr(e,t){return t.reduce((n,r)=>(n[r]=e[r],n),{})}function yn(e,t){if(e===t)return e;const n=t,r=Pu(e)&&Pu(n);if(r||Xn(e)&&Xn(n)){const o=r?e:Object.keys(e),i=o.length,l=r?n:Object.keys(n),u=l.length,c=r?[]:{};let f=0;for(let y=0;y"u")return!0;const n=t.prototype;return!(!Cu(n)||!n.hasOwnProperty("isPrototypeOf"))}function Cu(e){return Object.prototype.toString.call(e)==="[object Object]"}function Pu(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function jn(e,t,n=!1){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(Xn(e)&&Xn(t)){const r=Object.keys(e).filter(i=>e[i]!==void 0),o=Object.keys(t).filter(i=>t[i]!==void 0);return!n&&r.length!==o.length?!1:!o.some(i=>!(i in e)||!jn(e[i],t[i],n))}return Array.isArray(e)&&Array.isArray(t)?e.length!==t.length?!1:!e.some((r,o)=>!jn(r,t[o],n)):!1}const ua=typeof window<"u"?L.useLayoutEffect:L.useEffect;function gn(e){let t,n;const r=new Promise((o,i)=>{t=o,n=i});return r.status="pending",r.resolve=o=>{r.status="resolved",r.value=o,t(o),e==null||e(o)},r.reject=o=>{r.status="rejected",n(o)},r}function Tu(e){const t=L.useRef({value:e,prev:null}),n=t.current.value;return e!==n&&(t.current={value:e,prev:n}),t.current.prev}function Gv(e,t,n={},r={}){const o=L.useRef(typeof IntersectionObserver=="function"),i=L.useRef(null);return L.useEffect(()=>{if(!(!e.current||!o.current||r.disabled))return i.current=new IntersectionObserver(([l])=>{t(l)},n),i.current.observe(e.current),()=>{var l;(l=i.current)==null||l.disconnect()}},[t,n,r.disabled,e]),i.current}function Xv(e){const t=L.useRef(null);return L.useEffect(()=>{e&&(typeof e=="function"?e(t.current):e.current=t.current)}),t}function Vt(e){return Ci(e.filter(t=>t!==void 0).join("/"))}function Ci(e){return e.replace(/\/{2,}/g,"/")}function is(e){return e==="/"?e:e.replace(/^\/{1,}/,"")}function tn(e){return e==="/"?e:e.replace(/\/{1,}$/,"")}function Qv(e){return tn(is(e))}function oi(e,t){return e.endsWith("/")&&e!=="/"&&e!==`${t}/`?e.slice(0,-1):e}function Yv(e,t,n){return oi(e,n)===oi(t,n)}function Kv({basepath:e,base:t,to:n,trailingSlash:r="never"}){var o,i;t=ii(e,t),n=ii(e,n);let l=Qn(t);const u=Qn(n);l.length>1&&((o=Cr(l))==null?void 0:o.value)==="/"&&l.pop(),u.forEach((f,y)=>{f.value==="/"?y?y===u.length-1&&l.push(f):l=[f]:f.value===".."?l.pop():f.value==="."||l.push(f)}),l.length>1&&(((i=Cr(l))==null?void 0:i.value)==="/"?r==="never"&&l.pop():r==="always"&&l.push({type:"pathname",value:"/"}));const c=Vt([e,...l.map(f=>f.value)]);return Ci(c)}function Qn(e){if(!e)return[];e=Ci(e);const t=[];if(e.slice(0,1)==="/"&&(e=e.substring(1),t.push({type:"pathname",value:"/"})),!e)return t;const n=e.split("/").filter(Boolean);return t.push(...n.map(r=>r==="$"||r==="*"?{type:"wildcard",value:r}:r.charAt(0)==="$"?{type:"param",value:r}:{type:"pathname",value:decodeURI(r)})),e.slice(-1)==="/"&&(e=e.substring(1),t.push({type:"pathname",value:"/"})),t}function ca({path:e,params:t,leaveWildcards:n,leaveParams:r}){const o=Qn(e),i={};for(const[l,u]of Object.entries(t)){const c=typeof u=="string";["*","_splat"].includes(l)?i[l]=c?encodeURI(u):u:i[l]=c?encodeURIComponent(u):u}return Vt(o.map(l=>{if(l.type==="wildcard"){const u=i._splat;return n?`${l.value}${u??""}`:u}if(l.type==="param"){if(r){const u=i[l.value];return`${l.value}${u??""}`}return i[l.value.substring(1)]??"undefined"}return l.value}))}function go(e,t,n){const r=Zv(e,t,n);if(!(n.to&&!r))return r??{}}function ii(e,t){switch(!0){case e==="/":return t;case t===e:return"";case t.length{for(let c=0;c=o.length-1,s=c>=i.length-1;if(y){if(y.type==="wildcard"){const d=decodeURI(Vt(o.slice(c).map(p=>p.value)));return l["*"]=d,l._splat=d,!0}if(y.type==="pathname"){if(y.value==="/"&&!(f!=null&&f.value))return!0;if(f){if(n.caseSensitive){if(y.value!==f.value)return!1}else if(y.value.toLowerCase()!==f.value.toLowerCase())return!1}}if(!f)return!1;if(y.type==="param"){if(f.value==="/")return!1;f.value.charAt(0)!=="$"&&(l[y.value.substring(1)]=decodeURIComponent(f.value))}}if(!a&&s)return l["**"]=Vt(o.slice(c+1).map(d=>d.value)),!!n.fuzzy&&(y==null?void 0:y.value)!=="/"}return!0})()?l:void 0}function Zt(e){return!!(e!=null&&e.isRedirect)}function Mu(e){return!!(e!=null&&e.isRedirect)&&e.href}function as(e){const t=e.errorComponent??Pi;return E.jsx(qv,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:n,reset:r})=>n?L.createElement(t,{error:n,reset:r}):e.children})}class qv extends L.Component{constructor(){super(...arguments),this.state={error:null}}static getDerivedStateFromProps(t){return{resetKey:t.getResetKey()}}static getDerivedStateFromError(t){return{error:t}}reset(){this.setState({error:null})}componentDidUpdate(t,n){n.error&&n.resetKey!==this.state.resetKey&&this.reset()}componentDidCatch(t,n){this.props.onCatch&&this.props.onCatch(t,n)}render(){return this.props.children({error:this.state.resetKey!==this.props.getResetKey()?null:this.state.error,reset:()=>{this.reset()}})}}function Pi({error:e}){const[t,n]=L.useState(!1);return E.jsxs("div",{style:{padding:".5rem",maxWidth:"100%"},children:[E.jsxs("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[E.jsx("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),E.jsx("button",{style:{appearance:"none",fontSize:".6em",border:"1px solid currentColor",padding:".1rem .2rem",fontWeight:"bold",borderRadius:".25rem"},onClick:()=>n(r=>!r),children:t?"Hide Error":"Show Error"})]}),E.jsx("div",{style:{height:".25rem"}}),t?E.jsx("div",{children:E.jsx("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:e.message?E.jsx("code",{children:e.message}):null})}):null]})}function Oe(e){const t=Qt({warn:(e==null?void 0:e.router)===void 0});return zv(((e==null?void 0:e.router)||t).__store,e==null?void 0:e.select)}function st(e){return!!(e!=null&&e.isNotFound)}function Jv(e){const t=Oe({select:n=>`not-found-${n.location.pathname}-${n.status}`});return E.jsx(as,{getResetKey:()=>t,onCatch:(n,r)=>{var o;if(st(n))(o=e.onCatch)==null||o.call(e,n,r);else throw n},errorComponent:({error:n})=>{var r;return(r=e.fallback)==null?void 0:r.call(e,n)},children:e.children})}function em(){return E.jsx("p",{children:"Not Found"})}const tm={stringify:e=>JSON.stringify(e,function(n,r){const o=this[n],i=Lu.find(l=>l.stringifyCondition(o));return i?i.stringify(o):r}),parse:e=>JSON.parse(e,function(n,r){const o=this[n],i=Lu.find(l=>l.parseCondition(o));return i?i.parse(o):r})},Lu=[{stringifyCondition:e=>e instanceof Date,stringify:e=>({$date:e.toISOString()}),parseCondition:e=>Xn(e)&&e.$date,parse:e=>new Date(e.$date)},{stringifyCondition:e=>e===void 0,stringify:()=>({$undefined:""}),parseCondition:e=>Xn(e)&&e.$undefined==="",parse:()=>{}}],nm=["component","errorComponent","pendingComponent","notFoundComponent"];function rm(e){return new om(e)}class om{constructor(t){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this.resetNextScroll=!0,this.shouldViewTransition=void 0,this.subscribers=new Set,this.startReactTransition=n=>n(),this.update=n=>{n.notFoundRoute&&console.warn("The notFoundRoute API is deprecated and will be removed in the next major version. See https://tanstack.com/router/v1/docs/guide/not-found-errors#migrating-from-notfoundroute for more info.");const r=this.options;this.options={...this.options,...n},this.isServer=this.options.isServer??typeof document>"u",(!this.basepath||n.basepath&&n.basepath!==r.basepath)&&(n.basepath===void 0||n.basepath===""||n.basepath==="/"?this.basepath="/":this.basepath=`/${Qv(n.basepath)}`),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.history=this.options.history??(this.isServer?vv({initialEntries:[this.basepath||"/"]}):fd()),this.latestLocation=this.parseLocation()),this.options.routeTree!==this.routeTree&&(this.routeTree=this.options.routeTree,this.buildRouteTree()),this.__store||(this.__store=new Fv(lm(this.latestLocation),{onUpdate:()=>{this.__store.state={...this.state,cachedMatches:this.state.cachedMatches.filter(o=>!["redirected"].includes(o.status))}}}))},this.buildRouteTree=()=>{this.routesById={},this.routesByPath={};const n=this.options.notFoundRoute;n&&(n.init({originalIndex:99999999999}),this.routesById[n.id]=n);const r=l=>{l.forEach((u,c)=>{u.init({originalIndex:c});const f=this.routesById[u.id];if(Ce(!f,`Duplicate routes found with id: ${String(u.id)}`),this.routesById[u.id]=u,!u.isRoot&&u.path){const a=tn(u.fullPath);(!this.routesByPath[a]||u.fullPath.endsWith("/"))&&(this.routesByPath[a]=u)}const y=u.children;y!=null&&y.length&&r(y)})};r([this.routeTree]);const o=[];Object.values(this.routesById).forEach((l,u)=>{var c;if(l.isRoot||!l.path)return;const f=is(l.fullPath),y=Qn(f);for(;y.length>1&&((c=y[0])==null?void 0:c.value)==="/";)y.shift();const a=y.map(s=>s.value==="/"?.75:s.type==="param"?.5:s.type==="wildcard"?.25:1);o.push({child:l,trimmed:f,parsed:y,index:u,scores:a})}),this.flatRoutes=o.sort((l,u)=>{const c=Math.min(l.scores.length,u.scores.length);for(let f=0;fu.parsed[f].value?1:-1;return l.index-u.index}).map((l,u)=>(l.child.rank=u,l.child))},this.subscribe=(n,r)=>{const o={eventType:n,fn:r};return this.subscribers.add(o),()=>{this.subscribers.delete(o)}},this.emit=n=>{this.subscribers.forEach(r=>{r.eventType===n.type&&r.fn(n)})},this.parseLocation=n=>{const r=({pathname:u,search:c,hash:f,state:y})=>{const a=this.options.parseSearch(c),s=this.options.stringifySearch(a);return{pathname:u,searchStr:s,search:yn(n==null?void 0:n.search,a),hash:f.split("#").reverse()[0]??"",href:`${u}${s}${f}`,state:yn(n==null?void 0:n.state,y)}},o=r(this.history.location),{__tempLocation:i,__tempKey:l}=o.state;if(i&&(!l||l===this.tempLocationKey)){const u=r(i);return u.state.key=o.state.key,delete u.state.__tempLocation,{...u,maskedLocation:o}}return o},this.resolvePathWithBase=(n,r)=>Kv({basepath:this.basepath,base:n,to:Ci(r),trailingSlash:this.options.trailingSlash}),this.cancelMatch=n=>{const r=this.getMatch(n);r&&(r.abortController.abort(),clearTimeout(r.pendingTimeout))},this.cancelMatches=()=>{var n;(n=this.state.pendingMatches)==null||n.forEach(r=>{this.cancelMatch(r.id)})},this.buildLocation=n=>{const r=(i={},l)=>{var u,c,f,y;const a=i._fromLocation?this.matchRoutes(i._fromLocation):this.state.matches,s=i.from!=null?a.find(F=>go(this.basepath,tn(F.pathname),{to:i.from,caseSensitive:!1,fuzzy:!1})):void 0,d=(s==null?void 0:s.pathname)||this.latestLocation.pathname;Ce(i.from==null||s!=null,"Could not find match for from: "+i.from);const p=this.state.pendingMatches?(u=Cr(this.state.pendingMatches))==null?void 0:u.search:((c=Cr(a))==null?void 0:c.search)||this.latestLocation.search,v=l==null?void 0:l.filter(F=>a.find(V=>V.routeId===F.routeId)),_=this.routesById[(f=v==null?void 0:v.find(F=>F.pathname===d))==null?void 0:f.routeId];let h=i.to?this.resolvePathWithBase(d,`${i.to}`):this.resolvePathWithBase(d,(_==null?void 0:_.to)??d);const m={...(y=Cr(a))==null?void 0:y.params};let g=(i.params??!0)===!0?m:{...m,...An(i.params,m)};Object.keys(g).length>0&&(l==null||l.map(F=>{var V;const X=this.looseRoutesById[F.routeId];return((V=X==null?void 0:X.options.params)==null?void 0:V.stringify)??X.options.stringifyParams}).filter(Boolean).forEach(F=>{g={...g,...F(g)}})),h=ca({path:h,params:g??{},leaveWildcards:!1,leaveParams:n.leaveParams});const w=(v==null?void 0:v.map(F=>this.looseRoutesById[F.routeId].options.preSearchFilters??[]).flat().filter(Boolean))??[],S=(v==null?void 0:v.map(F=>this.looseRoutesById[F.routeId].options.postSearchFilters??[]).flat().filter(Boolean))??[],k=w.length?w.reduce((F,V)=>V(F),p):p,C=i.search===!0?k:i.search?An(i.search,k):w.length?k:{},M=S.length?S.reduce((F,V)=>V(F),C):C,T=yn(p,M),A=this.options.stringifySearch(T),N=i.hash===!0?this.latestLocation.hash:i.hash?An(i.hash,this.latestLocation.hash):void 0,b=N?`#${N}`:"";let G=i.state===!0?this.latestLocation.state:i.state?An(i.state,this.latestLocation.state):{};return G=yn(this.latestLocation.state,G),{pathname:h,search:T,searchStr:A,state:G,hash:N??"",href:`${h}${A}${b}`,unmaskOnReload:i.unmaskOnReload}},o=(i={},l)=>{var u;const c=r(i);let f=l?r(l):void 0;if(!f){let p={};const v=(u=this.options.routeMasks)==null?void 0:u.find(_=>{const h=go(this.basepath,c.pathname,{to:_.from,caseSensitive:!1,fuzzy:!1});return h?(p=h,!0):!1});if(v){const{from:_,...h}=v;l={...Pr(n,["from"]),...h,params:p},f=r(l)}}const y=this.matchRoutes(c),a=f?this.matchRoutes(f):void 0,s=f?r(l,a):void 0,d=r(i,y);return s&&(d.maskedLocation=s),d};return n.mask?o(n,{...Pr(n,["from"]),...n.mask}):o(n)},this.commitLocation=({viewTransition:n,ignoreBlocker:r,...o})=>{const i=()=>{o.state.key=this.latestLocation.state.key;const c=jn(o.state,this.latestLocation.state);return delete o.state.key,c},l=this.latestLocation.href===o.href,u=this.commitLocationPromise;if(this.commitLocationPromise=gn(()=>{u==null||u.resolve()}),l&&i())this.load();else{let{maskedLocation:c,...f}=o;c&&(f={...c,state:{...c.state,__tempKey:void 0,__tempLocation:{...f,search:f.searchStr,state:{...f.state,__tempKey:void 0,__tempLocation:void 0,key:void 0}}}},(f.unmaskOnReload??this.options.unmaskOnReload??!1)&&(f.state.__tempKey=this.tempLocationKey)),this.shouldViewTransition=n,this.history[o.replace?"replace":"push"](f.href,f.state,{ignoreBlocker:r})}return this.resetNextScroll=o.resetScroll??!0,this.history.subscribers.size||this.load(),this.commitLocationPromise},this.buildAndCommitLocation=({replace:n,resetScroll:r,viewTransition:o,ignoreBlocker:i,...l}={})=>{const u=l.href;if(u){const f=Ur(u,{});l.to=f.pathname,l.search=this.options.parseSearch(f.search),l.hash=f.hash}const c=this.buildLocation(l);return this.commitLocation({...c,viewTransition:o,replace:n,resetScroll:r,ignoreBlocker:i})},this.navigate=({to:n,...r})=>{const o=String(n);let i;try{new URL(`${o}`),i=!0}catch{}return Ce(!i),this.buildAndCommitLocation({...r,to:n})},this.load=async()=>{this.latestLocation=this.parseLocation(this.latestLocation);let n,r,o;for(o=new Promise(i=>{this.startReactTransition(async()=>{var l;try{const u=this.latestLocation,c=this.state.resolvedLocation,f=c.href!==u.href;this.cancelMatches();let y;this.__store.batch(()=>{y=this.matchRoutes(u),this.__store.setState(a=>({...a,status:"pending",isLoading:!0,location:u,pendingMatches:y,cachedMatches:a.cachedMatches.filter(s=>!y.find(d=>d.id===s.id))}))}),this.state.redirect||this.emit({type:"onBeforeNavigate",fromLocation:c,toLocation:u,pathChanged:f}),this.emit({type:"onBeforeLoad",fromLocation:c,toLocation:u,pathChanged:f}),await this.loadMatches({matches:y,location:u,onReady:async()=>{this.startViewTransition(async()=>{let a,s,d;this.__store.batch(()=>{this.__store.setState(p=>{const v=p.matches,_=p.pendingMatches||p.matches;return a=v.filter(h=>!_.find(m=>m.id===h.id)),s=_.filter(h=>!v.find(m=>m.id===h.id)),d=v.filter(h=>_.find(m=>m.id===h.id)),{...p,isLoading:!1,loadedAt:Date.now(),matches:_,pendingMatches:void 0,cachedMatches:[...p.cachedMatches,...a.filter(h=>h.status!=="error")]}}),this.cleanCache()}),[[a,"onLeave"],[s,"onEnter"],[d,"onStay"]].forEach(([p,v])=>{p.forEach(_=>{var h,m;(m=(h=this.looseRoutesById[_.routeId].options)[v])==null||m.call(h,_)})})})}})}catch(u){Mu(u)?(n=u,this.isServer||this.navigate({...u,replace:!0,ignoreBlocker:!0})):st(u)&&(r=u),this.__store.setState(c=>({...c,statusCode:n?n.statusCode:r?404:c.matches.some(f=>f.status==="error")?500:200,redirect:n}))}this.latestLoadPromise===o&&((l=this.commitLocationPromise)==null||l.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),i()})}),this.latestLoadPromise=o,await o;this.latestLoadPromise&&o!==this.latestLoadPromise;)await this.latestLoadPromise},this.startViewTransition=n=>{const r=this.shouldViewTransition??this.options.defaultViewTransition;delete this.shouldViewTransition,r&&typeof document<"u"&&"startViewTransition"in document&&typeof document.startViewTransition=="function"?document.startViewTransition(n):n()},this.updateMatch=(n,r)=>{var o;let i;const l=(o=this.state.pendingMatches)==null?void 0:o.find(f=>f.id===n),u=this.state.matches.find(f=>f.id===n),c=l?"pendingMatches":u?"matches":"cachedMatches";return this.__store.setState(f=>{var y;return{...f,[c]:(y=f[c])==null?void 0:y.map(a=>a.id===n?i=r(a):a)}}),i},this.getMatch=n=>[...this.state.cachedMatches,...this.state.pendingMatches??[],...this.state.matches].find(r=>r.id===n),this.loadMatches=async({location:n,matches:r,preload:o,onReady:i,updateMatch:l=this.updateMatch})=>{let u,c=!1;const f=async()=>{c||(c=!0,await(i==null?void 0:i()))};!this.isServer&&!this.state.matches.length&&f();const y=(a,s)=>{var d,p,v;if(Mu(s))throw s;if(Zt(s)||st(s)){if(l(a.id,_=>({..._,status:Zt(s)?"redirected":st(s)?"notFound":"error",isFetching:!1,error:s,beforeLoadPromise:void 0,loaderPromise:void 0})),s.routeId||(s.routeId=a.routeId),(d=a.beforeLoadPromise)==null||d.resolve(),(p=a.loaderPromise)==null||p.resolve(),(v=a.loadPromise)==null||v.resolve(),Zt(s))throw c=!0,s=this.resolveRedirect({...s,_fromLocation:n}),s;if(st(s))throw this._handleNotFound(r,s,{updateMatch:l}),s}};try{await new Promise((a,s)=>{(async()=>{var d,p,v;try{const _=(g,w,S)=>{var k,C;const{id:M,routeId:T}=r[g],A=this.looseRoutesById[T];if(w instanceof Promise)throw w;w.routerCode=S,u=u??g,y(this.getMatch(M),w);try{(C=(k=A.options).onError)==null||C.call(k,w)}catch(N){w=N,y(this.getMatch(M),w)}l(M,N=>{var b;return(b=N.beforeLoadPromise)==null||b.resolve(),{...N,error:w,status:"error",isFetching:!1,updatedAt:Date.now(),abortController:new AbortController,beforeLoadPromise:void 0}})};for(const[g,{id:w,routeId:S}]of r.entries()){const k=this.getMatch(w),C=(d=r[g-1])==null?void 0:d.id,M=this.looseRoutesById[S],T=M.options.pendingMs??this.options.defaultPendingMs,A=!!(i&&!this.isServer&&!o&&(M.options.loader||M.options.beforeLoad)&&typeof T=="number"&&T!==1/0&&(M.options.pendingComponent??this.options.defaultPendingComponent));if(k.beforeLoadPromise||k.loaderPromise)A&&setTimeout(()=>{try{f()}catch{}},T),await k.beforeLoadPromise;else{try{l(w,D=>({...D,loadPromise:gn(()=>{var oe;(oe=D.loadPromise)==null||oe.resolve()}),beforeLoadPromise:gn()}));const N=new AbortController;let b;A&&(b=setTimeout(()=>{try{f()}catch{}},T));const{paramsError:G,searchError:F}=this.getMatch(w);G&&_(g,G,"PARSE_PARAMS"),F&&_(g,F,"VALIDATE_SEARCH");const V=()=>C?this.getMatch(C).context:this.options.context??{};l(w,D=>({...D,isFetching:"beforeLoad",fetchCount:D.fetchCount+1,abortController:N,pendingTimeout:b,context:{...V(),...D.__routeContext,...D.__beforeLoadContext}}));const{search:X,params:fe,context:x,cause:I}=this.getMatch(w),O={search:X,abortController:N,params:fe,preload:!!o,context:x,location:n,navigate:D=>this.navigate({...D,_fromLocation:n}),buildLocation:this.buildLocation,cause:o?"preload":I,matches:r};let z=await((v=(p=M.options).beforeLoad)==null?void 0:v.call(p,O))??{};this.serializeLoaderData&&(z=this.serializeLoaderData("__beforeLoadContext",z,{router:this,match:this.getMatch(w)})),(Zt(z)||st(z))&&_(g,z,"BEFORE_LOAD"),l(w,D=>({...D,__beforeLoadContext:z,context:{...V(),...D.__routeContext,...z},abortController:N}))}catch(N){_(g,N,"BEFORE_LOAD")}l(w,N=>{var b;return(b=N.beforeLoadPromise)==null||b.resolve(),{...N,beforeLoadPromise:void 0,isFetching:!1}})}}const h=r.slice(0,u),m=[];h.forEach(({id:g,routeId:w},S)=>{m.push((async()=>{const{loaderPromise:k}=this.getMatch(g);let C=!1;if(k)await k;else{const M=m[S-1],T=this.looseRoutesById[w],A=()=>{const{params:O,loaderDeps:z,abortController:D,context:oe,cause:ae}=this.getMatch(g);return{params:O,deps:z,preload:!!o,parentMatchPromise:M,abortController:D,context:oe,location:n,navigate:Ke=>this.navigate({...Ke,_fromLocation:n}),cause:o?"preload":ae,route:T}},N=Date.now()-this.getMatch(g).updatedAt,b=o?T.options.preloadStaleTime??this.options.defaultPreloadStaleTime??3e4:T.options.staleTime??this.options.defaultStaleTime??0,G=T.options.shouldReload,F=typeof G=="function"?G(A()):G;l(g,O=>({...O,loaderPromise:gn(),preload:!!o&&!this.state.matches.find(z=>z.id===g)}));const V=async()=>{var O,z,D,oe,ae,Ke,be,ht;try{const pn=async()=>{const ke=this.getMatch(g);ke.minPendingPromise&&await ke.minPendingPromise};try{T._lazyPromise=T._lazyPromise||(T.lazyFn?T.lazyFn().then(it=>{Object.assign(T.options,it.options)}):Promise.resolve());const ke=this.getMatch(g).componentsPromise||T._lazyPromise.then(()=>Promise.all(nm.map(async it=>{const Y=T.options[it];Y!=null&&Y.preload&&await Y.preload()})));l(g,it=>({...it,isFetching:"loader",componentsPromise:ke})),await T._lazyPromise;let Ie=await((z=(O=T.options).loader)==null?void 0:z.call(O,A()));this.serializeLoaderData&&(Ie=this.serializeLoaderData("loaderData",Ie,{router:this,match:this.getMatch(g)})),y(this.getMatch(g),Ie),await pn();const ot=(oe=(D=T.options).meta)==null?void 0:oe.call(D,{matches:r,match:this.getMatch(g),params:this.getMatch(g).params,loaderData:Ie}),Jr=(Ke=(ae=T.options).headers)==null?void 0:Ke.call(ae,{loaderData:Ie});l(g,it=>({...it,error:void 0,status:"success",isFetching:!1,updatedAt:Date.now(),loaderData:Ie,meta:ot,headers:Jr}))}catch(ke){let Ie=ke;await pn(),y(this.getMatch(g),ke);try{(ht=(be=T.options).onError)==null||ht.call(be,ke)}catch(ot){Ie=ot,y(this.getMatch(g),ot)}l(g,ot=>({...ot,error:Ie,status:"error",isFetching:!1}))}await this.getMatch(g).componentsPromise}catch(pn){y(this.getMatch(g),pn)}},{status:X,invalid:fe}=this.getMatch(g);C=X==="success"&&(fe||(F??N>b)),o&&T.options.preload===!1||(C?(async()=>{try{await V()}catch{}})():X!=="success"&&await V());const{loaderPromise:x,loadPromise:I}=this.getMatch(g);x==null||x.resolve(),I==null||I.resolve()}l(g,M=>({...M,isFetching:C?M.isFetching:!1,loaderPromise:void 0}))})())}),await Promise.all(m),a()}catch(_){s(_)}})()}),await f()}catch(a){if(Zt(a)||st(a))throw st(a)&&!o&&await f(),a}return r},this.invalidate=()=>{const n=r=>({...r,invalid:!0,...r.status==="error"?{status:"pending",error:void 0}:{}});return this.__store.setState(r=>{var o;return{...r,matches:r.matches.map(n),cachedMatches:r.cachedMatches.map(n),pendingMatches:(o=r.pendingMatches)==null?void 0:o.map(n)}}),this.load()},this.resolveRedirect=n=>{const r=n;return r.href||(r.href=this.buildLocation(r).href),r},this.cleanCache=()=>{this.__store.setState(n=>({...n,cachedMatches:n.cachedMatches.filter(r=>{const o=this.looseRoutesById[r.routeId];if(!o.options.loader)return!1;const i=(r.preload?o.options.preloadGcTime??this.options.defaultPreloadGcTime:o.options.gcTime??this.options.defaultGcTime)??5*60*1e3;return r.status!=="error"&&Date.now()-r.updatedAt{const r=this.buildLocation(n);let o=this.matchRoutes(r,{throwOnError:!0,preload:!0});const i=Object.fromEntries([...this.state.matches,...this.state.pendingMatches??[],...this.state.cachedMatches].map(u=>[u.id,!0]));this.__store.batch(()=>{o.forEach(u=>{i[u.id]||this.__store.setState(c=>({...c,cachedMatches:[...c.cachedMatches,u]}))})});const l=new Set([...this.state.matches,...this.state.pendingMatches??[]].map(u=>u.id));try{return o=await this.loadMatches({matches:o,location:r,preload:!0,updateMatch:(u,c)=>{l.has(u)?o=o.map(f=>f.id===u?c(f):f):this.updateMatch(u,c)}}),o}catch(u){if(Zt(u))return await this.preloadRoute({...u,_fromLocation:r});console.error(u);return}},this.matchRoute=(n,r)=>{const o={...n,to:n.to?this.resolvePathWithBase(n.from||"",n.to):void 0,params:n.params||{},leaveParams:!0},i=this.buildLocation(o);if(r!=null&&r.pending&&this.state.status!=="pending")return!1;const u=((r==null?void 0:r.pending)===void 0?!this.state.isLoading:r.pending)?this.latestLocation:this.state.resolvedLocation,c=go(this.basepath,u.pathname,{...r,to:i.pathname});return!c||n.params&&!jn(c,n.params,!0)?!1:c&&((r==null?void 0:r.includeSearch)??!0)?jn(u.search,i.search,!0)?c:!1:c},this.dehydrate=()=>{var n;const r=((n=this.options.errorSerializer)==null?void 0:n.serialize)??sm;return{state:{dehydratedMatches:this.state.matches.map(o=>({...Pr(o,["id","status","updatedAt"]),error:o.error?{data:r(o.error),__isServerError:!0}:void 0}))},manifest:this.manifest}},this.hydrate=()=>{var n,r,o;let i;typeof document<"u"&&(i=this.options.transformer.parse((n=window.__TSR__)==null?void 0:n.dehydrated)),Ce(i),this.dehydratedData=i.payload,(o=(r=this.options).hydrate)==null||o.call(r,i.payload);const l=i.router.state,u=this.matchRoutes(this.state.location).map(c=>{const f=l.dehydratedMatches.find(y=>y.id===c.id);return Ce(f,`Could not find a client-side match for dehydrated match with id: ${c.id}!`),{...c,...f}});this.__store.setState(c=>({...c,matches:u})),this.manifest=i.router.manifest},this.injectedHtml=[],this.injectHtml=n=>{const r=()=>(this.injectedHtml=this.injectedHtml.filter(o=>o!==r),n);this.injectedHtml.push(r)},this.streamedKeys=new Set,this.getStreamedValue=n=>{var r;if(this.isServer)return;const o=(r=window.__TSR__)==null?void 0:r.streamedValues[n];if(o)return o.parsed||(o.parsed=this.options.transformer.parse(o.value)),o.parsed},this.streamValue=(n,r)=>{var o;this.streamedKeys.has(n),this.streamedKeys.add(n);const i=`__TSR__.streamedValues['${n}'] = { value: ${(o=this.serializer)==null?void 0:o.call(this,this.options.transformer.stringify(r))}}`;this.injectHtml(` + diff --git a/sw.js b/sw.js index 35e499b..618e329 100644 --- a/sw.js +++ b/sw.js @@ -1 +1 @@ -if(!self.define){let e,s={};const i=(i,n)=>(i=new URL(i+".js",n).href,s[i]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=s,document.head.appendChild(e)}else e=i,importScripts(i),s()})).then((()=>{let e=s[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e})));self.define=(n,r)=>{const t=e||("document"in self?document.currentScript.src:"")||location.href;if(s[t])return;let o={};const d=e=>i(e,t),l={module:{uri:t},exports:o,require:d};s[t]=Promise.all(n.map((e=>l[e]||d(e)))).then((e=>(r(...e),o)))}}define(["./workbox-e1498109"],(function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"assets/index-C3ndmOpK.js",revision:null},{url:"assets/index-CpxD4pV3.css",revision:null},{url:"index.html",revision:"3efa822bbd9b2d29a73db6cf5cb98a2a"},{url:"registerSW.js",revision:"c9efba4313003d61db381f3033dab82d"},{url:"manifest.webmanifest",revision:"1026825ce8b740b893d1d347a44c85bf"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html")))})); +if(!self.define){let e,s={};const i=(i,n)=>(i=new URL(i+".js",n).href,s[i]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=s,document.head.appendChild(e)}else e=i,importScripts(i),s()})).then((()=>{let e=s[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e})));self.define=(n,t)=>{const r=e||("document"in self?document.currentScript.src:"")||location.href;if(s[r])return;let o={};const l=e=>i(e,r),d={module:{uri:r},exports:o,require:l};s[r]=Promise.all(n.map((e=>d[e]||l(e)))).then((e=>(t(...e),o)))}}define(["./workbox-e1498109"],(function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"assets/index-Cctp1nxa.js",revision:null},{url:"assets/index-CpxD4pV3.css",revision:null},{url:"index.html",revision:"f356e5d305c8c8bfb55bd1012e6a5609"},{url:"registerSW.js",revision:"c9efba4313003d61db381f3033dab82d"},{url:"manifest.webmanifest",revision:"1026825ce8b740b893d1d347a44c85bf"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html")))}));