const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/agent-session-LeT1Nkw0.js","assets/timer--QM2LZfv.js","assets/index-BW3kzkRY.js","assets/nav-timing-CHjjxeJZ.js","assets/aggregate-base-H45vAuWI.js","assets/event-buffer-DY1fbvoe.js","assets/webdriver-detection-D6dvV8ui.js","assets/traverse-eGeoT8Mx.js","assets/index-CwijJdvt.js","assets/bel-serializer-C-Wiuh-_.js","assets/event-origin-Bb7irpQQ.js","assets/load-time-B7p0tliL.js","assets/index-DChUuA33.js","assets/iframe-PalxAwQ_.js","assets/index-CJP91vwO.js","assets/index-CwDOMLPg.js","assets/type-check-BVQCr-HH.js","assets/index-BmYx9HML.js","assets/index-BVvFg0Z2.js","assets/stylesheet-evaluator-BYbnflA9.js","assets/recorder-B5UKBKrU.js","assets/index-Bxjj0SVY.js","assets/index-Bnh5GRPs.js","assets/index-BX1H9fW9.js"])))=>i.map(i=>d[i]); function Yz(e,t){for(var n=0;nr[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const o of a)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(a){const o={};return a.integrity&&(o.integrity=a.integrity),a.referrerPolicy&&(o.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?o.credentials="include":a.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(a){if(a.ep)return;a.ep=!0;const o=n(a);fetch(a.href,o)}})();var xAe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function _r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var zv={exports:{}},yd={},Hv={exports:{}},_t={};var dC;function Zz(){if(dC)return _t;dC=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.iterator;function h(z){return z===null||typeof z!="object"?null:(z=f&&z[f]||z["@@iterator"],typeof z=="function"?z:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,b={};function S(z,H,Y){this.props=z,this.context=H,this.refs=b,this.updater=Y||g}S.prototype.isReactComponent={},S.prototype.setState=function(z,H){if(typeof z!="object"&&typeof z!="function"&&z!=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,z,H,"setState")},S.prototype.forceUpdate=function(z){this.updater.enqueueForceUpdate(this,z,"forceUpdate")};function E(){}E.prototype=S.prototype;function A(z,H,Y){this.props=z,this.context=H,this.refs=b,this.updater=Y||g}var M=A.prototype=new E;M.constructor=A,_(M,S.prototype),M.isPureReactComponent=!0;var I=Array.isArray,N=Object.prototype.hasOwnProperty,P={current:null},L={key:!0,ref:!0,__self:!0,__source:!0};function j(z,H,Y){var re,le={},$=null,he=null;if(H!=null)for(re in H.ref!==void 0&&(he=H.ref),H.key!==void 0&&($=""+H.key),H)N.call(H,re)&&!L.hasOwnProperty(re)&&(le[re]=H[re]);var ae=arguments.length-2;if(ae===1)le.children=Y;else if(1>>1,H=D[z];if(0>>1;za(le,J))$a(he,le)?(D[z]=he,D[$]=J,z=$):(D[z]=le,D[re]=J,z=re);else if($a(he,J))D[z]=he,D[$]=J,z=$;else break e}}return ne}function a(D,ne){var J=D.sortIndex-ne.sortIndex;return J!==0?J:D.id-ne.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,s=i.now();e.unstable_now=function(){return i.now()-s}}var c=[],d=[],p=1,f=null,h=3,g=!1,_=!1,b=!1,S=typeof setTimeout=="function"?setTimeout:null,E=typeof clearTimeout=="function"?clearTimeout:null,A=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function M(D){for(var ne=n(d);ne!==null;){if(ne.callback===null)r(d);else if(ne.startTime<=D)r(d),ne.sortIndex=ne.expirationTime,t(c,ne);else break;ne=n(d)}}function I(D){if(b=!1,M(D),!_)if(n(c)!==null)_=!0,W(N);else{var ne=n(d);ne!==null&&U(I,ne.startTime-D)}}function N(D,ne){_=!1,b&&(b=!1,E(j),j=-1),g=!0;var J=h;try{for(M(ne),f=n(c);f!==null&&(!(f.expirationTime>ne)||D&&!oe());){var z=f.callback;if(typeof z=="function"){f.callback=null,h=f.priorityLevel;var H=z(f.expirationTime<=ne);ne=e.unstable_now(),typeof H=="function"?f.callback=H:f===n(c)&&r(c),M(ne)}else r(c);f=n(c)}if(f!==null)var Y=!0;else{var re=n(d);re!==null&&U(I,re.startTime-ne),Y=!1}return Y}finally{f=null,h=J,g=!1}}var P=!1,L=null,j=-1,V=5,Q=-1;function oe(){return!(e.unstable_now()-QD||125z?(D.sortIndex=J,t(d,D),n(c)===null&&D===n(d)&&(b?(E(j),j=-1):b=!0,U(I,J-z))):(D.sortIndex=H,t(c,D),_||g||(_=!0,W(N))),D},e.unstable_shouldYield=oe,e.unstable_wrapCallback=function(D){var ne=h;return function(){var J=h;h=ne;try{return D.apply(this,arguments)}finally{h=J}}}})(qv)),qv}var gC;function nH(){return gC||(gC=1,Gv.exports=tH()),Gv.exports}var vC;function rH(){if(vC)return Zr;vC=1;var e=Iu(),t=nH();function n(l){for(var u="https://reactjs.org/docs/error-decoder.html?invariant="+l,m=1;m"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),c=Object.prototype.hasOwnProperty,d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},f={};function h(l){return c.call(f,l)?!0:c.call(p,l)?!1:d.test(l)?f[l]=!0:(p[l]=!0,!1)}function g(l,u,m,y){if(m!==null&&m.type===0)return!1;switch(typeof u){case"function":case"symbol":return!0;case"boolean":return y?!1:m!==null?!m.acceptsBooleans:(l=l.toLowerCase().slice(0,5),l!=="data-"&&l!=="aria-");default:return!1}}function _(l,u,m,y){if(u===null||typeof u>"u"||g(l,u,m,y))return!0;if(y)return!1;if(m!==null)switch(m.type){case 3:return!u;case 4:return u===!1;case 5:return isNaN(u);case 6:return isNaN(u)||1>u}return!1}function b(l,u,m,y,x,T,B){this.acceptsBooleans=u===2||u===3||u===4,this.attributeName=y,this.attributeNamespace=x,this.mustUseProperty=m,this.propertyName=l,this.type=u,this.sanitizeURL=T,this.removeEmptyString=B}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(l){S[l]=new b(l,0,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var u=l[0];S[u]=new b(u,1,!1,l[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){S[l]=new b(l,2,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){S[l]=new b(l,2,!1,l,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(l){S[l]=new b(l,3,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){S[l]=new b(l,3,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){S[l]=new b(l,4,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){S[l]=new b(l,6,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){S[l]=new b(l,5,!1,l.toLowerCase(),null,!1,!1)});var E=/[\-:]([a-z])/g;function A(l){return l[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(l){var u=l.replace(E,A);S[u]=new b(u,1,!1,l,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(l){var u=l.replace(E,A);S[u]=new b(u,1,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var u=l.replace(E,A);S[u]=new b(u,1,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){S[l]=new b(l,1,!1,l.toLowerCase(),null,!1,!1)}),S.xlinkHref=new b("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){S[l]=new b(l,1,!1,l.toLowerCase(),null,!0,!0)});function M(l,u,m,y){var x=S.hasOwnProperty(u)?S[u]:null;(x!==null?x.type!==0:y||!(2G||x[B]!==T[G]){var X=` `+x[B].replace(" at new "," at ");return l.displayName&&X.includes("")&&(X=X.replace("",l.displayName)),X}while(1<=B&&0<=G);break}}}finally{Y=!1,Error.prepareStackTrace=m}return(l=l?l.displayName||l.name:"")?H(l):""}function le(l){switch(l.tag){case 5:return H(l.type);case 16:return H("Lazy");case 13:return H("Suspense");case 19:return H("SuspenseList");case 0:case 2:case 15:return l=re(l.type,!1),l;case 11:return l=re(l.type.render,!1),l;case 1:return l=re(l.type,!0),l;default:return""}}function $(l){if(l==null)return null;if(typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case L:return"Fragment";case P:return"Portal";case V:return"Profiler";case j:return"StrictMode";case q:return"Suspense";case O:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case oe:return(l.displayName||"Context")+".Consumer";case Q:return(l._context.displayName||"Context")+".Provider";case se:var u=l.render;return l=l.displayName,l||(l=u.displayName||u.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case F:return u=l.displayName||null,u!==null?u:$(l.type)||"Memo";case W:u=l._payload,l=l._init;try{return $(l(u))}catch{}}return null}function he(l){var u=l.type;switch(l.tag){case 24:return"Cache";case 9:return(u.displayName||"Context")+".Consumer";case 10:return(u._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return l=u.render,l=l.displayName||l.name||"",u.displayName||(l!==""?"ForwardRef("+l+")":"ForwardRef");case 7:return"Fragment";case 5:return u;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return $(u);case 8:return u===j?"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 u=="function")return u.displayName||u.name||null;if(typeof u=="string")return u}return null}function ae(l){switch(typeof l){case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function ge(l){var u=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(u==="checkbox"||u==="radio")}function Ie(l){var u=ge(l)?"checked":"value",m=Object.getOwnPropertyDescriptor(l.constructor.prototype,u),y=""+l[u];if(!l.hasOwnProperty(u)&&typeof m<"u"&&typeof m.get=="function"&&typeof m.set=="function"){var x=m.get,T=m.set;return Object.defineProperty(l,u,{configurable:!0,get:function(){return x.call(this)},set:function(B){y=""+B,T.call(this,B)}}),Object.defineProperty(l,u,{enumerable:m.enumerable}),{getValue:function(){return y},setValue:function(B){y=""+B},stopTracking:function(){l._valueTracker=null,delete l[u]}}}}function be(l){l._valueTracker||(l._valueTracker=Ie(l))}function Fe(l){if(!l)return!1;var u=l._valueTracker;if(!u)return!0;var m=u.getValue(),y="";return l&&(y=ge(l)?l.checked?"true":"false":l.value),l=y,l!==m?(u.setValue(l),!0):!1}function Be(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}function et(l,u){var m=u.checked;return J({},u,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:m??l._wrapperState.initialChecked})}function Ge(l,u){var m=u.defaultValue==null?"":u.defaultValue,y=u.checked!=null?u.checked:u.defaultChecked;m=ae(u.value!=null?u.value:m),l._wrapperState={initialChecked:y,initialValue:m,controlled:u.type==="checkbox"||u.type==="radio"?u.checked!=null:u.value!=null}}function Xe(l,u){u=u.checked,u!=null&&M(l,"checked",u,!1)}function rt(l,u){Xe(l,u);var m=ae(u.value),y=u.type;if(m!=null)y==="number"?(m===0&&l.value===""||l.value!=m)&&(l.value=""+m):l.value!==""+m&&(l.value=""+m);else if(y==="submit"||y==="reset"){l.removeAttribute("value");return}u.hasOwnProperty("value")?qn(l,u.type,m):u.hasOwnProperty("defaultValue")&&qn(l,u.type,ae(u.defaultValue)),u.checked==null&&u.defaultChecked!=null&&(l.defaultChecked=!!u.defaultChecked)}function mt(l,u,m){if(u.hasOwnProperty("value")||u.hasOwnProperty("defaultValue")){var y=u.type;if(!(y!=="submit"&&y!=="reset"||u.value!==void 0&&u.value!==null))return;u=""+l._wrapperState.initialValue,m||u===l.value||(l.value=u),l.defaultValue=u}m=l.name,m!==""&&(l.name=""),l.defaultChecked=!!l._wrapperState.initialChecked,m!==""&&(l.name=m)}function qn(l,u,m){(u!=="number"||Be(l.ownerDocument)!==l)&&(m==null?l.defaultValue=""+l._wrapperState.initialValue:l.defaultValue!==""+m&&(l.defaultValue=""+m))}var Mt=Array.isArray;function Vn(l,u,m,y){if(l=l.options,u){u={};for(var x=0;x"+u.valueOf().toString()+"",u=Pn.firstChild;l.firstChild;)l.removeChild(l.firstChild);for(;u.firstChild;)l.appendChild(u.firstChild)}});function To(l,u){if(u){var m=l.firstChild;if(m&&m===l.lastChild&&m.nodeType===3){m.nodeValue=u;return}}l.textContent=u}var $a={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},Vs=["Webkit","ms","Moz","O"];Object.keys($a).forEach(function(l){Vs.forEach(function(u){u=u+l.charAt(0).toUpperCase()+l.substring(1),$a[u]=$a[l]})});function ai(l,u,m){return u==null||typeof u=="boolean"||u===""?"":m||typeof u!="number"||u===0||$a.hasOwnProperty(l)&&$a[l]?(""+u).trim():u+"px"}function tr(l,u){l=l.style;for(var m in u)if(u.hasOwnProperty(m)){var y=m.indexOf("--")===0,x=ai(m,u[m],y);m==="float"&&(m="cssFloat"),y?l.setProperty(m,x):l[m]=x}}var Rn=J({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 Qn(l,u){if(u){if(Rn[l]&&(u.children!=null||u.dangerouslySetInnerHTML!=null))throw Error(n(137,l));if(u.dangerouslySetInnerHTML!=null){if(u.children!=null)throw Error(n(60));if(typeof u.dangerouslySetInnerHTML!="object"||!("__html"in u.dangerouslySetInnerHTML))throw Error(n(61))}if(u.style!=null&&typeof u.style!="object")throw Error(n(62))}}function nr(l,u){if(l.indexOf("-")===-1)return typeof u.is=="string";switch(l){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 Kn=null;function oi(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var Ya=null,Hr=null,Ca=null;function ka(l){if(l=od(l)){if(typeof Ya!="function")throw Error(n(280));var u=l.stateNode;u&&(u=qp(u),Ya(l.stateNode,l.type,u))}}function Gi(l){Hr?Ca?Ca.push(l):Ca=[l]:Hr=l}function Ur(){if(Hr){var l=Hr,u=Ca;if(Ca=Hr=null,ka(l),u)for(l=0;l>>=0,l===0?32:31-(dr(l)/yr|0)|0}var Xn=64,Vr=4194304;function Io(l){switch(l&-l){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 l&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return l&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return l}}function Mr(l,u){var m=l.pendingLanes;if(m===0)return 0;var y=0,x=l.suspendedLanes,T=l.pingedLanes,B=m&268435455;if(B!==0){var G=B&~x;G!==0?y=Io(G):(T&=B,T!==0&&(y=Io(T)))}else B=m&~x,B!==0?y=Io(B):T!==0&&(y=Io(T));if(y===0)return 0;if(u!==0&&u!==y&&(u&x)===0&&(x=y&-y,T=u&-u,x>=T||x===16&&(T&4194240)!==0))return u;if((y&4)!==0&&(y|=m&16),u=l.entangledLanes,u!==0)for(l=l.entanglements,u&=y;0m;m++)u.push(l);return u}function ia(l,u,m){l.pendingLanes|=u,u!==536870912&&(l.suspendedLanes=0,l.pingedLanes=0),l=l.eventTimes,u=31-ot(u),l[u]=m}function $s(l,u){var m=l.pendingLanes&~u;l.pendingLanes=u,l.suspendedLanes=0,l.pingedLanes=0,l.expiredLanes&=u,l.mutableReadLanes&=u,l.entangledLanes&=u,u=l.entanglements;var y=l.eventTimes;for(l=l.expirationTimes;0=$u),a9=" ",o9=!1;function i9(l,u){switch(l){case"keyup":return Wj.indexOf(u.keyCode)!==-1;case"keydown":return u.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function s9(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var ac=!1;function Kj(l,u){switch(l){case"compositionend":return s9(u);case"keypress":return u.which!==32?null:(o9=!0,a9);case"textInput":return l=u.data,l===a9&&o9?null:l;default:return null}}function Xj(l,u){if(ac)return l==="compositionend"||!y2&&i9(l,u)?(l=Zw(),Rp=h2=Xi=null,ac=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(u.ctrlKey||u.altKey||u.metaKey)||u.ctrlKey&&u.altKey){if(u.char&&1=u)return{node:m,offset:u-l};l=y}e:{for(;m;){if(m.nextSibling){m=m.nextSibling;break e}m=m.parentNode}m=void 0}m=h9(m)}}function g9(l,u){return l&&u?l===u?!0:l&&l.nodeType===3?!1:u&&u.nodeType===3?g9(l,u.parentNode):"contains"in l?l.contains(u):l.compareDocumentPosition?!!(l.compareDocumentPosition(u)&16):!1:!1}function v9(){for(var l=window,u=Be();u instanceof l.HTMLIFrameElement;){try{var m=typeof u.contentWindow.location.href=="string"}catch{m=!1}if(m)l=u.contentWindow;else break;u=Be(l.document)}return u}function C2(l){var u=l&&l.nodeName&&l.nodeName.toLowerCase();return u&&(u==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||u==="textarea"||l.contentEditable==="true")}function az(l){var u=v9(),m=l.focusedElem,y=l.selectionRange;if(u!==m&&m&&m.ownerDocument&&g9(m.ownerDocument.documentElement,m)){if(y!==null&&C2(m)){if(u=y.start,l=y.end,l===void 0&&(l=u),"selectionStart"in m)m.selectionStart=u,m.selectionEnd=Math.min(l,m.value.length);else if(l=(u=m.ownerDocument||document)&&u.defaultView||window,l.getSelection){l=l.getSelection();var x=m.textContent.length,T=Math.min(y.start,x);y=y.end===void 0?T:Math.min(y.end,x),!l.extend&&T>y&&(x=y,y=T,T=x),x=m9(m,T);var B=m9(m,y);x&&B&&(l.rangeCount!==1||l.anchorNode!==x.node||l.anchorOffset!==x.offset||l.focusNode!==B.node||l.focusOffset!==B.offset)&&(u=u.createRange(),u.setStart(x.node,x.offset),l.removeAllRanges(),T>y?(l.addRange(u),l.extend(B.node,B.offset)):(u.setEnd(B.node,B.offset),l.addRange(u)))}}for(u=[],l=m;l=l.parentNode;)l.nodeType===1&&u.push({element:l,left:l.scrollLeft,top:l.scrollTop});for(typeof m.focus=="function"&&m.focus(),m=0;m=document.documentMode,oc=null,k2=null,ed=null,x2=!1;function _9(l,u,m){var y=m.window===m?m.document:m.nodeType===9?m:m.ownerDocument;x2||oc==null||oc!==Be(y)||(y=oc,"selectionStart"in y&&C2(y)?y={start:y.selectionStart,end:y.selectionEnd}:(y=(y.ownerDocument&&y.ownerDocument.defaultView||window).getSelection(),y={anchorNode:y.anchorNode,anchorOffset:y.anchorOffset,focusNode:y.focusNode,focusOffset:y.focusOffset}),ed&&Ju(ed,y)||(ed=y,y=Hp(k2,"onSelect"),0uc||(l.current=F2[uc],F2[uc]=null,uc--)}function $t(l,u){uc++,F2[uc]=l.current,l.current=u}var Ji={},wr=Zi(Ji),Qr=Zi(!1),Zs=Ji;function dc(l,u){var m=l.type.contextTypes;if(!m)return Ji;var y=l.stateNode;if(y&&y.__reactInternalMemoizedUnmaskedChildContext===u)return y.__reactInternalMemoizedMaskedChildContext;var x={},T;for(T in m)x[T]=u[T];return y&&(l=l.stateNode,l.__reactInternalMemoizedUnmaskedChildContext=u,l.__reactInternalMemoizedMaskedChildContext=x),x}function Kr(l){return l=l.childContextTypes,l!=null}function Vp(){rn(Qr),rn(wr)}function R9(l,u,m){if(wr.current!==Ji)throw Error(n(168));$t(wr,u),$t(Qr,m)}function L9(l,u,m){var y=l.stateNode;if(u=u.childContextTypes,typeof y.getChildContext!="function")return m;y=y.getChildContext();for(var x in y)if(!(x in u))throw Error(n(108,he(l)||"Unknown",x));return J({},m,y)}function Wp(l){return l=(l=l.stateNode)&&l.__reactInternalMemoizedMergedChildContext||Ji,Zs=wr.current,$t(wr,l),$t(Qr,Qr.current),!0}function B9(l,u,m){var y=l.stateNode;if(!y)throw Error(n(169));m?(l=L9(l,u,Zs),y.__reactInternalMemoizedMergedChildContext=l,rn(Qr),rn(wr),$t(wr,l)):rn(Qr),$t(Qr,m)}var ci=null,Qp=!1,D2=!1;function O9(l){ci===null?ci=[l]:ci.push(l)}function gz(l){Qp=!0,O9(l)}function es(){if(!D2&&ci!==null){D2=!0;var l=0,u=Me;try{var m=ci;for(Me=1;l>=B,x-=B,ui=1<<32-ot(u)+x|m<at?(or=Ze,Ze=null):or=Ze.sibling;var Bt=ve(ie,Ze,ce[at],Se);if(Bt===null){Ze===null&&(Ze=or);break}l&&Ze&&Bt.alternate===null&&u(ie,Ze),ee=T(Bt,ee,at),Ye===null?We=Bt:Ye.sibling=Bt,Ye=Bt,Ze=or}if(at===ce.length)return m(ie,Ze),ln&&el(ie,at),We;if(Ze===null){for(;atat?(or=Ze,Ze=null):or=Ze.sibling;var cs=ve(ie,Ze,Bt.value,Se);if(cs===null){Ze===null&&(Ze=or);break}l&&Ze&&cs.alternate===null&&u(ie,Ze),ee=T(cs,ee,at),Ye===null?We=cs:Ye.sibling=cs,Ye=cs,Ze=or}if(Bt.done)return m(ie,Ze),ln&&el(ie,at),We;if(Ze===null){for(;!Bt.done;at++,Bt=ce.next())Bt=ye(ie,Bt.value,Se),Bt!==null&&(ee=T(Bt,ee,at),Ye===null?We=Bt:Ye.sibling=Bt,Ye=Bt);return ln&&el(ie,at),We}for(Ze=y(ie,Ze);!Bt.done;at++,Bt=ce.next())Bt=Ne(Ze,ie,at,Bt.value,Se),Bt!==null&&(l&&Bt.alternate!==null&&Ze.delete(Bt.key===null?at:Bt.key),ee=T(Bt,ee,at),Ye===null?We=Bt:Ye.sibling=Bt,Ye=Bt);return l&&Ze.forEach(function($z){return u(ie,$z)}),ln&&el(ie,at),We}function En(ie,ee,ce,Se){if(typeof ce=="object"&&ce!==null&&ce.type===L&&ce.key===null&&(ce=ce.props.children),typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case N:e:{for(var We=ce.key,Ye=ee;Ye!==null;){if(Ye.key===We){if(We=ce.type,We===L){if(Ye.tag===7){m(ie,Ye.sibling),ee=x(Ye,ce.props.children),ee.return=ie,ie=ee;break e}}else if(Ye.elementType===We||typeof We=="object"&&We!==null&&We.$$typeof===W&&U9(We)===Ye.type){m(ie,Ye.sibling),ee=x(Ye,ce.props),ee.ref=id(ie,Ye,ce),ee.return=ie,ie=ee;break e}m(ie,Ye);break}else u(ie,Ye);Ye=Ye.sibling}ce.type===L?(ee=ll(ce.props.children,ie.mode,Se,ce.key),ee.return=ie,ie=ee):(Se=Sf(ce.type,ce.key,ce.props,null,ie.mode,Se),Se.ref=id(ie,ee,ce),Se.return=ie,ie=Se)}return B(ie);case P:e:{for(Ye=ce.key;ee!==null;){if(ee.key===Ye)if(ee.tag===4&&ee.stateNode.containerInfo===ce.containerInfo&&ee.stateNode.implementation===ce.implementation){m(ie,ee.sibling),ee=x(ee,ce.children||[]),ee.return=ie,ie=ee;break e}else{m(ie,ee);break}else u(ie,ee);ee=ee.sibling}ee=Bv(ce,ie.mode,Se),ee.return=ie,ie=ee}return B(ie);case W:return Ye=ce._init,En(ie,ee,Ye(ce._payload),Se)}if(Mt(ce))return Oe(ie,ee,ce,Se);if(ne(ce))return ze(ie,ee,ce,Se);Yp(ie,ce)}return typeof ce=="string"&&ce!==""||typeof ce=="number"?(ce=""+ce,ee!==null&&ee.tag===6?(m(ie,ee.sibling),ee=x(ee,ce),ee.return=ie,ie=ee):(m(ie,ee),ee=Lv(ce,ie.mode,Se),ee.return=ie,ie=ee),B(ie)):m(ie,ee)}return En}var mc=G9(!0),q9=G9(!1),Zp=Zi(null),Jp=null,gc=null,q2=null;function V2(){q2=gc=Jp=null}function W2(l){var u=Zp.current;rn(Zp),l._currentValue=u}function Q2(l,u,m){for(;l!==null;){var y=l.alternate;if((l.childLanes&u)!==u?(l.childLanes|=u,y!==null&&(y.childLanes|=u)):y!==null&&(y.childLanes&u)!==u&&(y.childLanes|=u),l===m)break;l=l.return}}function vc(l,u){Jp=l,q2=gc=null,l=l.dependencies,l!==null&&l.firstContext!==null&&((l.lanes&u)!==0&&(Xr=!0),l.firstContext=null)}function Pa(l){var u=l._currentValue;if(q2!==l)if(l={context:l,memoizedValue:u,next:null},gc===null){if(Jp===null)throw Error(n(308));gc=l,Jp.dependencies={lanes:0,firstContext:l}}else gc=gc.next=l;return u}var tl=null;function K2(l){tl===null?tl=[l]:tl.push(l)}function V9(l,u,m,y){var x=u.interleaved;return x===null?(m.next=m,K2(u)):(m.next=x.next,x.next=m),u.interleaved=m,pi(l,y)}function pi(l,u){l.lanes|=u;var m=l.alternate;for(m!==null&&(m.lanes|=u),m=l,l=l.return;l!==null;)l.childLanes|=u,m=l.alternate,m!==null&&(m.childLanes|=u),m=l,l=l.return;return m.tag===3?m.stateNode:null}var ts=!1;function X2(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function W9(l,u){l=l.updateQueue,u.updateQueue===l&&(u.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,effects:l.effects})}function fi(l,u){return{eventTime:l,lane:u,tag:0,payload:null,callback:null,next:null}}function ns(l,u,m){var y=l.updateQueue;if(y===null)return null;if(y=y.shared,(It&2)!==0){var x=y.pending;return x===null?u.next=u:(u.next=x.next,x.next=u),y.pending=u,pi(l,m)}return x=y.interleaved,x===null?(u.next=u,K2(y)):(u.next=x.next,x.next=u),y.interleaved=u,pi(l,m)}function ef(l,u,m){if(u=u.updateQueue,u!==null&&(u=u.shared,(m&4194240)!==0)){var y=u.lanes;y&=l.pendingLanes,m|=y,u.lanes=m,Ln(l,m)}}function Q9(l,u){var m=l.updateQueue,y=l.alternate;if(y!==null&&(y=y.updateQueue,m===y)){var x=null,T=null;if(m=m.firstBaseUpdate,m!==null){do{var B={eventTime:m.eventTime,lane:m.lane,tag:m.tag,payload:m.payload,callback:m.callback,next:null};T===null?x=T=B:T=T.next=B,m=m.next}while(m!==null);T===null?x=T=u:T=T.next=u}else x=T=u;m={baseState:y.baseState,firstBaseUpdate:x,lastBaseUpdate:T,shared:y.shared,effects:y.effects},l.updateQueue=m;return}l=m.lastBaseUpdate,l===null?m.firstBaseUpdate=u:l.next=u,m.lastBaseUpdate=u}function tf(l,u,m,y){var x=l.updateQueue;ts=!1;var T=x.firstBaseUpdate,B=x.lastBaseUpdate,G=x.shared.pending;if(G!==null){x.shared.pending=null;var X=G,ue=X.next;X.next=null,B===null?T=ue:B.next=ue,B=X;var _e=l.alternate;_e!==null&&(_e=_e.updateQueue,G=_e.lastBaseUpdate,G!==B&&(G===null?_e.firstBaseUpdate=ue:G.next=ue,_e.lastBaseUpdate=X))}if(T!==null){var ye=x.baseState;B=0,_e=ue=X=null,G=T;do{var ve=G.lane,Ne=G.eventTime;if((y&ve)===ve){_e!==null&&(_e=_e.next={eventTime:Ne,lane:0,tag:G.tag,payload:G.payload,callback:G.callback,next:null});e:{var Oe=l,ze=G;switch(ve=u,Ne=m,ze.tag){case 1:if(Oe=ze.payload,typeof Oe=="function"){ye=Oe.call(Ne,ye,ve);break e}ye=Oe;break e;case 3:Oe.flags=Oe.flags&-65537|128;case 0:if(Oe=ze.payload,ve=typeof Oe=="function"?Oe.call(Ne,ye,ve):Oe,ve==null)break e;ye=J({},ye,ve);break e;case 2:ts=!0}}G.callback!==null&&G.lane!==0&&(l.flags|=64,ve=x.effects,ve===null?x.effects=[G]:ve.push(G))}else Ne={eventTime:Ne,lane:ve,tag:G.tag,payload:G.payload,callback:G.callback,next:null},_e===null?(ue=_e=Ne,X=ye):_e=_e.next=Ne,B|=ve;if(G=G.next,G===null){if(G=x.shared.pending,G===null)break;ve=G,G=ve.next,ve.next=null,x.lastBaseUpdate=ve,x.shared.pending=null}}while(!0);if(_e===null&&(X=ye),x.baseState=X,x.firstBaseUpdate=ue,x.lastBaseUpdate=_e,u=x.shared.interleaved,u!==null){x=u;do B|=x.lane,x=x.next;while(x!==u)}else T===null&&(x.shared.lanes=0);al|=B,l.lanes=B,l.memoizedState=ye}}function K9(l,u,m){if(l=u.effects,u.effects=null,l!==null)for(u=0;um?m:4,l(!0);var y=ev.transition;ev.transition={};try{l(!1),u()}finally{Me=m,ev.transition=y}}function fS(){return Ra().memoizedState}function yz(l,u,m){var y=is(l);if(m={lane:y,action:m,hasEagerState:!1,eagerState:null,next:null},hS(l))mS(u,m);else if(m=V9(l,u,m,y),m!==null){var x=Ir();lo(m,l,y,x),gS(m,u,y)}}function wz(l,u,m){var y=is(l),x={lane:y,action:m,hasEagerState:!1,eagerState:null,next:null};if(hS(l))mS(u,x);else{var T=l.alternate;if(l.lanes===0&&(T===null||T.lanes===0)&&(T=u.lastRenderedReducer,T!==null))try{var B=u.lastRenderedState,G=T(B,m);if(x.hasEagerState=!0,x.eagerState=G,ro(G,B)){var X=u.interleaved;X===null?(x.next=x,K2(u)):(x.next=X.next,X.next=x),u.interleaved=x;return}}catch{}m=V9(l,u,x,y),m!==null&&(x=Ir(),lo(m,l,y,x),gS(m,u,y))}}function hS(l){var u=l.alternate;return l===hn||u!==null&&u===hn}function mS(l,u){ud=af=!0;var m=l.pending;m===null?u.next=u:(u.next=m.next,m.next=u),l.pending=u}function gS(l,u,m){if((m&4194240)!==0){var y=u.lanes;y&=l.pendingLanes,m|=y,u.lanes=m,Ln(l,m)}}var lf={readContext:Pa,useCallback:Sr,useContext:Sr,useEffect:Sr,useImperativeHandle:Sr,useInsertionEffect:Sr,useLayoutEffect:Sr,useMemo:Sr,useReducer:Sr,useRef:Sr,useState:Sr,useDebugValue:Sr,useDeferredValue:Sr,useTransition:Sr,useMutableSource:Sr,useSyncExternalStore:Sr,useId:Sr,unstable_isNewReconciler:!1},Sz={readContext:Pa,useCallback:function(l,u){return Oo().memoizedState=[l,u===void 0?null:u],l},useContext:Pa,useEffect:oS,useImperativeHandle:function(l,u,m){return m=m!=null?m.concat([l]):null,of(4194308,4,lS.bind(null,u,l),m)},useLayoutEffect:function(l,u){return of(4194308,4,l,u)},useInsertionEffect:function(l,u){return of(4,2,l,u)},useMemo:function(l,u){var m=Oo();return u=u===void 0?null:u,l=l(),m.memoizedState=[l,u],l},useReducer:function(l,u,m){var y=Oo();return u=m!==void 0?m(u):u,y.memoizedState=y.baseState=u,l={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:u},y.queue=l,l=l.dispatch=yz.bind(null,hn,l),[y.memoizedState,l]},useRef:function(l){var u=Oo();return l={current:l},u.memoizedState=l},useState:rS,useDebugValue:sv,useDeferredValue:function(l){return Oo().memoizedState=l},useTransition:function(){var l=rS(!1),u=l[0];return l=bz.bind(null,l[1]),Oo().memoizedState=l,[u,l]},useMutableSource:function(){},useSyncExternalStore:function(l,u,m){var y=hn,x=Oo();if(ln){if(m===void 0)throw Error(n(407));m=m()}else{if(m=u(),ar===null)throw Error(n(349));(rl&30)!==0||Z9(y,u,m)}x.memoizedState=m;var T={value:m,getSnapshot:u};return x.queue=T,oS(eS.bind(null,y,T,l),[l]),y.flags|=2048,fd(9,J9.bind(null,y,T,m,u),void 0,null),m},useId:function(){var l=Oo(),u=ar.identifierPrefix;if(ln){var m=di,y=ui;m=(y&~(1<<32-ot(y)-1)).toString(32)+m,u=":"+u+"R"+m,m=dd++,0<\/script>",l=l.removeChild(l.firstChild)):typeof y.is=="string"?l=B.createElement(m,{is:y.is}):(l=B.createElement(m),m==="select"&&(B=l,y.multiple?B.multiple=!0:y.size&&(B.size=y.size))):l=B.createElementNS(l,m),l[Lo]=u,l[ad]=y,OS(l,u,!1,!1),u.stateNode=l;e:{switch(B=nr(m,y),m){case"dialog":nn("cancel",l),nn("close",l),x=y;break;case"iframe":case"object":case"embed":nn("load",l),x=y;break;case"video":case"audio":for(x=0;xSc&&(u.flags|=128,y=!0,hd(T,!1),u.lanes=4194304)}else{if(!y)if(l=nf(B),l!==null){if(u.flags|=128,y=!0,m=l.updateQueue,m!==null&&(u.updateQueue=m,u.flags|=4),hd(T,!0),T.tail===null&&T.tailMode==="hidden"&&!B.alternate&&!ln)return Cr(u),null}else 2*ke()-T.renderingStartTime>Sc&&m!==1073741824&&(u.flags|=128,y=!0,hd(T,!1),u.lanes=4194304);T.isBackwards?(B.sibling=u.child,u.child=B):(m=T.last,m!==null?m.sibling=B:u.child=B,T.last=B)}return T.tail!==null?(u=T.tail,T.rendering=u,T.tail=u.sibling,T.renderingStartTime=ke(),u.sibling=null,m=fn.current,$t(fn,y?m&1|2:m&1),u):(Cr(u),null);case 22:case 23:return Iv(),y=u.memoizedState!==null,l!==null&&l.memoizedState!==null!==y&&(u.flags|=8192),y&&(u.mode&1)!==0?(ua&1073741824)!==0&&(Cr(u),u.subtreeFlags&6&&(u.flags|=8192)):Cr(u),null;case 24:return null;case 25:return null}throw Error(n(156,u.tag))}function Nz(l,u){switch(z2(u),u.tag){case 1:return Kr(u.type)&&Vp(),l=u.flags,l&65536?(u.flags=l&-65537|128,u):null;case 3:return _c(),rn(Qr),rn(wr),J2(),l=u.flags,(l&65536)!==0&&(l&128)===0?(u.flags=l&-65537|128,u):null;case 5:return Y2(u),null;case 13:if(rn(fn),l=u.memoizedState,l!==null&&l.dehydrated!==null){if(u.alternate===null)throw Error(n(340));hc()}return l=u.flags,l&65536?(u.flags=l&-65537|128,u):null;case 19:return rn(fn),null;case 4:return _c(),null;case 10:return W2(u.type._context),null;case 22:case 23:return Iv(),null;case 24:return null;default:return null}}var pf=!1,kr=!1,Iz=typeof WeakSet=="function"?WeakSet:Set,Pe=null;function yc(l,u){var m=l.ref;if(m!==null)if(typeof m=="function")try{m(null)}catch(y){_n(l,u,y)}else m.current=null}function bv(l,u,m){try{m()}catch(y){_n(l,u,y)}}var jS=!1;function Pz(l,u){if(I2=Ip,l=v9(),C2(l)){if("selectionStart"in l)var m={start:l.selectionStart,end:l.selectionEnd};else e:{m=(m=l.ownerDocument)&&m.defaultView||window;var y=m.getSelection&&m.getSelection();if(y&&y.rangeCount!==0){m=y.anchorNode;var x=y.anchorOffset,T=y.focusNode;y=y.focusOffset;try{m.nodeType,T.nodeType}catch{m=null;break e}var B=0,G=-1,X=-1,ue=0,_e=0,ye=l,ve=null;t:for(;;){for(var Ne;ye!==m||x!==0&&ye.nodeType!==3||(G=B+x),ye!==T||y!==0&&ye.nodeType!==3||(X=B+y),ye.nodeType===3&&(B+=ye.nodeValue.length),(Ne=ye.firstChild)!==null;)ve=ye,ye=Ne;for(;;){if(ye===l)break t;if(ve===m&&++ue===x&&(G=B),ve===T&&++_e===y&&(X=B),(Ne=ye.nextSibling)!==null)break;ye=ve,ve=ye.parentNode}ye=Ne}m=G===-1||X===-1?null:{start:G,end:X}}else m=null}m=m||{start:0,end:0}}else m=null;for(P2={focusedElem:l,selectionRange:m},Ip=!1,Pe=u;Pe!==null;)if(u=Pe,l=u.child,(u.subtreeFlags&1028)!==0&&l!==null)l.return=u,Pe=l;else for(;Pe!==null;){u=Pe;try{var Oe=u.alternate;if((u.flags&1024)!==0)switch(u.tag){case 0:case 11:case 15:break;case 1:if(Oe!==null){var ze=Oe.memoizedProps,En=Oe.memoizedState,ie=u.stateNode,ee=ie.getSnapshotBeforeUpdate(u.elementType===u.type?ze:oo(u.type,ze),En);ie.__reactInternalSnapshotBeforeUpdate=ee}break;case 3:var ce=u.stateNode.containerInfo;ce.nodeType===1?ce.textContent="":ce.nodeType===9&&ce.documentElement&&ce.removeChild(ce.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Se){_n(u,u.return,Se)}if(l=u.sibling,l!==null){l.return=u.return,Pe=l;break}Pe=u.return}return Oe=jS,jS=!1,Oe}function md(l,u,m){var y=u.updateQueue;if(y=y!==null?y.lastEffect:null,y!==null){var x=y=y.next;do{if((x.tag&l)===l){var T=x.destroy;x.destroy=void 0,T!==void 0&&bv(u,m,T)}x=x.next}while(x!==y)}}function ff(l,u){if(u=u.updateQueue,u=u!==null?u.lastEffect:null,u!==null){var m=u=u.next;do{if((m.tag&l)===l){var y=m.create;m.destroy=y()}m=m.next}while(m!==u)}}function yv(l){var u=l.ref;if(u!==null){var m=l.stateNode;l.tag,l=m,typeof u=="function"?u(l):u.current=l}}function zS(l){var u=l.alternate;u!==null&&(l.alternate=null,zS(u)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(u=l.stateNode,u!==null&&(delete u[Lo],delete u[ad],delete u[O2],delete u[hz],delete u[mz])),l.stateNode=null,l.return=null,l.dependencies=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.stateNode=null,l.updateQueue=null}function HS(l){return l.tag===5||l.tag===3||l.tag===4}function US(l){e:for(;;){for(;l.sibling===null;){if(l.return===null||HS(l.return))return null;l=l.return}for(l.sibling.return=l.return,l=l.sibling;l.tag!==5&&l.tag!==6&&l.tag!==18;){if(l.flags&2||l.child===null||l.tag===4)continue e;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}function wv(l,u,m){var y=l.tag;if(y===5||y===6)l=l.stateNode,u?m.nodeType===8?m.parentNode.insertBefore(l,u):m.insertBefore(l,u):(m.nodeType===8?(u=m.parentNode,u.insertBefore(l,m)):(u=m,u.appendChild(l)),m=m._reactRootContainer,m!=null||u.onclick!==null||(u.onclick=Gp));else if(y!==4&&(l=l.child,l!==null))for(wv(l,u,m),l=l.sibling;l!==null;)wv(l,u,m),l=l.sibling}function Sv(l,u,m){var y=l.tag;if(y===5||y===6)l=l.stateNode,u?m.insertBefore(l,u):m.appendChild(l);else if(y!==4&&(l=l.child,l!==null))for(Sv(l,u,m),l=l.sibling;l!==null;)Sv(l,u,m),l=l.sibling}var pr=null,io=!1;function rs(l,u,m){for(m=m.child;m!==null;)GS(l,u,m),m=m.sibling}function GS(l,u,m){if(Nt&&typeof Nt.onCommitFiberUnmount=="function")try{Nt.onCommitFiberUnmount(ut,m)}catch{}switch(m.tag){case 5:kr||yc(m,u);case 6:var y=pr,x=io;pr=null,rs(l,u,m),pr=y,io=x,pr!==null&&(io?(l=pr,m=m.stateNode,l.nodeType===8?l.parentNode.removeChild(m):l.removeChild(m)):pr.removeChild(m.stateNode));break;case 18:pr!==null&&(io?(l=pr,m=m.stateNode,l.nodeType===8?B2(l.parentNode,m):l.nodeType===1&&B2(l,m),Qu(l)):B2(pr,m.stateNode));break;case 4:y=pr,x=io,pr=m.stateNode.containerInfo,io=!0,rs(l,u,m),pr=y,io=x;break;case 0:case 11:case 14:case 15:if(!kr&&(y=m.updateQueue,y!==null&&(y=y.lastEffect,y!==null))){x=y=y.next;do{var T=x,B=T.destroy;T=T.tag,B!==void 0&&((T&2)!==0||(T&4)!==0)&&bv(m,u,B),x=x.next}while(x!==y)}rs(l,u,m);break;case 1:if(!kr&&(yc(m,u),y=m.stateNode,typeof y.componentWillUnmount=="function"))try{y.props=m.memoizedProps,y.state=m.memoizedState,y.componentWillUnmount()}catch(G){_n(m,u,G)}rs(l,u,m);break;case 21:rs(l,u,m);break;case 22:m.mode&1?(kr=(y=kr)||m.memoizedState!==null,rs(l,u,m),kr=y):rs(l,u,m);break;default:rs(l,u,m)}}function qS(l){var u=l.updateQueue;if(u!==null){l.updateQueue=null;var m=l.stateNode;m===null&&(m=l.stateNode=new Iz),u.forEach(function(y){var x=Hz.bind(null,l,y);m.has(y)||(m.add(y),y.then(x,x))})}}function so(l,u){var m=u.deletions;if(m!==null)for(var y=0;yx&&(x=B),y&=~T}if(y=x,y=ke()-y,y=(120>y?120:480>y?480:1080>y?1080:1920>y?1920:3e3>y?3e3:4320>y?4320:1960*Lz(y/1960))-y,10l?16:l,os===null)var y=!1;else{if(l=os,os=null,_f=0,(It&6)!==0)throw Error(n(331));var x=It;for(It|=4,Pe=l.current;Pe!==null;){var T=Pe,B=T.child;if((Pe.flags&16)!==0){var G=T.deletions;if(G!==null){for(var X=0;Xke()-xv?il(l,0):kv|=m),Yr(l,u)}function rC(l,u){u===0&&((l.mode&1)===0?u=1:(u=Vr,Vr<<=1,(Vr&130023424)===0&&(Vr=4194304)));var m=Ir();l=pi(l,u),l!==null&&(ia(l,u,m),Yr(l,m))}function zz(l){var u=l.memoizedState,m=0;u!==null&&(m=u.retryLane),rC(l,m)}function Hz(l,u){var m=0;switch(l.tag){case 13:var y=l.stateNode,x=l.memoizedState;x!==null&&(m=x.retryLane);break;case 19:y=l.stateNode;break;default:throw Error(n(314))}y!==null&&y.delete(u),rC(l,m)}var aC;aC=function(l,u,m){if(l!==null)if(l.memoizedProps!==u.pendingProps||Qr.current)Xr=!0;else{if((l.lanes&m)===0&&(u.flags&128)===0)return Xr=!1,Tz(l,u,m);Xr=(l.flags&131072)!==0}else Xr=!1,ln&&(u.flags&1048576)!==0&&F9(u,Xp,u.index);switch(u.lanes=0,u.tag){case 2:var y=u.type;df(l,u),l=u.pendingProps;var x=dc(u,wr.current);vc(u,m),x=nv(null,u,y,l,x,m);var T=rv();return u.flags|=1,typeof x=="object"&&x!==null&&typeof x.render=="function"&&x.$$typeof===void 0?(u.tag=1,u.memoizedState=null,u.updateQueue=null,Kr(y)?(T=!0,Wp(u)):T=!1,u.memoizedState=x.state!==null&&x.state!==void 0?x.state:null,X2(u),x.updater=cf,u.stateNode=x,x._reactInternals=u,cv(u,y,l,m),u=fv(null,u,y,!0,T,m)):(u.tag=0,ln&&T&&j2(u),Nr(null,u,x,m),u=u.child),u;case 16:y=u.elementType;e:{switch(df(l,u),l=u.pendingProps,x=y._init,y=x(y._payload),u.type=y,x=u.tag=Gz(y),l=oo(y,l),x){case 0:u=pv(null,u,y,l,m);break e;case 1:u=NS(null,u,y,l,m);break e;case 11:u=xS(null,u,y,l,m);break e;case 14:u=ES(null,u,y,oo(y.type,l),m);break e}throw Error(n(306,y,""))}return u;case 0:return y=u.type,x=u.pendingProps,x=u.elementType===y?x:oo(y,x),pv(l,u,y,x,m);case 1:return y=u.type,x=u.pendingProps,x=u.elementType===y?x:oo(y,x),NS(l,u,y,x,m);case 3:e:{if(IS(u),l===null)throw Error(n(387));y=u.pendingProps,T=u.memoizedState,x=T.element,W9(l,u),tf(u,y,null,m);var B=u.memoizedState;if(y=B.element,T.isDehydrated)if(T={element:y,isDehydrated:!1,cache:B.cache,pendingSuspenseBoundaries:B.pendingSuspenseBoundaries,transitions:B.transitions},u.updateQueue.baseState=T,u.memoizedState=T,u.flags&256){x=bc(Error(n(423)),u),u=PS(l,u,y,m,x);break e}else if(y!==x){x=bc(Error(n(424)),u),u=PS(l,u,y,m,x);break e}else for(ca=Yi(u.stateNode.containerInfo.firstChild),la=u,ln=!0,ao=null,m=q9(u,null,y,m),u.child=m;m;)m.flags=m.flags&-3|4096,m=m.sibling;else{if(hc(),y===x){u=hi(l,u,m);break e}Nr(l,u,y,m)}u=u.child}return u;case 5:return X9(u),l===null&&U2(u),y=u.type,x=u.pendingProps,T=l!==null?l.memoizedProps:null,B=x.children,R2(y,x)?B=null:T!==null&&R2(y,T)&&(u.flags|=32),MS(l,u),Nr(l,u,B,m),u.child;case 6:return l===null&&U2(u),null;case 13:return RS(l,u,m);case 4:return $2(u,u.stateNode.containerInfo),y=u.pendingProps,l===null?u.child=mc(u,null,y,m):Nr(l,u,y,m),u.child;case 11:return y=u.type,x=u.pendingProps,x=u.elementType===y?x:oo(y,x),xS(l,u,y,x,m);case 7:return Nr(l,u,u.pendingProps,m),u.child;case 8:return Nr(l,u,u.pendingProps.children,m),u.child;case 12:return Nr(l,u,u.pendingProps.children,m),u.child;case 10:e:{if(y=u.type._context,x=u.pendingProps,T=u.memoizedProps,B=x.value,$t(Zp,y._currentValue),y._currentValue=B,T!==null)if(ro(T.value,B)){if(T.children===x.children&&!Qr.current){u=hi(l,u,m);break e}}else for(T=u.child,T!==null&&(T.return=u);T!==null;){var G=T.dependencies;if(G!==null){B=T.child;for(var X=G.firstContext;X!==null;){if(X.context===y){if(T.tag===1){X=fi(-1,m&-m),X.tag=2;var ue=T.updateQueue;if(ue!==null){ue=ue.shared;var _e=ue.pending;_e===null?X.next=X:(X.next=_e.next,_e.next=X),ue.pending=X}}T.lanes|=m,X=T.alternate,X!==null&&(X.lanes|=m),Q2(T.return,m,u),G.lanes|=m;break}X=X.next}}else if(T.tag===10)B=T.type===u.type?null:T.child;else if(T.tag===18){if(B=T.return,B===null)throw Error(n(341));B.lanes|=m,G=B.alternate,G!==null&&(G.lanes|=m),Q2(B,m,u),B=T.sibling}else B=T.child;if(B!==null)B.return=T;else for(B=T;B!==null;){if(B===u){B=null;break}if(T=B.sibling,T!==null){T.return=B.return,B=T;break}B=B.return}T=B}Nr(l,u,x.children,m),u=u.child}return u;case 9:return x=u.type,y=u.pendingProps.children,vc(u,m),x=Pa(x),y=y(x),u.flags|=1,Nr(l,u,y,m),u.child;case 14:return y=u.type,x=oo(y,u.pendingProps),x=oo(y.type,x),ES(l,u,y,x,m);case 15:return AS(l,u,u.type,u.pendingProps,m);case 17:return y=u.type,x=u.pendingProps,x=u.elementType===y?x:oo(y,x),df(l,u),u.tag=1,Kr(y)?(l=!0,Wp(u)):l=!1,vc(u,m),_S(u,y,x),cv(u,y,x,m),fv(null,u,y,!0,l,m);case 19:return BS(l,u,m);case 22:return TS(l,u,m)}throw Error(n(156,u.tag))};function oC(l,u){return K(l,u)}function Uz(l,u,m,y){this.tag=l,this.key=m,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=u,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=y,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ba(l,u,m,y){return new Uz(l,u,m,y)}function Rv(l){return l=l.prototype,!(!l||!l.isReactComponent)}function Gz(l){if(typeof l=="function")return Rv(l)?1:0;if(l!=null){if(l=l.$$typeof,l===se)return 11;if(l===F)return 14}return 2}function ls(l,u){var m=l.alternate;return m===null?(m=Ba(l.tag,u,l.key,l.mode),m.elementType=l.elementType,m.type=l.type,m.stateNode=l.stateNode,m.alternate=l,l.alternate=m):(m.pendingProps=u,m.type=l.type,m.flags=0,m.subtreeFlags=0,m.deletions=null),m.flags=l.flags&14680064,m.childLanes=l.childLanes,m.lanes=l.lanes,m.child=l.child,m.memoizedProps=l.memoizedProps,m.memoizedState=l.memoizedState,m.updateQueue=l.updateQueue,u=l.dependencies,m.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},m.sibling=l.sibling,m.index=l.index,m.ref=l.ref,m}function Sf(l,u,m,y,x,T){var B=2;if(y=l,typeof l=="function")Rv(l)&&(B=1);else if(typeof l=="string")B=5;else e:switch(l){case L:return ll(m.children,x,T,u);case j:B=8,x|=8;break;case V:return l=Ba(12,m,u,x|2),l.elementType=V,l.lanes=T,l;case q:return l=Ba(13,m,u,x),l.elementType=q,l.lanes=T,l;case O:return l=Ba(19,m,u,x),l.elementType=O,l.lanes=T,l;case U:return Cf(m,x,T,u);default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case Q:B=10;break e;case oe:B=9;break e;case se:B=11;break e;case F:B=14;break e;case W:B=16,y=null;break e}throw Error(n(130,l==null?l:typeof l,""))}return u=Ba(B,m,u,x),u.elementType=l,u.type=y,u.lanes=T,u}function ll(l,u,m,y){return l=Ba(7,l,y,u),l.lanes=m,l}function Cf(l,u,m,y){return l=Ba(22,l,y,u),l.elementType=U,l.lanes=m,l.stateNode={isHidden:!1},l}function Lv(l,u,m){return l=Ba(6,l,null,u),l.lanes=m,l}function Bv(l,u,m){return u=Ba(4,l.children!==null?l.children:[],l.key,u),u.lanes=m,u.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},u}function qz(l,u,m,y,x){this.tag=u,this.containerInfo=l,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ft(0),this.expirationTimes=Ft(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ft(0),this.identifierPrefix=y,this.onRecoverableError=x,this.mutableSourceEagerHydrationData=null}function Ov(l,u,m,y,x,T,B,G,X){return l=new qz(l,u,m,G,X),u===1?(u=1,T===!0&&(u|=8)):u=0,T=Ba(3,null,null,u),l.current=T,T.stateNode=l,T.memoizedState={element:y,isDehydrated:m,cache:null,transitions:null,pendingSuspenseBoundaries:null},X2(T),l}function Vz(l,u,m){var y=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Uv.exports=rH(),Uv.exports}var bC;function aH(){if(bC)return Nf;bC=1;var e=lI();return Nf.createRoot=e.createRoot,Nf.hydrateRoot=e.hydrateRoot,Nf}var oH=aH();var yC="popstate";function wC(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function iH(e={}){function t(r,a){let o=a.state?.masked,{pathname:i,search:s,hash:c}=o||r.location;return iy("",{pathname:i,search:s,hash:c},a.state&&a.state.usr||null,a.state&&a.state.key||"default",o?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function n(r,a){return typeof a=="string"?a:T1(a)}return lH(t,n,null,e)}function gn(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Co(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function sH(){return Math.random().toString(36).substring(2,10)}function SC(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.unstable_mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function iy(e,t,n=null,r,a){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Pu(t):t,state:n,key:t&&t.key||r||sH(),unstable_mask:a}}function T1({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function Pu(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function lH(e,t,n,r={}){let{window:a=document.defaultView,v5Compat:o=!1}=r,i=a.history,s="POP",c=null,d=p();d==null&&(d=0,i.replaceState({...i.state,idx:d},""));function p(){return(i.state||{idx:null}).idx}function f(){s="POP";let S=p(),E=S==null?null:S-d;d=S,c&&c({action:s,location:b.location,delta:E})}function h(S,E){s="PUSH";let A=wC(S)?S:iy(b.location,S,E);d=p()+1;let M=SC(A,d),I=b.createHref(A.unstable_mask||A);try{i.pushState(M,"",I)}catch(N){if(N instanceof DOMException&&N.name==="DataCloneError")throw N;a.location.assign(I)}o&&c&&c({action:s,location:b.location,delta:1})}function g(S,E){s="REPLACE";let A=wC(S)?S:iy(b.location,S,E);d=p();let M=SC(A,d),I=b.createHref(A.unstable_mask||A);i.replaceState(M,"",I),o&&c&&c({action:s,location:b.location,delta:0})}function _(S){return cH(S)}let b={get action(){return s},get location(){return e(a,i)},listen(S){if(c)throw new Error("A history only accepts one active listener");return a.addEventListener(yC,f),c=S,()=>{a.removeEventListener(yC,f),c=null}},createHref(S){return t(a,S)},createURL:_,encodeLocation(S){let E=_(S);return{pathname:E.pathname,search:E.search,hash:E.hash}},push:h,replace:g,go(S){return i.go(S)}};return b}function cH(e,t=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),gn(n,"No window.location.(origin|href) available to create URL");let r=typeof e=="string"?e:T1(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}function cI(e,t,n="/"){return uH(e,t,n,!1)}function uH(e,t,n,r){let a=typeof t=="string"?Pu(t):t,o=Ei(a.pathname||"/",n);if(o==null)return null;let i=uI(e);dH(i);let s=null;for(let c=0;s==null&&c{let p={relativePath:d===void 0?i.path||"":d,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};if(p.relativePath.startsWith("/")){if(!p.relativePath.startsWith(r)&&c)return;gn(p.relativePath.startsWith(r),`Absolute route path "${p.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),p.relativePath=p.relativePath.slice(r.length)}let f=Qo([r,p.relativePath]),h=n.concat(p);i.children&&i.children.length>0&&(gn(i.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${f}".`),uI(i.children,t,h,f,c)),!(i.path==null&&!i.index)&&t.push({path:f,score:_H(f,i.index),routesMeta:h})};return e.forEach((i,s)=>{if(i.path===""||!i.path?.includes("?"))o(i,s);else for(let c of dI(i.path))o(i,s,!0,c)}),t}function dI(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,a=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return a?[o,""]:[o];let i=dI(r.join("/")),s=[];return s.push(...i.map(c=>c===""?o:[o,c].join("/"))),a&&s.push(...i),s.map(c=>e.startsWith("/")&&c===""?"/":c)}function dH(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:bH(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var pH=/^:[\w-]+$/,fH=3,hH=2,mH=1,gH=10,vH=-2,CC=e=>e==="*";function _H(e,t){let n=e.split("/"),r=n.length;return n.some(CC)&&(r+=vH),t&&(r+=hH),n.filter(a=>!CC(a)).reduce((a,o)=>a+(pH.test(o)?fH:o===""?mH:gH),r)}function bH(e,t){return e.length===t.length&&e.slice(0,-1).every((r,a)=>r===t[a])?e[e.length-1]-t[t.length-1]:0}function yH(e,t,n=!1){let{routesMeta:r}=e,a={},o="/",i=[];for(let s=0;s{if(p==="*"){let _=s[h]||"";i=o.slice(0,o.length-_.length).replace(/(.)\/+$/,"$1")}const g=s[h];return f&&!g?d[p]=void 0:d[p]=(g||"").replace(/%2F/g,"/"),d},{}),pathname:o,pathnameBase:i,pattern:e}}function wH(e,t=!1,n=!0){Co(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,s,c,d,p)=>{if(r.push({paramName:s,isOptional:c!=null}),c){let f=p.charAt(d+i.length);return f&&f!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),r]}function SH(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Co(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Ei(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}var CH=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function kH(e,t="/"){let{pathname:n,search:r="",hash:a=""}=typeof e=="string"?Pu(e):e,o;return n?(n=n.replace(/\/\/+/g,"/"),n.startsWith("/")?o=kC(n.substring(1),"/"):o=kC(n,t)):o=t,{pathname:o,search:AH(r),hash:TH(a)}}function kC(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?n.length>1&&n.pop():a!=="."&&n.push(a)}),n.length>1?n.join("/"):"/"}function Vv(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function xH(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function pI(e){let t=xH(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function W7(e,t,n,r=!1){let a;typeof e=="string"?a=Pu(e):(a={...e},gn(!a.pathname||!a.pathname.includes("?"),Vv("?","pathname","search",a)),gn(!a.pathname||!a.pathname.includes("#"),Vv("#","pathname","hash",a)),gn(!a.search||!a.search.includes("#"),Vv("#","search","hash",a)));let o=e===""||a.pathname==="",i=o?"/":a.pathname,s;if(i==null)s=n;else{let f=t.length-1;if(!r&&i.startsWith("..")){let h=i.split("/");for(;h[0]==="..";)h.shift(),f-=1;a.pathname=h.join("/")}s=f>=0?t[f]:"/"}let c=kH(a,s),d=i&&i!=="/"&&i.endsWith("/"),p=(o||i===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(d||p)&&(c.pathname+="/"),c}var Qo=e=>e.join("/").replace(/\/\/+/g,"/"),EH=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),AH=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,TH=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,MH=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function NH(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function IH(e){return e.map(t=>t.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var fI=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function hI(e,t){let n=e;if(typeof n!="string"||!CH.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,a=!1;if(fI)try{let o=new URL(window.location.href),i=n.startsWith("//")?new URL(o.protocol+n):new URL(n),s=Ei(i.pathname,t);i.origin===o.origin&&s!=null?n=s+i.search+i.hash:a=!0}catch{Co(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:a,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var mI=["POST","PUT","PATCH","DELETE"];new Set(mI);var PH=["GET",...mI];new Set(PH);var Ru=C.createContext(null);Ru.displayName="DataRouter";var q0=C.createContext(null);q0.displayName="DataRouterState";var RH=C.createContext(!1),gI=C.createContext({isTransitioning:!1});gI.displayName="ViewTransition";var LH=C.createContext(new Map);LH.displayName="Fetchers";var BH=C.createContext(null);BH.displayName="Await";var Qa=C.createContext(null);Qa.displayName="Navigation";var np=C.createContext(null);np.displayName="Location";var Yo=C.createContext({outlet:null,matches:[],isDataRoute:!1});Yo.displayName="Route";var Q7=C.createContext(null);Q7.displayName="RouteError";var vI="REACT_ROUTER_ERROR",OH="REDIRECT",FH="ROUTE_ERROR_RESPONSE";function DH(e){if(e.startsWith(`${vI}:${OH}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function jH(e){if(e.startsWith(`${vI}:${FH}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new MH(t.status,t.statusText,t.data)}catch{}}function zH(e,{relative:t}={}){gn(rp(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=C.useContext(Qa),{hash:a,pathname:o,search:i}=ap(e,{relative:t}),s=o;return n!=="/"&&(s=o==="/"?n:Qo([n,o])),r.createHref({pathname:s,search:i,hash:a})}function rp(){return C.useContext(np)!=null}function Ri(){return gn(rp(),"useLocation() may be used only in the context of a component."),C.useContext(np).location}var _I="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function bI(e){C.useContext(Qa).static||C.useLayoutEffect(e)}function K7(){let{isDataRoute:e}=C.useContext(Yo);return e?eU():HH()}function HH(){gn(rp(),"useNavigate() may be used only in the context of a component.");let e=C.useContext(Ru),{basename:t,navigator:n}=C.useContext(Qa),{matches:r}=C.useContext(Yo),{pathname:a}=Ri(),o=JSON.stringify(pI(r)),i=C.useRef(!1);return bI(()=>{i.current=!0}),C.useCallback((c,d={})=>{if(Co(i.current,_I),!i.current)return;if(typeof c=="number"){n.go(c);return}let p=W7(c,JSON.parse(o),a,d.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:Qo([t,p.pathname])),(d.replace?n.replace:n.push)(p,d.state,d)},[t,n,o,a,e])}var UH=C.createContext(null);function GH(e){let t=C.useContext(Yo).outlet;return C.useMemo(()=>t&&C.createElement(UH.Provider,{value:e},t),[t,e])}function ap(e,{relative:t}={}){let{matches:n}=C.useContext(Yo),{pathname:r}=Ri(),a=JSON.stringify(pI(n));return C.useMemo(()=>W7(e,JSON.parse(a),r,t==="path"),[e,a,r,t])}function yI(e,t){return wI(e,t)}function wI(e,t,n){gn(rp(),"useRoutes() may be used only in the context of a component.");let{navigator:r}=C.useContext(Qa),{matches:a}=C.useContext(Yo),o=a[a.length-1],i=o?o.params:{},s=o?o.pathname:"/",c=o?o.pathnameBase:"/",d=o&&o.route;{let S=d&&d.path||"";CI(s,!d||S.endsWith("*")||S.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${s}" (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 p=Ri(),f;if(t){let S=typeof t=="string"?Pu(t):t;gn(c==="/"||S.pathname?.startsWith(c),`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 "${c}" but pathname "${S.pathname}" was given in the \`location\` prop.`),f=S}else f=p;let h=f.pathname||"/",g=h;if(c!=="/"){let S=c.replace(/^\//,"").split("/");g="/"+h.replace(/^\//,"").split("/").slice(S.length).join("/")}let _=cI(e,{pathname:g});Co(d||_!=null,`No routes matched location "${f.pathname}${f.search}${f.hash}" `),Co(_==null||_[_.length-1].route.element!==void 0||_[_.length-1].route.Component!==void 0||_[_.length-1].route.lazy!==void 0,`Matched leaf route at location "${f.pathname}${f.search}${f.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 b=KH(_&&_.map(S=>Object.assign({},S,{params:Object.assign({},i,S.params),pathname:Qo([c,r.encodeLocation?r.encodeLocation(S.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?c:Qo([c,r.encodeLocation?r.encodeLocation(S.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:S.pathnameBase])})),a,n);return t&&b?C.createElement(np.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...f},navigationType:"POP"}},b):b}function qH(){let e=JH(),t=NH(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:r},o={padding:"2px 4px",backgroundColor:r},i=null;return console.error("Error handled by React Router default ErrorBoundary:",e),i=C.createElement(C.Fragment,null,C.createElement("p",null,"💿 Hey developer 👋"),C.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",C.createElement("code",{style:o},"ErrorBoundary")," or"," ",C.createElement("code",{style:o},"errorElement")," prop on your route.")),C.createElement(C.Fragment,null,C.createElement("h2",null,"Unexpected Application Error!"),C.createElement("h3",{style:{fontStyle:"italic"}},t),n?C.createElement("pre",{style:a},n):null,i)}var VH=C.createElement(qH,null),SI=class extends C.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const n=jH(e.digest);n&&(e=n)}let t=e!==void 0?C.createElement(Yo.Provider,{value:this.props.routeContext},C.createElement(Q7.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?C.createElement(WH,{error:e},t):t}};SI.contextType=RH;var Wv=new WeakMap;function WH({children:e,error:t}){let{basename:n}=C.useContext(Qa);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let r=DH(t.digest);if(r){let a=Wv.get(t);if(a)throw a;let o=hI(r.location,n);if(fI&&!Wv.get(t))if(o.isExternal||r.reloadDocument)window.location.href=o.absoluteURL||o.to;else{const i=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(o.to,{replace:r.replace}));throw Wv.set(t,i),i}return C.createElement("meta",{httpEquiv:"refresh",content:`0;url=${o.absoluteURL||o.to}`})}}return e}function QH({routeContext:e,match:t,children:n}){let r=C.useContext(Ru);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),C.createElement(Yo.Provider,{value:e},n)}function KH(e,t=[],n){let r=n?.state;if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let a=e,o=r?.errors;if(o!=null){let p=a.findIndex(f=>f.route.id&&o?.[f.route.id]!==void 0);gn(p>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(o).join(",")}`),a=a.slice(0,Math.min(a.length,p+1))}let i=!1,s=-1;if(n&&r){i=r.renderFallback;for(let p=0;p=0?a=a.slice(0,s+1):a=[a[0]];break}}}}let c=n?.onError,d=r&&c?(p,f)=>{c(p,{location:r.location,params:r.matches?.[0]?.params??{},unstable_pattern:IH(r.matches),errorInfo:f})}:void 0;return a.reduceRight((p,f,h)=>{let g,_=!1,b=null,S=null;r&&(g=o&&f.route.id?o[f.route.id]:void 0,b=f.route.errorElement||VH,i&&(s<0&&h===0?(CI("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),_=!0,S=null):s===h&&(_=!0,S=f.route.hydrateFallbackElement||null)));let E=t.concat(a.slice(0,h+1)),A=()=>{let M;return g?M=b:_?M=S:f.route.Component?M=C.createElement(f.route.Component,null):f.route.element?M=f.route.element:M=p,C.createElement(QH,{match:f,routeContext:{outlet:p,matches:E,isDataRoute:r!=null},children:M})};return r&&(f.route.ErrorBoundary||f.route.errorElement||h===0)?C.createElement(SI,{location:r.location,revalidation:r.revalidation,component:b,error:g,children:A(),routeContext:{outlet:null,matches:E,isDataRoute:!0},onError:d}):A()},null)}function X7(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function XH(e){let t=C.useContext(Ru);return gn(t,X7(e)),t}function $H(e){let t=C.useContext(q0);return gn(t,X7(e)),t}function YH(e){let t=C.useContext(Yo);return gn(t,X7(e)),t}function $7(e){let t=YH(e),n=t.matches[t.matches.length-1];return gn(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function ZH(){return $7("useRouteId")}function JH(){let e=C.useContext(Q7),t=$H("useRouteError"),n=$7("useRouteError");return e!==void 0?e:t.errors?.[n]}function eU(){let{router:e}=XH("useNavigate"),t=$7("useNavigate"),n=C.useRef(!1);return bI(()=>{n.current=!0}),C.useCallback(async(a,o={})=>{Co(n.current,_I),n.current&&(typeof a=="number"?await e.navigate(a):await e.navigate(a,{fromRouteId:t,...o}))},[e,t])}var xC={};function CI(e,t,n){!t&&!xC[e]&&(xC[e]=!0,Co(!1,n))}C.memo(tU);function tU({routes:e,future:t,state:n,isStatic:r,onError:a}){return wI(e,void 0,{state:n,isStatic:r,onError:a})}function nU(e){return GH(e.context)}function zd(e){gn(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function rU({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:a,static:o=!1,unstable_useTransitions:i}){gn(!rp(),"You cannot render a inside another . You should never have more than one in your app.");let s=e.replace(/^\/*/,"/"),c=C.useMemo(()=>({basename:s,navigator:a,static:o,unstable_useTransitions:i,future:{}}),[s,a,o,i]);typeof n=="string"&&(n=Pu(n));let{pathname:d="/",search:p="",hash:f="",state:h=null,key:g="default",unstable_mask:_}=n,b=C.useMemo(()=>{let S=Ei(d,s);return S==null?null:{location:{pathname:S,search:p,hash:f,state:h,key:g,unstable_mask:_},navigationType:r}},[s,d,p,f,h,g,r,_]);return Co(b!=null,` is not able to match the URL "${d}${p}${f}" because it does not start with the basename, so the won't render anything.`),b==null?null:C.createElement(Qa.Provider,{value:c},C.createElement(np.Provider,{children:t,value:b}))}function aU({children:e,location:t}){return yI(sy(e),t)}function sy(e,t=[]){let n=[];return C.Children.forEach(e,(r,a)=>{if(!C.isValidElement(r))return;let o=[...t,a];if(r.type===C.Fragment){n.push.apply(n,sy(r.props.children,o));return}gn(r.type===zd,`[${typeof r.type=="string"?r.type:r.type.name}] is not a component. All component children of must be a or `),gn(!r.props.index||!r.props.children,"An index route cannot have child routes.");let i={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=sy(r.props.children,o)),n.push(i)}),n}var Sh="get",Ch="application/x-www-form-urlencoded";function V0(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function oU(e){return V0(e)&&e.tagName.toLowerCase()==="button"}function iU(e){return V0(e)&&e.tagName.toLowerCase()==="form"}function sU(e){return V0(e)&&e.tagName.toLowerCase()==="input"}function lU(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function cU(e,t){return e.button===0&&(!t||t==="_self")&&!lU(e)}function ly(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(a=>[n,a]):[[n,r]])},[]))}function uU(e,t){let n=ly(e);return t&&t.forEach((r,a)=>{n.has(a)||t.getAll(a).forEach(o=>{n.append(a,o)})}),n}var If=null;function dU(){if(If===null)try{new FormData(document.createElement("form"),0),If=!1}catch{If=!0}return If}var pU=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Qv(e){return e!=null&&!pU.has(e)?(Co(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Ch}"`),null):e}function fU(e,t){let n,r,a,o,i;if(iU(e)){let s=e.getAttribute("action");r=s?Ei(s,t):null,n=e.getAttribute("method")||Sh,a=Qv(e.getAttribute("enctype"))||Ch,o=new FormData(e)}else if(oU(e)||sU(e)&&(e.type==="submit"||e.type==="image")){let s=e.form;if(s==null)throw new Error('Cannot submit a