const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/agent-session-CN3kCPfh.js","assets/timer--QM2LZfv.js","assets/index-D0luj4nf.js","assets/nav-timing-CHjjxeJZ.js","assets/aggregate-base-liWjnwuO.js","assets/event-buffer-Bqcgo3fC.js","assets/webdriver-detection-BlwdUo1d.js","assets/traverse-eGeoT8Mx.js","assets/index-C3pgfIHU.js","assets/bel-serializer-C9Fizjo4.js","assets/event-origin-Bb7irpQQ.js","assets/load-time-BSalUavx.js","assets/index-DFJY3wqZ.js","assets/iframe-PalxAwQ_.js","assets/index-B6DVW7IY.js","assets/index-DOMLaczE.js","assets/type-check-BVQCr-HH.js","assets/index-X6je90T2.js","assets/index-CdnqrCC_.js","assets/stylesheet-evaluator-vSW-5Pxn.js","assets/recorder-BeH2IGlN.js","assets/index-DYUHMGbk.js","assets/index-D98iwSfd.js","assets/index-BwpvRSl4.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 Pwe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function gr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var jg={exports:{}},qu={},Bg={exports:{}},vt={};var Lw;function _D(){if(Lw)return vt;Lw=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,J){this.props=D,this.context=U,this.refs=b,this.updater=J||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,J){this.props=D,this.context=U,this.refs=b,this.updater=J||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,J){var te,ue={},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)&&(ue[te]=U[te]);var oe=arguments.length-2;if(oe===1)ue.children=J;else if(1>>1,U=$[D];if(0>>1;Da(ue,ae))Ya(me,ue)?($[D]=me,$[Y]=ae,D=Y):($[D]=ue,$[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,K(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 J=!0;else{var te=n(d);te!==null&&X(R,te.startTime-pe),J=!1}return J}finally{p=null,m=ae,g=!1}}var O=!1,L=null,B=-1,V=5,ee=-1;function ie(){return!(e.unstable_now()-ee$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):V=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,K(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}}}})(zg)),zg}var zw;function wD(){return zw||(zw=1,Fg.exports=bD()),Fg.exports}var $w;function kD(){if($w)return Kr;$w=1;var e=iu(),t=wD();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{J=!1,Error.prepareStackTrace=h}return(l=l?l.displayName||l.name:"")?U(l):""}function ue(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 V: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 ee:return(l._context.displayName||"Context")+".Provider";case ce: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 K: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 Pe(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=Pe(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 je(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 He(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")?$n(l,u.type,h):u.hasOwnProperty("defaultValue")&&$n(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 $n(l,u,h){(u!=="number"||je(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=Nn.firstChild;l.firstChild;)l.removeChild(l.firstChild);for(;u.firstChild;)l.appendChild(u.firstChild)}});function bi(l,u){if(u){var h=l.firstChild;if(h&&h===l.lastChild&&h.nodeType===3){h.nodeValue=u;return}}l.textContent=u}var Va={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},Ms=["Webkit","ms","Moz","O"];Object.keys(Va).forEach(function(l){Ms.forEach(function(u){u=u+l.charAt(0).toUpperCase()+l.substring(1),Va[u]=Va[l]})});function Gi(l,u,h){return u==null||typeof u=="boolean"||u===""?"":h||typeof u!="number"||u===0||Va.hasOwnProperty(l)&&Va[l]?(""+u).trim():u+"px"}function Xn(l,u){l=l.style;for(var h in u)if(u.hasOwnProperty(h)){var y=h.indexOf("--")===0,S=Gi(h,u[h],y);h==="float"&&(h="cssFloat"),y?l.setProperty(h,S):l[h]=S}}var In=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 Vn(l,u){if(u){if(In[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 Jn(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 qn=null;function Wi(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var qa=null,zr=null,ya=null;function ba(l){if(l=Iu(l)){if(typeof qa!="function")throw Error(n(280));var u=l.stateNode;u&&(u=mf(u),qa(l.stateNode,l.type,u))}}function No(l){zr?ya?ya.push(l):ya=[l]:zr=l}function $r(){if(zr){var l=zr,u=ya;if(ya=zr=null,ba(l),u)for(l=0;l>>=0,l===0?32:31-(lr(l)/vr|0)|0}var Gn=64,Vr=4194304;function Si(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 Ar(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=Si(F):(x&=P,x!==0&&(y=Si(x)))}else P=h&~S,P!==0?y=Si(P):x!==0&&(y=Si(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 Bs(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=wu),A8=" ",N8=!1;function I8(l,u){switch(l){case"keyup":return fB.indexOf(u.keyCode)!==-1;case"keydown":return u.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function R8(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var Bl=!1;function hB(l,u){switch(l){case"compositionend":return R8(u);case"keypress":return u.which!==32?null:(N8=!0,A8);case"textInput":return l=u.data,l===A8&&N8?null:l;default:return null}}function mB(l,u){if(Bl)return l==="compositionend"||!g2&&I8(l,u)?(l=k8(),rf=u2=Lo=null,Bl=!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=D8(h)}}function z8(l,u){return l&&u?l===u?!0:l&&l.nodeType===3?!1:u&&u.nodeType===3?z8(l,u.parentNode):"contains"in l?l.contains(u):l.compareDocumentPosition?!!(l.compareDocumentPosition(u)&16):!1:!1}function $8(){for(var l=window,u=je();u instanceof l.HTMLIFrameElement;){try{var h=typeof u.contentWindow.location.href=="string"}catch{h=!1}if(h)l=u.contentWindow;else break;u=je(l.document)}return u}function y2(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 EB(l){var u=$8(),h=l.focusedElem,y=l.selectionRange;if(u!==h&&h&&h.ownerDocument&&z8(h.ownerDocument.documentElement,h)){if(y!==null&&y2(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=F8(h,x);var P=F8(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,Dl=null,b2=null,Cu=null,w2=!1;function U8(l,u,h){var y=h.window===h?h.document:h.nodeType===9?h:h.ownerDocument;w2||Dl==null||Dl!==je(y)||(y=Dl,"selectionStart"in y&&y2(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}),Cu&&Eu(Cu,y)||(Cu=y,y=ff(b2,"onSelect"),0Hl||(l.current=O2[Hl],O2[Hl]=null,Hl--)}function Wt(l,u){Hl++,O2[Hl]=l.current,l.current=u}var Fo={},yr=Do(Fo),Gr=Do(!1),Fs=Fo;function Vl(l,u){var h=l.type.contextTypes;if(!h)return Fo;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 Wr(l){return l=l.childContextTypes,l!=null}function gf(){tn(Gr),tn(yr)}function r7(l,u,h){if(yr.current!==Fo)throw Error(n(168));Wt(yr,u),Wt(Gr,h)}function a7(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 _f(l){return l=(l=l.stateNode)&&l.__reactInternalMemoizedMergedChildContext||Fo,Fs=yr.current,Wt(yr,l),Wt(Gr,Gr.current),!0}function i7(l,u,h){var y=l.stateNode;if(!y)throw Error(n(169));h?(l=a7(l,u,Fs),y.__reactInternalMemoizedMergedChildContext=l,tn(Gr),tn(yr),Wt(yr,l)):tn(Gr),Wt(Gr,h)}var Ki=null,vf=!1,P2=!1;function o7(l){Ki===null?Ki=[l]:Ki.push(l)}function jB(l){vf=!0,o7(l)}function zo(){if(!P2&&Ki!==null){P2=!0;var l=0,u=Ae;try{var h=Ki;for(Ae=1;l>=P,S-=P,Xi=1<<32-nt(u)+S|h<tt?(nr=Ke,Ke=null):nr=Ke.sibling;var Lt=ge(ne,Ke,re[tt],we);if(Lt===null){Ke===null&&(Ke=nr);break}l&&Ke&&Lt.alternate===null&&u(ne,Ke),Z=x(Lt,Z,tt),Qe===null?qe=Lt:Qe.sibling=Lt,Qe=Lt,Ke=nr}if(tt===re.length)return h(ne,Ke),an&&$s(ne,tt),qe;if(Ke===null){for(;tttt?(nr=Ke,Ke=null):nr=Ke.sibling;var Zo=ge(ne,Ke,Lt.value,we);if(Zo===null){Ke===null&&(Ke=nr);break}l&&Ke&&Zo.alternate===null&&u(ne,Ke),Z=x(Zo,Z,tt),Qe===null?qe=Zo:Qe.sibling=Zo,Qe=Zo,Ke=nr}if(Lt.done)return h(ne,Ke),an&&$s(ne,tt),qe;if(Ke===null){for(;!Lt.done;tt++,Lt=re.next())Lt=ve(ne,Lt.value,we),Lt!==null&&(Z=x(Lt,Z,tt),Qe===null?qe=Lt:Qe.sibling=Lt,Qe=Lt);return an&&$s(ne,tt),qe}for(Ke=y(ne,Ke);!Lt.done;tt++,Lt=re.next())Lt=Ie(Ke,ne,tt,Lt.value,we),Lt!==null&&(l&&Lt.alternate!==null&&Ke.delete(Lt.key===null?tt:Lt.key),Z=x(Lt,Z,tt),Qe===null?qe=Lt:Qe.sibling=Lt,Qe=Lt);return l&&Ke.forEach(function(gD){return u(ne,gD)}),an&&$s(ne,tt),qe}function En(ne,Z,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=Z;Qe!==null;){if(Qe.key===qe){if(qe=re.type,qe===L){if(Qe.tag===7){h(ne,Qe.sibling),Z=S(Qe,re.props.children),Z.return=ne,ne=Z;break e}}else if(Qe.elementType===qe||typeof qe=="object"&&qe!==null&&qe.$$typeof===K&&f7(qe)===Qe.type){h(ne,Qe.sibling),Z=S(Qe,re.props),Z.ref=Ru(ne,Qe,re),Z.return=ne,ne=Z;break e}h(ne,Qe);break}else u(ne,Qe);Qe=Qe.sibling}re.type===L?(Z=Zs(re.props.children,ne.mode,we,re.key),Z.return=ne,ne=Z):(we=Gf(re.type,re.key,re.props,null,ne.mode,we),we.ref=Ru(ne,Z,re),we.return=ne,ne=we)}return P(ne);case O:e:{for(Qe=re.key;Z!==null;){if(Z.key===Qe)if(Z.tag===4&&Z.stateNode.containerInfo===re.containerInfo&&Z.stateNode.implementation===re.implementation){h(ne,Z.sibling),Z=S(Z,re.children||[]),Z.return=ne,ne=Z;break e}else{h(ne,Z);break}else u(ne,Z);Z=Z.sibling}Z=Rg(re,ne.mode,we),Z.return=ne,ne=Z}return P(ne);case K:return Qe=re._init,En(ne,Z,Qe(re._payload),we)}if(Nt(re))return Le(ne,Z,re,we);if(pe(re))return Fe(ne,Z,re,we);kf(ne,re)}return typeof re=="string"&&re!==""||typeof re=="number"?(re=""+re,Z!==null&&Z.tag===6?(h(ne,Z.sibling),Z=S(Z,re),Z.return=ne,ne=Z):(h(ne,Z),Z=Ig(re,ne.mode,we),Z.return=ne,ne=Z),P(ne)):h(ne,Z)}return En}var Yl=p7(!0),h7=p7(!1),Sf=Do(null),Ef=null,Zl=null,z2=null;function $2(){z2=Zl=Ef=null}function U2(l){var u=Sf.current;tn(Sf),l._currentValue=u}function H2(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 Ql(l,u){Ef=l,z2=Zl=null,l=l.dependencies,l!==null&&l.firstContext!==null&&((l.lanes&u)!==0&&(Yr=!0),l.firstContext=null)}function Aa(l){var u=l._currentValue;if(z2!==l)if(l={context:l,memoizedValue:u,next:null},Zl===null){if(Ef===null)throw Error(n(308));Zl=l,Ef.dependencies={lanes:0,firstContext:l}}else Zl=Zl.next=l;return u}var Us=null;function V2(l){Us===null?Us=[l]:Us.push(l)}function m7(l,u,h,y){var S=u.interleaved;return S===null?(h.next=h,V2(u)):(h.next=S.next,S.next=h),u.interleaved=h,eo(l,y)}function eo(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 $o=!1;function q2(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function g7(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 to(l,u){return{eventTime:l,lane:u,tag:0,payload:null,callback:null,next:null}}function Uo(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,eo(l,h)}return S=y.interleaved,S===null?(u.next=u,V2(y)):(u.next=S.next,S.next=u),y.interleaved=u,eo(l,h)}function Cf(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,Rn(l,h)}}function _7(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 xf(l,u,h,y){var S=l.updateQueue;$o=!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,Ie=F.eventTime;if((y&ge)===ge){_e!==null&&(_e=_e.next={eventTime:Ie,lane:0,tag:F.tag,payload:F.payload,callback:F.callback,next:null});e:{var Le=l,Fe=F;switch(ge=u,Ie=h,Fe.tag){case 1:if(Le=Fe.payload,typeof Le=="function"){ve=Le.call(Ie,ve,ge);break e}ve=Le;break e;case 3:Le.flags=Le.flags&-65537|128;case 0:if(Le=Fe.payload,ge=typeof Le=="function"?Le.call(Ie,ve,ge):Le,ge==null)break e;ve=ae({},ve,ge);break e;case 2:$o=!0}}F.callback!==null&&F.lane!==0&&(l.flags|=64,ge=S.effects,ge===null?S.effects=[F]:ge.push(F))}else Ie={eventTime:Ie,lane:ge,tag:F.tag,payload:F.payload,callback:F.callback,next:null},_e===null?(se=_e=Ie,q=ve):_e=_e.next=Ie,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);qs|=P,l.lanes=P,l.memoizedState=ve}}function v7(l,u,h){if(l=u.effects,u.effects=null,l!==null)for(u=0;uh?h:4,l(!0);var y=Q2.transition;Q2.transition={};try{l(!1),u()}finally{Ae=h,Q2.transition=y}}function B7(){return Na().memoizedState}function zB(l,u,h){var y=Go(l);if(h={lane:y,action:h,hasEagerState:!1,eagerState:null,next:null},D7(l))F7(u,h);else if(h=m7(l,u,h,y),h!==null){var S=Ir();ni(h,l,y,S),z7(h,u,y)}}function $B(l,u,h){var y=Go(l),S={lane:y,action:h,hasEagerState:!1,eagerState:null,next:null};if(D7(l))F7(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,Ka(F,P)){var q=u.interleaved;q===null?(S.next=S,V2(u)):(S.next=q.next,q.next=S),u.interleaved=S;return}}catch{}h=m7(l,u,S,y),h!==null&&(S=Ir(),ni(h,l,y,S),z7(h,u,y))}}function D7(l){var u=l.alternate;return l===un||u!==null&&u===un}function F7(l,u){Lu=Nf=!0;var h=l.pending;h===null?u.next=u:(u.next=h.next,h.next=u),l.pending=u}function z7(l,u,h){if((h&4194240)!==0){var y=u.lanes;y&=l.pendingLanes,h|=y,u.lanes=h,Rn(l,h)}}var Mf={readContext:Aa,useCallback:br,useContext:br,useEffect:br,useImperativeHandle:br,useInsertionEffect:br,useLayoutEffect:br,useMemo:br,useReducer:br,useRef:br,useState:br,useDebugValue:br,useDeferredValue:br,useTransition:br,useMutableSource:br,useSyncExternalStore:br,useId:br,unstable_isNewReconciler:!1},UB={readContext:Aa,useCallback:function(l,u){return Ai().memoizedState=[l,u===void 0?null:u],l},useContext:Aa,useEffect:N7,useImperativeHandle:function(l,u,h){return h=h!=null?h.concat([l]):null,If(4194308,4,M7.bind(null,u,l),h)},useLayoutEffect:function(l,u){return If(4194308,4,l,u)},useInsertionEffect:function(l,u){return If(4,2,l,u)},useMemo:function(l,u){var h=Ai();return u=u===void 0?null:u,l=l(),h.memoizedState=[l,u],l},useReducer:function(l,u,h){var y=Ai();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=zB.bind(null,un,l),[y.memoizedState,l]},useRef:function(l){var u=Ai();return l={current:l},u.memoizedState=l},useState:T7,useDebugValue:rg,useDeferredValue:function(l){return Ai().memoizedState=l},useTransition:function(){var l=T7(!1),u=l[0];return l=FB.bind(null,l[1]),Ai().memoizedState=l,[u,l]},useMutableSource:function(){},useSyncExternalStore:function(l,u,h){var y=un,S=Ai();if(an){if(h===void 0)throw Error(n(407));h=h()}else{if(h=u(),tr===null)throw Error(n(349));(Vs&30)!==0||k7(y,u,h)}S.memoizedState=h;var x={value:h,getSnapshot:u};return S.queue=x,N7(E7.bind(null,y,x,l),[l]),y.flags|=2048,Du(9,S7.bind(null,y,x,h,u),void 0,null),h},useId:function(){var l=Ai(),u=tr.identifierPrefix;if(an){var h=Ji,y=Xi;h=(y&~(1<<32-nt(y)-1)).toString(32)+h,u=":"+u+"R"+h,h=ju++,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[xi]=u,l[Nu]=y,ow(l,u,!1,!1),u.stateNode=l;e:{switch(P=Jn(h,y),h){case"dialog":en("cancel",l),en("close",l),S=y;break;case"iframe":case"object":case"embed":en("load",l),S=y;break;case"video":case"audio":for(S=0;Stc&&(u.flags|=128,y=!0,Fu(x,!1),u.lanes=4194304)}else{if(!y)if(l=Tf(P),l!==null){if(u.flags|=128,y=!0,h=l.updateQueue,h!==null&&(u.updateQueue=h,u.flags|=4),Fu(x,!0),x.tail===null&&x.tailMode==="hidden"&&!P.alternate&&!an)return wr(u),null}else 2*Ee()-x.renderingStartTime>tc&&h!==1073741824&&(u.flags|=128,y=!0,Fu(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=cn.current,Wt(cn,y?h&1|2:h&1),u):(wr(u),null);case 22:case 23:return Tg(),y=u.memoizedState!==null,l!==null&&l.memoizedState!==null!==y&&(u.flags|=8192),y&&(u.mode&1)!==0?(sa&1073741824)!==0&&(wr(u),u.subtreeFlags&6&&(u.flags|=8192)):wr(u),null;case 24:return null;case 25:return null}throw Error(n(156,u.tag))}function QB(l,u){switch(j2(u),u.tag){case 1:return Wr(u.type)&&gf(),l=u.flags,l&65536?(u.flags=l&-65537|128,u):null;case 3:return Kl(),tn(Gr),tn(yr),Z2(),l=u.flags,(l&65536)!==0&&(l&128)===0?(u.flags=l&-65537|128,u):null;case 5:return W2(u),null;case 13:if(tn(cn),l=u.memoizedState,l!==null&&l.dehydrated!==null){if(u.alternate===null)throw Error(n(340));Wl()}return l=u.flags,l&65536?(u.flags=l&-65537|128,u):null;case 19:return tn(cn),null;case 4:return Kl(),null;case 10:return U2(u.type._context),null;case 22:case 23:return Tg(),null;case 24:return null;default:return null}}var jf=!1,kr=!1,KB=typeof WeakSet=="function"?WeakSet:Set,Me=null;function Jl(l,u){var h=l.ref;if(h!==null)if(typeof h=="function")try{h(null)}catch(y){mn(l,u,y)}else h.current=null}function mg(l,u,h){try{h()}catch(y){mn(l,u,y)}}var cw=!1;function XB(l,u){if(T2=tf,l=$8(),y2(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 Ie;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),(Ie=ve.firstChild)!==null;)ge=ve,ve=Ie;for(;;){if(ve===l)break t;if(ge===h&&++se===S&&(F=P),ge===x&&++_e===y&&(q=P),(Ie=ve.nextSibling)!==null)break;ve=ge,ge=ve.parentNode}ve=Ie}h=F===-1||q===-1?null:{start:F,end:q}}else h=null}h=h||{start:0,end:0}}else h=null;for(A2={focusedElem:l,selectionRange:h},tf=!1,Me=u;Me!==null;)if(u=Me,l=u.child,(u.subtreeFlags&1028)!==0&&l!==null)l.return=u,Me=l;else for(;Me!==null;){u=Me;try{var Le=u.alternate;if((u.flags&1024)!==0)switch(u.tag){case 0:case 11:case 15:break;case 1:if(Le!==null){var Fe=Le.memoizedProps,En=Le.memoizedState,ne=u.stateNode,Z=ne.getSnapshotBeforeUpdate(u.elementType===u.type?Fe:Ja(u.type,Fe),En);ne.__reactInternalSnapshotBeforeUpdate=Z}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){mn(u,u.return,we)}if(l=u.sibling,l!==null){l.return=u.return,Me=l;break}Me=u.return}return Le=cw,cw=!1,Le}function zu(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&&mg(u,h,x)}S=S.next}while(S!==y)}}function Bf(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 gg(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 uw(l){var u=l.alternate;u!==null&&(l.alternate=null,uw(u)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(u=l.stateNode,u!==null&&(delete u[xi],delete u[Nu],delete u[M2],delete u[PB],delete u[LB])),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 dw(l){return l.tag===5||l.tag===3||l.tag===4}function fw(l){e:for(;;){for(;l.sibling===null;){if(l.return===null||dw(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 _g(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=hf));else if(y!==4&&(l=l.child,l!==null))for(_g(l,u,h),l=l.sibling;l!==null;)_g(l,u,h),l=l.sibling}function vg(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(vg(l,u,h),l=l.sibling;l!==null;)vg(l,u,h),l=l.sibling}var cr=null,ei=!1;function Ho(l,u,h){for(h=h.child;h!==null;)pw(l,u,h),h=h.sibling}function pw(l,u,h){if(It&&typeof It.onCommitFiberUnmount=="function")try{It.onCommitFiberUnmount(ut,h)}catch{}switch(h.tag){case 5:kr||Jl(h,u);case 6:var y=cr,S=ei;cr=null,Ho(l,u,h),cr=y,ei=S,cr!==null&&(ei?(l=cr,h=h.stateNode,l.nodeType===8?l.parentNode.removeChild(h):l.removeChild(h)):cr.removeChild(h.stateNode));break;case 18:cr!==null&&(ei?(l=cr,h=h.stateNode,l.nodeType===8?R2(l.parentNode,h):l.nodeType===1&&R2(l,h),vu(l)):R2(cr,h.stateNode));break;case 4:y=cr,S=ei,cr=h.stateNode.containerInfo,ei=!0,Ho(l,u,h),cr=y,ei=S;break;case 0:case 11:case 14:case 15:if(!kr&&(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)&&mg(h,u,P),S=S.next}while(S!==y)}Ho(l,u,h);break;case 1:if(!kr&&(Jl(h,u),y=h.stateNode,typeof y.componentWillUnmount=="function"))try{y.props=h.memoizedProps,y.state=h.memoizedState,y.componentWillUnmount()}catch(F){mn(h,u,F)}Ho(l,u,h);break;case 21:Ho(l,u,h);break;case 22:h.mode&1?(kr=(y=kr)||h.memoizedState!==null,Ho(l,u,h),kr=y):Ho(l,u,h);break;default:Ho(l,u,h)}}function hw(l){var u=l.updateQueue;if(u!==null){l.updateQueue=null;var h=l.stateNode;h===null&&(h=l.stateNode=new KB),u.forEach(function(y){var S=sD.bind(null,l,y);h.has(y)||(h.add(y),y.then(S,S))})}}function ti(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*eD(y/1960))-y,10l?16:l,qo===null)var y=!1;else{if(l=qo,qo=null,Uf=0,(Rt&6)!==0)throw Error(n(331));var S=Rt;for(Rt|=4,Me=l.current;Me!==null;){var x=Me,P=x.child;if((Me.flags&16)!==0){var F=x.deletions;if(F!==null){for(var q=0;qEe()-wg?Ws(l,0):bg|=h),Qr(l,u)}function Tw(l,u){u===0&&((l.mode&1)===0?u=1:(u=Vr,Vr<<=1,(Vr&130023424)===0&&(Vr=4194304)));var h=Ir();l=eo(l,u),l!==null&&(ra(l,u,h),Qr(l,h))}function oD(l){var u=l.memoizedState,h=0;u!==null&&(h=u.retryLane),Tw(l,h)}function sD(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),Tw(l,h)}var Aw;Aw=function(l,u,h){if(l!==null)if(l.memoizedProps!==u.pendingProps||Gr.current)Yr=!0;else{if((l.lanes&h)===0&&(u.flags&128)===0)return Yr=!1,YB(l,u,h);Yr=(l.flags&131072)!==0}else Yr=!1,an&&(u.flags&1048576)!==0&&s7(u,bf,u.index);switch(u.lanes=0,u.tag){case 2:var y=u.type;Lf(l,u),l=u.pendingProps;var S=Vl(u,yr.current);Ql(u,h),S=X2(null,u,y,l,S,h);var x=J2();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,Wr(y)?(x=!0,_f(u)):x=!1,u.memoizedState=S.state!==null&&S.state!==void 0?S.state:null,q2(u),S.updater=Of,u.stateNode=S,S._reactInternals=u,ig(u,y,l,h),u=cg(null,u,y,!0,x,h)):(u.tag=0,an&&x&&L2(u),Nr(null,u,S,h),u=u.child),u;case 16:y=u.elementType;e:{switch(Lf(l,u),l=u.pendingProps,S=y._init,y=S(y._payload),u.type=y,S=u.tag=cD(y),l=Ja(y,l),S){case 0:u=lg(null,u,y,l,h);break e;case 1:u=ew(null,u,y,l,h);break e;case 11:u=Z7(null,u,y,l,h);break e;case 14:u=Q7(null,u,y,Ja(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:Ja(y,S),lg(l,u,y,S,h);case 1:return y=u.type,S=u.pendingProps,S=u.elementType===y?S:Ja(y,S),ew(l,u,y,S,h);case 3:e:{if(tw(u),l===null)throw Error(n(387));y=u.pendingProps,x=u.memoizedState,S=x.element,g7(l,u),xf(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=Xl(Error(n(423)),u),u=nw(l,u,y,h,S);break e}else if(y!==S){S=Xl(Error(n(424)),u),u=nw(l,u,y,h,S);break e}else for(oa=Bo(u.stateNode.containerInfo.firstChild),ia=u,an=!0,Xa=null,h=h7(u,null,y,h),u.child=h;h;)h.flags=h.flags&-3|4096,h=h.sibling;else{if(Wl(),y===S){u=no(l,u,h);break e}Nr(l,u,y,h)}u=u.child}return u;case 5:return y7(u),l===null&&D2(u),y=u.type,S=u.pendingProps,x=l!==null?l.memoizedProps:null,P=S.children,N2(y,S)?P=null:x!==null&&N2(y,x)&&(u.flags|=32),J7(l,u),Nr(l,u,P,h),u.child;case 6:return l===null&&D2(u),null;case 13:return rw(l,u,h);case 4:return G2(u,u.stateNode.containerInfo),y=u.pendingProps,l===null?u.child=Yl(u,null,y,h):Nr(l,u,y,h),u.child;case 11:return y=u.type,S=u.pendingProps,S=u.elementType===y?S:Ja(y,S),Z7(l,u,y,S,h);case 7:return Nr(l,u,u.pendingProps,h),u.child;case 8:return Nr(l,u,u.pendingProps.children,h),u.child;case 12:return Nr(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,Wt(Sf,y._currentValue),y._currentValue=P,x!==null)if(Ka(x.value,P)){if(x.children===S.children&&!Gr.current){u=no(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=to(-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),H2(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),H2(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}Nr(l,u,S.children,h),u=u.child}return u;case 9:return S=u.type,y=u.pendingProps.children,Ql(u,h),S=Aa(S),y=y(S),u.flags|=1,Nr(l,u,y,h),u.child;case 14:return y=u.type,S=Ja(y,u.pendingProps),S=Ja(y.type,S),Q7(l,u,y,S,h);case 15:return K7(l,u,u.type,u.pendingProps,h);case 17:return y=u.type,S=u.pendingProps,S=u.elementType===y?S:Ja(y,S),Lf(l,u),u.tag=1,Wr(y)?(l=!0,_f(u)):l=!1,Ql(u,h),U7(u,y,S),ig(u,y,S,h),cg(null,u,y,!0,l,h);case 19:return iw(l,u,h);case 22:return X7(l,u,h)}throw Error(n(156,u.tag))};function Nw(l,u){return H(l,u)}function lD(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 Ra(l,u,h,y){return new lD(l,u,h,y)}function Ng(l){return l=l.prototype,!(!l||!l.isReactComponent)}function cD(l){if(typeof l=="function")return Ng(l)?1:0;if(l!=null){if(l=l.$$typeof,l===ce)return 11;if(l===j)return 14}return 2}function Yo(l,u){var h=l.alternate;return h===null?(h=Ra(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 Gf(l,u,h,y,S,x){var P=2;if(y=l,typeof l=="function")Ng(l)&&(P=1);else if(typeof l=="string")P=5;else e:switch(l){case L:return Zs(h.children,S,x,u);case B:P=8,S|=8;break;case V:return l=Ra(12,h,u,S|2),l.elementType=V,l.lanes=x,l;case W:return l=Ra(13,h,u,S),l.elementType=W,l.lanes=x,l;case z:return l=Ra(19,h,u,S),l.elementType=z,l.lanes=x,l;case X:return Wf(h,S,x,u);default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case ee:P=10;break e;case ie:P=9;break e;case ce:P=11;break e;case j:P=14;break e;case K:P=16,y=null;break e}throw Error(n(130,l==null?l:typeof l,""))}return u=Ra(P,h,u,S),u.elementType=l,u.type=y,u.lanes=x,u}function Zs(l,u,h,y){return l=Ra(7,l,y,u),l.lanes=h,l}function Wf(l,u,h,y){return l=Ra(22,l,y,u),l.elementType=X,l.lanes=h,l.stateNode={isHidden:!1},l}function Ig(l,u,h){return l=Ra(6,l,null,u),l.lanes=h,l}function Rg(l,u,h){return u=Ra(4,l.children!==null?l.children:[],l.key,u),u.lanes=h,u.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},u}function uD(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 Mg(l,u,h,y,S,x,P,F,q){return l=new uD(l,u,h,F,q),u===1?(u=1,x===!0&&(u|=8)):u=0,x=Ra(3,null,null,u),l.current=x,x.stateNode=l,x.memoizedState={element:y,isDehydrated:h,cache:null,transitions:null,pendingSuspenseBoundaries:null},q2(x),l}function dD(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(),Dg.exports=kD(),Dg.exports}var Hw;function SD(){if(Hw)return ep;Hw=1;var e=tN();return ep.createRoot=e.createRoot,ep.hydrateRoot=e.hydrateRoot,ep}var ED=SD();var Vw="popstate";function qw(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function CD(e={}){function t(r,a){let i=a.state?.masked,{pathname:o,search:s,hash:c}=i||r.location;return q5("",{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:e1(a)}return TD(t,n,null,e)}function pn(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function mi(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function xD(){return Math.random().toString(36).substring(2,10)}function Gw(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 q5(e,t,n=null,r,a){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?ou(t):t,state:n,key:t&&t.key||r||xD(),unstable_mask:a}}function e1({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 ou(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 TD(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=qw(k)?k:q5(b.location,k,T);d=f()+1;let N=Gw(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=qw(k)?k:q5(b.location,k,T);d=f();let N=Gw(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 AD(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(Vw,p),c=k,()=>{a.removeEventListener(Vw,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 AD(e,t=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),pn(n,"No window.location.(origin|href) available to create URL");let r=typeof e=="string"?e:e1(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}function nN(e,t,n="/"){return ND(e,t,n,!1)}function ND(e,t,n,r){let a=typeof t=="string"?ou(t):t,i=ho(a.pathname||"/",n);if(i==null)return null;let o=rN(e);ID(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;pn(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=Fi([r,f.relativePath]),m=n.concat(f);o.children&&o.children.length>0&&(pn(o.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${p}".`),rN(o.children,t,m,p,c)),!(o.path==null&&!o.index)&&t.push({path:p,score:BD(p,o.index),routesMeta:m})};return e.forEach((o,s)=>{if(o.path===""||!o.path?.includes("?"))i(o,s);else for(let c of aN(o.path))i(o,s,!0,c)}),t}function aN(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=aN(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 ID(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:DD(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var RD=/^:[\w-]+$/,MD=3,OD=2,PD=1,LD=10,jD=-2,Ww=e=>e==="*";function BD(e,t){let n=e.split("/"),r=n.length;return n.some(Ww)&&(r+=jD),t&&(r+=OD),n.filter(a=>!Ww(a)).reduce((a,i)=>a+(RD.test(i)?MD:i===""?PD:LD),r)}function DD(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 FD(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 zD(e,t=!1,n=!0){mi(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 $D(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return mi(!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 ho(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 UD=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function HD(e,t="/"){let{pathname:n,search:r="",hash:a=""}=typeof e=="string"?ou(e):e,i;return n?(n=n.replace(/\/\/+/g,"/"),n.startsWith("/")?i=Yw(n.substring(1),"/"):i=Yw(n,t)):i=t,{pathname:i,search:GD(r),hash:WD(a)}}function Yw(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 $g(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 VD(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function iN(e){let t=VD(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function Eb(e,t,n,r=!1){let a;typeof e=="string"?a=ou(e):(a={...e},pn(!a.pathname||!a.pathname.includes("?"),$g("?","pathname","search",a)),pn(!a.pathname||!a.pathname.includes("#"),$g("#","pathname","hash",a)),pn(!a.search||!a.search.includes("#"),$g("#","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=HD(a,s),d=o&&o!=="/"&&o.endsWith("/"),f=(i||o===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(d||f)&&(c.pathname+="/"),c}var Fi=e=>e.join("/").replace(/\/\/+/g,"/"),qD=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),GD=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,WD=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,YD=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 ZD(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function QD(e){return e.map(t=>t.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var oN=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function sN(e,t){let n=e;if(typeof n!="string"||!UD.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,a=!1;if(oN)try{let i=new URL(window.location.href),o=n.startsWith("//")?new URL(i.protocol+n):new URL(n),s=ho(o.pathname,t);o.origin===i.origin&&s!=null?n=s+o.search+o.hash:a=!0}catch{mi(!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 lN=["POST","PUT","PATCH","DELETE"];new Set(lN);var KD=["GET",...lN];new Set(KD);var su=C.createContext(null);su.displayName="DataRouter";var Jh=C.createContext(null);Jh.displayName="DataRouterState";var XD=C.createContext(!1),cN=C.createContext({isTransitioning:!1});cN.displayName="ViewTransition";var JD=C.createContext(new Map);JD.displayName="Fetchers";var eF=C.createContext(null);eF.displayName="Await";var Ua=C.createContext(null);Ua.displayName="Navigation";var A1=C.createContext(null);A1.displayName="Location";var Ui=C.createContext({outlet:null,matches:[],isDataRoute:!1});Ui.displayName="Route";var Cb=C.createContext(null);Cb.displayName="RouteError";var uN="REACT_ROUTER_ERROR",tF="REDIRECT",nF="ROUTE_ERROR_RESPONSE";function rF(e){if(e.startsWith(`${uN}:${tF}:{`))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 aF(e){if(e.startsWith(`${uN}:${nF}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new YD(t.status,t.statusText,t.data)}catch{}}function iF(e,{relative:t}={}){pn(N1(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=C.useContext(Ua),{hash:a,pathname:i,search:o}=I1(e,{relative:t}),s=i;return n!=="/"&&(s=i==="/"?n:Fi([n,i])),r.createHref({pathname:s,search:o,hash:a})}function N1(){return C.useContext(A1)!=null}function yo(){return pn(N1(),"useLocation() may be used only in the context of a component."),C.useContext(A1).location}var dN="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function fN(e){C.useContext(Ua).static||C.useLayoutEffect(e)}function xb(){let{isDataRoute:e}=C.useContext(Ui);return e?yF():oF()}function oF(){pn(N1(),"useNavigate() may be used only in the context of a component.");let e=C.useContext(su),{basename:t,navigator:n}=C.useContext(Ua),{matches:r}=C.useContext(Ui),{pathname:a}=yo(),i=JSON.stringify(iN(r)),o=C.useRef(!1);return fN(()=>{o.current=!0}),C.useCallback((c,d={})=>{if(mi(o.current,dN),!o.current)return;if(typeof c=="number"){n.go(c);return}let f=Eb(c,JSON.parse(i),a,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:Fi([t,f.pathname])),(d.replace?n.replace:n.push)(f,d.state,d)},[t,n,i,a,e])}var sF=C.createContext(null);function lF(e){let t=C.useContext(Ui).outlet;return C.useMemo(()=>t&&C.createElement(sF.Provider,{value:e},t),[t,e])}function I1(e,{relative:t}={}){let{matches:n}=C.useContext(Ui),{pathname:r}=yo(),a=JSON.stringify(iN(n));return C.useMemo(()=>Eb(e,JSON.parse(a),r,t==="path"),[e,a,r,t])}function pN(e,t){return hN(e,t)}function hN(e,t,n){pn(N1(),"useRoutes() may be used only in the context of a component.");let{navigator:r}=C.useContext(Ua),{matches:a}=C.useContext(Ui),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||"";gN(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=yo(),p;if(t){let k=typeof t=="string"?ou(t):t;pn(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=nN(e,{pathname:g});mi(d||v!=null,`No routes matched location "${p.pathname}${p.search}${p.hash}" `),mi(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=pF(v&&v.map(k=>Object.assign({},k,{params:Object.assign({},o,k.params),pathname:Fi([c,r.encodeLocation?r.encodeLocation(k.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:k.pathname]),pathnameBase:k.pathnameBase==="/"?c:Fi([c,r.encodeLocation?r.encodeLocation(k.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:k.pathnameBase])})),a,n);return t&&b?C.createElement(A1.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...p},navigationType:"POP"}},b):b}function cF(){let e=vF(),t=ZD(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 uF=C.createElement(cF,null),mN=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=aF(e.digest);n&&(e=n)}let t=e!==void 0?C.createElement(Ui.Provider,{value:this.props.routeContext},C.createElement(Cb.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?C.createElement(dF,{error:e},t):t}};mN.contextType=XD;var Ug=new WeakMap;function dF({children:e,error:t}){let{basename:n}=C.useContext(Ua);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let r=rF(t.digest);if(r){let a=Ug.get(t);if(a)throw a;let i=sN(r.location,n);if(oN&&!Ug.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 Ug.set(t,o),o}return C.createElement("meta",{httpEquiv:"refresh",content:`0;url=${i.absoluteURL||i.to}`})}}return e}function fF({routeContext:e,match:t,children:n}){let r=C.useContext(su);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),C.createElement(Ui.Provider,{value:e},n)}function pF(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);pn(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:QD(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||uF,o&&(s<0&&m===0?(gN("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(fF,{match:p,routeContext:{outlet:f,matches:T,isDataRoute:r!=null},children:N})};return r&&(p.route.ErrorBoundary||p.route.errorElement||m===0)?C.createElement(mN,{location:r.location,revalidation:r.revalidation,component:b,error:g,children:A(),routeContext:{outlet:null,matches:T,isDataRoute:!0},onError:d}):A()},null)}function Tb(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function hF(e){let t=C.useContext(su);return pn(t,Tb(e)),t}function mF(e){let t=C.useContext(Jh);return pn(t,Tb(e)),t}function gF(e){let t=C.useContext(Ui);return pn(t,Tb(e)),t}function Ab(e){let t=gF(e),n=t.matches[t.matches.length-1];return pn(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function _F(){return Ab("useRouteId")}function vF(){let e=C.useContext(Cb),t=mF("useRouteError"),n=Ab("useRouteError");return e!==void 0?e:t.errors?.[n]}function yF(){let{router:e}=hF("useNavigate"),t=Ab("useNavigate"),n=C.useRef(!1);return fN(()=>{n.current=!0}),C.useCallback(async(a,i={})=>{mi(n.current,dN),n.current&&(typeof a=="number"?await e.navigate(a):await e.navigate(a,{fromRouteId:t,...i}))},[e,t])}var Zw={};function gN(e,t,n){!t&&!Zw[e]&&(Zw[e]=!0,mi(!1,n))}C.memo(bF);function bF({routes:e,future:t,state:n,isStatic:r,onError:a}){return hN(e,void 0,{state:n,isStatic:r,onError:a})}function wF(e){return lF(e.context)}function fd(e){pn(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function kF({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:a,static:i=!1,unstable_useTransitions:o}){pn(!N1(),"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=ou(n));let{pathname:d="/",search:f="",hash:p="",state:m=null,key:g="default",unstable_mask:v}=n,b=C.useMemo(()=>{let k=ho(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 mi(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(Ua.Provider,{value:c},C.createElement(A1.Provider,{children:t,value:b}))}function SF({children:e,location:t}){return pN(G5(e),t)}function G5(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,G5(r.props.children,i));return}pn(r.type===fd,`[${typeof r.type=="string"?r.type:r.type.name}] is not a component. All component children of must be a or `),pn(!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=G5(r.props.children,i)),n.push(o)}),n}var Vp="get",qp="application/x-www-form-urlencoded";function em(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function EF(e){return em(e)&&e.tagName.toLowerCase()==="button"}function CF(e){return em(e)&&e.tagName.toLowerCase()==="form"}function xF(e){return em(e)&&e.tagName.toLowerCase()==="input"}function TF(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function AF(e,t){return e.button===0&&(!t||t==="_self")&&!TF(e)}function W5(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 NF(e,t){let n=W5(e);return t&&t.forEach((r,a)=>{n.has(a)||t.getAll(a).forEach(i=>{n.append(a,i)})}),n}var tp=null;function IF(){if(tp===null)try{new FormData(document.createElement("form"),0),tp=!1}catch{tp=!0}return tp}var RF=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Hg(e){return e!=null&&!RF.has(e)?(mi(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${qp}"`),null):e}function MF(e,t){let n,r,a,i,o;if(CF(e)){let s=e.getAttribute("action");r=s?ho(s,t):null,n=e.getAttribute("method")||Vp,a=Hg(e.getAttribute("enctype"))||qp,i=new FormData(e)}else if(EF(e)||xF(e)&&(e.type==="submit"||e.type==="image")){let s=e.form;if(s==null)throw new Error('Cannot submit a