const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/agent-session-DYl6SAzY.js","assets/timer--QM2LZfv.js","assets/index-BQ2DyfiI.js","assets/nav-timing-CHjjxeJZ.js","assets/aggregate-base-O_nqaDmV.js","assets/event-buffer-Lsxw125i.js","assets/webdriver-detection-Dukf-SPm.js","assets/traverse-eGeoT8Mx.js","assets/index-cAfxBihA.js","assets/bel-serializer-CsRl7zBp.js","assets/event-origin-Bb7irpQQ.js","assets/load-time-4ZLzNVAe.js","assets/index-DO_XD8Y_.js","assets/iframe-PalxAwQ_.js","assets/index-kTfAyxDQ.js","assets/index-BfQyyKgD.js","assets/type-check-BVQCr-HH.js","assets/index-DuNKwcYq.js","assets/index-QJxaDVnh.js","assets/stylesheet-evaluator-BVoiMHc0.js","assets/recorder-DgUYjN_x.js","assets/index-h715uSYe.js","assets/index-cTBuoBR8.js","assets/index-Co_6aJoO.js"])))=>i.map(i=>d[i]); function eV(e,t){for(var a=0;an[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))n(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function a(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(r){if(r.ep)return;r.ep=!0;const i=a(r);fetch(r.href,i)}})();var dze=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function yn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var tb={exports:{}},Rd={},ab={exports:{}},yt={};var aC;function tV(){if(aC)return yt;aC=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),o=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.iterator;function f(D){return D===null||typeof D!="object"?null:(D=m&&D[m]||D["@@iterator"],typeof D=="function"?D:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,k={};function S(D,q,Y){this.props=D,this.context=q,this.refs=k,this.updater=Y||h}S.prototype.isReactComponent={},S.prototype.setState=function(D,q){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,q,"setState")},S.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};function A(){}A.prototype=S.prototype;function E(D,q,Y){this.props=D,this.context=q,this.refs=k,this.updater=Y||h}var T=E.prototype=new A;T.constructor=E,b(T,S.prototype),T.isPureReactComponent=!0;var N=Array.isArray,P=Object.prototype.hasOwnProperty,j={current:null},R={key:!0,ref:!0,__self:!0,__source:!0};function F(D,q,Y){var ne,le={},Z=null,fe=null;if(q!=null)for(ne in q.ref!==void 0&&(fe=q.ref),q.key!==void 0&&(Z=""+q.key),q)P.call(q,ne)&&!R.hasOwnProperty(ne)&&(le[ne]=q[ne]);var ie=arguments.length-2;if(ie===1)le.children=Y;else if(1>>1,q=O[D];if(0>>1;Dr(le,$))Zr(fe,le)?(O[D]=fe,O[Z]=$,D=Z):(O[D]=le,O[ne]=$,D=ne);else if(Zr(fe,$))O[D]=fe,O[Z]=$,D=Z;else break e}}return ae}function r(O,ae){var $=O.sortIndex-ae.sortIndex;return $!==0?$:O.id-ae.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 l=[],d=[],p=1,m=null,f=3,h=!1,b=!1,k=!1,S=typeof setTimeout=="function"?setTimeout:null,A=typeof clearTimeout=="function"?clearTimeout:null,E=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function T(O){for(var ae=a(d);ae!==null;){if(ae.callback===null)n(d);else if(ae.startTime<=O)n(d),ae.sortIndex=ae.expirationTime,t(l,ae);else break;ae=a(d)}}function N(O){if(k=!1,T(O),!b)if(a(l)!==null)b=!0,G(P);else{var ae=a(d);ae!==null&&V(N,ae.startTime-O)}}function P(O,ae){b=!1,k&&(k=!1,A(F),F=-1),h=!0;var $=f;try{for(T(ae),m=a(l);m!==null&&(!(m.expirationTime>ae)||O&&!re());){var D=m.callback;if(typeof D=="function"){m.callback=null,f=m.priorityLevel;var q=D(m.expirationTime<=ae);ae=e.unstable_now(),typeof q=="function"?m.callback=q:m===a(l)&&n(l),T(ae)}else n(l);m=a(l)}if(m!==null)var Y=!0;else{var ne=a(d);ne!==null&&V(N,ne.startTime-ae),Y=!1}return Y}finally{m=null,f=$,h=!1}}var j=!1,R=null,F=-1,U=5,W=-1;function re(){return!(e.unstable_now()-WO||125D?(O.sortIndex=$,t(d,O),a(l)===null&&O===a(d)&&(k?(A(F),F=-1):k=!0,V(N,$-D))):(O.sortIndex=q,t(l,O),b||h||(b=!0,G(P))),O},e.unstable_shouldYield=re,e.unstable_wrapCallback=function(O){var ae=f;return function(){var $=f;f=ae;try{return O.apply(this,arguments)}finally{f=$}}}})(ib)),ib}var sC;function iV(){return sC||(sC=1,rb.exports=rV()),rb.exports}var lC;function oV(){if(lC)return rr;lC=1;var e=Kc(),t=iV();function a(u){for(var c="https://reactjs.org/docs/error-decoder.html?invariant="+u,g=1;g"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),l=Object.prototype.hasOwnProperty,d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},m={};function f(u){return l.call(m,u)?!0:l.call(p,u)?!1:d.test(u)?m[u]=!0:(p[u]=!0,!1)}function h(u,c,g,_){if(g!==null&&g.type===0)return!1;switch(typeof c){case"function":case"symbol":return!0;case"boolean":return _?!1:g!==null?!g.acceptsBooleans:(u=u.toLowerCase().slice(0,5),u!=="data-"&&u!=="aria-");default:return!1}}function b(u,c,g,_){if(c===null||typeof c>"u"||h(u,c,g,_))return!0;if(_)return!1;if(g!==null)switch(g.type){case 3:return!c;case 4:return c===!1;case 5:return isNaN(c);case 6:return isNaN(c)||1>c}return!1}function k(u,c,g,_,x,M,L){this.acceptsBooleans=c===2||c===3||c===4,this.attributeName=_,this.attributeNamespace=x,this.mustUseProperty=g,this.propertyName=u,this.type=c,this.sanitizeURL=M,this.removeEmptyString=L}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(u){S[u]=new k(u,0,!1,u,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(u){var c=u[0];S[c]=new k(c,1,!1,u[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(u){S[u]=new k(u,2,!1,u.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(u){S[u]=new k(u,2,!1,u,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(u){S[u]=new k(u,3,!1,u.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(u){S[u]=new k(u,3,!0,u,null,!1,!1)}),["capture","download"].forEach(function(u){S[u]=new k(u,4,!1,u,null,!1,!1)}),["cols","rows","size","span"].forEach(function(u){S[u]=new k(u,6,!1,u,null,!1,!1)}),["rowSpan","start"].forEach(function(u){S[u]=new k(u,5,!1,u.toLowerCase(),null,!1,!1)});var A=/[\-:]([a-z])/g;function E(u){return u[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(u){var c=u.replace(A,E);S[c]=new k(c,1,!1,u,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(u){var c=u.replace(A,E);S[c]=new k(c,1,!1,u,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(u){var c=u.replace(A,E);S[c]=new k(c,1,!1,u,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(u){S[u]=new k(u,1,!1,u.toLowerCase(),null,!1,!1)}),S.xlinkHref=new k("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(u){S[u]=new k(u,1,!1,u.toLowerCase(),null,!0,!0)});function T(u,c,g,_){var x=S.hasOwnProperty(c)?S[c]:null;(x!==null?x.type!==0:_||!(2K||x[L]!==M[K]){var Q=` `+x[L].replace(" at new "," at ");return u.displayName&&Q.includes("")&&(Q=Q.replace("",u.displayName)),Q}while(1<=L&&0<=K);break}}}finally{Y=!1,Error.prepareStackTrace=g}return(u=u?u.displayName||u.name:"")?q(u):""}function le(u){switch(u.tag){case 5:return q(u.type);case 16:return q("Lazy");case 13:return q("Suspense");case 19:return q("SuspenseList");case 0:case 2:case 15:return u=ne(u.type,!1),u;case 11:return u=ne(u.type.render,!1),u;case 1:return u=ne(u.type,!0),u;default:return""}}function Z(u){if(u==null)return null;if(typeof u=="function")return u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case R:return"Fragment";case j:return"Portal";case U:return"Profiler";case F:return"StrictMode";case H:return"Suspense";case I:return"SuspenseList"}if(typeof u=="object")switch(u.$$typeof){case re:return(u.displayName||"Context")+".Consumer";case W:return(u._context.displayName||"Context")+".Provider";case oe:var c=u.render;return u=u.displayName,u||(u=c.displayName||c.name||"",u=u!==""?"ForwardRef("+u+")":"ForwardRef"),u;case B:return c=u.displayName||null,c!==null?c:Z(u.type)||"Memo";case G:c=u._payload,u=u._init;try{return Z(u(c))}catch{}}return null}function fe(u){var c=u.type;switch(u.tag){case 24:return"Cache";case 9:return(c.displayName||"Context")+".Consumer";case 10:return(c._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return u=c.render,u=u.displayName||u.name||"",c.displayName||(u!==""?"ForwardRef("+u+")":"ForwardRef");case 7:return"Fragment";case 5:return c;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Z(c);case 8:return c===F?"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 c=="function")return c.displayName||c.name||null;if(typeof c=="string")return c}return null}function ie(u){switch(typeof u){case"boolean":case"number":case"string":case"undefined":return u;case"object":return u;default:return""}}function ge(u){var c=u.type;return(u=u.nodeName)&&u.toLowerCase()==="input"&&(c==="checkbox"||c==="radio")}function Ae(u){var c=ge(u)?"checked":"value",g=Object.getOwnPropertyDescriptor(u.constructor.prototype,c),_=""+u[c];if(!u.hasOwnProperty(c)&&typeof g<"u"&&typeof g.get=="function"&&typeof g.set=="function"){var x=g.get,M=g.set;return Object.defineProperty(u,c,{configurable:!0,get:function(){return x.call(this)},set:function(L){_=""+L,M.call(this,L)}}),Object.defineProperty(u,c,{enumerable:g.enumerable}),{getValue:function(){return _},setValue:function(L){_=""+L},stopTracking:function(){u._valueTracker=null,delete u[c]}}}}function ke(u){u._valueTracker||(u._valueTracker=Ae(u))}function Ie(u){if(!u)return!1;var c=u._valueTracker;if(!c)return!0;var g=c.getValue(),_="";return u&&(_=ge(u)?u.checked?"true":"false":u.value),u=_,u!==g?(c.setValue(u),!0):!1}function Be(u){if(u=u||(typeof document<"u"?document:void 0),typeof u>"u")return null;try{return u.activeElement||u.body}catch{return u.body}}function at(u,c){var g=c.checked;return $({},c,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:g??u._wrapperState.initialChecked})}function Ge(u,c){var g=c.defaultValue==null?"":c.defaultValue,_=c.checked!=null?c.checked:c.defaultChecked;g=ie(c.value!=null?c.value:g),u._wrapperState={initialChecked:_,initialValue:g,controlled:c.type==="checkbox"||c.type==="radio"?c.checked!=null:c.value!=null}}function Ye(u,c){c=c.checked,c!=null&&T(u,"checked",c,!1)}function ot(u,c){Ye(u,c);var g=ie(c.value),_=c.type;if(g!=null)_==="number"?(g===0&&u.value===""||u.value!=g)&&(u.value=""+g):u.value!==""+g&&(u.value=""+g);else if(_==="submit"||_==="reset"){u.removeAttribute("value");return}c.hasOwnProperty("value")?Ua(u,c.type,g):c.hasOwnProperty("defaultValue")&&Ua(u,c.type,ie(c.defaultValue)),c.checked==null&&c.defaultChecked!=null&&(u.defaultChecked=!!c.defaultChecked)}function vt(u,c,g){if(c.hasOwnProperty("value")||c.hasOwnProperty("defaultValue")){var _=c.type;if(!(_!=="submit"&&_!=="reset"||c.value!==void 0&&c.value!==null))return;c=""+u._wrapperState.initialValue,g||c===u.value||(u.value=c),u.defaultValue=c}g=u.name,g!==""&&(u.name=""),u.defaultChecked=!!u._wrapperState.initialChecked,g!==""&&(u.name=g)}function Ua(u,c,g){(c!=="number"||Be(u.ownerDocument)!==u)&&(g==null?u.defaultValue=""+u._wrapperState.initialValue:u.defaultValue!==""+g&&(u.defaultValue=""+g))}var jt=Array.isArray;function Wa(u,c,g,_){if(u=u.options,c){c={};for(var x=0;x"+c.valueOf().toString()+"",c=Ra.firstChild;u.firstChild;)u.removeChild(u.firstChild);for(;c.firstChild;)u.appendChild(c.firstChild)}});function Li(u,c){if(c){var g=u.firstChild;if(g&&g===u.lastChild&&g.nodeType===3){g.nodeValue=c;return}}u.textContent=c}var ti={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},nl=["Webkit","ms","Moz","O"];Object.keys(ti).forEach(function(u){nl.forEach(function(c){c=c+u.charAt(0).toUpperCase()+u.substring(1),ti[c]=ti[u]})});function lo(u,c,g){return c==null||typeof c=="boolean"||c===""?"":g||typeof c!="number"||c===0||ti.hasOwnProperty(u)&&ti[u]?(""+c).trim():c+"px"}function rn(u,c){u=u.style;for(var g in c)if(c.hasOwnProperty(g)){var _=g.indexOf("--")===0,x=lo(g,c[g],_);g==="float"&&(g="cssFloat"),_?u.setProperty(g,x):u[g]=x}}var La=$({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 Za(u,c){if(c){if(La[u]&&(c.children!=null||c.dangerouslySetInnerHTML!=null))throw Error(a(137,u));if(c.dangerouslySetInnerHTML!=null){if(c.children!=null)throw Error(a(60));if(typeof c.dangerouslySetInnerHTML!="object"||!("__html"in c.dangerouslySetInnerHTML))throw Error(a(61))}if(c.style!=null&&typeof c.style!="object")throw Error(a(62))}}function on(u,c){if(u.indexOf("-")===-1)return typeof c.is=="string";switch(u){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 Qa=null;function uo(u){return u=u.target||u.srcElement||window,u.correspondingUseElement&&(u=u.correspondingUseElement),u.nodeType===3?u.parentNode:u}var ai=null,Wn=null,Mr=null;function Pr(u){if(u=kd(u)){if(typeof ai!="function")throw Error(a(280));var c=u.stateNode;c&&(c=s1(c),ai(u.stateNode,u.type,c))}}function Qo(u){Wn?Mr?Mr.push(u):Mr=[u]:Wn=u}function Xn(){if(Wn){var u=Wn,c=Mr;if(Mr=Wn=null,Pr(u),c)for(u=0;u>>=0,u===0?32:31-(hn(u)/wn|0)|0}var Ya=64,Yn=4194304;function Oi(u){switch(u&-u){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 u&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return u&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return u}}function jn(u,c){var g=u.pendingLanes;if(g===0)return 0;var _=0,x=u.suspendedLanes,M=u.pingedLanes,L=g&268435455;if(L!==0){var K=L&~x;K!==0?_=Oi(K):(M&=L,M!==0&&(_=Oi(M)))}else L=g&~x,L!==0?_=Oi(L):M!==0&&(_=Oi(M));if(_===0)return 0;if(c!==0&&c!==_&&(c&x)===0&&(x=_&-_,M=c&-c,x>=M||x===16&&(M&4194240)!==0))return c;if((_&4)!==0&&(_|=g&16),c=u.entangledLanes,c!==0)for(u=u.entanglements,c&=_;0g;g++)c.push(u);return c}function dr(u,c,g){u.pendingLanes|=c,c!==536870912&&(u.suspendedLanes=0,u.pingedLanes=0),u=u.eventTimes,c=31-lt(c),u[c]=g}function ll(u,c){var g=u.pendingLanes&~c;u.pendingLanes=c,u.suspendedLanes=0,u.pingedLanes=0,u.expiredLanes&=c,u.mutableReadLanes&=c,u.entangledLanes&=c,c=u.entanglements;var _=u.eventTimes;for(u=u.expirationTimes;0=cd),Z9=" ",Q9=!1;function Y9(u,c){switch(u){case"keyup":return ZH.indexOf(c.keyCode)!==-1;case"keydown":return c.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function J9(u){return u=u.detail,typeof u=="object"&&"data"in u?u.data:null}var vu=!1;function YH(u,c){switch(u){case"compositionend":return J9(c);case"keypress":return c.which!==32?null:(Q9=!0,Z9);case"textInput":return u=c.data,u===Z9&&Q9?null:u;default:return null}}function JH(u,c){if(vu)return u==="compositionend"||!L2&&Y9(u,c)?(u=V9(),Qm=M2=as=null,vu=!1,u):null;switch(u){case"paste":return null;case"keypress":if(!(c.ctrlKey||c.altKey||c.metaKey)||c.ctrlKey&&c.altKey){if(c.char&&1=c)return{node:g,offset:c-u};u=_}e:{for(;g;){if(g.nextSibling){g=g.nextSibling;break e}g=g.parentNode}g=void 0}g=iS(g)}}function sS(u,c){return u&&c?u===c?!0:u&&u.nodeType===3?!1:c&&c.nodeType===3?sS(u,c.parentNode):"contains"in u?u.contains(c):u.compareDocumentPosition?!!(u.compareDocumentPosition(c)&16):!1:!1}function lS(){for(var u=window,c=Be();c instanceof u.HTMLIFrameElement;){try{var g=typeof c.contentWindow.location.href=="string"}catch{g=!1}if(g)u=c.contentWindow;else break;c=Be(u.document)}return c}function O2(u){var c=u&&u.nodeName&&u.nodeName.toLowerCase();return c&&(c==="input"&&(u.type==="text"||u.type==="search"||u.type==="tel"||u.type==="url"||u.type==="password")||c==="textarea"||u.contentEditable==="true")}function sq(u){var c=lS(),g=u.focusedElem,_=u.selectionRange;if(c!==g&&g&&g.ownerDocument&&sS(g.ownerDocument.documentElement,g)){if(_!==null&&O2(g)){if(c=_.start,u=_.end,u===void 0&&(u=c),"selectionStart"in g)g.selectionStart=c,g.selectionEnd=Math.min(u,g.value.length);else if(u=(c=g.ownerDocument||document)&&c.defaultView||window,u.getSelection){u=u.getSelection();var x=g.textContent.length,M=Math.min(_.start,x);_=_.end===void 0?M:Math.min(_.end,x),!u.extend&&M>_&&(x=_,_=M,M=x),x=oS(g,M);var L=oS(g,_);x&&L&&(u.rangeCount!==1||u.anchorNode!==x.node||u.anchorOffset!==x.offset||u.focusNode!==L.node||u.focusOffset!==L.offset)&&(c=c.createRange(),c.setStart(x.node,x.offset),u.removeAllRanges(),M>_?(u.addRange(c),u.extend(L.node,L.offset)):(c.setEnd(L.node,L.offset),u.addRange(c)))}}for(c=[],u=g;u=u.parentNode;)u.nodeType===1&&c.push({element:u,left:u.scrollLeft,top:u.scrollTop});for(typeof g.focus=="function"&&g.focus(),g=0;g=document.documentMode,bu=null,F2=null,fd=null,D2=!1;function uS(u,c,g){var _=g.window===g?g.document:g.nodeType===9?g:g.ownerDocument;D2||bu==null||bu!==Be(_)||(_=bu,"selectionStart"in _&&O2(_)?_={start:_.selectionStart,end:_.selectionEnd}:(_=(_.ownerDocument&&_.ownerDocument.defaultView||window).getSelection(),_={anchorNode:_.anchorNode,anchorOffset:_.anchorOffset,focusNode:_.focusNode,focusOffset:_.focusOffset}),fd&&md(fd,_)||(fd=_,_=r1(F2,"onSelect"),0<_.length&&(c=new P2("onSelect","select",null,c,g),u.push({event:c,listeners:_}),c.target=bu)))}function t1(u,c){var g={};return g[u.toLowerCase()]=c.toLowerCase(),g["Webkit"+u]="webkit"+c,g["Moz"+u]="moz"+c,g}var ku={animationend:t1("Animation","AnimationEnd"),animationiteration:t1("Animation","AnimationIteration"),animationstart:t1("Animation","AnimationStart"),transitionend:t1("Transition","TransitionEnd")},H2={},cS={};s&&(cS=document.createElement("div").style,"AnimationEvent"in window||(delete ku.animationend.animation,delete ku.animationiteration.animation,delete ku.animationstart.animation),"TransitionEvent"in window||delete ku.transitionend.transition);function a1(u){if(H2[u])return H2[u];if(!ku[u])return u;var c=ku[u],g;for(g in c)if(c.hasOwnProperty(g)&&g in cS)return H2[u]=c[g];return u}var dS=a1("animationend"),pS=a1("animationiteration"),mS=a1("animationstart"),fS=a1("transitionend"),hS=new Map,gS="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function ns(u,c){hS.set(u,c),i(c,[u])}for(var q2=0;q2wu||(u.current=J2[wu],J2[wu]=null,wu--)}function ea(u,c){wu++,J2[wu]=u.current,u.current=c}var os={},Cn=is(os),$n=is(!1),cl=os;function Cu(u,c){var g=u.type.contextTypes;if(!g)return os;var _=u.stateNode;if(_&&_.__reactInternalMemoizedUnmaskedChildContext===c)return _.__reactInternalMemoizedMaskedChildContext;var x={},M;for(M in g)x[M]=c[M];return _&&(u=u.stateNode,u.__reactInternalMemoizedUnmaskedChildContext=c,u.__reactInternalMemoizedMaskedChildContext=x),x}function er(u){return u=u.childContextTypes,u!=null}function l1(){oa($n),oa(Cn)}function CS(u,c,g){if(Cn.current!==os)throw Error(a(168));ea(Cn,c),ea($n,g)}function xS(u,c,g){var _=u.stateNode;if(c=c.childContextTypes,typeof _.getChildContext!="function")return g;_=_.getChildContext();for(var x in _)if(!(x in c))throw Error(a(108,fe(u)||"Unknown",x));return $({},g,_)}function u1(u){return u=(u=u.stateNode)&&u.__reactInternalMemoizedMergedChildContext||os,cl=Cn.current,ea(Cn,u),ea($n,$n.current),!0}function AS(u,c,g){var _=u.stateNode;if(!_)throw Error(a(169));g?(u=xS(u,c,cl),_.__reactInternalMemoizedMergedChildContext=u,oa($n),oa(Cn),ea(Cn,u)):oa($n),ea($n,g)}var fo=null,c1=!1,$2=!1;function TS(u){fo===null?fo=[u]:fo.push(u)}function kq(u){c1=!0,TS(u)}function ss(){if(!$2&&fo!==null){$2=!0;var u=0,c=Ee;try{var g=fo;for(Ee=1;u>=L,x-=L,ho=1<<32-lt(c)+x|g<st?(un=tt,tt=null):un=tt.sibling;var Ft=ve(se,tt,ue[st],Se);if(Ft===null){tt===null&&(tt=un);break}u&&tt&&Ft.alternate===null&&c(se,tt),ee=M(Ft,ee,st),et===null?Ue=Ft:et.sibling=Ft,et=Ft,tt=un}if(st===ue.length)return g(se,tt),ca&&pl(se,st),Ue;if(tt===null){for(;stst?(un=tt,tt=null):un=tt.sibling;var gs=ve(se,tt,Ft.value,Se);if(gs===null){tt===null&&(tt=un);break}u&&tt&&gs.alternate===null&&c(se,tt),ee=M(gs,ee,st),et===null?Ue=gs:et.sibling=gs,et=gs,tt=un}if(Ft.done)return g(se,tt),ca&&pl(se,st),Ue;if(tt===null){for(;!Ft.done;st++,Ft=ue.next())Ft=_e(se,Ft.value,Se),Ft!==null&&(ee=M(Ft,ee,st),et===null?Ue=Ft:et.sibling=Ft,et=Ft);return ca&&pl(se,st),Ue}for(tt=_(se,tt);!Ft.done;st++,Ft=ue.next())Ft=Me(tt,se,st,Ft.value,Se),Ft!==null&&(u&&Ft.alternate!==null&&tt.delete(Ft.key===null?st:Ft.key),ee=M(Ft,ee,st),et===null?Ue=Ft:et.sibling=Ft,et=Ft);return u&&tt.forEach(function($q){return c(se,$q)}),ca&&pl(se,st),Ue}function Ea(se,ee,ue,Se){if(typeof ue=="object"&&ue!==null&&ue.type===R&&ue.key===null&&(ue=ue.props.children),typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case P:e:{for(var Ue=ue.key,et=ee;et!==null;){if(et.key===Ue){if(Ue=ue.type,Ue===R){if(et.tag===7){g(se,et.sibling),ee=x(et,ue.props.children),ee.return=se,se=ee;break e}}else if(et.elementType===Ue||typeof Ue=="object"&&Ue!==null&&Ue.$$typeof===G&&zS(Ue)===et.type){g(se,et.sibling),ee=x(et,ue.props),ee.ref=_d(se,et,ue),ee.return=se,se=ee;break e}g(se,et);break}else c(se,et);et=et.sibling}ue.type===R?(ee=_l(ue.props.children,se.mode,Se,ue.key),ee.return=se,se=ee):(Se=O1(ue.type,ue.key,ue.props,null,se.mode,Se),Se.ref=_d(se,ee,ue),Se.return=se,se=Se)}return L(se);case j:e:{for(et=ue.key;ee!==null;){if(ee.key===et)if(ee.tag===4&&ee.stateNode.containerInfo===ue.containerInfo&&ee.stateNode.implementation===ue.implementation){g(se,ee.sibling),ee=x(ee,ue.children||[]),ee.return=se,se=ee;break e}else{g(se,ee);break}else c(se,ee);ee=ee.sibling}ee=Qv(ue,se.mode,Se),ee.return=se,se=ee}return L(se);case G:return et=ue._init,Ea(se,ee,et(ue._payload),Se)}if(jt(ue))return Oe(se,ee,ue,Se);if(ae(ue))return He(se,ee,ue,Se);f1(se,ue)}return typeof ue=="string"&&ue!==""||typeof ue=="number"?(ue=""+ue,ee!==null&&ee.tag===6?(g(se,ee.sibling),ee=x(ee,ue),ee.return=se,se=ee):(g(se,ee),ee=Zv(ue,se.mode,Se),ee.return=se,se=ee),L(se)):g(se,ee)}return Ea}var Eu=RS(!0),LS=RS(!1),h1=is(null),g1=null,Mu=null,iv=null;function ov(){iv=Mu=g1=null}function sv(u){var c=h1.current;oa(h1),u._currentValue=c}function lv(u,c,g){for(;u!==null;){var _=u.alternate;if((u.childLanes&c)!==c?(u.childLanes|=c,_!==null&&(_.childLanes|=c)):_!==null&&(_.childLanes&c)!==c&&(_.childLanes|=c),u===g)break;u=u.return}}function Pu(u,c){g1=u,iv=Mu=null,u=u.dependencies,u!==null&&u.firstContext!==null&&((u.lanes&c)!==0&&(tr=!0),u.firstContext=null)}function Or(u){var c=u._currentValue;if(iv!==u)if(u={context:u,memoizedValue:c,next:null},Mu===null){if(g1===null)throw Error(a(308));Mu=u,g1.dependencies={lanes:0,firstContext:u}}else Mu=Mu.next=u;return c}var ml=null;function uv(u){ml===null?ml=[u]:ml.push(u)}function IS(u,c,g,_){var x=c.interleaved;return x===null?(g.next=g,uv(c)):(g.next=x.next,x.next=g),c.interleaved=g,vo(u,_)}function vo(u,c){u.lanes|=c;var g=u.alternate;for(g!==null&&(g.lanes|=c),g=u,u=u.return;u!==null;)u.childLanes|=c,g=u.alternate,g!==null&&(g.childLanes|=c),g=u,u=u.return;return g.tag===3?g.stateNode:null}var ls=!1;function cv(u){u.updateQueue={baseState:u.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function BS(u,c){u=u.updateQueue,c.updateQueue===u&&(c.updateQueue={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,effects:u.effects})}function bo(u,c){return{eventTime:u,lane:c,tag:0,payload:null,callback:null,next:null}}function us(u,c,g){var _=u.updateQueue;if(_===null)return null;if(_=_.shared,(Rt&2)!==0){var x=_.pending;return x===null?c.next=c:(c.next=x.next,x.next=c),_.pending=c,vo(u,g)}return x=_.interleaved,x===null?(c.next=c,uv(_)):(c.next=x.next,x.next=c),_.interleaved=c,vo(u,g)}function v1(u,c,g){if(c=c.updateQueue,c!==null&&(c=c.shared,(g&4194240)!==0)){var _=c.lanes;_&=u.pendingLanes,g|=_,c.lanes=g,Ia(u,g)}}function OS(u,c){var g=u.updateQueue,_=u.alternate;if(_!==null&&(_=_.updateQueue,g===_)){var x=null,M=null;if(g=g.firstBaseUpdate,g!==null){do{var L={eventTime:g.eventTime,lane:g.lane,tag:g.tag,payload:g.payload,callback:g.callback,next:null};M===null?x=M=L:M=M.next=L,g=g.next}while(g!==null);M===null?x=M=c:M=M.next=c}else x=M=c;g={baseState:_.baseState,firstBaseUpdate:x,lastBaseUpdate:M,shared:_.shared,effects:_.effects},u.updateQueue=g;return}u=g.lastBaseUpdate,u===null?g.firstBaseUpdate=c:u.next=c,g.lastBaseUpdate=c}function b1(u,c,g,_){var x=u.updateQueue;ls=!1;var M=x.firstBaseUpdate,L=x.lastBaseUpdate,K=x.shared.pending;if(K!==null){x.shared.pending=null;var Q=K,ce=Q.next;Q.next=null,L===null?M=ce:L.next=ce,L=Q;var be=u.alternate;be!==null&&(be=be.updateQueue,K=be.lastBaseUpdate,K!==L&&(K===null?be.firstBaseUpdate=ce:K.next=ce,be.lastBaseUpdate=Q))}if(M!==null){var _e=x.baseState;L=0,be=ce=Q=null,K=M;do{var ve=K.lane,Me=K.eventTime;if((_&ve)===ve){be!==null&&(be=be.next={eventTime:Me,lane:0,tag:K.tag,payload:K.payload,callback:K.callback,next:null});e:{var Oe=u,He=K;switch(ve=c,Me=g,He.tag){case 1:if(Oe=He.payload,typeof Oe=="function"){_e=Oe.call(Me,_e,ve);break e}_e=Oe;break e;case 3:Oe.flags=Oe.flags&-65537|128;case 0:if(Oe=He.payload,ve=typeof Oe=="function"?Oe.call(Me,_e,ve):Oe,ve==null)break e;_e=$({},_e,ve);break e;case 2:ls=!0}}K.callback!==null&&K.lane!==0&&(u.flags|=64,ve=x.effects,ve===null?x.effects=[K]:ve.push(K))}else Me={eventTime:Me,lane:ve,tag:K.tag,payload:K.payload,callback:K.callback,next:null},be===null?(ce=be=Me,Q=_e):be=be.next=Me,L|=ve;if(K=K.next,K===null){if(K=x.shared.pending,K===null)break;ve=K,K=ve.next,ve.next=null,x.lastBaseUpdate=ve,x.shared.pending=null}}while(!0);if(be===null&&(Q=_e),x.baseState=Q,x.firstBaseUpdate=ce,x.lastBaseUpdate=be,c=x.shared.interleaved,c!==null){x=c;do L|=x.lane,x=x.next;while(x!==c)}else M===null&&(x.shared.lanes=0);gl|=L,u.lanes=L,u.memoizedState=_e}}function FS(u,c,g){if(u=c.effects,c.effects=null,u!==null)for(c=0;cg?g:4,u(!0);var _=hv.transition;hv.transition={};try{u(!1),c()}finally{Ee=g,hv.transition=_}}function rw(){return Fr().memoizedState}function wq(u,c,g){var _=ms(u);if(g={lane:_,action:g,hasEagerState:!1,eagerState:null,next:null},iw(u))ow(c,g);else if(g=IS(u,c,g,_),g!==null){var x=Rn();mi(g,u,_,x),sw(g,c,_)}}function Cq(u,c,g){var _=ms(u),x={lane:_,action:g,hasEagerState:!1,eagerState:null,next:null};if(iw(u))ow(c,x);else{var M=u.alternate;if(u.lanes===0&&(M===null||M.lanes===0)&&(M=c.lastRenderedReducer,M!==null))try{var L=c.lastRenderedState,K=M(L,g);if(x.hasEagerState=!0,x.eagerState=K,li(K,L)){var Q=c.interleaved;Q===null?(x.next=x,uv(c)):(x.next=Q.next,Q.next=x),c.interleaved=x;return}}catch{}g=IS(u,c,x,_),g!==null&&(x=Rn(),mi(g,u,_,x),sw(g,c,_))}}function iw(u){var c=u.alternate;return u===ga||c!==null&&c===ga}function ow(u,c){Cd=y1=!0;var g=u.pending;g===null?c.next=c:(c.next=g.next,g.next=c),u.pending=c}function sw(u,c,g){if((g&4194240)!==0){var _=c.lanes;_&=u.pendingLanes,g|=_,c.lanes=g,Ia(u,g)}}var C1={readContext:Or,useCallback:xn,useContext:xn,useEffect:xn,useImperativeHandle:xn,useInsertionEffect:xn,useLayoutEffect:xn,useMemo:xn,useReducer:xn,useRef:xn,useState:xn,useDebugValue:xn,useDeferredValue:xn,useTransition:xn,useMutableSource:xn,useSyncExternalStore:xn,useId:xn,unstable_isNewReconciler:!1},xq={readContext:Or,useCallback:function(u,c){return Vi().memoizedState=[u,c===void 0?null:c],u},useContext:Or,useEffect:QS,useImperativeHandle:function(u,c,g){return g=g!=null?g.concat([u]):null,S1(4194308,4,$S.bind(null,c,u),g)},useLayoutEffect:function(u,c){return S1(4194308,4,u,c)},useInsertionEffect:function(u,c){return S1(4,2,u,c)},useMemo:function(u,c){var g=Vi();return c=c===void 0?null:c,u=u(),g.memoizedState=[u,c],u},useReducer:function(u,c,g){var _=Vi();return c=g!==void 0?g(c):c,_.memoizedState=_.baseState=c,u={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:u,lastRenderedState:c},_.queue=u,u=u.dispatch=wq.bind(null,ga,u),[_.memoizedState,u]},useRef:function(u){var c=Vi();return u={current:u},c.memoizedState=u},useState:XS,useDebugValue:Sv,useDeferredValue:function(u){return Vi().memoizedState=u},useTransition:function(){var u=XS(!1),c=u[0];return u=Sq.bind(null,u[1]),Vi().memoizedState=u,[c,u]},useMutableSource:function(){},useSyncExternalStore:function(u,c,g){var _=ga,x=Vi();if(ca){if(g===void 0)throw Error(a(407));g=g()}else{if(g=c(),ln===null)throw Error(a(349));(hl&30)!==0||VS(_,c,g)}x.memoizedState=g;var M={value:g,getSnapshot:c};return x.queue=M,QS(GS.bind(null,_,M,u),[u]),_.flags|=2048,Td(9,KS.bind(null,_,M,g,c),void 0,null),g},useId:function(){var u=Vi(),c=ln.identifierPrefix;if(ca){var g=go,_=ho;g=(_&~(1<<32-lt(_)-1)).toString(32)+g,c=":"+c+"R"+g,g=xd++,0<\/script>",u=u.removeChild(u.firstChild)):typeof _.is=="string"?u=L.createElement(g,{is:_.is}):(u=L.createElement(g),g==="select"&&(L=u,_.multiple?L.multiple=!0:_.size&&(L.size=_.size))):u=L.createElementNS(u,g),u[Hi]=c,u[bd]=_,Tw(u,c,!1,!1),c.stateNode=u;e:{switch(L=on(g,_),g){case"dialog":ia("cancel",u),ia("close",u),x=_;break;case"iframe":case"object":case"embed":ia("load",u),x=_;break;case"video":case"audio":for(x=0;xLu&&(c.flags|=128,_=!0,Ed(M,!1),c.lanes=4194304)}else{if(!_)if(u=k1(L),u!==null){if(c.flags|=128,_=!0,g=u.updateQueue,g!==null&&(c.updateQueue=g,c.flags|=4),Ed(M,!0),M.tail===null&&M.tailMode==="hidden"&&!L.alternate&&!ca)return An(c),null}else 2*Ce()-M.renderingStartTime>Lu&&g!==1073741824&&(c.flags|=128,_=!0,Ed(M,!1),c.lanes=4194304);M.isBackwards?(L.sibling=c.child,c.child=L):(g=M.last,g!==null?g.sibling=L:c.child=L,M.last=L)}return M.tail!==null?(c=M.tail,M.rendering=c,M.tail=c.sibling,M.renderingStartTime=Ce(),c.sibling=null,g=ha.current,ea(ha,_?g&1|2:g&1),c):(An(c),null);case 22:case 23:return Uv(),_=c.memoizedState!==null,u!==null&&u.memoizedState!==null!==_&&(c.flags|=8192),_&&(c.mode&1)!==0?(hr&1073741824)!==0&&(An(c),c.subtreeFlags&6&&(c.flags|=8192)):An(c),null;case 24:return null;case 25:return null}throw Error(a(156,c.tag))}function zq(u,c){switch(tv(c),c.tag){case 1:return er(c.type)&&l1(),u=c.flags,u&65536?(c.flags=u&-65537|128,c):null;case 3:return Nu(),oa($n),oa(Cn),fv(),u=c.flags,(u&65536)!==0&&(u&128)===0?(c.flags=u&-65537|128,c):null;case 5:return pv(c),null;case 13:if(oa(ha),u=c.memoizedState,u!==null&&u.dehydrated!==null){if(c.alternate===null)throw Error(a(340));Tu()}return u=c.flags,u&65536?(c.flags=u&-65537|128,c):null;case 19:return oa(ha),null;case 4:return Nu(),null;case 10:return sv(c.type._context),null;case 22:case 23:return Uv(),null;case 24:return null;default:return null}}var E1=!1,Tn=!1,Rq=typeof WeakSet=="function"?WeakSet:Set,ze=null;function zu(u,c){var g=u.ref;if(g!==null)if(typeof g=="function")try{g(null)}catch(_){ya(u,c,_)}else g.current=null}function Rv(u,c,g){try{g()}catch(_){ya(u,c,_)}}var Pw=!1;function Lq(u,c){if(U2=Xm,u=lS(),O2(u)){if("selectionStart"in u)var g={start:u.selectionStart,end:u.selectionEnd};else e:{g=(g=u.ownerDocument)&&g.defaultView||window;var _=g.getSelection&&g.getSelection();if(_&&_.rangeCount!==0){g=_.anchorNode;var x=_.anchorOffset,M=_.focusNode;_=_.focusOffset;try{g.nodeType,M.nodeType}catch{g=null;break e}var L=0,K=-1,Q=-1,ce=0,be=0,_e=u,ve=null;t:for(;;){for(var Me;_e!==g||x!==0&&_e.nodeType!==3||(K=L+x),_e!==M||_!==0&&_e.nodeType!==3||(Q=L+_),_e.nodeType===3&&(L+=_e.nodeValue.length),(Me=_e.firstChild)!==null;)ve=_e,_e=Me;for(;;){if(_e===u)break t;if(ve===g&&++ce===x&&(K=L),ve===M&&++be===_&&(Q=L),(Me=_e.nextSibling)!==null)break;_e=ve,ve=_e.parentNode}_e=Me}g=K===-1||Q===-1?null:{start:K,end:Q}}else g=null}g=g||{start:0,end:0}}else g=null;for(W2={focusedElem:u,selectionRange:g},Xm=!1,ze=c;ze!==null;)if(c=ze,u=c.child,(c.subtreeFlags&1028)!==0&&u!==null)u.return=c,ze=u;else for(;ze!==null;){c=ze;try{var Oe=c.alternate;if((c.flags&1024)!==0)switch(c.tag){case 0:case 11:case 15:break;case 1:if(Oe!==null){var He=Oe.memoizedProps,Ea=Oe.memoizedState,se=c.stateNode,ee=se.getSnapshotBeforeUpdate(c.elementType===c.type?He:ci(c.type,He),Ea);se.__reactInternalSnapshotBeforeUpdate=ee}break;case 3:var ue=c.stateNode.containerInfo;ue.nodeType===1?ue.textContent="":ue.nodeType===9&&ue.documentElement&&ue.removeChild(ue.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(a(163))}}catch(Se){ya(c,c.return,Se)}if(u=c.sibling,u!==null){u.return=c.return,ze=u;break}ze=c.return}return Oe=Pw,Pw=!1,Oe}function Md(u,c,g){var _=c.updateQueue;if(_=_!==null?_.lastEffect:null,_!==null){var x=_=_.next;do{if((x.tag&u)===u){var M=x.destroy;x.destroy=void 0,M!==void 0&&Rv(c,g,M)}x=x.next}while(x!==_)}}function M1(u,c){if(c=c.updateQueue,c=c!==null?c.lastEffect:null,c!==null){var g=c=c.next;do{if((g.tag&u)===u){var _=g.create;g.destroy=_()}g=g.next}while(g!==c)}}function Lv(u){var c=u.ref;if(c!==null){var g=u.stateNode;u.tag,u=g,typeof c=="function"?c(u):c.current=u}}function Nw(u){var c=u.alternate;c!==null&&(u.alternate=null,Nw(c)),u.child=null,u.deletions=null,u.sibling=null,u.tag===5&&(c=u.stateNode,c!==null&&(delete c[Hi],delete c[bd],delete c[Y2],delete c[vq],delete c[bq])),u.stateNode=null,u.return=null,u.dependencies=null,u.memoizedProps=null,u.memoizedState=null,u.pendingProps=null,u.stateNode=null,u.updateQueue=null}function jw(u){return u.tag===5||u.tag===3||u.tag===4}function zw(u){e:for(;;){for(;u.sibling===null;){if(u.return===null||jw(u.return))return null;u=u.return}for(u.sibling.return=u.return,u=u.sibling;u.tag!==5&&u.tag!==6&&u.tag!==18;){if(u.flags&2||u.child===null||u.tag===4)continue e;u.child.return=u,u=u.child}if(!(u.flags&2))return u.stateNode}}function Iv(u,c,g){var _=u.tag;if(_===5||_===6)u=u.stateNode,c?g.nodeType===8?g.parentNode.insertBefore(u,c):g.insertBefore(u,c):(g.nodeType===8?(c=g.parentNode,c.insertBefore(u,g)):(c=g,c.appendChild(u)),g=g._reactRootContainer,g!=null||c.onclick!==null||(c.onclick=o1));else if(_!==4&&(u=u.child,u!==null))for(Iv(u,c,g),u=u.sibling;u!==null;)Iv(u,c,g),u=u.sibling}function Bv(u,c,g){var _=u.tag;if(_===5||_===6)u=u.stateNode,c?g.insertBefore(u,c):g.appendChild(u);else if(_!==4&&(u=u.child,u!==null))for(Bv(u,c,g),u=u.sibling;u!==null;)Bv(u,c,g),u=u.sibling}var gn=null,di=!1;function cs(u,c,g){for(g=g.child;g!==null;)Rw(u,c,g),g=g.sibling}function Rw(u,c,g){if(zt&&typeof zt.onCommitFiberUnmount=="function")try{zt.onCommitFiberUnmount(pt,g)}catch{}switch(g.tag){case 5:Tn||zu(g,c);case 6:var _=gn,x=di;gn=null,cs(u,c,g),gn=_,di=x,gn!==null&&(di?(u=gn,g=g.stateNode,u.nodeType===8?u.parentNode.removeChild(g):u.removeChild(g)):gn.removeChild(g.stateNode));break;case 18:gn!==null&&(di?(u=gn,g=g.stateNode,u.nodeType===8?Q2(u.parentNode,g):u.nodeType===1&&Q2(u,g),sd(u)):Q2(gn,g.stateNode));break;case 4:_=gn,x=di,gn=g.stateNode.containerInfo,di=!0,cs(u,c,g),gn=_,di=x;break;case 0:case 11:case 14:case 15:if(!Tn&&(_=g.updateQueue,_!==null&&(_=_.lastEffect,_!==null))){x=_=_.next;do{var M=x,L=M.destroy;M=M.tag,L!==void 0&&((M&2)!==0||(M&4)!==0)&&Rv(g,c,L),x=x.next}while(x!==_)}cs(u,c,g);break;case 1:if(!Tn&&(zu(g,c),_=g.stateNode,typeof _.componentWillUnmount=="function"))try{_.props=g.memoizedProps,_.state=g.memoizedState,_.componentWillUnmount()}catch(K){ya(g,c,K)}cs(u,c,g);break;case 21:cs(u,c,g);break;case 22:g.mode&1?(Tn=(_=Tn)||g.memoizedState!==null,cs(u,c,g),Tn=_):cs(u,c,g);break;default:cs(u,c,g)}}function Lw(u){var c=u.updateQueue;if(c!==null){u.updateQueue=null;var g=u.stateNode;g===null&&(g=u.stateNode=new Rq),c.forEach(function(_){var x=Kq.bind(null,u,_);g.has(_)||(g.add(_),_.then(x,x))})}}function pi(u,c){var g=c.deletions;if(g!==null)for(var _=0;_x&&(x=L),_&=~M}if(_=x,_=Ce()-_,_=(120>_?120:480>_?480:1080>_?1080:1920>_?1920:3e3>_?3e3:4320>_?4320:1960*Bq(_/1960))-_,10<_){u.timeoutHandle=Z2(kl.bind(null,u,ar,_o),_);break}kl(u,ar,_o);break;case 5:kl(u,ar,_o);break;default:throw Error(a(329))}}}return nr(u,Ce()),u.callbackNode===g?Hw.bind(null,u):null}function Vv(u,c){var g=Nd;return u.current.memoizedState.isDehydrated&&(bl(u,c).flags|=256),u=B1(u,c),u!==2&&(c=ar,ar=g,c!==null&&Kv(c)),u}function Kv(u){ar===null?ar=u:ar.push.apply(ar,u)}function Oq(u){for(var c=u;;){if(c.flags&16384){var g=c.updateQueue;if(g!==null&&(g=g.stores,g!==null))for(var _=0;_u?16:u,ps===null)var _=!1;else{if(u=ps,ps=null,R1=0,(Rt&6)!==0)throw Error(a(331));var x=Rt;for(Rt|=4,ze=u.current;ze!==null;){var M=ze,L=M.child;if((ze.flags&16)!==0){var K=M.deletions;if(K!==null){for(var Q=0;QCe()-Dv?bl(u,0):Fv|=g),nr(u,c)}function Xw(u,c){c===0&&((u.mode&1)===0?c=1:(c=Yn,Yn<<=1,(Yn&130023424)===0&&(Yn=4194304)));var g=Rn();u=vo(u,c),u!==null&&(dr(u,c,g),nr(u,g))}function Vq(u){var c=u.memoizedState,g=0;c!==null&&(g=c.retryLane),Xw(u,g)}function Kq(u,c){var g=0;switch(u.tag){case 13:var _=u.stateNode,x=u.memoizedState;x!==null&&(g=x.retryLane);break;case 19:_=u.stateNode;break;default:throw Error(a(314))}_!==null&&_.delete(c),Xw(u,g)}var Zw;Zw=function(u,c,g){if(u!==null)if(u.memoizedProps!==c.pendingProps||$n.current)tr=!0;else{if((u.lanes&g)===0&&(c.flags&128)===0)return tr=!1,Nq(u,c,g);tr=(u.flags&131072)!==0}else tr=!1,ca&&(c.flags&1048576)!==0&&ES(c,p1,c.index);switch(c.lanes=0,c.tag){case 2:var _=c.type;T1(u,c),u=c.pendingProps;var x=Cu(c,Cn.current);Pu(c,g),x=vv(null,c,_,u,x,g);var M=bv();return c.flags|=1,typeof x=="object"&&x!==null&&typeof x.render=="function"&&x.$$typeof===void 0?(c.tag=1,c.memoizedState=null,c.updateQueue=null,er(_)?(M=!0,u1(c)):M=!1,c.memoizedState=x.state!==null&&x.state!==void 0?x.state:null,cv(c),x.updater=x1,c.stateNode=x,x._reactInternals=c,Cv(c,_,u,g),c=Ev(null,c,_,!0,M,g)):(c.tag=0,ca&&M&&ev(c),zn(null,c,x,g),c=c.child),c;case 16:_=c.elementType;e:{switch(T1(u,c),u=c.pendingProps,x=_._init,_=x(_._payload),c.type=_,x=c.tag=Uq(_),u=ci(_,u),x){case 0:c=Tv(null,c,_,u,g);break e;case 1:c=yw(null,c,_,u,g);break e;case 11:c=gw(null,c,_,u,g);break e;case 14:c=vw(null,c,_,ci(_.type,u),g);break e}throw Error(a(306,_,""))}return c;case 0:return _=c.type,x=c.pendingProps,x=c.elementType===_?x:ci(_,x),Tv(u,c,_,x,g);case 1:return _=c.type,x=c.pendingProps,x=c.elementType===_?x:ci(_,x),yw(u,c,_,x,g);case 3:e:{if(Sw(c),u===null)throw Error(a(387));_=c.pendingProps,M=c.memoizedState,x=M.element,BS(u,c),b1(c,_,null,g);var L=c.memoizedState;if(_=L.element,M.isDehydrated)if(M={element:_,isDehydrated:!1,cache:L.cache,pendingSuspenseBoundaries:L.pendingSuspenseBoundaries,transitions:L.transitions},c.updateQueue.baseState=M,c.memoizedState=M,c.flags&256){x=ju(Error(a(423)),c),c=ww(u,c,_,g,x);break e}else if(_!==x){x=ju(Error(a(424)),c),c=ww(u,c,_,g,x);break e}else for(fr=rs(c.stateNode.containerInfo.firstChild),mr=c,ca=!0,ui=null,g=LS(c,null,_,g),c.child=g;g;)g.flags=g.flags&-3|4096,g=g.sibling;else{if(Tu(),_===x){c=ko(u,c,g);break e}zn(u,c,_,g)}c=c.child}return c;case 5:return DS(c),u===null&&nv(c),_=c.type,x=c.pendingProps,M=u!==null?u.memoizedProps:null,L=x.children,X2(_,x)?L=null:M!==null&&X2(_,M)&&(c.flags|=32),_w(u,c),zn(u,c,L,g),c.child;case 6:return u===null&&nv(c),null;case 13:return Cw(u,c,g);case 4:return dv(c,c.stateNode.containerInfo),_=c.pendingProps,u===null?c.child=Eu(c,null,_,g):zn(u,c,_,g),c.child;case 11:return _=c.type,x=c.pendingProps,x=c.elementType===_?x:ci(_,x),gw(u,c,_,x,g);case 7:return zn(u,c,c.pendingProps,g),c.child;case 8:return zn(u,c,c.pendingProps.children,g),c.child;case 12:return zn(u,c,c.pendingProps.children,g),c.child;case 10:e:{if(_=c.type._context,x=c.pendingProps,M=c.memoizedProps,L=x.value,ea(h1,_._currentValue),_._currentValue=L,M!==null)if(li(M.value,L)){if(M.children===x.children&&!$n.current){c=ko(u,c,g);break e}}else for(M=c.child,M!==null&&(M.return=c);M!==null;){var K=M.dependencies;if(K!==null){L=M.child;for(var Q=K.firstContext;Q!==null;){if(Q.context===_){if(M.tag===1){Q=bo(-1,g&-g),Q.tag=2;var ce=M.updateQueue;if(ce!==null){ce=ce.shared;var be=ce.pending;be===null?Q.next=Q:(Q.next=be.next,be.next=Q),ce.pending=Q}}M.lanes|=g,Q=M.alternate,Q!==null&&(Q.lanes|=g),lv(M.return,g,c),K.lanes|=g;break}Q=Q.next}}else if(M.tag===10)L=M.type===c.type?null:M.child;else if(M.tag===18){if(L=M.return,L===null)throw Error(a(341));L.lanes|=g,K=L.alternate,K!==null&&(K.lanes|=g),lv(L,g,c),L=M.sibling}else L=M.child;if(L!==null)L.return=M;else for(L=M;L!==null;){if(L===c){L=null;break}if(M=L.sibling,M!==null){M.return=L.return,L=M;break}L=L.return}M=L}zn(u,c,x.children,g),c=c.child}return c;case 9:return x=c.type,_=c.pendingProps.children,Pu(c,g),x=Or(x),_=_(x),c.flags|=1,zn(u,c,_,g),c.child;case 14:return _=c.type,x=ci(_,c.pendingProps),x=ci(_.type,x),vw(u,c,_,x,g);case 15:return bw(u,c,c.type,c.pendingProps,g);case 17:return _=c.type,x=c.pendingProps,x=c.elementType===_?x:ci(_,x),T1(u,c),c.tag=1,er(_)?(u=!0,u1(c)):u=!1,Pu(c,g),uw(c,_,x),Cv(c,_,x,g),Ev(null,c,_,!0,u,g);case 19:return Aw(u,c,g);case 22:return kw(u,c,g)}throw Error(a(156,c.tag))};function Qw(u,c){return X(u,c)}function Gq(u,c,g,_){this.tag=u,this.key=g,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=c,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=_,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Hr(u,c,g,_){return new Gq(u,c,g,_)}function Xv(u){return u=u.prototype,!(!u||!u.isReactComponent)}function Uq(u){if(typeof u=="function")return Xv(u)?1:0;if(u!=null){if(u=u.$$typeof,u===oe)return 11;if(u===B)return 14}return 2}function hs(u,c){var g=u.alternate;return g===null?(g=Hr(u.tag,c,u.key,u.mode),g.elementType=u.elementType,g.type=u.type,g.stateNode=u.stateNode,g.alternate=u,u.alternate=g):(g.pendingProps=c,g.type=u.type,g.flags=0,g.subtreeFlags=0,g.deletions=null),g.flags=u.flags&14680064,g.childLanes=u.childLanes,g.lanes=u.lanes,g.child=u.child,g.memoizedProps=u.memoizedProps,g.memoizedState=u.memoizedState,g.updateQueue=u.updateQueue,c=u.dependencies,g.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext},g.sibling=u.sibling,g.index=u.index,g.ref=u.ref,g}function O1(u,c,g,_,x,M){var L=2;if(_=u,typeof u=="function")Xv(u)&&(L=1);else if(typeof u=="string")L=5;else e:switch(u){case R:return _l(g.children,x,M,c);case F:L=8,x|=8;break;case U:return u=Hr(12,g,c,x|2),u.elementType=U,u.lanes=M,u;case H:return u=Hr(13,g,c,x),u.elementType=H,u.lanes=M,u;case I:return u=Hr(19,g,c,x),u.elementType=I,u.lanes=M,u;case V:return F1(g,x,M,c);default:if(typeof u=="object"&&u!==null)switch(u.$$typeof){case W:L=10;break e;case re:L=9;break e;case oe:L=11;break e;case B:L=14;break e;case G:L=16,_=null;break e}throw Error(a(130,u==null?u:typeof u,""))}return c=Hr(L,g,c,x),c.elementType=u,c.type=_,c.lanes=M,c}function _l(u,c,g,_){return u=Hr(7,u,_,c),u.lanes=g,u}function F1(u,c,g,_){return u=Hr(22,u,_,c),u.elementType=V,u.lanes=g,u.stateNode={isHidden:!1},u}function Zv(u,c,g){return u=Hr(6,u,null,c),u.lanes=g,u}function Qv(u,c,g){return c=Hr(4,u.children!==null?u.children:[],u.key,c),c.lanes=g,c.stateNode={containerInfo:u.containerInfo,pendingChildren:null,implementation:u.implementation},c}function Wq(u,c,g,_,x){this.tag=c,this.containerInfo=u,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Vt(0),this.expirationTimes=Vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Vt(0),this.identifierPrefix=_,this.onRecoverableError=x,this.mutableSourceEagerHydrationData=null}function Yv(u,c,g,_,x,M,L,K,Q){return u=new Wq(u,c,g,K,Q),c===1?(c=1,M===!0&&(c|=8)):c=0,M=Hr(3,null,null,c),u.current=M,M.stateNode=u,M.memoizedState={element:_,isDehydrated:g,cache:null,transitions:null,pendingSuspenseBoundaries:null},cv(M),u}function Xq(u,c,g){var _=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),nb.exports=oV(),nb.exports}var cC;function sV(){if(cC)return U1;cC=1;var e=pj();return U1.createRoot=e.createRoot,U1.hydrateRoot=e.hydrateRoot,U1}var lV=sV();var dC="popstate";function pC(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function uV(e={}){function t(n,r){let i=r.state?.masked,{pathname:o,search:s,hash:l}=i||n.location;return E_("",{pathname:o,search:s,hash:l},r.state&&r.state.usr||null,r.state&&r.state.key||"default",i?{pathname:n.location.pathname,search:n.location.search,hash:n.location.hash}:void 0)}function a(n,r){return typeof r=="string"?r:Vp(r)}return dV(t,a,null,e)}function ka(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function xi(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function cV(){return Math.random().toString(36).substring(2,10)}function mC(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 E_(e,t,a=null,n,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Gc(t):t,state:a,key:t&&t.key||n||cV(),unstable_mask:r}}function Vp({pathname:e="/",search:t="",hash:a=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),a&&a!=="#"&&(e+=a.charAt(0)==="#"?a:"#"+a),e}function Gc(e){let t={};if(e){let a=e.indexOf("#");a>=0&&(t.hash=e.substring(a),e=e.substring(0,a));let n=e.indexOf("?");n>=0&&(t.search=e.substring(n),e=e.substring(0,n)),e&&(t.pathname=e)}return t}function dV(e,t,a,n={}){let{window:r=document.defaultView,v5Compat:i=!1}=n,o=r.history,s="POP",l=null,d=p();d==null&&(d=0,o.replaceState({...o.state,idx:d},""));function p(){return(o.state||{idx:null}).idx}function m(){s="POP";let S=p(),A=S==null?null:S-d;d=S,l&&l({action:s,location:k.location,delta:A})}function f(S,A){s="PUSH";let E=pC(S)?S:E_(k.location,S,A);d=p()+1;let T=mC(E,d),N=k.createHref(E.unstable_mask||E);try{o.pushState(T,"",N)}catch(P){if(P instanceof DOMException&&P.name==="DataCloneError")throw P;r.location.assign(N)}i&&l&&l({action:s,location:k.location,delta:1})}function h(S,A){s="REPLACE";let E=pC(S)?S:E_(k.location,S,A);d=p();let T=mC(E,d),N=k.createHref(E.unstable_mask||E);o.replaceState(T,"",N),i&&l&&l({action:s,location:k.location,delta:0})}function b(S){return pV(S)}let k={get action(){return s},get location(){return e(r,o)},listen(S){if(l)throw new Error("A history only accepts one active listener");return r.addEventListener(dC,m),l=S,()=>{r.removeEventListener(dC,m),l=null}},createHref(S){return t(r,S)},createURL:b,encodeLocation(S){let A=b(S);return{pathname:A.pathname,search:A.search,hash:A.hash}},push:f,replace:h,go(S){return o.go(S)}};return k}function pV(e,t=!1){let a="http://localhost";typeof window<"u"&&(a=window.location.origin!=="null"?window.location.origin:window.location.href),ka(a,"No window.location.(origin|href) available to create URL");let n=typeof e=="string"?e:Vp(e);return n=n.replace(/ $/,"%20"),!t&&n.startsWith("//")&&(n=a+n),new URL(n,a)}function mj(e,t,a="/"){return mV(e,t,a,!1)}function mV(e,t,a,n){let r=typeof t=="string"?Gc(t):t,i=zo(r.pathname||"/",a);if(i==null)return null;let o=fj(e);fV(o);let s=null;for(let l=0;s==null&&l{let p={relativePath:d===void 0?o.path||"":d,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};if(p.relativePath.startsWith("/")){if(!p.relativePath.startsWith(n)&&l)return;ka(p.relativePath.startsWith(n),`Absolute route path "${p.relativePath}" nested under path "${n}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),p.relativePath=p.relativePath.slice(n.length)}let m=eo([n,p.relativePath]),f=a.concat(p);o.children&&o.children.length>0&&(ka(o.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),fj(o.children,t,f,m,l)),!(o.path==null&&!o.index)&&t.push({path:m,score:yV(m,o.index),routesMeta:f})};return e.forEach((o,s)=>{if(o.path===""||!o.path?.includes("?"))i(o,s);else for(let l of hj(o.path))i(o,s,!0,l)}),t}function hj(e){let t=e.split("/");if(t.length===0)return[];let[a,...n]=t,r=a.endsWith("?"),i=a.replace(/\?$/,"");if(n.length===0)return r?[i,""]:[i];let o=hj(n.join("/")),s=[];return s.push(...o.map(l=>l===""?i:[i,l].join("/"))),r&&s.push(...o),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function fV(e){e.sort((t,a)=>t.score!==a.score?a.score-t.score:SV(t.routesMeta.map(n=>n.childrenIndex),a.routesMeta.map(n=>n.childrenIndex)))}var hV=/^:[\w-]+$/,gV=3,vV=2,bV=1,kV=10,_V=-2,fC=e=>e==="*";function yV(e,t){let a=e.split("/"),n=a.length;return a.some(fC)&&(n+=_V),t&&(n+=vV),a.filter(r=>!fC(r)).reduce((r,i)=>r+(hV.test(i)?gV:i===""?bV:kV),n)}function SV(e,t){return e.length===t.length&&e.slice(0,-1).every((n,r)=>n===t[r])?e[e.length-1]-t[t.length-1]:0}function wV(e,t,a=!1){let{routesMeta:n}=e,r={},i="/",o=[];for(let s=0;s{if(p==="*"){let b=s[f]||"";o=i.slice(0,i.length-b.length).replace(/(.)\/+$/,"$1")}const h=s[f];return m&&!h?d[p]=void 0:d[p]=(h||"").replace(/%2F/g,"/"),d},{}),pathname:i,pathnameBase:o,pattern:e}}function CV(e,t=!1,a=!0){xi(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 n=[],r="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,s,l,d,p)=>{if(n.push({paramName:s,isOptional:l!=null}),l){let m=p.charAt(d+o.length);return m&&m!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(n.push({paramName:"*"}),r+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):a?r+="\\/*$":e!==""&&e!=="/"&&(r+="(?:(?=\\/|$))"),[new RegExp(r,t?void 0:"i"),n]}function xV(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return xi(!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 zo(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let a=t.endsWith("/")?t.length-1:t.length,n=e.charAt(a);return n&&n!=="/"?null:e.slice(a)||"/"}var AV=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function TV(e,t="/"){let{pathname:a,search:n="",hash:r=""}=typeof e=="string"?Gc(e):e,i;return a?(a=a.replace(/\/\/+/g,"/"),a.startsWith("/")?i=hC(a.substring(1),"/"):i=hC(a,t)):i=t,{pathname:i,search:PV(n),hash:NV(r)}}function hC(e,t){let a=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(r=>{r===".."?a.length>1&&a.pop():r!=="."&&a.push(r)}),a.length>1?a.join("/"):"/"}function ob(e,t,a,n){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(n)}]. Please separate it out to the \`to.${a}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function EV(e){return e.filter((t,a)=>a===0||t.route.path&&t.route.path.length>0)}function gj(e){let t=EV(e);return t.map((a,n)=>n===t.length-1?a.pathname:a.pathnameBase)}function T7(e,t,a,n=!1){let r;typeof e=="string"?r=Gc(e):(r={...e},ka(!r.pathname||!r.pathname.includes("?"),ob("?","pathname","search",r)),ka(!r.pathname||!r.pathname.includes("#"),ob("#","pathname","hash",r)),ka(!r.search||!r.search.includes("#"),ob("#","search","hash",r)));let i=e===""||r.pathname==="",o=i?"/":r.pathname,s;if(o==null)s=a;else{let m=t.length-1;if(!n&&o.startsWith("..")){let f=o.split("/");for(;f[0]==="..";)f.shift(),m-=1;r.pathname=f.join("/")}s=m>=0?t[m]:"/"}let l=TV(r,s),d=o&&o!=="/"&&o.endsWith("/"),p=(i||o===".")&&a.endsWith("/");return!l.pathname.endsWith("/")&&(d||p)&&(l.pathname+="/"),l}var eo=e=>e.join("/").replace(/\/\/+/g,"/"),MV=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),PV=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,NV=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,jV=class{constructor(e,t,a,n=!1){this.status=e,this.statusText=t||"",this.internal=n,a instanceof Error?(this.data=a.toString(),this.error=a):this.data=a}};function zV(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function RV(e){return e.map(t=>t.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var vj=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function bj(e,t){let a=e;if(typeof a!="string"||!AV.test(a))return{absoluteURL:void 0,isExternal:!1,to:a};let n=a,r=!1;if(vj)try{let i=new URL(window.location.href),o=a.startsWith("//")?new URL(i.protocol+a):new URL(a),s=zo(o.pathname,t);o.origin===i.origin&&s!=null?a=s+o.search+o.hash:r=!0}catch{xi(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:n,isExternal:r,to:a}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var kj=["POST","PUT","PATCH","DELETE"];new Set(kj);var LV=["GET",...kj];new Set(LV);var Uc=w.createContext(null);Uc.displayName="DataRouter";var cg=w.createContext(null);cg.displayName="DataRouterState";var IV=w.createContext(!1),_j=w.createContext({isTransitioning:!1});_j.displayName="ViewTransition";var BV=w.createContext(new Map);BV.displayName="Fetchers";var OV=w.createContext(null);OV.displayName="Await";var Jr=w.createContext(null);Jr.displayName="Navigation";var hm=w.createContext(null);hm.displayName="Location";var ro=w.createContext({outlet:null,matches:[],isDataRoute:!1});ro.displayName="Route";var E7=w.createContext(null);E7.displayName="RouteError";var yj="REACT_ROUTER_ERROR",FV="REDIRECT",DV="ROUTE_ERROR_RESPONSE";function HV(e){if(e.startsWith(`${yj}:${FV}:{`))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 qV(e){if(e.startsWith(`${yj}:${DV}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new jV(t.status,t.statusText,t.data)}catch{}}function VV(e,{relative:t}={}){ka(gm(),"useHref() may be used only in the context of a component.");let{basename:a,navigator:n}=w.useContext(Jr),{hash:r,pathname:i,search:o}=vm(e,{relative:t}),s=i;return a!=="/"&&(s=i==="/"?a:eo([a,i])),n.createHref({pathname:s,search:o,hash:r})}function gm(){return w.useContext(hm)!=null}function Fo(){return ka(gm(),"useLocation() may be used only in the context of a component."),w.useContext(hm).location}var Sj="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function wj(e){w.useContext(Jr).static||w.useLayoutEffect(e)}function M7(){let{isDataRoute:e}=w.useContext(ro);return e?nK():KV()}function KV(){ka(gm(),"useNavigate() may be used only in the context of a component.");let e=w.useContext(Uc),{basename:t,navigator:a}=w.useContext(Jr),{matches:n}=w.useContext(ro),{pathname:r}=Fo(),i=JSON.stringify(gj(n)),o=w.useRef(!1);return wj(()=>{o.current=!0}),w.useCallback((l,d={})=>{if(xi(o.current,Sj),!o.current)return;if(typeof l=="number"){a.go(l);return}let p=T7(l,JSON.parse(i),r,d.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:eo([t,p.pathname])),(d.replace?a.replace:a.push)(p,d.state,d)},[t,a,i,r,e])}var GV=w.createContext(null);function UV(e){let t=w.useContext(ro).outlet;return w.useMemo(()=>t&&w.createElement(GV.Provider,{value:e},t),[t,e])}function vm(e,{relative:t}={}){let{matches:a}=w.useContext(ro),{pathname:n}=Fo(),r=JSON.stringify(gj(a));return w.useMemo(()=>T7(e,JSON.parse(r),n,t==="path"),[e,r,n,t])}function Cj(e,t){return xj(e,t)}function xj(e,t,a){ka(gm(),"useRoutes() may be used only in the context of a component.");let{navigator:n}=w.useContext(Jr),{matches:r}=w.useContext(ro),i=r[r.length-1],o=i?i.params:{},s=i?i.pathname:"/",l=i?i.pathnameBase:"/",d=i&&i.route;{let S=d&&d.path||"";Tj(s,!d||S.endsWith("*")||S.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${s}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. Please change the parent to .`)}let p=Fo(),m;if(t){let S=typeof t=="string"?Gc(t):t;ka(l==="/"||S.pathname?.startsWith(l),`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 "${l}" but pathname "${S.pathname}" was given in the \`location\` prop.`),m=S}else m=p;let f=m.pathname||"/",h=f;if(l!=="/"){let S=l.replace(/^\//,"").split("/");h="/"+f.replace(/^\//,"").split("/").slice(S.length).join("/")}let b=mj(e,{pathname:h});xi(d||b!=null,`No routes matched location "${m.pathname}${m.search}${m.hash}" `),xi(b==null||b[b.length-1].route.element!==void 0||b[b.length-1].route.Component!==void 0||b[b.length-1].route.lazy!==void 0,`Matched leaf route at location "${m.pathname}${m.search}${m.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 k=YV(b&&b.map(S=>Object.assign({},S,{params:Object.assign({},o,S.params),pathname:eo([l,n.encodeLocation?n.encodeLocation(S.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?l:eo([l,n.encodeLocation?n.encodeLocation(S.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:S.pathnameBase])})),r,a);return t&&k?w.createElement(hm.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...m},navigationType:"POP"}},k):k}function WV(){let e=aK(),t=zV(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),a=e instanceof Error?e.stack:null,n="rgba(200,200,200, 0.5)",r={padding:"0.5rem",backgroundColor:n},i={padding:"2px 4px",backgroundColor:n},o=null;return console.error("Error handled by React Router default ErrorBoundary:",e),o=w.createElement(w.Fragment,null,w.createElement("p",null,"💿 Hey developer 👋"),w.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",w.createElement("code",{style:i},"ErrorBoundary")," or"," ",w.createElement("code",{style:i},"errorElement")," prop on your route.")),w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},t),a?w.createElement("pre",{style:r},a):null,o)}var XV=w.createElement(WV,null),Aj=class extends w.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 a=qV(e.digest);a&&(e=a)}let t=e!==void 0?w.createElement(ro.Provider,{value:this.props.routeContext},w.createElement(E7.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?w.createElement(ZV,{error:e},t):t}};Aj.contextType=IV;var sb=new WeakMap;function ZV({children:e,error:t}){let{basename:a}=w.useContext(Jr);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let n=HV(t.digest);if(n){let r=sb.get(t);if(r)throw r;let i=bj(n.location,a);if(vj&&!sb.get(t))if(i.isExternal||n.reloadDocument)window.location.href=i.absoluteURL||i.to;else{const o=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(i.to,{replace:n.replace}));throw sb.set(t,o),o}return w.createElement("meta",{httpEquiv:"refresh",content:`0;url=${i.absoluteURL||i.to}`})}}return e}function QV({routeContext:e,match:t,children:a}){let n=w.useContext(Uc);return n&&n.static&&n.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(n.staticContext._deepestRenderedBoundaryId=t.route.id),w.createElement(ro.Provider,{value:e},a)}function YV(e,t=[],a){let n=a?.state;if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let r=e,i=n?.errors;if(i!=null){let p=r.findIndex(m=>m.route.id&&i?.[m.route.id]!==void 0);ka(p>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(i).join(",")}`),r=r.slice(0,Math.min(r.length,p+1))}let o=!1,s=-1;if(a&&n){o=n.renderFallback;for(let p=0;p=0?r=r.slice(0,s+1):r=[r[0]];break}}}}let l=a?.onError,d=n&&l?(p,m)=>{l(p,{location:n.location,params:n.matches?.[0]?.params??{},unstable_pattern:RV(n.matches),errorInfo:m})}:void 0;return r.reduceRight((p,m,f)=>{let h,b=!1,k=null,S=null;n&&(h=i&&m.route.id?i[m.route.id]:void 0,k=m.route.errorElement||XV,o&&(s<0&&f===0?(Tj("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),b=!0,S=null):s===f&&(b=!0,S=m.route.hydrateFallbackElement||null)));let A=t.concat(r.slice(0,f+1)),E=()=>{let T;return h?T=k:b?T=S:m.route.Component?T=w.createElement(m.route.Component,null):m.route.element?T=m.route.element:T=p,w.createElement(QV,{match:m,routeContext:{outlet:p,matches:A,isDataRoute:n!=null},children:T})};return n&&(m.route.ErrorBoundary||m.route.errorElement||f===0)?w.createElement(Aj,{location:n.location,revalidation:n.revalidation,component:k,error:h,children:E(),routeContext:{outlet:null,matches:A,isDataRoute:!0},onError:d}):E()},null)}function P7(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function JV(e){let t=w.useContext(Uc);return ka(t,P7(e)),t}function $V(e){let t=w.useContext(cg);return ka(t,P7(e)),t}function eK(e){let t=w.useContext(ro);return ka(t,P7(e)),t}function N7(e){let t=eK(e),a=t.matches[t.matches.length-1];return ka(a.route.id,`${e} can only be used on routes that contain a unique "id"`),a.route.id}function tK(){return N7("useRouteId")}function aK(){let e=w.useContext(E7),t=$V("useRouteError"),a=N7("useRouteError");return e!==void 0?e:t.errors?.[a]}function nK(){let{router:e}=JV("useNavigate"),t=N7("useNavigate"),a=w.useRef(!1);return wj(()=>{a.current=!0}),w.useCallback(async(r,i={})=>{xi(a.current,Sj),a.current&&(typeof r=="number"?await e.navigate(r):await e.navigate(r,{fromRouteId:t,...i}))},[e,t])}var gC={};function Tj(e,t,a){!t&&!gC[e]&&(gC[e]=!0,xi(!1,a))}w.memo(rK);function rK({routes:e,future:t,state:a,isStatic:n,onError:r}){return xj(e,void 0,{state:a,isStatic:n,onError:r})}function iK(e){return UV(e.context)}function ap(e){ka(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function oK({basename:e="/",children:t=null,location:a,navigationType:n="POP",navigator:r,static:i=!1,unstable_useTransitions:o}){ka(!gm(),"You cannot render a inside another . You should never have more than one in your app.");let s=e.replace(/^\/*/,"/"),l=w.useMemo(()=>({basename:s,navigator:r,static:i,unstable_useTransitions:o,future:{}}),[s,r,i,o]);typeof a=="string"&&(a=Gc(a));let{pathname:d="/",search:p="",hash:m="",state:f=null,key:h="default",unstable_mask:b}=a,k=w.useMemo(()=>{let S=zo(d,s);return S==null?null:{location:{pathname:S,search:p,hash:m,state:f,key:h,unstable_mask:b},navigationType:n}},[s,d,p,m,f,h,n,b]);return xi(k!=null,` is not able to match the URL "${d}${p}${m}" because it does not start with the basename, so the won't render anything.`),k==null?null:w.createElement(Jr.Provider,{value:l},w.createElement(hm.Provider,{children:t,value:k}))}function sK({children:e,location:t}){return Cj(M_(e),t)}function M_(e,t=[]){let a=[];return w.Children.forEach(e,(n,r)=>{if(!w.isValidElement(n))return;let i=[...t,r];if(n.type===w.Fragment){a.push.apply(a,M_(n.props.children,i));return}ka(n.type===ap,`[${typeof n.type=="string"?n.type:n.type.name}] is not a component. All component children of must be a or `),ka(!n.props.index||!n.props.children,"An index route cannot have child routes.");let o={id:n.props.id||i.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,middleware:n.props.middleware,loader:n.props.loader,action:n.props.action,hydrateFallbackElement:n.props.hydrateFallbackElement,HydrateFallback:n.props.HydrateFallback,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.hasErrorBoundary===!0||n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(o.children=M_(n.props.children,i)),a.push(o)}),a}var zf="get",Rf="application/x-www-form-urlencoded";function dg(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function lK(e){return dg(e)&&e.tagName.toLowerCase()==="button"}function uK(e){return dg(e)&&e.tagName.toLowerCase()==="form"}function cK(e){return dg(e)&&e.tagName.toLowerCase()==="input"}function dK(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function pK(e,t){return e.button===0&&(!t||t==="_self")&&!dK(e)}function P_(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,a)=>{let n=e[a];return t.concat(Array.isArray(n)?n.map(r=>[a,r]):[[a,n]])},[]))}function mK(e,t){let a=P_(e);return t&&t.forEach((n,r)=>{a.has(r)||t.getAll(r).forEach(i=>{a.append(r,i)})}),a}var W1=null;function fK(){if(W1===null)try{new FormData(document.createElement("form"),0),W1=!1}catch{W1=!0}return W1}var hK=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function lb(e){return e!=null&&!hK.has(e)?(xi(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Rf}"`),null):e}function gK(e,t){let a,n,r,i,o;if(uK(e)){let s=e.getAttribute("action");n=s?zo(s,t):null,a=e.getAttribute("method")||zf,r=lb(e.getAttribute("enctype"))||Rf,i=new FormData(e)}else if(lK(e)||cK(e)&&(e.type==="submit"||e.type==="image")){let s=e.form;if(s==null)throw new Error('Cannot submit a