const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/agent-session-BVs8O1h2.js","assets/timer--QM2LZfv.js","assets/index-CZ0EW3RC.js","assets/nav-timing-CHjjxeJZ.js","assets/aggregate-base-IMZrSNLM.js","assets/event-buffer-mU9irVG-.js","assets/webdriver-detection-Bl_P0Svc.js","assets/traverse-eGeoT8Mx.js","assets/index-B2m1rpTK.js","assets/bel-serializer-OgkjI7zn.js","assets/event-origin-Bb7irpQQ.js","assets/load-time-C3SZhEwe.js","assets/index-DcSmBikk.js","assets/iframe-PalxAwQ_.js","assets/index-D3bqLFQd.js","assets/index-BDLI2i_f.js","assets/type-check-BVQCr-HH.js","assets/index-DHOWeWK4.js","assets/index-DqoYGKdk.js","assets/stylesheet-evaluator-mTA5Du2u.js","assets/recorder-CSlYT3NQ.js","assets/index-Bo5Dxkfr.js","assets/index-CEAqU0YV.js","assets/index-Bb5Lqxjz.js"])))=>i.map(i=>d[i]); (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 i of a)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(a){if(a.ep)return;a.ep=!0;const i=n(a);fetch(a.href,i)}})();var Xwe=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 zg={exports:{}},Hu={},$g={exports:{}},vt={};var Bw;function wD(){if(Bw)return vt;Bw=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"),i=Symbol.for("react.provider"),o=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator;function m(D){return D===null||typeof D!="object"?null:(D=p&&D[p]||D["@@iterator"],typeof D=="function"?D:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,b={};function k(D,U,ee){this.props=D,this.context=U,this.refs=b,this.updater=ee||g}k.prototype.isReactComponent={},k.prototype.setState=function(D,U){if(typeof D!="object"&&typeof D!="function"&&D!=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,D,U,"setState")},k.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};function T(){}T.prototype=k.prototype;function A(D,U,ee){this.props=D,this.context=U,this.refs=b,this.updater=ee||g}var N=A.prototype=new T;N.constructor=A,v(N,k.prototype),N.isPureReactComponent=!0;var R=Array.isArray,I=Object.prototype.hasOwnProperty,O={current:null},L={key:!0,ref:!0,__self:!0,__source:!0};function B(D,U,ee){var te,le={},Y=null,me=null;if(U!=null)for(te in U.ref!==void 0&&(me=U.ref),U.key!==void 0&&(Y=""+U.key),U)I.call(U,te)&&!L.hasOwnProperty(te)&&(le[te]=U[te]);var oe=arguments.length-2;if(oe===1)le.children=ee;else if(1>>1,U=$[D];if(0>>1;Da(le,ae))Ya(me,le)?($[D]=me,$[Y]=ae,D=Y):($[D]=le,$[te]=ae,D=te);else if(Ya(me,ae))$[D]=me,$[Y]=ae,D=Y;else break e}}return pe}function a($,pe){var ae=$.sortIndex-pe.sortIndex;return ae!==0?ae:$.id-pe.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],d=[],f=1,p=null,m=3,g=!1,v=!1,b=!1,k=typeof setTimeout=="function"?setTimeout:null,T=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 N($){for(var pe=n(d);pe!==null;){if(pe.callback===null)r(d);else if(pe.startTime<=$)r(d),pe.sortIndex=pe.expirationTime,t(c,pe);else break;pe=n(d)}}function R($){if(b=!1,N($),!v)if(n(c)!==null)v=!0,Z(I);else{var pe=n(d);pe!==null&&X(R,pe.startTime-$)}}function I($,pe){v=!1,b&&(b=!1,T(B),B=-1),g=!0;var ae=m;try{for(N(pe),p=n(c);p!==null&&(!(p.expirationTime>pe)||$&&!ie());){var D=p.callback;if(typeof D=="function"){p.callback=null,m=p.priorityLevel;var U=D(p.expirationTime<=pe);pe=e.unstable_now(),typeof U=="function"?p.callback=U:p===n(c)&&r(c),N(pe)}else r(c);p=n(c)}if(p!==null)var ee=!0;else{var te=n(d);te!==null&&X(R,te.startTime-pe),ee=!1}return ee}finally{p=null,m=ae,g=!1}}var O=!1,L=null,B=-1,H=5,J=-1;function ie(){return!(e.unstable_now()-J$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):H=0<$?Math.floor(1e3/$):5},e.unstable_getCurrentPriorityLevel=function(){return m},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function($){switch(m){case 1:case 2:case 3:var pe=3;break;default:pe=m}var ae=m;m=pe;try{return $()}finally{m=ae}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function($,pe){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var ae=m;m=$;try{return pe()}finally{m=ae}},e.unstable_scheduleCallback=function($,pe,ae){var D=e.unstable_now();switch(typeof ae=="object"&&ae!==null?(ae=ae.delay,ae=typeof ae=="number"&&0D?($.sortIndex=ae,t(d,$),n(c)===null&&$===n(d)&&(b?(T(B),B=-1):b=!0,X(R,ae-D))):($.sortIndex=U,t(c,$),v||g||(v=!0,Z(I))),$},e.unstable_shouldYield=ie,e.unstable_wrapCallback=function($){var pe=m;return function(){var ae=m;m=pe;try{return $.apply(this,arguments)}finally{m=ae}}}})(Vg)),Vg}var Hw;function CD(){return Hw||(Hw=1,Ug.exports=ED()),Ug.exports}var Uw;function xD(){if(Uw)return Xr;Uw=1;var e=nu(),t=CD();function n(l){for(var u="https://reactjs.org/docs/error-decoder.html?invariant="+l,h=1;h"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]*$/,f={},p={};function m(l){return c.call(p,l)?!0:c.call(f,l)?!1:d.test(l)?p[l]=!0:(f[l]=!0,!1)}function g(l,u,h,y){if(h!==null&&h.type===0)return!1;switch(typeof u){case"function":case"symbol":return!0;case"boolean":return y?!1:h!==null?!h.acceptsBooleans:(l=l.toLowerCase().slice(0,5),l!=="data-"&&l!=="aria-");default:return!1}}function v(l,u,h,y){if(u===null||typeof u>"u"||g(l,u,h,y))return!0;if(y)return!1;if(h!==null)switch(h.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,h,y,S,x,P){this.acceptsBooleans=u===2||u===3||u===4,this.attributeName=y,this.attributeNamespace=S,this.mustUseProperty=h,this.propertyName=l,this.type=u,this.sanitizeURL=x,this.removeEmptyString=P}var k={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(l){k[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];k[u]=new b(u,1,!1,l[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){k[l]=new b(l,2,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){k[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){k[l]=new b(l,3,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){k[l]=new b(l,3,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){k[l]=new b(l,4,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){k[l]=new b(l,6,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){k[l]=new b(l,5,!1,l.toLowerCase(),null,!1,!1)});var T=/[\-:]([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(T,A);k[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(T,A);k[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(T,A);k[u]=new b(u,1,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){k[l]=new b(l,1,!1,l.toLowerCase(),null,!1,!1)}),k.xlinkHref=new b("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){k[l]=new b(l,1,!1,l.toLowerCase(),null,!0,!0)});function N(l,u,h,y){var S=k.hasOwnProperty(u)?k[u]:null;(S!==null?S.type!==0:y||!(2F||S[P]!==x[F]){var q=` `+S[P].replace(" at new "," at ");return l.displayName&&q.includes("")&&(q=q.replace("",l.displayName)),q}while(1<=P&&0<=F);break}}}finally{ee=!1,Error.prepareStackTrace=h}return(l=l?l.displayName||l.name:"")?U(l):""}function le(l){switch(l.tag){case 5:return U(l.type);case 16:return U("Lazy");case 13:return U("Suspense");case 19:return U("SuspenseList");case 0:case 2:case 15:return l=te(l.type,!1),l;case 11:return l=te(l.type.render,!1),l;case 1:return l=te(l.type,!0),l;default:return""}}function Y(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 O:return"Portal";case H:return"Profiler";case B:return"StrictMode";case W:return"Suspense";case z:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case ie:return(l.displayName||"Context")+".Consumer";case J:return(l._context.displayName||"Context")+".Provider";case ue:var u=l.render;return l=l.displayName,l||(l=u.displayName||u.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case j:return u=l.displayName||null,u!==null?u:Y(l.type)||"Memo";case Z:u=l._payload,l=l._init;try{return Y(l(u))}catch{}}return null}function me(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 Y(u);case 8:return u===B?"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 oe(l){switch(typeof l){case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function ke(l){var u=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(u==="checkbox"||u==="radio")}function Le(l){var u=ke(l)?"checked":"value",h=Object.getOwnPropertyDescriptor(l.constructor.prototype,u),y=""+l[u];if(!l.hasOwnProperty(u)&&typeof h<"u"&&typeof h.get=="function"&&typeof h.set=="function"){var S=h.get,x=h.set;return Object.defineProperty(l,u,{configurable:!0,get:function(){return S.call(this)},set:function(P){y=""+P,x.call(this,P)}}),Object.defineProperty(l,u,{enumerable:h.enumerable}),{getValue:function(){return y},setValue:function(P){y=""+P},stopTracking:function(){l._valueTracker=null,delete l[u]}}}}function ye(l){l._valueTracker||(l._valueTracker=Le(l))}function Ue(l){if(!l)return!1;var u=l._valueTracker;if(!u)return!0;var h=u.getValue(),y="";return l&&(y=ke(l)?l.checked?"true":"false":l.value),l=y,l!==h?(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 Je(l,u){var h=u.checked;return ae({},u,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:h??l._wrapperState.initialChecked})}function Ve(l,u){var h=u.defaultValue==null?"":u.defaultValue,y=u.checked!=null?u.checked:u.defaultChecked;h=oe(u.value!=null?u.value:h),l._wrapperState={initialChecked:y,initialValue:h,controlled:u.type==="checkbox"||u.type==="radio"?u.checked!=null:u.value!=null}}function Ye(l,u){u=u.checked,u!=null&&N(l,"checked",u,!1)}function et(l,u){Ye(l,u);var h=oe(u.value),y=u.type;if(h!=null)y==="number"?(h===0&&l.value===""||l.value!=h)&&(l.value=""+h):l.value!==""+h&&(l.value=""+h);else if(y==="submit"||y==="reset"){l.removeAttribute("value");return}u.hasOwnProperty("value")?Hn(l,u.type,h):u.hasOwnProperty("defaultValue")&&Hn(l,u.type,oe(u.defaultValue)),u.checked==null&&u.defaultChecked!=null&&(l.defaultChecked=!!u.defaultChecked)}function mt(l,u,h){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,h||u===l.value||(l.value=u),l.defaultValue=u}h=l.name,h!==""&&(l.name=""),l.defaultChecked=!!l._wrapperState.initialChecked,h!==""&&(l.name=h)}function Hn(l,u,h){(u!=="number"||Be(l.ownerDocument)!==l)&&(h==null?l.defaultValue=""+l._wrapperState.initialValue:l.defaultValue!==""+h&&(l.defaultValue=""+h))}var Nt=Array.isArray;function Un(l,u,h,y){if(l=l.options,u){u={};for(var S=0;S"+u.valueOf().toString()+"",u=In.firstChild;l.firstChild;)l.removeChild(l.firstChild);for(;u.firstChild;)l.appendChild(u.firstChild)}});function vi(l,u){if(u){var h=l.firstChild;if(h&&h===l.lastChild&&h.nodeType===3){h.nodeValue=u;return}}l.textContent=u}var Ua={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},Is=["Webkit","ms","Moz","O"];Object.keys(Ua).forEach(function(l){Is.forEach(function(u){u=u+l.charAt(0).toUpperCase()+l.substring(1),Ua[u]=Ua[l]})});function Vi(l,u,h){return u==null||typeof u=="boolean"||u===""?"":h||typeof u!="number"||u===0||Ua.hasOwnProperty(l)&&Ua[l]?(""+u).trim():u+"px"}function Jn(l,u){l=l.style;for(var h in u)if(u.hasOwnProperty(h)){var y=h.indexOf("--")===0,S=Vi(h,u[h],y);h==="float"&&(h="cssFloat"),y?l.setProperty(h,S):l[h]=S}}var Rn=ae({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 er(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 Gn=null;function qi(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var Va=null,$r=null,va=null;function ya(l){if(l=Tu(l)){if(typeof Va!="function")throw Error(n(280));var u=l.stateNode;u&&(u=hf(u),Va(l.stateNode,l.type,u))}}function To(l){$r?va?va.push(l):va=[l]:$r=l}function Hr(){if($r){var l=$r,u=va;if(va=$r=null,ya(l),u)for(l=0;l>>=0,l===0?32:31-(cr(l)/yr|0)|0}var Wn=64,qr=4194304;function wi(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 Nr(l,u){var h=l.pendingLanes;if(h===0)return 0;var y=0,S=l.suspendedLanes,x=l.pingedLanes,P=h&268435455;if(P!==0){var F=P&~S;F!==0?y=wi(F):(x&=P,x!==0&&(y=wi(x)))}else P=h&~S,P!==0?y=wi(P):x!==0&&(y=wi(x));if(y===0)return 0;if(u!==0&&u!==y&&(u&S)===0&&(S=y&-y,x=u&-u,S>=x||S===16&&(x&4194240)!==0))return u;if((y&4)!==0&&(y|=h&16),u=l.entangledLanes,u!==0)for(l=l.entanglements,u&=y;0h;h++)u.push(l);return u}function ra(l,u,h){l.pendingLanes|=u,u!==536870912&&(l.suspendedLanes=0,l.pingedLanes=0),l=l.eventTimes,u=31-nt(u),l[u]=h}function Ls(l,u){var h=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=vu),I7=" ",R7=!1;function M7(l,u){switch(l){case"keyup":return gB.indexOf(u.keyCode)!==-1;case"keydown":return u.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function O7(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var Ll=!1;function vB(l,u){switch(l){case"compositionend":return O7(u);case"keypress":return u.which!==32?null:(R7=!0,I7);case"textInput":return l=u.data,l===I7&&R7?null:l;default:return null}}function yB(l,u){if(Ll)return l==="compositionend"||!b2&&M7(l,u)?(l=E7(),nf=h2=Oo=null,Ll=!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:h,offset:u-l};l=y}e:{for(;h;){if(h.nextSibling){h=h.nextSibling;break e}h=h.parentNode}h=void 0}h=z7(h)}}function H7(l,u){return l&&u?l===u?!0:l&&l.nodeType===3?!1:u&&u.nodeType===3?H7(l,u.parentNode):"contains"in l?l.contains(u):l.compareDocumentPosition?!!(l.compareDocumentPosition(u)&16):!1:!1}function U7(){for(var l=window,u=Be();u instanceof l.HTMLIFrameElement;){try{var h=typeof u.contentWindow.location.href=="string"}catch{h=!1}if(h)l=u.contentWindow;else break;u=Be(l.document)}return u}function S2(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 AB(l){var u=U7(),h=l.focusedElem,y=l.selectionRange;if(u!==h&&h&&h.ownerDocument&&H7(h.ownerDocument.documentElement,h)){if(y!==null&&S2(h)){if(u=y.start,l=y.end,l===void 0&&(l=u),"selectionStart"in h)h.selectionStart=u,h.selectionEnd=Math.min(l,h.value.length);else if(l=(u=h.ownerDocument||document)&&u.defaultView||window,l.getSelection){l=l.getSelection();var S=h.textContent.length,x=Math.min(y.start,S);y=y.end===void 0?x:Math.min(y.end,S),!l.extend&&x>y&&(S=y,y=x,x=S),S=$7(h,x);var P=$7(h,y);S&&P&&(l.rangeCount!==1||l.anchorNode!==S.node||l.anchorOffset!==S.offset||l.focusNode!==P.node||l.focusOffset!==P.offset)&&(u=u.createRange(),u.setStart(S.node,S.offset),l.removeAllRanges(),x>y?(l.addRange(u),l.extend(P.node,P.offset)):(u.setEnd(P.node,P.offset),l.addRange(u)))}}for(u=[],l=h;l=l.parentNode;)l.nodeType===1&&u.push({element:l,left:l.scrollLeft,top:l.scrollTop});for(typeof h.focus=="function"&&h.focus(),h=0;h=document.documentMode,jl=null,E2=null,ku=null,C2=!1;function V7(l,u,h){var y=h.window===h?h.document:h.nodeType===9?h:h.ownerDocument;C2||jl==null||jl!==Be(y)||(y=jl,"selectionStart"in y&&S2(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}),ku&&wu(ku,y)||(ku=y,y=df(E2,"onSelect"),0$l||(l.current=B2[$l],B2[$l]=null,$l--)}function Yt(l,u){$l++,B2[$l]=l.current,l.current=u}var Bo={},br=jo(Bo),Wr=jo(!1),Bs=Bo;function Hl(l,u){var h=l.type.contextTypes;if(!h)return Bo;var y=l.stateNode;if(y&&y.__reactInternalMemoizedUnmaskedChildContext===u)return y.__reactInternalMemoizedMaskedChildContext;var S={},x;for(x in h)S[x]=u[x];return y&&(l=l.stateNode,l.__reactInternalMemoizedUnmaskedChildContext=u,l.__reactInternalMemoizedMaskedChildContext=S),S}function Yr(l){return l=l.childContextTypes,l!=null}function mf(){nn(Wr),nn(br)}function i9(l,u,h){if(br.current!==Bo)throw Error(n(168));Yt(br,u),Yt(Wr,h)}function o9(l,u,h){var y=l.stateNode;if(u=u.childContextTypes,typeof y.getChildContext!="function")return h;y=y.getChildContext();for(var S in y)if(!(S in u))throw Error(n(108,me(l)||"Unknown",S));return ae({},h,y)}function gf(l){return l=(l=l.stateNode)&&l.__reactInternalMemoizedMergedChildContext||Bo,Bs=br.current,Yt(br,l),Yt(Wr,Wr.current),!0}function s9(l,u,h){var y=l.stateNode;if(!y)throw Error(n(169));h?(l=o9(l,u,Bs),y.__reactInternalMemoizedMergedChildContext=l,nn(Wr),nn(br),Yt(br,l)):nn(Wr),Yt(Wr,h)}var Zi=null,_f=!1,D2=!1;function l9(l){Zi===null?Zi=[l]:Zi.push(l)}function zB(l){_f=!0,l9(l)}function Do(){if(!D2&&Zi!==null){D2=!0;var l=0,u=Ae;try{var h=Zi;for(Ae=1;l>=P,S-=P,Qi=1<<32-nt(u)+S|h<tt?(rr=Ke,Ke=null):rr=Ke.sibling;var Lt=ge(ne,Ke,re[tt],we);if(Lt===null){Ke===null&&(Ke=rr);break}l&&Ke&&Lt.alternate===null&&u(ne,Ke),Q=x(Lt,Q,tt),Qe===null?qe=Lt:Qe.sibling=Lt,Qe=Lt,Ke=rr}if(tt===re.length)return h(ne,Ke),on&&Fs(ne,tt),qe;if(Ke===null){for(;tttt?(rr=Ke,Ke=null):rr=Ke.sibling;var Wo=ge(ne,Ke,Lt.value,we);if(Wo===null){Ke===null&&(Ke=rr);break}l&&Ke&&Wo.alternate===null&&u(ne,Ke),Q=x(Wo,Q,tt),Qe===null?qe=Wo:Qe.sibling=Wo,Qe=Wo,Ke=rr}if(Lt.done)return h(ne,Ke),on&&Fs(ne,tt),qe;if(Ke===null){for(;!Lt.done;tt++,Lt=re.next())Lt=ve(ne,Lt.value,we),Lt!==null&&(Q=x(Lt,Q,tt),Qe===null?qe=Lt:Qe.sibling=Lt,Qe=Lt);return on&&Fs(ne,tt),qe}for(Ke=y(ne,Ke);!Lt.done;tt++,Lt=re.next())Lt=Re(Ke,ne,tt,Lt.value,we),Lt!==null&&(l&&Lt.alternate!==null&&Ke.delete(Lt.key===null?tt:Lt.key),Q=x(Lt,Q,tt),Qe===null?qe=Lt:Qe.sibling=Lt,Qe=Lt);return l&&Ke.forEach(function(bD){return u(ne,bD)}),on&&Fs(ne,tt),qe}function Cn(ne,Q,re,we){if(typeof re=="object"&&re!==null&&re.type===L&&re.key===null&&(re=re.props.children),typeof re=="object"&&re!==null){switch(re.$$typeof){case I:e:{for(var qe=re.key,Qe=Q;Qe!==null;){if(Qe.key===qe){if(qe=re.type,qe===L){if(Qe.tag===7){h(ne,Qe.sibling),Q=S(Qe,re.props.children),Q.return=ne,ne=Q;break e}}else if(Qe.elementType===qe||typeof qe=="object"&&qe!==null&&qe.$$typeof===Z&&h9(qe)===Qe.type){h(ne,Qe.sibling),Q=S(Qe,re.props),Q.ref=Au(ne,Qe,re),Q.return=ne,ne=Q;break e}h(ne,Qe);break}else u(ne,Qe);Qe=Qe.sibling}re.type===L?(Q=Ws(re.props.children,ne.mode,we,re.key),Q.return=ne,ne=Q):(we=qf(re.type,re.key,re.props,null,ne.mode,we),we.ref=Au(ne,Q,re),we.return=ne,ne=we)}return P(ne);case O:e:{for(Qe=re.key;Q!==null;){if(Q.key===Qe)if(Q.tag===4&&Q.stateNode.containerInfo===re.containerInfo&&Q.stateNode.implementation===re.implementation){h(ne,Q.sibling),Q=S(Q,re.children||[]),Q.return=ne,ne=Q;break e}else{h(ne,Q);break}else u(ne,Q);Q=Q.sibling}Q=Lg(re,ne.mode,we),Q.return=ne,ne=Q}return P(ne);case Z:return Qe=re._init,Cn(ne,Q,Qe(re._payload),we)}if(Nt(re))return je(ne,Q,re,we);if(pe(re))return ze(ne,Q,re,we);wf(ne,re)}return typeof re=="string"&&re!==""||typeof re=="number"?(re=""+re,Q!==null&&Q.tag===6?(h(ne,Q.sibling),Q=S(Q,re),Q.return=ne,ne=Q):(h(ne,Q),Q=Pg(re,ne.mode,we),Q.return=ne,ne=Q),P(ne)):h(ne,Q)}return Cn}var Gl=m9(!0),g9=m9(!1),kf=jo(null),Sf=null,Wl=null,V2=null;function q2(){V2=Wl=Sf=null}function G2(l){var u=kf.current;nn(kf),l._currentValue=u}function W2(l,u,h){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===h)break;l=l.return}}function Yl(l,u){Sf=l,V2=Wl=null,l=l.dependencies,l!==null&&l.firstContext!==null&&((l.lanes&u)!==0&&(Zr=!0),l.firstContext=null)}function Ta(l){var u=l._currentValue;if(V2!==l)if(l={context:l,memoizedValue:u,next:null},Wl===null){if(Sf===null)throw Error(n(308));Wl=l,Sf.dependencies={lanes:0,firstContext:l}}else Wl=Wl.next=l;return u}var zs=null;function Y2(l){zs===null?zs=[l]:zs.push(l)}function _9(l,u,h,y){var S=u.interleaved;return S===null?(h.next=h,Y2(u)):(h.next=S.next,S.next=h),u.interleaved=h,Xi(l,y)}function Xi(l,u){l.lanes|=u;var h=l.alternate;for(h!==null&&(h.lanes|=u),h=l,l=l.return;l!==null;)l.childLanes|=u,h=l.alternate,h!==null&&(h.childLanes|=u),h=l,l=l.return;return h.tag===3?h.stateNode:null}var Fo=!1;function Z2(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function v9(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 Ji(l,u){return{eventTime:l,lane:u,tag:0,payload:null,callback:null,next:null}}function zo(l,u,h){var y=l.updateQueue;if(y===null)return null;if(y=y.shared,(Rt&2)!==0){var S=y.pending;return S===null?u.next=u:(u.next=S.next,S.next=u),y.pending=u,Xi(l,h)}return S=y.interleaved,S===null?(u.next=u,Y2(y)):(u.next=S.next,S.next=u),y.interleaved=u,Xi(l,h)}function Ef(l,u,h){if(u=u.updateQueue,u!==null&&(u=u.shared,(h&4194240)!==0)){var y=u.lanes;y&=l.pendingLanes,h|=y,u.lanes=h,Mn(l,h)}}function y9(l,u){var h=l.updateQueue,y=l.alternate;if(y!==null&&(y=y.updateQueue,h===y)){var S=null,x=null;if(h=h.firstBaseUpdate,h!==null){do{var P={eventTime:h.eventTime,lane:h.lane,tag:h.tag,payload:h.payload,callback:h.callback,next:null};x===null?S=x=P:x=x.next=P,h=h.next}while(h!==null);x===null?S=x=u:x=x.next=u}else S=x=u;h={baseState:y.baseState,firstBaseUpdate:S,lastBaseUpdate:x,shared:y.shared,effects:y.effects},l.updateQueue=h;return}l=h.lastBaseUpdate,l===null?h.firstBaseUpdate=u:l.next=u,h.lastBaseUpdate=u}function Cf(l,u,h,y){var S=l.updateQueue;Fo=!1;var x=S.firstBaseUpdate,P=S.lastBaseUpdate,F=S.shared.pending;if(F!==null){S.shared.pending=null;var q=F,se=q.next;q.next=null,P===null?x=se:P.next=se,P=q;var _e=l.alternate;_e!==null&&(_e=_e.updateQueue,F=_e.lastBaseUpdate,F!==P&&(F===null?_e.firstBaseUpdate=se:F.next=se,_e.lastBaseUpdate=q))}if(x!==null){var ve=S.baseState;P=0,_e=se=q=null,F=x;do{var ge=F.lane,Re=F.eventTime;if((y&ge)===ge){_e!==null&&(_e=_e.next={eventTime:Re,lane:0,tag:F.tag,payload:F.payload,callback:F.callback,next:null});e:{var je=l,ze=F;switch(ge=u,Re=h,ze.tag){case 1:if(je=ze.payload,typeof je=="function"){ve=je.call(Re,ve,ge);break e}ve=je;break e;case 3:je.flags=je.flags&-65537|128;case 0:if(je=ze.payload,ge=typeof je=="function"?je.call(Re,ve,ge):je,ge==null)break e;ve=ae({},ve,ge);break e;case 2:Fo=!0}}F.callback!==null&&F.lane!==0&&(l.flags|=64,ge=S.effects,ge===null?S.effects=[F]:ge.push(F))}else Re={eventTime:Re,lane:ge,tag:F.tag,payload:F.payload,callback:F.callback,next:null},_e===null?(se=_e=Re,q=ve):_e=_e.next=Re,P|=ge;if(F=F.next,F===null){if(F=S.shared.pending,F===null)break;ge=F,F=ge.next,ge.next=null,S.lastBaseUpdate=ge,S.shared.pending=null}}while(!0);if(_e===null&&(q=ve),S.baseState=q,S.firstBaseUpdate=se,S.lastBaseUpdate=_e,u=S.shared.interleaved,u!==null){S=u;do P|=S.lane,S=S.next;while(S!==u)}else x===null&&(S.shared.lanes=0);Us|=P,l.lanes=P,l.memoizedState=ve}}function b9(l,u,h){if(l=u.effects,u.effects=null,l!==null)for(u=0;uh?h:4,l(!0);var y=eg.transition;eg.transition={};try{l(!1),u()}finally{Ae=h,eg.transition=y}}function F9(){return Aa().memoizedState}function VB(l,u,h){var y=Vo(l);if(h={lane:y,action:h,hasEagerState:!1,eagerState:null,next:null},z9(l))$9(u,h);else if(h=_9(l,u,h,y),h!==null){var S=Rr();ti(h,l,y,S),H9(h,u,y)}}function qB(l,u,h){var y=Vo(l),S={lane:y,action:h,hasEagerState:!1,eagerState:null,next:null};if(z9(l))$9(u,S);else{var x=l.alternate;if(l.lanes===0&&(x===null||x.lanes===0)&&(x=u.lastRenderedReducer,x!==null))try{var P=u.lastRenderedState,F=x(P,h);if(S.hasEagerState=!0,S.eagerState=F,Qa(F,P)){var q=u.interleaved;q===null?(S.next=S,Y2(u)):(S.next=q.next,q.next=S),u.interleaved=S;return}}catch{}h=_9(l,u,S,y),h!==null&&(S=Rr(),ti(h,l,y,S),H9(h,u,y))}}function z9(l){var u=l.alternate;return l===dn||u!==null&&u===dn}function $9(l,u){Mu=Af=!0;var h=l.pending;h===null?u.next=u:(u.next=h.next,h.next=u),l.pending=u}function H9(l,u,h){if((h&4194240)!==0){var y=u.lanes;y&=l.pendingLanes,h|=y,u.lanes=h,Mn(l,h)}}var Rf={readContext:Ta,useCallback:wr,useContext:wr,useEffect:wr,useImperativeHandle:wr,useInsertionEffect:wr,useLayoutEffect:wr,useMemo:wr,useReducer:wr,useRef:wr,useState:wr,useDebugValue:wr,useDeferredValue:wr,useTransition:wr,useMutableSource:wr,useSyncExternalStore:wr,useId:wr,unstable_isNewReconciler:!1},GB={readContext:Ta,useCallback:function(l,u){return xi().memoizedState=[l,u===void 0?null:u],l},useContext:Ta,useEffect:R9,useImperativeHandle:function(l,u,h){return h=h!=null?h.concat([l]):null,Nf(4194308,4,P9.bind(null,u,l),h)},useLayoutEffect:function(l,u){return Nf(4194308,4,l,u)},useInsertionEffect:function(l,u){return Nf(4,2,l,u)},useMemo:function(l,u){var h=xi();return u=u===void 0?null:u,l=l(),h.memoizedState=[l,u],l},useReducer:function(l,u,h){var y=xi();return u=h!==void 0?h(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=VB.bind(null,dn,l),[y.memoizedState,l]},useRef:function(l){var u=xi();return l={current:l},u.memoizedState=l},useState:N9,useDebugValue:sg,useDeferredValue:function(l){return xi().memoizedState=l},useTransition:function(){var l=N9(!1),u=l[0];return l=UB.bind(null,l[1]),xi().memoizedState=l,[u,l]},useMutableSource:function(){},useSyncExternalStore:function(l,u,h){var y=dn,S=xi();if(on){if(h===void 0)throw Error(n(407));h=h()}else{if(h=u(),nr===null)throw Error(n(349));(Hs&30)!==0||E9(y,u,h)}S.memoizedState=h;var x={value:h,getSnapshot:u};return S.queue=x,R9(x9.bind(null,y,x,l),[l]),y.flags|=2048,Lu(9,C9.bind(null,y,x,h,u),void 0,null),h},useId:function(){var l=xi(),u=nr.identifierPrefix;if(on){var h=Ki,y=Qi;h=(y&~(1<<32-nt(y)-1)).toString(32)+h,u=":"+u+"R"+h,h=Ou++,0<\/script>",l=l.removeChild(l.firstChild)):typeof y.is=="string"?l=P.createElement(h,{is:y.is}):(l=P.createElement(h),h==="select"&&(P=l,y.multiple?P.multiple=!0:y.size&&(P.size=y.size))):l=P.createElementNS(l,h),l[Ei]=u,l[xu]=y,lw(l,u,!1,!1),u.stateNode=l;e:{switch(P=er(h,y),h){case"dialog":tn("cancel",l),tn("close",l),S=y;break;case"iframe":case"object":case"embed":tn("load",l),S=y;break;case"video":case"audio":for(S=0;SJl&&(u.flags|=128,y=!0,ju(x,!1),u.lanes=4194304)}else{if(!y)if(l=xf(P),l!==null){if(u.flags|=128,y=!0,h=l.updateQueue,h!==null&&(u.updateQueue=h,u.flags|=4),ju(x,!0),x.tail===null&&x.tailMode==="hidden"&&!P.alternate&&!on)return kr(u),null}else 2*Ee()-x.renderingStartTime>Jl&&h!==1073741824&&(u.flags|=128,y=!0,ju(x,!1),u.lanes=4194304);x.isBackwards?(P.sibling=u.child,u.child=P):(h=x.last,h!==null?h.sibling=P:u.child=P,x.last=P)}return x.tail!==null?(u=x.tail,x.rendering=u,x.tail=u.sibling,x.renderingStartTime=Ee(),u.sibling=null,h=un.current,Yt(un,y?h&1|2:h&1),u):(kr(u),null);case 22:case 23:return Rg(),y=u.memoizedState!==null,l!==null&&l.memoizedState!==null!==y&&(u.flags|=8192),y&&(u.mode&1)!==0?(sa&1073741824)!==0&&(kr(u),u.subtreeFlags&6&&(u.flags|=8192)):kr(u),null;case 24:return null;case 25:return null}throw Error(n(156,u.tag))}function eD(l,u){switch(z2(u),u.tag){case 1:return Yr(u.type)&&mf(),l=u.flags,l&65536?(u.flags=l&-65537|128,u):null;case 3:return Zl(),nn(Wr),nn(br),J2(),l=u.flags,(l&65536)!==0&&(l&128)===0?(u.flags=l&-65537|128,u):null;case 5:return K2(u),null;case 13:if(nn(un),l=u.memoizedState,l!==null&&l.dehydrated!==null){if(u.alternate===null)throw Error(n(340));ql()}return l=u.flags,l&65536?(u.flags=l&-65537|128,u):null;case 19:return nn(un),null;case 4:return Zl(),null;case 10:return G2(u.type._context),null;case 22:case 23:return Rg(),null;case 24:return null;default:return null}}var Lf=!1,Sr=!1,tD=typeof WeakSet=="function"?WeakSet:Set,Oe=null;function Kl(l,u){var h=l.ref;if(h!==null)if(typeof h=="function")try{h(null)}catch(y){gn(l,u,y)}else h.current=null}function yg(l,u,h){try{h()}catch(y){gn(l,u,y)}}var dw=!1;function nD(l,u){if(R2=ef,l=U7(),S2(l)){if("selectionStart"in l)var h={start:l.selectionStart,end:l.selectionEnd};else e:{h=(h=l.ownerDocument)&&h.defaultView||window;var y=h.getSelection&&h.getSelection();if(y&&y.rangeCount!==0){h=y.anchorNode;var S=y.anchorOffset,x=y.focusNode;y=y.focusOffset;try{h.nodeType,x.nodeType}catch{h=null;break e}var P=0,F=-1,q=-1,se=0,_e=0,ve=l,ge=null;t:for(;;){for(var Re;ve!==h||S!==0&&ve.nodeType!==3||(F=P+S),ve!==x||y!==0&&ve.nodeType!==3||(q=P+y),ve.nodeType===3&&(P+=ve.nodeValue.length),(Re=ve.firstChild)!==null;)ge=ve,ve=Re;for(;;){if(ve===l)break t;if(ge===h&&++se===S&&(F=P),ge===x&&++_e===y&&(q=P),(Re=ve.nextSibling)!==null)break;ve=ge,ge=ve.parentNode}ve=Re}h=F===-1||q===-1?null:{start:F,end:q}}else h=null}h=h||{start:0,end:0}}else h=null;for(M2={focusedElem:l,selectionRange:h},ef=!1,Oe=u;Oe!==null;)if(u=Oe,l=u.child,(u.subtreeFlags&1028)!==0&&l!==null)l.return=u,Oe=l;else for(;Oe!==null;){u=Oe;try{var je=u.alternate;if((u.flags&1024)!==0)switch(u.tag){case 0:case 11:case 15:break;case 1:if(je!==null){var ze=je.memoizedProps,Cn=je.memoizedState,ne=u.stateNode,Q=ne.getSnapshotBeforeUpdate(u.elementType===u.type?ze:Xa(u.type,ze),Cn);ne.__reactInternalSnapshotBeforeUpdate=Q}break;case 3:var re=u.stateNode.containerInfo;re.nodeType===1?re.textContent="":re.nodeType===9&&re.documentElement&&re.removeChild(re.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(we){gn(u,u.return,we)}if(l=u.sibling,l!==null){l.return=u.return,Oe=l;break}Oe=u.return}return je=dw,dw=!1,je}function Bu(l,u,h){var y=u.updateQueue;if(y=y!==null?y.lastEffect:null,y!==null){var S=y=y.next;do{if((S.tag&l)===l){var x=S.destroy;S.destroy=void 0,x!==void 0&&yg(u,h,x)}S=S.next}while(S!==y)}}function jf(l,u){if(u=u.updateQueue,u=u!==null?u.lastEffect:null,u!==null){var h=u=u.next;do{if((h.tag&l)===l){var y=h.create;h.destroy=y()}h=h.next}while(h!==u)}}function bg(l){var u=l.ref;if(u!==null){var h=l.stateNode;l.tag,l=h,typeof u=="function"?u(l):u.current=l}}function fw(l){var u=l.alternate;u!==null&&(l.alternate=null,fw(u)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(u=l.stateNode,u!==null&&(delete u[Ei],delete u[xu],delete u[j2],delete u[DB],delete u[FB])),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 pw(l){return l.tag===5||l.tag===3||l.tag===4}function hw(l){e:for(;;){for(;l.sibling===null;){if(l.return===null||pw(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 wg(l,u,h){var y=l.tag;if(y===5||y===6)l=l.stateNode,u?h.nodeType===8?h.parentNode.insertBefore(l,u):h.insertBefore(l,u):(h.nodeType===8?(u=h.parentNode,u.insertBefore(l,h)):(u=h,u.appendChild(l)),h=h._reactRootContainer,h!=null||u.onclick!==null||(u.onclick=pf));else if(y!==4&&(l=l.child,l!==null))for(wg(l,u,h),l=l.sibling;l!==null;)wg(l,u,h),l=l.sibling}function kg(l,u,h){var y=l.tag;if(y===5||y===6)l=l.stateNode,u?h.insertBefore(l,u):h.appendChild(l);else if(y!==4&&(l=l.child,l!==null))for(kg(l,u,h),l=l.sibling;l!==null;)kg(l,u,h),l=l.sibling}var ur=null,Ja=!1;function $o(l,u,h){for(h=h.child;h!==null;)mw(l,u,h),h=h.sibling}function mw(l,u,h){if(It&&typeof It.onCommitFiberUnmount=="function")try{It.onCommitFiberUnmount(ut,h)}catch{}switch(h.tag){case 5:Sr||Kl(h,u);case 6:var y=ur,S=Ja;ur=null,$o(l,u,h),ur=y,Ja=S,ur!==null&&(Ja?(l=ur,h=h.stateNode,l.nodeType===8?l.parentNode.removeChild(h):l.removeChild(h)):ur.removeChild(h.stateNode));break;case 18:ur!==null&&(Ja?(l=ur,h=h.stateNode,l.nodeType===8?L2(l.parentNode,h):l.nodeType===1&&L2(l,h),mu(l)):L2(ur,h.stateNode));break;case 4:y=ur,S=Ja,ur=h.stateNode.containerInfo,Ja=!0,$o(l,u,h),ur=y,Ja=S;break;case 0:case 11:case 14:case 15:if(!Sr&&(y=h.updateQueue,y!==null&&(y=y.lastEffect,y!==null))){S=y=y.next;do{var x=S,P=x.destroy;x=x.tag,P!==void 0&&((x&2)!==0||(x&4)!==0)&&yg(h,u,P),S=S.next}while(S!==y)}$o(l,u,h);break;case 1:if(!Sr&&(Kl(h,u),y=h.stateNode,typeof y.componentWillUnmount=="function"))try{y.props=h.memoizedProps,y.state=h.memoizedState,y.componentWillUnmount()}catch(F){gn(h,u,F)}$o(l,u,h);break;case 21:$o(l,u,h);break;case 22:h.mode&1?(Sr=(y=Sr)||h.memoizedState!==null,$o(l,u,h),Sr=y):$o(l,u,h);break;default:$o(l,u,h)}}function gw(l){var u=l.updateQueue;if(u!==null){l.updateQueue=null;var h=l.stateNode;h===null&&(h=l.stateNode=new tD),u.forEach(function(y){var S=dD.bind(null,l,y);h.has(y)||(h.add(y),y.then(S,S))})}}function ei(l,u){var h=u.deletions;if(h!==null)for(var y=0;yS&&(S=P),y&=~x}if(y=S,y=Ee()-y,y=(120>y?120:480>y?480:1080>y?1080:1920>y?1920:3e3>y?3e3:4320>y?4320:1960*aD(y/1960))-y,10l?16:l,Uo===null)var y=!1;else{if(l=Uo,Uo=null,$f=0,(Rt&6)!==0)throw Error(n(331));var S=Rt;for(Rt|=4,Oe=l.current;Oe!==null;){var x=Oe,P=x.child;if((Oe.flags&16)!==0){var F=x.deletions;if(F!==null){for(var q=0;qEe()-Cg?qs(l,0):Eg|=h),Kr(l,u)}function Nw(l,u){u===0&&((l.mode&1)===0?u=1:(u=qr,qr<<=1,(qr&130023424)===0&&(qr=4194304)));var h=Rr();l=Xi(l,u),l!==null&&(ra(l,u,h),Kr(l,h))}function uD(l){var u=l.memoizedState,h=0;u!==null&&(h=u.retryLane),Nw(l,h)}function dD(l,u){var h=0;switch(l.tag){case 13:var y=l.stateNode,S=l.memoizedState;S!==null&&(h=S.retryLane);break;case 19:y=l.stateNode;break;default:throw Error(n(314))}y!==null&&y.delete(u),Nw(l,h)}var Iw;Iw=function(l,u,h){if(l!==null)if(l.memoizedProps!==u.pendingProps||Wr.current)Zr=!0;else{if((l.lanes&h)===0&&(u.flags&128)===0)return Zr=!1,XB(l,u,h);Zr=(l.flags&131072)!==0}else Zr=!1,on&&(u.flags&1048576)!==0&&c9(u,yf,u.index);switch(u.lanes=0,u.tag){case 2:var y=u.type;Pf(l,u),l=u.pendingProps;var S=Hl(u,br.current);Yl(u,h),S=ng(null,u,y,l,S,h);var x=rg();return u.flags|=1,typeof S=="object"&&S!==null&&typeof S.render=="function"&&S.$$typeof===void 0?(u.tag=1,u.memoizedState=null,u.updateQueue=null,Yr(y)?(x=!0,gf(u)):x=!1,u.memoizedState=S.state!==null&&S.state!==void 0?S.state:null,Z2(u),S.updater=Mf,u.stateNode=S,S._reactInternals=u,cg(u,y,l,h),u=pg(null,u,y,!0,x,h)):(u.tag=0,on&&x&&F2(u),Ir(null,u,S,h),u=u.child),u;case 16:y=u.elementType;e:{switch(Pf(l,u),l=u.pendingProps,S=y._init,y=S(y._payload),u.type=y,S=u.tag=pD(y),l=Xa(y,l),S){case 0:u=fg(null,u,y,l,h);break e;case 1:u=nw(null,u,y,l,h);break e;case 11:u=K9(null,u,y,l,h);break e;case 14:u=X9(null,u,y,Xa(y.type,l),h);break e}throw Error(n(306,y,""))}return u;case 0:return y=u.type,S=u.pendingProps,S=u.elementType===y?S:Xa(y,S),fg(l,u,y,S,h);case 1:return y=u.type,S=u.pendingProps,S=u.elementType===y?S:Xa(y,S),nw(l,u,y,S,h);case 3:e:{if(rw(u),l===null)throw Error(n(387));y=u.pendingProps,x=u.memoizedState,S=x.element,v9(l,u),Cf(u,y,null,h);var P=u.memoizedState;if(y=P.element,x.isDehydrated)if(x={element:y,isDehydrated:!1,cache:P.cache,pendingSuspenseBoundaries:P.pendingSuspenseBoundaries,transitions:P.transitions},u.updateQueue.baseState=x,u.memoizedState=x,u.flags&256){S=Ql(Error(n(423)),u),u=aw(l,u,y,h,S);break e}else if(y!==S){S=Ql(Error(n(424)),u),u=aw(l,u,y,h,S);break e}else for(oa=Lo(u.stateNode.containerInfo.firstChild),ia=u,on=!0,Ka=null,h=g9(u,null,y,h),u.child=h;h;)h.flags=h.flags&-3|4096,h=h.sibling;else{if(ql(),y===S){u=eo(l,u,h);break e}Ir(l,u,y,h)}u=u.child}return u;case 5:return w9(u),l===null&&H2(u),y=u.type,S=u.pendingProps,x=l!==null?l.memoizedProps:null,P=S.children,O2(y,S)?P=null:x!==null&&O2(y,x)&&(u.flags|=32),tw(l,u),Ir(l,u,P,h),u.child;case 6:return l===null&&H2(u),null;case 13:return iw(l,u,h);case 4:return Q2(u,u.stateNode.containerInfo),y=u.pendingProps,l===null?u.child=Gl(u,null,y,h):Ir(l,u,y,h),u.child;case 11:return y=u.type,S=u.pendingProps,S=u.elementType===y?S:Xa(y,S),K9(l,u,y,S,h);case 7:return Ir(l,u,u.pendingProps,h),u.child;case 8:return Ir(l,u,u.pendingProps.children,h),u.child;case 12:return Ir(l,u,u.pendingProps.children,h),u.child;case 10:e:{if(y=u.type._context,S=u.pendingProps,x=u.memoizedProps,P=S.value,Yt(kf,y._currentValue),y._currentValue=P,x!==null)if(Qa(x.value,P)){if(x.children===S.children&&!Wr.current){u=eo(l,u,h);break e}}else for(x=u.child,x!==null&&(x.return=u);x!==null;){var F=x.dependencies;if(F!==null){P=x.child;for(var q=F.firstContext;q!==null;){if(q.context===y){if(x.tag===1){q=Ji(-1,h&-h),q.tag=2;var se=x.updateQueue;if(se!==null){se=se.shared;var _e=se.pending;_e===null?q.next=q:(q.next=_e.next,_e.next=q),se.pending=q}}x.lanes|=h,q=x.alternate,q!==null&&(q.lanes|=h),W2(x.return,h,u),F.lanes|=h;break}q=q.next}}else if(x.tag===10)P=x.type===u.type?null:x.child;else if(x.tag===18){if(P=x.return,P===null)throw Error(n(341));P.lanes|=h,F=P.alternate,F!==null&&(F.lanes|=h),W2(P,h,u),P=x.sibling}else P=x.child;if(P!==null)P.return=x;else for(P=x;P!==null;){if(P===u){P=null;break}if(x=P.sibling,x!==null){x.return=P.return,P=x;break}P=P.return}x=P}Ir(l,u,S.children,h),u=u.child}return u;case 9:return S=u.type,y=u.pendingProps.children,Yl(u,h),S=Ta(S),y=y(S),u.flags|=1,Ir(l,u,y,h),u.child;case 14:return y=u.type,S=Xa(y,u.pendingProps),S=Xa(y.type,S),X9(l,u,y,S,h);case 15:return J9(l,u,u.type,u.pendingProps,h);case 17:return y=u.type,S=u.pendingProps,S=u.elementType===y?S:Xa(y,S),Pf(l,u),u.tag=1,Yr(y)?(l=!0,gf(u)):l=!1,Yl(u,h),V9(u,y,S),cg(u,y,S,h),pg(null,u,y,!0,l,h);case 19:return sw(l,u,h);case 22:return ew(l,u,h)}throw Error(n(156,u.tag))};function Rw(l,u){return V(l,u)}function fD(l,u,h,y){this.tag=l,this.key=h,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 Ia(l,u,h,y){return new fD(l,u,h,y)}function Og(l){return l=l.prototype,!(!l||!l.isReactComponent)}function pD(l){if(typeof l=="function")return Og(l)?1:0;if(l!=null){if(l=l.$$typeof,l===ue)return 11;if(l===j)return 14}return 2}function Go(l,u){var h=l.alternate;return h===null?(h=Ia(l.tag,u,l.key,l.mode),h.elementType=l.elementType,h.type=l.type,h.stateNode=l.stateNode,h.alternate=l,l.alternate=h):(h.pendingProps=u,h.type=l.type,h.flags=0,h.subtreeFlags=0,h.deletions=null),h.flags=l.flags&14680064,h.childLanes=l.childLanes,h.lanes=l.lanes,h.child=l.child,h.memoizedProps=l.memoizedProps,h.memoizedState=l.memoizedState,h.updateQueue=l.updateQueue,u=l.dependencies,h.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},h.sibling=l.sibling,h.index=l.index,h.ref=l.ref,h}function qf(l,u,h,y,S,x){var P=2;if(y=l,typeof l=="function")Og(l)&&(P=1);else if(typeof l=="string")P=5;else e:switch(l){case L:return Ws(h.children,S,x,u);case B:P=8,S|=8;break;case H:return l=Ia(12,h,u,S|2),l.elementType=H,l.lanes=x,l;case W:return l=Ia(13,h,u,S),l.elementType=W,l.lanes=x,l;case z:return l=Ia(19,h,u,S),l.elementType=z,l.lanes=x,l;case X:return Gf(h,S,x,u);default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case J:P=10;break e;case ie:P=9;break e;case ue:P=11;break e;case j:P=14;break e;case Z:P=16,y=null;break e}throw Error(n(130,l==null?l:typeof l,""))}return u=Ia(P,h,u,S),u.elementType=l,u.type=y,u.lanes=x,u}function Ws(l,u,h,y){return l=Ia(7,l,y,u),l.lanes=h,l}function Gf(l,u,h,y){return l=Ia(22,l,y,u),l.elementType=X,l.lanes=h,l.stateNode={isHidden:!1},l}function Pg(l,u,h){return l=Ia(6,l,null,u),l.lanes=h,l}function Lg(l,u,h){return u=Ia(4,l.children!==null?l.children:[],l.key,u),u.lanes=h,u.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},u}function hD(l,u,h,y,S){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=Bt(0),this.expirationTimes=Bt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Bt(0),this.identifierPrefix=y,this.onRecoverableError=S,this.mutableSourceEagerHydrationData=null}function jg(l,u,h,y,S,x,P,F,q){return l=new hD(l,u,h,F,q),u===1?(u=1,x===!0&&(u|=8)):u=0,x=Ia(3,null,null,u),l.current=x,x.stateNode=l,x.memoizedState={element:y,isDehydrated:h,cache:null,transitions:null,pendingSuspenseBoundaries:null},Z2(x),l}function mD(l,u,h){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(),Hg.exports=xD(),Hg.exports}var qw;function TD(){if(qw)return Jf;qw=1;var e=iN();return Jf.createRoot=e.createRoot,Jf.hydrateRoot=e.hydrateRoot,Jf}var AD=TD();var Gw="popstate";function Ww(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function ND(e={}){function t(r,a){let i=a.state?.masked,{pathname:o,search:s,hash:c}=i||r.location;return Yv("",{pathname:o,search:s,hash:c},a.state&&a.state.usr||null,a.state&&a.state.key||"default",i?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function n(r,a){return typeof a=="string"?a:Kd(a)}return RD(t,n,null,e)}function hn(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function pi(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function ID(){return Math.random().toString(36).substring(2,10)}function Yw(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 Yv(e,t,n=null,r,a){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?ru(t):t,state:n,key:t&&t.key||r||ID(),unstable_mask:a}}function Kd({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 ru(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 RD(e,t,n,r={}){let{window:a=document.defaultView,v5Compat:i=!1}=r,o=a.history,s="POP",c=null,d=f();d==null&&(d=0,o.replaceState({...o.state,idx:d},""));function f(){return(o.state||{idx:null}).idx}function p(){s="POP";let k=f(),T=k==null?null:k-d;d=k,c&&c({action:s,location:b.location,delta:T})}function m(k,T){s="PUSH";let A=Ww(k)?k:Yv(b.location,k,T);d=f()+1;let N=Yw(A,d),R=b.createHref(A.unstable_mask||A);try{o.pushState(N,"",R)}catch(I){if(I instanceof DOMException&&I.name==="DataCloneError")throw I;a.location.assign(R)}i&&c&&c({action:s,location:b.location,delta:1})}function g(k,T){s="REPLACE";let A=Ww(k)?k:Yv(b.location,k,T);d=f();let N=Yw(A,d),R=b.createHref(A.unstable_mask||A);o.replaceState(N,"",R),i&&c&&c({action:s,location:b.location,delta:0})}function v(k){return MD(k)}let b={get action(){return s},get location(){return e(a,o)},listen(k){if(c)throw new Error("A history only accepts one active listener");return a.addEventListener(Gw,p),c=k,()=>{a.removeEventListener(Gw,p),c=null}},createHref(k){return t(a,k)},createURL:v,encodeLocation(k){let T=v(k);return{pathname:T.pathname,search:T.search,hash:T.hash}},push:m,replace:g,go(k){return o.go(k)}};return b}function MD(e,t=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),hn(n,"No window.location.(origin|href) available to create URL");let r=typeof e=="string"?e:Kd(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}function oN(e,t,n="/"){return OD(e,t,n,!1)}function OD(e,t,n,r){let a=typeof t=="string"?ru(t):t,i=fo(a.pathname||"/",n);if(i==null)return null;let o=sN(e);PD(o);let s=null;for(let c=0;s==null&&c{let f={relativePath:d===void 0?o.path||"":d,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};if(f.relativePath.startsWith("/")){if(!f.relativePath.startsWith(r)&&c)return;hn(f.relativePath.startsWith(r),`Absolute route path "${f.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),f.relativePath=f.relativePath.slice(r.length)}let p=Bi([r,f.relativePath]),m=n.concat(f);o.children&&o.children.length>0&&(hn(o.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${p}".`),sN(o.children,t,m,p,c)),!(o.path==null&&!o.index)&&t.push({path:p,score:$D(p,o.index),routesMeta:m})};return e.forEach((o,s)=>{if(o.path===""||!o.path?.includes("?"))i(o,s);else for(let c of lN(o.path))i(o,s,!0,c)}),t}function lN(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,a=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return a?[i,""]:[i];let o=lN(r.join("/")),s=[];return s.push(...o.map(c=>c===""?i:[i,c].join("/"))),a&&s.push(...o),s.map(c=>e.startsWith("/")&&c===""?"/":c)}function PD(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:HD(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var LD=/^:[\w-]+$/,jD=3,BD=2,DD=1,FD=10,zD=-2,Zw=e=>e==="*";function $D(e,t){let n=e.split("/"),r=n.length;return n.some(Zw)&&(r+=zD),t&&(r+=BD),n.filter(a=>!Zw(a)).reduce((a,i)=>a+(LD.test(i)?jD:i===""?DD:FD),r)}function HD(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 UD(e,t,n=!1){let{routesMeta:r}=e,a={},i="/",o=[];for(let s=0;s{if(f==="*"){let v=s[m]||"";o=i.slice(0,i.length-v.length).replace(/(.)\/+$/,"$1")}const g=s[m];return p&&!g?d[f]=void 0:d[f]=(g||"").replace(/%2F/g,"/"),d},{}),pathname:i,pathnameBase:o,pattern:e}}function VD(e,t=!1,n=!0){pi(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,(o,s,c,d,f)=>{if(r.push({paramName:s,isOptional:c!=null}),c){let p=f.charAt(d+o.length);return p&&p!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}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 qD(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return pi(!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 fo(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 GD=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function WD(e,t="/"){let{pathname:n,search:r="",hash:a=""}=typeof e=="string"?ru(e):e,i;return n?(n=n.replace(/\/\/+/g,"/"),n.startsWith("/")?i=Qw(n.substring(1),"/"):i=Qw(n,t)):i=t,{pathname:i,search:QD(r),hash:KD(a)}}function Qw(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 qg(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 YD(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function cN(e){let t=YD(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function xy(e,t,n,r=!1){let a;typeof e=="string"?a=ru(e):(a={...e},hn(!a.pathname||!a.pathname.includes("?"),qg("?","pathname","search",a)),hn(!a.pathname||!a.pathname.includes("#"),qg("#","pathname","hash",a)),hn(!a.search||!a.search.includes("#"),qg("#","search","hash",a)));let i=e===""||a.pathname==="",o=i?"/":a.pathname,s;if(o==null)s=n;else{let p=t.length-1;if(!r&&o.startsWith("..")){let m=o.split("/");for(;m[0]==="..";)m.shift(),p-=1;a.pathname=m.join("/")}s=p>=0?t[p]:"/"}let c=WD(a,s),d=o&&o!=="/"&&o.endsWith("/"),f=(i||o===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(d||f)&&(c.pathname+="/"),c}var Bi=e=>e.join("/").replace(/\/\/+/g,"/"),ZD=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),QD=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,KD=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,XD=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 JD(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function eF(e){return e.map(t=>t.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var uN=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function dN(e,t){let n=e;if(typeof n!="string"||!GD.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,a=!1;if(uN)try{let i=new URL(window.location.href),o=n.startsWith("//")?new URL(i.protocol+n):new URL(n),s=fo(o.pathname,t);o.origin===i.origin&&s!=null?n=s+o.search+o.hash:a=!0}catch{pi(!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 fN=["POST","PUT","PATCH","DELETE"];new Set(fN);var tF=["GET",...fN];new Set(tF);var au=C.createContext(null);au.displayName="DataRouter";var nm=C.createContext(null);nm.displayName="DataRouterState";var nF=C.createContext(!1),pN=C.createContext({isTransitioning:!1});pN.displayName="ViewTransition";var rF=C.createContext(new Map);rF.displayName="Fetchers";var aF=C.createContext(null);aF.displayName="Await";var $a=C.createContext(null);$a.displayName="Navigation";var T1=C.createContext(null);T1.displayName="Location";var zi=C.createContext({outlet:null,matches:[],isDataRoute:!1});zi.displayName="Route";var Ty=C.createContext(null);Ty.displayName="RouteError";var hN="REACT_ROUTER_ERROR",iF="REDIRECT",oF="ROUTE_ERROR_RESPONSE";function sF(e){if(e.startsWith(`${hN}:${iF}:{`))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 lF(e){if(e.startsWith(`${hN}:${oF}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new XD(t.status,t.statusText,t.data)}catch{}}function cF(e,{relative:t}={}){hn(A1(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=C.useContext($a),{hash:a,pathname:i,search:o}=N1(e,{relative:t}),s=i;return n!=="/"&&(s=i==="/"?n:Bi([n,i])),r.createHref({pathname:s,search:o,hash:a})}function A1(){return C.useContext(T1)!=null}function _o(){return hn(A1(),"useLocation() may be used only in the context of a component."),C.useContext(T1).location}var mN="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function gN(e){C.useContext($a).static||C.useLayoutEffect(e)}function Ay(){let{isDataRoute:e}=C.useContext(zi);return e?SF():uF()}function uF(){hn(A1(),"useNavigate() may be used only in the context of a component.");let e=C.useContext(au),{basename:t,navigator:n}=C.useContext($a),{matches:r}=C.useContext(zi),{pathname:a}=_o(),i=JSON.stringify(cN(r)),o=C.useRef(!1);return gN(()=>{o.current=!0}),C.useCallback((c,d={})=>{if(pi(o.current,mN),!o.current)return;if(typeof c=="number"){n.go(c);return}let f=xy(c,JSON.parse(i),a,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:Bi([t,f.pathname])),(d.replace?n.replace:n.push)(f,d.state,d)},[t,n,i,a,e])}var dF=C.createContext(null);function fF(e){let t=C.useContext(zi).outlet;return C.useMemo(()=>t&&C.createElement(dF.Provider,{value:e},t),[t,e])}function N1(e,{relative:t}={}){let{matches:n}=C.useContext(zi),{pathname:r}=_o(),a=JSON.stringify(cN(n));return C.useMemo(()=>xy(e,JSON.parse(a),r,t==="path"),[e,a,r,t])}function _N(e,t){return vN(e,t)}function vN(e,t,n){hn(A1(),"useRoutes() may be used only in the context of a component.");let{navigator:r}=C.useContext($a),{matches:a}=C.useContext(zi),i=a[a.length-1],o=i?i.params:{},s=i?i.pathname:"/",c=i?i.pathnameBase:"/",d=i&&i.route;{let k=d&&d.path||"";bN(s,!d||k.endsWith("*")||k.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 f=_o(),p;if(t){let k=typeof t=="string"?ru(t):t;hn(c==="/"||k.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 "${k.pathname}" was given in the \`location\` prop.`),p=k}else p=f;let m=p.pathname||"/",g=m;if(c!=="/"){let k=c.replace(/^\//,"").split("/");g="/"+m.replace(/^\//,"").split("/").slice(k.length).join("/")}let v=oN(e,{pathname:g});pi(d||v!=null,`No routes matched location "${p.pathname}${p.search}${p.hash}" `),pi(v==null||v[v.length-1].route.element!==void 0||v[v.length-1].route.Component!==void 0||v[v.length-1].route.lazy!==void 0,`Matched leaf route at location "${p.pathname}${p.search}${p.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=_F(v&&v.map(k=>Object.assign({},k,{params:Object.assign({},o,k.params),pathname:Bi([c,r.encodeLocation?r.encodeLocation(k.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:k.pathname]),pathnameBase:k.pathnameBase==="/"?c:Bi([c,r.encodeLocation?r.encodeLocation(k.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:k.pathnameBase])})),a,n);return t&&b?C.createElement(T1.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...p},navigationType:"POP"}},b):b}function pF(){let e=kF(),t=JD(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},i={padding:"2px 4px",backgroundColor:r},o=null;return console.error("Error handled by React Router default ErrorBoundary:",e),o=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:i},"ErrorBoundary")," or"," ",C.createElement("code",{style:i},"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,o)}var hF=C.createElement(pF,null),yN=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=lF(e.digest);n&&(e=n)}let t=e!==void 0?C.createElement(zi.Provider,{value:this.props.routeContext},C.createElement(Ty.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?C.createElement(mF,{error:e},t):t}};yN.contextType=nF;var Gg=new WeakMap;function mF({children:e,error:t}){let{basename:n}=C.useContext($a);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let r=sF(t.digest);if(r){let a=Gg.get(t);if(a)throw a;let i=dN(r.location,n);if(uN&&!Gg.get(t))if(i.isExternal||r.reloadDocument)window.location.href=i.absoluteURL||i.to;else{const o=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(i.to,{replace:r.replace}));throw Gg.set(t,o),o}return C.createElement("meta",{httpEquiv:"refresh",content:`0;url=${i.absoluteURL||i.to}`})}}return e}function gF({routeContext:e,match:t,children:n}){let r=C.useContext(au);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),C.createElement(zi.Provider,{value:e},n)}function _F(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,i=r?.errors;if(i!=null){let f=a.findIndex(p=>p.route.id&&i?.[p.route.id]!==void 0);hn(f>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(i).join(",")}`),a=a.slice(0,Math.min(a.length,f+1))}let o=!1,s=-1;if(n&&r){o=r.renderFallback;for(let f=0;f=0?a=a.slice(0,s+1):a=[a[0]];break}}}}let c=n?.onError,d=r&&c?(f,p)=>{c(f,{location:r.location,params:r.matches?.[0]?.params??{},unstable_pattern:eF(r.matches),errorInfo:p})}:void 0;return a.reduceRight((f,p,m)=>{let g,v=!1,b=null,k=null;r&&(g=i&&p.route.id?i[p.route.id]:void 0,b=p.route.errorElement||hF,o&&(s<0&&m===0?(bN("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),v=!0,k=null):s===m&&(v=!0,k=p.route.hydrateFallbackElement||null)));let T=t.concat(a.slice(0,m+1)),A=()=>{let N;return g?N=b:v?N=k:p.route.Component?N=C.createElement(p.route.Component,null):p.route.element?N=p.route.element:N=f,C.createElement(gF,{match:p,routeContext:{outlet:f,matches:T,isDataRoute:r!=null},children:N})};return r&&(p.route.ErrorBoundary||p.route.errorElement||m===0)?C.createElement(yN,{location:r.location,revalidation:r.revalidation,component:b,error:g,children:A(),routeContext:{outlet:null,matches:T,isDataRoute:!0},onError:d}):A()},null)}function Ny(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function vF(e){let t=C.useContext(au);return hn(t,Ny(e)),t}function yF(e){let t=C.useContext(nm);return hn(t,Ny(e)),t}function bF(e){let t=C.useContext(zi);return hn(t,Ny(e)),t}function Iy(e){let t=bF(e),n=t.matches[t.matches.length-1];return hn(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function wF(){return Iy("useRouteId")}function kF(){let e=C.useContext(Ty),t=yF("useRouteError"),n=Iy("useRouteError");return e!==void 0?e:t.errors?.[n]}function SF(){let{router:e}=vF("useNavigate"),t=Iy("useNavigate"),n=C.useRef(!1);return gN(()=>{n.current=!0}),C.useCallback(async(a,i={})=>{pi(n.current,mN),n.current&&(typeof a=="number"?await e.navigate(a):await e.navigate(a,{fromRouteId:t,...i}))},[e,t])}var Kw={};function bN(e,t,n){!t&&!Kw[e]&&(Kw[e]=!0,pi(!1,n))}C.memo(EF);function EF({routes:e,future:t,state:n,isStatic:r,onError:a}){return vN(e,void 0,{state:n,isStatic:r,onError:a})}function CF(e){return fF(e.context)}function cd(e){hn(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function xF({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:a,static:i=!1,unstable_useTransitions:o}){hn(!A1(),"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:i,unstable_useTransitions:o,future:{}}),[s,a,i,o]);typeof n=="string"&&(n=ru(n));let{pathname:d="/",search:f="",hash:p="",state:m=null,key:g="default",unstable_mask:v}=n,b=C.useMemo(()=>{let k=fo(d,s);return k==null?null:{location:{pathname:k,search:f,hash:p,state:m,key:g,unstable_mask:v},navigationType:r}},[s,d,f,p,m,g,r,v]);return pi(b!=null,` is not able to match the URL "${d}${f}${p}" because it does not start with the basename, so the won't render anything.`),b==null?null:C.createElement($a.Provider,{value:c},C.createElement(T1.Provider,{children:t,value:b}))}function TF({children:e,location:t}){return _N(Zv(e),t)}function Zv(e,t=[]){let n=[];return C.Children.forEach(e,(r,a)=>{if(!C.isValidElement(r))return;let i=[...t,a];if(r.type===C.Fragment){n.push.apply(n,Zv(r.props.children,i));return}hn(r.type===cd,`[${typeof r.type=="string"?r.type:r.type.name}] is not a component. All component children of must be a or `),hn(!r.props.index||!r.props.children,"An index route cannot have child routes.");let o={id:r.props.id||i.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&&(o.children=Zv(r.props.children,i)),n.push(o)}),n}var qp="get",Gp="application/x-www-form-urlencoded";function rm(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function AF(e){return rm(e)&&e.tagName.toLowerCase()==="button"}function NF(e){return rm(e)&&e.tagName.toLowerCase()==="form"}function IF(e){return rm(e)&&e.tagName.toLowerCase()==="input"}function RF(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function MF(e,t){return e.button===0&&(!t||t==="_self")&&!RF(e)}function Qv(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 OF(e,t){let n=Qv(e);return t&&t.forEach((r,a)=>{n.has(a)||t.getAll(a).forEach(i=>{n.append(a,i)})}),n}var ep=null;function PF(){if(ep===null)try{new FormData(document.createElement("form"),0),ep=!1}catch{ep=!0}return ep}var LF=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Wg(e){return e!=null&&!LF.has(e)?(pi(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Gp}"`),null):e}function jF(e,t){let n,r,a,i,o;if(NF(e)){let s=e.getAttribute("action");r=s?fo(s,t):null,n=e.getAttribute("method")||qp,a=Wg(e.getAttribute("enctype"))||Gp,i=new FormData(e)}else if(AF(e)||IF(e)&&(e.type==="submit"||e.type==="image")){let s=e.form;if(s==null)throw new Error('Cannot submit a