Y&&ot());){var bt=y.callback;if(typeof bt=="function"){y.callback=null,v=y.priorityLevel;var vt=bt(y.expirationTime<=Y);if(Y=n.unstable_now(),typeof vt=="function"){y.callback=vt,L(Y),K=!0;break e}y===a(d)&&s(d),L(Y)}else s(d);y=a(d)}if(y!==null)K=!0;else{var A=a(g);A!==null&&ut(k,A.startTime-Y),K=!1}}break t}finally{y=null,v=st,_=!1}K=void 0}}finally{K?at():$=!1}}}var at;if(typeof z=="function")at=function(){z(W)};else if(typeof MessageChannel<"u"){var jt=new MessageChannel,At=jt.port2;jt.port1.onmessage=W,at=function(){At.postMessage(null)}}else at=function(){w(W,0)};function ut(Y,K){O=w(function(){Y(n.unstable_now())},K)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(Y){Y.callback=null},n.unstable_forceFrameRate=function(Y){0>Y||125bt?(Y.sortIndex=st,e(g,Y),a(d)===null&&Y===a(g)&&(T?(C(O),O=-1):T=!0,ut(k,st-bt))):(Y.sortIndex=vt,e(d,Y),M||_||(M=!0,$||($=!0,at()))),Y},n.unstable_shouldYield=ot,n.unstable_wrapCallback=function(Y){var K=v;return function(){var st=v;v=K;try{return Y.apply(this,arguments)}finally{v=st}}}})(Sf)),Sf}var W0;function r2(){return W0||(W0=1,_f.exports=l2()),_f.exports}var jf={exports:{}},me={};/** + * @license React + * react-dom.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var J0;function o2(){if(J0)return me;J0=1;var n=fd();function e(d){var g="https://react.dev/errors/"+d;if(1 "u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}return n(),jf.exports=o2(),jf.exports}/** + * @license React + * react-dom-client.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var ep;function u2(){if(ep)return al;ep=1;var n=r2(),e=fd(),a=c2();function s(t){var i="https://react.dev/errors/"+t;if(1 vt||(t.current=bt[vt],bt[vt]=null,vt--)}function Z(t,i){vt++,bt[vt]=t.current,t.current=i}var P=A(null),tt=A(null),et=A(null),dt=A(null);function Qt(t,i){switch(Z(et,i),Z(tt,t),Z(P,null),i.nodeType){case 9:case 11:t=(t=i.documentElement)&&(t=t.namespaceURI)?p0(t):0;break;default:if(t=i.tagName,i=i.namespaceURI)i=p0(i),t=x0(i,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}B(P),Z(P,t)}function Tt(){B(P),B(tt),B(et)}function xe(t){t.memoizedState!==null&&Z(dt,t);var i=P.current,l=x0(i,t.type);i!==l&&(Z(tt,t),Z(P,l))}function Mi(t){tt.current===t&&(B(P),B(tt)),dt.current===t&&(B(dt),Js._currentValue=st)}var Jo,Fd;function Ti(t){if(Jo===void 0)try{throw Error()}catch(l){var i=l.stack.trim().match(/\n( *(at )?)/);Jo=i&&i[1]||"",Fd=-1 )":-1 h||E[o]!==U[h]){var G=` +`+E[o].replace(" at new "," at ");return t.displayName&&G.includes(" ")&&(G=G.replace(" ",t.displayName)),G}while(1<=o&&0<=h);break}}}finally{tc=!1,Error.prepareStackTrace=l}return(l=t?t.displayName||t.name:"")?Ti(l):""}function Ob(t,i){switch(t.tag){case 26:case 27:case 5:return Ti(t.type);case 16:return Ti("Lazy");case 13:return t.child!==i&&i!==null?Ti("Suspense Fallback"):Ti("Suspense");case 19:return Ti("SuspenseList");case 0:case 15:return ec(t.type,!1);case 11:return ec(t.type.render,!1);case 1:return ec(t.type,!0);case 31:return Ti("Activity");default:return""}}function Qd(t){try{var i="",l=null;do i+=Ob(t,l),l=t,t=t.return;while(t);return i}catch(o){return` +Error generating stack: `+o.message+` +`+o.stack}}var nc=Object.prototype.hasOwnProperty,ic=n.unstable_scheduleCallback,ac=n.unstable_cancelCallback,zb=n.unstable_shouldYield,Rb=n.unstable_requestPaint,Ce=n.unstable_now,kb=n.unstable_getCurrentPriorityLevel,Zd=n.unstable_ImmediatePriority,Pd=n.unstable_UserBlockingPriority,kl=n.unstable_NormalPriority,Lb=n.unstable_LowPriority,Kd=n.unstable_IdlePriority,Hb=n.log,Ub=n.unstable_setDisableYieldValue,fs=null,De=null;function Fn(t){if(typeof Hb=="function"&&Ub(t),De&&typeof De.setStrictMode=="function")try{De.setStrictMode(fs,t)}catch{}}var Ae=Math.clz32?Math.clz32:$b,Bb=Math.log,Vb=Math.LN2;function $b(t){return t>>>=0,t===0?32:31-(Bb(t)/Vb|0)|0}var Ll=256,Hl=262144,Ul=4194304;function Ei(t){var i=t&42;if(i!==0)return i;switch(t&-t){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 t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Bl(t,i,l){var o=t.pendingLanes;if(o===0)return 0;var h=0,p=t.suspendedLanes,b=t.pingedLanes;t=t.warmLanes;var S=o&134217727;return S!==0?(o=S&~p,o!==0?h=Ei(o):(b&=S,b!==0?h=Ei(b):l||(l=S&~t,l!==0&&(h=Ei(l))))):(S=o&~p,S!==0?h=Ei(S):b!==0?h=Ei(b):l||(l=o&~t,l!==0&&(h=Ei(l)))),h===0?0:i!==0&&i!==h&&(i&p)===0&&(p=h&-h,l=i&-i,p>=l||p===32&&(l&4194048)!==0)?i:h}function ds(t,i){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&i)===0}function Yb(t,i){switch(t){case 1:case 2:case 4:case 8:case 64:return i+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 i+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 Id(){var t=Ul;return Ul<<=1,(Ul&62914560)===0&&(Ul=4194304),t}function sc(t){for(var i=[],l=0;31>l;l++)i.push(t);return i}function hs(t,i){t.pendingLanes|=i,i!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function qb(t,i,l,o,h,p){var b=t.pendingLanes;t.pendingLanes=l,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=l,t.entangledLanes&=l,t.errorRecoveryDisabledLanes&=l,t.shellSuspendCounter=0;var S=t.entanglements,E=t.expirationTimes,U=t.hiddenUpdates;for(l=b&~l;0 "u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Pb=/[\n"\\]/g;function Ge(t){return t.replace(Pb,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}function fc(t,i,l,o,h,p,b,S){t.name="",b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?t.type=b:t.removeAttribute("type"),i!=null?b==="number"?(i===0&&t.value===""||t.value!=i)&&(t.value=""+qe(i)):t.value!==""+qe(i)&&(t.value=""+qe(i)):b!=="submit"&&b!=="reset"||t.removeAttribute("value"),i!=null?dc(t,b,qe(i)):l!=null?dc(t,b,qe(l)):o!=null&&t.removeAttribute("value"),h==null&&p!=null&&(t.defaultChecked=!!p),h!=null&&(t.checked=h&&typeof h!="function"&&typeof h!="symbol"),S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?t.name=""+qe(S):t.removeAttribute("name")}function uh(t,i,l,o,h,p,b,S){if(p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(t.type=p),i!=null||l!=null){if(!(p!=="submit"&&p!=="reset"||i!=null)){uc(t);return}l=l!=null?""+qe(l):"",i=i!=null?""+qe(i):l,S||i===t.value||(t.value=i),t.defaultValue=i}o=o??h,o=typeof o!="function"&&typeof o!="symbol"&&!!o,t.checked=S?t.checked:!!o,t.defaultChecked=!!o,b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(t.name=b),uc(t)}function dc(t,i,l){i==="number"&&Yl(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function fa(t,i,l,o){if(t=t.options,i){i={};for(var h=0;h "u"||typeof window.document>"u"||typeof window.document.createElement>"u"),xc=!1;if(wn)try{var xs={};Object.defineProperty(xs,"passive",{get:function(){xc=!0}}),window.addEventListener("test",xs,xs),window.removeEventListener("test",xs,xs)}catch{xc=!1}var Zn=null,yc=null,Gl=null;function xh(){if(Gl)return Gl;var t,i=yc,l=i.length,o,h="value"in Zn?Zn.value:Zn.textContent,p=h.length;for(t=0;t =vs),jh=" ",wh=!1;function Nh(t,i){switch(t){case"keyup":return jv.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Mh(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ga=!1;function Nv(t,i){switch(t){case"compositionend":return Mh(i);case"keypress":return i.which!==32?null:(wh=!0,jh);case"textInput":return t=i.data,t===jh&&wh?null:t;default:return null}}function Mv(t,i){if(ga)return t==="compositionend"||!jc&&Nh(t,i)?(t=xh(),Gl=yc=Zn=null,ga=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1 =i)return{node:l,offset:i-t};t=o}t:{for(;l;){if(l.nextSibling){l=l.nextSibling;break t}l=l.parentNode}l=void 0}l=Rh(l)}}function Lh(t,i){return t&&i?t===i?!0:t&&t.nodeType===3?!1:i&&i.nodeType===3?Lh(t,i.parentNode):"contains"in t?t.contains(i):t.compareDocumentPosition?!!(t.compareDocumentPosition(i)&16):!1:!1}function Hh(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var i=Yl(t.document);i instanceof t.HTMLIFrameElement;){try{var l=typeof i.contentWindow.location.href=="string"}catch{l=!1}if(l)t=i.contentWindow;else break;i=Yl(t.document)}return i}function Mc(t){var i=t&&t.nodeName&&t.nodeName.toLowerCase();return i&&(i==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||i==="textarea"||t.contentEditable==="true")}var Rv=wn&&"documentMode"in document&&11>=document.documentMode,pa=null,Tc=null,ws=null,Ec=!1;function Uh(t,i,l){var o=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Ec||pa==null||pa!==Yl(o)||(o=pa,"selectionStart"in o&&Mc(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),ws&&js(ws,o)||(ws=o,o=Hr(Tc,"onSelect"),0 >=b,h-=b,dn=1<<32-Ae(i)+h|l< mt?(St=nt,nt=null):St=nt.sibling;var Ct=V(R,nt,H[mt],X);if(Ct===null){nt===null&&(nt=St);break}t&&nt&&Ct.alternate===null&&i(R,nt),D=p(Ct,D,mt),Et===null?lt=Ct:Et.sibling=Ct,Et=Ct,nt=St}if(mt===H.length)return l(R,nt),wt&&Mn(R,mt),lt;if(nt===null){for(;mt mt?(St=nt,nt=null):St=nt.sibling;var pi=V(R,nt,Ct.value,X);if(pi===null){nt===null&&(nt=St);break}t&&nt&&pi.alternate===null&&i(R,nt),D=p(pi,D,mt),Et===null?lt=pi:Et.sibling=pi,Et=pi,nt=St}if(Ct.done)return l(R,nt),wt&&Mn(R,mt),lt;if(nt===null){for(;!Ct.done;mt++,Ct=H.next())Ct=F(R,Ct.value,X),Ct!==null&&(D=p(Ct,D,mt),Et===null?lt=Ct:Et.sibling=Ct,Et=Ct);return wt&&Mn(R,mt),lt}for(nt=o(nt);!Ct.done;mt++,Ct=H.next())Ct=q(nt,R,mt,Ct.value,X),Ct!==null&&(t&&Ct.alternate!==null&&nt.delete(Ct.key===null?mt:Ct.key),D=p(Ct,D,mt),Et===null?lt=Ct:Et.sibling=Ct,Et=Ct);return t&&nt.forEach(function(t2){return i(R,t2)}),wt&&Mn(R,mt),lt}function Ht(R,D,H,X){if(typeof H=="object"&&H!==null&&H.type===T&&H.key===null&&(H=H.props.children),typeof H=="object"&&H!==null){switch(H.$$typeof){case _:t:{for(var lt=H.key;D!==null;){if(D.key===lt){if(lt=H.type,lt===T){if(D.tag===7){l(R,D.sibling),X=h(D,H.props.children),X.return=R,R=X;break t}}else if(D.elementType===lt||typeof lt=="object"&<!==null&<.$$typeof===Q&&Bi(lt)===D.type){l(R,D.sibling),X=h(D,H.props),Ds(X,H),X.return=R,R=X;break t}l(R,D);break}else i(R,D);D=D.sibling}H.type===T?(X=Ri(H.props.children,R.mode,X,H.key),X.return=R,R=X):(X=tr(H.type,H.key,H.props,null,R.mode,X),Ds(X,H),X.return=R,R=X)}return b(R);case M:t:{for(lt=H.key;D!==null;){if(D.key===lt)if(D.tag===4&&D.stateNode.containerInfo===H.containerInfo&&D.stateNode.implementation===H.implementation){l(R,D.sibling),X=h(D,H.children||[]),X.return=R,R=X;break t}else{l(R,D);break}else i(R,D);D=D.sibling}X=kc(H,R.mode,X),X.return=R,R=X}return b(R);case Q:return H=Bi(H),Ht(R,D,H,X)}if(ut(H))return J(R,D,H,X);if(at(H)){if(lt=at(H),typeof lt!="function")throw Error(s(150));return H=lt.call(H),ct(R,D,H,X)}if(typeof H.then=="function")return Ht(R,D,rr(H),X);if(H.$$typeof===z)return Ht(R,D,ir(R,H),X);or(R,H)}return typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint"?(H=""+H,D!==null&&D.tag===6?(l(R,D.sibling),X=h(D,H),X.return=R,R=X):(l(R,D),X=Rc(H,R.mode,X),X.return=R,R=X),b(R)):l(R,D)}return function(R,D,H,X){try{Cs=0;var lt=Ht(R,D,H,X);return Ta=null,lt}catch(nt){if(nt===Ma||nt===sr)throw nt;var Et=ze(29,nt,null,R.mode);return Et.lanes=X,Et.return=R,Et}finally{}}}var $i=rm(!0),om=rm(!1),Jn=!1;function Qc(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Zc(t,i){t=t.updateQueue,i.updateQueue===t&&(i.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function ti(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function ei(t,i,l){var o=t.updateQueue;if(o===null)return null;if(o=o.shared,(Dt&2)!==0){var h=o.pending;return h===null?i.next=i:(i.next=h.next,h.next=i),o.pending=i,i=Jl(t),Xh(t,null,l),i}return Wl(t,o,i,l),Jl(t)}function As(t,i,l){if(i=i.updateQueue,i!==null&&(i=i.shared,(l&4194048)!==0)){var o=i.lanes;o&=t.pendingLanes,l|=o,i.lanes=l,Jd(t,l)}}function Pc(t,i){var l=t.updateQueue,o=t.alternate;if(o!==null&&(o=o.updateQueue,l===o)){var h=null,p=null;if(l=l.firstBaseUpdate,l!==null){do{var b={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};p===null?h=p=b:p=p.next=b,l=l.next}while(l!==null);p===null?h=p=i:p=p.next=i}else h=p=i;l={baseState:o.baseState,firstBaseUpdate:h,lastBaseUpdate:p,shared:o.shared,callbacks:o.callbacks},t.updateQueue=l;return}t=l.lastBaseUpdate,t===null?l.firstBaseUpdate=i:t.next=i,l.lastBaseUpdate=i}var Kc=!1;function Os(){if(Kc){var t=Na;if(t!==null)throw t}}function zs(t,i,l,o){Kc=!1;var h=t.updateQueue;Jn=!1;var p=h.firstBaseUpdate,b=h.lastBaseUpdate,S=h.shared.pending;if(S!==null){h.shared.pending=null;var E=S,U=E.next;E.next=null,b===null?p=U:b.next=U,b=E;var G=t.alternate;G!==null&&(G=G.updateQueue,S=G.lastBaseUpdate,S!==b&&(S===null?G.firstBaseUpdate=U:S.next=U,G.lastBaseUpdate=E))}if(p!==null){var F=h.baseState;b=0,G=U=E=null,S=p;do{var V=S.lane&-536870913,q=V!==S.lane;if(q?(_t&V)===V:(o&V)===V){V!==0&&V===wa&&(Kc=!0),G!==null&&(G=G.next={lane:0,tag:S.tag,payload:S.payload,callback:null,next:null});t:{var J=t,ct=S;V=i;var Ht=l;switch(ct.tag){case 1:if(J=ct.payload,typeof J=="function"){F=J.call(Ht,F,V);break t}F=J;break t;case 3:J.flags=J.flags&-65537|128;case 0:if(J=ct.payload,V=typeof J=="function"?J.call(Ht,F,V):J,V==null)break t;F=y({},F,V);break t;case 2:Jn=!0}}V=S.callback,V!==null&&(t.flags|=64,q&&(t.flags|=8192),q=h.callbacks,q===null?h.callbacks=[V]:q.push(V))}else q={lane:V,tag:S.tag,payload:S.payload,callback:S.callback,next:null},G===null?(U=G=q,E=F):G=G.next=q,b|=V;if(S=S.next,S===null){if(S=h.shared.pending,S===null)break;q=S,S=q.next,q.next=null,h.lastBaseUpdate=q,h.shared.pending=null}}while(!0);G===null&&(E=F),h.baseState=E,h.firstBaseUpdate=U,h.lastBaseUpdate=G,p===null&&(h.shared.lanes=0),li|=b,t.lanes=b,t.memoizedState=F}}function cm(t,i){if(typeof t!="function")throw Error(s(191,t));t.call(i)}function um(t,i){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;t p?p:8;var b=Y.T,S={};Y.T=S,gu(t,!1,i,l);try{var E=h(),U=Y.S;if(U!==null&&U(S,E),E!==null&&typeof E=="object"&&typeof E.then=="function"){var G=qv(E,o);Ls(t,i,G,Ue(t))}else Ls(t,i,o,Ue(t))}catch(F){Ls(t,i,{then:function(){},status:"rejected",reason:F},Ue())}finally{K.p=p,b!==null&&S.types!==null&&(b.types=S.types),Y.T=b}}function Pv(){}function hu(t,i,l,o){if(t.tag!==5)throw Error(s(476));var h=Ym(t).queue;$m(t,h,i,st,l===null?Pv:function(){return qm(t),l(o)})}function Ym(t){var i=t.memoizedState;if(i!==null)return i;i={memoizedState:st,baseState:st,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Dn,lastRenderedState:st},next:null};var l={};return i.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Dn,lastRenderedState:l},next:null},t.memoizedState=i,t=t.alternate,t!==null&&(t.memoizedState=i),i}function qm(t){var i=Ym(t);i.next===null&&(i=t.alternate.memoizedState),Ls(t,i.next.queue,{},Ue())}function mu(){return fe(Js)}function Gm(){return It().memoizedState}function Xm(){return It().memoizedState}function Kv(t){for(var i=t.return;i!==null;){switch(i.tag){case 24:case 3:var l=Ue();t=ti(l);var o=ei(i,t,l);o!==null&&(Ne(o,i,l),As(o,i,l)),i={cache:qc()},t.payload=i;return}i=i.return}}function Iv(t,i,l){var o=Ue();l={lane:o,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},yr(t)?Qm(i,l):(l=Oc(t,i,l,o),l!==null&&(Ne(l,t,o),Zm(l,i,o)))}function Fm(t,i,l){var o=Ue();Ls(t,i,l,o)}function Ls(t,i,l,o){var h={lane:o,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(yr(t))Qm(i,h);else{var p=t.alternate;if(t.lanes===0&&(p===null||p.lanes===0)&&(p=i.lastRenderedReducer,p!==null))try{var b=i.lastRenderedState,S=p(b,l);if(h.hasEagerState=!0,h.eagerState=S,Oe(S,b))return Wl(t,i,h,0),Ut===null&&Il(),!1}catch{}finally{}if(l=Oc(t,i,h,o),l!==null)return Ne(l,t,o),Zm(l,i,o),!0}return!1}function gu(t,i,l,o){if(o={lane:2,revertLane:Qu(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},yr(t)){if(i)throw Error(s(479))}else i=Oc(t,l,o,2),i!==null&&Ne(i,t,2)}function yr(t){var i=t.alternate;return t===ht||i!==null&&i===ht}function Qm(t,i){Ca=fr=!0;var l=t.pending;l===null?i.next=i:(i.next=l.next,l.next=i),t.pending=i}function Zm(t,i,l){if((l&4194048)!==0){var o=i.lanes;o&=t.pendingLanes,l|=o,i.lanes=l,Jd(t,l)}}var Hs={readContext:fe,use:mr,useCallback:Zt,useContext:Zt,useEffect:Zt,useImperativeHandle:Zt,useLayoutEffect:Zt,useInsertionEffect:Zt,useMemo:Zt,useReducer:Zt,useRef:Zt,useState:Zt,useDebugValue:Zt,useDeferredValue:Zt,useTransition:Zt,useSyncExternalStore:Zt,useId:Zt,useHostTransitionStatus:Zt,useFormState:Zt,useActionState:Zt,useOptimistic:Zt,useMemoCache:Zt,useCacheRefresh:Zt};Hs.useEffectEvent=Zt;var Pm={readContext:fe,use:mr,useCallback:function(t,i){return ye().memoizedState=[t,i===void 0?null:i],t},useContext:fe,useEffect:Om,useImperativeHandle:function(t,i,l){l=l!=null?l.concat([t]):null,pr(4194308,4,Lm.bind(null,i,t),l)},useLayoutEffect:function(t,i){return pr(4194308,4,t,i)},useInsertionEffect:function(t,i){pr(4,2,t,i)},useMemo:function(t,i){var l=ye();i=i===void 0?null:i;var o=t();if(Yi){Fn(!0);try{t()}finally{Fn(!1)}}return l.memoizedState=[o,i],o},useReducer:function(t,i,l){var o=ye();if(l!==void 0){var h=l(i);if(Yi){Fn(!0);try{l(i)}finally{Fn(!1)}}}else h=i;return o.memoizedState=o.baseState=h,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:h},o.queue=t,t=t.dispatch=Iv.bind(null,ht,t),[o.memoizedState,t]},useRef:function(t){var i=ye();return t={current:t},i.memoizedState=t},useState:function(t){t=ou(t);var i=t.queue,l=Fm.bind(null,ht,i);return i.dispatch=l,[t.memoizedState,l]},useDebugValue:fu,useDeferredValue:function(t,i){var l=ye();return du(l,t,i)},useTransition:function(){var t=ou(!1);return t=$m.bind(null,ht,t.queue,!0,!1),ye().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,i,l){var o=ht,h=ye();if(wt){if(l===void 0)throw Error(s(407));l=l()}else{if(l=i(),Ut===null)throw Error(s(349));(_t&127)!==0||pm(o,i,l)}h.memoizedState=l;var p={value:l,getSnapshot:i};return h.queue=p,Om(ym.bind(null,o,p,t),[t]),o.flags|=2048,Aa(9,{destroy:void 0},xm.bind(null,o,p,l,i),null),l},useId:function(){var t=ye(),i=Ut.identifierPrefix;if(wt){var l=hn,o=dn;l=(o&~(1<<32-Ae(o)-1)).toString(32)+l,i="_"+i+"R_"+l,l=dr++,0 <\/script>",p=p.removeChild(p.firstChild);break;case"select":p=typeof o.is=="string"?b.createElement("select",{is:o.is}):b.createElement("select"),o.multiple?p.multiple=!0:o.size&&(p.size=o.size);break;default:p=typeof o.is=="string"?b.createElement(h,{is:o.is}):b.createElement(h)}}p[ce]=i,p[be]=o;t:for(b=i.child;b!==null;){if(b.tag===5||b.tag===6)p.appendChild(b.stateNode);else if(b.tag!==4&&b.tag!==27&&b.child!==null){b.child.return=b,b=b.child;continue}if(b===i)break t;for(;b.sibling===null;){if(b.return===null||b.return===i)break t;b=b.return}b.sibling.return=b.return,b=b.sibling}i.stateNode=p;t:switch(he(p,h,o),h){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break t;case"img":o=!0;break t;default:o=!1}o&&On(i)}}return Yt(i),Cu(i,i.type,t===null?null:t.memoizedProps,i.pendingProps,l),null;case 6:if(t&&i.stateNode!=null)t.memoizedProps!==o&&On(i);else{if(typeof o!="string"&&i.stateNode===null)throw Error(s(166));if(t=et.current,Sa(i)){if(t=i.stateNode,l=i.memoizedProps,o=null,h=ue,h!==null)switch(h.tag){case 27:case 5:o=h.memoizedProps}t[ce]=i,t=!!(t.nodeValue===l||o!==null&&o.suppressHydrationWarning===!0||m0(t.nodeValue,l)),t||In(i,!0)}else t=Ur(t).createTextNode(o),t[ce]=i,i.stateNode=t}return Yt(i),null;case 31:if(l=i.memoizedState,t===null||t.memoizedState!==null){if(o=Sa(i),l!==null){if(t===null){if(!o)throw Error(s(318));if(t=i.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(s(557));t[ce]=i}else ki(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;Yt(i),t=!1}else l=Bc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=l),t=!0;if(!t)return i.flags&256?(ke(i),i):(ke(i),null);if((i.flags&128)!==0)throw Error(s(558))}return Yt(i),null;case 13:if(o=i.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(h=Sa(i),o!==null&&o.dehydrated!==null){if(t===null){if(!h)throw Error(s(318));if(h=i.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(s(317));h[ce]=i}else ki(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;Yt(i),h=!1}else h=Bc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=h),h=!0;if(!h)return i.flags&256?(ke(i),i):(ke(i),null)}return ke(i),(i.flags&128)!==0?(i.lanes=l,i):(l=o!==null,t=t!==null&&t.memoizedState!==null,l&&(o=i.child,h=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(h=o.alternate.memoizedState.cachePool.pool),p=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(p=o.memoizedState.cachePool.pool),p!==h&&(o.flags|=2048)),l!==t&&l&&(i.child.flags|=8192),jr(i,i.updateQueue),Yt(i),null);case 4:return Tt(),t===null&&Iu(i.stateNode.containerInfo),Yt(i),null;case 10:return En(i.type),Yt(i),null;case 19:if(B(Kt),o=i.memoizedState,o===null)return Yt(i),null;if(h=(i.flags&128)!==0,p=o.rendering,p===null)if(h)Bs(o,!1);else{if(Pt!==0||t!==null&&(t.flags&128)!==0)for(t=i.child;t!==null;){if(p=ur(t),p!==null){for(i.flags|=128,Bs(o,!1),t=p.updateQueue,i.updateQueue=t,jr(i,t),i.subtreeFlags=0,t=l,l=i.child;l!==null;)Fh(l,t),l=l.sibling;return Z(Kt,Kt.current&1|2),wt&&Mn(i,o.treeForkCount),i.child}t=t.sibling}o.tail!==null&&Ce()>Er&&(i.flags|=128,h=!0,Bs(o,!1),i.lanes=4194304)}else{if(!h)if(t=ur(p),t!==null){if(i.flags|=128,h=!0,t=t.updateQueue,i.updateQueue=t,jr(i,t),Bs(o,!0),o.tail===null&&o.tailMode==="hidden"&&!p.alternate&&!wt)return Yt(i),null}else 2*Ce()-o.renderingStartTime>Er&&l!==536870912&&(i.flags|=128,h=!0,Bs(o,!1),i.lanes=4194304);o.isBackwards?(p.sibling=i.child,i.child=p):(t=o.last,t!==null?t.sibling=p:i.child=p,o.last=p)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Ce(),t.sibling=null,l=Kt.current,Z(Kt,h?l&1|2:l&1),wt&&Mn(i,o.treeForkCount),t):(Yt(i),null);case 22:case 23:return ke(i),Wc(),o=i.memoizedState!==null,t!==null?t.memoizedState!==null!==o&&(i.flags|=8192):o&&(i.flags|=8192),o?(l&536870912)!==0&&(i.flags&128)===0&&(Yt(i),i.subtreeFlags&6&&(i.flags|=8192)):Yt(i),l=i.updateQueue,l!==null&&jr(i,l.retryQueue),l=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),o=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(o=i.memoizedState.cachePool.pool),o!==l&&(i.flags|=2048),t!==null&&B(Ui),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),i.memoizedState.cache!==l&&(i.flags|=2048),En(te),Yt(i),null;case 25:return null;case 30:return null}throw Error(s(156,i.tag))}function n1(t,i){switch(Hc(i),i.tag){case 1:return t=i.flags,t&65536?(i.flags=t&-65537|128,i):null;case 3:return En(te),Tt(),t=i.flags,(t&65536)!==0&&(t&128)===0?(i.flags=t&-65537|128,i):null;case 26:case 27:case 5:return Mi(i),null;case 31:if(i.memoizedState!==null){if(ke(i),i.alternate===null)throw Error(s(340));ki()}return t=i.flags,t&65536?(i.flags=t&-65537|128,i):null;case 13:if(ke(i),t=i.memoizedState,t!==null&&t.dehydrated!==null){if(i.alternate===null)throw Error(s(340));ki()}return t=i.flags,t&65536?(i.flags=t&-65537|128,i):null;case 19:return B(Kt),null;case 4:return Tt(),null;case 10:return En(i.type),null;case 22:case 23:return ke(i),Wc(),t!==null&&B(Ui),t=i.flags,t&65536?(i.flags=t&-65537|128,i):null;case 24:return En(te),null;case 25:return null;default:return null}}function bg(t,i){switch(Hc(i),i.tag){case 3:En(te),Tt();break;case 26:case 27:case 5:Mi(i);break;case 4:Tt();break;case 31:i.memoizedState!==null&&ke(i);break;case 13:ke(i);break;case 19:B(Kt);break;case 10:En(i.type);break;case 22:case 23:ke(i),Wc(),t!==null&&B(Ui);break;case 24:En(te)}}function Vs(t,i){try{var l=i.updateQueue,o=l!==null?l.lastEffect:null;if(o!==null){var h=o.next;l=h;do{if((l.tag&t)===t){o=void 0;var p=l.create,b=l.inst;o=p(),b.destroy=o}l=l.next}while(l!==h)}}catch(S){zt(i,i.return,S)}}function ai(t,i,l){try{var o=i.updateQueue,h=o!==null?o.lastEffect:null;if(h!==null){var p=h.next;o=p;do{if((o.tag&t)===t){var b=o.inst,S=b.destroy;if(S!==void 0){b.destroy=void 0,h=i;var E=l,U=S;try{U()}catch(G){zt(h,E,G)}}}o=o.next}while(o!==p)}}catch(G){zt(i,i.return,G)}}function vg(t){var i=t.updateQueue;if(i!==null){var l=t.stateNode;try{um(i,l)}catch(o){zt(t,t.return,o)}}}function _g(t,i,l){l.props=qi(t.type,t.memoizedProps),l.state=t.memoizedState;try{l.componentWillUnmount()}catch(o){zt(t,i,o)}}function $s(t,i){try{var l=t.ref;if(l!==null){switch(t.tag){case 26:case 27:case 5:var o=t.stateNode;break;case 30:o=t.stateNode;break;default:o=t.stateNode}typeof l=="function"?t.refCleanup=l(o):l.current=o}}catch(h){zt(t,i,h)}}function mn(t,i){var l=t.ref,o=t.refCleanup;if(l!==null)if(typeof o=="function")try{o()}catch(h){zt(t,i,h)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(h){zt(t,i,h)}else l.current=null}function Sg(t){var i=t.type,l=t.memoizedProps,o=t.stateNode;try{t:switch(i){case"button":case"input":case"select":case"textarea":l.autoFocus&&o.focus();break t;case"img":l.src?o.src=l.src:l.srcSet&&(o.srcset=l.srcSet)}}catch(h){zt(t,t.return,h)}}function Du(t,i,l){try{var o=t.stateNode;w1(o,t.type,l,i),o[be]=i}catch(h){zt(t,t.return,h)}}function jg(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&fi(t.type)||t.tag===4}function Au(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||jg(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&fi(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Ou(t,i,l){var o=t.tag;if(o===5||o===6)t=t.stateNode,i?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(t,i):(i=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,i.appendChild(t),l=l._reactRootContainer,l!=null||i.onclick!==null||(i.onclick=jn));else if(o!==4&&(o===27&&fi(t.type)&&(l=t.stateNode,i=null),t=t.child,t!==null))for(Ou(t,i,l),t=t.sibling;t!==null;)Ou(t,i,l),t=t.sibling}function wr(t,i,l){var o=t.tag;if(o===5||o===6)t=t.stateNode,i?l.insertBefore(t,i):l.appendChild(t);else if(o!==4&&(o===27&&fi(t.type)&&(l=t.stateNode),t=t.child,t!==null))for(wr(t,i,l),t=t.sibling;t!==null;)wr(t,i,l),t=t.sibling}function wg(t){var i=t.stateNode,l=t.memoizedProps;try{for(var o=t.type,h=i.attributes;h.length;)i.removeAttributeNode(h[0]);he(i,o,l),i[ce]=t,i[be]=l}catch(p){zt(t,t.return,p)}}var zn=!1,ie=!1,zu=!1,Ng=typeof WeakSet=="function"?WeakSet:Set,re=null;function i1(t,i){if(t=t.containerInfo,tf=Xr,t=Hh(t),Mc(t)){if("selectionStart"in t)var l={start:t.selectionStart,end:t.selectionEnd};else t:{l=(l=t.ownerDocument)&&l.defaultView||window;var o=l.getSelection&&l.getSelection();if(o&&o.rangeCount!==0){l=o.anchorNode;var h=o.anchorOffset,p=o.focusNode;o=o.focusOffset;try{l.nodeType,p.nodeType}catch{l=null;break t}var b=0,S=-1,E=-1,U=0,G=0,F=t,V=null;e:for(;;){for(var q;F!==l||h!==0&&F.nodeType!==3||(S=b+h),F!==p||o!==0&&F.nodeType!==3||(E=b+o),F.nodeType===3&&(b+=F.nodeValue.length),(q=F.firstChild)!==null;)V=F,F=q;for(;;){if(F===t)break e;if(V===l&&++U===h&&(S=b),V===p&&++G===o&&(E=b),(q=F.nextSibling)!==null)break;F=V,V=F.parentNode}F=q}l=S===-1||E===-1?null:{start:S,end:E}}else l=null}l=l||{start:0,end:0}}else l=null;for(ef={focusedElem:t,selectionRange:l},Xr=!1,re=i;re!==null;)if(i=re,t=i.child,(i.subtreeFlags&1028)!==0&&t!==null)t.return=i,re=t;else for(;re!==null;){switch(i=re,p=i.alternate,t=i.flags,i.tag){case 0:if((t&4)!==0&&(t=i.updateQueue,t=t!==null?t.events:null,t!==null))for(l=0;l title"))),he(p,o,l),p[ce]=t,le(p),o=p;break t;case"link":var b=A0("link","href",h).get(o+(l.href||""));if(b){for(var S=0;S Ht&&(b=Ht,Ht=ct,ct=b);var R=kh(S,ct),D=kh(S,Ht);if(R&&D&&(q.rangeCount!==1||q.anchorNode!==R.node||q.anchorOffset!==R.offset||q.focusNode!==D.node||q.focusOffset!==D.offset)){var H=F.createRange();H.setStart(R.node,R.offset),q.removeAllRanges(),ct>Ht?(q.addRange(H),q.extend(D.node,D.offset)):(H.setEnd(D.node,D.offset),q.addRange(H))}}}}for(F=[],q=S;q=q.parentNode;)q.nodeType===1&&F.push({element:q,left:q.scrollLeft,top:q.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;S l?32:l,Y.T=null,l=Vu,Vu=null;var p=oi,b=Un;if(ae=0,La=oi=null,Un=0,(Dt&6)!==0)throw Error(s(331));var S=Dt;if(Dt|=4,Lg(p.current),zg(p,p.current,b,l),Dt=S,Qs(0,!1),De&&typeof De.onPostCommitFiberRoot=="function")try{De.onPostCommitFiberRoot(fs,p)}catch{}return!0}finally{K.p=h,Y.T=o,t0(t,i)}}function n0(t,i,l){i=Fe(l,i),i=bu(t.stateNode,i,2),t=ei(t,i,2),t!==null&&(hs(t,2),gn(t))}function zt(t,i,l){if(t.tag===3)n0(t,t,l);else for(;i!==null;){if(i.tag===3){n0(i,t,l);break}else if(i.tag===1){var o=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(ri===null||!ri.has(o))){t=Fe(l,t),l=ig(2),o=ei(i,l,2),o!==null&&(ag(l,o,i,t),hs(o,2),gn(o));break}}i=i.return}}function Gu(t,i,l){var o=t.pingCache;if(o===null){o=t.pingCache=new l1;var h=new Set;o.set(i,h)}else h=o.get(i),h===void 0&&(h=new Set,o.set(i,h));h.has(l)||(Lu=!0,h.add(l),t=f1.bind(null,t,i,l),i.then(t,t))}function f1(t,i,l){var o=t.pingCache;o!==null&&o.delete(i),t.pingedLanes|=t.suspendedLanes&l,t.warmLanes&=~l,Ut===t&&(_t&l)===l&&(Pt===4||Pt===3&&(_t&62914560)===_t&&300>Ce()-Tr?(Dt&2)===0&&Ha(t,0):Hu|=l,ka===_t&&(ka=0)),gn(t)}function i0(t,i){i===0&&(i=Id()),t=zi(t,i),t!==null&&(hs(t,i),gn(t))}function d1(t){var i=t.memoizedState,l=0;i!==null&&(l=i.retryLane),i0(t,l)}function h1(t,i){var l=0;switch(t.tag){case 31:case 13:var o=t.stateNode,h=t.memoizedState;h!==null&&(l=h.retryLane);break;case 19:o=t.stateNode;break;case 22:o=t.stateNode._retryCache;break;default:throw Error(s(314))}o!==null&&o.delete(i),i0(t,l)}function m1(t,i){return ic(t,i)}var Rr=null,Ba=null,Xu=!1,kr=!1,Fu=!1,ui=0;function gn(t){t!==Ba&&t.next===null&&(Ba===null?Rr=Ba=t:Ba=Ba.next=t),kr=!0,Xu||(Xu=!0,p1())}function Qs(t,i){if(!Fu&&kr){Fu=!0;do for(var l=!1,o=Rr;o!==null;){if(t!==0){var h=o.pendingLanes;if(h===0)var p=0;else{var b=o.suspendedLanes,S=o.pingedLanes;p=(1<<31-Ae(42|t)+1)-1,p&=h&~(b&~S),p=p&201326741?p&201326741|1:p?p|2:0}p!==0&&(l=!0,r0(o,p))}else p=_t,p=Bl(o,o===Ut?p:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(p&3)===0||ds(o,p)||(l=!0,r0(o,p));o=o.next}while(l);Fu=!1}}function g1(){a0()}function a0(){kr=Xu=!1;var t=0;ui!==0&&M1()&&(t=ui);for(var i=Ce(),l=null,o=Rr;o!==null;){var h=o.next,p=s0(o,i);p===0?(o.next=null,l===null?Rr=h:l.next=h,h===null&&(Ba=l)):(l=o,(t!==0||(p&3)!==0)&&(kr=!0)),o=h}ae!==0&&ae!==5||Qs(t),ui!==0&&(ui=0)}function s0(t,i){for(var l=t.suspendedLanes,o=t.pingedLanes,h=t.expirationTimes,p=t.pendingLanes&-62914561;0 S)break;var G=E.transferSize,F=E.initiatorType;G&&g0(F)&&(E=E.responseEnd,b+=G*(E
"u"?null:document;function T0(t,i,l){var o=Va;if(o&&typeof i=="string"&&i){var h=Ge(i);h='link[rel="'+t+'"][href="'+h+'"]',typeof l=="string"&&(h+='[crossorigin="'+l+'"]'),M0.has(h)||(M0.add(h),t={rel:t,crossOrigin:l,href:i},o.querySelector(h)===null&&(i=o.createElement("link"),he(i,"link",t),le(i),o.head.appendChild(i)))}}function k1(t){Bn.D(t),T0("dns-prefetch",t,null)}function L1(t,i){Bn.C(t,i),T0("preconnect",t,i)}function H1(t,i,l){Bn.L(t,i,l);var o=Va;if(o&&t&&i){var h='link[rel="preload"][as="'+Ge(i)+'"]';i==="image"&&l&&l.imageSrcSet?(h+='[imagesrcset="'+Ge(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(h+='[imagesizes="'+Ge(l.imageSizes)+'"]')):h+='[href="'+Ge(t)+'"]';var p=h;switch(i){case"style":p=$a(t);break;case"script":p=Ya(t)}We.has(p)||(t=y({rel:"preload",href:i==="image"&&l&&l.imageSrcSet?void 0:t,as:i},l),We.set(p,t),o.querySelector(h)!==null||i==="style"&&o.querySelector(Is(p))||i==="script"&&o.querySelector(Ws(p))||(i=o.createElement("link"),he(i,"link",t),le(i),o.head.appendChild(i)))}}function U1(t,i){Bn.m(t,i);var l=Va;if(l&&t){var o=i&&typeof i.as=="string"?i.as:"script",h='link[rel="modulepreload"][as="'+Ge(o)+'"][href="'+Ge(t)+'"]',p=h;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":p=Ya(t)}if(!We.has(p)&&(t=y({rel:"modulepreload",href:t},i),We.set(p,t),l.querySelector(h)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Ws(p)))return}o=l.createElement("link"),he(o,"link",t),le(o),l.head.appendChild(o)}}}function B1(t,i,l){Bn.S(t,i,l);var o=Va;if(o&&t){var h=ca(o).hoistableStyles,p=$a(t);i=i||"default";var b=h.get(p);if(!b){var S={loading:0,preload:null};if(b=o.querySelector(Is(p)))S.loading=5;else{t=y({rel:"stylesheet",href:t,"data-precedence":i},l),(l=We.get(p))&&cf(t,l);var E=b=o.createElement("link");le(E),he(E,"link",t),E._p=new Promise(function(U,G){E.onload=U,E.onerror=G}),E.addEventListener("load",function(){S.loading|=1}),E.addEventListener("error",function(){S.loading|=2}),S.loading|=4,Vr(b,i,o)}b={type:"stylesheet",instance:b,count:1,state:S},h.set(p,b)}}}function V1(t,i){Bn.X(t,i);var l=Va;if(l&&t){var o=ca(l).hoistableScripts,h=Ya(t),p=o.get(h);p||(p=l.querySelector(Ws(h)),p||(t=y({src:t,async:!0},i),(i=We.get(h))&&uf(t,i),p=l.createElement("script"),le(p),he(p,"link",t),l.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},o.set(h,p))}}function $1(t,i){Bn.M(t,i);var l=Va;if(l&&t){var o=ca(l).hoistableScripts,h=Ya(t),p=o.get(h);p||(p=l.querySelector(Ws(h)),p||(t=y({src:t,async:!0,type:"module"},i),(i=We.get(h))&&uf(t,i),p=l.createElement("script"),le(p),he(p,"link",t),l.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},o.set(h,p))}}function E0(t,i,l,o){var h=(h=et.current)?Br(h):null;if(!h)throw Error(s(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(i=$a(l.href),l=ca(h).hoistableStyles,o=l.get(i),o||(o={type:"style",instance:null,count:0,state:null},l.set(i,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=$a(l.href);var p=ca(h).hoistableStyles,b=p.get(t);if(b||(h=h.ownerDocument||h,b={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},p.set(t,b),(p=h.querySelector(Is(t)))&&!p._p&&(b.instance=p,b.state.loading=5),We.has(t)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},We.set(t,l),p||Y1(h,t,l,b.state))),i&&o===null)throw Error(s(528,""));return b}if(i&&o!==null)throw Error(s(529,""));return null;case"script":return i=l.async,l=l.src,typeof l=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=Ya(l),l=ca(h).hoistableScripts,o=l.get(i),o||(o={type:"script",instance:null,count:0,state:null},l.set(i,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,t))}}function $a(t){return'href="'+Ge(t)+'"'}function Is(t){return'link[rel="stylesheet"]['+t+"]"}function C0(t){return y({},t,{"data-precedence":t.precedence,precedence:null})}function Y1(t,i,l,o){t.querySelector('link[rel="preload"][as="style"]['+i+"]")?o.loading=1:(i=t.createElement("link"),o.preload=i,i.addEventListener("load",function(){return o.loading|=1}),i.addEventListener("error",function(){return o.loading|=2}),he(i,"link",l),le(i),t.head.appendChild(i))}function Ya(t){return'[src="'+Ge(t)+'"]'}function Ws(t){return"script[async]"+t}function D0(t,i,l){if(i.count++,i.instance===null)switch(i.type){case"style":var o=t.querySelector('style[data-href~="'+Ge(l.href)+'"]');if(o)return i.instance=o,le(o),o;var h=y({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return o=(t.ownerDocument||t).createElement("style"),le(o),he(o,"style",h),Vr(o,l.precedence,t),i.instance=o;case"stylesheet":h=$a(l.href);var p=t.querySelector(Is(h));if(p)return i.state.loading|=4,i.instance=p,le(p),p;o=C0(l),(h=We.get(h))&&cf(o,h),p=(t.ownerDocument||t).createElement("link"),le(p);var b=p;return b._p=new Promise(function(S,E){b.onload=S,b.onerror=E}),he(p,"link",o),i.state.loading|=4,Vr(p,l.precedence,t),i.instance=p;case"script":return p=Ya(l.src),(h=t.querySelector(Ws(p)))?(i.instance=h,le(h),h):(o=l,(h=We.get(p))&&(o=y({},l),uf(o,h)),t=t.ownerDocument||t,h=t.createElement("script"),le(h),he(h,"link",o),t.head.appendChild(h),i.instance=h);case"void":return null;default:throw Error(s(443,i.type))}else i.type==="stylesheet"&&(i.state.loading&4)===0&&(o=i.instance,i.state.loading|=4,Vr(o,l.precedence,t));return i.instance}function Vr(t,i,l){for(var o=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),h=o.length?o[o.length-1]:null,p=h,b=0;btitle"):null)}function q1(t,i,l){if(l===1||i.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;switch(i.rel){case"stylesheet":return t=i.disabled,typeof i.precedence=="string"&&t==null;default:return!0}case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}function z0(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function G1(t,i,l,o){if(l.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var h=$a(o.href),p=i.querySelector(Is(h));if(p){i=p._p,i!==null&&typeof i=="object"&&typeof i.then=="function"&&(t.count++,t=Yr.bind(t),i.then(t,t)),l.state.loading|=4,l.instance=p,le(p);return}p=i.ownerDocument||i,o=C0(o),(h=We.get(h))&&cf(o,h),p=p.createElement("link"),le(p);var b=p;b._p=new Promise(function(S,E){b.onload=S,b.onerror=E}),he(p,"link",o),l.instance=p}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(l,i),(i=l.state.preload)&&(l.state.loading&3)===0&&(t.count++,l=Yr.bind(t),i.addEventListener("load",l),i.addEventListener("error",l))}}var ff=0;function X1(t,i){return t.stylesheets&&t.count===0&&Gr(t,t.stylesheets),0 ff?50:800)+i);return t.unsuspend=l,function(){t.unsuspend=null,clearTimeout(o),clearTimeout(h)}}:null}function Yr(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Gr(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var qr=null;function Gr(t,i){t.stylesheets=null,t.unsuspend!==null&&(t.count++,qr=new Map,i.forEach(F1,t),qr=null,Yr.call(t))}function F1(t,i){if(!(i.state.loading&4)){var l=qr.get(t);if(l)var o=l.get(null);else{l=new Map,qr.set(t,l);for(var h=t.querySelectorAll("link[data-precedence],style[data-precedence]"),p=0;p "u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}return n(),vf.exports=u2(),vf.exports}var d2=f2();const h2=Ix(d2);/** + * react-router v7.18.3 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */var dd=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,Jx=/^[\\/]{2}/;function m2(n,e){return e+n.replace(/\\/g,"/")}var ip="popstate";function ap(n){return typeof n=="object"&&n!=null&&"pathname"in n&&"search"in n&&"hash"in n&&"state"in n&&"key"in n}function g2(n={}){function e(s,r){var g;let c=(g=r.state)==null?void 0:g.masked,{pathname:u,search:f,hash:d}=c||s.location;return $f("",{pathname:u,search:f,hash:d},r.state&&r.state.usr||null,r.state&&r.state.key||"default",c?{pathname:s.location.pathname,search:s.location.search,hash:s.location.hash}:void 0)}function a(s,r){return typeof r=="string"?r:ea(r)}return x2(e,a,null,n)}function Ft(n,e){if(n===!1||n===null||typeof n>"u")throw new Error(e)}function en(n,e){if(!n){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function p2(){return Math.random().toString(36).substring(2,10)}function sp(n,e){return{usr:n.state,key:n.key,idx:e,masked:n.mask?{pathname:n.pathname,search:n.search,hash:n.hash}:void 0}}function $f(n,e,a=null,s,r){return{pathname:typeof n=="string"?n:n.pathname,search:"",hash:"",...typeof e=="string"?ss(e):e,state:a,key:e&&e.key||s||p2(),mask:r}}function ea({pathname:n="/",search:e="",hash:a=""}){return e&&e!=="?"&&(n+=e.charAt(0)==="?"?e:"?"+e),a&&a!=="#"&&(n+=a.charAt(0)==="#"?a:"#"+a),n}function ss(n){let e={};if(n){let a=n.indexOf("#");a>=0&&(e.hash=n.substring(a),n=n.substring(0,a));let s=n.indexOf("?");s>=0&&(e.search=n.substring(s),n=n.substring(0,s)),n&&(e.pathname=n)}return e}function x2(n,e,a,s={}){let{window:r=document.defaultView,v5Compat:c=!1}=s,u=r.history,f="POP",d=null,g=x();g==null&&(g=0,u.replaceState({...u.state,idx:g},""));function x(){return(u.state||{idx:null}).idx}function y(){f="POP";let j=x(),w=j==null?null:j-g;g=j,d&&d({action:f,location:T.location,delta:w})}function v(j,w){f="PUSH";let C=ap(j)?j:$f(T.location,j,w);g=x()+1;let z=sp(C,g),L=T.createHref(C.mask||C);try{u.pushState(z,"",L)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;r.location.assign(L)}c&&d&&d({action:f,location:T.location,delta:1})}function _(j,w){f="REPLACE";let C=ap(j)?j:$f(T.location,j,w);g=x();let z=sp(C,g),L=T.createHref(C.mask||C);u.replaceState(z,"",L),c&&d&&d({action:f,location:T.location,delta:0})}function M(j){return y2(r,j)}let T={get action(){return f},get location(){return n(r,u)},listen(j){if(d)throw new Error("A history only accepts one active listener");return r.addEventListener(ip,y),d=j,()=>{r.removeEventListener(ip,y),d=null}},createHref(j){return e(r,j)},createURL:M,encodeLocation(j){let w=M(j);return{pathname:w.pathname,search:w.search,hash:w.hash}},push:v,replace:_,go(j){return u.go(j)}};return T}function y2(n,e,a=!1){let s="http://localhost";n&&(s=n.location.origin!=="null"?n.location.origin:n.location.href),Ft(s,"No window.location.(origin|href) available to create URL");let r=typeof e=="string"?e:ea(e);return r=r.replace(/ $/,"%20"),!a&&Jx.test(r)&&(r=s+r),new URL(r,s)}function ty(n,e,a="/"){return b2(n,e,a,!1)}function b2(n,e,a,s,r){let c=typeof e=="string"?ss(e):e,u=Gn(c.pathname||"/",a);if(u==null)return null;let f=v2(n),d=null,g=A2(u);for(let x=0;d==null&&x {let x={relativePath:g===void 0?u.path||"":g,caseSensitive:u.caseSensitive===!0,childrenIndex:f,route:u};if(x.relativePath.startsWith("/")){if(!x.relativePath.startsWith(s)&&d)return;Ft(x.relativePath.startsWith(s),`Absolute route path "${x.relativePath}" nested under path "${s}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),x.relativePath=x.relativePath.slice(s.length)}let y=cn([s,x.relativePath]),v=a.concat(x);u.children&&u.children.length>0&&(Ft(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${y}".`),ey(u.children,e,v,y,d)),!(u.path==null&&!u.index)&&e.push({path:y,score:E2(y,u.index),routesMeta:v.map((_,M)=>{let[T,j]=ay(_.relativePath,_.caseSensitive,M===v.length-1);return{..._,matcher:T,compiledParams:j}})})};return n.forEach((u,f)=>{var d;if(u.path===""||!((d=u.path)!=null&&d.includes("?")))c(u,f);else for(let g of ny(u.path))c(u,f,!0,g)}),e}function ny(n){let e=n.split("/");if(e.length===0)return[];let[a,...s]=e,r=a.endsWith("?"),c=a.replace(/\?$/,"");if(s.length===0)return r?[c,""]:[c];let u=ny(s.join("/")),f=[];return f.push(...u.map(d=>d===""?c:[c,d].join("/"))),r&&f.push(...u),f.map(d=>n.startsWith("/")&&d===""?"/":d)}function _2(n){n.sort((e,a)=>e.score!==a.score?a.score-e.score:C2(e.routesMeta.map(s=>s.childrenIndex),a.routesMeta.map(s=>s.childrenIndex)))}var S2=/^:[\w-]+$/,j2=3,w2=2,N2=1,M2=10,T2=-2,lp=n=>n==="*";function E2(n,e){let a=n.split("/"),s=a.length;return a.some(lp)&&(s+=T2),e&&(s+=w2),a.filter(r=>!lp(r)).reduce((r,c)=>r+(S2.test(c)?j2:c===""?N2:M2),s)}function C2(n,e){return n.length===e.length&&n.slice(0,-1).every((s,r)=>s===e[r])?n[n.length-1]-e[e.length-1]:0}function D2(n,e,a=!1){let{routesMeta:s}=n,r={},c="/",u=[];for(let f=0;f {if(x==="*"){let M=f[v]||"";u=Ka(c.slice(0,c.length-M.length),1)}const _=f[v];return y&&!_?g[x]=void 0:g[x]=(_||"").replace(/%2F/g,"/"),g},{}),pathname:c,pathnameBase:u,pattern:n}}function ay(n,e=!1,a=!0){en(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 s=[],r="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,f,d,g,x)=>{if(s.push({paramName:f,isOptional:d!=null}),d){let y=x.charAt(g+u.length);return y&&y!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return n.endsWith("*")?(s.push({paramName:"*"}),r+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):a?r+="\\/*$":n!==""&&n!=="/"&&(r+="(?:(?=\\/|$))"),[new RegExp(r,e?void 0:"i"),s]}function A2(n){try{return n.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return en(!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 (${e}).`),n}}function Gn(n,e){if(e==="/")return n;if(!n.toLowerCase().startsWith(e.toLowerCase()))return null;let a=e.endsWith("/")?e.length-1:e.length,s=n.charAt(a);return s&&s!=="/"?null:n.slice(a)||"/"}function O2(n,e="/"){let{pathname:a,search:s="",hash:r=""}=typeof n=="string"?ss(n):n,c;return a?(a=sy(a),a.startsWith("/")||a.startsWith("\\")?c=rp(a.substring(1),"/"):c=rp(a,e)):c=e,{pathname:c,search:k2(s),hash:L2(r)}}function rp(n,e){let a=Ka(e).split("/");return n.split("/").forEach(r=>{r===".."?a.length>1&&a.pop():r!=="."&&a.push(r)}),a.length>1?a.join("/"):"/"}function wf(n,e,a,s){return`Cannot include a '${n}' character in a manually specified \`to.${e}\` field [${JSON.stringify(s)}]. Please separate it out to the \`to.${a}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function z2(n){return n.filter((e,a)=>a===0||e.route.path&&e.route.path.length>0)}function hd(n){let e=z2(n);return e.map((a,s)=>s===e.length-1?a.pathname:a.pathnameBase)}function Lo(n,e,a,s=!1){let r;typeof n=="string"?r=ss(n):(r={...n},Ft(!r.pathname||!r.pathname.includes("?"),wf("?","pathname","search",r)),Ft(!r.pathname||!r.pathname.includes("#"),wf("#","pathname","hash",r)),Ft(!r.search||!r.search.includes("#"),wf("#","search","hash",r)));let c=n===""||r.pathname==="",u=c?"/":r.pathname,f;if(u==null)f=a;else{let y=e.length-1;if(!s&&u.startsWith("..")){let v=u.split("/");for(;v[0]==="..";)v.shift(),y-=1;r.pathname=v.join("/")}f=y>=0?e[y]:"/"}let d=O2(r,f),g=u&&u!=="/"&&u.endsWith("/"),x=(c||u===".")&&a.endsWith("/");return!d.pathname.endsWith("/")&&(g||x)&&(d.pathname+="/"),d}var sy=n=>n.replace(/[\\/]{2,}/g,"/"),cn=n=>sy(n.join("/"));function Ka(n,e=0){let a=n.length;for(;a>e&&n.charCodeAt(a-1)===47;)a--;return a===n.length?n:n.slice(0,a)}var R2=n=>Ka(n).replace(/^\/*/,"/"),k2=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,L2=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n,H2=class{constructor(n,e,a,s=!1){this.status=n,this.statusText=e||"",this.internal=s,a instanceof Error?(this.data=a.toString(),this.error=a):this.data=a}};function U2(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}function B2(n){let e=n.map(a=>a.route.path).filter(Boolean);return cn(e)||"/"}var ly=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function ry(n,e){let a=n;if(typeof a!="string"||!dd.test(a))return{absoluteURL:void 0,isExternal:!1,to:a};let s=a,r=!1;if(ly)try{let c=new URL(window.location.href),u=Jx.test(a)?new URL(m2(a,c.protocol)):new URL(a),f=Gn(u.pathname,e);u.origin===c.origin&&f!=null?a=f+u.search+u.hash:r=!0}catch{en(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:s,isExternal:r,to:a}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var op=new URL("http://localhost");function md(n){if(n.createURL)return n.createURL("/");try{return new URL(n.createHref("/"),op)}catch{return op}}function Nf(n,e){return n.origin===e.origin&&(n.origin!=="null"||n.protocol===e.protocol&&n.host===e.host)}function V2(n,e){if(n.startsWith("//"))return!0;let a=e.protocol.toLowerCase();return n.toLowerCase().startsWith(a)?e.host===""||n.slice(a.length).startsWith("//"):!1}function gd(n,e,a,s){let r=null;try{r=n==null?null:new URL(n,a)}catch{}let c=new URL(e,a),u=r!=null&&!Nf(r,a),f=!Nf(c,a);if(s==="reject"){if(u||f)throw new Error("External navigation is not allowed")}else if(f&&(r==null||!V2(n,r)||!Nf(r,c)))throw new Error("External navigation is not allowed")}var oy=["POST","PUT","PATCH","DELETE"];new Set(oy);var $2=["GET",...oy];new Set($2);var Y2=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function q2(n){try{return Y2.includes(new URL(n).protocol)}catch{return!1}}var ls=N.createContext(null);ls.displayName="DataRouter";var Ho=N.createContext(null);Ho.displayName="DataRouterState";var cy=N.createContext(!1);function G2(){return N.useContext(cy)}var uy=N.createContext({isTransitioning:!1});uy.displayName="ViewTransition";var X2=N.createContext(new Map);X2.displayName="Fetchers";var F2=N.createContext(null);F2.displayName="Await";var Ye=N.createContext(null);Ye.displayName="Navigation";var Al=N.createContext(null);Al.displayName="Location";var vn=N.createContext({outlet:null,matches:[],isDataRoute:!1});vn.displayName="Route";var pd=N.createContext(null);pd.displayName="RouteError";var fy="REACT_ROUTER_ERROR",Q2="REDIRECT",Z2="ROUTE_ERROR_RESPONSE";function P2(n){if(n.startsWith(`${fy}:${Q2}:{`))try{let e=JSON.parse(n.slice(28));if(typeof e=="object"&&e&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.location=="string"&&typeof e.reloadDocument=="boolean"&&typeof e.replace=="boolean")return e}catch{}}function K2(n){if(n.startsWith(`${fy}:${Z2}:{`))try{let e=JSON.parse(n.slice(40));if(typeof e=="object"&&e&&typeof e.status=="number"&&typeof e.statusText=="string")return new H2(e.status,e.statusText,e.data)}catch{}}function I2(n,{relative:e}={}){Ft(rs(),"useHref() may be used only in the context of a component.");let{basename:a,navigator:s}=N.useContext(Ye),{hash:r,pathname:c,search:u}=Ol(n,{relative:e}),f=c;return a!=="/"&&(f=c==="/"?a:cn([a,c])),s.createHref({pathname:f,search:u,hash:r})}function rs(){return N.useContext(Al)!=null}function nn(){return Ft(rs(),"useLocation() may be used only in the context of a component."),N.useContext(Al).location}var dy="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function hy(n){N.useContext(Ye).static||N.useLayoutEffect(n)}function Uo(){let{isDataRoute:n}=N.useContext(vn);return n?u_():W2()}function W2(){Ft(rs(),"useNavigate() may be used only in the context of a component.");let n=N.useContext(ls),{basename:e,navigator:a}=N.useContext(Ye),{matches:s}=N.useContext(vn),{pathname:r}=nn(),c=JSON.stringify(hd(s)),u=N.useRef(!1);return hy(()=>{u.current=!0}),N.useCallback((d,g={})=>{if(en(u.current,dy),!u.current)return;if(typeof d=="number"){a.go(d);return}let x=Lo(d,JSON.parse(c),r,g.relative==="path");n==null&&e!=="/"&&(x.pathname=x.pathname==="/"?e:cn([e,x.pathname])),gd(typeof d=="string"?d:ea(d),a.createHref(x),md(a),"reject"),(g.replace?a.replace:a.push)(x,g.state,g)},[e,a,c,r,n])}N.createContext(null);function Ol(n,{relative:e}={}){let{matches:a}=N.useContext(vn),{pathname:s}=nn(),r=JSON.stringify(hd(a));return N.useMemo(()=>Lo(n,JSON.parse(r),s,e==="path"),[n,r,s,e])}function J2(n,e){return my(n,e)}function my(n,e,a){var j;Ft(rs(),"useRoutes() may be used only in the context of a component.");let{navigator:s}=N.useContext(Ye),{matches:r}=N.useContext(vn),c=r[r.length-1],u=c?c.params:{},f=c?c.pathname:"/",d=c?c.pathnameBase:"/",g=c&&c.route;{let w=g&&g.path||"";py(f,!g||w.endsWith("*")||w.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${f}" (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 x=nn(),y;if(e){let w=typeof e=="string"?ss(e):e;Ft(d==="/"||((j=w.pathname)==null?void 0:j.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.`),y=w}else y=x;let v=y.pathname||"/",_=v;if(d!=="/"){let w=d.replace(/^\//,"").split("/");_="/"+v.replace(/^\//,"").split("/").slice(w.length).join("/")}let M=a&&a.state.matches.length?a.state.matches.map(w=>Object.assign(w,{route:a.manifest[w.route.id]||w.route})):ty(n,{pathname:_});en(g||M!=null,`No routes matched location "${y.pathname}${y.search}${y.hash}" `),en(M==null||M[M.length-1].route.element!==void 0||M[M.length-1].route.Component!==void 0||M[M.length-1].route.lazy!==void 0,`Matched leaf route at location "${y.pathname}${y.search}${y.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 T=a_(M&&M.map(w=>Object.assign({},w,{params:Object.assign({},u,w.params),pathname:cn([d,s.encodeLocation?s.encodeLocation(w.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?d:cn([d,s.encodeLocation?s.encodeLocation(w.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:w.pathnameBase])})),r,a);return e&&T?N.createElement(Al.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...y},navigationType:"POP"}},T):T}function t_(){let n=c_(),e=U2(n)?`${n.status} ${n.statusText}`:n instanceof Error?n.message:JSON.stringify(n),a=n instanceof Error?n.stack:null,s="rgba(200,200,200, 0.5)",r={padding:"0.5rem",backgroundColor:s},c={padding:"2px 4px",backgroundColor:s},u=null;return console.error("Error handled by React Router default ErrorBoundary:",n),u=N.createElement(N.Fragment,null,N.createElement("p",null,"💿 Hey developer 👋"),N.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",N.createElement("code",{style:c},"ErrorBoundary")," or"," ",N.createElement("code",{style:c},"errorElement")," prop on your route.")),N.createElement(N.Fragment,null,N.createElement("h2",null,"Unexpected Application Error!"),N.createElement("h3",{style:{fontStyle:"italic"}},e),a?N.createElement("pre",{style:r},a):null,u)}var e_=N.createElement(t_,null),gy=class extends N.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,e){return e.location!==n.location||e.revalidation!=="idle"&&n.revalidation==="idle"?{error:n.error,location:n.location,revalidation:n.revalidation}:{error:n.error!==void 0?n.error:e.error,location:e.location,revalidation:n.revalidation||e.revalidation}}componentDidCatch(n,e){this.props.onError?this.props.onError(n,e):console.error("React Router caught the following error during render",n)}render(){let n=this.state.error;if(this.context&&typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){const a=K2(n.digest);a&&(n=a)}let e=n!==void 0?N.createElement(vn.Provider,{value:this.props.routeContext},N.createElement(pd.Provider,{value:n,children:this.props.component})):this.props.children;return this.context?N.createElement(n_,{error:n},e):e}};gy.contextType=cy;var Mf=new WeakMap;function n_({children:n,error:e}){let{basename:a,navigator:s}=N.useContext(Ye);if(typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){let r=P2(e.digest);if(r){let c=Mf.get(e);if(c)throw c;let u=ry(r.location,a),f=u.absoluteURL||u.to;if(gd(r.location,f,md(s),"allow-explicit"),q2(f))throw new Error("Invalid redirect location");if(ly&&!Mf.get(e))if(u.isExternal||r.reloadDocument)window.location.href=f;else{const d=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(u.to,{replace:r.replace}));throw Mf.set(e,d),d}return N.createElement("meta",{httpEquiv:"refresh",content:`0;url=${f}`})}}return n}function i_({routeContext:n,match:e,children:a}){let s=N.useContext(ls);return s&&s.static&&s.staticContext&&(e.route.errorElement||e.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=e.route.id),N.createElement(vn.Provider,{value:n},a)}function a_(n,e=[],a){let s=a==null?void 0:a.state;if(n==null){if(!s)return null;if(s.errors)n=s.matches;else if(e.length===0&&!s.initialized&&s.matches.length>0)n=s.matches;else return null}let r=n,c=s==null?void 0:s.errors;if(c!=null){let x=r.findIndex(y=>y.route.id&&(c==null?void 0:c[y.route.id])!==void 0);Ft(x>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(c).join(",")}`),r=r.slice(0,Math.min(r.length,x+1))}let u=!1,f=-1;if(a&&s){u=s.renderFallback;for(let x=0;x =0?r=r.slice(0,f+1):r=[r[0]];break}}}}let d=a==null?void 0:a.onError,g=s&&d?(x,y)=>{var v,_;d(x,{location:s.location,params:((_=(v=s.matches)==null?void 0:v[0])==null?void 0:_.params)??{},pattern:B2(s.matches),errorInfo:y})}:void 0;return r.reduceRight((x,y,v)=>{let _,M=!1,T=null,j=null;s&&(_=c&&y.route.id?c[y.route.id]:void 0,T=y.route.errorElement||e_,u&&(f<0&&v===0?(py("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),M=!0,j=null):f===v&&(M=!0,j=y.route.hydrateFallbackElement||null)));let w=e.concat(r.slice(0,v+1)),C=()=>{let z;return _?z=T:M?z=j:y.route.Component?z=N.createElement(y.route.Component,null):y.route.element?z=y.route.element:z=x,N.createElement(i_,{match:y,routeContext:{outlet:x,matches:w,isDataRoute:s!=null},children:z})};return s&&(y.route.ErrorBoundary||y.route.errorElement||v===0)?N.createElement(gy,{location:s.location,revalidation:s.revalidation,component:T,error:_,children:C(),routeContext:{outlet:null,matches:w,isDataRoute:!0},onError:g}):C()},null)}function xd(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function s_(n){let e=N.useContext(ls);return Ft(e,xd(n)),e}function l_(n){let e=N.useContext(Ho);return Ft(e,xd(n)),e}function r_(n){let e=N.useContext(vn);return Ft(e,xd(n)),e}function yd(n){let e=r_(n),a=e.matches[e.matches.length-1];return Ft(a.route.id,`${n} can only be used on routes that contain a unique "id"`),a.route.id}function o_(){return yd("useRouteId")}function c_(){var s;let n=N.useContext(pd),e=l_("useRouteError"),a=yd("useRouteError");return n!==void 0?n:(s=e.errors)==null?void 0:s[a]}function u_(){let{router:n}=s_("useNavigate"),e=yd("useNavigate"),a=N.useRef(!1);return hy(()=>{a.current=!0}),N.useCallback(async(r,c={})=>{en(a.current,dy),a.current&&(typeof r=="number"?await n.navigate(r):await n.navigate(r,{fromRouteId:e,...c}))},[n,e])}var cp={};function py(n,e,a){!e&&!cp[n]&&(cp[n]=!0,en(!1,a))}N.memo(f_);function f_({routes:n,manifest:e,future:a,state:s,isStatic:r,onError:c}){return my(n,void 0,{manifest:e,state:s,isStatic:r,onError:c})}function d_({to:n,replace:e,state:a,relative:s}){Ft(rs()," may be used only in the context of a component.");let{static:r,navigator:c}=N.useContext(Ye);en(!r," must not be used on the initial render in a . This is a no-op, but you should modify your code so the is only ever rendered in response to some user interaction or state change.");let{matches:u}=N.useContext(vn),{pathname:f}=nn(),d=Uo(),g=Lo(n,hd(u),f,s==="path");gd(typeof n=="string"?n:ea(n),c.createHref(g),md(c),"reject");let x=JSON.stringify(g);return N.useEffect(()=>{d(JSON.parse(x),{replace:e,state:a,relative:s})},[d,x,s,e,a]),null}function Be(n){Ft(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function h_({basename:n="/",children:e=null,location:a,navigationType:s="POP",navigator:r,static:c=!1,useTransitions:u}){Ft(!rs(),"You cannot render a inside another . You should never have more than one in your app.");let f=n.replace(/^\/*/,"/"),d=N.useMemo(()=>({basename:f,navigator:r,static:c,useTransitions:u,future:{}}),[f,r,c,u]);typeof a=="string"&&(a=ss(a));let{pathname:g="/",search:x="",hash:y="",state:v=null,key:_="default",mask:M}=a,T=N.useMemo(()=>{let j=Gn(g,f);return j==null?null:{location:{pathname:j,search:x,hash:y,state:v,key:_,mask:M},navigationType:s}},[f,g,x,y,v,_,s,M]);return en(T!=null,` is not able to match the URL "${g}${x}${y}" because it does not start with the basename, so the won't render anything.`),T==null?null:N.createElement(Ye.Provider,{value:d},N.createElement(Al.Provider,{children:e,value:T}))}function m_({children:n,location:e}){return J2(Yf(n),e)}function Yf(n,e=[]){let a=[];return N.Children.forEach(n,(s,r)=>{if(!N.isValidElement(s))return;let c=[...e,r];if(s.type===N.Fragment){a.push.apply(a,Yf(s.props.children,c));return}Ft(s.type===Be,`[${typeof s.type=="string"?s.type:s.type.name}] is not a component. All component children of must be a or `),Ft(!s.props.index||!s.props.children,"An index route cannot have child routes.");let u={id:s.props.id||c.join("-"),caseSensitive:s.props.caseSensitive,element:s.props.element,Component:s.props.Component,index:s.props.index,path:s.props.path,middleware:s.props.middleware,loader:s.props.loader,action:s.props.action,hydrateFallbackElement:s.props.hydrateFallbackElement,HydrateFallback:s.props.HydrateFallback,errorElement:s.props.errorElement,ErrorBoundary:s.props.ErrorBoundary,hasErrorBoundary:s.props.hasErrorBoundary===!0||s.props.ErrorBoundary!=null||s.props.errorElement!=null,shouldRevalidate:s.props.shouldRevalidate,handle:s.props.handle,lazy:s.props.lazy};s.props.children&&(u.children=Yf(s.props.children,c)),a.push(u)}),a}var yo="get",bo="application/x-www-form-urlencoded";function Bo(n){return typeof HTMLElement<"u"&&n instanceof HTMLElement}function g_(n){return Bo(n)&&n.tagName.toLowerCase()==="button"}function p_(n){return Bo(n)&&n.tagName.toLowerCase()==="form"}function x_(n){return Bo(n)&&n.tagName.toLowerCase()==="input"}function y_(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function b_(n,e){return n.button===0&&(!e||e==="_self")&&!y_(n)}function qf(n=""){return new URLSearchParams(typeof n=="string"||Array.isArray(n)||n instanceof URLSearchParams?n:Object.keys(n).reduce((e,a)=>{let s=n[a];return e.concat(Array.isArray(s)?s.map(r=>[a,r]):[[a,s]])},[]))}function v_(n,e){let a=qf(n);return e&&e.forEach((s,r)=>{a.has(r)||e.getAll(r).forEach(c=>{a.append(r,c)})}),a}var Wr=null;function __(){if(Wr===null)try{new FormData(document.createElement("form"),0),Wr=!1}catch{Wr=!0}return Wr}var S_=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Tf(n){return n!=null&&!S_.has(n)?(en(!1,`"${n}" is not a valid \`encType\` for \`