function eee(t,e){for(var n=0;ni[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const a of r)if(a.type==="childList")for(const s of a.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&i(s)}).observe(document,{childList:!0,subtree:!0});function n(r){const a={};return r.integrity&&(a.integrity=r.integrity),r.referrerPolicy&&(a.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?a.credentials="include":r.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function i(r){if(r.ep)return;r.ep=!0;const a=n(r);fetch(r.href,a)}})();var Yx=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Vs(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var NE={exports:{}},ng={};var UU;function tee(){if(UU)return ng;UU=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function n(i,r,a){var s=null;if(a!==void 0&&(s=""+a),r.key!==void 0&&(s=""+r.key),"key"in r){a={};for(var o in r)o!=="key"&&(a[o]=r[o])}else a=r;return r=a.ref,{$$typeof:t,type:i,key:s,ref:r!==void 0?r:null,props:a}}return ng.Fragment=e,ng.jsx=n,ng.jsxs=n,ng}var FU;function nee(){return FU||(FU=1,NE.exports=tee()),NE.exports}var S=nee(),PE={exports:{}},$t={};var zU;function iee(){if(zU)return $t;zU=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),o=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.for("react.activity"),p=Symbol.iterator;function m(H){return H===null||typeof H!="object"?null:(H=p&&H[p]||H["@@iterator"],typeof H=="function"?H:null)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,x={};function v(H,X,re){this.props=H,this.context=X,this.refs=x,this.updater=re||y}v.prototype.isReactComponent={},v.prototype.setState=function(H,X){if(typeof H!="object"&&typeof H!="function"&&H!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,H,X,"setState")},v.prototype.forceUpdate=function(H){this.updater.enqueueForceUpdate(this,H,"forceUpdate")};function w(){}w.prototype=v.prototype;function M(H,X,re){this.props=H,this.context=X,this.refs=x,this.updater=re||y}var E=M.prototype=new w;E.constructor=M,b(E,v.prototype),E.isPureReactComponent=!0;var T=Array.isArray;function P(){}var R={H:null,A:null,T:null,S:null},U=Object.prototype.hasOwnProperty;function N(H,X,re){var ce=re.ref;return{$$typeof:t,type:H,key:X,ref:ce!==void 0?ce:null,props:re}}function O(H,X){return N(H.type,X,H.props)}function B(H){return typeof H=="object"&&H!==null&&H.$$typeof===t}function I(H){var X={"=":"=0",":":"=2"};return"$"+H.replace(/[=:]/g,function(re){return X[re]})}var W=/\/+/g;function L(H,X){return typeof H=="object"&&H!==null&&H.key!=null?I(""+H.key):X.toString(36)}function $(H){switch(H.status){case"fulfilled":return H.value;case"rejected":throw H.reason;default:switch(typeof H.status=="string"?H.then(P,P):(H.status="pending",H.then(function(X){H.status==="pending"&&(H.status="fulfilled",H.value=X)},function(X){H.status==="pending"&&(H.status="rejected",H.reason=X)})),H.status){case"fulfilled":return H.value;case"rejected":throw H.reason}}throw H}function q(H,X,re,ce,ye){var me=typeof H;(me==="undefined"||me==="boolean")&&(H=null);var be=!1;if(H===null)be=!0;else switch(me){case"bigint":case"string":case"number":be=!0;break;case"object":switch(H.$$typeof){case t:case e:be=!0;break;case d:return be=H._init,q(be(H._payload),X,re,ce,ye)}}if(be)return ye=ye(H),be=ce===""?"."+L(H,0):ce,T(ye)?(re="",be!=null&&(re=be.replace(W,"$&/")+"/"),q(ye,X,re,"",function(Ae){return Ae})):ye!=null&&(B(ye)&&(ye=O(ye,re+(ye.key==null||H&&H.key===ye.key?"":(""+ye.key).replace(W,"$&/")+"/")+be)),X.push(ye)),1;be=0;var De=ce===""?".":ce+":";if(T(H))for(var he=0;he>>1,se=q[Q];if(0>>1;Qr(re,Y))cer(ye,re)?(q[Q]=ye,q[ce]=Y,Q=ce):(q[Q]=re,q[X]=Y,Q=X);else if(cer(ye,Y))q[Q]=ye,q[ce]=Y,Q=ce;else break e}}return G}function r(q,G){var Y=q.sortIndex-G.sortIndex;return Y!==0?Y:q.id-G.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,o=s.now();t.unstable_now=function(){return s.now()-o}}var l=[],c=[],d=1,f=null,p=3,m=!1,y=!1,b=!1,x=!1,v=typeof setTimeout=="function"?setTimeout:null,w=typeof clearTimeout=="function"?clearTimeout:null,M=typeof setImmediate<"u"?setImmediate:null;function E(q){for(var G=n(c);G!==null;){if(G.callback===null)i(c);else if(G.startTime<=q)i(c),G.sortIndex=G.expirationTime,e(l,G);else break;G=n(c)}}function T(q){if(b=!1,E(q),!y)if(n(l)!==null)y=!0,P||(P=!0,I());else{var G=n(c);G!==null&&$(T,G.startTime-q)}}var P=!1,R=-1,U=5,N=-1;function O(){return x?!0:!(t.unstable_now()-Nq&&O());){var Q=f.callback;if(typeof Q=="function"){f.callback=null,p=f.priorityLevel;var se=Q(f.expirationTime<=q);if(q=t.unstable_now(),typeof se=="function"){f.callback=se,E(q),G=!0;break t}f===n(l)&&i(l),E(q)}else i(l);f=n(l)}if(f!==null)G=!0;else{var H=n(c);H!==null&&$(T,H.startTime-q),G=!1}}break e}finally{f=null,p=Y,m=!1}G=void 0}}finally{G?I():P=!1}}}var I;if(typeof M=="function")I=function(){M(B)};else if(typeof MessageChannel<"u"){var W=new MessageChannel,L=W.port2;W.port1.onmessage=B,I=function(){L.postMessage(null)}}else I=function(){v(B,0)};function $(q,G){R=v(function(){q(t.unstable_now())},G)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(q){q.callback=null},t.unstable_forceFrameRate=function(q){0>q||125Q?(q.sortIndex=Y,e(c,q),n(l)===null&&q===n(c)&&(b?(w(R),R=-1):b=!0,$(T,Y-Q))):(q.sortIndex=se,e(l,q),y||m||(y=!0,P||(P=!0,I()))),q},t.unstable_shouldYield=O,t.unstable_wrapCallback=function(q){var G=p;return function(){var Y=p;p=G;try{return q.apply(this,arguments)}finally{p=Y}}}})(LE)),LE}var HU;function see(){return HU||(HU=1,OE.exports=aee()),OE.exports}var kE={exports:{}},Gr={};var VU;function oee(){if(VU)return Gr;VU=1;var t=Hp();function e(l){var c="https://react.dev/errors/"+l;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),kE.exports=oee(),kE.exports}var $U;function lee(){if($U)return ig;$U=1;var t=see(),e=Hp(),n=CV();function i(u){var h="https://react.dev/errors/"+u;if(1se||(u.current=Q[se],Q[se]=null,se--)}function re(u,h){se++,Q[se]=u.current,u.current=h}var ce=H(null),ye=H(null),me=H(null),be=H(null);function De(u,h){switch(re(me,h),re(ye,u),re(ce,null),h.nodeType){case 9:case 11:u=(u=h.documentElement)&&(u=u.namespaceURI)?sU(u):0;break;default:if(u=h.tagName,h=h.namespaceURI)h=sU(h),u=oU(h,u);else switch(u){case"svg":u=1;break;case"math":u=2;break;default:u=0}}X(ce),re(ce,u)}function he(){X(ce),X(ye),X(me)}function Ae(u){u.memoizedState!==null&&re(be,u);var h=ce.current,g=oU(h,u.type);h!==g&&(re(ye,u),re(ce,g))}function Be(u){ye.current===u&&(X(ce),X(ye)),be.current===u&&(X(be),Jm._currentValue=Y)}var le,ct;function z(u){if(le===void 0)try{throw Error()}catch(g){var h=g.stack.trim().match(/\n( *(at )?)/);le=h&&h[1]||"",ct=-1)":-1A||Se[_]!==ze[A]){var Je=` `+Se[_].replace(" at new "," at ");return u.displayName&&Je.includes("")&&(Je=Je.replace("",u.displayName)),Je}while(1<=_&&0<=A);break}}}finally{V=!1,Error.prepareStackTrace=g}return(g=u?u.displayName||u.name:"")?z(g):""}function J(u,h){switch(u.tag){case 26:case 27:case 5:return z(u.type);case 16:return z("Lazy");case 13:return u.child!==h&&h!==null?z("Suspense Fallback"):z("Suspense");case 19:return z("SuspenseList");case 0:case 15:return ne(u.type,!1);case 11:return ne(u.type.render,!1);case 1:return ne(u.type,!0);case 31:return z("Activity");default:return""}}function ee(u){try{var h="",g=null;do h+=J(u,g),g=u,u=u.return;while(u);return h}catch(_){return` Error generating stack: `+_.message+` `+_.stack}}var ae=Object.prototype.hasOwnProperty,ie=t.unstable_scheduleCallback,we=t.unstable_cancelCallback,ve=t.unstable_shouldYield,F=t.unstable_requestPaint,k=t.unstable_now,K=t.unstable_getCurrentPriorityLevel,pe=t.unstable_ImmediatePriority,xe=t.unstable_UserBlockingPriority,fe=t.unstable_NormalPriority,Ke=t.unstable_LowPriority,ke=t.unstable_IdlePriority,$e=t.log,rt=t.unstable_setDisableYieldValue,Ue=null,Pe=null;function dt(u){if(typeof $e=="function"&&rt(u),Pe&&typeof Pe.setStrictMode=="function")try{Pe.setStrictMode(Ue,u)}catch{}}var et=Math.clz32?Math.clz32:ue,Qe=Math.log,st=Math.LN2;function ue(u){return u>>>=0,u===0?32:31-(Qe(u)/st|0)|0}var tt=256,de=262144,Le=4194304;function Ee(u){var h=u&42;if(h!==0)return h;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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return u&261888;case 262144:case 524288:case 1048576:case 2097152:return u&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return u&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return u}}function ge(u,h,g){var _=u.pendingLanes;if(_===0)return 0;var A=0,D=u.suspendedLanes,j=u.pingedLanes;u=u.warmLanes;var te=_&134217727;return te!==0?(_=te&~D,_!==0?A=Ee(_):(j&=te,j!==0?A=Ee(j):g||(g=te&~u,g!==0&&(A=Ee(g))))):(te=_&~D,te!==0?A=Ee(te):j!==0?A=Ee(j):g||(g=_&~u,g!==0&&(A=Ee(g)))),A===0?0:h!==0&&h!==A&&(h&D)===0&&(D=A&-A,g=h&-h,D>=g||D===32&&(g&4194048)!==0)?h:A}function je(u,h){return(u.pendingLanes&~(u.suspendedLanes&~u.pingedLanes)&h)===0}function at(u,h){switch(u){case 1:case 2:case 4:case 8:case 64:return h+250;case 16:case 32: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 h+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function yt(){var u=Le;return Le<<=1,(Le&62914560)===0&&(Le=4194304),u}function Ct(u){for(var h=[],g=0;31>g;g++)h.push(u);return h}function tn(u,h){u.pendingLanes|=h,h!==268435456&&(u.suspendedLanes=0,u.pingedLanes=0,u.warmLanes=0)}function Pt(u,h,g,_,A,D){var j=u.pendingLanes;u.pendingLanes=g,u.suspendedLanes=0,u.pingedLanes=0,u.warmLanes=0,u.expiredLanes&=g,u.entangledLanes&=g,u.errorRecoveryDisabledLanes&=g,u.shellSuspendCounter=0;var te=u.entanglements,Se=u.expirationTimes,ze=u.hiddenUpdates;for(g=j&~g;0"u")return null;try{return u.activeElement||u.body}catch{return u.body}}var Mi=/[\n"\\]/g;function Sn(u){return u.replace(Mi,function(h){return"\\"+h.charCodeAt(0).toString(16)+" "})}function Ws(u,h,g,_,A,D,j,te){u.name="",j!=null&&typeof j!="function"&&typeof j!="symbol"&&typeof j!="boolean"?u.type=j:u.removeAttribute("type"),h!=null?j==="number"?(h===0&&u.value===""||u.value!=h)&&(u.value=""+rn(h)):u.value!==""+rn(h)&&(u.value=""+rn(h)):j!=="submit"&&j!=="reset"||u.removeAttribute("value"),h!=null?fr(u,j,rn(h)):g!=null?fr(u,j,rn(g)):_!=null&&u.removeAttribute("value"),A==null&&D!=null&&(u.defaultChecked=!!D),A!=null&&(u.checked=A&&typeof A!="function"&&typeof A!="symbol"),te!=null&&typeof te!="function"&&typeof te!="symbol"&&typeof te!="boolean"?u.name=""+rn(te):u.removeAttribute("name")}function Mn(u,h,g,_,A,D,j,te){if(D!=null&&typeof D!="function"&&typeof D!="symbol"&&typeof D!="boolean"&&(u.type=D),h!=null||g!=null){if(!(D!=="submit"&&D!=="reset"||h!=null)){Gt(u);return}g=g!=null?""+rn(g):"",h=h!=null?""+rn(h):g,te||h===u.value||(u.value=h),u.defaultValue=h}_=_??A,_=typeof _!="function"&&typeof _!="symbol"&&!!_,u.checked=te?u.checked:!!_,u.defaultChecked=!!_,j!=null&&typeof j!="function"&&typeof j!="symbol"&&typeof j!="boolean"&&(u.name=j),Gt(u)}function fr(u,h,g){h==="number"&&hi(u.ownerDocument)===u||u.defaultValue===""+g||(u.defaultValue=""+g)}function Yi(u,h,g,_){if(u=u.options,h){h={};for(var A=0;A"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Nw=!1;if(Jo)try{var gm={};Object.defineProperty(gm,"passive",{get:function(){Nw=!0}}),window.addEventListener("test",gm,gm),window.removeEventListener("test",gm,gm)}catch{Nw=!1}var vc=null,Pw=null,jv=null;function oL(){if(jv)return jv;var u,h=Pw,g=h.length,_,A="value"in vc?vc.value:vc.textContent,D=A.length;for(u=0;u=ym),hL=" ",pL=!1;function mL(u,h){switch(u){case"keyup":return SJ.indexOf(h.keyCode)!==-1;case"keydown":return h.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function gL(u){return u=u.detail,typeof u=="object"&&"data"in u?u.data:null}var Df=!1;function MJ(u,h){switch(u){case"compositionend":return gL(h);case"keypress":return h.which!==32?null:(pL=!0,hL);case"textInput":return u=h.data,u===hL&&pL?null:u;default:return null}}function EJ(u,h){if(Df)return u==="compositionend"||!Iw&&mL(u,h)?(u=oL(),jv=Pw=vc=null,Df=!1,u):null;switch(u){case"paste":return null;case"keypress":if(!(h.ctrlKey||h.altKey||h.metaKey)||h.ctrlKey&&h.altKey){if(h.char&&1=h)return{node:g,offset:h-u};u=_}e:{for(;g;){if(g.nextSibling){g=g.nextSibling;break e}g=g.parentNode}g=void 0}g=ML(g)}}function AL(u,h){return u&&h?u===h?!0:u&&u.nodeType===3?!1:h&&h.nodeType===3?AL(u,h.parentNode):"contains"in u?u.contains(h):u.compareDocumentPosition?!!(u.compareDocumentPosition(h)&16):!1:!1}function TL(u){u=u!=null&&u.ownerDocument!=null&&u.ownerDocument.defaultView!=null?u.ownerDocument.defaultView:window;for(var h=hi(u.document);h instanceof u.HTMLIFrameElement;){try{var g=typeof h.contentWindow.location.href=="string"}catch{g=!1}if(g)u=h.contentWindow;else break;h=hi(u.document)}return h}function zw(u){var h=u&&u.nodeName&&u.nodeName.toLowerCase();return h&&(h==="input"&&(u.type==="text"||u.type==="search"||u.type==="tel"||u.type==="url"||u.type==="password")||h==="textarea"||u.contentEditable==="true")}var OJ=Jo&&"documentMode"in document&&11>=document.documentMode,Of=null,Bw=null,wm=null,jw=!1;function CL(u,h,g){var _=g.window===g?g.document:g.nodeType===9?g:g.ownerDocument;jw||Of==null||Of!==hi(_)||(_=Of,"selectionStart"in _&&zw(_)?_={start:_.selectionStart,end:_.selectionEnd}:(_=(_.ownerDocument&&_.ownerDocument.defaultView||window).getSelection(),_={anchorNode:_.anchorNode,anchorOffset:_.anchorOffset,focusNode:_.focusNode,focusOffset:_.focusOffset}),wm&&Sm(wm,_)||(wm=_,_=Lx(Bw,"onSelect"),0<_.length&&(h=new Gv("onSelect","select",null,h,g),u.push({event:h,listeners:_}),h.target=Of)))}function qu(u,h){var g={};return g[u.toLowerCase()]=h.toLowerCase(),g["Webkit"+u]="webkit"+h,g["Moz"+u]="moz"+h,g}var Lf={animationend:qu("Animation","AnimationEnd"),animationiteration:qu("Animation","AnimationIteration"),animationstart:qu("Animation","AnimationStart"),transitionrun:qu("Transition","TransitionRun"),transitionstart:qu("Transition","TransitionStart"),transitioncancel:qu("Transition","TransitionCancel"),transitionend:qu("Transition","TransitionEnd")},Hw={},RL={};Jo&&(RL=document.createElement("div").style,"AnimationEvent"in window||(delete Lf.animationend.animation,delete Lf.animationiteration.animation,delete Lf.animationstart.animation),"TransitionEvent"in window||delete Lf.transitionend.transition);function Xu(u){if(Hw[u])return Hw[u];if(!Lf[u])return u;var h=Lf[u],g;for(g in h)if(h.hasOwnProperty(g)&&g in RL)return Hw[u]=h[g];return u}var NL=Xu("animationend"),PL=Xu("animationiteration"),DL=Xu("animationstart"),LJ=Xu("transitionrun"),kJ=Xu("transitionstart"),IJ=Xu("transitioncancel"),OL=Xu("transitionend"),LL=new Map,Vw="abort auxClick beforeToggle 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(" ");Vw.push("scrollEnd");function qs(u,h){LL.set(u,h),ot(h,[u])}var qv=typeof reportError=="function"?reportError:function(u){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var h=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof u=="object"&&u!==null&&typeof u.message=="string"?String(u.message):String(u),error:u});if(!window.dispatchEvent(h))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",u);return}console.error(u)},cs=[],kf=0,Gw=0;function Xv(){for(var u=kf,h=Gw=kf=0;h>=j,A-=j,bo=1<<32-et(h)+A|g<Xt?(dn=Nt,Nt=null):dn=Nt.sibling;var vn=Ve(Oe,Nt,Fe[Xt],nt);if(vn===null){Nt===null&&(Nt=dn);break}u&&Nt&&vn.alternate===null&&h(Oe,Nt),Te=D(vn,Te,Xt),gn===null?Lt=vn:gn.sibling=vn,gn=vn,Nt=dn}if(Xt===Fe.length)return g(Oe,Nt),hn&&el(Oe,Xt),Lt;if(Nt===null){for(;XtXt?(dn=Nt,Nt=null):dn=Nt.sibling;var zc=Ve(Oe,Nt,vn.value,nt);if(zc===null){Nt===null&&(Nt=dn);break}u&&Nt&&zc.alternate===null&&h(Oe,Nt),Te=D(zc,Te,Xt),gn===null?Lt=zc:gn.sibling=zc,gn=zc,Nt=dn}if(vn.done)return g(Oe,Nt),hn&&el(Oe,Xt),Lt;if(Nt===null){for(;!vn.done;Xt++,vn=Fe.next())vn=it(Oe,vn.value,nt),vn!==null&&(Te=D(vn,Te,Xt),gn===null?Lt=vn:gn.sibling=vn,gn=vn);return hn&&el(Oe,Xt),Lt}for(Nt=_(Nt);!vn.done;Xt++,vn=Fe.next())vn=Ye(Nt,Oe,Xt,vn.value,nt),vn!==null&&(u&&vn.alternate!==null&&Nt.delete(vn.key===null?Xt:vn.key),Te=D(vn,Te,Xt),gn===null?Lt=vn:gn.sibling=vn,gn=vn);return u&&Nt.forEach(function(QQ){return h(Oe,QQ)}),hn&&el(Oe,Xt),Lt}function Pn(Oe,Te,Fe,nt){if(typeof Fe=="object"&&Fe!==null&&Fe.type===b&&Fe.key===null&&(Fe=Fe.props.children),typeof Fe=="object"&&Fe!==null){switch(Fe.$$typeof){case m:e:{for(var Lt=Fe.key;Te!==null;){if(Te.key===Lt){if(Lt=Fe.type,Lt===b){if(Te.tag===7){g(Oe,Te.sibling),nt=A(Te,Fe.props.children),nt.return=Oe,Oe=nt;break e}}else if(Te.elementType===Lt||typeof Lt=="object"&&Lt!==null&&Lt.$$typeof===U&&td(Lt)===Te.type){g(Oe,Te.sibling),nt=A(Te,Fe.props),Rm(nt,Fe),nt.return=Oe,Oe=nt;break e}g(Oe,Te);break}else h(Oe,Te);Te=Te.sibling}Fe.type===b?(nt=Ku(Fe.props.children,Oe.mode,nt,Fe.key),nt.return=Oe,Oe=nt):(nt=Zv(Fe.type,Fe.key,Fe.props,null,Oe.mode,nt),Rm(nt,Fe),nt.return=Oe,Oe=nt)}return j(Oe);case y:e:{for(Lt=Fe.key;Te!==null;){if(Te.key===Lt)if(Te.tag===4&&Te.stateNode.containerInfo===Fe.containerInfo&&Te.stateNode.implementation===Fe.implementation){g(Oe,Te.sibling),nt=A(Te,Fe.children||[]),nt.return=Oe,Oe=nt;break e}else{g(Oe,Te);break}else h(Oe,Te);Te=Te.sibling}nt=Xw(Fe,Oe.mode,nt),nt.return=Oe,Oe=nt}return j(Oe);case U:return Fe=td(Fe),Pn(Oe,Te,Fe,nt)}if($(Fe))return Tt(Oe,Te,Fe,nt);if(I(Fe)){if(Lt=I(Fe),typeof Lt!="function")throw Error(i(150));return Fe=Lt.call(Fe),Ft(Oe,Te,Fe,nt)}if(typeof Fe.then=="function")return Pn(Oe,Te,rx(Fe),nt);if(Fe.$$typeof===M)return Pn(Oe,Te,ex(Oe,Fe),nt);ax(Oe,Fe)}return typeof Fe=="string"&&Fe!==""||typeof Fe=="number"||typeof Fe=="bigint"?(Fe=""+Fe,Te!==null&&Te.tag===6?(g(Oe,Te.sibling),nt=A(Te,Fe),nt.return=Oe,Oe=nt):(g(Oe,Te),nt=qw(Fe,Oe.mode,nt),nt.return=Oe,Oe=nt),j(Oe)):g(Oe,Te)}return function(Oe,Te,Fe,nt){try{Cm=0;var Lt=Pn(Oe,Te,Fe,nt);return Gf=null,Lt}catch(Nt){if(Nt===Vf||Nt===nx)throw Nt;var gn=ja(29,Nt,null,Oe.mode);return gn.lanes=nt,gn.return=Oe,gn}finally{}}}var id=ZL(!0),JL=ZL(!1),Sc=!1;function sM(u){u.updateQueue={baseState:u.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function oM(u,h){u=u.updateQueue,h.updateQueue===u&&(h.updateQueue={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,callbacks:null})}function wc(u){return{lane:u,tag:0,payload:null,callback:null,next:null}}function Mc(u,h,g){var _=u.updateQueue;if(_===null)return null;if(_=_.shared,(_n&2)!==0){var A=_.pending;return A===null?h.next=h:(h.next=A.next,A.next=h),_.pending=h,h=Kv(u),kL(u,null,g),h}return Yv(u,_,h,g),Kv(u)}function Nm(u,h,g){if(h=h.updateQueue,h!==null&&(h=h.shared,(g&4194048)!==0)){var _=h.lanes;_&=u.pendingLanes,g|=_,h.lanes=g,zn(u,g)}}function lM(u,h){var g=u.updateQueue,_=u.alternate;if(_!==null&&(_=_.updateQueue,g===_)){var A=null,D=null;if(g=g.firstBaseUpdate,g!==null){do{var j={lane:g.lane,tag:g.tag,payload:g.payload,callback:null,next:null};D===null?A=D=j:D=D.next=j,g=g.next}while(g!==null);D===null?A=D=h:D=D.next=h}else A=D=h;g={baseState:_.baseState,firstBaseUpdate:A,lastBaseUpdate:D,shared:_.shared,callbacks:_.callbacks},u.updateQueue=g;return}u=g.lastBaseUpdate,u===null?g.firstBaseUpdate=h:u.next=h,g.lastBaseUpdate=h}var cM=!1;function Pm(){if(cM){var u=Hf;if(u!==null)throw u}}function Dm(u,h,g,_){cM=!1;var A=u.updateQueue;Sc=!1;var D=A.firstBaseUpdate,j=A.lastBaseUpdate,te=A.shared.pending;if(te!==null){A.shared.pending=null;var Se=te,ze=Se.next;Se.next=null,j===null?D=ze:j.next=ze,j=Se;var Je=u.alternate;Je!==null&&(Je=Je.updateQueue,te=Je.lastBaseUpdate,te!==j&&(te===null?Je.firstBaseUpdate=ze:te.next=ze,Je.lastBaseUpdate=Se))}if(D!==null){var it=A.baseState;j=0,Je=ze=Se=null,te=D;do{var Ve=te.lane&-536870913,Ye=Ve!==te.lane;if(Ye?(un&Ve)===Ve:(_&Ve)===Ve){Ve!==0&&Ve===jf&&(cM=!0),Je!==null&&(Je=Je.next={lane:0,tag:te.tag,payload:te.payload,callback:null,next:null});e:{var Tt=u,Ft=te;Ve=h;var Pn=g;switch(Ft.tag){case 1:if(Tt=Ft.payload,typeof Tt=="function"){it=Tt.call(Pn,it,Ve);break e}it=Tt;break e;case 3:Tt.flags=Tt.flags&-65537|128;case 0:if(Tt=Ft.payload,Ve=typeof Tt=="function"?Tt.call(Pn,it,Ve):Tt,Ve==null)break e;it=f({},it,Ve);break e;case 2:Sc=!0}}Ve=te.callback,Ve!==null&&(u.flags|=64,Ye&&(u.flags|=8192),Ye=A.callbacks,Ye===null?A.callbacks=[Ve]:Ye.push(Ve))}else Ye={lane:Ve,tag:te.tag,payload:te.payload,callback:te.callback,next:null},Je===null?(ze=Je=Ye,Se=it):Je=Je.next=Ye,j|=Ve;if(te=te.next,te===null){if(te=A.shared.pending,te===null)break;Ye=te,te=Ye.next,Ye.next=null,A.lastBaseUpdate=Ye,A.shared.pending=null}}while(!0);Je===null&&(Se=it),A.baseState=Se,A.firstBaseUpdate=ze,A.lastBaseUpdate=Je,D===null&&(A.shared.lanes=0),Rc|=j,u.lanes=j,u.memoizedState=it}}function QL(u,h){if(typeof u!="function")throw Error(i(191,u));u.call(h)}function ek(u,h){var g=u.callbacks;if(g!==null)for(u.callbacks=null,u=0;uD?D:8;var j=q.T,te={};q.T=te,CM(u,!1,h,g);try{var Se=A(),ze=q.S;if(ze!==null&&ze(te,Se),Se!==null&&typeof Se=="object"&&typeof Se.then=="function"){var Je=HJ(Se,_);km(u,h,Je,Wa(u))}else km(u,h,_,Wa(u))}catch(it){km(u,h,{then:function(){},status:"rejected",reason:it},Wa())}finally{G.p=D,j!==null&&te.types!==null&&(j.types=te.types),q.T=j}}function XJ(){}function AM(u,h,g,_){if(u.tag!==5)throw Error(i(476));var A=Dk(u).queue;Pk(u,A,h,Y,g===null?XJ:function(){return Ok(u),g(_)})}function Dk(u){var h=u.memoizedState;if(h!==null)return h;h={memoizedState:Y,baseState:Y,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:rl,lastRenderedState:Y},next:null};var g={};return h.next={memoizedState:g,baseState:g,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:rl,lastRenderedState:g},next:null},u.memoizedState=h,u=u.alternate,u!==null&&(u.memoizedState=h),h}function Ok(u){var h=Dk(u);h.next===null&&(h=u.alternate.memoizedState),km(u,h.next.queue,{},Wa())}function TM(){return Rr(Jm)}function Lk(){return Ai().memoizedState}function kk(){return Ai().memoizedState}function YJ(u){for(var h=u.return;h!==null;){switch(h.tag){case 24:case 3:var g=Wa();u=wc(g);var _=Mc(h,u,g);_!==null&&(Ma(_,h,g),Nm(_,h,g)),h={cache:nM()},u.payload=h;return}h=h.return}}function KJ(u,h,g){var _=Wa();g={lane:_,revertLane:0,gesture:null,action:g,hasEagerState:!1,eagerState:null,next:null},mx(u)?Uk(h,g):(g=$w(u,h,g,_),g!==null&&(Ma(g,u,_),Fk(g,h,_)))}function Ik(u,h,g){var _=Wa();km(u,h,g,_)}function km(u,h,g,_){var A={lane:_,revertLane:0,gesture:null,action:g,hasEagerState:!1,eagerState:null,next:null};if(mx(u))Uk(h,A);else{var D=u.alternate;if(u.lanes===0&&(D===null||D.lanes===0)&&(D=h.lastRenderedReducer,D!==null))try{var j=h.lastRenderedState,te=D(j,g);if(A.hasEagerState=!0,A.eagerState=te,Ba(te,j))return Yv(u,h,A,0),Bn===null&&Xv(),!1}catch{}finally{}if(g=$w(u,h,A,_),g!==null)return Ma(g,u,_),Fk(g,h,_),!0}return!1}function CM(u,h,g,_){if(_={lane:2,revertLane:sE(),gesture:null,action:_,hasEagerState:!1,eagerState:null,next:null},mx(u)){if(h)throw Error(i(479))}else h=$w(u,g,_,2),h!==null&&Ma(h,u,2)}function mx(u){var h=u.alternate;return u===qt||h!==null&&h===qt}function Uk(u,h){Wf=lx=!0;var g=u.pending;g===null?h.next=h:(h.next=g.next,g.next=h),u.pending=h}function Fk(u,h,g){if((g&4194048)!==0){var _=h.lanes;_&=u.pendingLanes,g|=_,h.lanes=g,zn(u,g)}}var Im={readContext:Rr,use:dx,useCallback:pi,useContext:pi,useEffect:pi,useImperativeHandle:pi,useLayoutEffect:pi,useInsertionEffect:pi,useMemo:pi,useReducer:pi,useRef:pi,useState:pi,useDebugValue:pi,useDeferredValue:pi,useTransition:pi,useSyncExternalStore:pi,useId:pi,useHostTransitionStatus:pi,useFormState:pi,useActionState:pi,useOptimistic:pi,useMemoCache:pi,useCacheRefresh:pi};Im.useEffectEvent=pi;var zk={readContext:Rr,use:dx,useCallback:function(u,h){return aa().memoizedState=[u,h===void 0?null:h],u},useContext:Rr,useEffect:Sk,useImperativeHandle:function(u,h,g){g=g!=null?g.concat([u]):null,hx(4194308,4,Ak.bind(null,h,u),g)},useLayoutEffect:function(u,h){return hx(4194308,4,u,h)},useInsertionEffect:function(u,h){hx(4,2,u,h)},useMemo:function(u,h){var g=aa();h=h===void 0?null:h;var _=u();if(rd){dt(!0);try{u()}finally{dt(!1)}}return g.memoizedState=[_,h],_},useReducer:function(u,h,g){var _=aa();if(g!==void 0){var A=g(h);if(rd){dt(!0);try{g(h)}finally{dt(!1)}}}else A=h;return _.memoizedState=_.baseState=A,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:u,lastRenderedState:A},_.queue=u,u=u.dispatch=KJ.bind(null,qt,u),[_.memoizedState,u]},useRef:function(u){var h=aa();return u={current:u},h.memoizedState=u},useState:function(u){u=_M(u);var h=u.queue,g=Ik.bind(null,qt,h);return h.dispatch=g,[u.memoizedState,g]},useDebugValue:MM,useDeferredValue:function(u,h){var g=aa();return EM(g,u,h)},useTransition:function(){var u=_M(!1);return u=Pk.bind(null,qt,u.queue,!0,!1),aa().memoizedState=u,[!1,u]},useSyncExternalStore:function(u,h,g){var _=qt,A=aa();if(hn){if(g===void 0)throw Error(i(407));g=g()}else{if(g=h(),Bn===null)throw Error(i(349));(un&127)!==0||sk(_,h,g)}A.memoizedState=g;var D={value:g,getSnapshot:h};return A.queue=D,Sk(lk.bind(null,_,D,u),[u]),_.flags|=2048,Xf(9,{destroy:void 0},ok.bind(null,_,D,g,h),null),g},useId:function(){var u=aa(),h=Bn.identifierPrefix;if(hn){var g=_o,_=bo;g=(_&~(1<<32-et(_)-1)).toString(32)+g,h="_"+h+"R_"+g,g=cx++,0<\/script>",D=D.removeChild(D.firstChild);break;case"select":D=typeof _.is=="string"?j.createElement("select",{is:_.is}):j.createElement("select"),_.multiple?D.multiple=!0:_.size&&(D.size=_.size);break;default:D=typeof _.is=="string"?j.createElement(A,{is:_.is}):j.createElement(A)}}D[si]=h,D[wi]=_;e:for(j=h.child;j!==null;){if(j.tag===5||j.tag===6)D.appendChild(j.stateNode);else if(j.tag!==4&&j.tag!==27&&j.child!==null){j.child.return=j,j=j.child;continue}if(j===h)break e;for(;j.sibling===null;){if(j.return===null||j.return===h)break e;j=j.return}j.sibling.return=j.return,j=j.sibling}h.stateNode=D;e:switch(Pr(D,A,_),A){case"button":case"input":case"select":case"textarea":_=!!_.autoFocus;break e;case"img":_=!0;break e;default:_=!1}_&&sl(h)}}return Yn(h),HM(h,h.type,u===null?null:u.memoizedProps,h.pendingProps,g),null;case 6:if(u&&h.stateNode!=null)u.memoizedProps!==_&&sl(h);else{if(typeof _!="string"&&h.stateNode===null)throw Error(i(166));if(u=me.current,zf(h)){if(u=h.stateNode,g=h.memoizedProps,_=null,A=Cr,A!==null)switch(A.tag){case 27:case 5:_=A.memoizedProps}u[si]=h,u=!!(u.nodeValue===g||_!==null&&_.suppressHydrationWarning===!0||rU(u.nodeValue,g)),u||bc(h,!0)}else u=kx(u).createTextNode(_),u[si]=h,h.stateNode=u}return Yn(h),null;case 31:if(g=h.memoizedState,u===null||u.memoizedState!==null){if(_=zf(h),g!==null){if(u===null){if(!_)throw Error(i(318));if(u=h.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(i(557));u[si]=h}else Zu(),(h.flags&128)===0&&(h.memoizedState=null),h.flags|=4;Yn(h),u=!1}else g=Jw(),u!==null&&u.memoizedState!==null&&(u.memoizedState.hydrationErrors=g),u=!0;if(!u)return h.flags&256?(Va(h),h):(Va(h),null);if((h.flags&128)!==0)throw Error(i(558))}return Yn(h),null;case 13:if(_=h.memoizedState,u===null||u.memoizedState!==null&&u.memoizedState.dehydrated!==null){if(A=zf(h),_!==null&&_.dehydrated!==null){if(u===null){if(!A)throw Error(i(318));if(A=h.memoizedState,A=A!==null?A.dehydrated:null,!A)throw Error(i(317));A[si]=h}else Zu(),(h.flags&128)===0&&(h.memoizedState=null),h.flags|=4;Yn(h),A=!1}else A=Jw(),u!==null&&u.memoizedState!==null&&(u.memoizedState.hydrationErrors=A),A=!0;if(!A)return h.flags&256?(Va(h),h):(Va(h),null)}return Va(h),(h.flags&128)!==0?(h.lanes=g,h):(g=_!==null,u=u!==null&&u.memoizedState!==null,g&&(_=h.child,A=null,_.alternate!==null&&_.alternate.memoizedState!==null&&_.alternate.memoizedState.cachePool!==null&&(A=_.alternate.memoizedState.cachePool.pool),D=null,_.memoizedState!==null&&_.memoizedState.cachePool!==null&&(D=_.memoizedState.cachePool.pool),D!==A&&(_.flags|=2048)),g!==u&&g&&(h.child.flags|=8192),bx(h,h.updateQueue),Yn(h),null);case 4:return he(),u===null&&uE(h.stateNode.containerInfo),Yn(h),null;case 10:return nl(h.type),Yn(h),null;case 19:if(X(Ei),_=h.memoizedState,_===null)return Yn(h),null;if(A=(h.flags&128)!==0,D=_.rendering,D===null)if(A)Fm(_,!1);else{if(mi!==0||u!==null&&(u.flags&128)!==0)for(u=h.child;u!==null;){if(D=ox(u),D!==null){for(h.flags|=128,Fm(_,!1),u=D.updateQueue,h.updateQueue=u,bx(h,u),h.subtreeFlags=0,u=g,g=h.child;g!==null;)IL(g,u),g=g.sibling;return re(Ei,Ei.current&1|2),hn&&el(h,_.treeForkCount),h.child}u=u.sibling}_.tail!==null&&k()>Ex&&(h.flags|=128,A=!0,Fm(_,!1),h.lanes=4194304)}else{if(!A)if(u=ox(D),u!==null){if(h.flags|=128,A=!0,u=u.updateQueue,h.updateQueue=u,bx(h,u),Fm(_,!0),_.tail===null&&_.tailMode==="hidden"&&!D.alternate&&!hn)return Yn(h),null}else 2*k()-_.renderingStartTime>Ex&&g!==536870912&&(h.flags|=128,A=!0,Fm(_,!1),h.lanes=4194304);_.isBackwards?(D.sibling=h.child,h.child=D):(u=_.last,u!==null?u.sibling=D:h.child=D,_.last=D)}return _.tail!==null?(u=_.tail,_.rendering=u,_.tail=u.sibling,_.renderingStartTime=k(),u.sibling=null,g=Ei.current,re(Ei,A?g&1|2:g&1),hn&&el(h,_.treeForkCount),u):(Yn(h),null);case 22:case 23:return Va(h),dM(),_=h.memoizedState!==null,u!==null?u.memoizedState!==null!==_&&(h.flags|=8192):_&&(h.flags|=8192),_?(g&536870912)!==0&&(h.flags&128)===0&&(Yn(h),h.subtreeFlags&6&&(h.flags|=8192)):Yn(h),g=h.updateQueue,g!==null&&bx(h,g.retryQueue),g=null,u!==null&&u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(g=u.memoizedState.cachePool.pool),_=null,h.memoizedState!==null&&h.memoizedState.cachePool!==null&&(_=h.memoizedState.cachePool.pool),_!==g&&(h.flags|=2048),u!==null&&X(ed),null;case 24:return g=null,u!==null&&(g=u.memoizedState.cache),h.memoizedState.cache!==g&&(h.flags|=2048),nl(Oi),Yn(h),null;case 25:return null;case 30:return null}throw Error(i(156,h.tag))}function tQ(u,h){switch(Kw(h),h.tag){case 1:return u=h.flags,u&65536?(h.flags=u&-65537|128,h):null;case 3:return nl(Oi),he(),u=h.flags,(u&65536)!==0&&(u&128)===0?(h.flags=u&-65537|128,h):null;case 26:case 27:case 5:return Be(h),null;case 31:if(h.memoizedState!==null){if(Va(h),h.alternate===null)throw Error(i(340));Zu()}return u=h.flags,u&65536?(h.flags=u&-65537|128,h):null;case 13:if(Va(h),u=h.memoizedState,u!==null&&u.dehydrated!==null){if(h.alternate===null)throw Error(i(340));Zu()}return u=h.flags,u&65536?(h.flags=u&-65537|128,h):null;case 19:return X(Ei),null;case 4:return he(),null;case 10:return nl(h.type),null;case 22:case 23:return Va(h),dM(),u!==null&&X(ed),u=h.flags,u&65536?(h.flags=u&-65537|128,h):null;case 24:return nl(Oi),null;case 25:return null;default:return null}}function cI(u,h){switch(Kw(h),h.tag){case 3:nl(Oi),he();break;case 26:case 27:case 5:Be(h);break;case 4:he();break;case 31:h.memoizedState!==null&&Va(h);break;case 13:Va(h);break;case 19:X(Ei);break;case 10:nl(h.type);break;case 22:case 23:Va(h),dM(),u!==null&&X(ed);break;case 24:nl(Oi)}}function zm(u,h){try{var g=h.updateQueue,_=g!==null?g.lastEffect:null;if(_!==null){var A=_.next;g=A;do{if((g.tag&u)===u){_=void 0;var D=g.create,j=g.inst;_=D(),j.destroy=_}g=g.next}while(g!==A)}}catch(te){An(h,h.return,te)}}function Tc(u,h,g){try{var _=h.updateQueue,A=_!==null?_.lastEffect:null;if(A!==null){var D=A.next;_=D;do{if((_.tag&u)===u){var j=_.inst,te=j.destroy;if(te!==void 0){j.destroy=void 0,A=h;var Se=g,ze=te;try{ze()}catch(Je){An(A,Se,Je)}}}_=_.next}while(_!==D)}}catch(Je){An(h,h.return,Je)}}function uI(u){var h=u.updateQueue;if(h!==null){var g=u.stateNode;try{ek(h,g)}catch(_){An(u,u.return,_)}}}function dI(u,h,g){g.props=ad(u.type,u.memoizedProps),g.state=u.memoizedState;try{g.componentWillUnmount()}catch(_){An(u,h,_)}}function Bm(u,h){try{var g=u.ref;if(g!==null){switch(u.tag){case 26:case 27:case 5:var _=u.stateNode;break;case 30:_=u.stateNode;break;default:_=u.stateNode}typeof g=="function"?u.refCleanup=g(_):g.current=_}}catch(A){An(u,h,A)}}function So(u,h){var g=u.ref,_=u.refCleanup;if(g!==null)if(typeof _=="function")try{_()}catch(A){An(u,h,A)}finally{u.refCleanup=null,u=u.alternate,u!=null&&(u.refCleanup=null)}else if(typeof g=="function")try{g(null)}catch(A){An(u,h,A)}else g.current=null}function fI(u){var h=u.type,g=u.memoizedProps,_=u.stateNode;try{e:switch(h){case"button":case"input":case"select":case"textarea":g.autoFocus&&_.focus();break e;case"img":g.src?_.src=g.src:g.srcSet&&(_.srcset=g.srcSet)}}catch(A){An(u,u.return,A)}}function VM(u,h,g){try{var _=u.stateNode;wQ(_,u.type,g,h),_[wi]=h}catch(A){An(u,u.return,A)}}function hI(u){return u.tag===5||u.tag===3||u.tag===26||u.tag===27&&Lc(u.type)||u.tag===4}function GM(u){e:for(;;){for(;u.sibling===null;){if(u.return===null||hI(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.tag===27&&Lc(u.type)||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 $M(u,h,g){var _=u.tag;if(_===5||_===6)u=u.stateNode,h?(g.nodeType===9?g.body:g.nodeName==="HTML"?g.ownerDocument.body:g).insertBefore(u,h):(h=g.nodeType===9?g.body:g.nodeName==="HTML"?g.ownerDocument.body:g,h.appendChild(u),g=g._reactRootContainer,g!=null||h.onclick!==null||(h.onclick=Zo));else if(_!==4&&(_===27&&Lc(u.type)&&(g=u.stateNode,h=null),u=u.child,u!==null))for($M(u,h,g),u=u.sibling;u!==null;)$M(u,h,g),u=u.sibling}function _x(u,h,g){var _=u.tag;if(_===5||_===6)u=u.stateNode,h?g.insertBefore(u,h):g.appendChild(u);else if(_!==4&&(_===27&&Lc(u.type)&&(g=u.stateNode),u=u.child,u!==null))for(_x(u,h,g),u=u.sibling;u!==null;)_x(u,h,g),u=u.sibling}function pI(u){var h=u.stateNode,g=u.memoizedProps;try{for(var _=u.type,A=h.attributes;A.length;)h.removeAttributeNode(A[0]);Pr(h,_,g),h[si]=u,h[wi]=g}catch(D){An(u,u.return,D)}}var ol=!1,Ii=!1,WM=!1,mI=typeof WeakSet=="function"?WeakSet:Set,pr=null;function nQ(u,h){if(u=u.containerInfo,hE=Hx,u=TL(u),zw(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 A=_.anchorOffset,D=_.focusNode;_=_.focusOffset;try{g.nodeType,D.nodeType}catch{g=null;break e}var j=0,te=-1,Se=-1,ze=0,Je=0,it=u,Ve=null;t:for(;;){for(var Ye;it!==g||A!==0&&it.nodeType!==3||(te=j+A),it!==D||_!==0&&it.nodeType!==3||(Se=j+_),it.nodeType===3&&(j+=it.nodeValue.length),(Ye=it.firstChild)!==null;)Ve=it,it=Ye;for(;;){if(it===u)break t;if(Ve===g&&++ze===A&&(te=j),Ve===D&&++Je===_&&(Se=j),(Ye=it.nextSibling)!==null)break;it=Ve,Ve=it.parentNode}it=Ye}g=te===-1||Se===-1?null:{start:te,end:Se}}else g=null}g=g||{start:0,end:0}}else g=null;for(pE={focusedElem:u,selectionRange:g},Hx=!1,pr=h;pr!==null;)if(h=pr,u=h.child,(h.subtreeFlags&1028)!==0&&u!==null)u.return=h,pr=u;else for(;pr!==null;){switch(h=pr,D=h.alternate,u=h.flags,h.tag){case 0:if((u&4)!==0&&(u=h.updateQueue,u=u!==null?u.events:null,u!==null))for(g=0;g title"))),Pr(D,_,g),D[si]=u,Re(D),_=D;break e;case"link":var j=_U("link","href",A).get(_+(g.href||""));if(j){for(var te=0;tePn&&(j=Pn,Pn=Ft,Ft=j);var Oe=EL(te,Ft),Te=EL(te,Pn);if(Oe&&Te&&(Ye.rangeCount!==1||Ye.anchorNode!==Oe.node||Ye.anchorOffset!==Oe.offset||Ye.focusNode!==Te.node||Ye.focusOffset!==Te.offset)){var Fe=it.createRange();Fe.setStart(Oe.node,Oe.offset),Ye.removeAllRanges(),Ft>Pn?(Ye.addRange(Fe),Ye.extend(Te.node,Te.offset)):(Fe.setEnd(Te.node,Te.offset),Ye.addRange(Fe))}}}}for(it=[],Ye=te;Ye=Ye.parentNode;)Ye.nodeType===1&&it.push({element:Ye,left:Ye.scrollLeft,top:Ye.scrollTop});for(typeof te.focus=="function"&&te.focus(),te=0;teg?32:g,q.T=null,g=QM,QM=null;var D=Pc,j=fl;if(Ki=0,Qf=Pc=null,fl=0,(_n&6)!==0)throw Error(i(331));var te=_n;if(_n|=4,AI(D.current),wI(D,D.current,j,g),_n=te,Wm(0,!1),Pe&&typeof Pe.onPostCommitFiberRoot=="function")try{Pe.onPostCommitFiberRoot(Ue,D)}catch{}return!0}finally{G.p=A,q.T=_,GI(u,h)}}function WI(u,h,g){h=us(g,h),h=DM(u.stateNode,h,2),u=Mc(u,h,2),u!==null&&(tn(u,2),wo(u))}function An(u,h,g){if(u.tag===3)WI(u,u,g);else for(;h!==null;){if(h.tag===3){WI(h,u,g);break}else if(h.tag===1){var _=h.stateNode;if(typeof h.type.getDerivedStateFromError=="function"||typeof _.componentDidCatch=="function"&&(Nc===null||!Nc.has(_))){u=us(g,u),g=qk(2),_=Mc(h,g,2),_!==null&&(Xk(g,_,h,u),tn(_,2),wo(_));break}}h=h.return}}function iE(u,h,g){var _=u.pingCache;if(_===null){_=u.pingCache=new aQ;var A=new Set;_.set(h,A)}else A=_.get(h),A===void 0&&(A=new Set,_.set(h,A));A.has(g)||(YM=!0,A.add(g),u=uQ.bind(null,u,h,g),h.then(u,u))}function uQ(u,h,g){var _=u.pingCache;_!==null&&_.delete(h),u.pingedLanes|=u.suspendedLanes&g,u.warmLanes&=~g,Bn===u&&(un&g)===g&&(mi===4||mi===3&&(un&62914560)===un&&300>k()-Mx?(_n&2)===0&&eh(u,0):KM|=g,Jf===un&&(Jf=0)),wo(u)}function qI(u,h){h===0&&(h=yt()),u=Yu(u,h),u!==null&&(tn(u,h),wo(u))}function dQ(u){var h=u.memoizedState,g=0;h!==null&&(g=h.retryLane),qI(u,g)}function fQ(u,h){var g=0;switch(u.tag){case 31:case 13:var _=u.stateNode,A=u.memoizedState;A!==null&&(g=A.retryLane);break;case 19:_=u.stateNode;break;case 22:_=u.stateNode._retryCache;break;default:throw Error(i(314))}_!==null&&_.delete(h),qI(u,g)}function hQ(u,h){return ie(u,h)}var Px=null,nh=null,rE=!1,Dx=!1,aE=!1,Oc=0;function wo(u){u!==nh&&u.next===null&&(nh===null?Px=nh=u:nh=nh.next=u),Dx=!0,rE||(rE=!0,mQ())}function Wm(u,h){if(!aE&&Dx){aE=!0;do for(var g=!1,_=Px;_!==null;){if(u!==0){var A=_.pendingLanes;if(A===0)var D=0;else{var j=_.suspendedLanes,te=_.pingedLanes;D=(1<<31-et(42|u)+1)-1,D&=A&~(j&~te),D=D&201326741?D&201326741|1:D?D|2:0}D!==0&&(g=!0,ZI(_,D))}else D=un,D=ge(_,_===Bn?D:0,_.cancelPendingCommit!==null||_.timeoutHandle!==-1),(D&3)===0||je(_,D)||(g=!0,ZI(_,D));_=_.next}while(g);aE=!1}}function pQ(){XI()}function XI(){Dx=rE=!1;var u=0;Oc!==0&&EQ()&&(u=Oc);for(var h=k(),g=null,_=Px;_!==null;){var A=_.next,D=YI(_,h);D===0?(_.next=null,g===null?Px=A:g.next=A,A===null&&(nh=g)):(g=_,(u!==0||(D&3)!==0)&&(Dx=!0)),_=A}Ki!==0&&Ki!==5||Wm(u),Oc!==0&&(Oc=0)}function YI(u,h){for(var g=u.suspendedLanes,_=u.pingedLanes,A=u.expirationTimes,D=u.pendingLanes&-62914561;0te)break;var Je=Se.transferSize,it=Se.initiatorType;Je&&aU(it)&&(Se=Se.responseEnd,j+=Je*(Se"u"?null:document;function vU(u,h,g){var _=ih;if(_&&typeof h=="string"&&h){var A=Sn(h);A='link[rel="'+u+'"][href="'+A+'"]',typeof g=="string"&&(A+='[crossorigin="'+g+'"]'),gU.has(A)||(gU.add(A),u={rel:u,crossOrigin:g,href:h},_.querySelector(A)===null&&(h=_.createElement("link"),Pr(h,"link",u),Re(h),_.head.appendChild(h)))}}function LQ(u){hl.D(u),vU("dns-prefetch",u,null)}function kQ(u,h){hl.C(u,h),vU("preconnect",u,h)}function IQ(u,h,g){hl.L(u,h,g);var _=ih;if(_&&u&&h){var A='link[rel="preload"][as="'+Sn(h)+'"]';h==="image"&&g&&g.imageSrcSet?(A+='[imagesrcset="'+Sn(g.imageSrcSet)+'"]',typeof g.imageSizes=="string"&&(A+='[imagesizes="'+Sn(g.imageSizes)+'"]')):A+='[href="'+Sn(u)+'"]';var D=A;switch(h){case"style":D=rh(u);break;case"script":D=ah(u)}gs.has(D)||(u=f({rel:"preload",href:h==="image"&&g&&g.imageSrcSet?void 0:u,as:h},g),gs.set(D,u),_.querySelector(A)!==null||h==="style"&&_.querySelector(Km(D))||h==="script"&&_.querySelector(Zm(D))||(h=_.createElement("link"),Pr(h,"link",u),Re(h),_.head.appendChild(h)))}}function UQ(u,h){hl.m(u,h);var g=ih;if(g&&u){var _=h&&typeof h.as=="string"?h.as:"script",A='link[rel="modulepreload"][as="'+Sn(_)+'"][href="'+Sn(u)+'"]',D=A;switch(_){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":D=ah(u)}if(!gs.has(D)&&(u=f({rel:"modulepreload",href:u},h),gs.set(D,u),g.querySelector(A)===null)){switch(_){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(g.querySelector(Zm(D)))return}_=g.createElement("link"),Pr(_,"link",u),Re(_),g.head.appendChild(_)}}}function FQ(u,h,g){hl.S(u,h,g);var _=ih;if(_&&u){var A=Ne(_).hoistableStyles,D=rh(u);h=h||"default";var j=A.get(D);if(!j){var te={loading:0,preload:null};if(j=_.querySelector(Km(D)))te.loading=5;else{u=f({rel:"stylesheet",href:u,"data-precedence":h},g),(g=gs.get(D))&&_E(u,g);var Se=j=_.createElement("link");Re(Se),Pr(Se,"link",u),Se._p=new Promise(function(ze,Je){Se.onload=ze,Se.onerror=Je}),Se.addEventListener("load",function(){te.loading|=1}),Se.addEventListener("error",function(){te.loading|=2}),te.loading|=4,Ux(j,h,_)}j={type:"stylesheet",instance:j,count:1,state:te},A.set(D,j)}}}function zQ(u,h){hl.X(u,h);var g=ih;if(g&&u){var _=Ne(g).hoistableScripts,A=ah(u),D=_.get(A);D||(D=g.querySelector(Zm(A)),D||(u=f({src:u,async:!0},h),(h=gs.get(A))&&SE(u,h),D=g.createElement("script"),Re(D),Pr(D,"link",u),g.head.appendChild(D)),D={type:"script",instance:D,count:1,state:null},_.set(A,D))}}function BQ(u,h){hl.M(u,h);var g=ih;if(g&&u){var _=Ne(g).hoistableScripts,A=ah(u),D=_.get(A);D||(D=g.querySelector(Zm(A)),D||(u=f({src:u,async:!0,type:"module"},h),(h=gs.get(A))&&SE(u,h),D=g.createElement("script"),Re(D),Pr(D,"link",u),g.head.appendChild(D)),D={type:"script",instance:D,count:1,state:null},_.set(A,D))}}function xU(u,h,g,_){var A=(A=me.current)?Ix(A):null;if(!A)throw Error(i(446));switch(u){case"meta":case"title":return null;case"style":return typeof g.precedence=="string"&&typeof g.href=="string"?(h=rh(g.href),g=Ne(A).hoistableStyles,_=g.get(h),_||(_={type:"style",instance:null,count:0,state:null},g.set(h,_)),_):{type:"void",instance:null,count:0,state:null};case"link":if(g.rel==="stylesheet"&&typeof g.href=="string"&&typeof g.precedence=="string"){u=rh(g.href);var D=Ne(A).hoistableStyles,j=D.get(u);if(j||(A=A.ownerDocument||A,j={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},D.set(u,j),(D=A.querySelector(Km(u)))&&!D._p&&(j.instance=D,j.state.loading=5),gs.has(u)||(g={rel:"preload",as:"style",href:g.href,crossOrigin:g.crossOrigin,integrity:g.integrity,media:g.media,hrefLang:g.hrefLang,referrerPolicy:g.referrerPolicy},gs.set(u,g),D||jQ(A,u,g,j.state))),h&&_===null)throw Error(i(528,""));return j}if(h&&_!==null)throw Error(i(529,""));return null;case"script":return h=g.async,g=g.src,typeof g=="string"&&h&&typeof h!="function"&&typeof h!="symbol"?(h=ah(g),g=Ne(A).hoistableScripts,_=g.get(h),_||(_={type:"script",instance:null,count:0,state:null},g.set(h,_)),_):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,u))}}function rh(u){return'href="'+Sn(u)+'"'}function Km(u){return'link[rel="stylesheet"]['+u+"]"}function yU(u){return f({},u,{"data-precedence":u.precedence,precedence:null})}function jQ(u,h,g,_){u.querySelector('link[rel="preload"][as="style"]['+h+"]")?_.loading=1:(h=u.createElement("link"),_.preload=h,h.addEventListener("load",function(){return _.loading|=1}),h.addEventListener("error",function(){return _.loading|=2}),Pr(h,"link",g),Re(h),u.head.appendChild(h))}function ah(u){return'[src="'+Sn(u)+'"]'}function Zm(u){return"script[async]"+u}function bU(u,h,g){if(h.count++,h.instance===null)switch(h.type){case"style":var _=u.querySelector('style[data-href~="'+Sn(g.href)+'"]');if(_)return h.instance=_,Re(_),_;var A=f({},g,{"data-href":g.href,"data-precedence":g.precedence,href:null,precedence:null});return _=(u.ownerDocument||u).createElement("style"),Re(_),Pr(_,"style",A),Ux(_,g.precedence,u),h.instance=_;case"stylesheet":A=rh(g.href);var D=u.querySelector(Km(A));if(D)return h.state.loading|=4,h.instance=D,Re(D),D;_=yU(g),(A=gs.get(A))&&_E(_,A),D=(u.ownerDocument||u).createElement("link"),Re(D);var j=D;return j._p=new Promise(function(te,Se){j.onload=te,j.onerror=Se}),Pr(D,"link",_),h.state.loading|=4,Ux(D,g.precedence,u),h.instance=D;case"script":return D=ah(g.src),(A=u.querySelector(Zm(D)))?(h.instance=A,Re(A),A):(_=g,(A=gs.get(D))&&(_=f({},g),SE(_,A)),u=u.ownerDocument||u,A=u.createElement("script"),Re(A),Pr(A,"link",_),u.head.appendChild(A),h.instance=A);case"void":return null;default:throw Error(i(443,h.type))}else h.type==="stylesheet"&&(h.state.loading&4)===0&&(_=h.instance,h.state.loading|=4,Ux(_,g.precedence,u));return h.instance}function Ux(u,h,g){for(var _=g.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),A=_.length?_[_.length-1]:null,D=A,j=0;j<_.length;j++){var te=_[j];if(te.dataset.precedence===h)D=te;else if(D!==A)break}D?D.parentNode.insertBefore(u,D.nextSibling):(h=g.nodeType===9?g.head:g,h.insertBefore(u,h.firstChild))}function _E(u,h){u.crossOrigin==null&&(u.crossOrigin=h.crossOrigin),u.referrerPolicy==null&&(u.referrerPolicy=h.referrerPolicy),u.title==null&&(u.title=h.title)}function SE(u,h){u.crossOrigin==null&&(u.crossOrigin=h.crossOrigin),u.referrerPolicy==null&&(u.referrerPolicy=h.referrerPolicy),u.integrity==null&&(u.integrity=h.integrity)}var Fx=null;function _U(u,h,g){if(Fx===null){var _=new Map,A=Fx=new Map;A.set(g,_)}else A=Fx,_=A.get(g),_||(_=new Map,A.set(g,_));if(_.has(u))return _;for(_.set(u,null),g=g.getElementsByTagName(u),A=0;A title"):null)}function HQ(u,h,g){if(g===1||h.itemProp!=null)return!1;switch(u){case"meta":case"title":return!0;case"style":if(typeof h.precedence!="string"||typeof h.href!="string"||h.href==="")break;return!0;case"link":if(typeof h.rel!="string"||typeof h.href!="string"||h.href===""||h.onLoad||h.onError)break;switch(h.rel){case"stylesheet":return u=h.disabled,typeof h.precedence=="string"&&u==null;default:return!0}case"script":if(h.async&&typeof h.async!="function"&&typeof h.async!="symbol"&&!h.onLoad&&!h.onError&&h.src&&typeof h.src=="string")return!0}return!1}function wU(u){return!(u.type==="stylesheet"&&(u.state.loading&3)===0)}function VQ(u,h,g,_){if(g.type==="stylesheet"&&(typeof _.media!="string"||matchMedia(_.media).matches!==!1)&&(g.state.loading&4)===0){if(g.instance===null){var A=rh(_.href),D=h.querySelector(Km(A));if(D){h=D._p,h!==null&&typeof h=="object"&&typeof h.then=="function"&&(u.count++,u=zx.bind(u),h.then(u,u)),g.state.loading|=4,g.instance=D,Re(D);return}D=h.ownerDocument||h,_=yU(_),(A=gs.get(A))&&_E(_,A),D=D.createElement("link"),Re(D);var j=D;j._p=new Promise(function(te,Se){j.onload=te,j.onerror=Se}),Pr(D,"link",_),g.instance=D}u.stylesheets===null&&(u.stylesheets=new Map),u.stylesheets.set(g,h),(h=g.state.preload)&&(g.state.loading&3)===0&&(u.count++,g=zx.bind(u),h.addEventListener("load",g),h.addEventListener("error",g))}}var wE=0;function GQ(u,h){return u.stylesheets&&u.count===0&&jx(u,u.stylesheets),0wE?50:800)+h);return u.unsuspend=g,function(){u.unsuspend=null,clearTimeout(_),clearTimeout(A)}}:null}function zx(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)jx(this,this.stylesheets);else if(this.unsuspend){var u=this.unsuspend;this.unsuspend=null,u()}}}var Bx=null;function jx(u,h){u.stylesheets=null,u.unsuspend!==null&&(u.count++,Bx=new Map,h.forEach($Q,u),Bx=null,zx.call(u))}function $Q(u,h){if(!(h.state.loading&4)){var g=Bx.get(u);if(g)var _=g.get(null);else{g=new Map,Bx.set(u,g);for(var A=u.querySelectorAll("link[data-precedence],style[data-precedence]"),D=0;D"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),DE.exports=lee(),DE.exports}var uee=cee();var qU="popstate";function dee(t={}){function e(i,r){let{pathname:a,search:s,hash:o}=i.location;return v2("",{pathname:a,search:s,hash:o},r.state&&r.state.usr||null,r.state&&r.state.key||"default")}function n(i,r){return typeof r=="string"?r:l0(r)}return hee(e,n,null,t)}function li(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function po(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function fee(){return Math.random().toString(36).substring(2,10)}function XU(t,e){return{usr:t.state,key:t.key,idx:e}}function v2(t,e,n=null,i){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof e=="string"?Vp(e):e,state:n,key:e&&e.key||i||fee()}}function l0({pathname:t="/",search:e="",hash:n=""}){return e&&e!=="?"&&(t+=e.charAt(0)==="?"?e:"?"+e),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function Vp(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substring(n),t=t.substring(0,n));let i=t.indexOf("?");i>=0&&(e.search=t.substring(i),t=t.substring(0,i)),t&&(e.pathname=t)}return e}function hee(t,e,n,i={}){let{window:r=document.defaultView,v5Compat:a=!1}=i,s=r.history,o="POP",l=null,c=d();c==null&&(c=0,s.replaceState({...s.state,idx:c},""));function d(){return(s.state||{idx:null}).idx}function f(){o="POP";let x=d(),v=x==null?null:x-c;c=x,l&&l({action:o,location:b.location,delta:v})}function p(x,v){o="PUSH";let w=v2(b.location,x,v);c=d()+1;let M=XU(w,c),E=b.createHref(w);try{s.pushState(M,"",E)}catch(T){if(T instanceof DOMException&&T.name==="DataCloneError")throw T;r.location.assign(E)}a&&l&&l({action:o,location:b.location,delta:1})}function m(x,v){o="REPLACE";let w=v2(b.location,x,v);c=d();let M=XU(w,c),E=b.createHref(w);s.replaceState(M,"",E),a&&l&&l({action:o,location:b.location,delta:0})}function y(x){return pee(x)}let b={get action(){return o},get location(){return t(r,s)},listen(x){if(l)throw new Error("A history only accepts one active listener");return r.addEventListener(qU,f),l=x,()=>{r.removeEventListener(qU,f),l=null}},createHref(x){return e(r,x)},createURL:y,encodeLocation(x){let v=y(x);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:p,replace:m,go(x){return s.go(x)}};return b}function pee(t,e=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),li(n,"No window.location.(origin|href) available to create URL");let i=typeof t=="string"?t:l0(t);return i=i.replace(/ $/,"%20"),!e&&i.startsWith("//")&&(i=n+i),new URL(i,n)}function RV(t,e,n="/"){return mee(t,e,n,!1)}function mee(t,e,n,i){let r=typeof e=="string"?Vp(e):e,a=Zl(r.pathname||"/",n);if(a==null)return null;let s=NV(t);gee(s);let o=null;for(let l=0;o==null&&l{let d={relativePath:c===void 0?s.path||"":c,caseSensitive:s.caseSensitive===!0,childrenIndex:o,route:s};if(d.relativePath.startsWith("/")){if(!d.relativePath.startsWith(i)&&l)return;li(d.relativePath.startsWith(i),`Absolute route path "${d.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),d.relativePath=d.relativePath.slice(i.length)}let f=Vl([i,d.relativePath]),p=n.concat(d);s.children&&s.children.length>0&&(li(s.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${f}".`),NV(s.children,e,p,f,l)),!(s.path==null&&!s.index)&&e.push({path:f,score:wee(f,s.index),routesMeta:p})};return t.forEach((s,o)=>{if(s.path===""||!s.path?.includes("?"))a(s,o);else for(let l of PV(s.path))a(s,o,!0,l)}),e}function PV(t){let e=t.split("/");if(e.length===0)return[];let[n,...i]=e,r=n.endsWith("?"),a=n.replace(/\?$/,"");if(i.length===0)return r?[a,""]:[a];let s=PV(i.join("/")),o=[];return o.push(...s.map(l=>l===""?a:[a,l].join("/"))),r&&o.push(...s),o.map(l=>t.startsWith("/")&&l===""?"/":l)}function gee(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:Mee(e.routesMeta.map(i=>i.childrenIndex),n.routesMeta.map(i=>i.childrenIndex)))}var vee=/^:[\w-]+$/,xee=3,yee=2,bee=1,_ee=10,See=-2,YU=t=>t==="*";function wee(t,e){let n=t.split("/"),i=n.length;return n.some(YU)&&(i+=See),e&&(i+=yee),n.filter(r=>!YU(r)).reduce((r,a)=>r+(vee.test(a)?xee:a===""?bee:_ee),i)}function Mee(t,e){return t.length===e.length&&t.slice(0,-1).every((i,r)=>i===e[r])?t[t.length-1]-e[e.length-1]:0}function Eee(t,e,n=!1){let{routesMeta:i}=t,r={},a="/",s=[];for(let o=0;o{if(d==="*"){let y=o[p]||"";s=a.slice(0,a.length-y.length).replace(/(.)\/+$/,"$1")}const m=o[p];return f&&!m?c[d]=void 0:c[d]=(m||"").replace(/%2F/g,"/"),c},{}),pathname:a,pathnameBase:s,pattern:t}}function Aee(t,e=!1,n=!0){po(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let i=[],r="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,o,l)=>(i.push({paramName:o,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return t.endsWith("*")?(i.push({paramName:"*"}),r+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?r+="\\/*$":t!==""&&t!=="/"&&(r+="(?:(?=\\/|$))"),[new RegExp(r,e?void 0:"i"),i]}function Tee(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return po(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${e}).`),t}}function Zl(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,i=t.charAt(n);return i&&i!=="/"?null:t.slice(n)||"/"}var Cee=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ree=t=>Cee.test(t);function Nee(t,e="/"){let{pathname:n,search:i="",hash:r=""}=typeof t=="string"?Vp(t):t,a;if(n)if(Ree(n))a=n;else{if(n.includes("//")){let s=n;n=n.replace(/\/\/+/g,"/"),po(!1,`Pathnames cannot have embedded double slashes - normalizing ${s} -> ${n}`)}n.startsWith("/")?a=KU(n.substring(1),"/"):a=KU(n,e)}else a=e;return{pathname:a,search:Oee(i),hash:Lee(r)}}function KU(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(r=>{r===".."?n.length>1&&n.pop():r!=="."&&n.push(r)}),n.length>1?n.join("/"):"/"}function IE(t,e,n,i){return`Cannot include a '${t}' character in a manually specified \`to.${e}\` field [${JSON.stringify(i)}]. 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 Pee(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function DV(t){let e=Pee(t);return e.map((n,i)=>i===e.length-1?n.pathname:n.pathnameBase)}function OV(t,e,n,i=!1){let r;typeof t=="string"?r=Vp(t):(r={...t},li(!r.pathname||!r.pathname.includes("?"),IE("?","pathname","search",r)),li(!r.pathname||!r.pathname.includes("#"),IE("#","pathname","hash",r)),li(!r.search||!r.search.includes("#"),IE("#","search","hash",r)));let a=t===""||r.pathname==="",s=a?"/":r.pathname,o;if(s==null)o=n;else{let f=e.length-1;if(!i&&s.startsWith("..")){let p=s.split("/");for(;p[0]==="..";)p.shift(),f-=1;r.pathname=p.join("/")}o=f>=0?e[f]:"/"}let l=Nee(r,o),c=s&&s!=="/"&&s.endsWith("/"),d=(a||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||d)&&(l.pathname+="/"),l}var Vl=t=>t.join("/").replace(/\/\/+/g,"/"),Dee=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),Oee=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,Lee=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function kee(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var LV=["POST","PUT","PATCH","DELETE"];new Set(LV);var Iee=["GET",...LV];new Set(Iee);var Gp=C.createContext(null);Gp.displayName="DataRouter";var tS=C.createContext(null);tS.displayName="DataRouterState";C.createContext(!1);var kV=C.createContext({isTransitioning:!1});kV.displayName="ViewTransition";var Uee=C.createContext(new Map);Uee.displayName="Fetchers";var Fee=C.createContext(null);Fee.displayName="Await";var qo=C.createContext(null);qo.displayName="Navigation";var Q0=C.createContext(null);Q0.displayName="Location";var Xo=C.createContext({outlet:null,matches:[],isDataRoute:!1});Xo.displayName="Route";var bN=C.createContext(null);bN.displayName="RouteError";function zee(t,{relative:e}={}){li(ev(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:i}=C.useContext(qo),{hash:r,pathname:a,search:s}=tv(t,{relative:e}),o=a;return n!=="/"&&(o=a==="/"?n:Vl([n,a])),i.createHref({pathname:o,search:s,hash:r})}function ev(){return C.useContext(Q0)!=null}function wf(){return li(ev(),"useLocation() may be used only in the context of a component."),C.useContext(Q0).location}var IV="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function UV(t){C.useContext(qo).static||C.useLayoutEffect(t)}function FV(){let{isDataRoute:t}=C.useContext(Xo);return t?ete():Bee()}function Bee(){li(ev(),"useNavigate() may be used only in the context of a component.");let t=C.useContext(Gp),{basename:e,navigator:n}=C.useContext(qo),{matches:i}=C.useContext(Xo),{pathname:r}=wf(),a=JSON.stringify(DV(i)),s=C.useRef(!1);return UV(()=>{s.current=!0}),C.useCallback((l,c={})=>{if(po(s.current,IV),!s.current)return;if(typeof l=="number"){n.go(l);return}let d=OV(l,JSON.parse(a),r,c.relative==="path");t==null&&e!=="/"&&(d.pathname=d.pathname==="/"?e:Vl([e,d.pathname])),(c.replace?n.replace:n.push)(d,c.state,c)},[e,n,a,r,t])}var jee=C.createContext(null);function Hee(t){let e=C.useContext(Xo).outlet;return C.useMemo(()=>e&&C.createElement(jee.Provider,{value:t},e),[e,t])}function tv(t,{relative:e}={}){let{matches:n}=C.useContext(Xo),{pathname:i}=wf(),r=JSON.stringify(DV(n));return C.useMemo(()=>OV(t,JSON.parse(r),i,e==="path"),[t,r,i,e])}function Vee(t,e){return zV(t,e)}function zV(t,e,n,i,r){li(ev(),"useRoutes() may be used only in the context of a component.");let{navigator:a}=C.useContext(qo),{matches:s}=C.useContext(Xo),o=s[s.length-1],l=o?o.params:{},c=o?o.pathname:"/",d=o?o.pathnameBase:"/",f=o&&o.route;{let w=f&&f.path||"";BV(c,!f||w.endsWith("*")||w.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${c}" (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=wf(),m;if(e){let w=typeof e=="string"?Vp(e):e;li(d==="/"||w.pathname?.startsWith(d),`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 "${d}" but pathname "${w.pathname}" was given in the \`location\` prop.`),m=w}else m=p;let y=m.pathname||"/",b=y;if(d!=="/"){let w=d.replace(/^\//,"").split("/");b="/"+y.replace(/^\//,"").split("/").slice(w.length).join("/")}let x=RV(t,{pathname:b});po(f||x!=null,`No routes matched location "${m.pathname}${m.search}${m.hash}" `),po(x==null||x[x.length-1].route.element!==void 0||x[x.length-1].route.Component!==void 0||x[x.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 v=Xee(x&&x.map(w=>Object.assign({},w,{params:Object.assign({},l,w.params),pathname:Vl([d,a.encodeLocation?a.encodeLocation(w.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?d:Vl([d,a.encodeLocation?a.encodeLocation(w.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:w.pathnameBase])})),s,n,i,r);return e&&v?C.createElement(Q0.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...m},navigationType:"POP"}},v):v}function Gee(){let t=Qee(),e=kee(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,i="rgba(200,200,200, 0.5)",r={padding:"0.5rem",backgroundColor:i},a={padding:"2px 4px",backgroundColor:i},s=null;return console.error("Error handled by React Router default ErrorBoundary:",t),s=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:a},"ErrorBoundary")," or"," ",C.createElement("code",{style:a},"errorElement")," prop on your route.")),C.createElement(C.Fragment,null,C.createElement("h2",null,"Unexpected Application Error!"),C.createElement("h3",{style:{fontStyle:"italic"}},e),n?C.createElement("pre",{style:r},n):null,s)}var $ee=C.createElement(Gee,null),Wee=class extends C.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,e){return e.location!==t.location||e.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:e.error,location:e.location,revalidation:t.revalidation||e.revalidation}}componentDidCatch(t,e){this.props.onError?this.props.onError(t,e):console.error("React Router caught the following error during render",t)}render(){return this.state.error!==void 0?C.createElement(Xo.Provider,{value:this.props.routeContext},C.createElement(bN.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function qee({routeContext:t,match:e,children:n}){let i=C.useContext(Gp);return i&&i.static&&i.staticContext&&(e.route.errorElement||e.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=e.route.id),C.createElement(Xo.Provider,{value:t},n)}function Xee(t,e=[],n=null,i=null,r=null){if(t==null){if(!n)return null;if(n.errors)t=n.matches;else if(e.length===0&&!n.initialized&&n.matches.length>0)t=n.matches;else return null}let a=t,s=n?.errors;if(s!=null){let d=a.findIndex(f=>f.route.id&&s?.[f.route.id]!==void 0);li(d>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(s).join(",")}`),a=a.slice(0,Math.min(a.length,d+1))}let o=!1,l=-1;if(n)for(let d=0;d=0?a=a.slice(0,l+1):a=[a[0]];break}}}let c=n&&i?(d,f)=>{i(d,{location:n.location,params:n.matches?.[0]?.params??{},errorInfo:f})}:void 0;return a.reduceRight((d,f,p)=>{let m,y=!1,b=null,x=null;n&&(m=s&&f.route.id?s[f.route.id]:void 0,b=f.route.errorElement||$ee,o&&(l<0&&p===0?(BV("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),y=!0,x=null):l===p&&(y=!0,x=f.route.hydrateFallbackElement||null)));let v=e.concat(a.slice(0,p+1)),w=()=>{let M;return m?M=b:y?M=x:f.route.Component?M=C.createElement(f.route.Component,null):f.route.element?M=f.route.element:M=d,C.createElement(qee,{match:f,routeContext:{outlet:d,matches:v,isDataRoute:n!=null},children:M})};return n&&(f.route.ErrorBoundary||f.route.errorElement||p===0)?C.createElement(Wee,{location:n.location,revalidation:n.revalidation,component:b,error:m,children:w(),routeContext:{outlet:null,matches:v,isDataRoute:!0},onError:c}):w()},null)}function _N(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Yee(t){let e=C.useContext(Gp);return li(e,_N(t)),e}function Kee(t){let e=C.useContext(tS);return li(e,_N(t)),e}function Zee(t){let e=C.useContext(Xo);return li(e,_N(t)),e}function SN(t){let e=Zee(t),n=e.matches[e.matches.length-1];return li(n.route.id,`${t} can only be used on routes that contain a unique "id"`),n.route.id}function Jee(){return SN("useRouteId")}function Qee(){let t=C.useContext(bN),e=Kee("useRouteError"),n=SN("useRouteError");return t!==void 0?t:e.errors?.[n]}function ete(){let{router:t}=Yee("useNavigate"),e=SN("useNavigate"),n=C.useRef(!1);return UV(()=>{n.current=!0}),C.useCallback(async(r,a={})=>{po(n.current,IV),n.current&&(typeof r=="number"?t.navigate(r):await t.navigate(r,{fromRouteId:e,...a}))},[t,e])}var ZU={};function BV(t,e,n){!e&&!ZU[t]&&(ZU[t]=!0,po(!1,n))}C.memo(tte);function tte({routes:t,future:e,state:n,unstable_onError:i}){return zV(t,void 0,n,i,e)}function nte(t){return Hee(t.context)}function bd(t){li(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function ite({basename:t="/",children:e=null,location:n,navigationType:i="POP",navigator:r,static:a=!1}){li(!ev(),"You cannot render a inside another . You should never have more than one in your app.");let s=t.replace(/^\/*/,"/"),o=C.useMemo(()=>({basename:s,navigator:r,static:a,future:{}}),[s,r,a]);typeof n=="string"&&(n=Vp(n));let{pathname:l="/",search:c="",hash:d="",state:f=null,key:p="default"}=n,m=C.useMemo(()=>{let y=Zl(l,s);return y==null?null:{location:{pathname:y,search:c,hash:d,state:f,key:p},navigationType:i}},[s,l,c,d,f,p,i]);return po(m!=null,` is not able to match the URL "${l}${c}${d}" because it does not start with the basename, so the won't render anything.`),m==null?null:C.createElement(qo.Provider,{value:o},C.createElement(Q0.Provider,{children:e,value:m}))}function rte({children:t,location:e}){return Vee(x2(t),e)}function x2(t,e=[]){let n=[];return C.Children.forEach(t,(i,r)=>{if(!C.isValidElement(i))return;let a=[...e,r];if(i.type===C.Fragment){n.push.apply(n,x2(i.props.children,a));return}li(i.type===bd,`[${typeof i.type=="string"?i.type:i.type.name}] is not a component. All component children of must be a or `),li(!i.props.index||!i.props.children,"An index route cannot have child routes.");let s={id:i.props.id||a.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,middleware:i.props.middleware,loader:i.props.loader,action:i.props.action,hydrateFallbackElement:i.props.hydrateFallbackElement,HydrateFallback:i.props.HydrateFallback,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.hasErrorBoundary===!0||i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(s.children=x2(i.props.children,a)),n.push(s)}),n}var Tb="get",Cb="application/x-www-form-urlencoded";function nS(t){return t!=null&&typeof t.tagName=="string"}function ate(t){return nS(t)&&t.tagName.toLowerCase()==="button"}function ste(t){return nS(t)&&t.tagName.toLowerCase()==="form"}function ote(t){return nS(t)&&t.tagName.toLowerCase()==="input"}function lte(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function cte(t,e){return t.button===0&&(!e||e==="_self")&&!lte(t)}var Kx=null;function ute(){if(Kx===null)try{new FormData(document.createElement("form"),0),Kx=!1}catch{Kx=!0}return Kx}var dte=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function UE(t){return t!=null&&!dte.has(t)?(po(!1,`"${t}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Cb}"`),null):t}function fte(t,e){let n,i,r,a,s;if(ste(t)){let o=t.getAttribute("action");i=o?Zl(o,e):null,n=t.getAttribute("method")||Tb,r=UE(t.getAttribute("enctype"))||Cb,a=new FormData(t)}else if(ate(t)||ote(t)&&(t.type==="submit"||t.type==="image")){let o=t.form;if(o==null)throw new Error('Cannot submit a