function Rw(t,n){for(var o=0;oi[a]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))i(a);new MutationObserver(a=>{for(const u of a)if(u.type==="childList")for(const c of u.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&i(c)}).observe(document,{childList:!0,subtree:!0});function o(a){const u={};return a.integrity&&(u.integrity=a.integrity),a.referrerPolicy&&(u.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?u.credentials="include":a.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function i(a){if(a.ep)return;a.ep=!0;const u=o(a);fetch(a.href,u)}})();function $r(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Wu={exports:{}},bi={},Hu={exports:{}},ye={};var Rh;function Nw(){if(Rh)return ye;Rh=1;var t=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),g=Symbol.iterator;function w(A){return A===null||typeof A!="object"?null:(A=g&&A[g]||A["@@iterator"],typeof A=="function"?A:null)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},R=Object.assign,T={};function C(A,I,q){this.props=A,this.context=I,this.refs=T,this.updater=q||E}C.prototype.isReactComponent={},C.prototype.setState=function(A,I){if(typeof A!="object"&&typeof A!="function"&&A!=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,A,I,"setState")},C.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function P(){}P.prototype=C.prototype;function j(A,I,q){this.props=A,this.context=I,this.refs=T,this.updater=q||E}var _=j.prototype=new P;_.constructor=j,R(_,C.prototype),_.isPureReactComponent=!0;var F=Array.isArray,O=Object.prototype.hasOwnProperty,G={current:null},K={key:!0,ref:!0,__self:!0,__source:!0};function Y(A,I,q){var re,oe={},fe=null,xe=null;if(I!=null)for(re in I.ref!==void 0&&(xe=I.ref),I.key!==void 0&&(fe=""+I.key),I)O.call(I,re)&&!K.hasOwnProperty(re)&&(oe[re]=I[re]);var ie=arguments.length-2;if(ie===1)oe.children=q;else if(1>>1,I=U[A];if(0>>1;Aa(oe,H))fea(xe,oe)?(U[A]=xe,U[fe]=H,A=fe):(U[A]=oe,U[re]=H,A=re);else if(fea(xe,H))U[A]=xe,U[fe]=H,A=fe;else break e}}return Q}function a(U,Q){var H=U.sortIndex-Q.sortIndex;return H!==0?H:U.id-Q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var u=performance;t.unstable_now=function(){return u.now()}}else{var c=Date,d=c.now();t.unstable_now=function(){return c.now()-d}}var p=[],m=[],v=1,g=null,w=3,E=!1,R=!1,T=!1,C=typeof setTimeout=="function"?setTimeout:null,P=typeof clearTimeout=="function"?clearTimeout:null,j=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function _(U){for(var Q=o(m);Q!==null;){if(Q.callback===null)i(m);else if(Q.startTime<=U)i(m),Q.sortIndex=Q.expirationTime,n(p,Q);else break;Q=o(m)}}function F(U){if(T=!1,_(U),!R)if(o(p)!==null)R=!0,ce(O);else{var Q=o(m);Q!==null&&ne(F,Q.startTime-U)}}function O(U,Q){R=!1,T&&(T=!1,P(Y),Y=-1),E=!0;var H=w;try{for(_(Q),g=o(p);g!==null&&(!(g.expirationTime>Q)||U&&!Ce());){var A=g.callback;if(typeof A=="function"){g.callback=null,w=g.priorityLevel;var I=A(g.expirationTime<=Q);Q=t.unstable_now(),typeof I=="function"?g.callback=I:g===o(p)&&i(p),_(Q)}else i(p);g=o(p)}if(g!==null)var q=!0;else{var re=o(m);re!==null&&ne(F,re.startTime-Q),q=!1}return q}finally{g=null,w=H,E=!1}}var G=!1,K=null,Y=-1,pe=5,ge=-1;function Ce(){return!(t.unstable_now()-geU||125A?(U.sortIndex=H,n(m,U),o(p)===null&&U===o(m)&&(T?(P(Y),Y=-1):T=!0,ne(F,H-A))):(U.sortIndex=I,n(p,U),R||E||(R=!0,ce(O))),U},t.unstable_shouldYield=Ce,t.unstable_wrapCallback=function(U){var Q=w;return function(){var H=w;w=Q;try{return U.apply(this,arguments)}finally{w=H}}}})(Yu)),Yu}var jh;function jw(){return jh||(jh=1,Gu.exports=Dw()),Gu.exports}var Lh;function Lw(){if(Lh)return Tt;Lh=1;var t=Qa(),n=jw();function o(e){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+e,s=1;s"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),p=Object.prototype.hasOwnProperty,m=/^[: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]*$/,v={},g={};function w(e){return p.call(g,e)?!0:p.call(v,e)?!1:m.test(e)?g[e]=!0:(v[e]=!0,!1)}function E(e,r,s,l){if(s!==null&&s.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return l?!1:s!==null?!s.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function R(e,r,s,l){if(r===null||typeof r>"u"||E(e,r,s,l))return!0;if(l)return!1;if(s!==null)switch(s.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function T(e,r,s,l,f,h,y){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=l,this.attributeNamespace=f,this.mustUseProperty=s,this.propertyName=e,this.type=r,this.sanitizeURL=h,this.removeEmptyString=y}var C={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){C[e]=new T(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var r=e[0];C[r]=new T(r,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){C[e]=new T(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){C[e]=new T(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){C[e]=new T(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){C[e]=new T(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){C[e]=new T(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){C[e]=new T(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){C[e]=new T(e,5,!1,e.toLowerCase(),null,!1,!1)});var P=/[\-:]([a-z])/g;function j(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 r=e.replace(P,j);C[r]=new T(r,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var r=e.replace(P,j);C[r]=new T(r,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var r=e.replace(P,j);C[r]=new T(r,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){C[e]=new T(e,1,!1,e.toLowerCase(),null,!1,!1)}),C.xlinkHref=new T("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){C[e]=new T(e,1,!1,e.toLowerCase(),null,!0,!0)});function _(e,r,s,l){var f=C.hasOwnProperty(r)?C[r]:null;(f!==null?f.type!==0:l||!(2b||f[y]!==h[b]){var k=` `+f[y].replace(" at new "," at ");return e.displayName&&k.includes("")&&(k=k.replace("",e.displayName)),k}while(1<=y&&0<=b);break}}}finally{q=!1,Error.prepareStackTrace=s}return(e=e?e.displayName||e.name:"")?I(e):""}function oe(e){switch(e.tag){case 5:return I(e.type);case 16:return I("Lazy");case 13:return I("Suspense");case 19:return I("SuspenseList");case 0:case 2:case 15:return e=re(e.type,!1),e;case 11:return e=re(e.type.render,!1),e;case 1:return e=re(e.type,!0),e;default:return""}}function fe(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 K:return"Fragment";case G:return"Portal";case pe:return"Profiler";case Y:return"StrictMode";case Se:return"Suspense";case ke:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ce:return(e.displayName||"Context")+".Consumer";case ge:return(e._context.displayName||"Context")+".Provider";case ue:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case be:return r=e.displayName||null,r!==null?r:fe(e.type)||"Memo";case ce:r=e._payload,e=e._init;try{return fe(e(r))}catch{}}return null}function xe(e){var r=e.type;switch(e.tag){case 24:return"Cache";case 9:return(r.displayName||"Context")+".Consumer";case 10:return(r._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=r.render,e=e.displayName||e.name||"",r.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return r;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return fe(r);case 8:return r===Y?"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 r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r}return null}function ie(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Te(e){var r=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function Qe(e){var r=Te(e)?"checked":"value",s=Object.getOwnPropertyDescriptor(e.constructor.prototype,r),l=""+e[r];if(!e.hasOwnProperty(r)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var f=s.get,h=s.set;return Object.defineProperty(e,r,{configurable:!0,get:function(){return f.call(this)},set:function(y){l=""+y,h.call(this,y)}}),Object.defineProperty(e,r,{enumerable:s.enumerable}),{getValue:function(){return l},setValue:function(y){l=""+y},stopTracking:function(){e._valueTracker=null,delete e[r]}}}}function vn(e){e._valueTracker||(e._valueTracker=Qe(e))}function yn(e){if(!e)return!1;var r=e._valueTracker;if(!r)return!0;var s=r.getValue(),l="";return e&&(l=Te(e)?e.checked?"true":"false":e.value),e=l,e!==s?(r.setValue(e),!0):!1}function Kr(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 yr(e,r){var s=r.checked;return H({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:s??e._wrapperState.initialChecked})}function ls(e,r){var s=r.defaultValue==null?"":r.defaultValue,l=r.checked!=null?r.checked:r.defaultChecked;s=ie(r.value!=null?r.value:s),e._wrapperState={initialChecked:l,initialValue:s,controlled:r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null}}function Vo(e,r){r=r.checked,r!=null&&_(e,"checked",r,!1)}function xn(e,r){Vo(e,r);var s=ie(r.value),l=r.type;if(s!=null)l==="number"?(s===0&&e.value===""||e.value!=s)&&(e.value=""+s):e.value!==""+s&&(e.value=""+s);else if(l==="submit"||l==="reset"){e.removeAttribute("value");return}r.hasOwnProperty("value")?kt(e,r.type,s):r.hasOwnProperty("defaultValue")&&kt(e,r.type,ie(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(e.defaultChecked=!!r.defaultChecked)}function Bo(e,r,s){if(r.hasOwnProperty("value")||r.hasOwnProperty("defaultValue")){var l=r.type;if(!(l!=="submit"&&l!=="reset"||r.value!==void 0&&r.value!==null))return;r=""+e._wrapperState.initialValue,s||r===e.value||(e.value=r),e.defaultValue=r}s=e.name,s!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,s!==""&&(e.name=s)}function kt(e,r,s){(r!=="number"||Kr(e.ownerDocument)!==e)&&(s==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+s&&(e.defaultValue=""+s))}var xr=Array.isArray;function Fn(e,r,s,l){if(e=e.options,r){r={};for(var f=0;f"+r.valueOf().toString()+"",r=Sr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;r.firstChild;)e.appendChild(r.firstChild)}});function _t(e,r){if(r){var s=e.firstChild;if(s&&s===e.lastChild&&s.nodeType===3){s.nodeValue=r;return}}e.textContent=r}var Vn={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},Bn=["Webkit","ms","Moz","O"];Object.keys(Vn).forEach(function(e){Bn.forEach(function(r){r=r+e.charAt(0).toUpperCase()+e.substring(1),Vn[r]=Vn[e]})});function ds(e,r,s){return r==null||typeof r=="boolean"||r===""?"":s||typeof r!="number"||r===0||Vn.hasOwnProperty(e)&&Vn[e]?(""+r).trim():r+"px"}function fs(e,r){e=e.style;for(var s in r)if(r.hasOwnProperty(s)){var l=s.indexOf("--")===0,f=ds(s,r[s],l);s==="float"&&(s="cssFloat"),l?e.setProperty(s,f):e[s]=f}}var ps=H({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 Yr(e,r){if(r){if(ps[e]&&(r.children!=null||r.dangerouslySetInnerHTML!=null))throw Error(o(137,e));if(r.dangerouslySetInnerHTML!=null){if(r.children!=null)throw Error(o(60));if(typeof r.dangerouslySetInnerHTML!="object"||!("__html"in r.dangerouslySetInnerHTML))throw Error(o(61))}if(r.style!=null&&typeof r.style!="object")throw Error(o(62))}}function Uo(e,r){if(e.indexOf("-")===-1)return typeof r.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 Er=null;function Ot(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var $o=null,zn=null,Sn=null;function Wo(e){if(e=ci(e)){if(typeof $o!="function")throw Error(o(280));var r=e.stateNode;r&&(r=Ls(r),$o(e.stateNode,e.type,r))}}function he(e){zn?Sn?Sn.push(e):Sn=[e]:zn=e}function Ue(){if(zn){var e=zn,r=Sn;if(Sn=zn=null,Wo(e),r)for(e=0;e>>=0,e===0?32:31-(W0(e)/H0|0)|0}var gs=64,vs=4194304;function Ko(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 ys(e,r){var s=e.pendingLanes;if(s===0)return 0;var l=0,f=e.suspendedLanes,h=e.pingedLanes,y=s&268435455;if(y!==0){var b=y&~f;b!==0?l=Ko(b):(h&=y,h!==0&&(l=Ko(h)))}else y=s&~f,y!==0?l=Ko(y):h!==0&&(l=Ko(h));if(l===0)return 0;if(r!==0&&r!==l&&(r&f)===0&&(f=l&-l,h=r&-r,f>=h||f===16&&(h&4194240)!==0))return r;if((l&4)!==0&&(l|=s&16),r=e.entangledLanes,r!==0)for(e=e.entanglements,r&=l;0s;s++)r.push(e);return r}function Go(e,r,s){e.pendingLanes|=r,r!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,r=31-Gt(r),e[r]=s}function q0(e,r){var s=e.pendingLanes&~r;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=r,e.mutableReadLanes&=r,e.entangledLanes&=r,r=e.entanglements;var l=e.eventTimes;for(e=e.expirationTimes;0=ti),Sf=" ",Ef=!1;function Tf(e,r){switch(e){case"keyup":return Tx.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Cf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Qr=!1;function bx(e,r){switch(e){case"compositionend":return Cf(r);case"keypress":return r.which!==32?null:(Ef=!0,Sf);case"textInput":return e=r.data,e===Sf&&Ef?null:e;default:return null}}function Px(e,r){if(Qr)return e==="compositionend"||!Cl&&Tf(e,r)?(e=mf(),Ts=yl=qn=null,Qr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1=r)return{node:s,offset:r-e};e=l}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=Mf(s)}}function jf(e,r){return e&&r?e===r?!0:e&&e.nodeType===3?!1:r&&r.nodeType===3?jf(e,r.parentNode):"contains"in e?e.contains(r):e.compareDocumentPosition?!!(e.compareDocumentPosition(r)&16):!1:!1}function Lf(){for(var e=window,r=Kr();r instanceof e.HTMLIFrameElement;){try{var s=typeof r.contentWindow.location.href=="string"}catch{s=!1}if(s)e=r.contentWindow;else break;r=Kr(e.document)}return r}function kl(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r&&(r==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||r==="textarea"||e.contentEditable==="true")}function _x(e){var r=Lf(),s=e.focusedElem,l=e.selectionRange;if(r!==s&&s&&s.ownerDocument&&jf(s.ownerDocument.documentElement,s)){if(l!==null&&kl(s)){if(r=l.start,e=l.end,e===void 0&&(e=r),"selectionStart"in s)s.selectionStart=r,s.selectionEnd=Math.min(e,s.value.length);else if(e=(r=s.ownerDocument||document)&&r.defaultView||window,e.getSelection){e=e.getSelection();var f=s.textContent.length,h=Math.min(l.start,f);l=l.end===void 0?h:Math.min(l.end,f),!e.extend&&h>l&&(f=l,l=h,h=f),f=Df(s,h);var y=Df(s,l);f&&y&&(e.rangeCount!==1||e.anchorNode!==f.node||e.anchorOffset!==f.offset||e.focusNode!==y.node||e.focusOffset!==y.offset)&&(r=r.createRange(),r.setStart(f.node,f.offset),e.removeAllRanges(),h>l?(e.addRange(r),e.extend(y.node,y.offset)):(r.setEnd(y.node,y.offset),e.addRange(r)))}}for(r=[],e=s;e=e.parentNode;)e.nodeType===1&&r.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s=document.documentMode,Zr=null,Rl=null,ii=null,Nl=!1;function _f(e,r,s){var l=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;Nl||Zr==null||Zr!==Kr(l)||(l=Zr,"selectionStart"in l&&kl(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),ii&&oi(ii,l)||(ii=l,l=Ms(Rl,"onSelect"),0ro||(e.current=zl[ro],zl[ro]=null,ro--)}function Re(e,r){ro++,zl[ro]=e.current,e.current=r}var Jn={},lt=Zn(Jn),yt=Zn(!1),br=Jn;function oo(e,r){var s=e.type.contextTypes;if(!s)return Jn;var l=e.stateNode;if(l&&l.__reactInternalMemoizedUnmaskedChildContext===r)return l.__reactInternalMemoizedMaskedChildContext;var f={},h;for(h in s)f[h]=r[h];return l&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=f),f}function xt(e){return e=e.childContextTypes,e!=null}function _s(){Ae(yt),Ae(lt)}function Xf(e,r,s){if(lt.current!==Jn)throw Error(o(168));Re(lt,r),Re(yt,s)}function Qf(e,r,s){var l=e.stateNode;if(r=r.childContextTypes,typeof l.getChildContext!="function")return s;l=l.getChildContext();for(var f in l)if(!(f in r))throw Error(o(108,xe(e)||"Unknown",f));return H({},s,l)}function Os(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Jn,br=lt.current,Re(lt,e),Re(yt,yt.current),!0}function Zf(e,r,s){var l=e.stateNode;if(!l)throw Error(o(169));s?(e=Qf(e,r,br),l.__reactInternalMemoizedMergedChildContext=e,Ae(yt),Ae(lt),Re(lt,e)):Ae(yt),Re(yt,s)}var Tn=null,Is=!1,Ul=!1;function Jf(e){Tn===null?Tn=[e]:Tn.push(e)}function Gx(e){Is=!0,Jf(e)}function er(){if(!Ul&&Tn!==null){Ul=!0;var e=0,r=Pe;try{var s=Tn;for(Pe=1;e>=y,f-=y,Cn=1<<32-Gt(r)+f|s<de?(tt=ae,ae=null):tt=ae.sibling;var Ee=V(M,ae,D[de],$);if(Ee===null){ae===null&&(ae=tt);break}e&&ae&&Ee.alternate===null&&r(M,ae),N=h(Ee,N,de),se===null?te=Ee:se.sibling=Ee,se=Ee,ae=tt}if(de===D.length)return s(M,ae),je&&kr(M,de),te;if(ae===null){for(;dede?(tt=ae,ae=null):tt=ae.sibling;var ur=V(M,ae,Ee.value,$);if(ur===null){ae===null&&(ae=tt);break}e&&ae&&ur.alternate===null&&r(M,ae),N=h(ur,N,de),se===null?te=ur:se.sibling=ur,se=ur,ae=tt}if(Ee.done)return s(M,ae),je&&kr(M,de),te;if(ae===null){for(;!Ee.done;de++,Ee=D.next())Ee=z(M,Ee.value,$),Ee!==null&&(N=h(Ee,N,de),se===null?te=Ee:se.sibling=Ee,se=Ee);return je&&kr(M,de),te}for(ae=l(M,ae);!Ee.done;de++,Ee=D.next())Ee=X(ae,M,de,Ee.value,$),Ee!==null&&(e&&Ee.alternate!==null&&ae.delete(Ee.key===null?de:Ee.key),N=h(Ee,N,de),se===null?te=Ee:se.sibling=Ee,se=Ee);return e&&ae.forEach(function(kw){return r(M,kw)}),je&&kr(M,de),te}function We(M,N,D,$){if(typeof D=="object"&&D!==null&&D.type===K&&D.key===null&&(D=D.props.children),typeof D=="object"&&D!==null){switch(D.$$typeof){case O:e:{for(var te=D.key,se=N;se!==null;){if(se.key===te){if(te=D.type,te===K){if(se.tag===7){s(M,se.sibling),N=f(se,D.props.children),N.return=M,M=N;break e}}else if(se.elementType===te||typeof te=="object"&&te!==null&&te.$$typeof===ce&&ip(te)===se.type){s(M,se.sibling),N=f(se,D.props),N.ref=di(M,se,D),N.return=M,M=N;break e}s(M,se);break}else r(M,se);se=se.sibling}D.type===K?(N=_r(D.props.children,M.mode,$,D.key),N.return=M,M=N):($=da(D.type,D.key,D.props,null,M.mode,$),$.ref=di(M,N,D),$.return=M,M=$)}return y(M);case G:e:{for(se=D.key;N!==null;){if(N.key===se)if(N.tag===4&&N.stateNode.containerInfo===D.containerInfo&&N.stateNode.implementation===D.implementation){s(M,N.sibling),N=f(N,D.children||[]),N.return=M,M=N;break e}else{s(M,N);break}else r(M,N);N=N.sibling}N=Vu(D,M.mode,$),N.return=M,M=N}return y(M);case ce:return se=D._init,We(M,N,se(D._payload),$)}if(xr(D))return J(M,N,D,$);if(Q(D))return ee(M,N,D,$);zs(M,D)}return typeof D=="string"&&D!==""||typeof D=="number"?(D=""+D,N!==null&&N.tag===6?(s(M,N.sibling),N=f(N,D),N.return=M,M=N):(s(M,N),N=Fu(D,M.mode,$),N.return=M,M=N),y(M)):s(M,N)}return We}var lo=sp(!0),ap=sp(!1),Us=Zn(null),$s=null,uo=null,Yl=null;function ql(){Yl=uo=$s=null}function Xl(e){var r=Us.current;Ae(Us),e._currentValue=r}function Ql(e,r,s){for(;e!==null;){var l=e.alternate;if((e.childLanes&r)!==r?(e.childLanes|=r,l!==null&&(l.childLanes|=r)):l!==null&&(l.childLanes&r)!==r&&(l.childLanes|=r),e===s)break;e=e.return}}function co(e,r){$s=e,Yl=uo=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&r)!==0&&(wt=!0),e.firstContext=null)}function Bt(e){var r=e._currentValue;if(Yl!==e)if(e={context:e,memoizedValue:r,next:null},uo===null){if($s===null)throw Error(o(308));uo=e,$s.dependencies={lanes:0,firstContext:e}}else uo=uo.next=e;return r}var Rr=null;function Zl(e){Rr===null?Rr=[e]:Rr.push(e)}function lp(e,r,s,l){var f=r.interleaved;return f===null?(s.next=s,Zl(r)):(s.next=f.next,f.next=s),r.interleaved=s,Pn(e,l)}function Pn(e,r){e.lanes|=r;var s=e.alternate;for(s!==null&&(s.lanes|=r),s=e,e=e.return;e!==null;)e.childLanes|=r,s=e.alternate,s!==null&&(s.childLanes|=r),s=e,e=e.return;return s.tag===3?s.stateNode:null}var tr=!1;function Jl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function up(e,r){e=e.updateQueue,r.updateQueue===e&&(r.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function kn(e,r){return{eventTime:e,lane:r,tag:0,payload:null,callback:null,next:null}}function nr(e,r,s){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(we&2)!==0){var f=l.pending;return f===null?r.next=r:(r.next=f.next,f.next=r),l.pending=r,Pn(e,s)}return f=l.interleaved,f===null?(r.next=r,Zl(l)):(r.next=f.next,f.next=r),l.interleaved=r,Pn(e,s)}function Ws(e,r,s){if(r=r.updateQueue,r!==null&&(r=r.shared,(s&4194240)!==0)){var l=r.lanes;l&=e.pendingLanes,s|=l,r.lanes=s,pl(e,s)}}function cp(e,r){var s=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,s===l)){var f=null,h=null;if(s=s.firstBaseUpdate,s!==null){do{var y={eventTime:s.eventTime,lane:s.lane,tag:s.tag,payload:s.payload,callback:s.callback,next:null};h===null?f=h=y:h=h.next=y,s=s.next}while(s!==null);h===null?f=h=r:h=h.next=r}else f=h=r;s={baseState:l.baseState,firstBaseUpdate:f,lastBaseUpdate:h,shared:l.shared,effects:l.effects},e.updateQueue=s;return}e=s.lastBaseUpdate,e===null?s.firstBaseUpdate=r:e.next=r,s.lastBaseUpdate=r}function Hs(e,r,s,l){var f=e.updateQueue;tr=!1;var h=f.firstBaseUpdate,y=f.lastBaseUpdate,b=f.shared.pending;if(b!==null){f.shared.pending=null;var k=b,L=k.next;k.next=null,y===null?h=L:y.next=L,y=k;var B=e.alternate;B!==null&&(B=B.updateQueue,b=B.lastBaseUpdate,b!==y&&(b===null?B.firstBaseUpdate=L:b.next=L,B.lastBaseUpdate=k))}if(h!==null){var z=f.baseState;y=0,B=L=k=null,b=h;do{var V=b.lane,X=b.eventTime;if((l&V)===V){B!==null&&(B=B.next={eventTime:X,lane:0,tag:b.tag,payload:b.payload,callback:b.callback,next:null});e:{var J=e,ee=b;switch(V=r,X=s,ee.tag){case 1:if(J=ee.payload,typeof J=="function"){z=J.call(X,z,V);break e}z=J;break e;case 3:J.flags=J.flags&-65537|128;case 0:if(J=ee.payload,V=typeof J=="function"?J.call(X,z,V):J,V==null)break e;z=H({},z,V);break e;case 2:tr=!0}}b.callback!==null&&b.lane!==0&&(e.flags|=64,V=f.effects,V===null?f.effects=[b]:V.push(b))}else X={eventTime:X,lane:V,tag:b.tag,payload:b.payload,callback:b.callback,next:null},B===null?(L=B=X,k=z):B=B.next=X,y|=V;if(b=b.next,b===null){if(b=f.shared.pending,b===null)break;V=b,b=V.next,V.next=null,f.lastBaseUpdate=V,f.shared.pending=null}}while(!0);if(B===null&&(k=z),f.baseState=k,f.firstBaseUpdate=L,f.lastBaseUpdate=B,r=f.shared.interleaved,r!==null){f=r;do y|=f.lane,f=f.next;while(f!==r)}else h===null&&(f.shared.lanes=0);Mr|=y,e.lanes=y,e.memoizedState=z}}function dp(e,r,s){if(e=r.effects,r.effects=null,e!==null)for(r=0;rs?s:4,e(!0);var l=ou.transition;ou.transition={};try{e(!1),r()}finally{Pe=s,ou.transition=l}}function Ap(){return zt().memoizedState}function Qx(e,r,s){var l=sr(e);if(s={lane:l,action:s,hasEagerState:!1,eagerState:null,next:null},Mp(e))Dp(r,s);else if(s=lp(e,r,s,l),s!==null){var f=vt();Jt(s,e,l,f),jp(s,r,l)}}function Zx(e,r,s){var l=sr(e),f={lane:l,action:s,hasEagerState:!1,eagerState:null,next:null};if(Mp(e))Dp(r,f);else{var h=e.alternate;if(e.lanes===0&&(h===null||h.lanes===0)&&(h=r.lastRenderedReducer,h!==null))try{var y=r.lastRenderedState,b=h(y,s);if(f.hasEagerState=!0,f.eagerState=b,Yt(b,y)){var k=r.interleaved;k===null?(f.next=f,Zl(r)):(f.next=k.next,k.next=f),r.interleaved=f;return}}catch{}s=lp(e,r,f,l),s!==null&&(f=vt(),Jt(s,e,l,f),jp(s,r,l))}}function Mp(e){var r=e.alternate;return e===Ie||r!==null&&r===Ie}function Dp(e,r){mi=Ys=!0;var s=e.pending;s===null?r.next=r:(r.next=s.next,s.next=r),e.pending=r}function jp(e,r,s){if((s&4194240)!==0){var l=r.lanes;l&=e.pendingLanes,s|=l,r.lanes=s,pl(e,s)}}var Qs={readContext:Bt,useCallback:ut,useContext:ut,useEffect:ut,useImperativeHandle:ut,useInsertionEffect:ut,useLayoutEffect:ut,useMemo:ut,useReducer:ut,useRef:ut,useState:ut,useDebugValue:ut,useDeferredValue:ut,useTransition:ut,useMutableSource:ut,useSyncExternalStore:ut,useId:ut,unstable_isNewReconciler:!1},Jx={readContext:Bt,useCallback:function(e,r){return ln().memoizedState=[e,r===void 0?null:r],e},useContext:Bt,useEffect:Ep,useImperativeHandle:function(e,r,s){return s=s!=null?s.concat([e]):null,qs(4194308,4,bp.bind(null,r,e),s)},useLayoutEffect:function(e,r){return qs(4194308,4,e,r)},useInsertionEffect:function(e,r){return qs(4,2,e,r)},useMemo:function(e,r){var s=ln();return r=r===void 0?null:r,e=e(),s.memoizedState=[e,r],e},useReducer:function(e,r,s){var l=ln();return r=s!==void 0?s(r):r,l.memoizedState=l.baseState=r,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},l.queue=e,e=e.dispatch=Qx.bind(null,Ie,e),[l.memoizedState,e]},useRef:function(e){var r=ln();return e={current:e},r.memoizedState=e},useState:wp,useDebugValue:du,useDeferredValue:function(e){return ln().memoizedState=e},useTransition:function(){var e=wp(!1),r=e[0];return e=Xx.bind(null,e[1]),ln().memoizedState=e,[r,e]},useMutableSource:function(){},useSyncExternalStore:function(e,r,s){var l=Ie,f=ln();if(je){if(s===void 0)throw Error(o(407));s=s()}else{if(s=r(),et===null)throw Error(o(349));(Ar&30)!==0||mp(l,r,s)}f.memoizedState=s;var h={value:s,getSnapshot:r};return f.queue=h,Ep(vp.bind(null,l,h,e),[e]),l.flags|=2048,yi(9,gp.bind(null,l,h,s,r),void 0,null),s},useId:function(){var e=ln(),r=et.identifierPrefix;if(je){var s=bn,l=Cn;s=(l&~(1<<32-Gt(l)-1)).toString(32)+s,r=":"+r+"R"+s,s=gi++,0<\/script>",e=e.removeChild(e.firstChild)):typeof l.is=="string"?e=y.createElement(s,{is:l.is}):(e=y.createElement(s),s==="select"&&(y=e,l.multiple?y.multiple=!0:l.size&&(y.size=l.size))):e=y.createElementNS(e,s),e[sn]=r,e[ui]=l,Jp(e,r,!1,!1),r.stateNode=e;e:{switch(y=Uo(s,l),s){case"dialog":Ne("cancel",e),Ne("close",e),f=l;break;case"iframe":case"object":case"embed":Ne("load",e),f=l;break;case"video":case"audio":for(f=0;fgo&&(r.flags|=128,l=!0,xi(h,!1),r.lanes=4194304)}else{if(!l)if(e=Ks(y),e!==null){if(r.flags|=128,l=!0,s=e.updateQueue,s!==null&&(r.updateQueue=s,r.flags|=4),xi(h,!0),h.tail===null&&h.tailMode==="hidden"&&!y.alternate&&!je)return ct(r),null}else 2*$e()-h.renderingStartTime>go&&s!==1073741824&&(r.flags|=128,l=!0,xi(h,!1),r.lanes=4194304);h.isBackwards?(y.sibling=r.child,r.child=y):(s=h.last,s!==null?s.sibling=y:r.child=y,h.last=y)}return h.tail!==null?(r=h.tail,h.rendering=r,h.tail=r.sibling,h.renderingStartTime=$e(),r.sibling=null,s=Oe.current,Re(Oe,l?s&1|2:s&1),r):(ct(r),null);case 22:case 23:return _u(),l=r.memoizedState!==null,e!==null&&e.memoizedState!==null!==l&&(r.flags|=8192),l&&(r.mode&1)!==0?(Dt&1073741824)!==0&&(ct(r),r.subtreeFlags&6&&(r.flags|=8192)):ct(r),null;case 24:return null;case 25:return null}throw Error(o(156,r.tag))}function aw(e,r){switch(Wl(r),r.tag){case 1:return xt(r.type)&&_s(),e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 3:return fo(),Ae(yt),Ae(lt),ru(),e=r.flags,(e&65536)!==0&&(e&128)===0?(r.flags=e&-65537|128,r):null;case 5:return tu(r),null;case 13:if(Ae(Oe),e=r.memoizedState,e!==null&&e.dehydrated!==null){if(r.alternate===null)throw Error(o(340));ao()}return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 19:return Ae(Oe),null;case 4:return fo(),null;case 10:return Xl(r.type._context),null;case 22:case 23:return _u(),null;case 24:return null;default:return null}}var ta=!1,dt=!1,lw=typeof WeakSet=="function"?WeakSet:Set,Z=null;function ho(e,r){var s=e.ref;if(s!==null)if(typeof s=="function")try{s(null)}catch(l){Be(e,r,l)}else s.current=null}function Tu(e,r,s){try{s()}catch(l){Be(e,r,l)}}var nh=!1;function uw(e,r){if(_l=Ss,e=Lf(),kl(e)){if("selectionStart"in e)var s={start:e.selectionStart,end:e.selectionEnd};else e:{s=(s=e.ownerDocument)&&s.defaultView||window;var l=s.getSelection&&s.getSelection();if(l&&l.rangeCount!==0){s=l.anchorNode;var f=l.anchorOffset,h=l.focusNode;l=l.focusOffset;try{s.nodeType,h.nodeType}catch{s=null;break e}var y=0,b=-1,k=-1,L=0,B=0,z=e,V=null;t:for(;;){for(var X;z!==s||f!==0&&z.nodeType!==3||(b=y+f),z!==h||l!==0&&z.nodeType!==3||(k=y+l),z.nodeType===3&&(y+=z.nodeValue.length),(X=z.firstChild)!==null;)V=z,z=X;for(;;){if(z===e)break t;if(V===s&&++L===f&&(b=y),V===h&&++B===l&&(k=y),(X=z.nextSibling)!==null)break;z=V,V=z.parentNode}z=X}s=b===-1||k===-1?null:{start:b,end:k}}else s=null}s=s||{start:0,end:0}}else s=null;for(Ol={focusedElem:e,selectionRange:s},Ss=!1,Z=r;Z!==null;)if(r=Z,e=r.child,(r.subtreeFlags&1028)!==0&&e!==null)e.return=r,Z=e;else for(;Z!==null;){r=Z;try{var J=r.alternate;if((r.flags&1024)!==0)switch(r.tag){case 0:case 11:case 15:break;case 1:if(J!==null){var ee=J.memoizedProps,We=J.memoizedState,M=r.stateNode,N=M.getSnapshotBeforeUpdate(r.elementType===r.type?ee:Xt(r.type,ee),We);M.__reactInternalSnapshotBeforeUpdate=N}break;case 3:var D=r.stateNode.containerInfo;D.nodeType===1?D.textContent="":D.nodeType===9&&D.documentElement&&D.removeChild(D.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(o(163))}}catch($){Be(r,r.return,$)}if(e=r.sibling,e!==null){e.return=r.return,Z=e;break}Z=r.return}return J=nh,nh=!1,J}function wi(e,r,s){var l=r.updateQueue;if(l=l!==null?l.lastEffect:null,l!==null){var f=l=l.next;do{if((f.tag&e)===e){var h=f.destroy;f.destroy=void 0,h!==void 0&&Tu(r,s,h)}f=f.next}while(f!==l)}}function na(e,r){if(r=r.updateQueue,r=r!==null?r.lastEffect:null,r!==null){var s=r=r.next;do{if((s.tag&e)===e){var l=s.create;s.destroy=l()}s=s.next}while(s!==r)}}function Cu(e){var r=e.ref;if(r!==null){var s=e.stateNode;e.tag,e=s,typeof r=="function"?r(e):r.current=e}}function rh(e){var r=e.alternate;r!==null&&(e.alternate=null,rh(r)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(r=e.stateNode,r!==null&&(delete r[sn],delete r[ui],delete r[Bl],delete r[Hx],delete r[Kx])),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 oh(e){return e.tag===5||e.tag===3||e.tag===4}function ih(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||oh(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 bu(e,r,s){var l=e.tag;if(l===5||l===6)e=e.stateNode,r?s.nodeType===8?s.parentNode.insertBefore(e,r):s.insertBefore(e,r):(s.nodeType===8?(r=s.parentNode,r.insertBefore(e,s)):(r=s,r.appendChild(e)),s=s._reactRootContainer,s!=null||r.onclick!==null||(r.onclick=js));else if(l!==4&&(e=e.child,e!==null))for(bu(e,r,s),e=e.sibling;e!==null;)bu(e,r,s),e=e.sibling}function Pu(e,r,s){var l=e.tag;if(l===5||l===6)e=e.stateNode,r?s.insertBefore(e,r):s.appendChild(e);else if(l!==4&&(e=e.child,e!==null))for(Pu(e,r,s),e=e.sibling;e!==null;)Pu(e,r,s),e=e.sibling}var ot=null,Qt=!1;function rr(e,r,s){for(s=s.child;s!==null;)sh(e,r,s),s=s.sibling}function sh(e,r,s){if(on&&typeof on.onCommitFiberUnmount=="function")try{on.onCommitFiberUnmount(ms,s)}catch{}switch(s.tag){case 5:dt||ho(s,r);case 6:var l=ot,f=Qt;ot=null,rr(e,r,s),ot=l,Qt=f,ot!==null&&(Qt?(e=ot,s=s.stateNode,e.nodeType===8?e.parentNode.removeChild(s):e.removeChild(s)):ot.removeChild(s.stateNode));break;case 18:ot!==null&&(Qt?(e=ot,s=s.stateNode,e.nodeType===8?Vl(e.parentNode,s):e.nodeType===1&&Vl(e,s),Zo(e)):Vl(ot,s.stateNode));break;case 4:l=ot,f=Qt,ot=s.stateNode.containerInfo,Qt=!0,rr(e,r,s),ot=l,Qt=f;break;case 0:case 11:case 14:case 15:if(!dt&&(l=s.updateQueue,l!==null&&(l=l.lastEffect,l!==null))){f=l=l.next;do{var h=f,y=h.destroy;h=h.tag,y!==void 0&&((h&2)!==0||(h&4)!==0)&&Tu(s,r,y),f=f.next}while(f!==l)}rr(e,r,s);break;case 1:if(!dt&&(ho(s,r),l=s.stateNode,typeof l.componentWillUnmount=="function"))try{l.props=s.memoizedProps,l.state=s.memoizedState,l.componentWillUnmount()}catch(b){Be(s,r,b)}rr(e,r,s);break;case 21:rr(e,r,s);break;case 22:s.mode&1?(dt=(l=dt)||s.memoizedState!==null,rr(e,r,s),dt=l):rr(e,r,s);break;default:rr(e,r,s)}}function ah(e){var r=e.updateQueue;if(r!==null){e.updateQueue=null;var s=e.stateNode;s===null&&(s=e.stateNode=new lw),r.forEach(function(l){var f=yw.bind(null,e,l);s.has(l)||(s.add(l),l.then(f,f))})}}function Zt(e,r){var s=r.deletions;if(s!==null)for(var l=0;lf&&(f=y),l&=~h}if(l=f,l=$e()-l,l=(120>l?120:480>l?480:1080>l?1080:1920>l?1920:3e3>l?3e3:4320>l?4320:1960*dw(l/1960))-l,10e?16:e,ir===null)var l=!1;else{if(e=ir,ir=null,aa=0,(we&6)!==0)throw Error(o(331));var f=we;for(we|=4,Z=e.current;Z!==null;){var h=Z,y=h.child;if((Z.flags&16)!==0){var b=h.deletions;if(b!==null){for(var k=0;k$e()-Nu?jr(e,0):Ru|=s),Et(e,r)}function wh(e,r){r===0&&((e.mode&1)===0?r=1:(r=vs,vs<<=1,(vs&130023424)===0&&(vs=4194304)));var s=vt();e=Pn(e,r),e!==null&&(Go(e,r,s),Et(e,s))}function vw(e){var r=e.memoizedState,s=0;r!==null&&(s=r.retryLane),wh(e,s)}function yw(e,r){var s=0;switch(e.tag){case 13:var l=e.stateNode,f=e.memoizedState;f!==null&&(s=f.retryLane);break;case 19:l=e.stateNode;break;default:throw Error(o(314))}l!==null&&l.delete(r),wh(e,s)}var Sh;Sh=function(e,r,s){if(e!==null)if(e.memoizedProps!==r.pendingProps||yt.current)wt=!0;else{if((e.lanes&s)===0&&(r.flags&128)===0)return wt=!1,iw(e,r,s);wt=(e.flags&131072)!==0}else wt=!1,je&&(r.flags&1048576)!==0&&ep(r,Vs,r.index);switch(r.lanes=0,r.tag){case 2:var l=r.type;ea(e,r),e=r.pendingProps;var f=oo(r,lt.current);co(r,s),f=su(null,r,l,e,f,s);var h=au();return r.flags|=1,typeof f=="object"&&f!==null&&typeof f.render=="function"&&f.$$typeof===void 0?(r.tag=1,r.memoizedState=null,r.updateQueue=null,xt(l)?(h=!0,Os(r)):h=!1,r.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,Jl(r),f.updater=Zs,r.stateNode=f,f._reactInternals=r,pu(r,l,e,s),r=vu(null,r,l,!0,h,s)):(r.tag=0,je&&h&&$l(r),gt(null,r,f,s),r=r.child),r;case 16:l=r.elementType;e:{switch(ea(e,r),e=r.pendingProps,f=l._init,l=f(l._payload),r.type=l,f=r.tag=ww(l),e=Xt(l,e),f){case 0:r=gu(null,r,l,e,s);break e;case 1:r=Gp(null,r,l,e,s);break e;case 11:r=Up(null,r,l,e,s);break e;case 14:r=$p(null,r,l,Xt(l.type,e),s);break e}throw Error(o(306,l,""))}return r;case 0:return l=r.type,f=r.pendingProps,f=r.elementType===l?f:Xt(l,f),gu(e,r,l,f,s);case 1:return l=r.type,f=r.pendingProps,f=r.elementType===l?f:Xt(l,f),Gp(e,r,l,f,s);case 3:e:{if(Yp(r),e===null)throw Error(o(387));l=r.pendingProps,h=r.memoizedState,f=h.element,up(e,r),Hs(r,l,null,s);var y=r.memoizedState;if(l=y.element,h.isDehydrated)if(h={element:l,isDehydrated:!1,cache:y.cache,pendingSuspenseBoundaries:y.pendingSuspenseBoundaries,transitions:y.transitions},r.updateQueue.baseState=h,r.memoizedState=h,r.flags&256){f=po(Error(o(423)),r),r=qp(e,r,l,s,f);break e}else if(l!==f){f=po(Error(o(424)),r),r=qp(e,r,l,s,f);break e}else for(Mt=Qn(r.stateNode.containerInfo.firstChild),At=r,je=!0,qt=null,s=ap(r,null,l,s),r.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling;else{if(ao(),l===f){r=Rn(e,r,s);break e}gt(e,r,l,s)}r=r.child}return r;case 5:return fp(r),e===null&&Kl(r),l=r.type,f=r.pendingProps,h=e!==null?e.memoizedProps:null,y=f.children,Il(l,f)?y=null:h!==null&&Il(l,h)&&(r.flags|=32),Kp(e,r),gt(e,r,y,s),r.child;case 6:return e===null&&Kl(r),null;case 13:return Xp(e,r,s);case 4:return eu(r,r.stateNode.containerInfo),l=r.pendingProps,e===null?r.child=lo(r,null,l,s):gt(e,r,l,s),r.child;case 11:return l=r.type,f=r.pendingProps,f=r.elementType===l?f:Xt(l,f),Up(e,r,l,f,s);case 7:return gt(e,r,r.pendingProps,s),r.child;case 8:return gt(e,r,r.pendingProps.children,s),r.child;case 12:return gt(e,r,r.pendingProps.children,s),r.child;case 10:e:{if(l=r.type._context,f=r.pendingProps,h=r.memoizedProps,y=f.value,Re(Us,l._currentValue),l._currentValue=y,h!==null)if(Yt(h.value,y)){if(h.children===f.children&&!yt.current){r=Rn(e,r,s);break e}}else for(h=r.child,h!==null&&(h.return=r);h!==null;){var b=h.dependencies;if(b!==null){y=h.child;for(var k=b.firstContext;k!==null;){if(k.context===l){if(h.tag===1){k=kn(-1,s&-s),k.tag=2;var L=h.updateQueue;if(L!==null){L=L.shared;var B=L.pending;B===null?k.next=k:(k.next=B.next,B.next=k),L.pending=k}}h.lanes|=s,k=h.alternate,k!==null&&(k.lanes|=s),Ql(h.return,s,r),b.lanes|=s;break}k=k.next}}else if(h.tag===10)y=h.type===r.type?null:h.child;else if(h.tag===18){if(y=h.return,y===null)throw Error(o(341));y.lanes|=s,b=y.alternate,b!==null&&(b.lanes|=s),Ql(y,s,r),y=h.sibling}else y=h.child;if(y!==null)y.return=h;else for(y=h;y!==null;){if(y===r){y=null;break}if(h=y.sibling,h!==null){h.return=y.return,y=h;break}y=y.return}h=y}gt(e,r,f.children,s),r=r.child}return r;case 9:return f=r.type,l=r.pendingProps.children,co(r,s),f=Bt(f),l=l(f),r.flags|=1,gt(e,r,l,s),r.child;case 14:return l=r.type,f=Xt(l,r.pendingProps),f=Xt(l.type,f),$p(e,r,l,f,s);case 15:return Wp(e,r,r.type,r.pendingProps,s);case 17:return l=r.type,f=r.pendingProps,f=r.elementType===l?f:Xt(l,f),ea(e,r),r.tag=1,xt(l)?(e=!0,Os(r)):e=!1,co(r,s),_p(r,l,f),pu(r,l,f,s),vu(null,r,l,!0,e,s);case 19:return Zp(e,r,s);case 22:return Hp(e,r,s)}throw Error(o(156,r.tag))};function Eh(e,r){return ef(e,r)}function xw(e,r,s,l){this.tag=e,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function $t(e,r,s,l){return new xw(e,r,s,l)}function Iu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ww(e){if(typeof e=="function")return Iu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ue)return 11;if(e===be)return 14}return 2}function lr(e,r){var s=e.alternate;return s===null?(s=$t(e.tag,r,e.key,e.mode),s.elementType=e.elementType,s.type=e.type,s.stateNode=e.stateNode,s.alternate=e,e.alternate=s):(s.pendingProps=r,s.type=e.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=e.flags&14680064,s.childLanes=e.childLanes,s.lanes=e.lanes,s.child=e.child,s.memoizedProps=e.memoizedProps,s.memoizedState=e.memoizedState,s.updateQueue=e.updateQueue,r=e.dependencies,s.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},s.sibling=e.sibling,s.index=e.index,s.ref=e.ref,s}function da(e,r,s,l,f,h){var y=2;if(l=e,typeof e=="function")Iu(e)&&(y=1);else if(typeof e=="string")y=5;else e:switch(e){case K:return _r(s.children,f,h,r);case Y:y=8,f|=8;break;case pe:return e=$t(12,s,r,f|2),e.elementType=pe,e.lanes=h,e;case Se:return e=$t(13,s,r,f),e.elementType=Se,e.lanes=h,e;case ke:return e=$t(19,s,r,f),e.elementType=ke,e.lanes=h,e;case ne:return fa(s,f,h,r);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ge:y=10;break e;case Ce:y=9;break e;case ue:y=11;break e;case be:y=14;break e;case ce:y=16,l=null;break e}throw Error(o(130,e==null?e:typeof e,""))}return r=$t(y,s,r,f),r.elementType=e,r.type=l,r.lanes=h,r}function _r(e,r,s,l){return e=$t(7,e,l,r),e.lanes=s,e}function fa(e,r,s,l){return e=$t(22,e,l,r),e.elementType=ne,e.lanes=s,e.stateNode={isHidden:!1},e}function Fu(e,r,s){return e=$t(6,e,null,r),e.lanes=s,e}function Vu(e,r,s){return r=$t(4,e.children!==null?e.children:[],e.key,r),r.lanes=s,r.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},r}function Sw(e,r,s,l,f){this.tag=r,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=fl(0),this.expirationTimes=fl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=fl(0),this.identifierPrefix=l,this.onRecoverableError=f,this.mutableSourceEagerHydrationData=null}function Bu(e,r,s,l,f,h,y,b,k){return e=new Sw(e,r,s,b,k),r===1?(r=1,h===!0&&(r|=8)):r=0,h=$t(3,null,null,r),e.current=h,h.stateNode=e,h.memoizedState={element:l,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null},Jl(h),e}function Ew(e,r,s){var l=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}return t(),Ku.exports=Lw(),Ku.exports}var Oh;function _w(){if(Oh)return xa;Oh=1;var t=Lg();return xa.createRoot=t.createRoot,xa.hydrateRoot=t.hydrateRoot,xa}var Ow=_w();const Iw=$r(Ow);var Ih="popstate";function Fh(t){return typeof t=="object"&&t!=null&&"pathname"in t&&"search"in t&&"hash"in t&&"state"in t&&"key"in t}function Fw(t={}){function n(i,a){let u=a.state?.masked,{pathname:c,search:d,hash:p}=u||i.location;return Nc("",{pathname:c,search:d,hash:p},a.state&&a.state.usr||null,a.state&&a.state.key||"default",u?{pathname:i.location.pathname,search:i.location.search,hash:i.location.hash}:void 0)}function o(i,a){return typeof a=="string"?a:zi(a)}return Bw(n,o,null,t)}function Ve(t,n){if(t===!1||t===null||typeof t>"u")throw new Error(n)}function mn(t,n){if(!t){typeof console<"u"&&console.warn(n);try{throw new Error(n)}catch{}}}function Vw(){return Math.random().toString(36).substring(2,10)}function Vh(t,n){return{usr:t.state,key:t.key,idx:n,masked:t.unstable_mask?{pathname:t.pathname,search:t.search,hash:t.hash}:void 0}}function Nc(t,n,o=null,i,a){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof n=="string"?Lo(n):n,state:o,key:n&&n.key||i||Vw(),unstable_mask:a}}function zi({pathname:t="/",search:n="",hash:o=""}){return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),o&&o!=="#"&&(t+=o.charAt(0)==="#"?o:"#"+o),t}function Lo(t){let n={};if(t){let o=t.indexOf("#");o>=0&&(n.hash=t.substring(o),t=t.substring(0,o));let i=t.indexOf("?");i>=0&&(n.search=t.substring(i),t=t.substring(0,i)),t&&(n.pathname=t)}return n}function Bw(t,n,o,i={}){let{window:a=document.defaultView,v5Compat:u=!1}=i,c=a.history,d="POP",p=null,m=v();m==null&&(m=0,c.replaceState({...c.state,idx:m},""));function v(){return(c.state||{idx:null}).idx}function g(){d="POP";let C=v(),P=C==null?null:C-m;m=C,p&&p({action:d,location:T.location,delta:P})}function w(C,P){d="PUSH";let j=Fh(C)?C:Nc(T.location,C,P);m=v()+1;let _=Vh(j,m),F=T.createHref(j.unstable_mask||j);try{c.pushState(_,"",F)}catch(O){if(O instanceof DOMException&&O.name==="DataCloneError")throw O;a.location.assign(F)}u&&p&&p({action:d,location:T.location,delta:1})}function E(C,P){d="REPLACE";let j=Fh(C)?C:Nc(T.location,C,P);m=v();let _=Vh(j,m),F=T.createHref(j.unstable_mask||j);c.replaceState(_,"",F),u&&p&&p({action:d,location:T.location,delta:0})}function R(C){return zw(C)}let T={get action(){return d},get location(){return t(a,c)},listen(C){if(p)throw new Error("A history only accepts one active listener");return a.addEventListener(Ih,g),p=C,()=>{a.removeEventListener(Ih,g),p=null}},createHref(C){return n(a,C)},createURL:R,encodeLocation(C){let P=R(C);return{pathname:P.pathname,search:P.search,hash:P.hash}},push:w,replace:E,go(C){return c.go(C)}};return T}function zw(t,n=!1){let o="http://localhost";typeof window<"u"&&(o=window.location.origin!=="null"?window.location.origin:window.location.href),Ve(o,"No window.location.(origin|href) available to create URL");let i=typeof t=="string"?t:zi(t);return i=i.replace(/ $/,"%20"),!n&&i.startsWith("//")&&(i=o+i),new URL(i,o)}function _g(t,n,o="/"){return Uw(t,n,o,!1)}function Uw(t,n,o,i){let a=typeof n=="string"?Lo(n):n,u=Ln(a.pathname||"/",o);if(u==null)return null;let c=Og(t);$w(c);let d=null;for(let p=0;d==null&&p{let v={relativePath:m===void 0?c.path||"":m,caseSensitive:c.caseSensitive===!0,childrenIndex:d,route:c};if(v.relativePath.startsWith("/")){if(!v.relativePath.startsWith(i)&&p)return;Ve(v.relativePath.startsWith(i),`Absolute route path "${v.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),v.relativePath=v.relativePath.slice(i.length)}let g=fn([i,v.relativePath]),w=o.concat(v);c.children&&c.children.length>0&&(Ve(c.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${g}".`),Og(c.children,n,w,g,p)),!(c.path==null&&!c.index)&&n.push({path:g,score:Xw(g,c.index),routesMeta:w})};return t.forEach((c,d)=>{if(c.path===""||!c.path?.includes("?"))u(c,d);else for(let p of Ig(c.path))u(c,d,!0,p)}),n}function Ig(t){let n=t.split("/");if(n.length===0)return[];let[o,...i]=n,a=o.endsWith("?"),u=o.replace(/\?$/,"");if(i.length===0)return a?[u,""]:[u];let c=Ig(i.join("/")),d=[];return d.push(...c.map(p=>p===""?u:[u,p].join("/"))),a&&d.push(...c),d.map(p=>t.startsWith("/")&&p===""?"/":p)}function $w(t){t.sort((n,o)=>n.score!==o.score?o.score-n.score:Qw(n.routesMeta.map(i=>i.childrenIndex),o.routesMeta.map(i=>i.childrenIndex)))}var Ww=/^:[\w-]+$/,Hw=3,Kw=2,Gw=1,Yw=10,qw=-2,Bh=t=>t==="*";function Xw(t,n){let o=t.split("/"),i=o.length;return o.some(Bh)&&(i+=qw),n&&(i+=Kw),o.filter(a=>!Bh(a)).reduce((a,u)=>a+(Ww.test(u)?Hw:u===""?Gw:Yw),i)}function Qw(t,n){return t.length===n.length&&t.slice(0,-1).every((i,a)=>i===n[a])?t[t.length-1]-n[n.length-1]:0}function Zw(t,n,o=!1){let{routesMeta:i}=t,a={},u="/",c=[];for(let d=0;d{if(v==="*"){let R=d[w]||"";c=u.slice(0,u.length-R.length).replace(/(.)\/+$/,"$1")}const E=d[w];return g&&!E?m[v]=void 0:m[v]=(E||"").replace(/%2F/g,"/"),m},{}),pathname:u,pathnameBase:c,pattern:t}}function Jw(t,n=!1,o=!0){mn(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let i=[],a="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,d,p,m,v)=>{if(i.push({paramName:d,isOptional:p!=null}),p){let g=v.charAt(m+c.length);return g&&g!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return t.endsWith("*")?(i.push({paramName:"*"}),a+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?a+="\\/*$":t!==""&&t!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,n?void 0:"i"),i]}function e1(t){try{return t.split("/").map(n=>decodeURIComponent(n).replace(/\//g,"%2F")).join("/")}catch(n){return mn(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${n}).`),t}}function Ln(t,n){if(n==="/")return t;if(!t.toLowerCase().startsWith(n.toLowerCase()))return null;let o=n.endsWith("/")?n.length-1:n.length,i=t.charAt(o);return i&&i!=="/"?null:t.slice(o)||"/"}var t1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function n1(t,n="/"){let{pathname:o,search:i="",hash:a=""}=typeof t=="string"?Lo(t):t,u;return o?(o=o.replace(/\/\/+/g,"/"),o.startsWith("/")?u=zh(o.substring(1),"/"):u=zh(o,n)):u=n,{pathname:u,search:i1(i),hash:s1(a)}}function zh(t,n){let o=n.replace(/\/+$/,"").split("/");return t.split("/").forEach(a=>{a===".."?o.length>1&&o.pop():a!=="."&&o.push(a)}),o.length>1?o.join("/"):"/"}function qu(t,n,o,i){return`Cannot include a '${t}' character in a manually specified \`to.${n}\` field [${JSON.stringify(i)}]. Please separate it out to the \`to.${o}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function r1(t){return t.filter((n,o)=>o===0||n.route.path&&n.route.path.length>0)}function Fg(t){let n=r1(t);return n.map((o,i)=>i===n.length-1?o.pathname:o.pathnameBase)}function rd(t,n,o,i=!1){let a;typeof t=="string"?a=Lo(t):(a={...t},Ve(!a.pathname||!a.pathname.includes("?"),qu("?","pathname","search",a)),Ve(!a.pathname||!a.pathname.includes("#"),qu("#","pathname","hash",a)),Ve(!a.search||!a.search.includes("#"),qu("#","search","hash",a)));let u=t===""||a.pathname==="",c=u?"/":a.pathname,d;if(c==null)d=o;else{let g=n.length-1;if(!i&&c.startsWith("..")){let w=c.split("/");for(;w[0]==="..";)w.shift(),g-=1;a.pathname=w.join("/")}d=g>=0?n[g]:"/"}let p=n1(a,d),m=c&&c!=="/"&&c.endsWith("/"),v=(u||c===".")&&o.endsWith("/");return!p.pathname.endsWith("/")&&(m||v)&&(p.pathname+="/"),p}var fn=t=>t.join("/").replace(/\/\/+/g,"/"),o1=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),i1=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,s1=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,a1=class{constructor(t,n,o,i=!1){this.status=t,this.statusText=n||"",this.internal=i,o instanceof Error?(this.data=o.toString(),this.error=o):this.data=o}};function l1(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}function u1(t){return t.map(n=>n.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Vg=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Bg(t,n){let o=t;if(typeof o!="string"||!t1.test(o))return{absoluteURL:void 0,isExternal:!1,to:o};let i=o,a=!1;if(Vg)try{let u=new URL(window.location.href),c=o.startsWith("//")?new URL(u.protocol+o):new URL(o),d=Ln(c.pathname,n);c.origin===u.origin&&d!=null?o=d+c.search+c.hash:a=!0}catch{mn(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:i,isExternal:a,to:o}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var zg=["POST","PUT","PATCH","DELETE"];new Set(zg);var c1=["GET",...zg];new Set(c1);var _o=x.createContext(null);_o.displayName="DataRouter";var Za=x.createContext(null);Za.displayName="DataRouterState";var d1=x.createContext(!1),Ug=x.createContext({isTransitioning:!1});Ug.displayName="ViewTransition";var f1=x.createContext(new Map);f1.displayName="Fetchers";var p1=x.createContext(null);p1.displayName="Await";var Kt=x.createContext(null);Kt.displayName="Navigation";var Qi=x.createContext(null);Qi.displayName="Location";var On=x.createContext({outlet:null,matches:[],isDataRoute:!1});On.displayName="Route";var od=x.createContext(null);od.displayName="RouteError";var $g="REACT_ROUTER_ERROR",h1="REDIRECT",m1="ROUTE_ERROR_RESPONSE";function g1(t){if(t.startsWith(`${$g}:${h1}:{`))try{let n=JSON.parse(t.slice(28));if(typeof n=="object"&&n&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.location=="string"&&typeof n.reloadDocument=="boolean"&&typeof n.replace=="boolean")return n}catch{}}function v1(t){if(t.startsWith(`${$g}:${m1}:{`))try{let n=JSON.parse(t.slice(40));if(typeof n=="object"&&n&&typeof n.status=="number"&&typeof n.statusText=="string")return new a1(n.status,n.statusText,n.data)}catch{}}function y1(t,{relative:n}={}){Ve(Zi(),"useHref() may be used only in the context of a component.");let{basename:o,navigator:i}=x.useContext(Kt),{hash:a,pathname:u,search:c}=Ji(t,{relative:n}),d=u;return o!=="/"&&(d=u==="/"?o:fn([o,u])),i.createHref({pathname:d,search:c,hash:a})}function Zi(){return x.useContext(Qi)!=null}function gn(){return Ve(Zi(),"useLocation() may be used only in the context of a component."),x.useContext(Qi).location}var Wg="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Hg(t){x.useContext(Kt).static||x.useLayoutEffect(t)}function x1(){let{isDataRoute:t}=x.useContext(On);return t?D1():w1()}function w1(){Ve(Zi(),"useNavigate() may be used only in the context of a component.");let t=x.useContext(_o),{basename:n,navigator:o}=x.useContext(Kt),{matches:i}=x.useContext(On),{pathname:a}=gn(),u=JSON.stringify(Fg(i)),c=x.useRef(!1);return Hg(()=>{c.current=!0}),x.useCallback((p,m={})=>{if(mn(c.current,Wg),!c.current)return;if(typeof p=="number"){o.go(p);return}let v=rd(p,JSON.parse(u),a,m.relative==="path");t==null&&n!=="/"&&(v.pathname=v.pathname==="/"?n:fn([n,v.pathname])),(m.replace?o.replace:o.push)(v,m.state,m)},[n,o,u,a,t])}x.createContext(null);function Ji(t,{relative:n}={}){let{matches:o}=x.useContext(On),{pathname:i}=gn(),a=JSON.stringify(Fg(o));return x.useMemo(()=>rd(t,JSON.parse(a),i,n==="path"),[t,a,i,n])}function S1(t,n){return Kg(t,n)}function Kg(t,n,o){Ve(Zi(),"useRoutes() may be used only in the context of a component.");let{navigator:i}=x.useContext(Kt),{matches:a}=x.useContext(On),u=a[a.length-1],c=u?u.params:{},d=u?u.pathname:"/",p=u?u.pathnameBase:"/",m=u&&u.route;{let C=m&&m.path||"";Yg(d,!m||C.endsWith("*")||C.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${d}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. Please change the parent to .`)}let v=gn(),g;if(n){let C=typeof n=="string"?Lo(n):n;Ve(p==="/"||C.pathname?.startsWith(p),`When overriding the location using \`\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${p}" but pathname "${C.pathname}" was given in the \`location\` prop.`),g=C}else g=v;let w=g.pathname||"/",E=w;if(p!=="/"){let C=p.replace(/^\//,"").split("/");E="/"+w.replace(/^\//,"").split("/").slice(C.length).join("/")}let R=_g(t,{pathname:E});mn(m||R!=null,`No routes matched location "${g.pathname}${g.search}${g.hash}" `),mn(R==null||R[R.length-1].route.element!==void 0||R[R.length-1].route.Component!==void 0||R[R.length-1].route.lazy!==void 0,`Matched leaf route at location "${g.pathname}${g.search}${g.hash}" does not have an element or Component. This means it will render an with a null value by default resulting in an "empty" page.`);let T=P1(R&&R.map(C=>Object.assign({},C,{params:Object.assign({},c,C.params),pathname:fn([p,i.encodeLocation?i.encodeLocation(C.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?p:fn([p,i.encodeLocation?i.encodeLocation(C.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:C.pathnameBase])})),a,o);return n&&T?x.createElement(Qi.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...g},navigationType:"POP"}},T):T}function E1(){let t=M1(),n=l1(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),o=t instanceof Error?t.stack:null,i="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:i},u={padding:"2px 4px",backgroundColor:i},c=null;return console.error("Error handled by React Router default ErrorBoundary:",t),c=x.createElement(x.Fragment,null,x.createElement("p",null,"💿 Hey developer 👋"),x.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",x.createElement("code",{style:u},"ErrorBoundary")," or"," ",x.createElement("code",{style:u},"errorElement")," prop on your route.")),x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},n),o?x.createElement("pre",{style:a},o):null,c)}var T1=x.createElement(E1,null),Gg=class extends x.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){this.props.onError?this.props.onError(t,n):console.error("React Router caught the following error during render",t)}render(){let t=this.state.error;if(this.context&&typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){const o=v1(t.digest);o&&(t=o)}let n=t!==void 0?x.createElement(On.Provider,{value:this.props.routeContext},x.createElement(od.Provider,{value:t,children:this.props.component})):this.props.children;return this.context?x.createElement(C1,{error:t},n):n}};Gg.contextType=d1;var Xu=new WeakMap;function C1({children:t,error:n}){let{basename:o}=x.useContext(Kt);if(typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){let i=g1(n.digest);if(i){let a=Xu.get(n);if(a)throw a;let u=Bg(i.location,o);if(Vg&&!Xu.get(n))if(u.isExternal||i.reloadDocument)window.location.href=u.absoluteURL||u.to;else{const c=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(u.to,{replace:i.replace}));throw Xu.set(n,c),c}return x.createElement("meta",{httpEquiv:"refresh",content:`0;url=${u.absoluteURL||u.to}`})}}return t}function b1({routeContext:t,match:n,children:o}){let i=x.useContext(_o);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),x.createElement(On.Provider,{value:t},o)}function P1(t,n=[],o){let i=o?.state;if(t==null){if(!i)return null;if(i.errors)t=i.matches;else if(n.length===0&&!i.initialized&&i.matches.length>0)t=i.matches;else return null}let a=t,u=i?.errors;if(u!=null){let v=a.findIndex(g=>g.route.id&&u?.[g.route.id]!==void 0);Ve(v>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(u).join(",")}`),a=a.slice(0,Math.min(a.length,v+1))}let c=!1,d=-1;if(o&&i){c=i.renderFallback;for(let v=0;v=0?a=a.slice(0,d+1):a=[a[0]];break}}}}let p=o?.onError,m=i&&p?(v,g)=>{p(v,{location:i.location,params:i.matches?.[0]?.params??{},unstable_pattern:u1(i.matches),errorInfo:g})}:void 0;return a.reduceRight((v,g,w)=>{let E,R=!1,T=null,C=null;i&&(E=u&&g.route.id?u[g.route.id]:void 0,T=g.route.errorElement||T1,c&&(d<0&&w===0?(Yg("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),R=!0,C=null):d===w&&(R=!0,C=g.route.hydrateFallbackElement||null)));let P=n.concat(a.slice(0,w+1)),j=()=>{let _;return E?_=T:R?_=C:g.route.Component?_=x.createElement(g.route.Component,null):g.route.element?_=g.route.element:_=v,x.createElement(b1,{match:g,routeContext:{outlet:v,matches:P,isDataRoute:i!=null},children:_})};return i&&(g.route.ErrorBoundary||g.route.errorElement||w===0)?x.createElement(Gg,{location:i.location,revalidation:i.revalidation,component:T,error:E,children:j(),routeContext:{outlet:null,matches:P,isDataRoute:!0},onError:m}):j()},null)}function id(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function k1(t){let n=x.useContext(_o);return Ve(n,id(t)),n}function R1(t){let n=x.useContext(Za);return Ve(n,id(t)),n}function N1(t){let n=x.useContext(On);return Ve(n,id(t)),n}function sd(t){let n=N1(t),o=n.matches[n.matches.length-1];return Ve(o.route.id,`${t} can only be used on routes that contain a unique "id"`),o.route.id}function A1(){return sd("useRouteId")}function M1(){let t=x.useContext(od),n=R1("useRouteError"),o=sd("useRouteError");return t!==void 0?t:n.errors?.[o]}function D1(){let{router:t}=k1("useNavigate"),n=sd("useNavigate"),o=x.useRef(!1);return Hg(()=>{o.current=!0}),x.useCallback(async(a,u={})=>{mn(o.current,Wg),o.current&&(typeof a=="number"?await t.navigate(a):await t.navigate(a,{fromRouteId:n,...u}))},[t,n])}var Uh={};function Yg(t,n,o){!n&&!Uh[t]&&(Uh[t]=!0,mn(!1,o))}x.memo(j1);function j1({routes:t,future:n,state:o,isStatic:i,onError:a}){return Kg(t,void 0,{state:o,isStatic:i,onError:a})}function Di(t){Ve(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function L1({basename:t="/",children:n=null,location:o,navigationType:i="POP",navigator:a,static:u=!1,unstable_useTransitions:c}){Ve(!Zi(),"You cannot render a inside another . You should never have more than one in your app.");let d=t.replace(/^\/*/,"/"),p=x.useMemo(()=>({basename:d,navigator:a,static:u,unstable_useTransitions:c,future:{}}),[d,a,u,c]);typeof o=="string"&&(o=Lo(o));let{pathname:m="/",search:v="",hash:g="",state:w=null,key:E="default",unstable_mask:R}=o,T=x.useMemo(()=>{let C=Ln(m,d);return C==null?null:{location:{pathname:C,search:v,hash:g,state:w,key:E,unstable_mask:R},navigationType:i}},[d,m,v,g,w,E,i,R]);return mn(T!=null,` is not able to match the URL "${m}${v}${g}" because it does not start with the basename, so the won't render anything.`),T==null?null:x.createElement(Kt.Provider,{value:p},x.createElement(Qi.Provider,{children:n,value:T}))}function _1({children:t,location:n}){return S1(Ac(t),n)}function Ac(t,n=[]){let o=[];return x.Children.forEach(t,(i,a)=>{if(!x.isValidElement(i))return;let u=[...n,a];if(i.type===x.Fragment){o.push.apply(o,Ac(i.props.children,u));return}Ve(i.type===Di,`[${typeof i.type=="string"?i.type:i.type.name}] is not a component. All component children of must be a or `),Ve(!i.props.index||!i.props.children,"An index route cannot have child routes.");let c={id:i.props.id||u.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,middleware:i.props.middleware,loader:i.props.loader,action:i.props.action,hydrateFallbackElement:i.props.hydrateFallbackElement,HydrateFallback:i.props.HydrateFallback,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.hasErrorBoundary===!0||i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(c.children=Ac(i.props.children,u)),o.push(c)}),o}var Aa="get",Ma="application/x-www-form-urlencoded";function Ja(t){return typeof HTMLElement<"u"&&t instanceof HTMLElement}function O1(t){return Ja(t)&&t.tagName.toLowerCase()==="button"}function I1(t){return Ja(t)&&t.tagName.toLowerCase()==="form"}function F1(t){return Ja(t)&&t.tagName.toLowerCase()==="input"}function V1(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function B1(t,n){return t.button===0&&(!n||n==="_self")&&!V1(t)}var wa=null;function z1(){if(wa===null)try{new FormData(document.createElement("form"),0),wa=!1}catch{wa=!0}return wa}var U1=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Qu(t){return t!=null&&!U1.has(t)?(mn(!1,`"${t}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Ma}"`),null):t}function $1(t,n){let o,i,a,u,c;if(I1(t)){let d=t.getAttribute("action");i=d?Ln(d,n):null,o=t.getAttribute("method")||Aa,a=Qu(t.getAttribute("enctype"))||Ma,u=new FormData(t)}else if(O1(t)||F1(t)&&(t.type==="submit"||t.type==="image")){let d=t.form;if(d==null)throw new Error('Cannot submit a