function kee(t,e){for(var n=0;ni[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const a of r)if(a.type==="childList")for(const s of a.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&i(s)}).observe(document,{childList:!0,subtree:!0});function n(r){const a={};return r.integrity&&(a.integrity=r.integrity),r.referrerPolicy&&(a.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?a.credentials="include":r.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function i(r){if(r.ep)return;r.ep=!0;const a=n(r);fetch(r.href,a)}})();var ly=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function qs(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var KE={exports:{}},hg={};var l4;function Lee(){if(l4)return hg;l4=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function n(i,r,a){var s=null;if(a!==void 0&&(s=""+a),r.key!==void 0&&(s=""+r.key),"key"in r){a={};for(var o in r)o!=="key"&&(a[o]=r[o])}else a=r;return r=a.ref,{$$typeof:t,type:i,key:s,ref:r!==void 0?r:null,props:a}}return hg.Fragment=e,hg.jsx=n,hg.jsxs=n,hg}var c4;function Iee(){return c4||(c4=1,KE.exports=Lee()),KE.exports}var g=Iee(),YE={exports:{}},qt={};var u4;function Uee(){if(u4)return qt;u4=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),o=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.for("react.activity"),p=Symbol.iterator;function m(H){return H===null||typeof H!="object"?null:(H=p&&H[p]||H["@@iterator"],typeof H=="function"?H:null)}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,v={};function x(H,Y,se){this.props=H,this.context=Y,this.refs=v,this.updater=se||_}x.prototype.isReactComponent={},x.prototype.setState=function(H,Y){if(typeof H!="object"&&typeof H!="function"&&H!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,H,Y,"setState")},x.prototype.forceUpdate=function(H){this.updater.enqueueForceUpdate(this,H,"forceUpdate")};function M(){}M.prototype=x.prototype;function w(H,Y,se){this.props=H,this.context=Y,this.refs=v,this.updater=se||_}var E=w.prototype=new M;E.constructor=w,b(E,x.prototype),E.isPureReactComponent=!0;var T=Array.isArray;function P(){}var N={H:null,A:null,T:null,S:null},U=Object.prototype.hasOwnProperty;function R(H,Y,se){var ue=se.ref;return{$$typeof:t,type:H,key:Y,ref:ue!==void 0?ue:null,props:se}}function O(H,Y){return R(H.type,Y,H.props)}function z(H){return typeof H=="object"&&H!==null&&H.$$typeof===t}function I(H){var Y={"=":"=0",":":"=2"};return"$"+H.replace(/[=:]/g,function(se){return Y[se]})}var G=/\/+/g;function L(H,Y){return typeof H=="object"&&H!==null&&H.key!=null?I(""+H.key):Y.toString(36)}function B(H){switch(H.status){case"fulfilled":return H.value;case"rejected":throw H.reason;default:switch(typeof H.status=="string"?H.then(P,P):(H.status="pending",H.then(function(Y){H.status==="pending"&&(H.status="fulfilled",H.value=Y)},function(Y){H.status==="pending"&&(H.status="rejected",H.reason=Y)})),H.status){case"fulfilled":return H.value;case"rejected":throw H.reason}}throw H}function q(H,Y,se,ue,xe){var re=typeof H;(re==="undefined"||re==="boolean")&&(H=null);var ve=!1;if(H===null)ve=!0;else switch(re){case"bigint":case"string":case"number":ve=!0;break;case"object":switch(H.$$typeof){case t:case e:ve=!0;break;case d:return ve=H._init,q(ve(H._payload),Y,se,ue,xe)}}if(ve)return xe=xe(H),ve=ue===""?"."+L(H,0):ue,T(xe)?(se="",ve!=null&&(se=ve.replace(G,"$&/")+"/"),q(xe,Y,se,"",function(we){return we})):xe!=null&&(z(xe)&&(xe=O(xe,se+(xe.key==null||H&&H.key===xe.key?"":(""+xe.key).replace(G,"$&/")+"/")+ve)),Y.push(xe)),1;ve=0;var Pe=ue===""?".":ue+":";if(T(H))for(var pe=0;pe>>1,ie=q[Q];if(0>>1;Qr(se,X))uer(xe,se)?(q[Q]=xe,q[ue]=X,Q=ue):(q[Q]=se,q[Y]=X,Q=Y);else if(uer(xe,X))q[Q]=xe,q[ue]=X,Q=ue;else break e}}return W}function r(q,W){var X=q.sortIndex-W.sortIndex;return X!==0?X:q.id-W.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,o=s.now();t.unstable_now=function(){return s.now()-o}}var l=[],c=[],d=1,f=null,p=3,m=!1,_=!1,b=!1,v=!1,x=typeof setTimeout=="function"?setTimeout:null,M=typeof clearTimeout=="function"?clearTimeout:null,w=typeof setImmediate<"u"?setImmediate:null;function E(q){for(var W=n(c);W!==null;){if(W.callback===null)i(c);else if(W.startTime<=q)i(c),W.sortIndex=W.expirationTime,e(l,W);else break;W=n(c)}}function T(q){if(b=!1,E(q),!_)if(n(l)!==null)_=!0,P||(P=!0,I());else{var W=n(c);W!==null&&B(T,W.startTime-q)}}var P=!1,N=-1,U=5,R=-1;function O(){return v?!0:!(t.unstable_now()-Rq&&O());){var Q=f.callback;if(typeof Q=="function"){f.callback=null,p=f.priorityLevel;var ie=Q(f.expirationTime<=q);if(q=t.unstable_now(),typeof ie=="function"){f.callback=ie,E(q),W=!0;break t}f===n(l)&&i(l),E(q)}else i(l);f=n(l)}if(f!==null)W=!0;else{var H=n(c);H!==null&&B(T,H.startTime-q),W=!1}}break e}finally{f=null,p=X,m=!1}W=void 0}}finally{W?I():P=!1}}}var I;if(typeof w=="function")I=function(){w(z)};else if(typeof MessageChannel<"u"){var G=new MessageChannel,L=G.port2;G.port1.onmessage=z,I=function(){L.postMessage(null)}}else I=function(){x(z,0)};function B(q,W){N=x(function(){q(t.unstable_now())},W)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(q){q.callback=null},t.unstable_forceFrameRate=function(q){0>q||125Q?(q.sortIndex=X,e(c,q),n(l)===null&&q===n(c)&&(b?(M(N),N=-1):b=!0,B(T,X-Q))):(q.sortIndex=ie,e(l,q),_||m||(_=!0,P||(P=!0,I()))),q},t.unstable_shouldYield=O,t.unstable_wrapCallback=function(q){var W=p;return function(){var X=p;p=W;try{return q.apply(this,arguments)}finally{p=X}}}})(JE)),JE}var h4;function zee(){return h4||(h4=1,QE.exports=Fee()),QE.exports}var eA={exports:{}},Gr={};var p4;function Bee(){if(p4)return Gr;p4=1;var t=tm();function e(l){var c="https://react.dev/errors/"+l;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),eA.exports=Bee(),eA.exports}var g4;function Hee(){if(g4)return pg;g4=1;var t=zee(),e=tm(),n=r$();function i(u){var h="https://react.dev/errors/"+u;if(1ie||(u.current=Q[ie],Q[ie]=null,ie--)}function se(u,h){ie++,Q[ie]=u.current,u.current=h}var ue=H(null),xe=H(null),re=H(null),ve=H(null);function Pe(u,h){switch(se(re,h),se(xe,u),se(ue,null),h.nodeType){case 9:case 11:u=(u=h.documentElement)&&(u=u.namespaceURI)?PU(u):0;break;default:if(u=h.tagName,h=h.namespaceURI)h=PU(h),u=DU(h,u);else switch(u){case"svg":u=1;break;case"math":u=2;break;default:u=0}}Y(ue),se(ue,u)}function pe(){Y(ue),Y(xe),Y(re)}function we(u){u.memoizedState!==null&&se(ve,u);var h=ue.current,y=DU(h,u.type);h!==y&&(se(xe,u),se(ue,y))}function ze(u){xe.current===u&&(Y(ue),Y(xe)),ve.current===u&&(Y(ve),cg._currentValue=X)}var ce,ft;function F(u){if(ce===void 0)try{throw Error()}catch(y){var h=y.stack.trim().match(/\n( *(at )?)/);ce=h&&h[1]||"",ft=-1)":-1C||_e[S]!==Fe[C]){var Je=` `+_e[S].replace(" at new "," at ");return u.displayName&&Je.includes("")&&(Je=Je.replace("",u.displayName)),Je}while(1<=S&&0<=C);break}}}finally{$=!1,Error.prepareStackTrace=y}return(y=u?u.displayName||u.name:"")?F(y):""}function J(u,h){switch(u.tag){case 26:case 27:case 5:return F(u.type);case 16:return F("Lazy");case 13:return u.child!==h&&h!==null?F("Suspense Fallback"):F("Suspense");case 19:return F("SuspenseList");case 0:case 15:return ae(u.type,!1);case 11:return ae(u.type.render,!1);case 1:return ae(u.type,!0);case 31:return F("Activity");default:return""}}function ee(u){try{var h="",y=null;do h+=J(u,y),y=u,u=u.return;while(u);return h}catch(S){return` Error generating stack: `+S.message+` `+S.stack}}var oe=Object.prototype.hasOwnProperty,De=t.unstable_scheduleCallback,Ne=t.unstable_cancelCallback,te=t.unstable_shouldYield,j=t.unstable_requestPaint,k=t.unstable_now,K=t.unstable_getCurrentPriorityLevel,me=t.unstable_ImmediatePriority,ye=t.unstable_UserBlockingPriority,he=t.unstable_NormalPriority,Ye=t.unstable_LowPriority,Le=t.unstable_IdlePriority,qe=t.log,rt=t.unstable_setDisableYieldValue,Ie=null,Re=null;function ht(u){if(typeof qe=="function"&&rt(u),Re&&typeof Re.setStrictMode=="function")try{Re.setStrictMode(Ie,u)}catch{}}var tt=Math.clz32?Math.clz32:de,et=Math.log,ct=Math.LN2;function de(u){return u>>>=0,u===0?32:31-(et(u)/ct|0)|0}var nt=256,fe=262144,ke=4194304;function Me(u){var h=u&42;if(h!==0)return h;switch(u&-u){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return u&261888;case 262144:case 524288:case 1048576:case 2097152:return u&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return u&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return u}}function ge(u,h,y){var S=u.pendingLanes;if(S===0)return 0;var C=0,D=u.suspendedLanes,V=u.pingedLanes;u=u.warmLanes;var ne=S&134217727;return ne!==0?(S=ne&~D,S!==0?C=Me(S):(V&=ne,V!==0?C=Me(V):y||(y=ne&~u,y!==0&&(C=Me(y))))):(ne=S&~D,ne!==0?C=Me(ne):V!==0?C=Me(V):y||(y=S&~u,y!==0&&(C=Me(y)))),C===0?0:h!==0&&h!==C&&(h&D)===0&&(D=C&-C,y=h&-h,D>=y||D===32&&(y&4194048)!==0)?h:C}function Be(u,h){return(u.pendingLanes&~(u.suspendedLanes&~u.pingedLanes)&h)===0}function lt(u,h){switch(u){case 1:case 2:case 4:case 8:case 64:return h+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return h+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function bt(){var u=ke;return ke<<=1,(ke&62914560)===0&&(ke=4194304),u}function Nt(u){for(var h=[],y=0;31>y;y++)h.push(u);return h}function an(u,h){u.pendingLanes|=h,h!==268435456&&(u.suspendedLanes=0,u.pingedLanes=0,u.warmLanes=0)}function Dt(u,h,y,S,C,D){var V=u.pendingLanes;u.pendingLanes=y,u.suspendedLanes=0,u.pingedLanes=0,u.warmLanes=0,u.expiredLanes&=y,u.entangledLanes&=y,u.errorRecoveryDisabledLanes&=y,u.shellSuspendCounter=0;var ne=u.entanglements,_e=u.expirationTimes,Fe=u.hiddenUpdates;for(y=V&~y;0"u")return null;try{return u.activeElement||u.body}catch{return u.body}}var Ai=/[\n"\\]/g;function Tn(u){return u.replace(Ai,function(h){return"\\"+h.charCodeAt(0).toString(16)+" "})}function Ys(u,h,y,S,C,D,V,ne){u.name="",V!=null&&typeof V!="function"&&typeof V!="symbol"&&typeof V!="boolean"?u.type=V:u.removeAttribute("type"),h!=null?V==="number"?(h===0&&u.value===""||u.value!=h)&&(u.value=""+on(h)):u.value!==""+on(h)&&(u.value=""+on(h)):V!=="submit"&&V!=="reset"||u.removeAttribute("value"),h!=null?pr(u,V,on(h)):y!=null?pr(u,V,on(y)):S!=null&&u.removeAttribute("value"),C==null&&D!=null&&(u.defaultChecked=!!D),C!=null&&(u.checked=C&&typeof C!="function"&&typeof C!="symbol"),ne!=null&&typeof ne!="function"&&typeof ne!="symbol"&&typeof ne!="boolean"?u.name=""+on(ne):u.removeAttribute("name")}function Rn(u,h,y,S,C,D,V,ne){if(D!=null&&typeof D!="function"&&typeof D!="symbol"&&typeof D!="boolean"&&(u.type=D),h!=null||y!=null){if(!(D!=="submit"&&D!=="reset"||h!=null)){Wt(u);return}y=y!=null?""+on(y):"",h=h!=null?""+on(h):y,ne||h===u.value||(u.value=h),u.defaultValue=h}S=S??C,S=typeof S!="function"&&typeof S!="symbol"&&!!S,u.checked=ne?u.checked:!!S,u.defaultChecked=!!S,V!=null&&typeof V!="function"&&typeof V!="symbol"&&typeof V!="boolean"&&(u.name=V),Wt(u)}function pr(u,h,y){h==="number"&&vi(u.ownerDocument)===u||u.defaultValue===""+y||(u.defaultValue=""+y)}function Yi(u,h,y,S){if(u=u.options,h){h={};for(var C=0;C"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Kw=!1;if(rl)try{var Tm={};Object.defineProperty(Tm,"passive",{get:function(){Kw=!0}}),window.addEventListener("test",Tm,Tm),window.removeEventListener("test",Tm,Tm)}catch{Kw=!1}var Tc=null,Yw=null,ev=null;function Dk(){if(ev)return ev;var u,h=Yw,y=h.length,S,C="value"in Tc?Tc.value:Tc.textContent,D=C.length;for(u=0;u=Rm),jk=" ",Fk=!1;function zk(u,h){switch(u){case"keyup":return nJ.indexOf(h.keyCode)!==-1;case"keydown":return h.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bk(u){return u=u.detail,typeof u=="object"&&"data"in u?u.data:null}var $f=!1;function rJ(u,h){switch(u){case"compositionend":return Bk(h);case"keypress":return h.which!==32?null:(Fk=!0,jk);case"textInput":return u=h.data,u===jk&&Fk?null:u;default:return null}}function aJ(u,h){if($f)return u==="compositionend"||!tM&&zk(u,h)?(u=Dk(),ev=Yw=Tc=null,$f=!1,u):null;switch(u){case"paste":return null;case"keypress":if(!(h.ctrlKey||h.altKey||h.metaKey)||h.ctrlKey&&h.altKey){if(h.char&&1=h)return{node:y,offset:h-u};u=S}e:{for(;y;){if(y.nextSibling){y=y.nextSibling;break e}y=y.parentNode}y=void 0}y=Kk(y)}}function Zk(u,h){return u&&h?u===h?!0:u&&u.nodeType===3?!1:h&&h.nodeType===3?Zk(u,h.parentNode):"contains"in u?u.contains(h):u.compareDocumentPosition?!!(u.compareDocumentPosition(h)&16):!1:!1}function Qk(u){u=u!=null&&u.ownerDocument!=null&&u.ownerDocument.defaultView!=null?u.ownerDocument.defaultView:window;for(var h=vi(u.document);h instanceof u.HTMLIFrameElement;){try{var y=typeof h.contentWindow.location.href=="string"}catch{y=!1}if(y)u=h.contentWindow;else break;h=vi(u.document)}return h}function rM(u){var h=u&&u.nodeName&&u.nodeName.toLowerCase();return h&&(h==="input"&&(u.type==="text"||u.type==="search"||u.type==="tel"||u.type==="url"||u.type==="password")||h==="textarea"||u.contentEditable==="true")}var hJ=rl&&"documentMode"in document&&11>=document.documentMode,Gf=null,aM=null,km=null,sM=!1;function Jk(u,h,y){var S=y.window===y?y.document:y.nodeType===9?y:y.ownerDocument;sM||Gf==null||Gf!==vi(S)||(S=Gf,"selectionStart"in S&&rM(S)?S={start:S.selectionStart,end:S.selectionEnd}:(S=(S.ownerDocument&&S.ownerDocument.defaultView||window).getSelection(),S={anchorNode:S.anchorNode,anchorOffset:S.anchorOffset,focusNode:S.focusNode,focusOffset:S.focusOffset}),km&&Om(km,S)||(km=S,S=qv(aM,"onSelect"),0>=V,C-=V,Eo=1<<32-tt(h)+C|y<Zt?(mn=Pt,Pt=null):mn=Pt.sibling;var Sn=Ve(Oe,Pt,je[Zt],it);if(Sn===null){Pt===null&&(Pt=mn);break}u&&Pt&&Sn.alternate===null&&h(Oe,Pt),Ee=D(Sn,Ee,Zt),_n===null?Lt=Sn:_n.sibling=Sn,_n=Sn,Pt=mn}if(Zt===je.length)return y(Oe,Pt),vn&&sl(Oe,Zt),Lt;if(Pt===null){for(;ZtZt?(mn=Pt,Pt=null):mn=Pt.sibling;var Kc=Ve(Oe,Pt,Sn.value,it);if(Kc===null){Pt===null&&(Pt=mn);break}u&&Pt&&Kc.alternate===null&&h(Oe,Pt),Ee=D(Kc,Ee,Zt),_n===null?Lt=Kc:_n.sibling=Kc,_n=Kc,Pt=mn}if(Sn.done)return y(Oe,Pt),vn&&sl(Oe,Zt),Lt;if(Pt===null){for(;!Sn.done;Zt++,Sn=je.next())Sn=st(Oe,Sn.value,it),Sn!==null&&(Ee=D(Sn,Ee,Zt),_n===null?Lt=Sn:_n.sibling=Sn,_n=Sn);return vn&&sl(Oe,Zt),Lt}for(Pt=S(Pt);!Sn.done;Zt++,Sn=je.next())Sn=Ke(Pt,Oe,Zt,Sn.value,it),Sn!==null&&(u&&Sn.alternate!==null&&Pt.delete(Sn.key===null?Zt:Sn.key),Ee=D(Sn,Ee,Zt),_n===null?Lt=Sn:_n.sibling=Sn,_n=Sn);return u&&Pt.forEach(function(Oee){return h(Oe,Oee)}),vn&&sl(Oe,Zt),Lt}function Un(Oe,Ee,je,it){if(typeof je=="object"&&je!==null&&je.type===b&&je.key===null&&(je=je.props.children),typeof je=="object"&&je!==null){switch(je.$$typeof){case m:e:{for(var Lt=je.key;Ee!==null;){if(Ee.key===Lt){if(Lt=je.type,Lt===b){if(Ee.tag===7){y(Oe,Ee.sibling),it=C(Ee,je.props.children),it.return=Oe,Oe=it;break e}}else if(Ee.elementType===Lt||typeof Lt=="object"&&Lt!==null&&Lt.$$typeof===U&&xd(Lt)===Ee.type){y(Oe,Ee.sibling),it=C(Ee,je.props),zm(it,je),it.return=Oe,Oe=it;break e}y(Oe,Ee);break}else h(Oe,Ee);Ee=Ee.sibling}je.type===b?(it=fd(je.props.children,Oe.mode,it,je.key),it.return=Oe,Oe=it):(it=uv(je.type,je.key,je.props,null,Oe.mode,it),zm(it,je),it.return=Oe,Oe=it)}return V(Oe);case _:e:{for(Lt=je.key;Ee!==null;){if(Ee.key===Lt)if(Ee.tag===4&&Ee.stateNode.containerInfo===je.containerInfo&&Ee.stateNode.implementation===je.implementation){y(Oe,Ee.sibling),it=C(Ee,je.children||[]),it.return=Oe,Oe=it;break e}else{y(Oe,Ee);break}else h(Oe,Ee);Ee=Ee.sibling}it=hM(je,Oe.mode,it),it.return=Oe,Oe=it}return V(Oe);case U:return je=xd(je),Un(Oe,Ee,je,it)}if(B(je))return Ct(Oe,Ee,je,it);if(I(je)){if(Lt=I(je),typeof Lt!="function")throw Error(i(150));return je=Lt.call(je),zt(Oe,Ee,je,it)}if(typeof je.then=="function")return Un(Oe,Ee,xv(je),it);if(je.$$typeof===w)return Un(Oe,Ee,hv(Oe,je),it);vv(Oe,je)}return typeof je=="string"&&je!==""||typeof je=="number"||typeof je=="bigint"?(je=""+je,Ee!==null&&Ee.tag===6?(y(Oe,Ee.sibling),it=C(Ee,je),it.return=Oe,Oe=it):(y(Oe,Ee),it=fM(je,Oe.mode,it),it.return=Oe,Oe=it),V(Oe)):y(Oe,Ee)}return function(Oe,Ee,je,it){try{Fm=0;var Lt=Un(Oe,Ee,je,it);return nh=null,Lt}catch(Pt){if(Pt===th||Pt===mv)throw Pt;var _n=Va(29,Pt,null,Oe.mode);return _n.lanes=it,_n.return=Oe,_n}finally{}}}var yd=SL(!0),wL=SL(!1),Dc=!1;function EM(u){u.updateQueue={baseState:u.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function AM(u,h){u=u.updateQueue,h.updateQueue===u&&(h.updateQueue={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,callbacks:null})}function Oc(u){return{lane:u,tag:0,payload:null,callback:null,next:null}}function kc(u,h,y){var S=u.updateQueue;if(S===null)return null;if(S=S.shared,(An&2)!==0){var C=S.pending;return C===null?h.next=h:(h.next=C.next,C.next=h),S.pending=h,h=cv(u),sL(u,null,y),h}return lv(u,S,h,y),cv(u)}function Bm(u,h,y){if(h=h.updateQueue,h!==null&&(h=h.shared,(y&4194048)!==0)){var S=h.lanes;S&=u.pendingLanes,y|=S,h.lanes=y,Gn(u,y)}}function TM(u,h){var y=u.updateQueue,S=u.alternate;if(S!==null&&(S=S.updateQueue,y===S)){var C=null,D=null;if(y=y.firstBaseUpdate,y!==null){do{var V={lane:y.lane,tag:y.tag,payload:y.payload,callback:null,next:null};D===null?C=D=V:D=D.next=V,y=y.next}while(y!==null);D===null?C=D=h:D=D.next=h}else C=D=h;y={baseState:S.baseState,firstBaseUpdate:C,lastBaseUpdate:D,shared:S.shared,callbacks:S.callbacks},u.updateQueue=y;return}u=y.lastBaseUpdate,u===null?y.firstBaseUpdate=h:u.next=h,y.lastBaseUpdate=h}var CM=!1;function Hm(){if(CM){var u=eh;if(u!==null)throw u}}function Vm(u,h,y,S){CM=!1;var C=u.updateQueue;Dc=!1;var D=C.firstBaseUpdate,V=C.lastBaseUpdate,ne=C.shared.pending;if(ne!==null){C.shared.pending=null;var _e=ne,Fe=_e.next;_e.next=null,V===null?D=Fe:V.next=Fe,V=_e;var Je=u.alternate;Je!==null&&(Je=Je.updateQueue,ne=Je.lastBaseUpdate,ne!==V&&(ne===null?Je.firstBaseUpdate=Fe:ne.next=Fe,Je.lastBaseUpdate=_e))}if(D!==null){var st=C.baseState;V=0,Je=Fe=_e=null,ne=D;do{var Ve=ne.lane&-536870913,Ke=Ve!==ne.lane;if(Ke?(pn&Ve)===Ve:(S&Ve)===Ve){Ve!==0&&Ve===Jf&&(CM=!0),Je!==null&&(Je=Je.next={lane:0,tag:ne.tag,payload:ne.payload,callback:null,next:null});e:{var Ct=u,zt=ne;Ve=h;var Un=y;switch(zt.tag){case 1:if(Ct=zt.payload,typeof Ct=="function"){st=Ct.call(Un,st,Ve);break e}st=Ct;break e;case 3:Ct.flags=Ct.flags&-65537|128;case 0:if(Ct=zt.payload,Ve=typeof Ct=="function"?Ct.call(Un,st,Ve):Ct,Ve==null)break e;st=f({},st,Ve);break e;case 2:Dc=!0}}Ve=ne.callback,Ve!==null&&(u.flags|=64,Ke&&(u.flags|=8192),Ke=C.callbacks,Ke===null?C.callbacks=[Ve]:Ke.push(Ve))}else Ke={lane:Ve,tag:ne.tag,payload:ne.payload,callback:ne.callback,next:null},Je===null?(Fe=Je=Ke,_e=st):Je=Je.next=Ke,V|=Ve;if(ne=ne.next,ne===null){if(ne=C.shared.pending,ne===null)break;Ke=ne,ne=Ke.next,Ke.next=null,C.lastBaseUpdate=Ke,C.shared.pending=null}}while(!0);Je===null&&(_e=st),C.baseState=_e,C.firstBaseUpdate=Fe,C.lastBaseUpdate=Je,D===null&&(C.shared.lanes=0),Fc|=V,u.lanes=V,u.memoizedState=st}}function ML(u,h){if(typeof u!="function")throw Error(i(191,u));u.call(h)}function EL(u,h){var y=u.callbacks;if(y!==null)for(u.callbacks=null,u=0;uD?D:8;var V=q.T,ne={};q.T=ne,qM(u,!1,h,y);try{var _e=C(),Fe=q.S;if(Fe!==null&&Fe(ne,_e),_e!==null&&typeof _e=="object"&&typeof _e.then=="function"){var Je=SJ(_e,S);Wm(u,h,Je,Xa(u))}else Wm(u,h,S,Xa(u))}catch(st){Wm(u,h,{then:function(){},status:"rejected",reason:st},Xa())}finally{W.p=D,V!==null&&ne.types!==null&&(V.types=ne.types),q.T=V}}function CJ(){}function GM(u,h,y,S){if(u.tag!==5)throw Error(i(476));var C=iI(u).queue;nI(u,C,h,X,y===null?CJ:function(){return rI(u),y(S)})}function iI(u){var h=u.memoizedState;if(h!==null)return h;h={memoizedState:X,baseState:X,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ul,lastRenderedState:X},next:null};var y={};return h.next={memoizedState:y,baseState:y,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ul,lastRenderedState:y},next:null},u.memoizedState=h,u=u.alternate,u!==null&&(u.memoizedState=h),h}function rI(u){var h=iI(u);h.next===null&&(h=u.alternate.memoizedState),Wm(u,h.next.queue,{},Xa())}function WM(){return Pr(cg)}function aI(){return Ci().memoizedState}function sI(){return Ci().memoizedState}function NJ(u){for(var h=u.return;h!==null;){switch(h.tag){case 24:case 3:var y=Xa();u=Oc(y);var S=kc(h,u,y);S!==null&&(Aa(S,h,y),Bm(S,h,y)),h={cache:_M()},u.payload=h;return}h=h.return}}function RJ(u,h,y){var S=Xa();y={lane:S,revertLane:0,gesture:null,action:y,hasEagerState:!1,eagerState:null,next:null},Cv(u)?lI(h,y):(y=uM(u,h,y,S),y!==null&&(Aa(y,u,S),cI(y,h,S)))}function oI(u,h,y){var S=Xa();Wm(u,h,y,S)}function Wm(u,h,y,S){var C={lane:S,revertLane:0,gesture:null,action:y,hasEagerState:!1,eagerState:null,next:null};if(Cv(u))lI(h,C);else{var D=u.alternate;if(u.lanes===0&&(D===null||D.lanes===0)&&(D=h.lastRenderedReducer,D!==null))try{var V=h.lastRenderedState,ne=D(V,y);if(C.hasEagerState=!0,C.eagerState=ne,Ha(ne,V))return lv(u,h,C,0),Wn===null&&ov(),!1}catch{}finally{}if(y=uM(u,h,C,S),y!==null)return Aa(y,u,S),cI(y,h,S),!0}return!1}function qM(u,h,y,S){if(S={lane:2,revertLane:EE(),gesture:null,action:S,hasEagerState:!1,eagerState:null,next:null},Cv(u)){if(h)throw Error(i(479))}else h=uM(u,y,S,2),h!==null&&Aa(h,u,2)}function Cv(u){var h=u.alternate;return u===Kt||h!==null&&h===Kt}function lI(u,h){rh=_v=!0;var y=u.pending;y===null?h.next=h:(h.next=y.next,y.next=h),u.pending=h}function cI(u,h,y){if((y&4194048)!==0){var S=h.lanes;S&=u.pendingLanes,y|=S,h.lanes=y,Gn(u,y)}}var qm={readContext:Pr,use:Mv,useCallback:yi,useContext:yi,useEffect:yi,useImperativeHandle:yi,useLayoutEffect:yi,useInsertionEffect:yi,useMemo:yi,useReducer:yi,useRef:yi,useState:yi,useDebugValue:yi,useDeferredValue:yi,useTransition:yi,useSyncExternalStore:yi,useId:yi,useHostTransitionStatus:yi,useFormState:yi,useActionState:yi,useOptimistic:yi,useMemoCache:yi,useCacheRefresh:yi};qm.useEffectEvent=yi;var uI={readContext:Pr,use:Mv,useCallback:function(u,h){return sa().memoizedState=[u,h===void 0?null:h],u},useContext:Pr,useEffect:qL,useImperativeHandle:function(u,h,y){y=y!=null?y.concat([u]):null,Av(4194308,4,ZL.bind(null,h,u),y)},useLayoutEffect:function(u,h){return Av(4194308,4,u,h)},useInsertionEffect:function(u,h){Av(4,2,u,h)},useMemo:function(u,h){var y=sa();h=h===void 0?null:h;var S=u();if(bd){ht(!0);try{u()}finally{ht(!1)}}return y.memoizedState=[S,h],S},useReducer:function(u,h,y){var S=sa();if(y!==void 0){var C=y(h);if(bd){ht(!0);try{y(h)}finally{ht(!1)}}}else C=h;return S.memoizedState=S.baseState=C,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:u,lastRenderedState:C},S.queue=u,u=u.dispatch=RJ.bind(null,Kt,u),[S.memoizedState,u]},useRef:function(u){var h=sa();return u={current:u},h.memoizedState=u},useState:function(u){u=zM(u);var h=u.queue,y=oI.bind(null,Kt,h);return h.dispatch=y,[u.memoizedState,y]},useDebugValue:VM,useDeferredValue:function(u,h){var y=sa();return $M(y,u,h)},useTransition:function(){var u=zM(!1);return u=nI.bind(null,Kt,u.queue,!0,!1),sa().memoizedState=u,[!1,u]},useSyncExternalStore:function(u,h,y){var S=Kt,C=sa();if(vn){if(y===void 0)throw Error(i(407));y=y()}else{if(y=h(),Wn===null)throw Error(i(349));(pn&127)!==0||PL(S,h,y)}C.memoizedState=y;var D={value:y,getSnapshot:h};return C.queue=D,qL(OL.bind(null,S,D,u),[u]),S.flags|=2048,sh(9,{destroy:void 0},DL.bind(null,S,D,y,h),null),y},useId:function(){var u=sa(),h=Wn.identifierPrefix;if(vn){var y=Ao,S=Eo;y=(S&~(1<<32-tt(S)-1)).toString(32)+y,h="_"+h+"R_"+y,y=Sv++,0<\/script>",D=D.removeChild(D.firstChild);break;case"select":D=typeof S.is=="string"?V.createElement("select",{is:S.is}):V.createElement("select"),S.multiple?D.multiple=!0:S.size&&(D.size=S.size);break;default:D=typeof S.is=="string"?V.createElement(C,{is:S.is}):V.createElement(C)}}D[fi]=h,D[Ei]=S;e:for(V=h.child;V!==null;){if(V.tag===5||V.tag===6)D.appendChild(V.stateNode);else if(V.tag!==4&&V.tag!==27&&V.child!==null){V.child.return=V,V=V.child;continue}if(V===h)break e;for(;V.sibling===null;){if(V.return===null||V.return===h)break e;V=V.return}V.sibling.return=V.return,V=V.sibling}h.stateNode=D;e:switch(Or(D,C,S),C){case"button":case"input":case"select":case"textarea":S=!!S.autoFocus;break e;case"img":S=!0;break e;default:S=!1}S&&fl(h)}}return ei(h),oE(h,h.type,u===null?null:u.memoizedProps,h.pendingProps,y),null;case 6:if(u&&h.stateNode!=null)u.memoizedProps!==S&&fl(h);else{if(typeof S!="string"&&h.stateNode===null)throw Error(i(166));if(u=re.current,Zf(h)){if(u=h.stateNode,y=h.memoizedProps,S=null,C=Rr,C!==null)switch(C.tag){case 27:case 5:S=C.memoizedProps}u[fi]=h,u=!!(u.nodeValue===y||S!==null&&S.suppressHydrationWarning===!0||NU(u.nodeValue,y)),u||Rc(h,!0)}else u=Xv(u).createTextNode(S),u[fi]=h,h.stateNode=u}return ei(h),null;case 31:if(y=h.memoizedState,u===null||u.memoizedState!==null){if(S=Zf(h),y!==null){if(u===null){if(!S)throw Error(i(318));if(u=h.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(i(557));u[fi]=h}else hd(),(h.flags&128)===0&&(h.memoizedState=null),h.flags|=4;ei(h),u=!1}else y=xM(),u!==null&&u.memoizedState!==null&&(u.memoizedState.hydrationErrors=y),u=!0;if(!u)return h.flags&256?(Ga(h),h):(Ga(h),null);if((h.flags&128)!==0)throw Error(i(558))}return ei(h),null;case 13:if(S=h.memoizedState,u===null||u.memoizedState!==null&&u.memoizedState.dehydrated!==null){if(C=Zf(h),S!==null&&S.dehydrated!==null){if(u===null){if(!C)throw Error(i(318));if(C=h.memoizedState,C=C!==null?C.dehydrated:null,!C)throw Error(i(317));C[fi]=h}else hd(),(h.flags&128)===0&&(h.memoizedState=null),h.flags|=4;ei(h),C=!1}else C=xM(),u!==null&&u.memoizedState!==null&&(u.memoizedState.hydrationErrors=C),C=!0;if(!C)return h.flags&256?(Ga(h),h):(Ga(h),null)}return Ga(h),(h.flags&128)!==0?(h.lanes=y,h):(y=S!==null,u=u!==null&&u.memoizedState!==null,y&&(S=h.child,C=null,S.alternate!==null&&S.alternate.memoizedState!==null&&S.alternate.memoizedState.cachePool!==null&&(C=S.alternate.memoizedState.cachePool.pool),D=null,S.memoizedState!==null&&S.memoizedState.cachePool!==null&&(D=S.memoizedState.cachePool.pool),D!==C&&(S.flags|=2048)),y!==u&&y&&(h.child.flags|=8192),Ov(h,h.updateQueue),ei(h),null);case 4:return pe(),u===null&&NE(h.stateNode.containerInfo),ei(h),null;case 10:return ll(h.type),ei(h),null;case 19:if(Y(Ti),S=h.memoizedState,S===null)return ei(h),null;if(C=(h.flags&128)!==0,D=S.rendering,D===null)if(C)Km(S,!1);else{if(bi!==0||u!==null&&(u.flags&128)!==0)for(u=h.child;u!==null;){if(D=bv(u),D!==null){for(h.flags|=128,Km(S,!1),u=D.updateQueue,h.updateQueue=u,Ov(h,u),h.subtreeFlags=0,u=y,y=h.child;y!==null;)oL(y,u),y=y.sibling;return se(Ti,Ti.current&1|2),vn&&sl(h,S.treeForkCount),h.child}u=u.sibling}S.tail!==null&&k()>jv&&(h.flags|=128,C=!0,Km(S,!1),h.lanes=4194304)}else{if(!C)if(u=bv(D),u!==null){if(h.flags|=128,C=!0,u=u.updateQueue,h.updateQueue=u,Ov(h,u),Km(S,!0),S.tail===null&&S.tailMode==="hidden"&&!D.alternate&&!vn)return ei(h),null}else 2*k()-S.renderingStartTime>jv&&y!==536870912&&(h.flags|=128,C=!0,Km(S,!1),h.lanes=4194304);S.isBackwards?(D.sibling=h.child,h.child=D):(u=S.last,u!==null?u.sibling=D:h.child=D,S.last=D)}return S.tail!==null?(u=S.tail,S.rendering=u,S.tail=u.sibling,S.renderingStartTime=k(),u.sibling=null,y=Ti.current,se(Ti,C?y&1|2:y&1),vn&&sl(h,S.treeForkCount),u):(ei(h),null);case 22:case 23:return Ga(h),RM(),S=h.memoizedState!==null,u!==null?u.memoizedState!==null!==S&&(h.flags|=8192):S&&(h.flags|=8192),S?(y&536870912)!==0&&(h.flags&128)===0&&(ei(h),h.subtreeFlags&6&&(h.flags|=8192)):ei(h),y=h.updateQueue,y!==null&&Ov(h,y.retryQueue),y=null,u!==null&&u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(y=u.memoizedState.cachePool.pool),S=null,h.memoizedState!==null&&h.memoizedState.cachePool!==null&&(S=h.memoizedState.cachePool.pool),S!==y&&(h.flags|=2048),u!==null&&Y(gd),null;case 24:return y=null,u!==null&&(y=u.memoizedState.cache),h.memoizedState.cache!==y&&(h.flags|=2048),ll(ki),ei(h),null;case 25:return null;case 30:return null}throw Error(i(156,h.tag))}function LJ(u,h){switch(mM(h),h.tag){case 1:return u=h.flags,u&65536?(h.flags=u&-65537|128,h):null;case 3:return ll(ki),pe(),u=h.flags,(u&65536)!==0&&(u&128)===0?(h.flags=u&-65537|128,h):null;case 26:case 27:case 5:return ze(h),null;case 31:if(h.memoizedState!==null){if(Ga(h),h.alternate===null)throw Error(i(340));hd()}return u=h.flags,u&65536?(h.flags=u&-65537|128,h):null;case 13:if(Ga(h),u=h.memoizedState,u!==null&&u.dehydrated!==null){if(h.alternate===null)throw Error(i(340));hd()}return u=h.flags,u&65536?(h.flags=u&-65537|128,h):null;case 19:return Y(Ti),null;case 4:return pe(),null;case 10:return ll(h.type),null;case 22:case 23:return Ga(h),RM(),u!==null&&Y(gd),u=h.flags,u&65536?(h.flags=u&-65537|128,h):null;case 24:return ll(ki),null;case 25:return null;default:return null}}function kI(u,h){switch(mM(h),h.tag){case 3:ll(ki),pe();break;case 26:case 27:case 5:ze(h);break;case 4:pe();break;case 31:h.memoizedState!==null&&Ga(h);break;case 13:Ga(h);break;case 19:Y(Ti);break;case 10:ll(h.type);break;case 22:case 23:Ga(h),RM(),u!==null&&Y(gd);break;case 24:ll(ki)}}function Ym(u,h){try{var y=h.updateQueue,S=y!==null?y.lastEffect:null;if(S!==null){var C=S.next;y=C;do{if((y.tag&u)===u){S=void 0;var D=y.create,V=y.inst;S=D(),V.destroy=S}y=y.next}while(y!==C)}}catch(ne){Dn(h,h.return,ne)}}function Uc(u,h,y){try{var S=h.updateQueue,C=S!==null?S.lastEffect:null;if(C!==null){var D=C.next;S=D;do{if((S.tag&u)===u){var V=S.inst,ne=V.destroy;if(ne!==void 0){V.destroy=void 0,C=h;var _e=y,Fe=ne;try{Fe()}catch(Je){Dn(C,_e,Je)}}}S=S.next}while(S!==D)}}catch(Je){Dn(h,h.return,Je)}}function LI(u){var h=u.updateQueue;if(h!==null){var y=u.stateNode;try{EL(h,y)}catch(S){Dn(u,u.return,S)}}}function II(u,h,y){y.props=_d(u.type,u.memoizedProps),y.state=u.memoizedState;try{y.componentWillUnmount()}catch(S){Dn(u,h,S)}}function Zm(u,h){try{var y=u.ref;if(y!==null){switch(u.tag){case 26:case 27:case 5:var S=u.stateNode;break;case 30:S=u.stateNode;break;default:S=u.stateNode}typeof y=="function"?u.refCleanup=y(S):y.current=S}}catch(C){Dn(u,h,C)}}function To(u,h){var y=u.ref,S=u.refCleanup;if(y!==null)if(typeof S=="function")try{S()}catch(C){Dn(u,h,C)}finally{u.refCleanup=null,u=u.alternate,u!=null&&(u.refCleanup=null)}else if(typeof y=="function")try{y(null)}catch(C){Dn(u,h,C)}else y.current=null}function UI(u){var h=u.type,y=u.memoizedProps,S=u.stateNode;try{e:switch(h){case"button":case"input":case"select":case"textarea":y.autoFocus&&S.focus();break e;case"img":y.src?S.src=y.src:y.srcSet&&(S.srcset=y.srcSet)}}catch(C){Dn(u,u.return,C)}}function lE(u,h,y){try{var S=u.stateNode;iee(S,u.type,y,h),S[Ei]=h}catch(C){Dn(u,u.return,C)}}function jI(u){return u.tag===5||u.tag===3||u.tag===26||u.tag===27&&$c(u.type)||u.tag===4}function cE(u){e:for(;;){for(;u.sibling===null;){if(u.return===null||jI(u.return))return null;u=u.return}for(u.sibling.return=u.return,u=u.sibling;u.tag!==5&&u.tag!==6&&u.tag!==18;){if(u.tag===27&&$c(u.type)||u.flags&2||u.child===null||u.tag===4)continue e;u.child.return=u,u=u.child}if(!(u.flags&2))return u.stateNode}}function uE(u,h,y){var S=u.tag;if(S===5||S===6)u=u.stateNode,h?(y.nodeType===9?y.body:y.nodeName==="HTML"?y.ownerDocument.body:y).insertBefore(u,h):(h=y.nodeType===9?y.body:y.nodeName==="HTML"?y.ownerDocument.body:y,h.appendChild(u),y=y._reactRootContainer,y!=null||h.onclick!==null||(h.onclick=il));else if(S!==4&&(S===27&&$c(u.type)&&(y=u.stateNode,h=null),u=u.child,u!==null))for(uE(u,h,y),u=u.sibling;u!==null;)uE(u,h,y),u=u.sibling}function kv(u,h,y){var S=u.tag;if(S===5||S===6)u=u.stateNode,h?y.insertBefore(u,h):y.appendChild(u);else if(S!==4&&(S===27&&$c(u.type)&&(y=u.stateNode),u=u.child,u!==null))for(kv(u,h,y),u=u.sibling;u!==null;)kv(u,h,y),u=u.sibling}function FI(u){var h=u.stateNode,y=u.memoizedProps;try{for(var S=u.type,C=h.attributes;C.length;)h.removeAttributeNode(C[0]);Or(h,S,y),h[fi]=u,h[Ei]=y}catch(D){Dn(u,u.return,D)}}var hl=!1,Ui=!1,dE=!1,zI=typeof WeakSet=="function"?WeakSet:Set,gr=null;function IJ(u,h){if(u=u.containerInfo,DE=ty,u=Qk(u),rM(u)){if("selectionStart"in u)var y={start:u.selectionStart,end:u.selectionEnd};else e:{y=(y=u.ownerDocument)&&y.defaultView||window;var S=y.getSelection&&y.getSelection();if(S&&S.rangeCount!==0){y=S.anchorNode;var C=S.anchorOffset,D=S.focusNode;S=S.focusOffset;try{y.nodeType,D.nodeType}catch{y=null;break e}var V=0,ne=-1,_e=-1,Fe=0,Je=0,st=u,Ve=null;t:for(;;){for(var Ke;st!==y||C!==0&&st.nodeType!==3||(ne=V+C),st!==D||S!==0&&st.nodeType!==3||(_e=V+S),st.nodeType===3&&(V+=st.nodeValue.length),(Ke=st.firstChild)!==null;)Ve=st,st=Ke;for(;;){if(st===u)break t;if(Ve===y&&++Fe===C&&(ne=V),Ve===D&&++Je===S&&(_e=V),(Ke=st.nextSibling)!==null)break;st=Ve,Ve=st.parentNode}st=Ke}y=ne===-1||_e===-1?null:{start:ne,end:_e}}else y=null}y=y||{start:0,end:0}}else y=null;for(OE={focusedElem:u,selectionRange:y},ty=!1,gr=h;gr!==null;)if(h=gr,u=h.child,(h.subtreeFlags&1028)!==0&&u!==null)u.return=h,gr=u;else for(;gr!==null;){switch(h=gr,D=h.alternate,u=h.flags,h.tag){case 0:if((u&4)!==0&&(u=h.updateQueue,u=u!==null?u.events:null,u!==null))for(y=0;y title"))),Or(D,S,y),D[fi]=u,Te(D),S=D;break e;case"link":var V=WU("link","href",C).get(S+(y.href||""));if(V){for(var ne=0;neUn&&(V=Un,Un=zt,zt=V);var Oe=Yk(ne,zt),Ee=Yk(ne,Un);if(Oe&&Ee&&(Ke.rangeCount!==1||Ke.anchorNode!==Oe.node||Ke.anchorOffset!==Oe.offset||Ke.focusNode!==Ee.node||Ke.focusOffset!==Ee.offset)){var je=st.createRange();je.setStart(Oe.node,Oe.offset),Ke.removeAllRanges(),zt>Un?(Ke.addRange(je),Ke.extend(Ee.node,Ee.offset)):(je.setEnd(Ee.node,Ee.offset),Ke.addRange(je))}}}}for(st=[],Ke=ne;Ke=Ke.parentNode;)Ke.nodeType===1&&st.push({element:Ke,left:Ke.scrollLeft,top:Ke.scrollTop});for(typeof ne.focus=="function"&&ne.focus(),ne=0;ney?32:y,q.T=null,y=vE,vE=null;var D=Bc,V=vl;if(Zi=0,dh=Bc=null,vl=0,(An&6)!==0)throw Error(i(331));var ne=An;if(An|=4,ZI(D.current),XI(D,D.current,V,y),An=ne,ig(0,!1),Re&&typeof Re.onPostCommitFiberRoot=="function")try{Re.onPostCommitFiberRoot(Ie,D)}catch{}return!0}finally{W.p=C,q.T=S,mU(u,h)}}function xU(u,h,y){h=ps(y,h),h=ZM(u.stateNode,h,2),u=kc(u,h,2),u!==null&&(an(u,2),Co(u))}function Dn(u,h,y){if(u.tag===3)xU(u,u,y);else for(;h!==null;){if(h.tag===3){xU(h,u,y);break}else if(h.tag===1){var S=h.stateNode;if(typeof h.type.getDerivedStateFromError=="function"||typeof S.componentDidCatch=="function"&&(zc===null||!zc.has(S))){u=ps(y,u),y=vI(2),S=kc(h,y,2),S!==null&&(yI(y,S,h,u),an(S,2),Co(S));break}}h=h.return}}function SE(u,h,y){var S=u.pingCache;if(S===null){S=u.pingCache=new FJ;var C=new Set;S.set(h,C)}else C=S.get(h),C===void 0&&(C=new Set,S.set(h,C));C.has(y)||(pE=!0,C.add(y),u=$J.bind(null,u,h,y),h.then(u,u))}function $J(u,h,y){var S=u.pingCache;S!==null&&S.delete(h),u.pingedLanes|=u.suspendedLanes&y,u.warmLanes&=~y,Wn===u&&(pn&y)===y&&(bi===4||bi===3&&(pn&62914560)===pn&&300>k()-Uv?(An&2)===0&&fh(u,0):mE|=y,uh===pn&&(uh=0)),Co(u)}function vU(u,h){h===0&&(h=bt()),u=dd(u,h),u!==null&&(an(u,h),Co(u))}function GJ(u){var h=u.memoizedState,y=0;h!==null&&(y=h.retryLane),vU(u,y)}function WJ(u,h){var y=0;switch(u.tag){case 31:case 13:var S=u.stateNode,C=u.memoizedState;C!==null&&(y=C.retryLane);break;case 19:S=u.stateNode;break;case 22:S=u.stateNode._retryCache;break;default:throw Error(i(314))}S!==null&&S.delete(h),vU(u,y)}function qJ(u,h){return De(u,h)}var $v=null,ph=null,wE=!1,Gv=!1,ME=!1,Vc=0;function Co(u){u!==ph&&u.next===null&&(ph===null?$v=ph=u:ph=ph.next=u),Gv=!0,wE||(wE=!0,KJ())}function ig(u,h){if(!ME&&Gv){ME=!0;do for(var y=!1,S=$v;S!==null;){if(u!==0){var C=S.pendingLanes;if(C===0)var D=0;else{var V=S.suspendedLanes,ne=S.pingedLanes;D=(1<<31-tt(42|u)+1)-1,D&=C&~(V&~ne),D=D&201326741?D&201326741|1:D?D|2:0}D!==0&&(y=!0,SU(S,D))}else D=pn,D=ge(S,S===Wn?D:0,S.cancelPendingCommit!==null||S.timeoutHandle!==-1),(D&3)===0||Be(S,D)||(y=!0,SU(S,D));S=S.next}while(y);ME=!1}}function XJ(){yU()}function yU(){Gv=wE=!1;var u=0;Vc!==0&&aee()&&(u=Vc);for(var h=k(),y=null,S=$v;S!==null;){var C=S.next,D=bU(S,h);D===0?(S.next=null,y===null?$v=C:y.next=C,C===null&&(ph=y)):(y=S,(u!==0||(D&3)!==0)&&(Gv=!0)),S=C}Zi!==0&&Zi!==5||ig(u),Vc!==0&&(Vc=0)}function bU(u,h){for(var y=u.suspendedLanes,S=u.pingedLanes,C=u.expirationTimes,D=u.pendingLanes&-62914561;0ne)break;var Je=_e.transferSize,st=_e.initiatorType;Je&&RU(st)&&(_e=_e.responseEnd,V+=Je*(_e"u"?null:document;function HU(u,h,y){var S=mh;if(S&&typeof h=="string"&&h){var C=Tn(h);C='link[rel="'+u+'"][href="'+C+'"]',typeof y=="string"&&(C+='[crossorigin="'+y+'"]'),BU.has(C)||(BU.add(C),u={rel:u,crossOrigin:y,href:h},S.querySelector(C)===null&&(h=S.createElement("link"),Or(h,"link",u),Te(h),S.head.appendChild(h)))}}function pee(u){yl.D(u),HU("dns-prefetch",u,null)}function mee(u,h){yl.C(u,h),HU("preconnect",u,h)}function gee(u,h,y){yl.L(u,h,y);var S=mh;if(S&&u&&h){var C='link[rel="preload"][as="'+Tn(h)+'"]';h==="image"&&y&&y.imageSrcSet?(C+='[imagesrcset="'+Tn(y.imageSrcSet)+'"]',typeof y.imageSizes=="string"&&(C+='[imagesizes="'+Tn(y.imageSizes)+'"]')):C+='[href="'+Tn(u)+'"]';var D=C;switch(h){case"style":D=gh(u);break;case"script":D=xh(u)}bs.has(D)||(u=f({rel:"preload",href:h==="image"&&y&&y.imageSrcSet?void 0:u,as:h},y),bs.set(D,u),S.querySelector(C)!==null||h==="style"&&S.querySelector(og(D))||h==="script"&&S.querySelector(lg(D))||(h=S.createElement("link"),Or(h,"link",u),Te(h),S.head.appendChild(h)))}}function xee(u,h){yl.m(u,h);var y=mh;if(y&&u){var S=h&&typeof h.as=="string"?h.as:"script",C='link[rel="modulepreload"][as="'+Tn(S)+'"][href="'+Tn(u)+'"]',D=C;switch(S){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":D=xh(u)}if(!bs.has(D)&&(u=f({rel:"modulepreload",href:u},h),bs.set(D,u),y.querySelector(C)===null)){switch(S){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(y.querySelector(lg(D)))return}S=y.createElement("link"),Or(S,"link",u),Te(S),y.head.appendChild(S)}}}function vee(u,h,y){yl.S(u,h,y);var S=mh;if(S&&u){var C=Ce(S).hoistableStyles,D=gh(u);h=h||"default";var V=C.get(D);if(!V){var ne={loading:0,preload:null};if(V=S.querySelector(og(D)))ne.loading=5;else{u=f({rel:"stylesheet",href:u,"data-precedence":h},y),(y=bs.get(D))&&zE(u,y);var _e=V=S.createElement("link");Te(_e),Or(_e,"link",u),_e._p=new Promise(function(Fe,Je){_e.onload=Fe,_e.onerror=Je}),_e.addEventListener("load",function(){ne.loading|=1}),_e.addEventListener("error",function(){ne.loading|=2}),ne.loading|=4,Yv(V,h,S)}V={type:"stylesheet",instance:V,count:1,state:ne},C.set(D,V)}}}function yee(u,h){yl.X(u,h);var y=mh;if(y&&u){var S=Ce(y).hoistableScripts,C=xh(u),D=S.get(C);D||(D=y.querySelector(lg(C)),D||(u=f({src:u,async:!0},h),(h=bs.get(C))&&BE(u,h),D=y.createElement("script"),Te(D),Or(D,"link",u),y.head.appendChild(D)),D={type:"script",instance:D,count:1,state:null},S.set(C,D))}}function bee(u,h){yl.M(u,h);var y=mh;if(y&&u){var S=Ce(y).hoistableScripts,C=xh(u),D=S.get(C);D||(D=y.querySelector(lg(C)),D||(u=f({src:u,async:!0,type:"module"},h),(h=bs.get(C))&&BE(u,h),D=y.createElement("script"),Te(D),Or(D,"link",u),y.head.appendChild(D)),D={type:"script",instance:D,count:1,state:null},S.set(C,D))}}function VU(u,h,y,S){var C=(C=re.current)?Kv(C):null;if(!C)throw Error(i(446));switch(u){case"meta":case"title":return null;case"style":return typeof y.precedence=="string"&&typeof y.href=="string"?(h=gh(y.href),y=Ce(C).hoistableStyles,S=y.get(h),S||(S={type:"style",instance:null,count:0,state:null},y.set(h,S)),S):{type:"void",instance:null,count:0,state:null};case"link":if(y.rel==="stylesheet"&&typeof y.href=="string"&&typeof y.precedence=="string"){u=gh(y.href);var D=Ce(C).hoistableStyles,V=D.get(u);if(V||(C=C.ownerDocument||C,V={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},D.set(u,V),(D=C.querySelector(og(u)))&&!D._p&&(V.instance=D,V.state.loading=5),bs.has(u)||(y={rel:"preload",as:"style",href:y.href,crossOrigin:y.crossOrigin,integrity:y.integrity,media:y.media,hrefLang:y.hrefLang,referrerPolicy:y.referrerPolicy},bs.set(u,y),D||_ee(C,u,y,V.state))),h&&S===null)throw Error(i(528,""));return V}if(h&&S!==null)throw Error(i(529,""));return null;case"script":return h=y.async,y=y.src,typeof y=="string"&&h&&typeof h!="function"&&typeof h!="symbol"?(h=xh(y),y=Ce(C).hoistableScripts,S=y.get(h),S||(S={type:"script",instance:null,count:0,state:null},y.set(h,S)),S):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,u))}}function gh(u){return'href="'+Tn(u)+'"'}function og(u){return'link[rel="stylesheet"]['+u+"]"}function $U(u){return f({},u,{"data-precedence":u.precedence,precedence:null})}function _ee(u,h,y,S){u.querySelector('link[rel="preload"][as="style"]['+h+"]")?S.loading=1:(h=u.createElement("link"),S.preload=h,h.addEventListener("load",function(){return S.loading|=1}),h.addEventListener("error",function(){return S.loading|=2}),Or(h,"link",y),Te(h),u.head.appendChild(h))}function xh(u){return'[src="'+Tn(u)+'"]'}function lg(u){return"script[async]"+u}function GU(u,h,y){if(h.count++,h.instance===null)switch(h.type){case"style":var S=u.querySelector('style[data-href~="'+Tn(y.href)+'"]');if(S)return h.instance=S,Te(S),S;var C=f({},y,{"data-href":y.href,"data-precedence":y.precedence,href:null,precedence:null});return S=(u.ownerDocument||u).createElement("style"),Te(S),Or(S,"style",C),Yv(S,y.precedence,u),h.instance=S;case"stylesheet":C=gh(y.href);var D=u.querySelector(og(C));if(D)return h.state.loading|=4,h.instance=D,Te(D),D;S=$U(y),(C=bs.get(C))&&zE(S,C),D=(u.ownerDocument||u).createElement("link"),Te(D);var V=D;return V._p=new Promise(function(ne,_e){V.onload=ne,V.onerror=_e}),Or(D,"link",S),h.state.loading|=4,Yv(D,y.precedence,u),h.instance=D;case"script":return D=xh(y.src),(C=u.querySelector(lg(D)))?(h.instance=C,Te(C),C):(S=y,(C=bs.get(D))&&(S=f({},y),BE(S,C)),u=u.ownerDocument||u,C=u.createElement("script"),Te(C),Or(C,"link",S),u.head.appendChild(C),h.instance=C);case"void":return null;default:throw Error(i(443,h.type))}else h.type==="stylesheet"&&(h.state.loading&4)===0&&(S=h.instance,h.state.loading|=4,Yv(S,y.precedence,u));return h.instance}function Yv(u,h,y){for(var S=y.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),C=S.length?S[S.length-1]:null,D=C,V=0;V title"):null)}function See(u,h,y){if(y===1||h.itemProp!=null)return!1;switch(u){case"meta":case"title":return!0;case"style":if(typeof h.precedence!="string"||typeof h.href!="string"||h.href==="")break;return!0;case"link":if(typeof h.rel!="string"||typeof h.href!="string"||h.href===""||h.onLoad||h.onError)break;switch(h.rel){case"stylesheet":return u=h.disabled,typeof h.precedence=="string"&&u==null;default:return!0}case"script":if(h.async&&typeof h.async!="function"&&typeof h.async!="symbol"&&!h.onLoad&&!h.onError&&h.src&&typeof h.src=="string")return!0}return!1}function XU(u){return!(u.type==="stylesheet"&&(u.state.loading&3)===0)}function wee(u,h,y,S){if(y.type==="stylesheet"&&(typeof S.media!="string"||matchMedia(S.media).matches!==!1)&&(y.state.loading&4)===0){if(y.instance===null){var C=gh(S.href),D=h.querySelector(og(C));if(D){h=D._p,h!==null&&typeof h=="object"&&typeof h.then=="function"&&(u.count++,u=Qv.bind(u),h.then(u,u)),y.state.loading|=4,y.instance=D,Te(D);return}D=h.ownerDocument||h,S=$U(S),(C=bs.get(C))&&zE(S,C),D=D.createElement("link"),Te(D);var V=D;V._p=new Promise(function(ne,_e){V.onload=ne,V.onerror=_e}),Or(D,"link",S),y.instance=D}u.stylesheets===null&&(u.stylesheets=new Map),u.stylesheets.set(y,h),(h=y.state.preload)&&(y.state.loading&3)===0&&(u.count++,y=Qv.bind(u),h.addEventListener("load",y),h.addEventListener("error",y))}}var HE=0;function Mee(u,h){return u.stylesheets&&u.count===0&&ey(u,u.stylesheets),0HE?50:800)+h);return u.unsuspend=y,function(){u.unsuspend=null,clearTimeout(S),clearTimeout(C)}}:null}function Qv(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)ey(this,this.stylesheets);else if(this.unsuspend){var u=this.unsuspend;this.unsuspend=null,u()}}}var Jv=null;function ey(u,h){u.stylesheets=null,u.unsuspend!==null&&(u.count++,Jv=new Map,h.forEach(Eee,u),Jv=null,Qv.call(u))}function Eee(u,h){if(!(h.state.loading&4)){var y=Jv.get(u);if(y)var S=y.get(null);else{y=new Map,Jv.set(u,y);for(var C=u.querySelectorAll("link[data-precedence],style[data-precedence]"),D=0;D"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),ZE.exports=Hee(),ZE.exports}var $ee=Vee();var v4="popstate";function Gee(t={}){function e(i,r){let{pathname:a,search:s,hash:o}=i.location;return jC("",{pathname:a,search:s,hash:o},r.state&&r.state.usr||null,r.state&&r.state.key||"default")}function n(i,r){return typeof r=="string"?r:v0(r)}return qee(e,n,null,t)}function pi(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function vo(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function Wee(){return Math.random().toString(36).substring(2,10)}function y4(t,e){return{usr:t.state,key:t.key,idx:e}}function jC(t,e,n=null,i){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof e=="string"?nm(e):e,state:n,key:e&&e.key||i||Wee()}}function v0({pathname:t="/",search:e="",hash:n=""}){return e&&e!=="?"&&(t+=e.charAt(0)==="?"?e:"?"+e),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function nm(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substring(n),t=t.substring(0,n));let i=t.indexOf("?");i>=0&&(e.search=t.substring(i),t=t.substring(0,i)),t&&(e.pathname=t)}return e}function qee(t,e,n,i={}){let{window:r=document.defaultView,v5Compat:a=!1}=i,s=r.history,o="POP",l=null,c=d();c==null&&(c=0,s.replaceState({...s.state,idx:c},""));function d(){return(s.state||{idx:null}).idx}function f(){o="POP";let v=d(),x=v==null?null:v-c;c=v,l&&l({action:o,location:b.location,delta:x})}function p(v,x){o="PUSH";let M=jC(b.location,v,x);c=d()+1;let w=y4(M,c),E=b.createHref(M);try{s.pushState(w,"",E)}catch(T){if(T instanceof DOMException&&T.name==="DataCloneError")throw T;r.location.assign(E)}a&&l&&l({action:o,location:b.location,delta:1})}function m(v,x){o="REPLACE";let M=jC(b.location,v,x);c=d();let w=y4(M,c),E=b.createHref(M);s.replaceState(w,"",E),a&&l&&l({action:o,location:b.location,delta:0})}function _(v){return Xee(v)}let b={get action(){return o},get location(){return t(r,s)},listen(v){if(l)throw new Error("A history only accepts one active listener");return r.addEventListener(v4,f),l=v,()=>{r.removeEventListener(v4,f),l=null}},createHref(v){return e(r,v)},createURL:_,encodeLocation(v){let x=_(v);return{pathname:x.pathname,search:x.search,hash:x.hash}},push:p,replace:m,go(v){return s.go(v)}};return b}function Xee(t,e=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),pi(n,"No window.location.(origin|href) available to create URL");let i=typeof t=="string"?t:v0(t);return i=i.replace(/ $/,"%20"),!e&&i.startsWith("//")&&(i=n+i),new URL(i,n)}function a$(t,e,n="/"){return Kee(t,e,n,!1)}function Kee(t,e,n,i){let r=typeof e=="string"?nm(e):e,a=ac(r.pathname||"/",n);if(a==null)return null;let s=s$(t);Yee(s);let o=null;for(let l=0;o==null&&l{let d={relativePath:c===void 0?s.path||"":c,caseSensitive:s.caseSensitive===!0,childrenIndex:o,route:s};if(d.relativePath.startsWith("/")){if(!d.relativePath.startsWith(i)&&l)return;pi(d.relativePath.startsWith(i),`Absolute route path "${d.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),d.relativePath=d.relativePath.slice(i.length)}let f=Zl([i,d.relativePath]),p=n.concat(d);s.children&&s.children.length>0&&(pi(s.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${f}".`),s$(s.children,e,p,f,l)),!(s.path==null&&!s.index)&&e.push({path:f,score:ite(f,s.index),routesMeta:p})};return t.forEach((s,o)=>{if(s.path===""||!s.path?.includes("?"))a(s,o);else for(let l of o$(s.path))a(s,o,!0,l)}),e}function o$(t){let e=t.split("/");if(e.length===0)return[];let[n,...i]=e,r=n.endsWith("?"),a=n.replace(/\?$/,"");if(i.length===0)return r?[a,""]:[a];let s=o$(i.join("/")),o=[];return o.push(...s.map(l=>l===""?a:[a,l].join("/"))),r&&o.push(...s),o.map(l=>t.startsWith("/")&&l===""?"/":l)}function Yee(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:rte(e.routesMeta.map(i=>i.childrenIndex),n.routesMeta.map(i=>i.childrenIndex)))}var Zee=/^:[\w-]+$/,Qee=3,Jee=2,ete=1,tte=10,nte=-2,b4=t=>t==="*";function ite(t,e){let n=t.split("/"),i=n.length;return n.some(b4)&&(i+=nte),e&&(i+=Jee),n.filter(r=>!b4(r)).reduce((r,a)=>r+(Zee.test(a)?Qee:a===""?ete:tte),i)}function rte(t,e){return t.length===e.length&&t.slice(0,-1).every((i,r)=>i===e[r])?t[t.length-1]-e[e.length-1]:0}function ate(t,e,n=!1){let{routesMeta:i}=t,r={},a="/",s=[];for(let o=0;o{if(d==="*"){let _=o[p]||"";s=a.slice(0,a.length-_.length).replace(/(.)\/+$/,"$1")}const m=o[p];return f&&!m?c[d]=void 0:c[d]=(m||"").replace(/%2F/g,"/"),c},{}),pathname:a,pathnameBase:s,pattern:t}}function ste(t,e=!1,n=!0){vo(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let i=[],r="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,o,l)=>(i.push({paramName:o,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return t.endsWith("*")?(i.push({paramName:"*"}),r+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?r+="\\/*$":t!==""&&t!=="/"&&(r+="(?:(?=\\/|$))"),[new RegExp(r,e?void 0:"i"),i]}function ote(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return vo(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${e}).`),t}}function ac(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,i=t.charAt(n);return i&&i!=="/"?null:t.slice(n)||"/"}var lte=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,cte=t=>lte.test(t);function ute(t,e="/"){let{pathname:n,search:i="",hash:r=""}=typeof t=="string"?nm(t):t,a;if(n)if(cte(n))a=n;else{if(n.includes("//")){let s=n;n=n.replace(/\/\/+/g,"/"),vo(!1,`Pathnames cannot have embedded double slashes - normalizing ${s} -> ${n}`)}n.startsWith("/")?a=_4(n.substring(1),"/"):a=_4(n,e)}else a=e;return{pathname:a,search:hte(i),hash:pte(r)}}function _4(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(r=>{r===".."?n.length>1&&n.pop():r!=="."&&n.push(r)}),n.length>1?n.join("/"):"/"}function tA(t,e,n,i){return`Cannot include a '${t}' character in a manually specified \`to.${e}\` field [${JSON.stringify(i)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function dte(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function l$(t){let e=dte(t);return e.map((n,i)=>i===e.length-1?n.pathname:n.pathnameBase)}function c$(t,e,n,i=!1){let r;typeof t=="string"?r=nm(t):(r={...t},pi(!r.pathname||!r.pathname.includes("?"),tA("?","pathname","search",r)),pi(!r.pathname||!r.pathname.includes("#"),tA("#","pathname","hash",r)),pi(!r.search||!r.search.includes("#"),tA("#","search","hash",r)));let a=t===""||r.pathname==="",s=a?"/":r.pathname,o;if(s==null)o=n;else{let f=e.length-1;if(!i&&s.startsWith("..")){let p=s.split("/");for(;p[0]==="..";)p.shift(),f-=1;r.pathname=p.join("/")}o=f>=0?e[f]:"/"}let l=ute(r,o),c=s&&s!=="/"&&s.endsWith("/"),d=(a||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||d)&&(l.pathname+="/"),l}var Zl=t=>t.join("/").replace(/\/\/+/g,"/"),fte=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),hte=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,pte=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function mte(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var u$=["POST","PUT","PATCH","DELETE"];new Set(u$);var gte=["GET",...u$];new Set(gte);var im=A.createContext(null);im.displayName="DataRouter";var gS=A.createContext(null);gS.displayName="DataRouterState";A.createContext(!1);var d$=A.createContext({isTransitioning:!1});d$.displayName="ViewTransition";var xte=A.createContext(new Map);xte.displayName="Fetchers";var vte=A.createContext(null);vte.displayName="Await";var Jo=A.createContext(null);Jo.displayName="Navigation";var dx=A.createContext(null);dx.displayName="Location";var el=A.createContext({outlet:null,matches:[],isDataRoute:!1});el.displayName="Route";var $R=A.createContext(null);$R.displayName="RouteError";function yte(t,{relative:e}={}){pi(fx(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:i}=A.useContext(Jo),{hash:r,pathname:a,search:s}=hx(t,{relative:e}),o=a;return n!=="/"&&(o=a==="/"?n:Zl([n,a])),i.createHref({pathname:o,search:s,hash:r})}function fx(){return A.useContext(dx)!=null}function Ju(){return pi(fx(),"useLocation() may be used only in the context of a component."),A.useContext(dx).location}var f$="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function h$(t){A.useContext(Jo).static||A.useLayoutEffect(t)}function GR(){let{isDataRoute:t}=A.useContext(el);return t?kte():bte()}function bte(){pi(fx(),"useNavigate() may be used only in the context of a component.");let t=A.useContext(im),{basename:e,navigator:n}=A.useContext(Jo),{matches:i}=A.useContext(el),{pathname:r}=Ju(),a=JSON.stringify(l$(i)),s=A.useRef(!1);return h$(()=>{s.current=!0}),A.useCallback((l,c={})=>{if(vo(s.current,f$),!s.current)return;if(typeof l=="number"){n.go(l);return}let d=c$(l,JSON.parse(a),r,c.relative==="path");t==null&&e!=="/"&&(d.pathname=d.pathname==="/"?e:Zl([e,d.pathname])),(c.replace?n.replace:n.push)(d,c.state,c)},[e,n,a,r,t])}var _te=A.createContext(null);function Ste(t){let e=A.useContext(el).outlet;return A.useMemo(()=>e&&A.createElement(_te.Provider,{value:t},e),[e,t])}function hx(t,{relative:e}={}){let{matches:n}=A.useContext(el),{pathname:i}=Ju(),r=JSON.stringify(l$(n));return A.useMemo(()=>c$(t,JSON.parse(r),i,e==="path"),[t,r,i,e])}function wte(t,e){return p$(t,e)}function p$(t,e,n,i,r){pi(fx(),"useRoutes() may be used only in the context of a component.");let{navigator:a}=A.useContext(Jo),{matches:s}=A.useContext(el),o=s[s.length-1],l=o?o.params:{},c=o?o.pathname:"/",d=o?o.pathnameBase:"/",f=o&&o.route;{let M=f&&f.path||"";m$(c,!f||M.endsWith("*")||M.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${c}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. Please change the parent to .`)}let p=Ju(),m;if(e){let M=typeof e=="string"?nm(e):e;pi(d==="/"||M.pathname?.startsWith(d),`When overriding the location using \`\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${d}" but pathname "${M.pathname}" was given in the \`location\` prop.`),m=M}else m=p;let _=m.pathname||"/",b=_;if(d!=="/"){let M=d.replace(/^\//,"").split("/");b="/"+_.replace(/^\//,"").split("/").slice(M.length).join("/")}let v=a$(t,{pathname:b});vo(f||v!=null,`No routes matched location "${m.pathname}${m.search}${m.hash}" `),vo(v==null||v[v.length-1].route.element!==void 0||v[v.length-1].route.Component!==void 0||v[v.length-1].route.lazy!==void 0,`Matched leaf route at location "${m.pathname}${m.search}${m.hash}" does not have an element or Component. This means it will render an with a null value by default resulting in an "empty" page.`);let x=Cte(v&&v.map(M=>Object.assign({},M,{params:Object.assign({},l,M.params),pathname:Zl([d,a.encodeLocation?a.encodeLocation(M.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:M.pathname]),pathnameBase:M.pathnameBase==="/"?d:Zl([d,a.encodeLocation?a.encodeLocation(M.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:M.pathnameBase])})),s,n,i,r);return e&&x?A.createElement(dx.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...m},navigationType:"POP"}},x):x}function Mte(){let t=Ote(),e=mte(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,i="rgba(200,200,200, 0.5)",r={padding:"0.5rem",backgroundColor:i},a={padding:"2px 4px",backgroundColor:i},s=null;return console.error("Error handled by React Router default ErrorBoundary:",t),s=A.createElement(A.Fragment,null,A.createElement("p",null,"💿 Hey developer 👋"),A.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",A.createElement("code",{style:a},"ErrorBoundary")," or"," ",A.createElement("code",{style:a},"errorElement")," prop on your route.")),A.createElement(A.Fragment,null,A.createElement("h2",null,"Unexpected Application Error!"),A.createElement("h3",{style:{fontStyle:"italic"}},e),n?A.createElement("pre",{style:r},n):null,s)}var Ete=A.createElement(Mte,null),Ate=class extends A.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,e){return e.location!==t.location||e.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:e.error,location:e.location,revalidation:t.revalidation||e.revalidation}}componentDidCatch(t,e){this.props.onError?this.props.onError(t,e):console.error("React Router caught the following error during render",t)}render(){return this.state.error!==void 0?A.createElement(el.Provider,{value:this.props.routeContext},A.createElement($R.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Tte({routeContext:t,match:e,children:n}){let i=A.useContext(im);return i&&i.static&&i.staticContext&&(e.route.errorElement||e.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=e.route.id),A.createElement(el.Provider,{value:t},n)}function Cte(t,e=[],n=null,i=null,r=null){if(t==null){if(!n)return null;if(n.errors)t=n.matches;else if(e.length===0&&!n.initialized&&n.matches.length>0)t=n.matches;else return null}let a=t,s=n?.errors;if(s!=null){let d=a.findIndex(f=>f.route.id&&s?.[f.route.id]!==void 0);pi(d>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(s).join(",")}`),a=a.slice(0,Math.min(a.length,d+1))}let o=!1,l=-1;if(n)for(let d=0;d=0?a=a.slice(0,l+1):a=[a[0]];break}}}let c=n&&i?(d,f)=>{i(d,{location:n.location,params:n.matches?.[0]?.params??{},errorInfo:f})}:void 0;return a.reduceRight((d,f,p)=>{let m,_=!1,b=null,v=null;n&&(m=s&&f.route.id?s[f.route.id]:void 0,b=f.route.errorElement||Ete,o&&(l<0&&p===0?(m$("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),_=!0,v=null):l===p&&(_=!0,v=f.route.hydrateFallbackElement||null)));let x=e.concat(a.slice(0,p+1)),M=()=>{let w;return m?w=b:_?w=v:f.route.Component?w=A.createElement(f.route.Component,null):f.route.element?w=f.route.element:w=d,A.createElement(Tte,{match:f,routeContext:{outlet:d,matches:x,isDataRoute:n!=null},children:w})};return n&&(f.route.ErrorBoundary||f.route.errorElement||p===0)?A.createElement(Ate,{location:n.location,revalidation:n.revalidation,component:b,error:m,children:M(),routeContext:{outlet:null,matches:x,isDataRoute:!0},onError:c}):M()},null)}function WR(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Nte(t){let e=A.useContext(im);return pi(e,WR(t)),e}function Rte(t){let e=A.useContext(gS);return pi(e,WR(t)),e}function Pte(t){let e=A.useContext(el);return pi(e,WR(t)),e}function qR(t){let e=Pte(t),n=e.matches[e.matches.length-1];return pi(n.route.id,`${t} can only be used on routes that contain a unique "id"`),n.route.id}function Dte(){return qR("useRouteId")}function Ote(){let t=A.useContext($R),e=Rte("useRouteError"),n=qR("useRouteError");return t!==void 0?t:e.errors?.[n]}function kte(){let{router:t}=Nte("useNavigate"),e=qR("useNavigate"),n=A.useRef(!1);return h$(()=>{n.current=!0}),A.useCallback(async(r,a={})=>{vo(n.current,f$),n.current&&(typeof r=="number"?t.navigate(r):await t.navigate(r,{fromRouteId:e,...a}))},[t,e])}var S4={};function m$(t,e,n){!e&&!S4[t]&&(S4[t]=!0,vo(!1,n))}A.memo(Lte);function Lte({routes:t,future:e,state:n,unstable_onError:i}){return p$(t,void 0,n,i,e)}function Ite(t){return Ste(t.context)}function kl(t){pi(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function Ute({basename:t="/",children:e=null,location:n,navigationType:i="POP",navigator:r,static:a=!1}){pi(!fx(),"You cannot render a inside another . You should never have more than one in your app.");let s=t.replace(/^\/*/,"/"),o=A.useMemo(()=>({basename:s,navigator:r,static:a,future:{}}),[s,r,a]);typeof n=="string"&&(n=nm(n));let{pathname:l="/",search:c="",hash:d="",state:f=null,key:p="default"}=n,m=A.useMemo(()=>{let _=ac(l,s);return _==null?null:{location:{pathname:_,search:c,hash:d,state:f,key:p},navigationType:i}},[s,l,c,d,f,p,i]);return vo(m!=null,` is not able to match the URL "${l}${c}${d}" because it does not start with the basename, so the won't render anything.`),m==null?null:A.createElement(Jo.Provider,{value:o},A.createElement(dx.Provider,{children:e,value:m}))}function jte({children:t,location:e}){return wte(FC(t),e)}function FC(t,e=[]){let n=[];return A.Children.forEach(t,(i,r)=>{if(!A.isValidElement(i))return;let a=[...e,r];if(i.type===A.Fragment){n.push.apply(n,FC(i.props.children,a));return}pi(i.type===kl,`[${typeof i.type=="string"?i.type:i.type.name}] is not a component. All component children of must be a or `),pi(!i.props.index||!i.props.children,"An index route cannot have child routes.");let s={id:i.props.id||a.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,middleware:i.props.middleware,loader:i.props.loader,action:i.props.action,hydrateFallbackElement:i.props.hydrateFallbackElement,HydrateFallback:i.props.HydrateFallback,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.hasErrorBoundary===!0||i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(s.children=FC(i.props.children,a)),n.push(s)}),n}var Bb="get",Hb="application/x-www-form-urlencoded";function xS(t){return t!=null&&typeof t.tagName=="string"}function Fte(t){return xS(t)&&t.tagName.toLowerCase()==="button"}function zte(t){return xS(t)&&t.tagName.toLowerCase()==="form"}function Bte(t){return xS(t)&&t.tagName.toLowerCase()==="input"}function Hte(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function Vte(t,e){return t.button===0&&(!e||e==="_self")&&!Hte(t)}var cy=null;function $te(){if(cy===null)try{new FormData(document.createElement("form"),0),cy=!1}catch{cy=!0}return cy}var Gte=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function nA(t){return t!=null&&!Gte.has(t)?(vo(!1,`"${t}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Hb}"`),null):t}function Wte(t,e){let n,i,r,a,s;if(zte(t)){let o=t.getAttribute("action");i=o?ac(o,e):null,n=t.getAttribute("method")||Bb,r=nA(t.getAttribute("enctype"))||Hb,a=new FormData(t)}else if(Fte(t)||Bte(t)&&(t.type==="submit"||t.type==="image")){let o=t.form;if(o==null)throw new Error('Cannot submit a