(function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))o(f);new MutationObserver(f=>{for(const m of f)if(m.type==="childList")for(const p of m.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&o(p)}).observe(document,{childList:!0,subtree:!0});function u(f){const m={};return f.integrity&&(m.integrity=f.integrity),f.referrerPolicy&&(m.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?m.credentials="include":f.crossOrigin==="anonymous"?m.credentials="omit":m.credentials="same-origin",m}function o(f){if(f.ep)return;f.ep=!0;const m=u(f);fetch(f.href,m)}})();function Av(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var ho={exports:{}},Pi={};/** * @license React * react-jsx-runtime.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 Bh;function Dv(){if(Bh)return Pi;Bh=1;var l=Symbol.for("react.transitional.element"),s=Symbol.for("react.fragment");function u(o,f,m){var p=null;if(m!==void 0&&(p=""+m),f.key!==void 0&&(p=""+f.key),"key"in f){m={};for(var j in f)j!=="key"&&(m[j]=f[j])}else m=f;return f=m.ref,{$$typeof:l,type:o,key:p,ref:f!==void 0?f:null,props:m}}return Pi.Fragment=s,Pi.jsx=u,Pi.jsxs=u,Pi}var Hh;function zv(){return Hh||(Hh=1,ho.exports=Dv()),ho.exports}var c=zv(),po={exports:{}},me={};/** * @license React * react.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 qh;function Mv(){if(qh)return me;qh=1;var l=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),p=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),S=Symbol.for("react.activity"),N=Symbol.iterator;function q(x){return x===null||typeof x!="object"?null:(x=N&&x[N]||x["@@iterator"],typeof x=="function"?x:null)}var M={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},$=Object.assign,B={};function Q(x,R,K){this.props=x,this.context=R,this.refs=B,this.updater=K||M}Q.prototype.isReactComponent={},Q.prototype.setState=function(x,R){if(typeof x!="object"&&typeof x!="function"&&x!=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,x,R,"setState")},Q.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};function I(){}I.prototype=Q.prototype;function F(x,R,K){this.props=x,this.context=R,this.refs=B,this.updater=K||M}var ne=F.prototype=new I;ne.constructor=F,$(ne,Q.prototype),ne.isPureReactComponent=!0;var se=Array.isArray;function he(){}var Z={H:null,A:null,T:null,S:null},ee=Object.prototype.hasOwnProperty;function Te(x,R,K){var W=K.ref;return{$$typeof:l,type:x,key:R,ref:W!==void 0?W:null,props:K}}function it(x,R){return Te(x.type,R,x.props)}function Ze(x){return typeof x=="object"&&x!==null&&x.$$typeof===l}function oe(x){var R={"=":"=0",":":"=2"};return"$"+x.replace(/[=:]/g,function(K){return R[K]})}var X=/\/+/g;function re(x,R){return typeof x=="object"&&x!==null&&x.key!=null?oe(""+x.key):R.toString(36)}function H(x){switch(x.status){case"fulfilled":return x.value;case"rejected":throw x.reason;default:switch(typeof x.status=="string"?x.then(he,he):(x.status="pending",x.then(function(R){x.status==="pending"&&(x.status="fulfilled",x.value=R)},function(R){x.status==="pending"&&(x.status="rejected",x.reason=R)})),x.status){case"fulfilled":return x.value;case"rejected":throw x.reason}}throw x}function A(x,R,K,W,ce){var pe=typeof x;(pe==="undefined"||pe==="boolean")&&(x=null);var Ne=!1;if(x===null)Ne=!0;else switch(pe){case"bigint":case"string":case"number":Ne=!0;break;case"object":switch(x.$$typeof){case l:case s:Ne=!0;break;case w:return Ne=x._init,A(Ne(x._payload),R,K,W,ce)}}if(Ne)return ce=ce(x),Ne=W===""?"."+re(x,0):W,se(ce)?(K="",Ne!=null&&(K=Ne.replace(X,"$&/")+"/"),A(ce,R,K,"",function(V){return V})):ce!=null&&(Ze(ce)&&(ce=it(ce,K+(ce.key==null||x&&x.key===ce.key?"":(""+ce.key).replace(X,"$&/")+"/")+Ne)),R.push(ce)),1;Ne=0;var Fe=W===""?".":W+":";if(se(x))for(var G=0;G>>1,be=A[de];if(0>>1;def(K,te))Wf(ce,K)?(A[de]=ce,A[W]=te,de=W):(A[de]=K,A[R]=te,de=R);else if(Wf(ce,te))A[de]=ce,A[W]=te,de=W;else break e}}return Y}function f(A,Y){var te=A.sortIndex-Y.sortIndex;return te!==0?te:A.id-Y.id}if(l.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var m=performance;l.unstable_now=function(){return m.now()}}else{var p=Date,j=p.now();l.unstable_now=function(){return p.now()-j}}var g=[],y=[],w=1,S=null,N=3,q=!1,M=!1,$=!1,B=!1,Q=typeof setTimeout=="function"?setTimeout:null,I=typeof clearTimeout=="function"?clearTimeout:null,F=typeof setImmediate<"u"?setImmediate:null;function ne(A){for(var Y=u(y);Y!==null;){if(Y.callback===null)o(y);else if(Y.startTime<=A)o(y),Y.sortIndex=Y.expirationTime,s(g,Y);else break;Y=u(y)}}function se(A){if($=!1,ne(A),!M)if(u(g)!==null)M=!0,he||(he=!0,oe());else{var Y=u(y);Y!==null&&H(se,Y.startTime-A)}}var he=!1,Z=-1,ee=5,Te=-1;function it(){return B?!0:!(l.unstable_now()-TeA&&it());){var de=S.callback;if(typeof de=="function"){S.callback=null,N=S.priorityLevel;var be=de(S.expirationTime<=A);if(A=l.unstable_now(),typeof be=="function"){S.callback=be,ne(A),Y=!0;break t}S===u(g)&&o(g),ne(A)}else o(g);S=u(g)}if(S!==null)Y=!0;else{var x=u(y);x!==null&&H(se,x.startTime-A),Y=!1}}break e}finally{S=null,N=te,q=!1}Y=void 0}}finally{Y?oe():he=!1}}}var oe;if(typeof F=="function")oe=function(){F(Ze)};else if(typeof MessageChannel<"u"){var X=new MessageChannel,re=X.port2;X.port1.onmessage=Ze,oe=function(){re.postMessage(null)}}else oe=function(){Q(Ze,0)};function H(A,Y){Z=Q(function(){A(l.unstable_now())},Y)}l.unstable_IdlePriority=5,l.unstable_ImmediatePriority=1,l.unstable_LowPriority=4,l.unstable_NormalPriority=3,l.unstable_Profiling=null,l.unstable_UserBlockingPriority=2,l.unstable_cancelCallback=function(A){A.callback=null},l.unstable_forceFrameRate=function(A){0>A||125de?(A.sortIndex=te,s(y,A),u(g)===null&&A===u(y)&&($?(I(Z),Z=-1):$=!0,H(se,te-de))):(A.sortIndex=be,s(g,A),M||q||(M=!0,he||(he=!0,oe()))),A},l.unstable_shouldYield=it,l.unstable_wrapCallback=function(A){var Y=N;return function(){var te=N;N=Y;try{return A.apply(this,arguments)}finally{N=te}}}})(vo)),vo}var Gh;function Lv(){return Gh||(Gh=1,yo.exports=Ov()),yo.exports}var bo={exports:{}},Nt={};/** * @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 Qh;function Uv(){if(Qh)return Nt;Qh=1;var l=Ko();function s(g){var y="https://react.dev/errors/"+g;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(s){console.error(s)}}return l(),bo.exports=Uv(),bo.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 Kh;function Hv(){if(Kh)return es;Kh=1;var l=Lv(),s=Ko(),u=Bv();function o(e){var t="https://react.dev/errors/"+e;if(1be||(e.current=de[be],de[be]=null,be--)}function K(e,t){be++,de[be]=e.current,e.current=t}var W=x(null),ce=x(null),pe=x(null),Ne=x(null);function Fe(e,t){switch(K(pe,t),K(ce,e),K(W,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?rh(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=rh(t),e=ch(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}R(W),K(W,e)}function G(){R(W),R(ce),R(pe)}function V(e){e.memoizedState!==null&&K(Ne,e);var t=W.current,a=ch(t,e.type);t!==a&&(K(ce,e),K(W,a))}function ze(e){ce.current===e&&(R(W),R(ce)),Ne.current===e&&(R(Ne),Ji._currentValue=te)}var Me,dt;function xt(e){if(Me===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);Me=t&&t[1]||"",dt=-1)":-1i||_[n]!==k[i]){var O=` `+_[n].replace(" at new "," at ");return e.displayName&&O.includes("")&&(O=O.replace("",e.displayName)),O}while(1<=n&&0<=i);break}}}finally{oa=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?xt(a):""}function ht(e,t){switch(e.tag){case 26:case 27:case 5:return xt(e.type);case 16:return xt("Lazy");case 13:return e.child!==t&&t!==null?xt("Suspense Fallback"):xt("Suspense");case 19:return xt("SuspenseList");case 0:case 15:return Oe(e.type,!1);case 11:return Oe(e.type.render,!1);case 1:return Oe(e.type,!0);case 31:return xt("Activity");default:return""}}function ba(e){try{var t="",a=null;do t+=ht(e,a),a=e,e=e.return;while(e);return t}catch(n){return` Error generating stack: `+n.message+` `+n.stack}}var Le=Object.prototype.hasOwnProperty,qt=l.unstable_scheduleCallback,fe=l.unstable_cancelCallback,Ln=l.unstable_shouldYield,_a=l.unstable_requestPaint,tt=l.unstable_now,dl=l.unstable_getCurrentPriorityLevel,Ft=l.unstable_ImmediatePriority,jt=l.unstable_UserBlockingPriority,Ca=l.unstable_NormalPriority,ka=l.unstable_LowPriority,tn=l.unstable_IdlePriority,ai=l.log,Tt=l.unstable_setDisableYieldValue,Un=null,Et=null;function Ct(e){if(typeof ai=="function"&&Tt(e),Et&&typeof Et.setStrictMode=="function")try{Et.setStrictMode(Un,e)}catch{}}var kt=Math.clz32?Math.clz32:rc,ni=Math.log,sc=Math.LN2;function rc(e){return e>>>=0,e===0?32:31-(ni(e)/sc|0)|0}var fl=256,ml=262144,Dt=4194304;function Ce(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function _e(e,t,a){var n=e.pendingLanes;if(n===0)return 0;var i=0,r=e.suspendedLanes,d=e.pingedLanes;e=e.warmLanes;var h=n&134217727;return h!==0?(n=h&~r,n!==0?i=Ce(n):(d&=h,d!==0?i=Ce(d):a||(a=h&~e,a!==0&&(i=Ce(a))))):(h=n&~r,h!==0?i=Ce(h):d!==0?i=Ce(d):a||(a=n&~e,a!==0&&(i=Ce(a)))),i===0?0:t!==0&&t!==i&&(t&r)===0&&(r=i&-i,a=t&-t,r>=a||r===32&&(a&4194048)!==0)?t:i}function Aa(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function ye(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function li(){var e=Dt;return Dt<<=1,(Dt&62914560)===0&&(Dt=4194304),e}function Bn(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function Hn(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function an(e,t,a,n,i,r){var d=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var h=e.entanglements,_=e.expirationTimes,k=e.hiddenUpdates;for(a=d&~a;0"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var fc=/[\n"\\]/g;function yt(e){return e.replace(fc,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function oi(e,t,a,n,i,r,d,h){e.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?e.type=d:e.removeAttribute("type"),t!=null?d==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+zt(t)):e.value!==""+zt(t)&&(e.value=""+zt(t)):d!=="submit"&&d!=="reset"||e.removeAttribute("value"),t!=null?Gn(e,d,zt(t)):a!=null?Gn(e,d,zt(a)):n!=null&&e.removeAttribute("value"),i==null&&r!=null&&(e.defaultChecked=!!r),i!=null&&(e.checked=i&&typeof i!="function"&&typeof i!="symbol"),h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?e.name=""+zt(h):e.removeAttribute("name")}function Ss(e,t,a,n,i,r,d,h){if(r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(e.type=r),t!=null||a!=null){if(!(r!=="submit"&&r!=="reset"||t!=null)){ui(e);return}a=a!=null?""+zt(a):"",t=t!=null?""+zt(t):a,h||t===e.value||(e.value=t),e.defaultValue=t}n=n??i,n=typeof n!="function"&&typeof n!="symbol"&&!!n,e.checked=h?e.checked:!!n,e.defaultChecked=!!n,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.name=d),ui(e)}function Gn(e,t,a){t==="number"&&Yn(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function Ra(e,t,a,n){if(e=e.options,t){t={};for(var i=0;i"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),mc=!1;if(Ua)try{var mi={};Object.defineProperty(mi,"passive",{get:function(){mc=!0}}),window.addEventListener("test",mi,mi),window.removeEventListener("test",mi,mi)}catch{mc=!1}var un=null,hc=null,Ns=null;function rd(){if(Ns)return Ns;var e,t=hc,a=t.length,n,i="value"in un?un.value:un.textContent,r=i.length;for(e=0;e=gi),md=" ",hd=!1;function pd(e,t){switch(e){case"keyup":return Ig.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function gd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var vl=!1;function ey(e,t){switch(e){case"compositionend":return gd(t);case"keypress":return t.which!==32?null:(hd=!0,md);case"textInput":return e=t.data,e===md&&hd?null:e;default:return null}}function ty(e,t){if(vl)return e==="compositionend"||!bc&&pd(e,t)?(e=rd(),Ns=hc=un=null,vl=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:a,offset:t-e};e=n}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Ed(a)}}function Nd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Nd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Td(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Yn(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=Yn(e.document)}return t}function xc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var uy=Ua&&"documentMode"in document&&11>=document.documentMode,bl=null,jc=null,_i=null,Ec=!1;function Cd(e,t,a){var n=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Ec||bl==null||bl!==Yn(n)||(n=bl,"selectionStart"in n&&xc(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),_i&&bi(_i,n)||(_i=n,n=br(jc,"onSelect"),0>=d,i-=d,xa=1<<32-kt(t)+i|a<ve?(Ee=ae,ae=null):Ee=ae.sibling;var De=D(T,ae,C[ve],L);if(De===null){ae===null&&(ae=Ee);break}e&&ae&&De.alternate===null&&t(T,ae),E=r(De,E,ve),Ae===null?le=De:Ae.sibling=De,Ae=De,ae=Ee}if(ve===C.length)return a(T,ae),we&&Ha(T,ve),le;if(ae===null){for(;veve?(Ee=ae,ae=null):Ee=ae.sibling;var Dn=D(T,ae,De.value,L);if(Dn===null){ae===null&&(ae=Ee);break}e&&ae&&Dn.alternate===null&&t(T,ae),E=r(Dn,E,ve),Ae===null?le=Dn:Ae.sibling=Dn,Ae=Dn,ae=Ee}if(De.done)return a(T,ae),we&&Ha(T,ve),le;if(ae===null){for(;!De.done;ve++,De=C.next())De=U(T,De.value,L),De!==null&&(E=r(De,E,ve),Ae===null?le=De:Ae.sibling=De,Ae=De);return we&&Ha(T,ve),le}for(ae=n(ae);!De.done;ve++,De=C.next())De=z(ae,T,ve,De.value,L),De!==null&&(e&&De.alternate!==null&&ae.delete(De.key===null?ve:De.key),E=r(De,E,ve),Ae===null?le=De:Ae.sibling=De,Ae=De);return e&&ae.forEach(function(kv){return t(T,kv)}),we&&Ha(T,ve),le}function $e(T,E,C,L){if(typeof C=="object"&&C!==null&&C.type===$&&C.key===null&&(C=C.props.children),typeof C=="object"&&C!==null){switch(C.$$typeof){case q:e:{for(var le=C.key;E!==null;){if(E.key===le){if(le=C.type,le===$){if(E.tag===7){a(T,E.sibling),L=i(E,C.props.children),L.return=T,T=L;break e}}else if(E.elementType===le||typeof le=="object"&&le!==null&&le.$$typeof===ee&&Pn(le)===E.type){a(T,E.sibling),L=i(E,C.props),Ni(L,C),L.return=T,T=L;break e}a(T,E);break}else t(T,E);E=E.sibling}C.type===$?(L=Vn(C.props.children,T.mode,L,C.key),L.return=T,T=L):(L=Ls(C.type,C.key,C.props,null,T.mode,L),Ni(L,C),L.return=T,T=L)}return d(T);case M:e:{for(le=C.key;E!==null;){if(E.key===le)if(E.tag===4&&E.stateNode.containerInfo===C.containerInfo&&E.stateNode.implementation===C.implementation){a(T,E.sibling),L=i(E,C.children||[]),L.return=T,T=L;break e}else{a(T,E);break}else t(T,E);E=E.sibling}L=Dc(C,T.mode,L),L.return=T,T=L}return d(T);case ee:return C=Pn(C),$e(T,E,C,L)}if(H(C))return P(T,E,C,L);if(oe(C)){if(le=oe(C),typeof le!="function")throw Error(o(150));return C=le.call(C),ue(T,E,C,L)}if(typeof C.then=="function")return $e(T,E,Gs(C),L);if(C.$$typeof===F)return $e(T,E,Hs(T,C),L);Qs(T,C)}return typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint"?(C=""+C,E!==null&&E.tag===6?(a(T,E.sibling),L=i(E,C),L.return=T,T=L):(a(T,E),L=Ac(C,T.mode,L),L.return=T,T=L),d(T)):a(T,E)}return function(T,E,C,L){try{wi=0;var le=$e(T,E,C,L);return Al=null,le}catch(ae){if(ae===kl||ae===$s)throw ae;var Ae=Gt(29,ae,null,T.mode);return Ae.lanes=L,Ae.return=T,Ae}finally{}}}var tl=Wd(!0),Id=Wd(!1),hn=!1;function Gc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Qc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function pn(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function gn(e,t,a){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,(Re&2)!==0){var i=n.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),n.pending=t,t=Os(e),Od(e,null,a),t}return Rs(e,n,t,a),Os(e)}function Ti(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var n=t.lanes;n&=e.pendingLanes,a|=n,t.lanes=a,fs(e,a)}}function Xc(e,t){var a=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,a===n)){var i=null,r=null;if(a=a.firstBaseUpdate,a!==null){do{var d={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};r===null?i=r=d:r=r.next=d,a=a.next}while(a!==null);r===null?i=r=t:r=r.next=t}else i=r=t;a={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:r,shared:n.shared,callbacks:n.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var Kc=!1;function Ci(){if(Kc){var e=Cl;if(e!==null)throw e}}function ki(e,t,a,n){Kc=!1;var i=e.updateQueue;hn=!1;var r=i.firstBaseUpdate,d=i.lastBaseUpdate,h=i.shared.pending;if(h!==null){i.shared.pending=null;var _=h,k=_.next;_.next=null,d===null?r=k:d.next=k,d=_;var O=e.alternate;O!==null&&(O=O.updateQueue,h=O.lastBaseUpdate,h!==d&&(h===null?O.firstBaseUpdate=k:h.next=k,O.lastBaseUpdate=_))}if(r!==null){var U=i.baseState;d=0,O=k=_=null,h=r;do{var D=h.lane&-536870913,z=D!==h.lane;if(z?(je&D)===D:(n&D)===D){D!==0&&D===Tl&&(Kc=!0),O!==null&&(O=O.next={lane:0,tag:h.tag,payload:h.payload,callback:null,next:null});e:{var P=e,ue=h;D=t;var $e=a;switch(ue.tag){case 1:if(P=ue.payload,typeof P=="function"){U=P.call($e,U,D);break e}U=P;break e;case 3:P.flags=P.flags&-65537|128;case 0:if(P=ue.payload,D=typeof P=="function"?P.call($e,U,D):P,D==null)break e;U=S({},U,D);break e;case 2:hn=!0}}D=h.callback,D!==null&&(e.flags|=64,z&&(e.flags|=8192),z=i.callbacks,z===null?i.callbacks=[D]:z.push(D))}else z={lane:D,tag:h.tag,payload:h.payload,callback:h.callback,next:null},O===null?(k=O=z,_=U):O=O.next=z,d|=D;if(h=h.next,h===null){if(h=i.shared.pending,h===null)break;z=h,h=z.next,z.next=null,i.lastBaseUpdate=z,i.shared.pending=null}}while(!0);O===null&&(_=U),i.baseState=_,i.firstBaseUpdate=k,i.lastBaseUpdate=O,r===null&&(i.shared.lanes=0),Sn|=d,e.lanes=d,e.memoizedState=U}}function Pd(e,t){if(typeof e!="function")throw Error(o(191,e));e.call(t)}function ef(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;er?r:8;var d=A.T,h={};A.T=h,du(e,!1,t,a);try{var _=i(),k=A.S;if(k!==null&&k(h,_),_!==null&&typeof _=="object"&&typeof _.then=="function"){var O=vy(_,n);zi(e,t,O,Vt(e))}else zi(e,t,n,Vt(e))}catch(U){zi(e,t,{then:function(){},status:"rejected",reason:U},Vt())}finally{Y.p=r,d!==null&&h.types!==null&&(d.types=h.types),A.T=d}}function Ey(){}function uu(e,t,a,n){if(e.tag!==5)throw Error(o(476));var i=Mf(e).queue;zf(e,i,t,te,a===null?Ey:function(){return Rf(e),a(n)})}function Mf(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:te,baseState:te,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ga,lastRenderedState:te},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ga,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Rf(e){var t=Mf(e);t.next===null&&(t=e.alternate.memoizedState),zi(e,t.next.queue,{},Vt())}function ou(){return bt(Ji)}function Of(){return lt().memoizedState}function Lf(){return lt().memoizedState}function wy(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=Vt();e=pn(a);var n=gn(t,e,a);n!==null&&(Bt(n,t,a),Ti(n,t,a)),t={cache:Hc()},e.payload=t;return}t=t.return}}function Ny(e,t,a){var n=Vt();a={lane:n,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},er(e)?Bf(t,a):(a=Cc(e,t,a,n),a!==null&&(Bt(a,e,n),Hf(a,t,n)))}function Uf(e,t,a){var n=Vt();zi(e,t,a,n)}function zi(e,t,a,n){var i={lane:n,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(er(e))Bf(t,i);else{var r=e.alternate;if(e.lanes===0&&(r===null||r.lanes===0)&&(r=t.lastRenderedReducer,r!==null))try{var d=t.lastRenderedState,h=r(d,a);if(i.hasEagerState=!0,i.eagerState=h,Yt(h,d))return Rs(e,t,i,0),Ye===null&&Ms(),!1}catch{}finally{}if(a=Cc(e,t,i,n),a!==null)return Bt(a,e,n),Hf(a,t,n),!0}return!1}function du(e,t,a,n){if(n={lane:2,revertLane:Gu(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},er(e)){if(t)throw Error(o(479))}else t=Cc(e,a,n,2),t!==null&&Bt(t,e,2)}function er(e){var t=e.alternate;return e===ge||t!==null&&t===ge}function Bf(e,t){zl=Zs=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function Hf(e,t,a){if((a&4194048)!==0){var n=t.lanes;n&=e.pendingLanes,a|=n,t.lanes=a,fs(e,a)}}var Mi={readContext:bt,use:Fs,useCallback:Pe,useContext:Pe,useEffect:Pe,useImperativeHandle:Pe,useLayoutEffect:Pe,useInsertionEffect:Pe,useMemo:Pe,useReducer:Pe,useRef:Pe,useState:Pe,useDebugValue:Pe,useDeferredValue:Pe,useTransition:Pe,useSyncExternalStore:Pe,useId:Pe,useHostTransitionStatus:Pe,useFormState:Pe,useActionState:Pe,useOptimistic:Pe,useMemoCache:Pe,useCacheRefresh:Pe};Mi.useEffectEvent=Pe;var qf={readContext:bt,use:Fs,useCallback:function(e,t){return At().memoizedState=[e,t===void 0?null:t],e},useContext:bt,useEffect:jf,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,Is(4194308,4,Tf.bind(null,t,e),a)},useLayoutEffect:function(e,t){return Is(4194308,4,e,t)},useInsertionEffect:function(e,t){Is(4,2,e,t)},useMemo:function(e,t){var a=At();t=t===void 0?null:t;var n=e();if(al){Ct(!0);try{e()}finally{Ct(!1)}}return a.memoizedState=[n,t],n},useReducer:function(e,t,a){var n=At();if(a!==void 0){var i=a(t);if(al){Ct(!0);try{a(t)}finally{Ct(!1)}}}else i=t;return n.memoizedState=n.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},n.queue=e,e=e.dispatch=Ny.bind(null,ge,e),[n.memoizedState,e]},useRef:function(e){var t=At();return e={current:e},t.memoizedState=e},useState:function(e){e=lu(e);var t=e.queue,a=Uf.bind(null,ge,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:ru,useDeferredValue:function(e,t){var a=At();return cu(a,e,t)},useTransition:function(){var e=lu(!1);return e=zf.bind(null,ge,e.queue,!0,!1),At().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var n=ge,i=At();if(we){if(a===void 0)throw Error(o(407));a=a()}else{if(a=t(),Ye===null)throw Error(o(349));(je&127)!==0||rf(n,t,a)}i.memoizedState=a;var r={value:a,getSnapshot:t};return i.queue=r,jf(uf.bind(null,n,r,e),[e]),n.flags|=2048,Rl(9,{destroy:void 0},cf.bind(null,n,r,a,t),null),a},useId:function(){var e=At(),t=Ye.identifierPrefix;if(we){var a=ja,n=xa;a=(n&~(1<<32-kt(n)-1)).toString(32)+a,t="_"+t+"R_"+a,a=Vs++,0<\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof n.is=="string"?d.createElement("select",{is:n.is}):d.createElement("select"),n.multiple?r.multiple=!0:n.size&&(r.size=n.size);break;default:r=typeof n.is=="string"?d.createElement(i,{is:n.is}):d.createElement(i)}}r[at]=t,r[gt]=n;e:for(d=t.child;d!==null;){if(d.tag===5||d.tag===6)r.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===t)break e;for(;d.sibling===null;){if(d.return===null||d.return===t)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}t.stateNode=r;e:switch(St(r,i,n),i){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}n&&Xa(t)}}return Ke(t),wu(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==n&&Xa(t);else{if(typeof n!="string"&&t.stateNode===null)throw Error(o(166));if(e=pe.current,wl(t)){if(e=t.stateNode,a=t.memoizedProps,n=null,i=vt,i!==null)switch(i.tag){case 27:case 5:n=i.memoizedProps}e[at]=t,e=!!(e.nodeValue===a||n!==null&&n.suppressHydrationWarning===!0||ih(e.nodeValue,a)),e||fn(t,!0)}else e=_r(e).createTextNode(n),e[at]=t,t.stateNode=e}return Ke(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(n=wl(t),a!==null){if(e===null){if(!n)throw Error(o(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(557));e[at]=t}else Jn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ke(t),e=!1}else a=Oc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(Xt(t),t):(Xt(t),null);if((t.flags&128)!==0)throw Error(o(558))}return Ke(t),null;case 13:if(n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=wl(t),n!==null&&n.dehydrated!==null){if(e===null){if(!i)throw Error(o(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(o(317));i[at]=t}else Jn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ke(t),i=!1}else i=Oc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(Xt(t),t):(Xt(t),null)}return Xt(t),(t.flags&128)!==0?(t.lanes=a,t):(a=n!==null,e=e!==null&&e.memoizedState!==null,a&&(n=t.child,i=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(i=n.alternate.memoizedState.cachePool.pool),r=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(r=n.memoizedState.cachePool.pool),r!==i&&(n.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),ir(t,t.updateQueue),Ke(t),null);case 4:return G(),e===null&&Zu(t.stateNode.containerInfo),Ke(t),null;case 10:return $a(t.type),Ke(t),null;case 19:if(R(nt),n=t.memoizedState,n===null)return Ke(t),null;if(i=(t.flags&128)!==0,r=n.rendering,r===null)if(i)Oi(n,!1);else{if(et!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(r=Ks(e),r!==null){for(t.flags|=128,Oi(n,!1),e=r.updateQueue,t.updateQueue=e,ir(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)Ld(a,e),a=a.sibling;return K(nt,nt.current&1|2),we&&Ha(t,n.treeForkCount),t.child}e=e.sibling}n.tail!==null&&tt()>or&&(t.flags|=128,i=!0,Oi(n,!1),t.lanes=4194304)}else{if(!i)if(e=Ks(r),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,ir(t,e),Oi(n,!0),n.tail===null&&n.tailMode==="hidden"&&!r.alternate&&!we)return Ke(t),null}else 2*tt()-n.renderingStartTime>or&&a!==536870912&&(t.flags|=128,i=!0,Oi(n,!1),t.lanes=4194304);n.isBackwards?(r.sibling=t.child,t.child=r):(e=n.last,e!==null?e.sibling=r:t.child=r,n.last=r)}return n.tail!==null?(e=n.tail,n.rendering=e,n.tail=e.sibling,n.renderingStartTime=tt(),e.sibling=null,a=nt.current,K(nt,i?a&1|2:a&1),we&&Ha(t,n.treeForkCount),e):(Ke(t),null);case 22:case 23:return Xt(t),Vc(),n=t.memoizedState!==null,e!==null?e.memoizedState!==null!==n&&(t.flags|=8192):n&&(t.flags|=8192),n?(a&536870912)!==0&&(t.flags&128)===0&&(Ke(t),t.subtreeFlags&6&&(t.flags|=8192)):Ke(t),a=t.updateQueue,a!==null&&ir(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),n=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),n!==a&&(t.flags|=2048),e!==null&&R(In),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),$a(rt),Ke(t),null;case 25:return null;case 30:return null}throw Error(o(156,t.tag))}function Dy(e,t){switch(Mc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return $a(rt),G(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ze(t),null;case 31:if(t.memoizedState!==null){if(Xt(t),t.alternate===null)throw Error(o(340));Jn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Xt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));Jn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return R(nt),null;case 4:return G(),null;case 10:return $a(t.type),null;case 22:case 23:return Xt(t),Vc(),e!==null&&R(In),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return $a(rt),null;case 25:return null;default:return null}}function om(e,t){switch(Mc(t),t.tag){case 3:$a(rt),G();break;case 26:case 27:case 5:ze(t);break;case 4:G();break;case 31:t.memoizedState!==null&&Xt(t);break;case 13:Xt(t);break;case 19:R(nt);break;case 10:$a(t.type);break;case 22:case 23:Xt(t),Vc(),e!==null&&R(In);break;case 24:$a(rt)}}function Li(e,t){try{var a=t.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var i=n.next;a=i;do{if((a.tag&e)===e){n=void 0;var r=a.create,d=a.inst;n=r(),d.destroy=n}a=a.next}while(a!==i)}}catch(h){Be(t,t.return,h)}}function bn(e,t,a){try{var n=t.updateQueue,i=n!==null?n.lastEffect:null;if(i!==null){var r=i.next;n=r;do{if((n.tag&e)===e){var d=n.inst,h=d.destroy;if(h!==void 0){d.destroy=void 0,i=t;var _=a,k=h;try{k()}catch(O){Be(i,_,O)}}}n=n.next}while(n!==r)}}catch(O){Be(t,t.return,O)}}function dm(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{ef(t,a)}catch(n){Be(e,e.return,n)}}}function fm(e,t,a){a.props=nl(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(n){Be(e,t,n)}}function Ui(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}typeof a=="function"?e.refCleanup=a(n):a.current=n}}catch(i){Be(e,t,i)}}function Ea(e,t){var a=e.ref,n=e.refCleanup;if(a!==null)if(typeof n=="function")try{n()}catch(i){Be(e,t,i)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(i){Be(e,t,i)}else a.current=null}function mm(e){var t=e.type,a=e.memoizedProps,n=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break e;case"img":a.src?n.src=a.src:a.srcSet&&(n.srcset=a.srcSet)}}catch(i){Be(e,e.return,i)}}function Nu(e,t,a){try{var n=e.stateNode;Py(n,e.type,a,t),n[gt]=t}catch(i){Be(e,e.return,i)}}function hm(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Nn(e.type)||e.tag===4}function Tu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||hm(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Nn(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Cu(e,t,a){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=ie));else if(n!==4&&(n===27&&Nn(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(Cu(e,t,a),e=e.sibling;e!==null;)Cu(e,t,a),e=e.sibling}function sr(e,t,a){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(n!==4&&(n===27&&Nn(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(sr(e,t,a),e=e.sibling;e!==null;)sr(e,t,a),e=e.sibling}function pm(e){var t=e.stateNode,a=e.memoizedProps;try{for(var n=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);St(t,n,a),t[at]=e,t[gt]=a}catch(r){Be(e,e.return,r)}}var Ka=!1,ot=!1,ku=!1,gm=typeof WeakSet=="function"?WeakSet:Set,pt=null;function zy(e,t){if(e=e.containerInfo,Fu=Tr,e=Td(e),xc(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var n=a.getSelection&&a.getSelection();if(n&&n.rangeCount!==0){a=n.anchorNode;var i=n.anchorOffset,r=n.focusNode;n=n.focusOffset;try{a.nodeType,r.nodeType}catch{a=null;break e}var d=0,h=-1,_=-1,k=0,O=0,U=e,D=null;t:for(;;){for(var z;U!==a||i!==0&&U.nodeType!==3||(h=d+i),U!==r||n!==0&&U.nodeType!==3||(_=d+n),U.nodeType===3&&(d+=U.nodeValue.length),(z=U.firstChild)!==null;)D=U,U=z;for(;;){if(U===e)break t;if(D===a&&++k===i&&(h=d),D===r&&++O===n&&(_=d),(z=U.nextSibling)!==null)break;U=D,D=U.parentNode}U=z}a=h===-1||_===-1?null:{start:h,end:_}}else a=null}a=a||{start:0,end:0}}else a=null;for(Wu={focusedElem:e,selectionRange:a},Tr=!1,pt=t;pt!==null;)if(t=pt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,pt=e;else for(;pt!==null;){switch(t=pt,r=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a title"))),St(r,n,a),r[at]=e,st(r),n=r;break e;case"link":var d=xh("link","href",i).get(n+(a.href||""));if(d){for(var h=0;h$e&&(d=$e,$e=ue,ue=d);var T=wd(h,ue),E=wd(h,$e);if(T&&E&&(z.rangeCount!==1||z.anchorNode!==T.node||z.anchorOffset!==T.offset||z.focusNode!==E.node||z.focusOffset!==E.offset)){var C=U.createRange();C.setStart(T.node,T.offset),z.removeAllRanges(),ue>$e?(z.addRange(C),z.extend(E.node,E.offset)):(C.setEnd(E.node,E.offset),z.addRange(C))}}}}for(U=[],z=h;z=z.parentNode;)z.nodeType===1&&U.push({element:z,left:z.scrollLeft,top:z.scrollTop});for(typeof h.focus=="function"&&h.focus(),h=0;ha?32:a,A.T=null,a=Lu,Lu=null;var r=jn,d=Wa;if(mt=0,Hl=jn=null,Wa=0,(Re&6)!==0)throw Error(o(331));var h=Re;if(Re|=4,Tm(r.current),Em(r,r.current,d,a),Re=h,Gi(0,!1),Et&&typeof Et.onPostCommitFiberRoot=="function")try{Et.onPostCommitFiberRoot(Un,r)}catch{}return!0}finally{Y.p=i,A.T=n,Xm(e,t)}}function Zm(e,t,a){t=ea(a,t),t=pu(e.stateNode,t,2),e=gn(e,t,2),e!==null&&(Hn(e,2),wa(e))}function Be(e,t,a){if(e.tag===3)Zm(e,e,a);else for(;t!==null;){if(t.tag===3){Zm(t,e,a);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(xn===null||!xn.has(n))){e=ea(a,e),a=Vf(2),n=gn(t,a,2),n!==null&&(Jf(a,n,t,e),Hn(n,2),wa(n));break}}t=t.return}}function qu(e,t,a){var n=e.pingCache;if(n===null){n=e.pingCache=new Oy;var i=new Set;n.set(t,i)}else i=n.get(t),i===void 0&&(i=new Set,n.set(t,i));i.has(a)||(zu=!0,i.add(a),e=qy.bind(null,e,t,a),t.then(e,e))}function qy(e,t,a){var n=e.pingCache;n!==null&&n.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,Ye===e&&(je&a)===a&&(et===4||et===3&&(je&62914560)===je&&300>tt()-ur?(Re&2)===0&&ql(e,0):Mu|=a,Bl===je&&(Bl=0)),wa(e)}function Vm(e,t){t===0&&(t=li()),e=Zn(e,t),e!==null&&(Hn(e,t),wa(e))}function $y(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),Vm(e,a)}function Yy(e,t){var a=0;switch(e.tag){case 31:case 13:var n=e.stateNode,i=e.memoizedState;i!==null&&(a=i.retryLane);break;case 19:n=e.stateNode;break;case 22:n=e.stateNode._retryCache;break;default:throw Error(o(314))}n!==null&&n.delete(t),Vm(e,a)}function Gy(e,t){return qt(e,t)}var gr=null,Yl=null,$u=!1,yr=!1,Yu=!1,wn=0;function wa(e){e!==Yl&&e.next===null&&(Yl===null?gr=Yl=e:Yl=Yl.next=e),yr=!0,$u||($u=!0,Xy())}function Gi(e,t){if(!Yu&&yr){Yu=!0;do for(var a=!1,n=gr;n!==null;){if(e!==0){var i=n.pendingLanes;if(i===0)var r=0;else{var d=n.suspendedLanes,h=n.pingedLanes;r=(1<<31-kt(42|e)+1)-1,r&=i&~(d&~h),r=r&201326741?r&201326741|1:r?r|2:0}r!==0&&(a=!0,Im(n,r))}else r=je,r=_e(n,n===Ye?r:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),(r&3)===0||Aa(n,r)||(a=!0,Im(n,r));n=n.next}while(a);Yu=!1}}function Qy(){Jm()}function Jm(){yr=$u=!1;var e=0;wn!==0&&tv()&&(e=wn);for(var t=tt(),a=null,n=gr;n!==null;){var i=n.next,r=Fm(n,t);r===0?(n.next=null,a===null?gr=i:a.next=i,i===null&&(Yl=a)):(a=n,(e!==0||(r&3)!==0)&&(yr=!0)),n=i}mt!==0&&mt!==5||Gi(e),wn!==0&&(wn=0)}function Fm(e,t){for(var a=e.suspendedLanes,n=e.pingedLanes,i=e.expirationTimes,r=e.pendingLanes&-62914561;0h)break;var O=_.transferSize,U=_.initiatorType;O&&sh(U)&&(_=_.responseEnd,d+=O*(_"u"?null:document;function vh(e,t,a){var n=Gl;if(n&&typeof t=="string"&&t){var i=yt(t);i='link[rel="'+e+'"][href="'+i+'"]',typeof a=="string"&&(i+='[crossorigin="'+a+'"]'),yh.has(i)||(yh.add(i),e={rel:e,crossOrigin:a,href:t},n.querySelector(i)===null&&(t=n.createElement("link"),St(t,"link",e),st(t),n.head.appendChild(t)))}}function ov(e){Ia.D(e),vh("dns-prefetch",e,null)}function dv(e,t){Ia.C(e,t),vh("preconnect",e,t)}function fv(e,t,a){Ia.L(e,t,a);var n=Gl;if(n&&e&&t){var i='link[rel="preload"][as="'+yt(t)+'"]';t==="image"&&a&&a.imageSrcSet?(i+='[imagesrcset="'+yt(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(i+='[imagesizes="'+yt(a.imageSizes)+'"]')):i+='[href="'+yt(e)+'"]';var r=i;switch(t){case"style":r=Ql(e);break;case"script":r=Xl(e)}sa.has(r)||(e=S({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),sa.set(r,e),n.querySelector(i)!==null||t==="style"&&n.querySelector(Zi(r))||t==="script"&&n.querySelector(Vi(r))||(t=n.createElement("link"),St(t,"link",e),st(t),n.head.appendChild(t)))}}function mv(e,t){Ia.m(e,t);var a=Gl;if(a&&e){var n=t&&typeof t.as=="string"?t.as:"script",i='link[rel="modulepreload"][as="'+yt(n)+'"][href="'+yt(e)+'"]',r=i;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=Xl(e)}if(!sa.has(r)&&(e=S({rel:"modulepreload",href:e},t),sa.set(r,e),a.querySelector(i)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Vi(r)))return}n=a.createElement("link"),St(n,"link",e),st(n),a.head.appendChild(n)}}}function hv(e,t,a){Ia.S(e,t,a);var n=Gl;if(n&&e){var i=Ma(n).hoistableStyles,r=Ql(e);t=t||"default";var d=i.get(r);if(!d){var h={loading:0,preload:null};if(d=n.querySelector(Zi(r)))h.loading=5;else{e=S({rel:"stylesheet",href:e,"data-precedence":t},a),(a=sa.get(r))&&lo(e,a);var _=d=n.createElement("link");st(_),St(_,"link",e),_._p=new Promise(function(k,O){_.onload=k,_.onerror=O}),_.addEventListener("load",function(){h.loading|=1}),_.addEventListener("error",function(){h.loading|=2}),h.loading|=4,xr(d,t,n)}d={type:"stylesheet",instance:d,count:1,state:h},i.set(r,d)}}}function pv(e,t){Ia.X(e,t);var a=Gl;if(a&&e){var n=Ma(a).hoistableScripts,i=Xl(e),r=n.get(i);r||(r=a.querySelector(Vi(i)),r||(e=S({src:e,async:!0},t),(t=sa.get(i))&&io(e,t),r=a.createElement("script"),st(r),St(r,"link",e),a.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},n.set(i,r))}}function gv(e,t){Ia.M(e,t);var a=Gl;if(a&&e){var n=Ma(a).hoistableScripts,i=Xl(e),r=n.get(i);r||(r=a.querySelector(Vi(i)),r||(e=S({src:e,async:!0,type:"module"},t),(t=sa.get(i))&&io(e,t),r=a.createElement("script"),st(r),St(r,"link",e),a.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},n.set(i,r))}}function bh(e,t,a,n){var i=(i=pe.current)?Sr(i):null;if(!i)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=Ql(a.href),a=Ma(i).hoistableStyles,n=a.get(t),n||(n={type:"style",instance:null,count:0,state:null},a.set(t,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=Ql(a.href);var r=Ma(i).hoistableStyles,d=r.get(e);if(d||(i=i.ownerDocument||i,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},r.set(e,d),(r=i.querySelector(Zi(e)))&&!r._p&&(d.instance=r,d.state.loading=5),sa.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},sa.set(e,a),r||yv(i,e,a,d.state))),t&&n===null)throw Error(o(528,""));return d}if(t&&n!==null)throw Error(o(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Xl(a),a=Ma(i).hoistableScripts,n=a.get(t),n||(n={type:"script",instance:null,count:0,state:null},a.set(t,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function Ql(e){return'href="'+yt(e)+'"'}function Zi(e){return'link[rel="stylesheet"]['+e+"]"}function _h(e){return S({},e,{"data-precedence":e.precedence,precedence:null})}function yv(e,t,a,n){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?n.loading=1:(t=e.createElement("link"),n.preload=t,t.addEventListener("load",function(){return n.loading|=1}),t.addEventListener("error",function(){return n.loading|=2}),St(t,"link",a),st(t),e.head.appendChild(t))}function Xl(e){return'[src="'+yt(e)+'"]'}function Vi(e){return"script[async]"+e}function Sh(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var n=e.querySelector('style[data-href~="'+yt(a.href)+'"]');if(n)return t.instance=n,st(n),n;var i=S({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return n=(e.ownerDocument||e).createElement("style"),st(n),St(n,"style",i),xr(n,a.precedence,e),t.instance=n;case"stylesheet":i=Ql(a.href);var r=e.querySelector(Zi(i));if(r)return t.state.loading|=4,t.instance=r,st(r),r;n=_h(a),(i=sa.get(i))&&lo(n,i),r=(e.ownerDocument||e).createElement("link"),st(r);var d=r;return d._p=new Promise(function(h,_){d.onload=h,d.onerror=_}),St(r,"link",n),t.state.loading|=4,xr(r,a.precedence,e),t.instance=r;case"script":return r=Xl(a.src),(i=e.querySelector(Vi(r)))?(t.instance=i,st(i),i):(n=a,(i=sa.get(r))&&(n=S({},a),io(n,i)),e=e.ownerDocument||e,i=e.createElement("script"),st(i),St(i,"link",n),e.head.appendChild(i),t.instance=i);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(n=t.instance,t.state.loading|=4,xr(n,a.precedence,e));return t.instance}function xr(e,t,a){for(var n=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=n.length?n[n.length-1]:null,r=i,d=0;d title"):null)}function vv(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Eh(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function bv(e,t,a,n){if(a.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var i=Ql(n.href),r=t.querySelector(Zi(i));if(r){t=r._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Er.bind(e),t.then(e,e)),a.state.loading|=4,a.instance=r,st(r);return}r=t.ownerDocument||t,n=_h(n),(i=sa.get(i))&&lo(n,i),r=r.createElement("link"),st(r);var d=r;d._p=new Promise(function(h,_){d.onload=h,d.onerror=_}),St(r,"link",n),a.instance=r}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=Er.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}var so=0;function _v(e,t){return e.stylesheets&&e.count===0&&Nr(e,e.stylesheets),0so?50:800)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(n),clearTimeout(i)}}:null}function Er(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Nr(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var wr=null;function Nr(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,wr=new Map,t.forEach(Sv,e),wr=null,Er.call(e))}function Sv(e,t){if(!(t.state.loading&4)){var a=wr.get(e);if(a)var n=a.get(null);else{a=new Map,wr.set(e,a);for(var i=e.querySelectorAll("link[data-precedence],style[data-precedence]"),r=0;r"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(s){console.error(s)}}return l(),go.exports=Hv(),go.exports}var $v=qv();/** * react-router v7.17.0 * * 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 Vh="popstate";function Jh(l){return typeof l=="object"&&l!=null&&"pathname"in l&&"search"in l&&"hash"in l&&"state"in l&&"key"in l}function Yv(l={}){function s(f,m){let{pathname:p="/",search:j="",hash:g=""}=ol(f.location.hash.substring(1));return!p.startsWith("/")&&!p.startsWith(".")&&(p="/"+p),Oo("",{pathname:p,search:j,hash:g},m.state&&m.state.usr||null,m.state&&m.state.key||"default")}function u(f,m){let p=f.document.querySelector("base"),j="";if(p&&p.getAttribute("href")){let g=f.location.href,y=g.indexOf("#");j=y===-1?g:g.slice(0,y)}return j+"#"+(typeof m=="string"?m:rs(m))}function o(f,m){ca(f.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(m)})`)}return Qv(s,u,o,l)}function Je(l,s){if(l===!1||l===null||typeof l>"u")throw new Error(s)}function ca(l,s){if(!l){typeof console<"u"&&console.warn(s);try{throw new Error(s)}catch{}}}function Gv(){return Math.random().toString(36).substring(2,10)}function Fh(l,s){return{usr:l.state,key:l.key,idx:s,masked:l.mask?{pathname:l.pathname,search:l.search,hash:l.hash}:void 0}}function Oo(l,s,u=null,o,f){return{pathname:typeof l=="string"?l:l.pathname,search:"",hash:"",...typeof s=="string"?ol(s):s,state:u,key:s&&s.key||o||Gv(),mask:f}}function rs({pathname:l="/",search:s="",hash:u=""}){return s&&s!=="?"&&(l+=s.charAt(0)==="?"?s:"?"+s),u&&u!=="#"&&(l+=u.charAt(0)==="#"?u:"#"+u),l}function ol(l){let s={};if(l){let u=l.indexOf("#");u>=0&&(s.hash=l.substring(u),l=l.substring(0,u));let o=l.indexOf("?");o>=0&&(s.search=l.substring(o),l=l.substring(0,o)),l&&(s.pathname=l)}return s}function Qv(l,s,u,o={}){let{window:f=document.defaultView,v5Compat:m=!1}=o,p=f.history,j="POP",g=null,y=w();y==null&&(y=0,p.replaceState({...p.state,idx:y},""));function w(){return(p.state||{idx:null}).idx}function S(){j="POP";let B=w(),Q=B==null?null:B-y;y=B,g&&g({action:j,location:$.location,delta:Q})}function N(B,Q){j="PUSH";let I=Jh(B)?B:Oo($.location,B,Q);u&&u(I,B),y=w()+1;let F=Fh(I,y),ne=$.createHref(I.mask||I);try{p.pushState(F,"",ne)}catch(se){if(se instanceof DOMException&&se.name==="DataCloneError")throw se;f.location.assign(ne)}m&&g&&g({action:j,location:$.location,delta:1})}function q(B,Q){j="REPLACE";let I=Jh(B)?B:Oo($.location,B,Q);u&&u(I,B),y=w();let F=Fh(I,y),ne=$.createHref(I.mask||I);p.replaceState(F,"",ne),m&&g&&g({action:j,location:$.location,delta:0})}function M(B){return Xv(f,B)}let $={get action(){return j},get location(){return l(f,p)},listen(B){if(g)throw new Error("A history only accepts one active listener");return f.addEventListener(Vh,S),g=B,()=>{f.removeEventListener(Vh,S),g=null}},createHref(B){return s(f,B)},createURL:M,encodeLocation(B){let Q=M(B);return{pathname:Q.pathname,search:Q.search,hash:Q.hash}},push:N,replace:q,go(B){return p.go(B)}};return $}function Xv(l,s,u=!1){let o="http://localhost";l&&(o=l.location.origin!=="null"?l.location.origin:l.location.href),Je(o,"No window.location.(origin|href) available to create URL");let f=typeof s=="string"?s:rs(s);return f=f.replace(/ $/,"%20"),!u&&f.startsWith("//")&&(f=o+f),new URL(f,o)}function Mp(l,s,u="/"){return Kv(l,s,u,!1)}function Kv(l,s,u,o,f){let m=typeof s=="string"?ol(s):s,p=en(m.pathname||"/",u);if(p==null)return null;let j=Zv(l),g=null,y=ib(p);for(let w=0;g==null&&w{let w={relativePath:y===void 0?p.path||"":y,caseSensitive:p.caseSensitive===!0,childrenIndex:j,route:p};if(w.relativePath.startsWith("/")){if(!w.relativePath.startsWith(o)&&g)return;Je(w.relativePath.startsWith(o),`Absolute route path "${w.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),w.relativePath=w.relativePath.slice(o.length)}let S=ya([o,w.relativePath]),N=u.concat(w);p.children&&p.children.length>0&&(Je(p.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${S}".`),Rp(p.children,s,N,S,g)),!(p.path==null&&!p.index)&&s.push({path:S,score:tb(S,p.index),routesMeta:N})};return l.forEach((p,j)=>{var g;if(p.path===""||!((g=p.path)!=null&&g.includes("?")))m(p,j);else for(let y of Op(p.path))m(p,j,!0,y)}),s}function Op(l){let s=l.split("/");if(s.length===0)return[];let[u,...o]=s,f=u.endsWith("?"),m=u.replace(/\?$/,"");if(o.length===0)return f?[m,""]:[m];let p=Op(o.join("/")),j=[];return j.push(...p.map(g=>g===""?m:[m,g].join("/"))),f&&j.push(...p),j.map(g=>l.startsWith("/")&&g===""?"/":g)}function Vv(l){l.sort((s,u)=>s.score!==u.score?u.score-s.score:ab(s.routesMeta.map(o=>o.childrenIndex),u.routesMeta.map(o=>o.childrenIndex)))}var Jv=/^:[\w-]+$/,Fv=3,Wv=2,Iv=1,Pv=10,eb=-2,Wh=l=>l==="*";function tb(l,s){let u=l.split("/"),o=u.length;return u.some(Wh)&&(o+=eb),s&&(o+=Wv),u.filter(f=>!Wh(f)).reduce((f,m)=>f+(Jv.test(m)?Fv:m===""?Iv:Pv),o)}function ab(l,s){return l.length===s.length&&l.slice(0,-1).every((o,f)=>o===s[f])?l[l.length-1]-s[s.length-1]:0}function nb(l,s,u=!1){let{routesMeta:o}=l,f={},m="/",p=[];for(let j=0;j{if(w==="*"){let M=j[N]||"";p=m.slice(0,m.length-M.length).replace(/(.)\/+$/,"$1")}const q=j[N];return S&&!q?y[w]=void 0:y[w]=(q||"").replace(/%2F/g,"/"),y},{}),pathname:m,pathnameBase:p,pattern:l}}function lb(l,s=!1,u=!0){ca(l==="*"||!l.endsWith("*")||l.endsWith("/*"),`Route path "${l}" will be treated as if it were "${l.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${l.replace(/\*$/,"/*")}".`);let o=[],f="^"+l.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(p,j,g,y,w)=>{if(o.push({paramName:j,isOptional:g!=null}),g){let S=w.charAt(y+p.length);return S&&S!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return l.endsWith("*")?(o.push({paramName:"*"}),f+=l==="*"||l==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):u?f+="\\/*$":l!==""&&l!=="/"&&(f+="(?:(?=\\/|$))"),[new RegExp(f,s?void 0:"i"),o]}function ib(l){try{return l.split("/").map(s=>decodeURIComponent(s).replace(/\//g,"%2F")).join("/")}catch(s){return ca(!1,`The URL path "${l}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${s}).`),l}}function en(l,s){if(s==="/")return l;if(!l.toLowerCase().startsWith(s.toLowerCase()))return null;let u=s.endsWith("/")?s.length-1:s.length,o=l.charAt(u);return o&&o!=="/"?null:l.slice(u)||"/"}var sb=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function rb(l,s="/"){let{pathname:u,search:o="",hash:f=""}=typeof l=="string"?ol(l):l,m;return u?(u=Lp(u),u.startsWith("/")?m=Ih(u.substring(1),"/"):m=Ih(u,s)):m=s,{pathname:m,search:ob(o),hash:db(f)}}function Ih(l,s){let u=Xr(s).split("/");return l.split("/").forEach(f=>{f===".."?u.length>1&&u.pop():f!=="."&&u.push(f)}),u.length>1?u.join("/"):"/"}function _o(l,s,u,o){return`Cannot include a '${l}' character in a manually specified \`to.${s}\` field [${JSON.stringify(o)}]. Please separate it out to the \`to.${u}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function cb(l){return l.filter((s,u)=>u===0||s.route.path&&s.route.path.length>0)}function Zo(l){let s=cb(l);return s.map((u,o)=>o===s.length-1?u.pathname:u.pathnameBase)}function Fr(l,s,u,o=!1){let f;typeof l=="string"?f=ol(l):(f={...l},Je(!f.pathname||!f.pathname.includes("?"),_o("?","pathname","search",f)),Je(!f.pathname||!f.pathname.includes("#"),_o("#","pathname","hash",f)),Je(!f.search||!f.search.includes("#"),_o("#","search","hash",f)));let m=l===""||f.pathname==="",p=m?"/":f.pathname,j;if(p==null)j=u;else{let S=s.length-1;if(!o&&p.startsWith("..")){let N=p.split("/");for(;N[0]==="..";)N.shift(),S-=1;f.pathname=N.join("/")}j=S>=0?s[S]:"/"}let g=rb(f,j),y=p&&p!=="/"&&p.endsWith("/"),w=(m||p===".")&&u.endsWith("/");return!g.pathname.endsWith("/")&&(y||w)&&(g.pathname+="/"),g}var Lp=l=>l.replace(/\/\/+/g,"/"),ya=l=>Lp(l.join("/")),Xr=l=>l.replace(/\/+$/,""),ub=l=>Xr(l).replace(/^\/*/,"/"),ob=l=>!l||l==="?"?"":l.startsWith("?")?l:"?"+l,db=l=>!l||l==="#"?"":l.startsWith("#")?l:"#"+l,fb=class{constructor(l,s,u,o=!1){this.status=l,this.statusText=s||"",this.internal=o,u instanceof Error?(this.data=u.toString(),this.error=u):this.data=u}};function mb(l){return l!=null&&typeof l.status=="number"&&typeof l.statusText=="string"&&typeof l.internal=="boolean"&&"data"in l}function hb(l){let s=l.map(u=>u.route.path).filter(Boolean);return ya(s)||"/"}var Up=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Bp(l,s){let u=l;if(typeof u!="string"||!sb.test(u))return{absoluteURL:void 0,isExternal:!1,to:u};let o=u,f=!1;if(Up)try{let m=new URL(window.location.href),p=u.startsWith("//")?new URL(m.protocol+u):new URL(u),j=en(p.pathname,s);p.origin===m.origin&&j!=null?u=j+p.search+p.hash:f=!0}catch{ca(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:o,isExternal:f,to:u}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Hp=["POST","PUT","PATCH","DELETE"];new Set(Hp);var pb=["GET",...Hp];new Set(pb);var Il=v.createContext(null);Il.displayName="DataRouter";var Wr=v.createContext(null);Wr.displayName="DataRouterState";var qp=v.createContext(!1);function gb(){return v.useContext(qp)}var $p=v.createContext({isTransitioning:!1});$p.displayName="ViewTransition";var yb=v.createContext(new Map);yb.displayName="Fetchers";var vb=v.createContext(null);vb.displayName="Await";var Jt=v.createContext(null);Jt.displayName="Navigation";var os=v.createContext(null);os.displayName="Location";var Ta=v.createContext({outlet:null,matches:[],isDataRoute:!1});Ta.displayName="Route";var Vo=v.createContext(null);Vo.displayName="RouteError";var Yp="REACT_ROUTER_ERROR",bb="REDIRECT",_b="ROUTE_ERROR_RESPONSE";function Sb(l){if(l.startsWith(`${Yp}:${bb}:{`))try{let s=JSON.parse(l.slice(28));if(typeof s=="object"&&s&&typeof s.status=="number"&&typeof s.statusText=="string"&&typeof s.location=="string"&&typeof s.reloadDocument=="boolean"&&typeof s.replace=="boolean")return s}catch{}}function xb(l){if(l.startsWith(`${Yp}:${_b}:{`))try{let s=JSON.parse(l.slice(40));if(typeof s=="object"&&s&&typeof s.status=="number"&&typeof s.statusText=="string")return new fb(s.status,s.statusText,s.data)}catch{}}function jb(l,{relative:s}={}){Je(Pl(),"useHref() may be used only in the context of a component.");let{basename:u,navigator:o}=v.useContext(Jt),{hash:f,pathname:m,search:p}=ds(l,{relative:s}),j=m;return u!=="/"&&(j=m==="/"?u:ya([u,m])),o.createHref({pathname:j,search:p,hash:f})}function Pl(){return v.useContext(os)!=null}function va(){return Je(Pl(),"useLocation() may be used only in the context of a component."),v.useContext(os).location}var Gp="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Qp(l){v.useContext(Jt).static||v.useLayoutEffect(l)}function Jo(){let{isDataRoute:l}=v.useContext(Ta);return l?Lb():Eb()}function Eb(){Je(Pl(),"useNavigate() may be used only in the context of a component.");let l=v.useContext(Il),{basename:s,navigator:u}=v.useContext(Jt),{matches:o}=v.useContext(Ta),{pathname:f}=va(),m=JSON.stringify(Zo(o)),p=v.useRef(!1);return Qp(()=>{p.current=!0}),v.useCallback((g,y={})=>{if(ca(p.current,Gp),!p.current)return;if(typeof g=="number"){u.go(g);return}let w=Fr(g,JSON.parse(m),f,y.relative==="path");l==null&&s!=="/"&&(w.pathname=w.pathname==="/"?s:ya([s,w.pathname])),(y.replace?u.replace:u.push)(w,y.state,y)},[s,u,m,f,l])}v.createContext(null);function ds(l,{relative:s}={}){let{matches:u}=v.useContext(Ta),{pathname:o}=va(),f=JSON.stringify(Zo(u));return v.useMemo(()=>Fr(l,JSON.parse(f),o,s==="path"),[l,f,o,s])}function wb(l,s){return Xp(l,s)}function Xp(l,s,u){var B;Je(Pl(),"useRoutes() may be used only in the context of a component.");let{navigator:o}=v.useContext(Jt),{matches:f}=v.useContext(Ta),m=f[f.length-1],p=m?m.params:{},j=m?m.pathname:"/",g=m?m.pathnameBase:"/",y=m&&m.route;{let Q=y&&y.path||"";Zp(j,!y||Q.endsWith("*")||Q.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${j}" (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 w=va(),S;if(s){let Q=typeof s=="string"?ol(s):s;Je(g==="/"||((B=Q.pathname)==null?void 0:B.startsWith(g)),`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 "${g}" but pathname "${Q.pathname}" was given in the \`location\` prop.`),S=Q}else S=w;let N=S.pathname||"/",q=N;if(g!=="/"){let Q=g.replace(/^\//,"").split("/");q="/"+N.replace(/^\//,"").split("/").slice(Q.length).join("/")}let M=u&&u.state.matches.length?u.state.matches.map(Q=>Object.assign(Q,{route:u.manifest[Q.route.id]||Q.route})):Mp(l,{pathname:q});ca(y||M!=null,`No routes matched location "${S.pathname}${S.search}${S.hash}" `),ca(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 "${S.pathname}${S.search}${S.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 $=Ab(M&&M.map(Q=>Object.assign({},Q,{params:Object.assign({},p,Q.params),pathname:ya([g,o.encodeLocation?o.encodeLocation(Q.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:Q.pathname]),pathnameBase:Q.pathnameBase==="/"?g:ya([g,o.encodeLocation?o.encodeLocation(Q.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:Q.pathnameBase])})),f,u);return s&&$?v.createElement(os.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...S},navigationType:"POP"}},$):$}function Nb(){let l=Ob(),s=mb(l)?`${l.status} ${l.statusText}`:l instanceof Error?l.message:JSON.stringify(l),u=l instanceof Error?l.stack:null,o="rgba(200,200,200, 0.5)",f={padding:"0.5rem",backgroundColor:o},m={padding:"2px 4px",backgroundColor:o},p=null;return console.error("Error handled by React Router default ErrorBoundary:",l),p=v.createElement(v.Fragment,null,v.createElement("p",null,"💿 Hey developer 👋"),v.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",v.createElement("code",{style:m},"ErrorBoundary")," or"," ",v.createElement("code",{style:m},"errorElement")," prop on your route.")),v.createElement(v.Fragment,null,v.createElement("h2",null,"Unexpected Application Error!"),v.createElement("h3",{style:{fontStyle:"italic"}},s),u?v.createElement("pre",{style:f},u):null,p)}var Tb=v.createElement(Nb,null),Kp=class extends v.Component{constructor(l){super(l),this.state={location:l.location,revalidation:l.revalidation,error:l.error}}static getDerivedStateFromError(l){return{error:l}}static getDerivedStateFromProps(l,s){return s.location!==l.location||s.revalidation!=="idle"&&l.revalidation==="idle"?{error:l.error,location:l.location,revalidation:l.revalidation}:{error:l.error!==void 0?l.error:s.error,location:s.location,revalidation:l.revalidation||s.revalidation}}componentDidCatch(l,s){this.props.onError?this.props.onError(l,s):console.error("React Router caught the following error during render",l)}render(){let l=this.state.error;if(this.context&&typeof l=="object"&&l&&"digest"in l&&typeof l.digest=="string"){const u=xb(l.digest);u&&(l=u)}let s=l!==void 0?v.createElement(Ta.Provider,{value:this.props.routeContext},v.createElement(Vo.Provider,{value:l,children:this.props.component})):this.props.children;return this.context?v.createElement(Cb,{error:l},s):s}};Kp.contextType=qp;var So=new WeakMap;function Cb({children:l,error:s}){let{basename:u}=v.useContext(Jt);if(typeof s=="object"&&s&&"digest"in s&&typeof s.digest=="string"){let o=Sb(s.digest);if(o){let f=So.get(s);if(f)throw f;let m=Bp(o.location,u);if(Up&&!So.get(s))if(m.isExternal||o.reloadDocument)window.location.href=m.absoluteURL||m.to;else{const p=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(m.to,{replace:o.replace}));throw So.set(s,p),p}return v.createElement("meta",{httpEquiv:"refresh",content:`0;url=${m.absoluteURL||m.to}`})}}return l}function kb({routeContext:l,match:s,children:u}){let o=v.useContext(Il);return o&&o.static&&o.staticContext&&(s.route.errorElement||s.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=s.route.id),v.createElement(Ta.Provider,{value:l},u)}function Ab(l,s=[],u){let o=u==null?void 0:u.state;if(l==null){if(!o)return null;if(o.errors)l=o.matches;else if(s.length===0&&!o.initialized&&o.matches.length>0)l=o.matches;else return null}let f=l,m=o==null?void 0:o.errors;if(m!=null){let w=f.findIndex(S=>S.route.id&&(m==null?void 0:m[S.route.id])!==void 0);Je(w>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(m).join(",")}`),f=f.slice(0,Math.min(f.length,w+1))}let p=!1,j=-1;if(u&&o){p=o.renderFallback;for(let w=0;w=0?f=f.slice(0,j+1):f=[f[0]];break}}}}let g=u==null?void 0:u.onError,y=o&&g?(w,S)=>{var N,q;g(w,{location:o.location,params:((q=(N=o.matches)==null?void 0:N[0])==null?void 0:q.params)??{},pattern:hb(o.matches),errorInfo:S})}:void 0;return f.reduceRight((w,S,N)=>{let q,M=!1,$=null,B=null;o&&(q=m&&S.route.id?m[S.route.id]:void 0,$=S.route.errorElement||Tb,p&&(j<0&&N===0?(Zp("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),M=!0,B=null):j===N&&(M=!0,B=S.route.hydrateFallbackElement||null)));let Q=s.concat(f.slice(0,N+1)),I=()=>{let F;return q?F=$:M?F=B:S.route.Component?F=v.createElement(S.route.Component,null):S.route.element?F=S.route.element:F=w,v.createElement(kb,{match:S,routeContext:{outlet:w,matches:Q,isDataRoute:o!=null},children:F})};return o&&(S.route.ErrorBoundary||S.route.errorElement||N===0)?v.createElement(Kp,{location:o.location,revalidation:o.revalidation,component:$,error:q,children:I(),routeContext:{outlet:null,matches:Q,isDataRoute:!0},onError:y}):I()},null)}function Fo(l){return`${l} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Db(l){let s=v.useContext(Il);return Je(s,Fo(l)),s}function zb(l){let s=v.useContext(Wr);return Je(s,Fo(l)),s}function Mb(l){let s=v.useContext(Ta);return Je(s,Fo(l)),s}function Wo(l){let s=Mb(l),u=s.matches[s.matches.length-1];return Je(u.route.id,`${l} can only be used on routes that contain a unique "id"`),u.route.id}function Rb(){return Wo("useRouteId")}function Ob(){var o;let l=v.useContext(Vo),s=zb("useRouteError"),u=Wo("useRouteError");return l!==void 0?l:(o=s.errors)==null?void 0:o[u]}function Lb(){let{router:l}=Db("useNavigate"),s=Wo("useNavigate"),u=v.useRef(!1);return Qp(()=>{u.current=!0}),v.useCallback(async(f,m={})=>{ca(u.current,Gp),u.current&&(typeof f=="number"?await l.navigate(f):await l.navigate(f,{fromRouteId:s,...m}))},[l,s])}var Ph={};function Zp(l,s,u){!s&&!Ph[l]&&(Ph[l]=!0,ca(!1,u))}v.memo(Ub);function Ub({routes:l,manifest:s,future:u,state:o,isStatic:f,onError:m}){return Xp(l,void 0,{manifest:s,state:o,isStatic:f,onError:m})}function Bb({to:l,replace:s,state:u,relative:o}){Je(Pl()," may be used only in the context of a component.");let{static:f}=v.useContext(Jt);ca(!f," 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:m}=v.useContext(Ta),{pathname:p}=va(),j=Jo(),g=Fr(l,Zo(m),p,o==="path"),y=JSON.stringify(g);return v.useEffect(()=>{j(JSON.parse(y),{replace:s,state:u,relative:o})},[j,y,o,s,u]),null}function Lo(l){Je(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function Hb({basename:l="/",children:s=null,location:u,navigationType:o="POP",navigator:f,static:m=!1,useTransitions:p}){Je(!Pl(),"You cannot render a inside another . You should never have more than one in your app.");let j=l.replace(/^\/*/,"/"),g=v.useMemo(()=>({basename:j,navigator:f,static:m,useTransitions:p,future:{}}),[j,f,m,p]);typeof u=="string"&&(u=ol(u));let{pathname:y="/",search:w="",hash:S="",state:N=null,key:q="default",mask:M}=u,$=v.useMemo(()=>{let B=en(y,j);return B==null?null:{location:{pathname:B,search:w,hash:S,state:N,key:q,mask:M},navigationType:o}},[j,y,w,S,N,q,o,M]);return ca($!=null,` is not able to match the URL "${y}${w}${S}" because it does not start with the basename, so the won't render anything.`),$==null?null:v.createElement(Jt.Provider,{value:g},v.createElement(os.Provider,{children:s,value:$}))}function qb({children:l,location:s}){return wb(Uo(l),s)}function Uo(l,s=[]){let u=[];return v.Children.forEach(l,(o,f)=>{if(!v.isValidElement(o))return;let m=[...s,f];if(o.type===v.Fragment){u.push.apply(u,Uo(o.props.children,m));return}Je(o.type===Lo,`[${typeof o.type=="string"?o.type:o.type.name}] is not a component. All component children of must be a or `),Je(!o.props.index||!o.props.children,"An index route cannot have child routes.");let p={id:o.props.id||m.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,middleware:o.props.middleware,loader:o.props.loader,action:o.props.action,hydrateFallbackElement:o.props.hydrateFallbackElement,HydrateFallback:o.props.HydrateFallback,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.hasErrorBoundary===!0||o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(p.children=Uo(o.props.children,m)),u.push(p)}),u}var Br="get",Hr="application/x-www-form-urlencoded";function Ir(l){return typeof HTMLElement<"u"&&l instanceof HTMLElement}function $b(l){return Ir(l)&&l.tagName.toLowerCase()==="button"}function Yb(l){return Ir(l)&&l.tagName.toLowerCase()==="form"}function Gb(l){return Ir(l)&&l.tagName.toLowerCase()==="input"}function Qb(l){return!!(l.metaKey||l.altKey||l.ctrlKey||l.shiftKey)}function Xb(l,s){return l.button===0&&(!s||s==="_self")&&!Qb(l)}var Rr=null;function Kb(){if(Rr===null)try{new FormData(document.createElement("form"),0),Rr=!1}catch{Rr=!0}return Rr}var Zb=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function xo(l){return l!=null&&!Zb.has(l)?(ca(!1,`"${l}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Hr}"`),null):l}function Vb(l,s){let u,o,f,m,p;if(Yb(l)){let j=l.getAttribute("action");o=j?en(j,s):null,u=l.getAttribute("method")||Br,f=xo(l.getAttribute("enctype"))||Hr,m=new FormData(l)}else if($b(l)||Gb(l)&&(l.type==="submit"||l.type==="image")){let j=l.form;if(j==null)throw new Error('Cannot submit a