From d72bc0db0309c71f7e723992e245b3f0599db6ce Mon Sep 17 00:00:00 2001 From: legop3 Date: Thu, 21 May 2026 03:06:33 -0400 Subject: [PATCH] removed title counters finally!!! --- .../public/assets/{index-DqC5SblS.js => index-D13hsMAR.js} | 6 +++--- server/public/index.html | 2 +- webui/src/components/HomeAssistantControls/index.jsx | 2 +- webui/src/components/LogPanel/index.jsx | 2 +- webui/src/components/RawUserPilePanel/index.jsx | 1 - webui/src/components/ReplaySourcesPanel/index.jsx | 2 +- webui/src/components/RoomCameraPanel/index.jsx | 1 - 7 files changed, 7 insertions(+), 9 deletions(-) rename server/public/assets/{index-DqC5SblS.js => index-D13hsMAR.js} (71%) diff --git a/server/public/assets/index-DqC5SblS.js b/server/public/assets/index-D13hsMAR.js similarity index 71% rename from server/public/assets/index-DqC5SblS.js rename to server/public/assets/index-D13hsMAR.js index 50e7a6d3..8c2ce76e 100644 --- a/server/public/assets/index-DqC5SblS.js +++ b/server/public/assets/index-D13hsMAR.js @@ -8,19 +8,19 @@ Error generating stack: `+i.message+` `+i.stack}}var ae=Object.prototype.hasOwnProperty,ie=n.unstable_scheduleCallback,de=n.unstable_cancelCallback,me=n.unstable_shouldYield,Re=n.unstable_requestPaint,ne=n.unstable_now,he=n.unstable_getCurrentPriorityLevel,_e=n.unstable_ImmediatePriority,tn=n.unstable_UserBlockingPriority,nn=n.unstable_NormalPriority,sn=n.unstable_LowPriority,wt=n.unstable_IdlePriority,Ae=n.log,tt=n.unstable_setDisableYieldValue,Xe=null,Ee=null;function ze(e){if(typeof Ae=="function"&&tt(e),Ee&&typeof Ee.setStrictMode=="function")try{Ee.setStrictMode(Xe,e)}catch{}}var rt=Math.clz32?Math.clz32:jt,Ts=Math.log,aa=Math.LN2;function jt(e){return e>>>=0,e===0?32:31-(Ts(e)/aa|0)|0}var wn=256,Ar=262144,Cr=4194304;function qs(e){var t=e&42;if(t!==0)return t;switch(e&-e){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 e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function kr(e,t,s){var i=e.pendingLanes;if(i===0)return 0;var c=0,d=e.suspendedLanes,y=e.pingedLanes;e=e.warmLanes;var C=i&134217727;return C!==0?(i=C&~d,i!==0?c=qs(i):(y&=C,y!==0?c=qs(y):s||(s=C&~e,s!==0&&(c=qs(s))))):(C=i&~d,C!==0?c=qs(C):y!==0?c=qs(y):s||(s=i&~e,s!==0&&(c=qs(s)))),c===0?0:t!==0&&t!==c&&(t&d)===0&&(d=c&-c,s=t&-t,d>=s||d===32&&(s&4194048)!==0)?t:c}function il(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function hv(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+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 t+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 Af(){var e=Cr;return Cr<<=1,(Cr&62914560)===0&&(Cr=4194304),e}function Do(e){for(var t=[],s=0;31>s;s++)t.push(e);return t}function ol(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function pv(e,t,s,i,c,d){var y=e.pendingLanes;e.pendingLanes=s,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=s,e.entangledLanes&=s,e.errorRecoveryDisabledLanes&=s,e.shellSuspendCounter=0;var C=e.entanglements,D=e.expirationTimes,F=e.hiddenUpdates;for(s=y&~s;0"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Sv=/[\n"\\]/g;function ln(e){return e.replace(Sv,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Uo(e,t,s,i,c,d,y,C){e.name="",y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?e.type=y:e.removeAttribute("type"),t!=null?y==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+an(t)):e.value!==""+an(t)&&(e.value=""+an(t)):y!=="submit"&&y!=="reset"||e.removeAttribute("value"),t!=null?Ho(e,y,an(t)):s!=null?Ho(e,y,an(s)):i!=null&&e.removeAttribute("value"),c==null&&d!=null&&(e.defaultChecked=!!d),c!=null&&(e.checked=c&&typeof c!="function"&&typeof c!="symbol"),C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"?e.name=""+an(C):e.removeAttribute("name")}function zf(e,t,s,i,c,d,y,C){if(d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.type=d),t!=null||s!=null){if(!(d!=="submit"&&d!=="reset"||t!=null)){zo(e);return}s=s!=null?""+an(s):"",t=t!=null?""+an(t):s,C||t===e.value||(e.value=t),e.defaultValue=t}i=i??c,i=typeof i!="function"&&typeof i!="symbol"&&!!i,e.checked=C?e.checked:!!i,e.defaultChecked=!!i,y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"&&(e.name=y),zo(e)}function Ho(e,t,s){t==="number"&&Rr(e.ownerDocument)===e||e.defaultValue===""+s||(e.defaultValue=""+s)}function ua(e,t,s,i){if(e=e.options,t){t={};for(var c=0;c"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Fo=!1;if(Bn)try{var fl={};Object.defineProperty(fl,"passive",{get:function(){Fo=!0}}),window.addEventListener("test",fl,fl),window.removeEventListener("test",fl,fl)}catch{Fo=!1}var rs=null,Io=null,qr=null;function Ff(){if(qr)return qr;var e,t=Io,s=t.length,i,c="value"in rs?rs.value:rs.textContent,d=c.length;for(e=0;e=pl),Jf=" ",Pf=!1;function Wf(e,t){switch(e){case"keyup":return Kv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function em(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ha=!1;function Jv(e,t){switch(e){case"compositionend":return em(t);case"keypress":return t.which!==32?null:(Pf=!0,Jf);case"textInput":return e=t.data,e===Jf&&Pf?null:e;default:return null}}function Pv(e,t){if(ha)return e==="compositionend"||!Jo&&Wf(e,t)?(e=Ff(),qr=Io=rs=null,ha=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:s,offset:t-e};e=i}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=om(s)}}function um(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?um(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function dm(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Rr(e.document);t instanceof e.HTMLIFrameElement;){try{var s=typeof t.contentWindow.location.href=="string"}catch{s=!1}if(s)e=t.contentWindow;else break;t=Rr(e.document)}return t}function ec(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var rb=Bn&&"documentMode"in document&&11>=document.documentMode,pa=null,tc=null,bl=null,nc=!1;function fm(e,t,s){var i=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;nc||pa==null||pa!==Rr(i)||(i=pa,"selectionStart"in i&&ec(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),bl&&vl(bl,i)||(bl=i,i=Ai(tc,"onSelect"),0>=y,c-=y,An=1<<32-rt(t)+c|s<De?(He=be,be=null):He=be.sibling;var Fe=K(V,be,Y[De],te);if(Fe===null){be===null&&(be=He);break}e&&be&&Fe.alternate===null&&t(V,be),L=d(Fe,L,De),Ye===null?we=Fe:Ye.sibling=Fe,Ye=Fe,be=He}if(De===Y.length)return s(V,be),Ve&&Ln(V,De),we;if(be===null){for(;DeDe?(He=be,be=null):He=be.sibling;var Es=K(V,be,Fe.value,te);if(Es===null){be===null&&(be=He);break}e&&be&&Es.alternate===null&&t(V,be),L=d(Es,L,De),Ye===null?we=Es:Ye.sibling=Es,Ye=Es,be=He}if(Fe.done)return s(V,be),Ve&&Ln(V,De),we;if(be===null){for(;!Fe.done;De++,Fe=Y.next())Fe=se(V,Fe.value,te),Fe!==null&&(L=d(Fe,L,De),Ye===null?we=Fe:Ye.sibling=Fe,Ye=Fe);return Ve&&Ln(V,De),we}for(be=i(be);!Fe.done;De++,Fe=Y.next())Fe=W(be,V,De,Fe.value,te),Fe!==null&&(e&&Fe.alternate!==null&&be.delete(Fe.key===null?De:Fe.key),L=d(Fe,L,De),Ye===null?we=Fe:Ye.sibling=Fe,Ye=Fe);return e&&be.forEach(function(Cy){return t(V,Cy)}),Ve&&Ln(V,De),we}function We(V,L,Y,te){if(typeof Y=="object"&&Y!==null&&Y.type===w&&Y.key===null&&(Y=Y.props.children),typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case k:e:{for(var we=Y.key;L!==null;){if(L.key===we){if(we=Y.type,we===w){if(L.tag===7){s(V,L.sibling),te=c(L,Y.props.children),te.return=V,V=te;break e}}else if(L.elementType===we||typeof we=="object"&&we!==null&&we.$$typeof===_&&Gs(we)===L.type){s(V,L.sibling),te=c(L,Y.props),Al(te,Y),te.return=V,V=te;break e}s(V,L);break}else t(V,L);L=L.sibling}Y.type===w?(te=zs(Y.props.children,V.mode,te,Y.key),te.return=V,V=te):(te=$r(Y.type,Y.key,Y.props,null,V.mode,te),Al(te,Y),te.return=V,V=te)}return y(V);case E:e:{for(we=Y.key;L!==null;){if(L.key===we)if(L.tag===4&&L.stateNode.containerInfo===Y.containerInfo&&L.stateNode.implementation===Y.implementation){s(V,L.sibling),te=c(L,Y.children||[]),te.return=V,V=te;break e}else{s(V,L);break}else t(V,L);L=L.sibling}te=cc(Y,V.mode,te),te.return=V,V=te}return y(V);case _:return Y=Gs(Y),We(V,L,Y,te)}if(re(Y))return ve(V,L,Y,te);if(Q(Y)){if(we=Q(Y),typeof we!="function")throw Error(o(150));return Y=we.call(Y),ke(V,L,Y,te)}if(typeof Y.then=="function")return We(V,L,Kr(Y),te);if(Y.$$typeof===A)return We(V,L,Fr(V,Y),te);Zr(V,Y)}return typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint"?(Y=""+Y,L!==null&&L.tag===6?(s(V,L.sibling),te=c(L,Y),te.return=V,V=te):(s(V,L),te=oc(Y,V.mode,te),te.return=V,V=te),y(V)):s(V,L)}return function(V,L,Y,te){try{wl=0;var we=We(V,L,Y,te);return Ca=null,we}catch(be){if(be===Aa||be===Xr)throw be;var Ye=Ft(29,be,null,V.mode);return Ye.lanes=te,Ye.return=V,Ye}finally{}}}var Fs=Bm(!0),Om=Bm(!1),ds=!1;function Sc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function jc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function fs(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ms(e,t,s){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,(Ie&2)!==0){var c=i.pending;return c===null?t.next=t:(t.next=c.next,c.next=t),i.pending=t,t=Vr(e),bm(e,null,s),t}return Hr(e,i,t,s),Vr(e)}function Cl(e,t,s){if(t=t.updateQueue,t!==null&&(t=t.shared,(s&4194048)!==0)){var i=t.lanes;i&=e.pendingLanes,s|=i,t.lanes=s,kf(e,s)}}function Nc(e,t){var s=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,s===i)){var c=null,d=null;if(s=s.firstBaseUpdate,s!==null){do{var y={lane:s.lane,tag:s.tag,payload:s.payload,callback:null,next:null};d===null?c=d=y:d=d.next=y,s=s.next}while(s!==null);d===null?c=d=t:d=d.next=t}else c=d=t;s={baseState:i.baseState,firstBaseUpdate:c,lastBaseUpdate:d,shared:i.shared,callbacks:i.callbacks},e.updateQueue=s;return}e=s.lastBaseUpdate,e===null?s.firstBaseUpdate=t:e.next=t,s.lastBaseUpdate=t}var wc=!1;function kl(){if(wc){var e=wa;if(e!==null)throw e}}function El(e,t,s,i){wc=!1;var c=e.updateQueue;ds=!1;var d=c.firstBaseUpdate,y=c.lastBaseUpdate,C=c.shared.pending;if(C!==null){c.shared.pending=null;var D=C,F=D.next;D.next=null,y===null?d=F:y.next=F,y=D;var ee=e.alternate;ee!==null&&(ee=ee.updateQueue,C=ee.lastBaseUpdate,C!==y&&(C===null?ee.firstBaseUpdate=F:C.next=F,ee.lastBaseUpdate=D))}if(d!==null){var se=c.baseState;y=0,ee=F=D=null,C=d;do{var K=C.lane&-536870913,W=K!==C.lane;if(W?(Ue&K)===K:(i&K)===K){K!==0&&K===Na&&(wc=!0),ee!==null&&(ee=ee.next={lane:0,tag:C.tag,payload:C.payload,callback:null,next:null});e:{var ve=e,ke=C;K=t;var We=s;switch(ke.tag){case 1:if(ve=ke.payload,typeof ve=="function"){se=ve.call(We,se,K);break e}se=ve;break e;case 3:ve.flags=ve.flags&-65537|128;case 0:if(ve=ke.payload,K=typeof ve=="function"?ve.call(We,se,K):ve,K==null)break e;se=b({},se,K);break e;case 2:ds=!0}}K=C.callback,K!==null&&(e.flags|=64,W&&(e.flags|=8192),W=c.callbacks,W===null?c.callbacks=[K]:W.push(K))}else W={lane:K,tag:C.tag,payload:C.payload,callback:C.callback,next:null},ee===null?(F=ee=W,D=se):ee=ee.next=W,y|=K;if(C=C.next,C===null){if(C=c.shared.pending,C===null)break;W=C,C=W.next,W.next=null,c.lastBaseUpdate=W,c.shared.pending=null}}while(!0);ee===null&&(D=se),c.baseState=D,c.firstBaseUpdate=F,c.lastBaseUpdate=ee,d===null&&(c.shared.lanes=0),vs|=y,e.lanes=y,e.memoizedState=se}}function Lm(e,t){if(typeof e!="function")throw Error(o(191,e));e.call(t)}function zm(e,t){var s=e.callbacks;if(s!==null)for(e.callbacks=null,e=0;ed?d:8;var y=O.T,C={};O.T=C,Gc(e,!1,t,s);try{var D=c(),F=O.S;if(F!==null&&F(C,D),D!==null&&typeof D=="object"&&typeof D.then=="function"){var ee=pb(D,i);Tl(e,t,ee,Zt(e))}else Tl(e,t,i,Zt(e))}catch(se){Tl(e,t,{then:function(){},status:"rejected",reason:se},Zt())}finally{H.p=d,y!==null&&C.types!==null&&(y.types=C.types),O.T=y}}function Sb(){}function Vc(e,t,s,i){if(e.tag!==5)throw Error(o(476));var c=xh(e).queue;ph(e,c,t,I,s===null?Sb:function(){return gh(e),s(i)})}function xh(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:I,baseState:I,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vn,lastRenderedState:I},next:null};var s={};return t.next={memoizedState:s,baseState:s,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vn,lastRenderedState:s},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function gh(e){var t=xh(e);t.next===null&&(t=e.alternate.memoizedState),Tl(e,t.next.queue,{},Zt())}function $c(){return Mt(Ql)}function vh(){return ht().memoizedState}function bh(){return ht().memoizedState}function jb(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var s=Zt();e=fs(s);var i=ms(t,e,s);i!==null&&(Gt(i,t,s),Cl(i,t,s)),t={cache:gc()},e.payload=t;return}t=t.return}}function Nb(e,t,s){var i=Zt();s={lane:i,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},ri(e)?Sh(t,s):(s=rc(e,t,s,i),s!==null&&(Gt(s,e,i),jh(s,t,i)))}function yh(e,t,s){var i=Zt();Tl(e,t,s,i)}function Tl(e,t,s,i){var c={lane:i,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null};if(ri(e))Sh(t,c);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=t.lastRenderedReducer,d!==null))try{var y=t.lastRenderedState,C=d(y,s);if(c.hasEagerState=!0,c.eagerState=C,Yt(C,y))return Hr(e,t,c,0),et===null&&Ur(),!1}catch{}finally{}if(s=rc(e,t,c,i),s!==null)return Gt(s,e,i),jh(s,t,i),!0}return!1}function Gc(e,t,s,i){if(i={lane:2,revertLane:Su(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},ri(e)){if(t)throw Error(o(479))}else t=rc(e,s,i,2),t!==null&&Gt(t,e,2)}function ri(e){var t=e.alternate;return e===Te||t!==null&&t===Te}function Sh(e,t){Ea=Wr=!0;var s=e.pending;s===null?t.next=t:(t.next=s.next,s.next=t),e.pending=t}function jh(e,t,s){if((s&4194048)!==0){var i=t.lanes;i&=e.pendingLanes,s|=i,t.lanes=s,kf(e,s)}}var ql={readContext:Mt,use:ni,useCallback:ct,useContext:ct,useEffect:ct,useImperativeHandle:ct,useLayoutEffect:ct,useInsertionEffect:ct,useMemo:ct,useReducer:ct,useRef:ct,useState:ct,useDebugValue:ct,useDeferredValue:ct,useTransition:ct,useSyncExternalStore:ct,useId:ct,useHostTransitionStatus:ct,useFormState:ct,useActionState:ct,useOptimistic:ct,useMemoCache:ct,useCacheRefresh:ct};ql.useEffectEvent=ct;var Nh={readContext:Mt,use:ni,useCallback:function(e,t){return Bt().memoizedState=[e,t===void 0?null:t],e},useContext:Mt,useEffect:rh,useImperativeHandle:function(e,t,s){s=s!=null?s.concat([e]):null,ai(4194308,4,uh.bind(null,t,e),s)},useLayoutEffect:function(e,t){return ai(4194308,4,e,t)},useInsertionEffect:function(e,t){ai(4,2,e,t)},useMemo:function(e,t){var s=Bt();t=t===void 0?null:t;var i=e();if(Is){ze(!0);try{e()}finally{ze(!1)}}return s.memoizedState=[i,t],i},useReducer:function(e,t,s){var i=Bt();if(s!==void 0){var c=s(t);if(Is){ze(!0);try{s(t)}finally{ze(!1)}}}else c=t;return i.memoizedState=i.baseState=c,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:c},i.queue=e,e=e.dispatch=Nb.bind(null,Te,e),[i.memoizedState,e]},useRef:function(e){var t=Bt();return e={current:e},t.memoizedState=e},useState:function(e){e=Oc(e);var t=e.queue,s=yh.bind(null,Te,t);return t.dispatch=s,[e.memoizedState,s]},useDebugValue:Uc,useDeferredValue:function(e,t){var s=Bt();return Hc(s,e,t)},useTransition:function(){var e=Oc(!1);return e=ph.bind(null,Te,e.queue,!0,!1),Bt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,s){var i=Te,c=Bt();if(Ve){if(s===void 0)throw Error(o(407));s=s()}else{if(s=t(),et===null)throw Error(o(349));(Ue&127)!==0||Ym(i,t,s)}c.memoizedState=s;var d={value:s,getSnapshot:t};return c.queue=d,rh(Im.bind(null,i,d,e),[e]),i.flags|=2048,Ra(9,{destroy:void 0},Fm.bind(null,i,d,s,t),null),s},useId:function(){var e=Bt(),t=et.identifierPrefix;if(Ve){var s=Cn,i=An;s=(i&~(1<<32-rt(i)-1)).toString(32)+s,t="_"+t+"R_"+s,s=ei++,0<\/script>",d=d.removeChild(d.firstChild);break;case"select":d=typeof i.is=="string"?y.createElement("select",{is:i.is}):y.createElement("select"),i.multiple?d.multiple=!0:i.size&&(d.size=i.size);break;default:d=typeof i.is=="string"?y.createElement(c,{is:i.is}):y.createElement(c)}}d[kt]=t,d[Lt]=i;e:for(y=t.child;y!==null;){if(y.tag===5||y.tag===6)d.appendChild(y.stateNode);else if(y.tag!==4&&y.tag!==27&&y.child!==null){y.child.return=y,y=y.child;continue}if(y===t)break e;for(;y.sibling===null;){if(y.return===null||y.return===t)break e;y=y.return}y.sibling.return=y.return,y=y.sibling}t.stateNode=d;e:switch(Tt(d,c,i),c){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&Gn(t)}}return st(t),su(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,s),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==i&&Gn(t);else{if(typeof i!="string"&&t.stateNode===null)throw Error(o(166));if(e=Se.current,Sa(t)){if(e=t.stateNode,s=t.memoizedProps,i=null,c=Et,c!==null)switch(c.tag){case 27:case 5:i=c.memoizedProps}e[kt]=t,e=!!(e.nodeValue===s||i!==null&&i.suppressHydrationWarning===!0||$0(e.nodeValue,s)),e||cs(t,!0)}else e=Ci(e).createTextNode(i),e[kt]=t,t.stateNode=e}return st(t),null;case 31:if(s=t.memoizedState,e===null||e.memoizedState!==null){if(i=Sa(t),s!==null){if(e===null){if(!i)throw Error(o(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(557));e[kt]=t}else Us(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;st(t),e=!1}else s=mc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=s),e=!0;if(!e)return t.flags&256?(Xt(t),t):(Xt(t),null);if((t.flags&128)!==0)throw Error(o(558))}return st(t),null;case 13:if(i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(c=Sa(t),i!==null&&i.dehydrated!==null){if(e===null){if(!c)throw Error(o(318));if(c=t.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(o(317));c[kt]=t}else Us(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;st(t),c=!1}else c=mc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=c),c=!0;if(!c)return t.flags&256?(Xt(t),t):(Xt(t),null)}return Xt(t),(t.flags&128)!==0?(t.lanes=s,t):(s=i!==null,e=e!==null&&e.memoizedState!==null,s&&(i=t.child,c=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(c=i.alternate.memoizedState.cachePool.pool),d=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(d=i.memoizedState.cachePool.pool),d!==c&&(i.flags|=2048)),s!==e&&s&&(t.child.flags|=8192),di(t,t.updateQueue),st(t),null);case 4:return xe(),e===null&&Au(t.stateNode.containerInfo),st(t),null;case 10:return Un(t.type),st(t),null;case 19:if(z(mt),i=t.memoizedState,i===null)return st(t),null;if(c=(t.flags&128)!==0,d=i.rendering,d===null)if(c)_l(i,!1);else{if(ut!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(d=Pr(e),d!==null){for(t.flags|=128,_l(i,!1),e=d.updateQueue,t.updateQueue=e,di(t,e),t.subtreeFlags=0,e=s,s=t.child;s!==null;)ym(s,e),s=s.sibling;return $(mt,mt.current&1|2),Ve&&Ln(t,i.treeForkCount),t.child}e=e.sibling}i.tail!==null&&ne()>xi&&(t.flags|=128,c=!0,_l(i,!1),t.lanes=4194304)}else{if(!c)if(e=Pr(d),e!==null){if(t.flags|=128,c=!0,e=e.updateQueue,t.updateQueue=e,di(t,e),_l(i,!0),i.tail===null&&i.tailMode==="hidden"&&!d.alternate&&!Ve)return st(t),null}else 2*ne()-i.renderingStartTime>xi&&s!==536870912&&(t.flags|=128,c=!0,_l(i,!1),t.lanes=4194304);i.isBackwards?(d.sibling=t.child,t.child=d):(e=i.last,e!==null?e.sibling=d:t.child=d,i.last=d)}return i.tail!==null?(e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=ne(),e.sibling=null,s=mt.current,$(mt,c?s&1|2:s&1),Ve&&Ln(t,i.treeForkCount),e):(st(t),null);case 22:case 23:return Xt(t),Cc(),i=t.memoizedState!==null,e!==null?e.memoizedState!==null!==i&&(t.flags|=8192):i&&(t.flags|=8192),i?(s&536870912)!==0&&(t.flags&128)===0&&(st(t),t.subtreeFlags&6&&(t.flags|=8192)):st(t),s=t.updateQueue,s!==null&&di(t,s.retryQueue),s=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(s=e.memoizedState.cachePool.pool),i=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),i!==s&&(t.flags|=2048),e!==null&&z($s),null;case 24:return s=null,e!==null&&(s=e.memoizedState.cache),t.memoizedState.cache!==s&&(t.flags|=2048),Un(xt),st(t),null;case 25:return null;case 30:return null}throw Error(o(156,t.tag))}function Eb(e,t){switch(dc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Un(xt),xe(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ce(t),null;case 31:if(t.memoizedState!==null){if(Xt(t),t.alternate===null)throw Error(o(340));Us()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Xt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));Us()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return z(mt),null;case 4:return xe(),null;case 10:return Un(t.type),null;case 22:case 23:return Xt(t),Cc(),e!==null&&z($s),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Un(xt),null;case 25:return null;default:return null}}function Xh(e,t){switch(dc(t),t.tag){case 3:Un(xt),xe();break;case 26:case 27:case 5:Ce(t);break;case 4:xe();break;case 31:t.memoizedState!==null&&Xt(t);break;case 13:Xt(t);break;case 19:z(mt);break;case 10:Un(t.type);break;case 22:case 23:Xt(t),Cc(),e!==null&&z($s);break;case 24:Un(xt)}}function Bl(e,t){try{var s=t.updateQueue,i=s!==null?s.lastEffect:null;if(i!==null){var c=i.next;s=c;do{if((s.tag&e)===e){i=void 0;var d=s.create,y=s.inst;i=d(),y.destroy=i}s=s.next}while(s!==c)}}catch(C){Ke(t,t.return,C)}}function xs(e,t,s){try{var i=t.updateQueue,c=i!==null?i.lastEffect:null;if(c!==null){var d=c.next;i=d;do{if((i.tag&e)===e){var y=i.inst,C=y.destroy;if(C!==void 0){y.destroy=void 0,c=t;var D=s,F=C;try{F()}catch(ee){Ke(c,D,ee)}}}i=i.next}while(i!==d)}}catch(ee){Ke(t,t.return,ee)}}function Qh(e){var t=e.updateQueue;if(t!==null){var s=e.stateNode;try{zm(t,s)}catch(i){Ke(e,e.return,i)}}}function Kh(e,t,s){s.props=Xs(e.type,e.memoizedProps),s.state=e.memoizedState;try{s.componentWillUnmount()}catch(i){Ke(e,t,i)}}function Ol(e,t){try{var s=e.ref;if(s!==null){switch(e.tag){case 26:case 27:case 5:var i=e.stateNode;break;case 30:i=e.stateNode;break;default:i=e.stateNode}typeof s=="function"?e.refCleanup=s(i):s.current=i}}catch(c){Ke(e,t,c)}}function kn(e,t){var s=e.ref,i=e.refCleanup;if(s!==null)if(typeof i=="function")try{i()}catch(c){Ke(e,t,c)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof s=="function")try{s(null)}catch(c){Ke(e,t,c)}else s.current=null}function Zh(e){var t=e.type,s=e.memoizedProps,i=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":s.autoFocus&&i.focus();break e;case"img":s.src?i.src=s.src:s.srcSet&&(i.srcset=s.srcSet)}}catch(c){Ke(e,e.return,c)}}function au(e,t,s){try{var i=e.stateNode;Zb(i,e.type,s,t),i[Lt]=t}catch(c){Ke(e,e.return,c)}}function Jh(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ns(e.type)||e.tag===4}function lu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Jh(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Ns(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ru(e,t,s){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?(s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s).insertBefore(e,t):(t=s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s,t.appendChild(e),s=s._reactRootContainer,s!=null||t.onclick!==null||(t.onclick=_n));else if(i!==4&&(i===27&&Ns(e.type)&&(s=e.stateNode,t=null),e=e.child,e!==null))for(ru(e,t,s),e=e.sibling;e!==null;)ru(e,t,s),e=e.sibling}function fi(e,t,s){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?s.insertBefore(e,t):s.appendChild(e);else if(i!==4&&(i===27&&Ns(e.type)&&(s=e.stateNode),e=e.child,e!==null))for(fi(e,t,s),e=e.sibling;e!==null;)fi(e,t,s),e=e.sibling}function Ph(e){var t=e.stateNode,s=e.memoizedProps;try{for(var i=e.type,c=t.attributes;c.length;)t.removeAttributeNode(c[0]);Tt(t,i,s),t[kt]=e,t[Lt]=s}catch(d){Ke(e,e.return,d)}}var Yn=!1,bt=!1,iu=!1,Wh=typeof WeakSet=="function"?WeakSet:Set,Ct=null;function Mb(e,t){if(e=e.containerInfo,Eu=Di,e=dm(e),ec(e)){if("selectionStart"in e)var s={start:e.selectionStart,end:e.selectionEnd};else e:{s=(s=e.ownerDocument)&&s.defaultView||window;var i=s.getSelection&&s.getSelection();if(i&&i.rangeCount!==0){s=i.anchorNode;var c=i.anchorOffset,d=i.focusNode;i=i.focusOffset;try{s.nodeType,d.nodeType}catch{s=null;break e}var y=0,C=-1,D=-1,F=0,ee=0,se=e,K=null;t:for(;;){for(var W;se!==s||c!==0&&se.nodeType!==3||(C=y+c),se!==d||i!==0&&se.nodeType!==3||(D=y+i),se.nodeType===3&&(y+=se.nodeValue.length),(W=se.firstChild)!==null;)K=se,se=W;for(;;){if(se===e)break t;if(K===s&&++F===c&&(C=y),K===d&&++ee===i&&(D=y),(W=se.nextSibling)!==null)break;se=K,K=se.parentNode}se=W}s=C===-1||D===-1?null:{start:C,end:D}}else s=null}s=s||{start:0,end:0}}else s=null;for(Mu={focusedElem:e,selectionRange:s},Di=!1,Ct=t;Ct!==null;)if(t=Ct,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Ct=e;else for(;Ct!==null;){switch(t=Ct,d=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(s=0;s title"))),Tt(d,i,s),d[kt]=e,At(d),i=d;break e;case"link":var y=lp("link","href",c).get(i+(s.href||""));if(y){for(var C=0;CWe&&(y=We,We=ke,ke=y);var V=cm(C,ke),L=cm(C,We);if(V&&L&&(W.rangeCount!==1||W.anchorNode!==V.node||W.anchorOffset!==V.offset||W.focusNode!==L.node||W.focusOffset!==L.offset)){var Y=se.createRange();Y.setStart(V.node,V.offset),W.removeAllRanges(),ke>We?(W.addRange(Y),W.extend(L.node,L.offset)):(Y.setEnd(L.node,L.offset),W.addRange(Y))}}}}for(se=[],W=C;W=W.parentNode;)W.nodeType===1&&se.push({element:W,left:W.scrollLeft,top:W.scrollTop});for(typeof C.focus=="function"&&C.focus(),C=0;Cs?32:s,O.T=null,s=hu,hu=null;var d=ys,y=Kn;if(Nt=0,Ba=ys=null,Kn=0,(Ie&6)!==0)throw Error(o(331));var C=Ie;if(Ie|=4,u0(d.current),i0(d,d.current,y,s),Ie=C,$l(0,!1),Ee&&typeof Ee.onPostCommitFiberRoot=="function")try{Ee.onPostCommitFiberRoot(Xe,d)}catch{}return!0}finally{H.p=c,O.T=i,E0(e,t)}}function R0(e,t,s){t=on(s,t),t=Xc(e.stateNode,t,2),e=ms(e,t,2),e!==null&&(ol(e,2),En(e))}function Ke(e,t,s){if(e.tag===3)R0(e,e,s);else for(;t!==null;){if(t.tag===3){R0(t,e,s);break}else if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(bs===null||!bs.has(i))){e=on(s,e),s=Th(2),i=ms(t,s,2),i!==null&&(qh(s,i,t,e),ol(i,2),En(i));break}}t=t.return}}function vu(e,t,s){var i=e.pingCache;if(i===null){i=e.pingCache=new qb;var c=new Set;i.set(t,c)}else c=i.get(t),c===void 0&&(c=new Set,i.set(t,c));c.has(s)||(uu=!0,c.add(s),e=Lb.bind(null,e,t,s),t.then(e,e))}function Lb(e,t,s){var i=e.pingCache;i!==null&&i.delete(t),e.pingedLanes|=e.suspendedLanes&s,e.warmLanes&=~s,et===e&&(Ue&s)===s&&(ut===4||ut===3&&(Ue&62914560)===Ue&&300>ne()-pi?(Ie&2)===0&&Oa(e,0):du|=s,_a===Ue&&(_a=0)),En(e)}function T0(e,t){t===0&&(t=Af()),e=Ls(e,t),e!==null&&(ol(e,t),En(e))}function zb(e){var t=e.memoizedState,s=0;t!==null&&(s=t.retryLane),T0(e,s)}function Ub(e,t){var s=0;switch(e.tag){case 31:case 13:var i=e.stateNode,c=e.memoizedState;c!==null&&(s=c.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error(o(314))}i!==null&&i.delete(t),T0(e,s)}function Hb(e,t){return ie(e,t)}var ji=null,za=null,bu=!1,Ni=!1,yu=!1,js=0;function En(e){e!==za&&e.next===null&&(za===null?ji=za=e:za=za.next=e),Ni=!0,bu||(bu=!0,$b())}function $l(e,t){if(!yu&&Ni){yu=!0;do for(var s=!1,i=ji;i!==null;){if(e!==0){var c=i.pendingLanes;if(c===0)var d=0;else{var y=i.suspendedLanes,C=i.pingedLanes;d=(1<<31-rt(42|e)+1)-1,d&=c&~(y&~C),d=d&201326741?d&201326741|1:d?d|2:0}d!==0&&(s=!0,B0(i,d))}else d=Ue,d=kr(i,i===et?d:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(d&3)===0||il(i,d)||(s=!0,B0(i,d));i=i.next}while(s);yu=!1}}function Vb(){q0()}function q0(){Ni=bu=!1;var e=0;js!==0&&Pb()&&(e=js);for(var t=ne(),s=null,i=ji;i!==null;){var c=i.next,d=D0(i,t);d===0?(i.next=null,s===null?ji=c:s.next=c,c===null&&(za=s)):(s=i,(e!==0||(d&3)!==0)&&(Ni=!0)),i=c}Nt!==0&&Nt!==5||$l(e),js!==0&&(js=0)}function D0(e,t){for(var s=e.suspendedLanes,i=e.pingedLanes,c=e.expirationTimes,d=e.pendingLanes&-62914561;0C)break;var ee=D.transferSize,se=D.initiatorType;ee&&G0(se)&&(D=D.responseEnd,y+=ee*(D"u"?null:document;function tp(e,t,s){var i=Ua;if(i&&typeof t=="string"&&t){var c=ln(t);c='link[rel="'+e+'"][href="'+c+'"]',typeof s=="string"&&(c+='[crossorigin="'+s+'"]'),ep.has(c)||(ep.add(c),e={rel:e,crossOrigin:s,href:t},i.querySelector(c)===null&&(t=i.createElement("link"),Tt(t,"link",e),At(t),i.head.appendChild(t)))}}function iy(e){Zn.D(e),tp("dns-prefetch",e,null)}function oy(e,t){Zn.C(e,t),tp("preconnect",e,t)}function cy(e,t,s){Zn.L(e,t,s);var i=Ua;if(i&&e&&t){var c='link[rel="preload"][as="'+ln(t)+'"]';t==="image"&&s&&s.imageSrcSet?(c+='[imagesrcset="'+ln(s.imageSrcSet)+'"]',typeof s.imageSizes=="string"&&(c+='[imagesizes="'+ln(s.imageSizes)+'"]')):c+='[href="'+ln(e)+'"]';var d=c;switch(t){case"style":d=Ha(e);break;case"script":d=Va(e)}hn.has(d)||(e=b({rel:"preload",href:t==="image"&&s&&s.imageSrcSet?void 0:e,as:t},s),hn.set(d,e),i.querySelector(c)!==null||t==="style"&&i.querySelector(Il(d))||t==="script"&&i.querySelector(Xl(d))||(t=i.createElement("link"),Tt(t,"link",e),At(t),i.head.appendChild(t)))}}function uy(e,t){Zn.m(e,t);var s=Ua;if(s&&e){var i=t&&typeof t.as=="string"?t.as:"script",c='link[rel="modulepreload"][as="'+ln(i)+'"][href="'+ln(e)+'"]',d=c;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":d=Va(e)}if(!hn.has(d)&&(e=b({rel:"modulepreload",href:e},t),hn.set(d,e),s.querySelector(c)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(s.querySelector(Xl(d)))return}i=s.createElement("link"),Tt(i,"link",e),At(i),s.head.appendChild(i)}}}function dy(e,t,s){Zn.S(e,t,s);var i=Ua;if(i&&e){var c=oa(i).hoistableStyles,d=Ha(e);t=t||"default";var y=c.get(d);if(!y){var C={loading:0,preload:null};if(y=i.querySelector(Il(d)))C.loading=5;else{e=b({rel:"stylesheet",href:e,"data-precedence":t},s),(s=hn.get(d))&&Ou(e,s);var D=y=i.createElement("link");At(D),Tt(D,"link",e),D._p=new Promise(function(F,ee){D.onload=F,D.onerror=ee}),D.addEventListener("load",function(){C.loading|=1}),D.addEventListener("error",function(){C.loading|=2}),C.loading|=4,Ei(y,t,i)}y={type:"stylesheet",instance:y,count:1,state:C},c.set(d,y)}}}function fy(e,t){Zn.X(e,t);var s=Ua;if(s&&e){var i=oa(s).hoistableScripts,c=Va(e),d=i.get(c);d||(d=s.querySelector(Xl(c)),d||(e=b({src:e,async:!0},t),(t=hn.get(c))&&Lu(e,t),d=s.createElement("script"),At(d),Tt(d,"link",e),s.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},i.set(c,d))}}function my(e,t){Zn.M(e,t);var s=Ua;if(s&&e){var i=oa(s).hoistableScripts,c=Va(e),d=i.get(c);d||(d=s.querySelector(Xl(c)),d||(e=b({src:e,async:!0,type:"module"},t),(t=hn.get(c))&&Lu(e,t),d=s.createElement("script"),At(d),Tt(d,"link",e),s.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},i.set(c,d))}}function np(e,t,s,i){var c=(c=Se.current)?ki(c):null;if(!c)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof s.precedence=="string"&&typeof s.href=="string"?(t=Ha(s.href),s=oa(c).hoistableStyles,i=s.get(t),i||(i={type:"style",instance:null,count:0,state:null},s.set(t,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(s.rel==="stylesheet"&&typeof s.href=="string"&&typeof s.precedence=="string"){e=Ha(s.href);var d=oa(c).hoistableStyles,y=d.get(e);if(y||(c=c.ownerDocument||c,y={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(e,y),(d=c.querySelector(Il(e)))&&!d._p&&(y.instance=d,y.state.loading=5),hn.has(e)||(s={rel:"preload",as:"style",href:s.href,crossOrigin:s.crossOrigin,integrity:s.integrity,media:s.media,hrefLang:s.hrefLang,referrerPolicy:s.referrerPolicy},hn.set(e,s),d||hy(c,e,s,y.state))),t&&i===null)throw Error(o(528,""));return y}if(t&&i!==null)throw Error(o(529,""));return null;case"script":return t=s.async,s=s.src,typeof s=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Va(s),s=oa(c).hoistableScripts,i=s.get(t),i||(i={type:"script",instance:null,count:0,state:null},s.set(t,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function Ha(e){return'href="'+ln(e)+'"'}function Il(e){return'link[rel="stylesheet"]['+e+"]"}function sp(e){return b({},e,{"data-precedence":e.precedence,precedence:null})}function hy(e,t,s,i){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?i.loading=1:(t=e.createElement("link"),i.preload=t,t.addEventListener("load",function(){return i.loading|=1}),t.addEventListener("error",function(){return i.loading|=2}),Tt(t,"link",s),At(t),e.head.appendChild(t))}function Va(e){return'[src="'+ln(e)+'"]'}function Xl(e){return"script[async]"+e}function ap(e,t,s){if(t.count++,t.instance===null)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+ln(s.href)+'"]');if(i)return t.instance=i,At(i),i;var c=b({},s,{"data-href":s.href,"data-precedence":s.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),At(i),Tt(i,"style",c),Ei(i,s.precedence,e),t.instance=i;case"stylesheet":c=Ha(s.href);var d=e.querySelector(Il(c));if(d)return t.state.loading|=4,t.instance=d,At(d),d;i=sp(s),(c=hn.get(c))&&Ou(i,c),d=(e.ownerDocument||e).createElement("link"),At(d);var y=d;return y._p=new Promise(function(C,D){y.onload=C,y.onerror=D}),Tt(d,"link",i),t.state.loading|=4,Ei(d,s.precedence,e),t.instance=d;case"script":return d=Va(s.src),(c=e.querySelector(Xl(d)))?(t.instance=c,At(c),c):(i=s,(c=hn.get(d))&&(i=b({},s),Lu(i,c)),e=e.ownerDocument||e,c=e.createElement("script"),At(c),Tt(c,"link",i),e.head.appendChild(c),t.instance=c);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(i=t.instance,t.state.loading|=4,Ei(i,s.precedence,e));return t.instance}function Ei(e,t,s){for(var i=s.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=i.length?i[i.length-1]:null,d=c,y=0;y title"):null)}function py(e,t,s){if(s===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function ip(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function xy(e,t,s,i){if(s.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(s.state.loading&4)===0){if(s.instance===null){var c=Ha(i.href),d=t.querySelector(Il(c));if(d){t=d._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Ri.bind(e),t.then(e,e)),s.state.loading|=4,s.instance=d,At(d);return}d=t.ownerDocument||t,i=sp(i),(c=hn.get(c))&&Ou(i,c),d=d.createElement("link"),At(d);var y=d;y._p=new Promise(function(C,D){y.onload=C,y.onerror=D}),Tt(d,"link",i),s.instance=d}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(s,t),(t=s.state.preload)&&(s.state.loading&3)===0&&(e.count++,s=Ri.bind(e),t.addEventListener("load",s),t.addEventListener("error",s))}}var zu=0;function gy(e,t){return e.stylesheets&&e.count===0&&qi(e,e.stylesheets),0zu?50:800)+t);return e.unsuspend=s,function(){e.unsuspend=null,clearTimeout(i),clearTimeout(c)}}:null}function Ri(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)qi(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Ti=null;function qi(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Ti=new Map,t.forEach(vy,e),Ti=null,Ri.call(e))}function vy(e,t){if(!(t.state.loading&4)){var s=Ti.get(e);if(s)var i=s.get(null);else{s=new Map,Ti.set(e,s);for(var c=e.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;d"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(a){console.error(a)}}return n(),Xu.exports=By(),Xu.exports}var Ly=Oy();var Tp="popstate";function zy(n={}){function a(o,u){let{pathname:f,search:h,hash:p}=o.location;return Nd("",{pathname:f,search:h,hash:p},u.state&&u.state.usr||null,u.state&&u.state.key||"default")}function r(o,u){return typeof u=="string"?u:dr(u)}return Hy(a,r,null,n)}function ot(n,a){if(n===!1||n===null||typeof n>"u")throw new Error(a)}function Nn(n,a){if(!n){typeof console<"u"&&console.warn(a);try{throw new Error(a)}catch{}}}function Uy(){return Math.random().toString(36).substring(2,10)}function qp(n,a){return{usr:n.state,key:n.key,idx:a}}function Nd(n,a,r=null,o){return{pathname:typeof n=="string"?n:n.pathname,search:"",hash:"",...typeof a=="string"?nl(a):a,state:r,key:a&&a.key||o||Uy()}}function dr({pathname:n="/",search:a="",hash:r=""}){return a&&a!=="?"&&(n+=a.charAt(0)==="?"?a:"?"+a),r&&r!=="#"&&(n+=r.charAt(0)==="#"?r:"#"+r),n}function nl(n){let a={};if(n){let r=n.indexOf("#");r>=0&&(a.hash=n.substring(r),n=n.substring(0,r));let o=n.indexOf("?");o>=0&&(a.search=n.substring(o),n=n.substring(0,o)),n&&(a.pathname=n)}return a}function Hy(n,a,r,o={}){let{window:u=document.defaultView,v5Compat:f=!1}=o,h=u.history,p="POP",g=null,x=v();x==null&&(x=0,h.replaceState({...h.state,idx:x},""));function v(){return(h.state||{idx:null}).idx}function b(){p="POP";let N=v(),j=N==null?null:N-x;x=N,g&&g({action:p,location:w.location,delta:j})}function S(N,j){p="PUSH";let M=Nd(w.location,N,j);x=v()+1;let A=qp(M,x),R=w.createHref(M);try{h.pushState(A,"",R)}catch(q){if(q instanceof DOMException&&q.name==="DataCloneError")throw q;u.location.assign(R)}f&&g&&g({action:p,location:w.location,delta:1})}function k(N,j){p="REPLACE";let M=Nd(w.location,N,j);x=v();let A=qp(M,x),R=w.createHref(M);h.replaceState(A,"",R),f&&g&&g({action:p,location:w.location,delta:0})}function E(N){return Vy(N)}let w={get action(){return p},get location(){return n(u,h)},listen(N){if(g)throw new Error("A history only accepts one active listener");return u.addEventListener(Tp,b),g=N,()=>{u.removeEventListener(Tp,b),g=null}},createHref(N){return a(u,N)},createURL:E,encodeLocation(N){let j=E(N);return{pathname:j.pathname,search:j.search,hash:j.hash}},push:S,replace:k,go(N){return h.go(N)}};return w}function Vy(n,a=!1){let r="http://localhost";typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),ot(r,"No window.location.(origin|href) available to create URL");let o=typeof n=="string"?n:dr(n);return o=o.replace(/ $/,"%20"),!a&&o.startsWith("//")&&(o=r+o),new URL(o,r)}function Ox(n,a,r="/"){return $y(n,a,r,!1)}function $y(n,a,r,o){let u=typeof a=="string"?nl(a):a,f=ns(u.pathname||"/",r);if(f==null)return null;let h=Lx(n);Gy(h);let p=null;for(let g=0;p==null&&g{let v={relativePath:x===void 0?h.path||"":x,caseSensitive:h.caseSensitive===!0,childrenIndex:p,route:h};if(v.relativePath.startsWith("/")){if(!v.relativePath.startsWith(o)&&g)return;ot(v.relativePath.startsWith(o),`Absolute route path "${v.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),v.relativePath=v.relativePath.slice(o.length)}let b=ts([o,v.relativePath]),S=r.concat(v);h.children&&h.children.length>0&&(ot(h.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${b}".`),Lx(h.children,a,S,b,g)),!(h.path==null&&!h.index)&&a.push({path:b,score:Zy(b,h.index),routesMeta:S})};return n.forEach((h,p)=>{if(h.path===""||!h.path?.includes("?"))f(h,p);else for(let g of zx(h.path))f(h,p,!0,g)}),a}function zx(n){let a=n.split("/");if(a.length===0)return[];let[r,...o]=a,u=r.endsWith("?"),f=r.replace(/\?$/,"");if(o.length===0)return u?[f,""]:[f];let h=zx(o.join("/")),p=[];return p.push(...h.map(g=>g===""?f:[f,g].join("/"))),u&&p.push(...h),p.map(g=>n.startsWith("/")&&g===""?"/":g)}function Gy(n){n.sort((a,r)=>a.score!==r.score?r.score-a.score:Jy(a.routesMeta.map(o=>o.childrenIndex),r.routesMeta.map(o=>o.childrenIndex)))}var Yy=/^:[\w-]+$/,Fy=3,Iy=2,Xy=1,Qy=10,Ky=-2,Dp=n=>n==="*";function Zy(n,a){let r=n.split("/"),o=r.length;return r.some(Dp)&&(o+=Ky),a&&(o+=Iy),r.filter(u=>!Dp(u)).reduce((u,f)=>u+(Yy.test(f)?Fy:f===""?Xy:Qy),o)}function Jy(n,a){return n.length===a.length&&n.slice(0,-1).every((o,u)=>o===a[u])?n[n.length-1]-a[a.length-1]:0}function Py(n,a,r=!1){let{routesMeta:o}=n,u={},f="/",h=[];for(let p=0;p{if(v==="*"){let E=p[S]||"";h=f.slice(0,f.length-E.length).replace(/(.)\/+$/,"$1")}const k=p[S];return b&&!k?x[v]=void 0:x[v]=(k||"").replace(/%2F/g,"/"),x},{}),pathname:f,pathnameBase:h,pattern:n}}function Wy(n,a=!1,r=!0){Nn(n==="*"||!n.endsWith("*")||n.endsWith("/*"),`Route path "${n}" will be treated as if it were "${n.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${n.replace(/\*$/,"/*")}".`);let o=[],u="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(h,p,g)=>(o.push({paramName:p,isOptional:g!=null}),g?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return n.endsWith("*")?(o.push({paramName:"*"}),u+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?u+="\\/*$":n!==""&&n!=="/"&&(u+="(?:(?=\\/|$))"),[new RegExp(u,a?void 0:"i"),o]}function e1(n){try{return n.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return Nn(!1,`The URL path "${n}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${a}).`),n}}function ns(n,a){if(a==="/")return n;if(!n.toLowerCase().startsWith(a.toLowerCase()))return null;let r=a.endsWith("/")?a.length-1:a.length,o=n.charAt(r);return o&&o!=="/"?null:n.slice(r)||"/"}var t1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,n1=n=>t1.test(n);function s1(n,a="/"){let{pathname:r,search:o="",hash:u=""}=typeof n=="string"?nl(n):n,f;if(r)if(n1(r))f=r;else{if(r.includes("//")){let h=r;r=r.replace(/\/\/+/g,"/"),Nn(!1,`Pathnames cannot have embedded double slashes - normalizing ${h} -> ${r}`)}r.startsWith("/")?f=_p(r.substring(1),"/"):f=_p(r,a)}else f=a;return{pathname:f,search:r1(o),hash:i1(u)}}function _p(n,a){let r=a.replace(/\/+$/,"").split("/");return n.split("/").forEach(u=>{u===".."?r.length>1&&r.pop():u!=="."&&r.push(u)}),r.length>1?r.join("/"):"/"}function Ju(n,a,r,o){return`Cannot include a '${n}' character in a manually specified \`to.${a}\` field [${JSON.stringify(o)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function a1(n){return n.filter((a,r)=>r===0||a.route.path&&a.route.path.length>0)}function Ux(n){let a=a1(n);return a.map((r,o)=>o===a.length-1?r.pathname:r.pathnameBase)}function Hx(n,a,r,o=!1){let u;typeof n=="string"?u=nl(n):(u={...n},ot(!u.pathname||!u.pathname.includes("?"),Ju("?","pathname","search",u)),ot(!u.pathname||!u.pathname.includes("#"),Ju("#","pathname","hash",u)),ot(!u.search||!u.search.includes("#"),Ju("#","search","hash",u)));let f=n===""||u.pathname==="",h=f?"/":u.pathname,p;if(h==null)p=r;else{let b=a.length-1;if(!o&&h.startsWith("..")){let S=h.split("/");for(;S[0]==="..";)S.shift(),b-=1;u.pathname=S.join("/")}p=b>=0?a[b]:"/"}let g=s1(u,p),x=h&&h!=="/"&&h.endsWith("/"),v=(f||h===".")&&r.endsWith("/");return!g.pathname.endsWith("/")&&(x||v)&&(g.pathname+="/"),g}var ts=n=>n.join("/").replace(/\/\/+/g,"/"),l1=n=>n.replace(/\/+$/,"").replace(/^\/*/,"/"),r1=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,i1=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n;function o1(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Vx=["POST","PUT","PATCH","DELETE"];new Set(Vx);var c1=["GET",...Vx];new Set(c1);var sl=m.createContext(null);sl.displayName="DataRouter";var jo=m.createContext(null);jo.displayName="DataRouterState";m.createContext(!1);var $x=m.createContext({isTransitioning:!1});$x.displayName="ViewTransition";var u1=m.createContext(new Map);u1.displayName="Fetchers";var d1=m.createContext(null);d1.displayName="Await";var qn=m.createContext(null);qn.displayName="Navigation";var vr=m.createContext(null);vr.displayName="Location";var as=m.createContext({outlet:null,matches:[],isDataRoute:!1});as.displayName="Route";var Gd=m.createContext(null);Gd.displayName="RouteError";function f1(n,{relative:a}={}){ot(br(),"useHref() may be used only in the context of a component.");let{basename:r,navigator:o}=m.useContext(qn),{hash:u,pathname:f,search:h}=yr(n,{relative:a}),p=f;return r!=="/"&&(p=f==="/"?r:ts([r,f])),o.createHref({pathname:p,search:h,hash:u})}function br(){return m.useContext(vr)!=null}function sa(){return ot(br(),"useLocation() may be used only in the context of a component."),m.useContext(vr).location}var Gx="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Yx(n){m.useContext(qn).static||m.useLayoutEffect(n)}function m1(){let{isDataRoute:n}=m.useContext(as);return n?C1():h1()}function h1(){ot(br(),"useNavigate() may be used only in the context of a component.");let n=m.useContext(sl),{basename:a,navigator:r}=m.useContext(qn),{matches:o}=m.useContext(as),{pathname:u}=sa(),f=JSON.stringify(Ux(o)),h=m.useRef(!1);return Yx(()=>{h.current=!0}),m.useCallback((g,x={})=>{if(Nn(h.current,Gx),!h.current)return;if(typeof g=="number"){r.go(g);return}let v=Hx(g,JSON.parse(f),u,x.relative==="path");n==null&&a!=="/"&&(v.pathname=v.pathname==="/"?a:ts([a,v.pathname])),(x.replace?r.replace:r.push)(v,x.state,x)},[a,r,f,u,n])}m.createContext(null);function yr(n,{relative:a}={}){let{matches:r}=m.useContext(as),{pathname:o}=sa(),u=JSON.stringify(Ux(r));return m.useMemo(()=>Hx(n,JSON.parse(u),o,a==="path"),[n,u,o,a])}function p1(n,a){return Fx(n,a)}function Fx(n,a,r,o,u){ot(br(),"useRoutes() may be used only in the context of a component.");let{navigator:f}=m.useContext(qn),{matches:h}=m.useContext(as),p=h[h.length-1],g=p?p.params:{},x=p?p.pathname:"/",v=p?p.pathnameBase:"/",b=p&&p.route;{let M=b&&b.path||"";Ix(x,!b||M.endsWith("*")||M.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${x}" (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 S=sa(),k;if(a){let M=typeof a=="string"?nl(a):a;ot(v==="/"||M.pathname?.startsWith(v),`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 "${v}" but pathname "${M.pathname}" was given in the \`location\` prop.`),k=M}else k=S;let E=k.pathname||"/",w=E;if(v!=="/"){let M=v.replace(/^\//,"").split("/");w="/"+E.replace(/^\//,"").split("/").slice(M.length).join("/")}let N=Ox(n,{pathname:w});Nn(b||N!=null,`No routes matched location "${k.pathname}${k.search}${k.hash}" `),Nn(N==null||N[N.length-1].route.element!==void 0||N[N.length-1].route.Component!==void 0||N[N.length-1].route.lazy!==void 0,`Matched leaf route at location "${k.pathname}${k.search}${k.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 j=y1(N&&N.map(M=>Object.assign({},M,{params:Object.assign({},g,M.params),pathname:ts([v,f.encodeLocation?f.encodeLocation(M.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:M.pathname]),pathnameBase:M.pathnameBase==="/"?v:ts([v,f.encodeLocation?f.encodeLocation(M.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:M.pathnameBase])})),h,r,o,u);return a&&j?m.createElement(vr.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...k},navigationType:"POP"}},j):j}function x1(){let n=A1(),a=o1(n)?`${n.status} ${n.statusText}`:n instanceof Error?n.message:JSON.stringify(n),r=n instanceof Error?n.stack:null,o="rgba(200,200,200, 0.5)",u={padding:"0.5rem",backgroundColor:o},f={padding:"2px 4px",backgroundColor:o},h=null;return console.error("Error handled by React Router default ErrorBoundary:",n),h=m.createElement(m.Fragment,null,m.createElement("p",null,"đź’ż Hey developer đź‘‹"),m.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",m.createElement("code",{style:f},"ErrorBoundary")," or"," ",m.createElement("code",{style:f},"errorElement")," prop on your route.")),m.createElement(m.Fragment,null,m.createElement("h2",null,"Unexpected Application Error!"),m.createElement("h3",{style:{fontStyle:"italic"}},a),r?m.createElement("pre",{style:u},r):null,h)}var g1=m.createElement(x1,null),v1=class extends m.Component{constructor(n){super(n),this.state={location:n.location,revalidation:n.revalidation,error:n.error}}static getDerivedStateFromError(n){return{error:n}}static getDerivedStateFromProps(n,a){return a.location!==n.location||a.revalidation!=="idle"&&n.revalidation==="idle"?{error:n.error,location:n.location,revalidation:n.revalidation}:{error:n.error!==void 0?n.error:a.error,location:a.location,revalidation:n.revalidation||a.revalidation}}componentDidCatch(n,a){this.props.onError?this.props.onError(n,a):console.error("React Router caught the following error during render",n)}render(){return this.state.error!==void 0?m.createElement(as.Provider,{value:this.props.routeContext},m.createElement(Gd.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function b1({routeContext:n,match:a,children:r}){let o=m.useContext(sl);return o&&o.static&&o.staticContext&&(a.route.errorElement||a.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=a.route.id),m.createElement(as.Provider,{value:n},r)}function y1(n,a=[],r=null,o=null,u=null){if(n==null){if(!r)return null;if(r.errors)n=r.matches;else if(a.length===0&&!r.initialized&&r.matches.length>0)n=r.matches;else return null}let f=n,h=r?.errors;if(h!=null){let v=f.findIndex(b=>b.route.id&&h?.[b.route.id]!==void 0);ot(v>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(h).join(",")}`),f=f.slice(0,Math.min(f.length,v+1))}let p=!1,g=-1;if(r)for(let v=0;v=0?f=f.slice(0,g+1):f=[f[0]];break}}}let x=r&&o?(v,b)=>{o(v,{location:r.location,params:r.matches?.[0]?.params??{},errorInfo:b})}:void 0;return f.reduceRight((v,b,S)=>{let k,E=!1,w=null,N=null;r&&(k=h&&b.route.id?h[b.route.id]:void 0,w=b.route.errorElement||g1,p&&(g<0&&S===0?(Ix("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),E=!0,N=null):g===S&&(E=!0,N=b.route.hydrateFallbackElement||null)));let j=a.concat(f.slice(0,S+1)),M=()=>{let A;return k?A=w:E?A=N:b.route.Component?A=m.createElement(b.route.Component,null):b.route.element?A=b.route.element:A=v,m.createElement(b1,{match:b,routeContext:{outlet:v,matches:j,isDataRoute:r!=null},children:A})};return r&&(b.route.ErrorBoundary||b.route.errorElement||S===0)?m.createElement(v1,{location:r.location,revalidation:r.revalidation,component:w,error:k,children:M(),routeContext:{outlet:null,matches:j,isDataRoute:!0},onError:x}):M()},null)}function Yd(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function S1(n){let a=m.useContext(sl);return ot(a,Yd(n)),a}function j1(n){let a=m.useContext(jo);return ot(a,Yd(n)),a}function N1(n){let a=m.useContext(as);return ot(a,Yd(n)),a}function Fd(n){let a=N1(n),r=a.matches[a.matches.length-1];return ot(r.route.id,`${n} can only be used on routes that contain a unique "id"`),r.route.id}function w1(){return Fd("useRouteId")}function A1(){let n=m.useContext(Gd),a=j1("useRouteError"),r=Fd("useRouteError");return n!==void 0?n:a.errors?.[r]}function C1(){let{router:n}=S1("useNavigate"),a=Fd("useNavigate"),r=m.useRef(!1);return Yx(()=>{r.current=!0}),m.useCallback(async(u,f={})=>{Nn(r.current,Gx),r.current&&(typeof u=="number"?n.navigate(u):await n.navigate(u,{fromRouteId:a,...f}))},[n,a])}var Bp={};function Ix(n,a,r){!a&&!Bp[n]&&(Bp[n]=!0,Nn(!1,r))}m.memo(k1);function k1({routes:n,future:a,state:r,unstable_onError:o}){return Fx(n,void 0,r,o,a)}function Ji(n){ot(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function E1({basename:n="/",children:a=null,location:r,navigationType:o="POP",navigator:u,static:f=!1}){ot(!br(),"You cannot render a inside another . You should never have more than one in your app.");let h=n.replace(/^\/*/,"/"),p=m.useMemo(()=>({basename:h,navigator:u,static:f,future:{}}),[h,u,f]);typeof r=="string"&&(r=nl(r));let{pathname:g="/",search:x="",hash:v="",state:b=null,key:S="default"}=r,k=m.useMemo(()=>{let E=ns(g,h);return E==null?null:{location:{pathname:E,search:x,hash:v,state:b,key:S},navigationType:o}},[h,g,x,v,b,S,o]);return Nn(k!=null,` is not able to match the URL "${g}${x}${v}" because it does not start with the basename, so the won't render anything.`),k==null?null:m.createElement(qn.Provider,{value:p},m.createElement(vr.Provider,{children:a,value:k}))}function M1({children:n,location:a}){return p1(wd(n),a)}function wd(n,a=[]){let r=[];return m.Children.forEach(n,(o,u)=>{if(!m.isValidElement(o))return;let f=[...a,u];if(o.type===m.Fragment){r.push.apply(r,wd(o.props.children,f));return}ot(o.type===Ji,`[${typeof o.type=="string"?o.type:o.type.name}] is not a component. All component children of must be a or `),ot(!o.props.index||!o.props.children,"An index route cannot have child routes.");let h={id:o.props.id||f.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,middleware:o.props.middleware,loader:o.props.loader,action:o.props.action,hydrateFallbackElement:o.props.hydrateFallbackElement,HydrateFallback:o.props.HydrateFallback,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.hasErrorBoundary===!0||o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(h.children=wd(o.props.children,f)),r.push(h)}),r}var Pi="get",Wi="application/x-www-form-urlencoded";function No(n){return n!=null&&typeof n.tagName=="string"}function R1(n){return No(n)&&n.tagName.toLowerCase()==="button"}function T1(n){return No(n)&&n.tagName.toLowerCase()==="form"}function q1(n){return No(n)&&n.tagName.toLowerCase()==="input"}function D1(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function _1(n,a){return n.button===0&&(!a||a==="_self")&&!D1(n)}var Hi=null;function B1(){if(Hi===null)try{new FormData(document.createElement("form"),0),Hi=!1}catch{Hi=!0}return Hi}var O1=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Pu(n){return n!=null&&!O1.has(n)?(Nn(!1,`"${n}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Wi}"`),null):n}function L1(n,a){let r,o,u,f,h;if(T1(n)){let p=n.getAttribute("action");o=p?ns(p,a):null,r=n.getAttribute("method")||Pi,u=Pu(n.getAttribute("enctype"))||Wi,f=new FormData(n)}else if(R1(n)||q1(n)&&(n.type==="submit"||n.type==="image")){let p=n.form;if(p==null)throw new Error('Cannot submit a