function GQ(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 $x=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 ME={exports:{}},ng={};var NU;function $Q(){if(NU)return ng;NU=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 OU;function WQ(){return OU||(OU=1,ME.exports=$Q()),ME.exports}var S=WQ(),EE={exports:{}},Gt={};var LU;function qQ(){if(LU)return Gt;LU=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 A=M.prototype=new w;A.constructor=M,b(A,v.prototype),A.isPureReactComponent=!0;var T=Array.isArray;function D(){}var C={H:null,A:null,T:null,S:null},U=Object.prototype.hasOwnProperty;function P(H,X,re){var ce=re.ref;return{$$typeof:t,type:H,key:X,ref:ce!==void 0?ce:null,props:re}}function k(H,X){return P(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 O(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(D,D):(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===""?"."+O(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=k(ye,re+(ye.key==null||H&&H.key===ye.key?"":(""+ye.key).replace(W,"$&/")+"/")+be)),X.push(ye)),1;be=0;var Ne=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 A(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,A(q),!y)if(n(l)!==null)y=!0,D||(D=!0,I());else{var G=n(c);G!==null&&$(T,G.startTime-q)}}var D=!1,C=-1,U=5,P=-1;function k(){return x?!0:!(t.unstable_now()-Pq&&k());){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,A(q),G=!0;break t}f===n(l)&&i(l),A(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():D=!1}}}var I;if(typeof M=="function")I=function(){M(B)};else if(typeof MessageChannel<"u"){var W=new MessageChannel,O=W.port2;W.port1.onmessage=B,I=function(){O.postMessage(null)}}else I=function(){v(B,0)};function $(q,G){C=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(C),C=-1):b=!0,$(T,Y-Q))):(q.sortIndex=se,e(l,q),y||m||(y=!0,D||(D=!0,I()))),q},t.unstable_shouldYield=k,t.unstable_wrapCallback=function(q){var G=p;return function(){var Y=p;p=G;try{return q.apply(this,arguments)}finally{p=Y}}}})(CE)),CE}var UU;function KQ(){return UU||(UU=1,TE.exports=YQ()),TE.exports}var RE={exports:{}},Vr={};var FU;function ZQ(){if(FU)return Vr;FU=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(),RE.exports=ZQ(),RE.exports}var BU;function JQ(){if(BU)return ig;BU=1;var t=KQ(),e=Hp(),n=bV();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 Ne(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)?tU(u):0;break;default:if(u=h.tagName,h=h.namespaceURI)h=tU(h),u=nU(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=nU(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)":-1E||Se[_]!==ze[E]){var Je=` `+Se[_].replace(" at new "," at ");return u.displayName&&Je.includes("")&&(Je=Je.replace("",u.displayName)),Je}while(1<=_&&0<=E);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,L=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,De=null;function ut(u){if(typeof $e=="function"&&rt(u),De&&typeof De.setStrictMode=="function")try{De.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 E=0,N=u.suspendedLanes,j=u.pingedLanes;u=u.warmLanes;var te=_&134217727;return te!==0?(_=te&~N,_!==0?E=Ee(_):(j&=te,j!==0?E=Ee(j):g||(g=te&~u,g!==0&&(E=Ee(g))))):(te=_&~N,te!==0?E=Ee(te):j!==0?E=Ee(j):g||(g=_&~u,g!==0&&(E=Ee(g)))),E===0?0:h!==0&&h!==E&&(h&N)===0&&(N=E&-E,g=h&-h,N>=g||N===32&&(g&4194048)!==0)?h:E}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 vt(){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 en(u,h){u.pendingLanes|=h,h!==268435456&&(u.suspendedLanes=0,u.pingedLanes=0,u.warmLanes=0)}function Dt(u,h,g,_,E,N){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 yi=/[\n"\\]/g;function Sn(u){return u.replace(yi,function(h){return"\\"+h.charCodeAt(0).toString(16)+" "})}function Ws(u,h,g,_,E,N,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=""+nn(h)):u.value!==""+nn(h)&&(u.value=""+nn(h)):j!=="submit"&&j!=="reset"||u.removeAttribute("value"),h!=null?dr(u,j,nn(h)):g!=null?dr(u,j,nn(g)):_!=null&&u.removeAttribute("value"),E==null&&N!=null&&(u.defaultChecked=!!N),E!=null&&(u.checked=E&&typeof E!="function"&&typeof E!="symbol"),te!=null&&typeof te!="function"&&typeof te!="symbol"&&typeof te!="boolean"?u.name=""+nn(te):u.removeAttribute("name")}function Mn(u,h,g,_,E,N,j,te){if(N!=null&&typeof N!="function"&&typeof N!="symbol"&&typeof N!="boolean"&&(u.type=N),h!=null||g!=null){if(!(N!=="submit"&&N!=="reset"||h!=null)){Vt(u);return}g=g!=null?""+nn(g):"",h=h!=null?""+nn(h):g,te||h===u.value||(u.value=h),u.defaultValue=h}_=_??E,_=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),Vt(u)}function dr(u,h,g){h==="number"&&ui(u.ownerDocument)===u||u.defaultValue===""+g||(u.defaultValue=""+g)}function $i(u,h,g,_){if(u=u.options,h){h={};for(var E=0;E"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Mw=!1;if(Jo)try{var gm={};Object.defineProperty(gm,"passive",{get:function(){Mw=!0}}),window.addEventListener("test",gm,gm),window.removeEventListener("test",gm,gm)}catch{Mw=!1}var gc=null,Ew=null,Uv=null;function nL(){if(Uv)return Uv;var u,h=Ew,g=h.length,_,E="value"in gc?gc.value:gc.textContent,N=E.length;for(u=0;u=ym),lL=" ",cL=!1;function uL(u,h){switch(u){case"keyup":return fJ.indexOf(h.keyCode)!==-1;case"keydown":return h.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function dL(u){return u=u.detail,typeof u=="object"&&"data"in u?u.data:null}var Nf=!1;function pJ(u,h){switch(u){case"compositionend":return dL(h);case"keypress":return h.which!==32?null:(cL=!0,lL);case"textInput":return u=h.data,u===lL&&cL?null:u;default:return null}}function mJ(u,h){if(Nf)return u==="compositionend"||!Pw&&uL(u,h)?(u=nL(),Uv=Ew=gc=null,Nf=!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=yL(g)}}function _L(u,h){return u&&h?u===h?!0:u&&u.nodeType===3?!1:h&&h.nodeType===3?_L(u,h.parentNode):"contains"in u?u.contains(h):u.compareDocumentPosition?!!(u.compareDocumentPosition(h)&16):!1:!1}function SL(u){u=u!=null&&u.ownerDocument!=null&&u.ownerDocument.defaultView!=null?u.ownerDocument.defaultView:window;for(var h=ui(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=ui(u.document)}return h}function Ow(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 wJ=Jo&&"documentMode"in document&&11>=document.documentMode,Of=null,Lw=null,wm=null,kw=!1;function wL(u,h,g){var _=g.window===g?g.document:g.nodeType===9?g:g.ownerDocument;kw||Of==null||Of!==ui(_)||(_=Of,"selectionStart"in _&&Ow(_)?_={start:_.selectionStart,end:_.selectionEnd}:(_=(_.ownerDocument&&_.ownerDocument.defaultView||window).getSelection(),_={anchorNode:_.anchorNode,anchorOffset:_.anchorOffset,focusNode:_.focusNode,focusOffset:_.focusOffset}),wm&&Sm(wm,_)||(wm=_,_=Px(Lw,"onSelect"),0<_.length&&(h=new Bv("onSelect","select",null,h,g),u.push({event:h,listeners:_}),h.target=Of)))}function Wu(u,h){var g={};return g[u.toLowerCase()]=h.toLowerCase(),g["Webkit"+u]="webkit"+h,g["Moz"+u]="moz"+h,g}var Lf={animationend:Wu("Animation","AnimationEnd"),animationiteration:Wu("Animation","AnimationIteration"),animationstart:Wu("Animation","AnimationStart"),transitionrun:Wu("Transition","TransitionRun"),transitionstart:Wu("Transition","TransitionStart"),transitioncancel:Wu("Transition","TransitionCancel"),transitionend:Wu("Transition","TransitionEnd")},Iw={},ML={};Jo&&(ML=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 qu(u){if(Iw[u])return Iw[u];if(!Lf[u])return u;var h=Lf[u],g;for(g in h)if(h.hasOwnProperty(g)&&g in ML)return Iw[u]=h[g];return u}var EL=qu("animationend"),AL=qu("animationiteration"),TL=qu("animationstart"),MJ=qu("transitionrun"),EJ=qu("transitionstart"),AJ=qu("transitioncancel"),CL=qu("transitionend"),RL=new Map,Uw="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(" ");Uw.push("scrollEnd");function qs(u,h){RL.set(u,h),ot(h,[u])}var Vv=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,Fw=0;function Gv(){for(var u=kf,h=Fw=kf=0;h>=j,E-=j,bo=1<<32-et(h)+E|g<qt?(un=Pt,Pt=null):un=Pt.sibling;var vn=Ve(Oe,Pt,Fe[qt],nt);if(vn===null){Pt===null&&(Pt=un);break}u&&Pt&&vn.alternate===null&&h(Oe,Pt),Te=N(vn,Te,qt),gn===null?Lt=vn:gn.sibling=vn,gn=vn,Pt=un}if(qt===Fe.length)return g(Oe,Pt),fn&&el(Oe,qt),Lt;if(Pt===null){for(;qtqt?(un=Pt,Pt=null):un=Pt.sibling;var Fc=Ve(Oe,Pt,vn.value,nt);if(Fc===null){Pt===null&&(Pt=un);break}u&&Pt&&Fc.alternate===null&&h(Oe,Pt),Te=N(Fc,Te,qt),gn===null?Lt=Fc:gn.sibling=Fc,gn=Fc,Pt=un}if(vn.done)return g(Oe,Pt),fn&&el(Oe,qt),Lt;if(Pt===null){for(;!vn.done;qt++,vn=Fe.next())vn=it(Oe,vn.value,nt),vn!==null&&(Te=N(vn,Te,qt),gn===null?Lt=vn:gn.sibling=vn,gn=vn);return fn&&el(Oe,qt),Lt}for(Pt=_(Pt);!vn.done;qt++,vn=Fe.next())vn=Ye(Pt,Oe,qt,vn.value,nt),vn!==null&&(u&&vn.alternate!==null&&Pt.delete(vn.key===null?qt:vn.key),Te=N(vn,Te,qt),gn===null?Lt=vn:gn.sibling=vn,gn=vn);return u&&Pt.forEach(function(VQ){return h(Oe,VQ)}),fn&&el(Oe,qt),Lt}function Dn(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=E(Te,Fe.props.children),nt.return=Oe,Oe=nt;break e}}else if(Te.elementType===Lt||typeof Lt=="object"&&Lt!==null&&Lt.$$typeof===U&&ed(Lt)===Te.type){g(Oe,Te.sibling),nt=E(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=Yu(Fe.props.children,Oe.mode,nt,Fe.key),nt.return=Oe,Oe=nt):(nt=qv(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=E(Te,Fe.children||[]),nt.return=Oe,Oe=nt;break e}else{g(Oe,Te);break}else h(Oe,Te);Te=Te.sibling}nt=Hw(Fe,Oe.mode,nt),nt.return=Oe,Oe=nt}return j(Oe);case U:return Fe=ed(Fe),Dn(Oe,Te,Fe,nt)}if($(Fe))return Et(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 Dn(Oe,Te,ex(Fe),nt);if(Fe.$$typeof===M)return Dn(Oe,Te,Kv(Oe,Fe),nt);tx(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=E(Te,Fe),nt.return=Oe,Oe=nt):(g(Oe,Te),nt=jw(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=Dn(Oe,Te,Fe,nt);return Gf=null,Lt}catch(Pt){if(Pt===Vf||Pt===Jv)throw Pt;var gn=ja(29,Pt,null,Oe.mode);return gn.lanes=nt,gn.return=Oe,gn}finally{}}}var nd=WL(!0),qL=WL(!1),_c=!1;function eM(u){u.updateQueue={baseState:u.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function tM(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 Sc(u){return{lane:u,tag:0,payload:null,callback:null,next:null}}function wc(u,h,g){var _=u.updateQueue;if(_===null)return null;if(_=_.shared,(_n&2)!==0){var E=_.pending;return E===null?h.next=h:(h.next=E.next,E.next=h),_.pending=h,h=Wv(u),PL(u,null,g),h}return $v(u,_,h,g),Wv(u)}function Pm(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 nM(u,h){var g=u.updateQueue,_=u.alternate;if(_!==null&&(_=_.updateQueue,g===_)){var E=null,N=null;if(g=g.firstBaseUpdate,g!==null){do{var j={lane:g.lane,tag:g.tag,payload:g.payload,callback:null,next:null};N===null?E=N=j:N=N.next=j,g=g.next}while(g!==null);N===null?E=N=h:N=N.next=h}else E=N=h;g={baseState:_.baseState,firstBaseUpdate:E,lastBaseUpdate:N,shared:_.shared,callbacks:_.callbacks},u.updateQueue=g;return}u=g.lastBaseUpdate,u===null?g.firstBaseUpdate=h:u.next=h,g.lastBaseUpdate=h}var iM=!1;function Dm(){if(iM){var u=Hf;if(u!==null)throw u}}function Nm(u,h,g,_){iM=!1;var E=u.updateQueue;_c=!1;var N=E.firstBaseUpdate,j=E.lastBaseUpdate,te=E.shared.pending;if(te!==null){E.shared.pending=null;var Se=te,ze=Se.next;Se.next=null,j===null?N=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(N!==null){var it=E.baseState;j=0,Je=ze=Se=null,te=N;do{var Ve=te.lane&-536870913,Ye=Ve!==te.lane;if(Ye?(cn&Ve)===Ve:(_&Ve)===Ve){Ve!==0&&Ve===jf&&(iM=!0),Je!==null&&(Je=Je.next={lane:0,tag:te.tag,payload:te.payload,callback:null,next:null});e:{var Et=u,Ft=te;Ve=h;var Dn=g;switch(Ft.tag){case 1:if(Et=Ft.payload,typeof Et=="function"){it=Et.call(Dn,it,Ve);break e}it=Et;break e;case 3:Et.flags=Et.flags&-65537|128;case 0:if(Et=Ft.payload,Ve=typeof Et=="function"?Et.call(Dn,it,Ve):Et,Ve==null)break e;it=f({},it,Ve);break e;case 2:_c=!0}}Ve=te.callback,Ve!==null&&(u.flags|=64,Ye&&(u.flags|=8192),Ye=E.callbacks,Ye===null?E.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=E.shared.pending,te===null)break;Ye=te,te=Ye.next,Ye.next=null,E.lastBaseUpdate=Ye,E.shared.pending=null}}while(!0);Je===null&&(Se=it),E.baseState=Se,E.firstBaseUpdate=ze,E.lastBaseUpdate=Je,N===null&&(E.shared.lanes=0),Cc|=j,u.lanes=j,u.memoizedState=it}}function XL(u,h){if(typeof u!="function")throw Error(i(191,u));u.call(h)}function YL(u,h){var g=u.callbacks;if(g!==null)for(u.callbacks=null,u=0;uN?N:8;var j=q.T,te={};q.T=te,SM(u,!1,h,g);try{var Se=E(),ze=q.S;if(ze!==null&&ze(te,Se),Se!==null&&typeof Se=="object"&&typeof Se.then=="function"){var Je=NJ(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=N,j!==null&&te.types!==null&&(j.types=te.types),q.T=j}}function FJ(){}function bM(u,h,g,_){if(u.tag!==5)throw Error(i(476));var E=Tk(u).queue;Ak(u,E,h,Y,g===null?FJ:function(){return Ck(u),g(_)})}function Tk(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 Ck(u){var h=Tk(u);h.next===null&&(h=u.alternate.memoizedState),km(u,h.next.queue,{},Wa())}function _M(){return Cr(Jm)}function Rk(){return _i().memoizedState}function Pk(){return _i().memoizedState}function zJ(u){for(var h=u.return;h!==null;){switch(h.tag){case 24:case 3:var g=Wa();u=Sc(g);var _=wc(h,u,g);_!==null&&(wa(_,h,g),Pm(_,h,g)),h={cache:Kw()},u.payload=h;return}h=h.return}}function BJ(u,h,g){var _=Wa();g={lane:_,revertLane:0,gesture:null,action:g,hasEagerState:!1,eagerState:null,next:null},dx(u)?Nk(h,g):(g=zw(u,h,g,_),g!==null&&(wa(g,u,_),Ok(g,h,_)))}function Dk(u,h,g){var _=Wa();km(u,h,g,_)}function km(u,h,g,_){var E={lane:_,revertLane:0,gesture:null,action:g,hasEagerState:!1,eagerState:null,next:null};if(dx(u))Nk(h,E);else{var N=u.alternate;if(u.lanes===0&&(N===null||N.lanes===0)&&(N=h.lastRenderedReducer,N!==null))try{var j=h.lastRenderedState,te=N(j,g);if(E.hasEagerState=!0,E.eagerState=te,Ba(te,j))return $v(u,h,E,0),Bn===null&&Gv(),!1}catch{}finally{}if(g=zw(u,h,E,_),g!==null)return wa(g,u,_),Ok(g,h,_),!0}return!1}function SM(u,h,g,_){if(_={lane:2,revertLane:eE(),gesture:null,action:_,hasEagerState:!1,eagerState:null,next:null},dx(u)){if(h)throw Error(i(479))}else h=zw(u,g,_,2),h!==null&&wa(h,u,2)}function dx(u){var h=u.alternate;return u===Wt||h!==null&&h===Wt}function Nk(u,h){Wf=rx=!0;var g=u.pending;g===null?h.next=h:(h.next=g.next,g.next=h),u.pending=h}function Ok(u,h,g){if((g&4194048)!==0){var _=h.lanes;_&=u.pendingLanes,g|=_,h.lanes=g,zn(u,g)}}var Im={readContext:Cr,use:ox,useCallback:di,useContext:di,useEffect:di,useImperativeHandle:di,useLayoutEffect:di,useInsertionEffect:di,useMemo:di,useReducer:di,useRef:di,useState:di,useDebugValue:di,useDeferredValue:di,useTransition:di,useSyncExternalStore:di,useId:di,useHostTransitionStatus:di,useFormState:di,useActionState:di,useOptimistic:di,useMemoCache:di,useCacheRefresh:di};Im.useEffectEvent=di;var Lk={readContext:Cr,use:ox,useCallback:function(u,h){return ra().memoizedState=[u,h===void 0?null:h],u},useContext:Cr,useEffect:vk,useImperativeHandle:function(u,h,g){g=g!=null?g.concat([u]):null,cx(4194308,4,_k.bind(null,h,u),g)},useLayoutEffect:function(u,h){return cx(4194308,4,u,h)},useInsertionEffect:function(u,h){cx(4,2,u,h)},useMemo:function(u,h){var g=ra();h=h===void 0?null:h;var _=u();if(id){ut(!0);try{u()}finally{ut(!1)}}return g.memoizedState=[_,h],_},useReducer:function(u,h,g){var _=ra();if(g!==void 0){var E=g(h);if(id){ut(!0);try{g(h)}finally{ut(!1)}}}else E=h;return _.memoizedState=_.baseState=E,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:u,lastRenderedState:E},_.queue=u,u=u.dispatch=BJ.bind(null,Wt,u),[_.memoizedState,u]},useRef:function(u){var h=ra();return u={current:u},h.memoizedState=u},useState:function(u){u=mM(u);var h=u.queue,g=Dk.bind(null,Wt,h);return h.dispatch=g,[u.memoizedState,g]},useDebugValue:xM,useDeferredValue:function(u,h){var g=ra();return yM(g,u,h)},useTransition:function(){var u=mM(!1);return u=Ak.bind(null,Wt,u.queue,!0,!1),ra().memoizedState=u,[!1,u]},useSyncExternalStore:function(u,h,g){var _=Wt,E=ra();if(fn){if(g===void 0)throw Error(i(407));g=g()}else{if(g=h(),Bn===null)throw Error(i(349));(cn&127)!==0||tk(_,h,g)}E.memoizedState=g;var N={value:g,getSnapshot:h};return E.queue=N,vk(ik.bind(null,_,N,u),[u]),_.flags|=2048,Xf(9,{destroy:void 0},nk.bind(null,_,N,g,h),null),g},useId:function(){var u=ra(),h=Bn.identifierPrefix;if(fn){var g=_o,_=bo;g=(_&~(1<<32-et(_)-1)).toString(32)+g,h="_"+h+"R_"+g,g=ax++,0<\/script>",N=N.removeChild(N.firstChild);break;case"select":N=typeof _.is=="string"?j.createElement("select",{is:_.is}):j.createElement("select"),_.multiple?N.multiple=!0:_.size&&(N.size=_.size);break;default:N=typeof _.is=="string"?j.createElement(E,{is:_.is}):j.createElement(E)}}N[ri]=h,N[xi]=_;e:for(j=h.child;j!==null;){if(j.tag===5||j.tag===6)N.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=N;e:switch(Pr(N,E,_),E){case"button":case"input":case"select":case"textarea":_=!!_.autoFocus;break e;case"img":_=!0;break e;default:_=!1}_&&sl(h)}}return Xn(h),IM(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,E=Tr,E!==null)switch(E.tag){case 27:case 5:_=E.memoizedProps}u[ri]=h,u=!!(u.nodeValue===g||_!==null&&_.suppressHydrationWarning===!0||QI(u.nodeValue,g)),u||yc(h,!0)}else u=Dx(u).createTextNode(_),u[ri]=h,h.stateNode=u}return Xn(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[ri]=h}else Ku(),(h.flags&128)===0&&(h.memoizedState=null),h.flags|=4;Xn(h),u=!1}else g=Ww(),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 Xn(h),null;case 13:if(_=h.memoizedState,u===null||u.memoizedState!==null&&u.memoizedState.dehydrated!==null){if(E=zf(h),_!==null&&_.dehydrated!==null){if(u===null){if(!E)throw Error(i(318));if(E=h.memoizedState,E=E!==null?E.dehydrated:null,!E)throw Error(i(317));E[ri]=h}else Ku(),(h.flags&128)===0&&(h.memoizedState=null),h.flags|=4;Xn(h),E=!1}else E=Ww(),u!==null&&u.memoizedState!==null&&(u.memoizedState.hydrationErrors=E),E=!0;if(!E)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,E=null,_.alternate!==null&&_.alternate.memoizedState!==null&&_.alternate.memoizedState.cachePool!==null&&(E=_.alternate.memoizedState.cachePool.pool),N=null,_.memoizedState!==null&&_.memoizedState.cachePool!==null&&(N=_.memoizedState.cachePool.pool),N!==E&&(_.flags|=2048)),g!==u&&g&&(h.child.flags|=8192),gx(h,h.updateQueue),Xn(h),null);case 4:return he(),u===null&&rE(h.stateNode.containerInfo),Xn(h),null;case 10:return nl(h.type),Xn(h),null;case 19:if(X(bi),_=h.memoizedState,_===null)return Xn(h),null;if(E=(h.flags&128)!==0,N=_.rendering,N===null)if(E)Fm(_,!1);else{if(fi!==0||u!==null&&(u.flags&128)!==0)for(u=h.child;u!==null;){if(N=ix(u),N!==null){for(h.flags|=128,Fm(_,!1),u=N.updateQueue,h.updateQueue=u,gx(h,u),h.subtreeFlags=0,u=g,g=h.child;g!==null;)DL(g,u),g=g.sibling;return re(bi,bi.current&1|2),fn&&el(h,_.treeForkCount),h.child}u=u.sibling}_.tail!==null&&L()>_x&&(h.flags|=128,E=!0,Fm(_,!1),h.lanes=4194304)}else{if(!E)if(u=ix(N),u!==null){if(h.flags|=128,E=!0,u=u.updateQueue,h.updateQueue=u,gx(h,u),Fm(_,!0),_.tail===null&&_.tailMode==="hidden"&&!N.alternate&&!fn)return Xn(h),null}else 2*L()-_.renderingStartTime>_x&&g!==536870912&&(h.flags|=128,E=!0,Fm(_,!1),h.lanes=4194304);_.isBackwards?(N.sibling=h.child,h.child=N):(u=_.last,u!==null?u.sibling=N:h.child=N,_.last=N)}return _.tail!==null?(u=_.tail,_.rendering=u,_.tail=u.sibling,_.renderingStartTime=L(),u.sibling=null,g=bi.current,re(bi,E?g&1|2:g&1),fn&&el(h,_.treeForkCount),u):(Xn(h),null);case 22:case 23:return Va(h),aM(),_=h.memoizedState!==null,u!==null?u.memoizedState!==null!==_&&(h.flags|=8192):_&&(h.flags|=8192),_?(g&536870912)!==0&&(h.flags&128)===0&&(Xn(h),h.subtreeFlags&6&&(h.flags|=8192)):Xn(h),g=h.updateQueue,g!==null&&gx(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(Qu),null;case 24:return g=null,u!==null&&(g=u.memoizedState.cache),h.memoizedState.cache!==g&&(h.flags|=2048),nl(Ti),Xn(h),null;case 25:return null;case 30:return null}throw Error(i(156,h.tag))}function $J(u,h){switch(Gw(h),h.tag){case 1:return u=h.flags,u&65536?(h.flags=u&-65537|128,h):null;case 3:return nl(Ti),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));Ku()}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));Ku()}return u=h.flags,u&65536?(h.flags=u&-65537|128,h):null;case 19:return X(bi),null;case 4:return he(),null;case 10:return nl(h.type),null;case 22:case 23:return Va(h),aM(),u!==null&&X(Qu),u=h.flags,u&65536?(h.flags=u&-65537|128,h):null;case 24:return nl(Ti),null;case 25:return null;default:return null}}function rI(u,h){switch(Gw(h),h.tag){case 3:nl(Ti),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(bi);break;case 10:nl(h.type);break;case 22:case 23:Va(h),aM(),u!==null&&X(Qu);break;case 24:nl(Ti)}}function zm(u,h){try{var g=h.updateQueue,_=g!==null?g.lastEffect:null;if(_!==null){var E=_.next;g=E;do{if((g.tag&u)===u){_=void 0;var N=g.create,j=g.inst;_=N(),j.destroy=_}g=g.next}while(g!==E)}}catch(te){An(h,h.return,te)}}function Ac(u,h,g){try{var _=h.updateQueue,E=_!==null?_.lastEffect:null;if(E!==null){var N=E.next;_=N;do{if((_.tag&u)===u){var j=_.inst,te=j.destroy;if(te!==void 0){j.destroy=void 0,E=h;var Se=g,ze=te;try{ze()}catch(Je){An(E,Se,Je)}}}_=_.next}while(_!==N)}}catch(Je){An(h,h.return,Je)}}function aI(u){var h=u.updateQueue;if(h!==null){var g=u.stateNode;try{YL(h,g)}catch(_){An(u,u.return,_)}}}function sI(u,h,g){g.props=rd(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(E){An(u,h,E)}}function So(u,h){var g=u.ref,_=u.refCleanup;if(g!==null)if(typeof _=="function")try{_()}catch(E){An(u,h,E)}finally{u.refCleanup=null,u=u.alternate,u!=null&&(u.refCleanup=null)}else if(typeof g=="function")try{g(null)}catch(E){An(u,h,E)}else g.current=null}function oI(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(E){An(u,u.return,E)}}function UM(u,h,g){try{var _=u.stateNode;hQ(_,u.type,g,h),_[xi]=h}catch(E){An(u,u.return,E)}}function lI(u){return u.tag===5||u.tag===3||u.tag===26||u.tag===27&&Oc(u.type)||u.tag===4}function FM(u){e:for(;;){for(;u.sibling===null;){if(u.return===null||lI(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&&Oc(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 zM(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&&Oc(u.type)&&(g=u.stateNode,h=null),u=u.child,u!==null))for(zM(u,h,g),u=u.sibling;u!==null;)zM(u,h,g),u=u.sibling}function vx(u,h,g){var _=u.tag;if(_===5||_===6)u=u.stateNode,h?g.insertBefore(u,h):g.appendChild(u);else if(_!==4&&(_===27&&Oc(u.type)&&(g=u.stateNode),u=u.child,u!==null))for(vx(u,h,g),u=u.sibling;u!==null;)vx(u,h,g),u=u.sibling}function cI(u){var h=u.stateNode,g=u.memoizedProps;try{for(var _=u.type,E=h.attributes;E.length;)h.removeAttributeNode(E[0]);Pr(h,_,g),h[ri]=u,h[xi]=g}catch(N){An(u,u.return,N)}}var ol=!1,Pi=!1,BM=!1,uI=typeof WeakSet=="function"?WeakSet:Set,hr=null;function WJ(u,h){if(u=u.containerInfo,oE=Fx,u=SL(u),Ow(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 E=_.anchorOffset,N=_.focusNode;_=_.focusOffset;try{g.nodeType,N.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||E!==0&&it.nodeType!==3||(te=j+E),it!==N||_!==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===E&&(te=j),Ve===N&&++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(lE={focusedElem:u,selectionRange:g},Fx=!1,hr=h;hr!==null;)if(h=hr,u=h.child,(h.subtreeFlags&1028)!==0&&u!==null)u.return=h,hr=u;else for(;hr!==null;){switch(h=hr,N=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(N,_,g),N[ri]=u,Re(N),_=N;break e;case"link":var j=gU("link","href",E).get(_+(g.href||""));if(j){for(var te=0;teDn&&(j=Dn,Dn=Ft,Ft=j);var Oe=bL(te,Ft),Te=bL(te,Dn);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>Dn?(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 N=Pc,j=fl;if(Wi=0,Qf=Pc=null,fl=0,(_n&6)!==0)throw Error(i(331));var te=_n;if(_n|=4,_I(N.current),xI(N,N.current,j,g),_n=te,Wm(0,!1),De&&typeof De.onPostCommitFiberRoot=="function")try{De.onPostCommitFiberRoot(Ue,N)}catch{}return!0}finally{G.p=E,q.T=_,zI(u,h)}}function jI(u,h,g){h=us(g,h),h=AM(u.stateNode,h,2),u=wc(u,h,2),u!==null&&(en(u,2),wo(u))}function An(u,h,g){if(u.tag===3)jI(u,u,g);else for(;h!==null;){if(h.tag===3){jI(h,u,g);break}else if(h.tag===1){var _=h.stateNode;if(typeof h.type.getDerivedStateFromError=="function"||typeof _.componentDidCatch=="function"&&(Rc===null||!Rc.has(_))){u=us(g,u),g=Hk(2),_=wc(h,g,2),_!==null&&(Vk(g,_,h,u),en(_,2),wo(_));break}}h=h.return}}function ZM(u,h,g){var _=u.pingCache;if(_===null){_=u.pingCache=new YJ;var E=new Set;_.set(h,E)}else E=_.get(h),E===void 0&&(E=new Set,_.set(h,E));E.has(g)||(VM=!0,E.add(g),u=eQ.bind(null,u,h,g),h.then(u,u))}function eQ(u,h,g){var _=u.pingCache;_!==null&&_.delete(h),u.pingedLanes|=u.suspendedLanes&g,u.warmLanes&=~g,Bn===u&&(cn&g)===g&&(fi===4||fi===3&&(cn&62914560)===cn&&300>L()-bx?(_n&2)===0&&eh(u,0):GM|=g,Jf===cn&&(Jf=0)),wo(u)}function HI(u,h){h===0&&(h=vt()),u=Xu(u,h),u!==null&&(en(u,h),wo(u))}function tQ(u){var h=u.memoizedState,g=0;h!==null&&(g=h.retryLane),HI(u,g)}function nQ(u,h){var g=0;switch(u.tag){case 31:case 13:var _=u.stateNode,E=u.memoizedState;E!==null&&(g=E.retryLane);break;case 19:_=u.stateNode;break;case 22:_=u.stateNode._retryCache;break;default:throw Error(i(314))}_!==null&&_.delete(h),HI(u,g)}function iQ(u,h){return ie(u,h)}var Tx=null,nh=null,JM=!1,Cx=!1,QM=!1,Nc=0;function wo(u){u!==nh&&u.next===null&&(nh===null?Tx=nh=u:nh=nh.next=u),Cx=!0,JM||(JM=!0,aQ())}function Wm(u,h){if(!QM&&Cx){QM=!0;do for(var g=!1,_=Tx;_!==null;){if(u!==0){var E=_.pendingLanes;if(E===0)var N=0;else{var j=_.suspendedLanes,te=_.pingedLanes;N=(1<<31-et(42|u)+1)-1,N&=E&~(j&~te),N=N&201326741?N&201326741|1:N?N|2:0}N!==0&&(g=!0,WI(_,N))}else N=cn,N=ge(_,_===Bn?N:0,_.cancelPendingCommit!==null||_.timeoutHandle!==-1),(N&3)===0||je(_,N)||(g=!0,WI(_,N));_=_.next}while(g);QM=!1}}function rQ(){VI()}function VI(){Cx=JM=!1;var u=0;Nc!==0&&mQ()&&(u=Nc);for(var h=L(),g=null,_=Tx;_!==null;){var E=_.next,N=GI(_,h);N===0?(_.next=null,g===null?Tx=E:g.next=E,E===null&&(nh=g)):(g=_,(u!==0||(N&3)!==0)&&(Cx=!0)),_=E}Wi!==0&&Wi!==5||Wm(u),Nc!==0&&(Nc=0)}function GI(u,h){for(var g=u.suspendedLanes,_=u.pingedLanes,E=u.expirationTimes,N=u.pendingLanes&-62914561;0te)break;var Je=Se.transferSize,it=Se.initiatorType;Je&&eU(it)&&(Se=Se.responseEnd,j+=Je*(Se"u"?null:document;function fU(u,h,g){var _=ih;if(_&&typeof h=="string"&&h){var E=Sn(h);E='link[rel="'+u+'"][href="'+E+'"]',typeof g=="string"&&(E+='[crossorigin="'+g+'"]'),dU.has(E)||(dU.add(E),u={rel:u,crossOrigin:g,href:h},_.querySelector(E)===null&&(h=_.createElement("link"),Pr(h,"link",u),Re(h),_.head.appendChild(h)))}}function MQ(u){hl.D(u),fU("dns-prefetch",u,null)}function EQ(u,h){hl.C(u,h),fU("preconnect",u,h)}function AQ(u,h,g){hl.L(u,h,g);var _=ih;if(_&&u&&h){var E='link[rel="preload"][as="'+Sn(h)+'"]';h==="image"&&g&&g.imageSrcSet?(E+='[imagesrcset="'+Sn(g.imageSrcSet)+'"]',typeof g.imageSizes=="string"&&(E+='[imagesizes="'+Sn(g.imageSizes)+'"]')):E+='[href="'+Sn(u)+'"]';var N=E;switch(h){case"style":N=rh(u);break;case"script":N=ah(u)}gs.has(N)||(u=f({rel:"preload",href:h==="image"&&g&&g.imageSrcSet?void 0:u,as:h},g),gs.set(N,u),_.querySelector(E)!==null||h==="style"&&_.querySelector(Km(N))||h==="script"&&_.querySelector(Zm(N))||(h=_.createElement("link"),Pr(h,"link",u),Re(h),_.head.appendChild(h)))}}function TQ(u,h){hl.m(u,h);var g=ih;if(g&&u){var _=h&&typeof h.as=="string"?h.as:"script",E='link[rel="modulepreload"][as="'+Sn(_)+'"][href="'+Sn(u)+'"]',N=E;switch(_){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":N=ah(u)}if(!gs.has(N)&&(u=f({rel:"modulepreload",href:u},h),gs.set(N,u),g.querySelector(E)===null)){switch(_){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(g.querySelector(Zm(N)))return}_=g.createElement("link"),Pr(_,"link",u),Re(_),g.head.appendChild(_)}}}function CQ(u,h,g){hl.S(u,h,g);var _=ih;if(_&&u){var E=Pe(_).hoistableStyles,N=rh(u);h=h||"default";var j=E.get(N);if(!j){var te={loading:0,preload:null};if(j=_.querySelector(Km(N)))te.loading=5;else{u=f({rel:"stylesheet",href:u,"data-precedence":h},g),(g=gs.get(N))&&mE(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,Ox(j,h,_)}j={type:"stylesheet",instance:j,count:1,state:te},E.set(N,j)}}}function RQ(u,h){hl.X(u,h);var g=ih;if(g&&u){var _=Pe(g).hoistableScripts,E=ah(u),N=_.get(E);N||(N=g.querySelector(Zm(E)),N||(u=f({src:u,async:!0},h),(h=gs.get(E))&&gE(u,h),N=g.createElement("script"),Re(N),Pr(N,"link",u),g.head.appendChild(N)),N={type:"script",instance:N,count:1,state:null},_.set(E,N))}}function PQ(u,h){hl.M(u,h);var g=ih;if(g&&u){var _=Pe(g).hoistableScripts,E=ah(u),N=_.get(E);N||(N=g.querySelector(Zm(E)),N||(u=f({src:u,async:!0,type:"module"},h),(h=gs.get(E))&&gE(u,h),N=g.createElement("script"),Re(N),Pr(N,"link",u),g.head.appendChild(N)),N={type:"script",instance:N,count:1,state:null},_.set(E,N))}}function hU(u,h,g,_){var E=(E=me.current)?Nx(E):null;if(!E)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=Pe(E).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 N=Pe(E).hoistableStyles,j=N.get(u);if(j||(E=E.ownerDocument||E,j={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},N.set(u,j),(N=E.querySelector(Km(u)))&&!N._p&&(j.instance=N,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),N||DQ(E,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=Pe(E).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 pU(u){return f({},u,{"data-precedence":u.precedence,precedence:null})}function DQ(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 mU(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 E=f({},g,{"data-href":g.href,"data-precedence":g.precedence,href:null,precedence:null});return _=(u.ownerDocument||u).createElement("style"),Re(_),Pr(_,"style",E),Ox(_,g.precedence,u),h.instance=_;case"stylesheet":E=rh(g.href);var N=u.querySelector(Km(E));if(N)return h.state.loading|=4,h.instance=N,Re(N),N;_=pU(g),(E=gs.get(E))&&mE(_,E),N=(u.ownerDocument||u).createElement("link"),Re(N);var j=N;return j._p=new Promise(function(te,Se){j.onload=te,j.onerror=Se}),Pr(N,"link",_),h.state.loading|=4,Ox(N,g.precedence,u),h.instance=N;case"script":return N=ah(g.src),(E=u.querySelector(Zm(N)))?(h.instance=E,Re(E),E):(_=g,(E=gs.get(N))&&(_=f({},g),gE(_,E)),u=u.ownerDocument||u,E=u.createElement("script"),Re(E),Pr(E,"link",_),u.head.appendChild(E),h.instance=E);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,Ox(_,g.precedence,u));return h.instance}function Ox(u,h,g){for(var _=g.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),E=_.length?_[_.length-1]:null,N=E,j=0;j<_.length;j++){var te=_[j];if(te.dataset.precedence===h)N=te;else if(N!==E)break}N?N.parentNode.insertBefore(u,N.nextSibling):(h=g.nodeType===9?g.head:g,h.insertBefore(u,h.firstChild))}function mE(u,h){u.crossOrigin==null&&(u.crossOrigin=h.crossOrigin),u.referrerPolicy==null&&(u.referrerPolicy=h.referrerPolicy),u.title==null&&(u.title=h.title)}function gE(u,h){u.crossOrigin==null&&(u.crossOrigin=h.crossOrigin),u.referrerPolicy==null&&(u.referrerPolicy=h.referrerPolicy),u.integrity==null&&(u.integrity=h.integrity)}var Lx=null;function gU(u,h,g){if(Lx===null){var _=new Map,E=Lx=new Map;E.set(g,_)}else E=Lx,_=E.get(g),_||(_=new Map,E.set(g,_));if(_.has(u))return _;for(_.set(u,null),g=g.getElementsByTagName(u),E=0;E title"):null)}function NQ(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 xU(u){return!(u.type==="stylesheet"&&(u.state.loading&3)===0)}function OQ(u,h,g,_){if(g.type==="stylesheet"&&(typeof _.media!="string"||matchMedia(_.media).matches!==!1)&&(g.state.loading&4)===0){if(g.instance===null){var E=rh(_.href),N=h.querySelector(Km(E));if(N){h=N._p,h!==null&&typeof h=="object"&&typeof h.then=="function"&&(u.count++,u=kx.bind(u),h.then(u,u)),g.state.loading|=4,g.instance=N,Re(N);return}N=h.ownerDocument||h,_=pU(_),(E=gs.get(E))&&mE(_,E),N=N.createElement("link"),Re(N);var j=N;j._p=new Promise(function(te,Se){j.onload=te,j.onerror=Se}),Pr(N,"link",_),g.instance=N}u.stylesheets===null&&(u.stylesheets=new Map),u.stylesheets.set(g,h),(h=g.state.preload)&&(g.state.loading&3)===0&&(u.count++,g=kx.bind(u),h.addEventListener("load",g),h.addEventListener("error",g))}}var vE=0;function LQ(u,h){return u.stylesheets&&u.count===0&&Ux(u,u.stylesheets),0vE?50:800)+h);return u.unsuspend=g,function(){u.unsuspend=null,clearTimeout(_),clearTimeout(E)}}:null}function kx(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Ux(this,this.stylesheets);else if(this.unsuspend){var u=this.unsuspend;this.unsuspend=null,u()}}}var Ix=null;function Ux(u,h){u.stylesheets=null,u.unsuspend!==null&&(u.count++,Ix=new Map,h.forEach(kQ,u),Ix=null,kx.call(u))}function kQ(u,h){if(!(h.state.loading&4)){var g=Ix.get(u);if(g)var _=g.get(null);else{g=new Map,Ix.set(u,g);for(var E=u.querySelectorAll("link[data-precedence],style[data-precedence]"),N=0;N"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),AE.exports=JQ(),AE.exports}var eee=QQ();var HU="popstate";function tee(t={}){function e(i,r){let{pathname:a,search:s,hash:o}=i.location;return f2("",{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:s0(r)}return iee(e,n,null,t)}function si(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 nee(){return Math.random().toString(36).substring(2,10)}function VU(t,e){return{usr:t.state,key:t.key,idx:e}}function f2(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||nee()}}function s0({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 iee(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=f2(b.location,x,v);c=d()+1;let M=VU(w,c),A=b.createHref(w);try{s.pushState(M,"",A)}catch(T){if(T instanceof DOMException&&T.name==="DataCloneError")throw T;r.location.assign(A)}a&&l&&l({action:o,location:b.location,delta:1})}function m(x,v){o="REPLACE";let w=f2(b.location,x,v);c=d();let M=VU(w,c),A=b.createHref(w);s.replaceState(M,"",A),a&&l&&l({action:o,location:b.location,delta:0})}function y(x){return ree(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(HU,f),l=x,()=>{r.removeEventListener(HU,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 ree(t,e=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),si(n,"No window.location.(origin|href) available to create URL");let i=typeof t=="string"?t:s0(t);return i=i.replace(/ $/,"%20"),!e&&i.startsWith("//")&&(i=n+i),new URL(i,n)}function _V(t,e,n="/"){return aee(t,e,n,!1)}function aee(t,e,n,i){let r=typeof e=="string"?Vp(e):e,a=Zl(r.pathname||"/",n);if(a==null)return null;let s=SV(t);see(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;si(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&&(si(s.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${f}".`),SV(s.children,e,p,f,l)),!(s.path==null&&!s.index)&&e.push({path:f,score:hee(f,s.index),routesMeta:p})};return t.forEach((s,o)=>{if(s.path===""||!s.path?.includes("?"))a(s,o);else for(let l of wV(s.path))a(s,o,!0,l)}),e}function wV(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=wV(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 see(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:pee(e.routesMeta.map(i=>i.childrenIndex),n.routesMeta.map(i=>i.childrenIndex)))}var oee=/^:[\w-]+$/,lee=3,cee=2,uee=1,dee=10,fee=-2,GU=t=>t==="*";function hee(t,e){let n=t.split("/"),i=n.length;return n.some(GU)&&(i+=fee),e&&(i+=cee),n.filter(r=>!GU(r)).reduce((r,a)=>r+(oee.test(a)?lee:a===""?uee:dee),i)}function pee(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 mee(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 gee(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 vee(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 xee=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,yee=t=>xee.test(t);function bee(t,e="/"){let{pathname:n,search:i="",hash:r=""}=typeof t=="string"?Vp(t):t,a;if(n)if(yee(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=$U(n.substring(1),"/"):a=$U(n,e)}else a=e;return{pathname:a,search:wee(i),hash:Mee(r)}}function $U(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 PE(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 _ee(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function MV(t){let e=_ee(t);return e.map((n,i)=>i===e.length-1?n.pathname:n.pathnameBase)}function EV(t,e,n,i=!1){let r;typeof t=="string"?r=Vp(t):(r={...t},si(!r.pathname||!r.pathname.includes("?"),PE("?","pathname","search",r)),si(!r.pathname||!r.pathname.includes("#"),PE("#","pathname","hash",r)),si(!r.search||!r.search.includes("#"),PE("#","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=bee(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,"/"),See=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),wee=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,Mee=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function Eee(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 AV=["POST","PUT","PATCH","DELETE"];new Set(AV);var Aee=["GET",...AV];new Set(Aee);var Gp=R.createContext(null);Gp.displayName="DataRouter";var Z1=R.createContext(null);Z1.displayName="DataRouterState";R.createContext(!1);var TV=R.createContext({isTransitioning:!1});TV.displayName="ViewTransition";var Tee=R.createContext(new Map);Tee.displayName="Fetchers";var Cee=R.createContext(null);Cee.displayName="Await";var qo=R.createContext(null);qo.displayName="Navigation";var K0=R.createContext(null);K0.displayName="Location";var Xo=R.createContext({outlet:null,matches:[],isDataRoute:!1});Xo.displayName="Route";var hP=R.createContext(null);hP.displayName="RouteError";function Ree(t,{relative:e}={}){si(Z0(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:i}=R.useContext(qo),{hash:r,pathname:a,search:s}=J0(t,{relative:e}),o=a;return n!=="/"&&(o=a==="/"?n:Vl([n,a])),i.createHref({pathname:o,search:s,hash:r})}function Z0(){return R.useContext(K0)!=null}function wf(){return si(Z0(),"useLocation() may be used only in the context of a component."),R.useContext(K0).location}var CV="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function RV(t){R.useContext(qo).static||R.useLayoutEffect(t)}function PV(){let{isDataRoute:t}=R.useContext(Xo);return t?Gee():Pee()}function Pee(){si(Z0(),"useNavigate() may be used only in the context of a component.");let t=R.useContext(Gp),{basename:e,navigator:n}=R.useContext(qo),{matches:i}=R.useContext(Xo),{pathname:r}=wf(),a=JSON.stringify(MV(i)),s=R.useRef(!1);return RV(()=>{s.current=!0}),R.useCallback((l,c={})=>{if(po(s.current,CV),!s.current)return;if(typeof l=="number"){n.go(l);return}let d=EV(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 Dee=R.createContext(null);function Nee(t){let e=R.useContext(Xo).outlet;return R.useMemo(()=>e&&R.createElement(Dee.Provider,{value:t},e),[e,t])}function J0(t,{relative:e}={}){let{matches:n}=R.useContext(Xo),{pathname:i}=wf(),r=JSON.stringify(MV(n));return R.useMemo(()=>EV(t,JSON.parse(r),i,e==="path"),[t,r,i,e])}function Oee(t,e){return DV(t,e)}function DV(t,e,n,i,r){si(Z0(),"useRoutes() may be used only in the context of a component.");let{navigator:a}=R.useContext(qo),{matches:s}=R.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||"";NV(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;si(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=_V(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=Fee(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?R.createElement(K0.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...m},navigationType:"POP"}},v):v}function Lee(){let t=Vee(),e=Eee(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=R.createElement(R.Fragment,null,R.createElement("p",null,"💿 Hey developer 👋"),R.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",R.createElement("code",{style:a},"ErrorBoundary")," or"," ",R.createElement("code",{style:a},"errorElement")," prop on your route.")),R.createElement(R.Fragment,null,R.createElement("h2",null,"Unexpected Application Error!"),R.createElement("h3",{style:{fontStyle:"italic"}},e),n?R.createElement("pre",{style:r},n):null,s)}var kee=R.createElement(Lee,null),Iee=class extends R.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?R.createElement(Xo.Provider,{value:this.props.routeContext},R.createElement(hP.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Uee({routeContext:t,match:e,children:n}){let i=R.useContext(Gp);return i&&i.static&&i.staticContext&&(e.route.errorElement||e.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=e.route.id),R.createElement(Xo.Provider,{value:t},n)}function Fee(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);si(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||kee,o&&(l<0&&p===0?(NV("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=R.createElement(f.route.Component,null):f.route.element?M=f.route.element:M=d,R.createElement(Uee,{match:f,routeContext:{outlet:d,matches:v,isDataRoute:n!=null},children:M})};return n&&(f.route.ErrorBoundary||f.route.errorElement||p===0)?R.createElement(Iee,{location:n.location,revalidation:n.revalidation,component:b,error:m,children:w(),routeContext:{outlet:null,matches:v,isDataRoute:!0},onError:c}):w()},null)}function pP(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function zee(t){let e=R.useContext(Gp);return si(e,pP(t)),e}function Bee(t){let e=R.useContext(Z1);return si(e,pP(t)),e}function jee(t){let e=R.useContext(Xo);return si(e,pP(t)),e}function mP(t){let e=jee(t),n=e.matches[e.matches.length-1];return si(n.route.id,`${t} can only be used on routes that contain a unique "id"`),n.route.id}function Hee(){return mP("useRouteId")}function Vee(){let t=R.useContext(hP),e=Bee("useRouteError"),n=mP("useRouteError");return t!==void 0?t:e.errors?.[n]}function Gee(){let{router:t}=zee("useNavigate"),e=mP("useNavigate"),n=R.useRef(!1);return RV(()=>{n.current=!0}),R.useCallback(async(r,a={})=>{po(n.current,CV),n.current&&(typeof r=="number"?t.navigate(r):await t.navigate(r,{fromRouteId:e,...a}))},[t,e])}var WU={};function NV(t,e,n){!e&&!WU[t]&&(WU[t]=!0,po(!1,n))}R.memo($ee);function $ee({routes:t,future:e,state:n,unstable_onError:i}){return DV(t,void 0,n,i,e)}function Wee(t){return Nee(t.context)}function yd(t){si(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function qee({basename:t="/",children:e=null,location:n,navigationType:i="POP",navigator:r,static:a=!1}){si(!Z0(),"You cannot render a inside another . You should never have more than one in your app.");let s=t.replace(/^\/*/,"/"),o=R.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=R.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:R.createElement(qo.Provider,{value:o},R.createElement(K0.Provider,{children:e,value:m}))}function Xee({children:t,location:e}){return Oee(h2(t),e)}function h2(t,e=[]){let n=[];return R.Children.forEach(t,(i,r)=>{if(!R.isValidElement(i))return;let a=[...e,r];if(i.type===R.Fragment){n.push.apply(n,h2(i.props.children,a));return}si(i.type===yd,`[${typeof i.type=="string"?i.type:i.type.name}] is not a component. All component children of must be a or `),si(!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=h2(i.props.children,a)),n.push(s)}),n}var wb="get",Mb="application/x-www-form-urlencoded";function J1(t){return t!=null&&typeof t.tagName=="string"}function Yee(t){return J1(t)&&t.tagName.toLowerCase()==="button"}function Kee(t){return J1(t)&&t.tagName.toLowerCase()==="form"}function Zee(t){return J1(t)&&t.tagName.toLowerCase()==="input"}function Jee(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function Qee(t,e){return t.button===0&&(!e||e==="_self")&&!Jee(t)}var Wx=null;function ete(){if(Wx===null)try{new FormData(document.createElement("form"),0),Wx=!1}catch{Wx=!0}return Wx}var tte=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function DE(t){return t!=null&&!tte.has(t)?(po(!1,`"${t}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Mb}"`),null):t}function nte(t,e){let n,i,r,a,s;if(Kee(t)){let o=t.getAttribute("action");i=o?Zl(o,e):null,n=t.getAttribute("method")||wb,r=DE(t.getAttribute("enctype"))||Mb,a=new FormData(t)}else if(Yee(t)||Zee(t)&&(t.type==="submit"||t.type==="image")){let o=t.form;if(o==null)throw new Error('Cannot submit a