diff --git a/dist/apple-touch-icon.png b/dist/apple-touch-icon.png index 3c1b698..5823c3c 100644 Binary files a/dist/apple-touch-icon.png and b/dist/apple-touch-icon.png differ diff --git a/dist/assets/index-CYpFBqnj.js b/dist/assets/index-ChnMLUpn.js similarity index 53% rename from dist/assets/index-CYpFBqnj.js rename to dist/assets/index-ChnMLUpn.js index 828cb70..00a97ab 100644 --- a/dist/assets/index-CYpFBqnj.js +++ b/dist/assets/index-ChnMLUpn.js @@ -1,4 +1,4 @@ -function WR(e,t){for(var r=0;rs[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const l of o)if(l.type==="childList")for(const u of l.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&s(u)}).observe(document,{childList:!0,subtree:!0});function r(o){const l={};return o.integrity&&(l.integrity=o.integrity),o.referrerPolicy&&(l.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?l.credentials="include":o.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function s(o){if(o.ep)return;o.ep=!0;const l=r(o);fetch(o.href,l)}})();function dx(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Vh={exports:{}},Ko={};/** +function fA(e,t){for(var r=0;rs[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const l of o)if(l.type==="childList")for(const u of l.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&s(u)}).observe(document,{childList:!0,subtree:!0});function r(o){const l={};return o.integrity&&(l.integrity=o.integrity),o.referrerPolicy&&(l.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?l.credentials="include":o.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function s(o){if(o.ep)return;o.ep=!0;const l=r(o);fetch(o.href,l)}})();function bx(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Yh={exports:{}},Yo={};/** * @license React * react-jsx-runtime.production.js * @@ -6,7 +6,7 @@ function WR(e,t){for(var r=0;r>>1,X=M[ne];if(0>>1;neo(I,J))Yo(V,I)?(M[ne]=V,M[Y]=J,ne=Y):(M[ne]=I,M[j]=J,ne=j);else if(Yo(V,J))M[ne]=V,M[Y]=J,ne=Y;else break e}}return K}function o(M,K){var J=M.sortIndex-K.sortIndex;return J!==0?J:M.id-K.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var u=Date,d=u.now();e.unstable_now=function(){return u.now()-d}}var f=[],m=[],b=1,g=null,w=3,_=!1,E=!1,S=!1,T=!1,C=typeof setTimeout=="function"?setTimeout:null,A=typeof clearTimeout=="function"?clearTimeout:null,N=typeof setImmediate<"u"?setImmediate:null;function P(M){for(var K=r(m);K!==null;){if(K.callback===null)s(m);else if(K.startTime<=M)s(m),K.sortIndex=K.expirationTime,t(f,K);else break;K=r(m)}}function F(M){if(S=!1,P(M),!E)if(r(f)!==null)E=!0,$||($=!0,oe());else{var K=r(m);K!==null&&fe(F,K.startTime-M)}}var $=!1,L=-1,q=5,ie=-1;function he(){return T?!0:!(e.unstable_now()-ieM&&he());){var ne=g.callback;if(typeof ne=="function"){g.callback=null,w=g.priorityLevel;var X=ne(g.expirationTime<=M);if(M=e.unstable_now(),typeof X=="function"){g.callback=X,P(M),K=!0;break t}g===r(f)&&s(f),P(M)}else s(f);g=r(f)}if(g!==null)K=!0;else{var k=r(m);k!==null&&fe(F,k.startTime-M),K=!1}}break e}finally{g=null,w=J,_=!1}K=void 0}}finally{K?oe():$=!1}}}var oe;if(typeof N=="function")oe=function(){N(pe)};else if(typeof MessageChannel<"u"){var ue=new MessageChannel,ce=ue.port2;ue.port1.onmessage=pe,oe=function(){ce.postMessage(null)}}else oe=function(){C(pe,0)};function fe(M,K){L=C(function(){M(e.unstable_now())},K)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(M){M.callback=null},e.unstable_forceFrameRate=function(M){0>M||125ne?(M.sortIndex=J,t(m,M),r(f)===null&&M===r(m)&&(S?(A(L),L=-1):S=!0,fe(F,J-ne))):(M.sortIndex=X,t(f,M),E||_||(E=!0,$||($=!0,oe()))),M},e.unstable_shouldYield=he,e.unstable_wrapCallback=function(M){var K=w;return function(){var J=w;w=K;try{return M.apply(this,arguments)}finally{w=J}}}})(Yh)),Yh}var h0;function eA(){return h0||(h0=1,Kh.exports=ZR()),Kh.exports}var Wh={exports:{}},Jt={};/** + */var b0;function gA(){return b0||(b0=1,(function(e){function t(M,K){var J=M.length;M.push(K);e:for(;0>>1,X=M[ne];if(0>>1;neo(I,J))Yo(V,I)?(M[ne]=V,M[Y]=J,ne=Y):(M[ne]=I,M[j]=J,ne=j);else if(Yo(V,J))M[ne]=V,M[Y]=J,ne=Y;else break e}}return K}function o(M,K){var J=M.sortIndex-K.sortIndex;return J!==0?J:M.id-K.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var u=Date,d=u.now();e.unstable_now=function(){return u.now()-d}}var f=[],m=[],b=1,g=null,w=3,_=!1,E=!1,S=!1,T=!1,C=typeof setTimeout=="function"?setTimeout:null,A=typeof clearTimeout=="function"?clearTimeout:null,N=typeof setImmediate<"u"?setImmediate:null;function P(M){for(var K=r(m);K!==null;){if(K.callback===null)s(m);else if(K.startTime<=M)s(m),K.sortIndex=K.expirationTime,t(f,K);else break;K=r(m)}}function F(M){if(S=!1,P(M),!E)if(r(f)!==null)E=!0,$||($=!0,oe());else{var K=r(m);K!==null&&fe(F,K.startTime-M)}}var $=!1,L=-1,q=5,ie=-1;function he(){return T?!0:!(e.unstable_now()-ieM&&he());){var ne=g.callback;if(typeof ne=="function"){g.callback=null,w=g.priorityLevel;var X=ne(g.expirationTime<=M);if(M=e.unstable_now(),typeof X=="function"){g.callback=X,P(M),K=!0;break t}g===r(f)&&s(f),P(M)}else s(f);g=r(f)}if(g!==null)K=!0;else{var k=r(m);k!==null&&fe(F,k.startTime-M),K=!1}}break e}finally{g=null,w=J,_=!1}K=void 0}}finally{K?oe():$=!1}}}var oe;if(typeof N=="function")oe=function(){N(pe)};else if(typeof MessageChannel<"u"){var ue=new MessageChannel,ce=ue.port2;ue.port1.onmessage=pe,oe=function(){ce.postMessage(null)}}else oe=function(){C(pe,0)};function fe(M,K){L=C(function(){M(e.unstable_now())},K)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(M){M.callback=null},e.unstable_forceFrameRate=function(M){0>M||125ne?(M.sortIndex=J,t(m,M),r(f)===null&&M===r(m)&&(S?(A(L),L=-1):S=!0,fe(F,J-ne))):(M.sortIndex=X,t(f,M),E||_||(E=!0,$||($=!0,oe()))),M},e.unstable_shouldYield=he,e.unstable_wrapCallback=function(M){var K=w;return function(){var J=w;w=K;try{return M.apply(this,arguments)}finally{w=J}}}})(Qh)),Qh}var w0;function yA(){return w0||(w0=1,Jh.exports=gA()),Jh.exports}var Zh={exports:{}},Jt={};/** * @license React * react-dom.production.js * @@ -30,7 +30,7 @@ function WR(e,t){for(var r=0;r"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Wh.exports=tA(),Wh.exports}/** + */var x0;function vA(){if(x0)return Jt;x0=1;var e=od();function t(f){var m="https://react.dev/errors/"+f;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Zh.exports=vA(),Zh.exports}/** * @license React * react-dom-client.production.js * @@ -38,15 +38,15 @@ function WR(e,t){for(var r=0;rX||(n.current=ne[X],ne[X]=null,X--)}function I(n,a){X++,ne[X]=n.current,n.current=a}var Y=k(null),V=k(null),Z=k(null),z=k(null);function ee(n,a){switch(I(Z,a),I(V,n),I(Y,null),a.nodeType){case 9:case 11:n=(n=a.documentElement)&&(n=n.namespaceURI)?jb(n):0;break;default:if(n=a.tagName,a=a.namespaceURI)a=jb(a),n=Ob(a,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}j(Y),I(Y,n)}function ae(){j(Y),j(V),j(Z)}function xe(n){n.memoizedState!==null&&I(z,n);var a=Y.current,i=Ob(a,n.type);a!==i&&(I(V,n),I(Y,i))}function Ce(n){V.current===n&&(j(Y),j(V)),z.current===n&&(j(z),qo._currentValue=J)}var Re,nt;function He(n){if(Re===void 0)try{throw Error()}catch(i){var a=i.stack.trim().match(/\n( *(at )?)/);Re=a&&a[1]||"",nt=-1X||(n.current=ne[X],ne[X]=null,X--)}function I(n,a){X++,ne[X]=n.current,n.current=a}var Y=k(null),V=k(null),Z=k(null),z=k(null);function ee(n,a){switch(I(Z,a),I(V,n),I(Y,null),a.nodeType){case 9:case 11:n=(n=a.documentElement)&&(n=n.namespaceURI)?Ub(n):0;break;default:if(n=a.tagName,a=a.namespaceURI)a=Ub(a),n=Ib(a,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}j(Y),I(Y,n)}function ae(){j(Y),j(V),j(Z)}function xe(n){n.memoizedState!==null&&I(z,n);var a=Y.current,i=Ib(a,n.type);a!==i&&(I(V,n),I(Y,i))}function Ce(n){V.current===n&&(j(Y),j(V)),z.current===n&&(j(z),Vo._currentValue=J)}var Re,Ze;function Ke(n){if(Re===void 0)try{throw Error()}catch(i){var a=i.stack.trim().match(/\n( *(at )?)/);Re=a&&a[1]||"",Ze=-1)":-1h||O[c]!==H[h]){var Q=` -`+O[c].replace(" at new "," at ");return n.displayName&&Q.includes("")&&(Q=Q.replace("",n.displayName)),Q}while(1<=c&&0<=h);break}}}finally{Kt=!1,Error.prepareStackTrace=i}return(i=n?n.displayName||n.name:"")?He(i):""}function Ot(n,a){switch(n.tag){case 26:case 27:case 5:return He(n.type);case 16:return He("Lazy");case 13:return n.child!==a&&a!==null?He("Suspense Fallback"):He("Suspense");case 19:return He("SuspenseList");case 0:case 15:return Yt(n.type,!1);case 11:return Yt(n.type.render,!1);case 1:return Yt(n.type,!0);case 31:return He("Activity");default:return""}}function wn(n){try{var a="",i=null;do a+=Ot(n,i),i=n,n=n.return;while(n);return a}catch(c){return` +`+O[c].replace(" at new "," at ");return n.displayName&&Q.includes("")&&(Q=Q.replace("",n.displayName)),Q}while(1<=c&&0<=h);break}}}finally{St=!1,Error.prepareStackTrace=i}return(i=n?n.displayName||n.name:"")?Ke(i):""}function Bt(n,a){switch(n.tag){case 26:case 27:case 5:return Ke(n.type);case 16:return Ke("Lazy");case 13:return n.child!==a&&a!==null?Ke("Suspense Fallback"):Ke("Suspense");case 19:return Ke("SuspenseList");case 0:case 15:return Wt(n.type,!1);case 11:return Wt(n.type.render,!1);case 1:return Wt(n.type,!0);case 31:return Ke("Activity");default:return""}}function nn(n){try{var a="",i=null;do a+=Bt(n,i),i=n,n=n.return;while(n);return a}catch(c){return` Error generating stack: `+c.message+` -`+c.stack}}var yt=Object.prototype.hasOwnProperty,cr=e.unstable_scheduleCallback,ze=e.unstable_cancelCallback,ot=e.unstable_shouldYield,rt=e.unstable_requestPaint,ht=e.unstable_now,to=e.unstable_getCurrentPriorityLevel,Nr=e.unstable_ImmediatePriority,ur=e.unstable_UserBlockingPriority,dr=e.unstable_NormalPriority,kr=e.unstable_LowPriority,Fn=e.unstable_IdlePriority,Qa=e.log,Kn=e.unstable_setDisableYieldValue,fr=null,Ut=null;function xn(n){if(typeof Qa=="function"&&Kn(n),Ut&&typeof Ut.setStrictMode=="function")try{Ut.setStrictMode(fr,n)}catch{}}var Mt=Math.clz32?Math.clz32:Te,no=Math.log,se=Math.LN2;function Te(n){return n>>>=0,n===0?32:31-(no(n)/se|0)|0}var Ge=256,Ye=262144,Wt=4194304;function nn(n){var a=n&42;if(a!==0)return a;switch(n&-n){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 n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function ke(n,a,i){var c=n.pendingLanes;if(c===0)return 0;var h=0,p=n.suspendedLanes,x=n.pingedLanes;n=n.warmLanes;var R=c&134217727;return R!==0?(c=R&~p,c!==0?h=nn(c):(x&=R,x!==0?h=nn(x):i||(i=R&~n,i!==0&&(h=nn(i))))):(R=c&~p,R!==0?h=nn(R):x!==0?h=nn(x):i||(i=c&~n,i!==0&&(h=nn(i)))),h===0?0:a!==0&&a!==h&&(a&p)===0&&(p=h&-h,i=a&-a,p>=i||p===32&&(i&4194048)!==0)?a:h}function dt(n,a){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&a)===0}function Dt(n,a){switch(n){case 1:case 2:case 4:case 8:case 64:return a+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 a+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 Xt(){var n=Wt;return Wt<<=1,(Wt&62914560)===0&&(Wt=4194304),n}function ua(n){for(var a=[],i=0;31>i;i++)a.push(n);return a}function mt(n,a){n.pendingLanes|=a,a!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function rn(n,a,i,c,h,p){var x=n.pendingLanes;n.pendingLanes=i,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=i,n.entangledLanes&=i,n.errorRecoveryDisabledLanes&=i,n.shellSuspendCounter=0;var R=n.entanglements,O=n.expirationTimes,H=n.hiddenUpdates;for(i=x&~i;0"u")return null;try{return n.activeElement||n.body}catch{return n.body}}var qC=/[\n"\\]/g;function Dn(n){return n.replace(qC,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function zd(n,a,i,c,h,p,x,R){n.name="",x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?n.type=x:n.removeAttribute("type"),a!=null?x==="number"?(a===0&&n.value===""||n.value!=a)&&(n.value=""+Mn(a)):n.value!==""+Mn(a)&&(n.value=""+Mn(a)):x!=="submit"&&x!=="reset"||n.removeAttribute("value"),a!=null?Ud(n,x,Mn(a)):i!=null?Ud(n,x,Mn(i)):c!=null&&n.removeAttribute("value"),h==null&&p!=null&&(n.defaultChecked=!!p),h!=null&&(n.checked=h&&typeof h!="function"&&typeof h!="symbol"),R!=null&&typeof R!="function"&&typeof R!="symbol"&&typeof R!="boolean"?n.name=""+Mn(R):n.removeAttribute("name")}function Cg(n,a,i,c,h,p,x,R){if(p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(n.type=p),a!=null||i!=null){if(!(p!=="submit"&&p!=="reset"||a!=null)){Pd(n);return}i=i!=null?""+Mn(i):"",a=a!=null?""+Mn(a):i,R||a===n.value||(n.value=a),n.defaultValue=a}c=c??h,c=typeof c!="function"&&typeof c!="symbol"&&!!c,n.checked=R?n.checked:!!c,n.defaultChecked=!!c,x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"&&(n.name=x),Pd(n)}function Ud(n,a,i){a==="number"&&Vl(n.ownerDocument)===n||n.defaultValue===""+i||(n.defaultValue=""+i)}function qs(n,a,i,c){if(n=n.options,a){a={};for(var h=0;h"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),qd=!1;if(Mr)try{var io={};Object.defineProperty(io,"passive",{get:function(){qd=!0}}),window.addEventListener("test",io,io),window.removeEventListener("test",io,io)}catch{qd=!1}var fa=null,Vd=null,Fl=null;function Og(){if(Fl)return Fl;var n,a=Vd,i=a.length,c,h="value"in fa?fa.value:fa.textContent,p=h.length;for(n=0;n=co),Ug=" ",Ig=!1;function $g(n,a){switch(n){case"keyup":return yT.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bg(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var Ks=!1;function bT(n,a){switch(n){case"compositionend":return Bg(a);case"keypress":return a.which!==32?null:(Ig=!0,Ug);case"textInput":return n=a.data,n===Ug&&Ig?null:n;default:return null}}function wT(n,a){if(Ks)return n==="compositionend"||!Wd&&$g(n,a)?(n=Og(),Fl=Vd=fa=null,Ks=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1=a)return{node:i,offset:a-n};n=c}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=Wg(i)}}function Jg(n,a){return n&&a?n===a?!0:n&&n.nodeType===3?!1:a&&a.nodeType===3?Jg(n,a.parentNode):"contains"in n?n.contains(a):n.compareDocumentPosition?!!(n.compareDocumentPosition(a)&16):!1:!1}function Qg(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var a=Vl(n.document);a instanceof n.HTMLIFrameElement;){try{var i=typeof a.contentWindow.location.href=="string"}catch{i=!1}if(i)n=a.contentWindow;else break;a=Vl(n.document)}return a}function Qd(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a&&(a==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||a==="textarea"||n.contentEditable==="true")}var AT=Mr&&"documentMode"in document&&11>=document.documentMode,Ys=null,Zd=null,mo=null,ef=!1;function Zg(n,a,i){var c=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;ef||Ys==null||Ys!==Vl(c)||(c=Ys,"selectionStart"in c&&Qd(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),mo&&ho(mo,c)||(mo=c,c=Ic(Zd,"onSelect"),0>=x,h-=x,hr=1<<32-Mt(a)+h|i<De?(Be=_e,_e=null):Be=_e.sibling;var Ke=G(U,_e,B[De],te);if(Ke===null){_e===null&&(_e=Be);break}n&&_e&&Ke.alternate===null&&a(U,_e),D=p(Ke,D,De),Fe===null?Se=Ke:Fe.sibling=Ke,Fe=Ke,_e=Be}if(De===B.length)return i(U,_e),qe&&Lr(U,De),Se;if(_e===null){for(;DeDe?(Be=_e,_e=null):Be=_e.sibling;var Da=G(U,_e,Ke.value,te);if(Da===null){_e===null&&(_e=Be);break}n&&_e&&Da.alternate===null&&a(U,_e),D=p(Da,D,De),Fe===null?Se=Da:Fe.sibling=Da,Fe=Da,_e=Be}if(Ke.done)return i(U,_e),qe&&Lr(U,De),Se;if(_e===null){for(;!Ke.done;De++,Ke=B.next())Ke=re(U,Ke.value,te),Ke!==null&&(D=p(Ke,D,De),Fe===null?Se=Ke:Fe.sibling=Ke,Fe=Ke);return qe&&Lr(U,De),Se}for(_e=c(_e);!Ke.done;De++,Ke=B.next())Ke=W(_e,U,De,Ke.value,te),Ke!==null&&(n&&Ke.alternate!==null&&_e.delete(Ke.key===null?De:Ke.key),D=p(Ke,D,De),Fe===null?Se=Ke:Fe.sibling=Ke,Fe=Ke);return n&&_e.forEach(function(YR){return a(U,YR)}),qe&&Lr(U,De),Se}function tt(U,D,B,te){if(typeof B=="object"&&B!==null&&B.type===S&&B.key===null&&(B=B.props.children),typeof B=="object"&&B!==null){switch(B.$$typeof){case _:e:{for(var Se=B.key;D!==null;){if(D.key===Se){if(Se=B.type,Se===S){if(D.tag===7){i(U,D.sibling),te=h(D,B.props.children),te.return=U,U=te;break e}}else if(D.elementType===Se||typeof Se=="object"&&Se!==null&&Se.$$typeof===q&&us(Se)===D.type){i(U,D.sibling),te=h(D,B.props),wo(te,B),te.return=U,U=te;break e}i(U,D);break}else a(U,D);D=D.sibling}B.type===S?(te=ss(B.props.children,U.mode,te,B.key),te.return=U,U=te):(te=nc(B.type,B.key,B.props,null,U.mode,te),wo(te,B),te.return=U,U=te)}return x(U);case E:e:{for(Se=B.key;D!==null;){if(D.key===Se)if(D.tag===4&&D.stateNode.containerInfo===B.containerInfo&&D.stateNode.implementation===B.implementation){i(U,D.sibling),te=h(D,B.children||[]),te.return=U,U=te;break e}else{i(U,D);break}else a(U,D);D=D.sibling}te=lf(B,U.mode,te),te.return=U,U=te}return x(U);case q:return B=us(B),tt(U,D,B,te)}if(fe(B))return ve(U,D,B,te);if(oe(B)){if(Se=oe(B),typeof Se!="function")throw Error(s(150));return B=Se.call(B),Ae(U,D,B,te)}if(typeof B.then=="function")return tt(U,D,cc(B),te);if(B.$$typeof===N)return tt(U,D,sc(U,B),te);uc(U,B)}return typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint"?(B=""+B,D!==null&&D.tag===6?(i(U,D.sibling),te=h(D,B),te.return=U,U=te):(i(U,D),te=of(B,U.mode,te),te.return=U,U=te),x(U)):i(U,D)}return function(U,D,B,te){try{bo=0;var Se=tt(U,D,B,te);return si=null,Se}catch(_e){if(_e===ai||_e===oc)throw _e;var Fe=Sn(29,_e,null,U.mode);return Fe.lanes=te,Fe.return=U,Fe}finally{}}}var fs=_y(!0),Sy=_y(!1),ya=!1;function wf(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function xf(n,a){n=n.updateQueue,a.updateQueue===n&&(a.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function va(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function ba(n,a,i){var c=n.updateQueue;if(c===null)return null;if(c=c.shared,(We&2)!==0){var h=c.pending;return h===null?a.next=a:(a.next=h.next,h.next=a),c.pending=a,a=tc(n),iy(n,null,i),a}return ec(n,c,a,i),tc(n)}function xo(n,a,i){if(a=a.updateQueue,a!==null&&(a=a.shared,(i&4194048)!==0)){var c=a.lanes;c&=n.pendingLanes,i|=c,a.lanes=i,an(n,i)}}function _f(n,a){var i=n.updateQueue,c=n.alternate;if(c!==null&&(c=c.updateQueue,i===c)){var h=null,p=null;if(i=i.firstBaseUpdate,i!==null){do{var x={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};p===null?h=p=x:p=p.next=x,i=i.next}while(i!==null);p===null?h=p=a:p=p.next=a}else h=p=a;i={baseState:c.baseState,firstBaseUpdate:h,lastBaseUpdate:p,shared:c.shared,callbacks:c.callbacks},n.updateQueue=i;return}n=i.lastBaseUpdate,n===null?i.firstBaseUpdate=a:n.next=a,i.lastBaseUpdate=a}var Sf=!1;function _o(){if(Sf){var n=ri;if(n!==null)throw n}}function So(n,a,i,c){Sf=!1;var h=n.updateQueue;ya=!1;var p=h.firstBaseUpdate,x=h.lastBaseUpdate,R=h.shared.pending;if(R!==null){h.shared.pending=null;var O=R,H=O.next;O.next=null,x===null?p=H:x.next=H,x=O;var Q=n.alternate;Q!==null&&(Q=Q.updateQueue,R=Q.lastBaseUpdate,R!==x&&(R===null?Q.firstBaseUpdate=H:R.next=H,Q.lastBaseUpdate=O))}if(p!==null){var re=h.baseState;x=0,Q=H=O=null,R=p;do{var G=R.lane&-536870913,W=G!==R.lane;if(W?($e&G)===G:(c&G)===G){G!==0&&G===ni&&(Sf=!0),Q!==null&&(Q=Q.next={lane:0,tag:R.tag,payload:R.payload,callback:null,next:null});e:{var ve=n,Ae=R;G=a;var tt=i;switch(Ae.tag){case 1:if(ve=Ae.payload,typeof ve=="function"){re=ve.call(tt,re,G);break e}re=ve;break e;case 3:ve.flags=ve.flags&-65537|128;case 0:if(ve=Ae.payload,G=typeof ve=="function"?ve.call(tt,re,G):ve,G==null)break e;re=g({},re,G);break e;case 2:ya=!0}}G=R.callback,G!==null&&(n.flags|=64,W&&(n.flags|=8192),W=h.callbacks,W===null?h.callbacks=[G]:W.push(G))}else W={lane:G,tag:R.tag,payload:R.payload,callback:R.callback,next:null},Q===null?(H=Q=W,O=re):Q=Q.next=W,x|=G;if(R=R.next,R===null){if(R=h.shared.pending,R===null)break;W=R,R=W.next,W.next=null,h.lastBaseUpdate=W,h.shared.pending=null}}while(!0);Q===null&&(O=re),h.baseState=O,h.firstBaseUpdate=H,h.lastBaseUpdate=Q,p===null&&(h.shared.lanes=0),Ea|=x,n.lanes=x,n.memoizedState=re}}function Ey(n,a){if(typeof n!="function")throw Error(s(191,n));n.call(a)}function Cy(n,a){var i=n.callbacks;if(i!==null)for(n.callbacks=null,n=0;np?p:8;var x=M.T,R={};M.T=R,Hf(n,!1,a,i);try{var O=h(),H=M.S;if(H!==null&&H(R,O),O!==null&&typeof O=="object"&&typeof O.then=="function"){var Q=zT(O,c);To(n,a,Q,An(n))}else To(n,a,c,An(n))}catch(re){To(n,a,{then:function(){},status:"rejected",reason:re},An())}finally{K.p=p,x!==null&&R.types!==null&&(x.types=R.types),M.T=x}}function qT(){}function $f(n,a,i,c){if(n.tag!==5)throw Error(s(476));var h=rv(n).queue;nv(n,h,a,J,i===null?qT:function(){return av(n),i(c)})}function rv(n){var a=n.memoizedState;if(a!==null)return a;a={memoizedState:J,baseState:J,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ir,lastRenderedState:J},next:null};var i={};return a.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ir,lastRenderedState:i},next:null},n.memoizedState=a,n=n.alternate,n!==null&&(n.memoizedState=a),a}function av(n){var a=rv(n);a.next===null&&(a=n.alternate.memoizedState),To(n,a.next.queue,{},An())}function Bf(){return Bt(qo)}function sv(){return St().memoizedState}function iv(){return St().memoizedState}function VT(n){for(var a=n.return;a!==null;){switch(a.tag){case 24:case 3:var i=An();n=va(i);var c=ba(a,n,i);c!==null&&(hn(c,a,i),xo(c,a,i)),a={cache:gf()},n.payload=a;return}a=a.return}}function GT(n,a,i){var c=An();i={lane:c,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},wc(n)?lv(a,i):(i=af(n,a,i,c),i!==null&&(hn(i,n,c),cv(i,a,c)))}function ov(n,a,i){var c=An();To(n,a,i,c)}function To(n,a,i,c){var h={lane:c,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(wc(n))lv(a,h);else{var p=n.alternate;if(n.lanes===0&&(p===null||p.lanes===0)&&(p=a.lastRenderedReducer,p!==null))try{var x=a.lastRenderedState,R=p(x,i);if(h.hasEagerState=!0,h.eagerState=R,_n(R,x))return ec(n,a,h,0),at===null&&Zl(),!1}catch{}finally{}if(i=af(n,a,h,c),i!==null)return hn(i,n,c),cv(i,a,c),!0}return!1}function Hf(n,a,i,c){if(c={lane:2,revertLane:wh(),gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null},wc(n)){if(a)throw Error(s(479))}else a=af(n,i,c,2),a!==null&&hn(a,n,2)}function wc(n){var a=n.alternate;return n===Me||a!==null&&a===Me}function lv(n,a){oi=hc=!0;var i=n.pending;i===null?a.next=a:(a.next=i.next,i.next=a),n.pending=a}function cv(n,a,i){if((i&4194048)!==0){var c=a.lanes;c&=n.pendingLanes,i|=c,a.lanes=i,an(n,i)}}var Ro={readContext:Bt,use:gc,useCallback:vt,useContext:vt,useEffect:vt,useImperativeHandle:vt,useLayoutEffect:vt,useInsertionEffect:vt,useMemo:vt,useReducer:vt,useRef:vt,useState:vt,useDebugValue:vt,useDeferredValue:vt,useTransition:vt,useSyncExternalStore:vt,useId:vt,useHostTransitionStatus:vt,useFormState:vt,useActionState:vt,useOptimistic:vt,useMemoCache:vt,useCacheRefresh:vt};Ro.useEffectEvent=vt;var uv={readContext:Bt,use:gc,useCallback:function(n,a){return Zt().memoizedState=[n,a===void 0?null:a],n},useContext:Bt,useEffect:Ky,useImperativeHandle:function(n,a,i){i=i!=null?i.concat([n]):null,vc(4194308,4,Jy.bind(null,a,n),i)},useLayoutEffect:function(n,a){return vc(4194308,4,n,a)},useInsertionEffect:function(n,a){vc(4,2,n,a)},useMemo:function(n,a){var i=Zt();a=a===void 0?null:a;var c=n();if(hs){xn(!0);try{n()}finally{xn(!1)}}return i.memoizedState=[c,a],c},useReducer:function(n,a,i){var c=Zt();if(i!==void 0){var h=i(a);if(hs){xn(!0);try{i(a)}finally{xn(!1)}}}else h=a;return c.memoizedState=c.baseState=h,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:h},c.queue=n,n=n.dispatch=GT.bind(null,Me,n),[c.memoizedState,n]},useRef:function(n){var a=Zt();return n={current:n},a.memoizedState=n},useState:function(n){n=Lf(n);var a=n.queue,i=ov.bind(null,Me,a);return a.dispatch=i,[n.memoizedState,i]},useDebugValue:Uf,useDeferredValue:function(n,a){var i=Zt();return If(i,n,a)},useTransition:function(){var n=Lf(!1);return n=nv.bind(null,Me,n.queue,!0,!1),Zt().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,a,i){var c=Me,h=Zt();if(qe){if(i===void 0)throw Error(s(407));i=i()}else{if(i=a(),at===null)throw Error(s(349));($e&127)!==0||jy(c,a,i)}h.memoizedState=i;var p={value:i,getSnapshot:a};return h.queue=p,Ky(My.bind(null,c,p,n),[n]),c.flags|=2048,ci(9,{destroy:void 0},Oy.bind(null,c,p,i,a),null),i},useId:function(){var n=Zt(),a=at.identifierPrefix;if(qe){var i=mr,c=hr;i=(c&~(1<<32-Mt(c)-1)).toString(32)+i,a="_"+a+"R_"+i,i=mc++,0<\/script>",p=p.removeChild(p.firstChild);break;case"select":p=typeof c.is=="string"?x.createElement("select",{is:c.is}):x.createElement("select"),c.multiple?p.multiple=!0:c.size&&(p.size=c.size);break;default:p=typeof c.is=="string"?x.createElement(h,{is:c.is}):x.createElement(h)}}p[It]=a,p[on]=c;e:for(x=a.child;x!==null;){if(x.tag===5||x.tag===6)p.appendChild(x.stateNode);else if(x.tag!==4&&x.tag!==27&&x.child!==null){x.child.return=x,x=x.child;continue}if(x===a)break e;for(;x.sibling===null;){if(x.return===null||x.return===a)break e;x=x.return}x.sibling.return=x.return,x=x.sibling}a.stateNode=p;e:switch(qt(p,h,c),h){case"button":case"input":case"select":case"textarea":c=!!c.autoFocus;break e;case"img":c=!0;break e;default:c=!1}c&&Br(a)}}return ct(a),nh(a,a.type,n===null?null:n.memoizedProps,a.pendingProps,i),null;case 6:if(n&&a.stateNode!=null)n.memoizedProps!==c&&Br(a);else{if(typeof c!="string"&&a.stateNode===null)throw Error(s(166));if(n=Z.current,ei(a)){if(n=a.stateNode,i=a.memoizedProps,c=null,h=$t,h!==null)switch(h.tag){case 27:case 5:c=h.memoizedProps}n[It]=a,n=!!(n.nodeValue===i||c!==null&&c.suppressHydrationWarning===!0||Nb(n.nodeValue,i)),n||pa(a,!0)}else n=$c(n).createTextNode(c),n[It]=a,a.stateNode=n}return ct(a),null;case 31:if(i=a.memoizedState,n===null||n.memoizedState!==null){if(c=ei(a),i!==null){if(n===null){if(!c)throw Error(s(318));if(n=a.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(s(557));n[It]=a}else is(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;ct(a),n=!1}else i=ff(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=i),n=!0;if(!n)return a.flags&256?(Cn(a),a):(Cn(a),null);if((a.flags&128)!==0)throw Error(s(558))}return ct(a),null;case 13:if(c=a.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(h=ei(a),c!==null&&c.dehydrated!==null){if(n===null){if(!h)throw Error(s(318));if(h=a.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(s(317));h[It]=a}else is(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;ct(a),h=!1}else h=ff(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=h),h=!0;if(!h)return a.flags&256?(Cn(a),a):(Cn(a),null)}return Cn(a),(a.flags&128)!==0?(a.lanes=i,a):(i=c!==null,n=n!==null&&n.memoizedState!==null,i&&(c=a.child,h=null,c.alternate!==null&&c.alternate.memoizedState!==null&&c.alternate.memoizedState.cachePool!==null&&(h=c.alternate.memoizedState.cachePool.pool),p=null,c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(p=c.memoizedState.cachePool.pool),p!==h&&(c.flags|=2048)),i!==n&&i&&(a.child.flags|=8192),Cc(a,a.updateQueue),ct(a),null);case 4:return ae(),n===null&&Eh(a.stateNode.containerInfo),ct(a),null;case 10:return zr(a.type),ct(a),null;case 19:if(j(_t),c=a.memoizedState,c===null)return ct(a),null;if(h=(a.flags&128)!==0,p=c.rendering,p===null)if(h)No(c,!1);else{if(bt!==0||n!==null&&(n.flags&128)!==0)for(n=a.child;n!==null;){if(p=fc(n),p!==null){for(a.flags|=128,No(c,!1),n=p.updateQueue,a.updateQueue=n,Cc(a,n),a.subtreeFlags=0,n=i,i=a.child;i!==null;)oy(i,n),i=i.sibling;return I(_t,_t.current&1|2),qe&&Lr(a,c.treeForkCount),a.child}n=n.sibling}c.tail!==null&&ht()>kc&&(a.flags|=128,h=!0,No(c,!1),a.lanes=4194304)}else{if(!h)if(n=fc(p),n!==null){if(a.flags|=128,h=!0,n=n.updateQueue,a.updateQueue=n,Cc(a,n),No(c,!0),c.tail===null&&c.tailMode==="hidden"&&!p.alternate&&!qe)return ct(a),null}else 2*ht()-c.renderingStartTime>kc&&i!==536870912&&(a.flags|=128,h=!0,No(c,!1),a.lanes=4194304);c.isBackwards?(p.sibling=a.child,a.child=p):(n=c.last,n!==null?n.sibling=p:a.child=p,c.last=p)}return c.tail!==null?(n=c.tail,c.rendering=n,c.tail=n.sibling,c.renderingStartTime=ht(),n.sibling=null,i=_t.current,I(_t,h?i&1|2:i&1),qe&&Lr(a,c.treeForkCount),n):(ct(a),null);case 22:case 23:return Cn(a),Cf(),c=a.memoizedState!==null,n!==null?n.memoizedState!==null!==c&&(a.flags|=8192):c&&(a.flags|=8192),c?(i&536870912)!==0&&(a.flags&128)===0&&(ct(a),a.subtreeFlags&6&&(a.flags|=8192)):ct(a),i=a.updateQueue,i!==null&&Cc(a,i.retryQueue),i=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),c=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(c=a.memoizedState.cachePool.pool),c!==i&&(a.flags|=2048),n!==null&&j(cs),null;case 24:return i=null,n!==null&&(i=n.memoizedState.cache),a.memoizedState.cache!==i&&(a.flags|=2048),zr(Et),ct(a),null;case 25:return null;case 30:return null}throw Error(s(156,a.tag))}function XT(n,a){switch(uf(a),a.tag){case 1:return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 3:return zr(Et),ae(),n=a.flags,(n&65536)!==0&&(n&128)===0?(a.flags=n&-65537|128,a):null;case 26:case 27:case 5:return Ce(a),null;case 31:if(a.memoizedState!==null){if(Cn(a),a.alternate===null)throw Error(s(340));is()}return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 13:if(Cn(a),n=a.memoizedState,n!==null&&n.dehydrated!==null){if(a.alternate===null)throw Error(s(340));is()}return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 19:return j(_t),null;case 4:return ae(),null;case 10:return zr(a.type),null;case 22:case 23:return Cn(a),Cf(),n!==null&&j(cs),n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 24:return zr(Et),null;case 25:return null;default:return null}}function Dv(n,a){switch(uf(a),a.tag){case 3:zr(Et),ae();break;case 26:case 27:case 5:Ce(a);break;case 4:ae();break;case 31:a.memoizedState!==null&&Cn(a);break;case 13:Cn(a);break;case 19:j(_t);break;case 10:zr(a.type);break;case 22:case 23:Cn(a),Cf(),n!==null&&j(cs);break;case 24:zr(Et)}}function ko(n,a){try{var i=a.updateQueue,c=i!==null?i.lastEffect:null;if(c!==null){var h=c.next;i=h;do{if((i.tag&n)===n){c=void 0;var p=i.create,x=i.inst;c=p(),x.destroy=c}i=i.next}while(i!==h)}}catch(R){Qe(a,a.return,R)}}function _a(n,a,i){try{var c=a.updateQueue,h=c!==null?c.lastEffect:null;if(h!==null){var p=h.next;c=p;do{if((c.tag&n)===n){var x=c.inst,R=x.destroy;if(R!==void 0){x.destroy=void 0,h=a;var O=i,H=R;try{H()}catch(Q){Qe(h,O,Q)}}}c=c.next}while(c!==p)}}catch(Q){Qe(a,a.return,Q)}}function Lv(n){var a=n.updateQueue;if(a!==null){var i=n.stateNode;try{Cy(a,i)}catch(c){Qe(n,n.return,c)}}}function Pv(n,a,i){i.props=ms(n.type,n.memoizedProps),i.state=n.memoizedState;try{i.componentWillUnmount()}catch(c){Qe(n,a,c)}}function jo(n,a){try{var i=n.ref;if(i!==null){switch(n.tag){case 26:case 27:case 5:var c=n.stateNode;break;case 30:c=n.stateNode;break;default:c=n.stateNode}typeof i=="function"?n.refCleanup=i(c):i.current=c}}catch(h){Qe(n,a,h)}}function pr(n,a){var i=n.ref,c=n.refCleanup;if(i!==null)if(typeof c=="function")try{c()}catch(h){Qe(n,a,h)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(h){Qe(n,a,h)}else i.current=null}function zv(n){var a=n.type,i=n.memoizedProps,c=n.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":i.autoFocus&&c.focus();break e;case"img":i.src?c.src=i.src:i.srcSet&&(c.srcset=i.srcSet)}}catch(h){Qe(n,n.return,h)}}function rh(n,a,i){try{var c=n.stateNode;vR(c,n.type,i,a),c[on]=a}catch(h){Qe(n,n.return,h)}}function Uv(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&Na(n.type)||n.tag===4}function ah(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||Uv(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&Na(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function sh(n,a,i){var c=n.tag;if(c===5||c===6)n=n.stateNode,a?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(n,a):(a=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,a.appendChild(n),i=i._reactRootContainer,i!=null||a.onclick!==null||(a.onclick=Or));else if(c!==4&&(c===27&&Na(n.type)&&(i=n.stateNode,a=null),n=n.child,n!==null))for(sh(n,a,i),n=n.sibling;n!==null;)sh(n,a,i),n=n.sibling}function Tc(n,a,i){var c=n.tag;if(c===5||c===6)n=n.stateNode,a?i.insertBefore(n,a):i.appendChild(n);else if(c!==4&&(c===27&&Na(n.type)&&(i=n.stateNode),n=n.child,n!==null))for(Tc(n,a,i),n=n.sibling;n!==null;)Tc(n,a,i),n=n.sibling}function Iv(n){var a=n.stateNode,i=n.memoizedProps;try{for(var c=n.type,h=a.attributes;h.length;)a.removeAttributeNode(h[0]);qt(a,c,i),a[It]=n,a[on]=i}catch(p){Qe(n,n.return,p)}}var Hr=!1,Rt=!1,ih=!1,$v=typeof WeakSet=="function"?WeakSet:Set,Pt=null;function JT(n,a){if(n=n.containerInfo,Rh=Kc,n=Qg(n),Qd(n)){if("selectionStart"in n)var i={start:n.selectionStart,end:n.selectionEnd};else e:{i=(i=n.ownerDocument)&&i.defaultView||window;var c=i.getSelection&&i.getSelection();if(c&&c.rangeCount!==0){i=c.anchorNode;var h=c.anchorOffset,p=c.focusNode;c=c.focusOffset;try{i.nodeType,p.nodeType}catch{i=null;break e}var x=0,R=-1,O=-1,H=0,Q=0,re=n,G=null;t:for(;;){for(var W;re!==i||h!==0&&re.nodeType!==3||(R=x+h),re!==p||c!==0&&re.nodeType!==3||(O=x+c),re.nodeType===3&&(x+=re.nodeValue.length),(W=re.firstChild)!==null;)G=re,re=W;for(;;){if(re===n)break t;if(G===i&&++H===h&&(R=x),G===p&&++Q===c&&(O=x),(W=re.nextSibling)!==null)break;re=G,G=re.parentNode}re=W}i=R===-1||O===-1?null:{start:R,end:O}}else i=null}i=i||{start:0,end:0}}else i=null;for(Ah={focusedElem:n,selectionRange:i},Kc=!1,Pt=a;Pt!==null;)if(a=Pt,n=a.child,(a.subtreeFlags&1028)!==0&&n!==null)n.return=a,Pt=n;else for(;Pt!==null;){switch(a=Pt,p=a.alternate,n=a.flags,a.tag){case 0:if((n&4)!==0&&(n=a.updateQueue,n=n!==null?n.events:null,n!==null))for(i=0;i title"))),qt(p,c,i),p[It]=n,Lt(p),c=p;break e;case"link":var x=Fb("link","href",h).get(c+(i.href||""));if(x){for(var R=0;Rtt&&(x=tt,tt=Ae,Ae=x);var U=Xg(R,Ae),D=Xg(R,tt);if(U&&D&&(W.rangeCount!==1||W.anchorNode!==U.node||W.anchorOffset!==U.offset||W.focusNode!==D.node||W.focusOffset!==D.offset)){var B=re.createRange();B.setStart(U.node,U.offset),W.removeAllRanges(),Ae>tt?(W.addRange(B),W.extend(D.node,D.offset)):(B.setEnd(D.node,D.offset),W.addRange(B))}}}}for(re=[],W=R;W=W.parentNode;)W.nodeType===1&&re.push({element:W,left:W.scrollLeft,top:W.scrollTop});for(typeof R.focus=="function"&&R.focus(),R=0;Ri?32:i,M.T=null,i=hh,hh=null;var p=Ta,x=Kr;if(Nt=0,mi=Ta=null,Kr=0,(We&6)!==0)throw Error(s(331));var R=We;if(We|=4,Jv(p.current),Yv(p,p.current,x,i),We=R,zo(0,!1),Ut&&typeof Ut.onPostCommitFiberRoot=="function")try{Ut.onPostCommitFiberRoot(fr,p)}catch{}return!0}finally{K.p=h,M.T=c,pb(n,a)}}function yb(n,a,i){a=Pn(i,a),a=Ff(n.stateNode,a,2),n=ba(n,a,2),n!==null&&(mt(n,2),gr(n))}function Qe(n,a,i){if(n.tag===3)yb(n,n,i);else for(;a!==null;){if(a.tag===3){yb(a,n,i);break}else if(a.tag===1){var c=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(Ca===null||!Ca.has(c))){n=Pn(i,n),i=vv(2),c=ba(a,i,2),c!==null&&(bv(i,c,a,n),mt(c,2),gr(c));break}}a=a.return}}function yh(n,a,i){var c=n.pingCache;if(c===null){c=n.pingCache=new eR;var h=new Set;c.set(a,h)}else h=c.get(a),h===void 0&&(h=new Set,c.set(a,h));h.has(i)||(ch=!0,h.add(i),n=sR.bind(null,n,a,i),a.then(n,n))}function sR(n,a,i){var c=n.pingCache;c!==null&&c.delete(a),n.pingedLanes|=n.suspendedLanes&i,n.warmLanes&=~i,at===n&&($e&i)===i&&(bt===4||bt===3&&($e&62914560)===$e&&300>ht()-Nc?(We&2)===0&&pi(n,0):uh|=i,hi===$e&&(hi=0)),gr(n)}function vb(n,a){a===0&&(a=Xt()),n=as(n,a),n!==null&&(mt(n,a),gr(n))}function iR(n){var a=n.memoizedState,i=0;a!==null&&(i=a.retryLane),vb(n,i)}function oR(n,a){var i=0;switch(n.tag){case 31:case 13:var c=n.stateNode,h=n.memoizedState;h!==null&&(i=h.retryLane);break;case 19:c=n.stateNode;break;case 22:c=n.stateNode._retryCache;break;default:throw Error(s(314))}c!==null&&c.delete(a),vb(n,i)}function lR(n,a){return cr(n,a)}var Pc=null,yi=null,vh=!1,zc=!1,bh=!1,Aa=0;function gr(n){n!==yi&&n.next===null&&(yi===null?Pc=yi=n:yi=yi.next=n),zc=!0,vh||(vh=!0,uR())}function zo(n,a){if(!bh&&zc){bh=!0;do for(var i=!1,c=Pc;c!==null;){if(n!==0){var h=c.pendingLanes;if(h===0)var p=0;else{var x=c.suspendedLanes,R=c.pingedLanes;p=(1<<31-Mt(42|n)+1)-1,p&=h&~(x&~R),p=p&201326741?p&201326741|1:p?p|2:0}p!==0&&(i=!0,_b(c,p))}else p=$e,p=ke(c,c===at?p:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(p&3)===0||dt(c,p)||(i=!0,_b(c,p));c=c.next}while(i);bh=!1}}function cR(){bb()}function bb(){zc=vh=!1;var n=0;Aa!==0&&wR()&&(n=Aa);for(var a=ht(),i=null,c=Pc;c!==null;){var h=c.next,p=wb(c,a);p===0?(c.next=null,i===null?Pc=h:i.next=h,h===null&&(yi=i)):(i=c,(n!==0||(p&3)!==0)&&(zc=!0)),c=h}Nt!==0&&Nt!==5||zo(n),Aa!==0&&(Aa=0)}function wb(n,a){for(var i=n.suspendedLanes,c=n.pingedLanes,h=n.expirationTimes,p=n.pendingLanes&-62914561;0R)break;var Q=O.transferSize,re=O.initiatorType;Q&&kb(re)&&(O=O.responseEnd,x+=Q*(O"u"?null:document;function Hb(n,a,i){var c=vi;if(c&&typeof a=="string"&&a){var h=Dn(a);h='link[rel="'+n+'"][href="'+h+'"]',typeof i=="string"&&(h+='[crossorigin="'+i+'"]'),Bb.has(h)||(Bb.add(h),n={rel:n,crossOrigin:i,href:a},c.querySelector(h)===null&&(a=c.createElement("link"),qt(a,"link",n),Lt(a),c.head.appendChild(a)))}}function NR(n){Yr.D(n),Hb("dns-prefetch",n,null)}function kR(n,a){Yr.C(n,a),Hb("preconnect",n,a)}function jR(n,a,i){Yr.L(n,a,i);var c=vi;if(c&&n&&a){var h='link[rel="preload"][as="'+Dn(a)+'"]';a==="image"&&i&&i.imageSrcSet?(h+='[imagesrcset="'+Dn(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(h+='[imagesizes="'+Dn(i.imageSizes)+'"]')):h+='[href="'+Dn(n)+'"]';var p=h;switch(a){case"style":p=bi(n);break;case"script":p=wi(n)}Hn.has(p)||(n=g({rel:"preload",href:a==="image"&&i&&i.imageSrcSet?void 0:n,as:a},i),Hn.set(p,n),c.querySelector(h)!==null||a==="style"&&c.querySelector(Bo(p))||a==="script"&&c.querySelector(Ho(p))||(a=c.createElement("link"),qt(a,"link",n),Lt(a),c.head.appendChild(a)))}}function OR(n,a){Yr.m(n,a);var i=vi;if(i&&n){var c=a&&typeof a.as=="string"?a.as:"script",h='link[rel="modulepreload"][as="'+Dn(c)+'"][href="'+Dn(n)+'"]',p=h;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":p=wi(n)}if(!Hn.has(p)&&(n=g({rel:"modulepreload",href:n},a),Hn.set(p,n),i.querySelector(h)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(Ho(p)))return}c=i.createElement("link"),qt(c,"link",n),Lt(c),i.head.appendChild(c)}}}function MR(n,a,i){Yr.S(n,a,i);var c=vi;if(c&&n){var h=Bs(c).hoistableStyles,p=bi(n);a=a||"default";var x=h.get(p);if(!x){var R={loading:0,preload:null};if(x=c.querySelector(Bo(p)))R.loading=5;else{n=g({rel:"stylesheet",href:n,"data-precedence":a},i),(i=Hn.get(p))&&Lh(n,i);var O=x=c.createElement("link");Lt(O),qt(O,"link",n),O._p=new Promise(function(H,Q){O.onload=H,O.onerror=Q}),O.addEventListener("load",function(){R.loading|=1}),O.addEventListener("error",function(){R.loading|=2}),R.loading|=4,Hc(x,a,c)}x={type:"stylesheet",instance:x,count:1,state:R},h.set(p,x)}}}function DR(n,a){Yr.X(n,a);var i=vi;if(i&&n){var c=Bs(i).hoistableScripts,h=wi(n),p=c.get(h);p||(p=i.querySelector(Ho(h)),p||(n=g({src:n,async:!0},a),(a=Hn.get(h))&&Ph(n,a),p=i.createElement("script"),Lt(p),qt(p,"link",n),i.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},c.set(h,p))}}function LR(n,a){Yr.M(n,a);var i=vi;if(i&&n){var c=Bs(i).hoistableScripts,h=wi(n),p=c.get(h);p||(p=i.querySelector(Ho(h)),p||(n=g({src:n,async:!0,type:"module"},a),(a=Hn.get(h))&&Ph(n,a),p=i.createElement("script"),Lt(p),qt(p,"link",n),i.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},c.set(h,p))}}function qb(n,a,i,c){var h=(h=Z.current)?Bc(h):null;if(!h)throw Error(s(446));switch(n){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(a=bi(i.href),i=Bs(h).hoistableStyles,c=i.get(a),c||(c={type:"style",instance:null,count:0,state:null},i.set(a,c)),c):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){n=bi(i.href);var p=Bs(h).hoistableStyles,x=p.get(n);if(x||(h=h.ownerDocument||h,x={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},p.set(n,x),(p=h.querySelector(Bo(n)))&&!p._p&&(x.instance=p,x.state.loading=5),Hn.has(n)||(i={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},Hn.set(n,i),p||PR(h,n,i,x.state))),a&&c===null)throw Error(s(528,""));return x}if(a&&c!==null)throw Error(s(529,""));return null;case"script":return a=i.async,i=i.src,typeof i=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=wi(i),i=Bs(h).hoistableScripts,c=i.get(a),c||(c={type:"script",instance:null,count:0,state:null},i.set(a,c)),c):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,n))}}function bi(n){return'href="'+Dn(n)+'"'}function Bo(n){return'link[rel="stylesheet"]['+n+"]"}function Vb(n){return g({},n,{"data-precedence":n.precedence,precedence:null})}function PR(n,a,i,c){n.querySelector('link[rel="preload"][as="style"]['+a+"]")?c.loading=1:(a=n.createElement("link"),c.preload=a,a.addEventListener("load",function(){return c.loading|=1}),a.addEventListener("error",function(){return c.loading|=2}),qt(a,"link",i),Lt(a),n.head.appendChild(a))}function wi(n){return'[src="'+Dn(n)+'"]'}function Ho(n){return"script[async]"+n}function Gb(n,a,i){if(a.count++,a.instance===null)switch(a.type){case"style":var c=n.querySelector('style[data-href~="'+Dn(i.href)+'"]');if(c)return a.instance=c,Lt(c),c;var h=g({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return c=(n.ownerDocument||n).createElement("style"),Lt(c),qt(c,"style",h),Hc(c,i.precedence,n),a.instance=c;case"stylesheet":h=bi(i.href);var p=n.querySelector(Bo(h));if(p)return a.state.loading|=4,a.instance=p,Lt(p),p;c=Vb(i),(h=Hn.get(h))&&Lh(c,h),p=(n.ownerDocument||n).createElement("link"),Lt(p);var x=p;return x._p=new Promise(function(R,O){x.onload=R,x.onerror=O}),qt(p,"link",c),a.state.loading|=4,Hc(p,i.precedence,n),a.instance=p;case"script":return p=wi(i.src),(h=n.querySelector(Ho(p)))?(a.instance=h,Lt(h),h):(c=i,(h=Hn.get(p))&&(c=g({},i),Ph(c,h)),n=n.ownerDocument||n,h=n.createElement("script"),Lt(h),qt(h,"link",c),n.head.appendChild(h),a.instance=h);case"void":return null;default:throw Error(s(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(c=a.instance,a.state.loading|=4,Hc(c,i.precedence,n));return a.instance}function Hc(n,a,i){for(var c=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),h=c.length?c[c.length-1]:null,p=h,x=0;x title"):null)}function zR(n,a,i){if(i===1||a.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;switch(a.rel){case"stylesheet":return n=a.disabled,typeof a.precedence=="string"&&n==null;default:return!0}case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function Yb(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function UR(n,a,i,c){if(i.type==="stylesheet"&&(typeof c.media!="string"||matchMedia(c.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var h=bi(c.href),p=a.querySelector(Bo(h));if(p){a=p._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(n.count++,n=Vc.bind(n),a.then(n,n)),i.state.loading|=4,i.instance=p,Lt(p);return}p=a.ownerDocument||a,c=Vb(c),(h=Hn.get(h))&&Lh(c,h),p=p.createElement("link"),Lt(p);var x=p;x._p=new Promise(function(R,O){x.onload=R,x.onerror=O}),qt(p,"link",c),i.instance=p}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(i,a),(a=i.state.preload)&&(i.state.loading&3)===0&&(n.count++,i=Vc.bind(n),a.addEventListener("load",i),a.addEventListener("error",i))}}var zh=0;function IR(n,a){return n.stylesheets&&n.count===0&&Fc(n,n.stylesheets),0zh?50:800)+a);return n.unsuspend=i,function(){n.unsuspend=null,clearTimeout(c),clearTimeout(h)}}:null}function Vc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Fc(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var Gc=null;function Fc(n,a){n.stylesheets=null,n.unsuspend!==null&&(n.count++,Gc=new Map,a.forEach($R,n),Gc=null,Vc.call(n))}function $R(n,a){if(!(a.state.loading&4)){var i=Gc.get(n);if(i)var c=i.get(null);else{i=new Map,Gc.set(n,i);for(var h=n.querySelectorAll("link[data-precedence],style[data-precedence]"),p=0;p"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Fh.exports=nA(),Fh.exports}var aA=rA();/** +`+c.stack}}var gt=Object.prototype.hasOwnProperty,Tr=e.unstable_scheduleCallback,He=e.unstable_cancelCallback,nt=e.unstable_shouldYield,Dt=e.unstable_requestPaint,rt=e.unstable_now,Rr=e.unstable_getCurrentPriorityLevel,Ar=e.unstable_ImmediatePriority,zs=e.unstable_UserBlockingPriority,wn=e.unstable_NormalPriority,la=e.unstable_LowPriority,xn=e.unstable_IdlePriority,Us=e.log,Kn=e.unstable_setDisableYieldValue,cr=null,Lt=null;function _n(n){if(typeof Us=="function"&&Kn(n),Lt&&typeof Lt.setStrictMode=="function")try{Lt.setStrictMode(cr,n)}catch{}}var Pt=Math.clz32?Math.clz32:se,ro=Math.log,Xa=Math.LN2;function se(n){return n>>>=0,n===0?32:31-(ro(n)/Xa|0)|0}var Te=256,Ge=262144,Ye=4194304;function Nt(n){var a=n&42;if(a!==0)return a;switch(n&-n){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 n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function Ne(n,a,i){var c=n.pendingLanes;if(c===0)return 0;var h=0,p=n.suspendedLanes,x=n.pingedLanes;n=n.warmLanes;var R=c&134217727;return R!==0?(c=R&~p,c!==0?h=Nt(c):(x&=R,x!==0?h=Nt(x):i||(i=R&~n,i!==0&&(h=Nt(i))))):(R=c&~p,R!==0?h=Nt(R):x!==0?h=Nt(x):i||(i=c&~n,i!==0&&(h=Nt(i)))),h===0?0:a!==0&&a!==h&&(a&p)===0&&(p=h&-h,i=a&-a,p>=i||p===32&&(i&4194048)!==0)?a:h}function lt(n,a){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&a)===0}function zt(n,a){switch(n){case 1:case 2:case 4:case 8:case 64:return a+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 a+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 Xt(){var n=Ye;return Ye<<=1,(Ye&62914560)===0&&(Ye=4194304),n}function ca(n){for(var a=[],i=0;31>i;i++)a.push(n);return a}function mt(n,a){n.pendingLanes|=a,a!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function rn(n,a,i,c,h,p){var x=n.pendingLanes;n.pendingLanes=i,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=i,n.entangledLanes&=i,n.errorRecoveryDisabledLanes&=i,n.shellSuspendCounter=0;var R=n.entanglements,O=n.expirationTimes,H=n.hiddenUpdates;for(i=x&~i;0"u")return null;try{return n.activeElement||n.body}catch{return n.body}}var iT=/[\n"\\]/g;function Ln(n){return n.replace(iT,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function Bd(n,a,i,c,h,p,x,R){n.name="",x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?n.type=x:n.removeAttribute("type"),a!=null?x==="number"?(a===0&&n.value===""||n.value!=a)&&(n.value=""+Dn(a)):n.value!==""+Dn(a)&&(n.value=""+Dn(a)):x!=="submit"&&x!=="reset"||n.removeAttribute("value"),a!=null?Hd(n,x,Dn(a)):i!=null?Hd(n,x,Dn(i)):c!=null&&n.removeAttribute("value"),h==null&&p!=null&&(n.defaultChecked=!!p),h!=null&&(n.checked=h&&typeof h!="function"&&typeof h!="symbol"),R!=null&&typeof R!="function"&&typeof R!="symbol"&&typeof R!="boolean"?n.name=""+Dn(R):n.removeAttribute("name")}function Og(n,a,i,c,h,p,x,R){if(p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(n.type=p),a!=null||i!=null){if(!(p!=="submit"&&p!=="reset"||a!=null)){$d(n);return}i=i!=null?""+Dn(i):"",a=a!=null?""+Dn(a):i,R||a===n.value||(n.value=a),n.defaultValue=a}c=c??h,c=typeof c!="function"&&typeof c!="symbol"&&!!c,n.checked=R?n.checked:!!c,n.defaultChecked=!!c,x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"&&(n.name=x),$d(n)}function Hd(n,a,i){a==="number"&&Vl(n.ownerDocument)===n||n.defaultValue===""+i||(n.defaultValue=""+i)}function Gs(n,a,i,c){if(n=n.options,a){a={};for(var h=0;h"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Kd=!1;if(jr)try{var oo={};Object.defineProperty(oo,"passive",{get:function(){Kd=!0}}),window.addEventListener("test",oo,oo),window.removeEventListener("test",oo,oo)}catch{Kd=!1}var da=null,Yd=null,Fl=null;function Ig(){if(Fl)return Fl;var n,a=Yd,i=a.length,c,h="value"in da?da.value:da.textContent,p=h.length;for(n=0;n=uo),Gg=" ",Fg=!1;function Kg(n,a){switch(n){case"keyup":return DT.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Yg(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var Ws=!1;function PT(n,a){switch(n){case"compositionend":return Yg(a);case"keypress":return a.which!==32?null:(Fg=!0,Gg);case"textInput":return n=a.data,n===Gg&&Fg?null:n;default:return null}}function zT(n,a){if(Ws)return n==="compositionend"||!Zd&&Kg(n,a)?(n=Ig(),Fl=Yd=da=null,Ws=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1=a)return{node:i,offset:a-n};n=c}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=ny(i)}}function ay(n,a){return n&&a?n===a?!0:n&&n.nodeType===3?!1:a&&a.nodeType===3?ay(n,a.parentNode):"contains"in n?n.contains(a):n.compareDocumentPosition?!!(n.compareDocumentPosition(a)&16):!1:!1}function sy(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var a=Vl(n.document);a instanceof n.HTMLIFrameElement;){try{var i=typeof a.contentWindow.location.href=="string"}catch{i=!1}if(i)n=a.contentWindow;else break;a=Vl(n.document)}return a}function nf(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a&&(a==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||a==="textarea"||n.contentEditable==="true")}var GT=jr&&"documentMode"in document&&11>=document.documentMode,Xs=null,rf=null,po=null,af=!1;function iy(n,a,i){var c=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;af||Xs==null||Xs!==Vl(c)||(c=Xs,"selectionStart"in c&&nf(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),po&&mo(po,c)||(po=c,c=Ic(rf,"onSelect"),0>=x,h-=x,ur=1<<32-Pt(a)+h|i<Le?(Be=_e,_e=null):Be=_e.sibling;var Xe=G(U,_e,B[Le],te);if(Xe===null){_e===null&&(_e=Be);break}n&&_e&&Xe.alternate===null&&a(U,_e),D=p(Xe,D,Le),We===null?Se=Xe:We.sibling=Xe,We=Xe,_e=Be}if(Le===B.length)return i(U,_e),qe&&Mr(U,Le),Se;if(_e===null){for(;LeLe?(Be=_e,_e=null):Be=_e.sibling;var Ma=G(U,_e,Xe.value,te);if(Ma===null){_e===null&&(_e=Be);break}n&&_e&&Ma.alternate===null&&a(U,_e),D=p(Ma,D,Le),We===null?Se=Ma:We.sibling=Ma,We=Ma,_e=Be}if(Xe.done)return i(U,_e),qe&&Mr(U,Le),Se;if(_e===null){for(;!Xe.done;Le++,Xe=B.next())Xe=re(U,Xe.value,te),Xe!==null&&(D=p(Xe,D,Le),We===null?Se=Xe:We.sibling=Xe,We=Xe);return qe&&Mr(U,Le),Se}for(_e=c(_e);!Xe.done;Le++,Xe=B.next())Xe=W(_e,U,Le,Xe.value,te),Xe!==null&&(n&&Xe.alternate!==null&&_e.delete(Xe.key===null?Le:Xe.key),D=p(Xe,D,Le),We===null?Se=Xe:We.sibling=Xe,We=Xe);return n&&_e.forEach(function(dA){return a(U,dA)}),qe&&Mr(U,Le),Se}function it(U,D,B,te){if(typeof B=="object"&&B!==null&&B.type===S&&B.key===null&&(B=B.props.children),typeof B=="object"&&B!==null){switch(B.$$typeof){case _:e:{for(var Se=B.key;D!==null;){if(D.key===Se){if(Se=B.type,Se===S){if(D.tag===7){i(U,D.sibling),te=h(D,B.props.children),te.return=U,U=te;break e}}else if(D.elementType===Se||typeof Se=="object"&&Se!==null&&Se.$$typeof===q&&ls(Se)===D.type){i(U,D.sibling),te=h(D,B.props),xo(te,B),te.return=U,U=te;break e}i(U,D);break}else a(U,D);D=D.sibling}B.type===S?(te=rs(B.props.children,U.mode,te,B.key),te.return=U,U=te):(te=nc(B.type,B.key,B.props,null,U.mode,te),xo(te,B),te.return=U,U=te)}return x(U);case E:e:{for(Se=B.key;D!==null;){if(D.key===Se)if(D.tag===4&&D.stateNode.containerInfo===B.containerInfo&&D.stateNode.implementation===B.implementation){i(U,D.sibling),te=h(D,B.children||[]),te.return=U,U=te;break e}else{i(U,D);break}else a(U,D);D=D.sibling}te=ff(B,U.mode,te),te.return=U,U=te}return x(U);case q:return B=ls(B),it(U,D,B,te)}if(fe(B))return ve(U,D,B,te);if(oe(B)){if(Se=oe(B),typeof Se!="function")throw Error(s(150));return B=Se.call(B),Ae(U,D,B,te)}if(typeof B.then=="function")return it(U,D,cc(B),te);if(B.$$typeof===N)return it(U,D,sc(U,B),te);uc(U,B)}return typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint"?(B=""+B,D!==null&&D.tag===6?(i(U,D.sibling),te=h(D,B),te.return=U,U=te):(i(U,D),te=df(B,U.mode,te),te.return=U,U=te),x(U)):i(U,D)}return function(U,D,B,te){try{wo=0;var Se=it(U,D,B,te);return oi=null,Se}catch(_e){if(_e===ii||_e===oc)throw _e;var We=En(29,_e,null,U.mode);return We.lanes=te,We.return=U,We}finally{}}}var us=Ny(!0),ky=Ny(!1),ga=!1;function Ef(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Cf(n,a){n=n.updateQueue,a.updateQueue===n&&(a.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function ya(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function va(n,a,i){var c=n.updateQueue;if(c===null)return null;if(c=c.shared,(Je&2)!==0){var h=c.pending;return h===null?a.next=a:(a.next=h.next,h.next=a),c.pending=a,a=tc(n),hy(n,null,i),a}return ec(n,c,a,i),tc(n)}function _o(n,a,i){if(a=a.updateQueue,a!==null&&(a=a.shared,(i&4194048)!==0)){var c=a.lanes;c&=n.pendingLanes,i|=c,a.lanes=i,an(n,i)}}function Tf(n,a){var i=n.updateQueue,c=n.alternate;if(c!==null&&(c=c.updateQueue,i===c)){var h=null,p=null;if(i=i.firstBaseUpdate,i!==null){do{var x={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};p===null?h=p=x:p=p.next=x,i=i.next}while(i!==null);p===null?h=p=a:p=p.next=a}else h=p=a;i={baseState:c.baseState,firstBaseUpdate:h,lastBaseUpdate:p,shared:c.shared,callbacks:c.callbacks},n.updateQueue=i;return}n=i.lastBaseUpdate,n===null?i.firstBaseUpdate=a:n.next=a,i.lastBaseUpdate=a}var Rf=!1;function So(){if(Rf){var n=si;if(n!==null)throw n}}function Eo(n,a,i,c){Rf=!1;var h=n.updateQueue;ga=!1;var p=h.firstBaseUpdate,x=h.lastBaseUpdate,R=h.shared.pending;if(R!==null){h.shared.pending=null;var O=R,H=O.next;O.next=null,x===null?p=H:x.next=H,x=O;var Q=n.alternate;Q!==null&&(Q=Q.updateQueue,R=Q.lastBaseUpdate,R!==x&&(R===null?Q.firstBaseUpdate=H:R.next=H,Q.lastBaseUpdate=O))}if(p!==null){var re=h.baseState;x=0,Q=H=O=null,R=p;do{var G=R.lane&-536870913,W=G!==R.lane;if(W?($e&G)===G:(c&G)===G){G!==0&&G===ai&&(Rf=!0),Q!==null&&(Q=Q.next={lane:0,tag:R.tag,payload:R.payload,callback:null,next:null});e:{var ve=n,Ae=R;G=a;var it=i;switch(Ae.tag){case 1:if(ve=Ae.payload,typeof ve=="function"){re=ve.call(it,re,G);break e}re=ve;break e;case 3:ve.flags=ve.flags&-65537|128;case 0:if(ve=Ae.payload,G=typeof ve=="function"?ve.call(it,re,G):ve,G==null)break e;re=g({},re,G);break e;case 2:ga=!0}}G=R.callback,G!==null&&(n.flags|=64,W&&(n.flags|=8192),W=h.callbacks,W===null?h.callbacks=[G]:W.push(G))}else W={lane:G,tag:R.tag,payload:R.payload,callback:R.callback,next:null},Q===null?(H=Q=W,O=re):Q=Q.next=W,x|=G;if(R=R.next,R===null){if(R=h.shared.pending,R===null)break;W=R,R=W.next,W.next=null,h.lastBaseUpdate=W,h.shared.pending=null}}while(!0);Q===null&&(O=re),h.baseState=O,h.firstBaseUpdate=H,h.lastBaseUpdate=Q,p===null&&(h.shared.lanes=0),Sa|=x,n.lanes=x,n.memoizedState=re}}function jy(n,a){if(typeof n!="function")throw Error(s(191,n));n.call(a)}function Oy(n,a){var i=n.callbacks;if(i!==null)for(n.callbacks=null,n=0;np?p:8;var x=M.T,R={};M.T=R,Ff(n,!1,a,i);try{var O=h(),H=M.S;if(H!==null&&H(R,O),O!==null&&typeof O=="object"&&typeof O.then=="function"){var Q=eR(O,c);Ro(n,a,Q,Nn(n))}else Ro(n,a,c,Nn(n))}catch(re){Ro(n,a,{then:function(){},status:"rejected",reason:re},Nn())}finally{K.p=p,x!==null&&R.types!==null&&(x.types=R.types),M.T=x}}function iR(){}function Vf(n,a,i,c){if(n.tag!==5)throw Error(s(476));var h=uv(n).queue;cv(n,h,a,J,i===null?iR:function(){return dv(n),i(c)})}function uv(n){var a=n.memoizedState;if(a!==null)return a;a={memoizedState:J,baseState:J,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zr,lastRenderedState:J},next:null};var i={};return a.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zr,lastRenderedState:i},next:null},n.memoizedState=a,n=n.alternate,n!==null&&(n.memoizedState=a),a}function dv(n){var a=uv(n);a.next===null&&(a=n.alternate.memoizedState),Ro(n,a.next.queue,{},Nn())}function Gf(){return Vt(Vo)}function fv(){return _t().memoizedState}function hv(){return _t().memoizedState}function oR(n){for(var a=n.return;a!==null;){switch(a.tag){case 24:case 3:var i=Nn();n=ya(i);var c=va(a,n,i);c!==null&&(hn(c,a,i),_o(c,a,i)),a={cache:wf()},n.payload=a;return}a=a.return}}function lR(n,a,i){var c=Nn();i={lane:c,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},wc(n)?pv(a,i):(i=cf(n,a,i,c),i!==null&&(hn(i,n,c),gv(i,a,c)))}function mv(n,a,i){var c=Nn();Ro(n,a,i,c)}function Ro(n,a,i,c){var h={lane:c,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(wc(n))pv(a,h);else{var p=n.alternate;if(n.lanes===0&&(p===null||p.lanes===0)&&(p=a.lastRenderedReducer,p!==null))try{var x=a.lastRenderedState,R=p(x,i);if(h.hasEagerState=!0,h.eagerState=R,Sn(R,x))return ec(n,a,h,0),ot===null&&Zl(),!1}catch{}finally{}if(i=cf(n,a,h,c),i!==null)return hn(i,n,c),gv(i,a,c),!0}return!1}function Ff(n,a,i,c){if(c={lane:2,revertLane:Eh(),gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null},wc(n)){if(a)throw Error(s(479))}else a=cf(n,i,c,2),a!==null&&hn(a,n,2)}function wc(n){var a=n.alternate;return n===De||a!==null&&a===De}function pv(n,a){ci=hc=!0;var i=n.pending;i===null?a.next=a:(a.next=i.next,i.next=a),n.pending=a}function gv(n,a,i){if((i&4194048)!==0){var c=a.lanes;c&=n.pendingLanes,i|=c,a.lanes=i,an(n,i)}}var Ao={readContext:Vt,use:gc,useCallback:yt,useContext:yt,useEffect:yt,useImperativeHandle:yt,useLayoutEffect:yt,useInsertionEffect:yt,useMemo:yt,useReducer:yt,useRef:yt,useState:yt,useDebugValue:yt,useDeferredValue:yt,useTransition:yt,useSyncExternalStore:yt,useId:yt,useHostTransitionStatus:yt,useFormState:yt,useActionState:yt,useOptimistic:yt,useMemoCache:yt,useCacheRefresh:yt};Ao.useEffectEvent=yt;var yv={readContext:Vt,use:gc,useCallback:function(n,a){return Zt().memoizedState=[n,a===void 0?null:a],n},useContext:Vt,useEffect:ev,useImperativeHandle:function(n,a,i){i=i!=null?i.concat([n]):null,vc(4194308,4,av.bind(null,a,n),i)},useLayoutEffect:function(n,a){return vc(4194308,4,n,a)},useInsertionEffect:function(n,a){vc(4,2,n,a)},useMemo:function(n,a){var i=Zt();a=a===void 0?null:a;var c=n();if(ds){_n(!0);try{n()}finally{_n(!1)}}return i.memoizedState=[c,a],c},useReducer:function(n,a,i){var c=Zt();if(i!==void 0){var h=i(a);if(ds){_n(!0);try{i(a)}finally{_n(!1)}}}else h=a;return c.memoizedState=c.baseState=h,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:h},c.queue=n,n=n.dispatch=lR.bind(null,De,n),[c.memoizedState,n]},useRef:function(n){var a=Zt();return n={current:n},a.memoizedState=n},useState:function(n){n=If(n);var a=n.queue,i=mv.bind(null,De,a);return a.dispatch=i,[n.memoizedState,i]},useDebugValue:Hf,useDeferredValue:function(n,a){var i=Zt();return qf(i,n,a)},useTransition:function(){var n=If(!1);return n=cv.bind(null,De,n.queue,!0,!1),Zt().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,a,i){var c=De,h=Zt();if(qe){if(i===void 0)throw Error(s(407));i=i()}else{if(i=a(),ot===null)throw Error(s(349));($e&127)!==0||Uy(c,a,i)}h.memoizedState=i;var p={value:i,getSnapshot:a};return h.queue=p,ev($y.bind(null,c,p,n),[n]),c.flags|=2048,di(9,{destroy:void 0},Iy.bind(null,c,p,i,a),null),i},useId:function(){var n=Zt(),a=ot.identifierPrefix;if(qe){var i=dr,c=ur;i=(c&~(1<<32-Pt(c)-1)).toString(32)+i,a="_"+a+"R_"+i,i=mc++,0<\/script>",p=p.removeChild(p.firstChild);break;case"select":p=typeof c.is=="string"?x.createElement("select",{is:c.is}):x.createElement("select"),c.multiple?p.multiple=!0:c.size&&(p.size=c.size);break;default:p=typeof c.is=="string"?x.createElement(h,{is:c.is}):x.createElement(h)}}p[Ht]=a,p[on]=c;e:for(x=a.child;x!==null;){if(x.tag===5||x.tag===6)p.appendChild(x.stateNode);else if(x.tag!==4&&x.tag!==27&&x.child!==null){x.child.return=x,x=x.child;continue}if(x===a)break e;for(;x.sibling===null;){if(x.return===null||x.return===a)break e;x=x.return}x.sibling.return=x.return,x=x.sibling}a.stateNode=p;e:switch(Ft(p,h,c),h){case"button":case"input":case"select":case"textarea":c=!!c.autoFocus;break e;case"img":c=!0;break e;default:c=!1}c&&Ir(a)}}return dt(a),ih(a,a.type,n===null?null:n.memoizedProps,a.pendingProps,i),null;case 6:if(n&&a.stateNode!=null)n.memoizedProps!==c&&Ir(a);else{if(typeof c!="string"&&a.stateNode===null)throw Error(s(166));if(n=Z.current,ni(a)){if(n=a.stateNode,i=a.memoizedProps,c=null,h=qt,h!==null)switch(h.tag){case 27:case 5:c=h.memoizedProps}n[Ht]=a,n=!!(n.nodeValue===i||c!==null&&c.suppressHydrationWarning===!0||Pb(n.nodeValue,i)),n||ma(a,!0)}else n=$c(n).createTextNode(c),n[Ht]=a,a.stateNode=n}return dt(a),null;case 31:if(i=a.memoizedState,n===null||n.memoizedState!==null){if(c=ni(a),i!==null){if(n===null){if(!c)throw Error(s(318));if(n=a.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(s(557));n[Ht]=a}else as(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;dt(a),n=!1}else i=gf(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=i),n=!0;if(!n)return a.flags&256?(Tn(a),a):(Tn(a),null);if((a.flags&128)!==0)throw Error(s(558))}return dt(a),null;case 13:if(c=a.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(h=ni(a),c!==null&&c.dehydrated!==null){if(n===null){if(!h)throw Error(s(318));if(h=a.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(s(317));h[Ht]=a}else as(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;dt(a),h=!1}else h=gf(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=h),h=!0;if(!h)return a.flags&256?(Tn(a),a):(Tn(a),null)}return Tn(a),(a.flags&128)!==0?(a.lanes=i,a):(i=c!==null,n=n!==null&&n.memoizedState!==null,i&&(c=a.child,h=null,c.alternate!==null&&c.alternate.memoizedState!==null&&c.alternate.memoizedState.cachePool!==null&&(h=c.alternate.memoizedState.cachePool.pool),p=null,c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(p=c.memoizedState.cachePool.pool),p!==h&&(c.flags|=2048)),i!==n&&i&&(a.child.flags|=8192),Cc(a,a.updateQueue),dt(a),null);case 4:return ae(),n===null&&Ah(a.stateNode.containerInfo),dt(a),null;case 10:return Lr(a.type),dt(a),null;case 19:if(j(xt),c=a.memoizedState,c===null)return dt(a),null;if(h=(a.flags&128)!==0,p=c.rendering,p===null)if(h)ko(c,!1);else{if(vt!==0||n!==null&&(n.flags&128)!==0)for(n=a.child;n!==null;){if(p=fc(n),p!==null){for(a.flags|=128,ko(c,!1),n=p.updateQueue,a.updateQueue=n,Cc(a,n),a.subtreeFlags=0,n=i,i=a.child;i!==null;)my(i,n),i=i.sibling;return I(xt,xt.current&1|2),qe&&Mr(a,c.treeForkCount),a.child}n=n.sibling}c.tail!==null&&rt()>kc&&(a.flags|=128,h=!0,ko(c,!1),a.lanes=4194304)}else{if(!h)if(n=fc(p),n!==null){if(a.flags|=128,h=!0,n=n.updateQueue,a.updateQueue=n,Cc(a,n),ko(c,!0),c.tail===null&&c.tailMode==="hidden"&&!p.alternate&&!qe)return dt(a),null}else 2*rt()-c.renderingStartTime>kc&&i!==536870912&&(a.flags|=128,h=!0,ko(c,!1),a.lanes=4194304);c.isBackwards?(p.sibling=a.child,a.child=p):(n=c.last,n!==null?n.sibling=p:a.child=p,c.last=p)}return c.tail!==null?(n=c.tail,c.rendering=n,c.tail=n.sibling,c.renderingStartTime=rt(),n.sibling=null,i=xt.current,I(xt,h?i&1|2:i&1),qe&&Mr(a,c.treeForkCount),n):(dt(a),null);case 22:case 23:return Tn(a),Nf(),c=a.memoizedState!==null,n!==null?n.memoizedState!==null!==c&&(a.flags|=8192):c&&(a.flags|=8192),c?(i&536870912)!==0&&(a.flags&128)===0&&(dt(a),a.subtreeFlags&6&&(a.flags|=8192)):dt(a),i=a.updateQueue,i!==null&&Cc(a,i.retryQueue),i=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),c=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(c=a.memoizedState.cachePool.pool),c!==i&&(a.flags|=2048),n!==null&&j(os),null;case 24:return i=null,n!==null&&(i=n.memoizedState.cache),a.memoizedState.cache!==i&&(a.flags|=2048),Lr(Et),dt(a),null;case 25:return null;case 30:return null}throw Error(s(156,a.tag))}function hR(n,a){switch(mf(a),a.tag){case 1:return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 3:return Lr(Et),ae(),n=a.flags,(n&65536)!==0&&(n&128)===0?(a.flags=n&-65537|128,a):null;case 26:case 27:case 5:return Ce(a),null;case 31:if(a.memoizedState!==null){if(Tn(a),a.alternate===null)throw Error(s(340));as()}return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 13:if(Tn(a),n=a.memoizedState,n!==null&&n.dehydrated!==null){if(a.alternate===null)throw Error(s(340));as()}return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 19:return j(xt),null;case 4:return ae(),null;case 10:return Lr(a.type),null;case 22:case 23:return Tn(a),Nf(),n!==null&&j(os),n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 24:return Lr(Et),null;case 25:return null;default:return null}}function Bv(n,a){switch(mf(a),a.tag){case 3:Lr(Et),ae();break;case 26:case 27:case 5:Ce(a);break;case 4:ae();break;case 31:a.memoizedState!==null&&Tn(a);break;case 13:Tn(a);break;case 19:j(xt);break;case 10:Lr(a.type);break;case 22:case 23:Tn(a),Nf(),n!==null&&j(os);break;case 24:Lr(Et)}}function jo(n,a){try{var i=a.updateQueue,c=i!==null?i.lastEffect:null;if(c!==null){var h=c.next;i=h;do{if((i.tag&n)===n){c=void 0;var p=i.create,x=i.inst;c=p(),x.destroy=c}i=i.next}while(i!==h)}}catch(R){tt(a,a.return,R)}}function xa(n,a,i){try{var c=a.updateQueue,h=c!==null?c.lastEffect:null;if(h!==null){var p=h.next;c=p;do{if((c.tag&n)===n){var x=c.inst,R=x.destroy;if(R!==void 0){x.destroy=void 0,h=a;var O=i,H=R;try{H()}catch(Q){tt(h,O,Q)}}}c=c.next}while(c!==p)}}catch(Q){tt(a,a.return,Q)}}function Hv(n){var a=n.updateQueue;if(a!==null){var i=n.stateNode;try{Oy(a,i)}catch(c){tt(n,n.return,c)}}}function qv(n,a,i){i.props=fs(n.type,n.memoizedProps),i.state=n.memoizedState;try{i.componentWillUnmount()}catch(c){tt(n,a,c)}}function Oo(n,a){try{var i=n.ref;if(i!==null){switch(n.tag){case 26:case 27:case 5:var c=n.stateNode;break;case 30:c=n.stateNode;break;default:c=n.stateNode}typeof i=="function"?n.refCleanup=i(c):i.current=c}}catch(h){tt(n,a,h)}}function fr(n,a){var i=n.ref,c=n.refCleanup;if(i!==null)if(typeof c=="function")try{c()}catch(h){tt(n,a,h)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(h){tt(n,a,h)}else i.current=null}function Vv(n){var a=n.type,i=n.memoizedProps,c=n.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":i.autoFocus&&c.focus();break e;case"img":i.src?c.src=i.src:i.srcSet&&(c.srcset=i.srcSet)}}catch(h){tt(n,n.return,h)}}function oh(n,a,i){try{var c=n.stateNode;LR(c,n.type,i,a),c[on]=a}catch(h){tt(n,n.return,h)}}function Gv(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&Aa(n.type)||n.tag===4}function lh(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||Gv(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&Aa(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function ch(n,a,i){var c=n.tag;if(c===5||c===6)n=n.stateNode,a?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(n,a):(a=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,a.appendChild(n),i=i._reactRootContainer,i!=null||a.onclick!==null||(a.onclick=kr));else if(c!==4&&(c===27&&Aa(n.type)&&(i=n.stateNode,a=null),n=n.child,n!==null))for(ch(n,a,i),n=n.sibling;n!==null;)ch(n,a,i),n=n.sibling}function Tc(n,a,i){var c=n.tag;if(c===5||c===6)n=n.stateNode,a?i.insertBefore(n,a):i.appendChild(n);else if(c!==4&&(c===27&&Aa(n.type)&&(i=n.stateNode),n=n.child,n!==null))for(Tc(n,a,i),n=n.sibling;n!==null;)Tc(n,a,i),n=n.sibling}function Fv(n){var a=n.stateNode,i=n.memoizedProps;try{for(var c=n.type,h=a.attributes;h.length;)a.removeAttributeNode(h[0]);Ft(a,c,i),a[Ht]=n,a[on]=i}catch(p){tt(n,n.return,p)}}var $r=!1,Rt=!1,uh=!1,Kv=typeof WeakSet=="function"?WeakSet:Set,It=null;function mR(n,a){if(n=n.containerInfo,jh=Kc,n=sy(n),nf(n)){if("selectionStart"in n)var i={start:n.selectionStart,end:n.selectionEnd};else e:{i=(i=n.ownerDocument)&&i.defaultView||window;var c=i.getSelection&&i.getSelection();if(c&&c.rangeCount!==0){i=c.anchorNode;var h=c.anchorOffset,p=c.focusNode;c=c.focusOffset;try{i.nodeType,p.nodeType}catch{i=null;break e}var x=0,R=-1,O=-1,H=0,Q=0,re=n,G=null;t:for(;;){for(var W;re!==i||h!==0&&re.nodeType!==3||(R=x+h),re!==p||c!==0&&re.nodeType!==3||(O=x+c),re.nodeType===3&&(x+=re.nodeValue.length),(W=re.firstChild)!==null;)G=re,re=W;for(;;){if(re===n)break t;if(G===i&&++H===h&&(R=x),G===p&&++Q===c&&(O=x),(W=re.nextSibling)!==null)break;re=G,G=re.parentNode}re=W}i=R===-1||O===-1?null:{start:R,end:O}}else i=null}i=i||{start:0,end:0}}else i=null;for(Oh={focusedElem:n,selectionRange:i},Kc=!1,It=a;It!==null;)if(a=It,n=a.child,(a.subtreeFlags&1028)!==0&&n!==null)n.return=a,It=n;else for(;It!==null;){switch(a=It,p=a.alternate,n=a.flags,a.tag){case 0:if((n&4)!==0&&(n=a.updateQueue,n=n!==null?n.events:null,n!==null))for(i=0;i title"))),Ft(p,c,i),p[Ht]=n,Ut(p),c=p;break e;case"link":var x=Zb("link","href",h).get(c+(i.href||""));if(x){for(var R=0;Rit&&(x=it,it=Ae,Ae=x);var U=ry(R,Ae),D=ry(R,it);if(U&&D&&(W.rangeCount!==1||W.anchorNode!==U.node||W.anchorOffset!==U.offset||W.focusNode!==D.node||W.focusOffset!==D.offset)){var B=re.createRange();B.setStart(U.node,U.offset),W.removeAllRanges(),Ae>it?(W.addRange(B),W.extend(D.node,D.offset)):(B.setEnd(D.node,D.offset),W.addRange(B))}}}}for(re=[],W=R;W=W.parentNode;)W.nodeType===1&&re.push({element:W,left:W.scrollLeft,top:W.scrollTop});for(typeof R.focus=="function"&&R.focus(),R=0;Ri?32:i,M.T=null,i=yh,yh=null;var p=Ca,x=Gr;if(kt=0,gi=Ca=null,Gr=0,(Je&6)!==0)throw Error(s(331));var R=Je;if(Je|=4,ab(p.current),tb(p,p.current,x,i),Je=R,Uo(0,!1),Lt&&typeof Lt.onPostCommitFiberRoot=="function")try{Lt.onPostCommitFiberRoot(cr,p)}catch{}return!0}finally{K.p=h,M.T=c,_b(n,a)}}function Eb(n,a,i){a=zn(i,a),a=Xf(n.stateNode,a,2),n=va(n,a,2),n!==null&&(mt(n,2),hr(n))}function tt(n,a,i){if(n.tag===3)Eb(n,n,i);else for(;a!==null;){if(a.tag===3){Eb(a,n,i);break}else if(a.tag===1){var c=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(Ea===null||!Ea.has(c))){n=zn(i,n),i=Cv(2),c=va(a,i,2),c!==null&&(Tv(i,c,a,n),mt(c,2),hr(c));break}}a=a.return}}function xh(n,a,i){var c=n.pingCache;if(c===null){c=n.pingCache=new yR;var h=new Set;c.set(a,h)}else h=c.get(a),h===void 0&&(h=new Set,c.set(a,h));h.has(i)||(hh=!0,h.add(i),n=_R.bind(null,n,a,i),a.then(n,n))}function _R(n,a,i){var c=n.pingCache;c!==null&&c.delete(a),n.pingedLanes|=n.suspendedLanes&i,n.warmLanes&=~i,ot===n&&($e&i)===i&&(vt===4||vt===3&&($e&62914560)===$e&&300>rt()-Nc?(Je&2)===0&&yi(n,0):mh|=i,pi===$e&&(pi=0)),hr(n)}function Cb(n,a){a===0&&(a=Xt()),n=ns(n,a),n!==null&&(mt(n,a),hr(n))}function SR(n){var a=n.memoizedState,i=0;a!==null&&(i=a.retryLane),Cb(n,i)}function ER(n,a){var i=0;switch(n.tag){case 31:case 13:var c=n.stateNode,h=n.memoizedState;h!==null&&(i=h.retryLane);break;case 19:c=n.stateNode;break;case 22:c=n.stateNode._retryCache;break;default:throw Error(s(314))}c!==null&&c.delete(a),Cb(n,i)}function CR(n,a){return Tr(n,a)}var Pc=null,bi=null,_h=!1,zc=!1,Sh=!1,Ra=0;function hr(n){n!==bi&&n.next===null&&(bi===null?Pc=bi=n:bi=bi.next=n),zc=!0,_h||(_h=!0,RR())}function Uo(n,a){if(!Sh&&zc){Sh=!0;do for(var i=!1,c=Pc;c!==null;){if(n!==0){var h=c.pendingLanes;if(h===0)var p=0;else{var x=c.suspendedLanes,R=c.pingedLanes;p=(1<<31-Pt(42|n)+1)-1,p&=h&~(x&~R),p=p&201326741?p&201326741|1:p?p|2:0}p!==0&&(i=!0,Nb(c,p))}else p=$e,p=Ne(c,c===ot?p:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(p&3)===0||lt(c,p)||(i=!0,Nb(c,p));c=c.next}while(i);Sh=!1}}function TR(){Tb()}function Tb(){zc=_h=!1;var n=0;Ra!==0&&zR()&&(n=Ra);for(var a=rt(),i=null,c=Pc;c!==null;){var h=c.next,p=Rb(c,a);p===0?(c.next=null,i===null?Pc=h:i.next=h,h===null&&(bi=i)):(i=c,(n!==0||(p&3)!==0)&&(zc=!0)),c=h}kt!==0&&kt!==5||Uo(n),Ra!==0&&(Ra=0)}function Rb(n,a){for(var i=n.suspendedLanes,c=n.pingedLanes,h=n.expirationTimes,p=n.pendingLanes&-62914561;0R)break;var Q=O.transferSize,re=O.initiatorType;Q&&zb(re)&&(O=O.responseEnd,x+=Q*(O"u"?null:document;function Wb(n,a,i){var c=wi;if(c&&typeof a=="string"&&a){var h=Ln(a);h='link[rel="'+n+'"][href="'+h+'"]',typeof i=="string"&&(h+='[crossorigin="'+i+'"]'),Yb.has(h)||(Yb.add(h),n={rel:n,crossOrigin:i,href:a},c.querySelector(h)===null&&(a=c.createElement("link"),Ft(a,"link",n),Ut(a),c.head.appendChild(a)))}}function FR(n){Fr.D(n),Wb("dns-prefetch",n,null)}function KR(n,a){Fr.C(n,a),Wb("preconnect",n,a)}function YR(n,a,i){Fr.L(n,a,i);var c=wi;if(c&&n&&a){var h='link[rel="preload"][as="'+Ln(a)+'"]';a==="image"&&i&&i.imageSrcSet?(h+='[imagesrcset="'+Ln(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(h+='[imagesizes="'+Ln(i.imageSizes)+'"]')):h+='[href="'+Ln(n)+'"]';var p=h;switch(a){case"style":p=xi(n);break;case"script":p=_i(n)}qn.has(p)||(n=g({rel:"preload",href:a==="image"&&i&&i.imageSrcSet?void 0:n,as:a},i),qn.set(p,n),c.querySelector(h)!==null||a==="style"&&c.querySelector(Ho(p))||a==="script"&&c.querySelector(qo(p))||(a=c.createElement("link"),Ft(a,"link",n),Ut(a),c.head.appendChild(a)))}}function WR(n,a){Fr.m(n,a);var i=wi;if(i&&n){var c=a&&typeof a.as=="string"?a.as:"script",h='link[rel="modulepreload"][as="'+Ln(c)+'"][href="'+Ln(n)+'"]',p=h;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":p=_i(n)}if(!qn.has(p)&&(n=g({rel:"modulepreload",href:n},a),qn.set(p,n),i.querySelector(h)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(qo(p)))return}c=i.createElement("link"),Ft(c,"link",n),Ut(c),i.head.appendChild(c)}}}function XR(n,a,i){Fr.S(n,a,i);var c=wi;if(c&&n){var h=qs(c).hoistableStyles,p=xi(n);a=a||"default";var x=h.get(p);if(!x){var R={loading:0,preload:null};if(x=c.querySelector(Ho(p)))R.loading=5;else{n=g({rel:"stylesheet",href:n,"data-precedence":a},i),(i=qn.get(p))&&Ih(n,i);var O=x=c.createElement("link");Ut(O),Ft(O,"link",n),O._p=new Promise(function(H,Q){O.onload=H,O.onerror=Q}),O.addEventListener("load",function(){R.loading|=1}),O.addEventListener("error",function(){R.loading|=2}),R.loading|=4,Hc(x,a,c)}x={type:"stylesheet",instance:x,count:1,state:R},h.set(p,x)}}}function JR(n,a){Fr.X(n,a);var i=wi;if(i&&n){var c=qs(i).hoistableScripts,h=_i(n),p=c.get(h);p||(p=i.querySelector(qo(h)),p||(n=g({src:n,async:!0},a),(a=qn.get(h))&&$h(n,a),p=i.createElement("script"),Ut(p),Ft(p,"link",n),i.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},c.set(h,p))}}function QR(n,a){Fr.M(n,a);var i=wi;if(i&&n){var c=qs(i).hoistableScripts,h=_i(n),p=c.get(h);p||(p=i.querySelector(qo(h)),p||(n=g({src:n,async:!0,type:"module"},a),(a=qn.get(h))&&$h(n,a),p=i.createElement("script"),Ut(p),Ft(p,"link",n),i.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},c.set(h,p))}}function Xb(n,a,i,c){var h=(h=Z.current)?Bc(h):null;if(!h)throw Error(s(446));switch(n){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(a=xi(i.href),i=qs(h).hoistableStyles,c=i.get(a),c||(c={type:"style",instance:null,count:0,state:null},i.set(a,c)),c):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){n=xi(i.href);var p=qs(h).hoistableStyles,x=p.get(n);if(x||(h=h.ownerDocument||h,x={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},p.set(n,x),(p=h.querySelector(Ho(n)))&&!p._p&&(x.instance=p,x.state.loading=5),qn.has(n)||(i={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},qn.set(n,i),p||ZR(h,n,i,x.state))),a&&c===null)throw Error(s(528,""));return x}if(a&&c!==null)throw Error(s(529,""));return null;case"script":return a=i.async,i=i.src,typeof i=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=_i(i),i=qs(h).hoistableScripts,c=i.get(a),c||(c={type:"script",instance:null,count:0,state:null},i.set(a,c)),c):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,n))}}function xi(n){return'href="'+Ln(n)+'"'}function Ho(n){return'link[rel="stylesheet"]['+n+"]"}function Jb(n){return g({},n,{"data-precedence":n.precedence,precedence:null})}function ZR(n,a,i,c){n.querySelector('link[rel="preload"][as="style"]['+a+"]")?c.loading=1:(a=n.createElement("link"),c.preload=a,a.addEventListener("load",function(){return c.loading|=1}),a.addEventListener("error",function(){return c.loading|=2}),Ft(a,"link",i),Ut(a),n.head.appendChild(a))}function _i(n){return'[src="'+Ln(n)+'"]'}function qo(n){return"script[async]"+n}function Qb(n,a,i){if(a.count++,a.instance===null)switch(a.type){case"style":var c=n.querySelector('style[data-href~="'+Ln(i.href)+'"]');if(c)return a.instance=c,Ut(c),c;var h=g({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return c=(n.ownerDocument||n).createElement("style"),Ut(c),Ft(c,"style",h),Hc(c,i.precedence,n),a.instance=c;case"stylesheet":h=xi(i.href);var p=n.querySelector(Ho(h));if(p)return a.state.loading|=4,a.instance=p,Ut(p),p;c=Jb(i),(h=qn.get(h))&&Ih(c,h),p=(n.ownerDocument||n).createElement("link"),Ut(p);var x=p;return x._p=new Promise(function(R,O){x.onload=R,x.onerror=O}),Ft(p,"link",c),a.state.loading|=4,Hc(p,i.precedence,n),a.instance=p;case"script":return p=_i(i.src),(h=n.querySelector(qo(p)))?(a.instance=h,Ut(h),h):(c=i,(h=qn.get(p))&&(c=g({},i),$h(c,h)),n=n.ownerDocument||n,h=n.createElement("script"),Ut(h),Ft(h,"link",c),n.head.appendChild(h),a.instance=h);case"void":return null;default:throw Error(s(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(c=a.instance,a.state.loading|=4,Hc(c,i.precedence,n));return a.instance}function Hc(n,a,i){for(var c=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),h=c.length?c[c.length-1]:null,p=h,x=0;x title"):null)}function eA(n,a,i){if(i===1||a.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;switch(a.rel){case"stylesheet":return n=a.disabled,typeof a.precedence=="string"&&n==null;default:return!0}case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function t0(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function tA(n,a,i,c){if(i.type==="stylesheet"&&(typeof c.media!="string"||matchMedia(c.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var h=xi(c.href),p=a.querySelector(Ho(h));if(p){a=p._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(n.count++,n=Vc.bind(n),a.then(n,n)),i.state.loading|=4,i.instance=p,Ut(p);return}p=a.ownerDocument||a,c=Jb(c),(h=qn.get(h))&&Ih(c,h),p=p.createElement("link"),Ut(p);var x=p;x._p=new Promise(function(R,O){x.onload=R,x.onerror=O}),Ft(p,"link",c),i.instance=p}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(i,a),(a=i.state.preload)&&(i.state.loading&3)===0&&(n.count++,i=Vc.bind(n),a.addEventListener("load",i),a.addEventListener("error",i))}}var Bh=0;function nA(n,a){return n.stylesheets&&n.count===0&&Fc(n,n.stylesheets),0Bh?50:800)+a);return n.unsuspend=i,function(){n.unsuspend=null,clearTimeout(c),clearTimeout(h)}}:null}function Vc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Fc(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var Gc=null;function Fc(n,a){n.stylesheets=null,n.unsuspend!==null&&(n.count++,Gc=new Map,a.forEach(rA,n),Gc=null,Vc.call(n))}function rA(n,a){if(!(a.state.loading&4)){var i=Gc.get(n);if(i)var c=i.get(null);else{i=new Map,Gc.set(n,i);for(var h=n.querySelectorAll("link[data-precedence],style[data-precedence]"),p=0;p"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Xh.exports=bA(),Xh.exports}var xA=wA();/** * react-router v7.15.1 * * Copyright (c) Remix Software Inc. @@ -55,22 +55,22 @@ Error generating stack: `+c.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */var v0="popstate";function b0(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function sA(e={}){function t(s,o){var m;let l=(m=o.state)==null?void 0:m.masked,{pathname:u,search:d,hash:f}=l||s.location;return Tm("",{pathname:u,search:d,hash:f},o.state&&o.state.usr||null,o.state&&o.state.key||"default",l?{pathname:s.location.pathname,search:s.location.search,hash:s.location.hash}:void 0)}function r(s,o){return typeof o=="string"?o:dl(o)}return oA(t,r,null,e)}function gt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Rr(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function iA(){return Math.random().toString(36).substring(2,10)}function w0(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function Tm(e,t,r=null,s,o){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Ki(t):t,state:r,key:t&&t.key||s||iA(),mask:o}}function dl({pathname:e="/",search:t="",hash:r=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function Ki(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let s=e.indexOf("?");s>=0&&(t.search=e.substring(s),e=e.substring(0,s)),e&&(t.pathname=e)}return t}function oA(e,t,r,s={}){let{window:o=document.defaultView,v5Compat:l=!1}=s,u=o.history,d="POP",f=null,m=b();m==null&&(m=0,u.replaceState({...u.state,idx:m},""));function b(){return(u.state||{idx:null}).idx}function g(){d="POP";let T=b(),C=T==null?null:T-m;m=T,f&&f({action:d,location:S.location,delta:C})}function w(T,C){d="PUSH";let A=b0(T)?T:Tm(S.location,T,C);m=b()+1;let N=w0(A,m),P=S.createHref(A.mask||A);try{u.pushState(N,"",P)}catch(F){if(F instanceof DOMException&&F.name==="DataCloneError")throw F;o.location.assign(P)}l&&f&&f({action:d,location:S.location,delta:1})}function _(T,C){d="REPLACE";let A=b0(T)?T:Tm(S.location,T,C);m=b();let N=w0(A,m),P=S.createHref(A.mask||A);u.replaceState(N,"",P),l&&f&&f({action:d,location:S.location,delta:0})}function E(T){return lA(T)}let S={get action(){return d},get location(){return e(o,u)},listen(T){if(f)throw new Error("A history only accepts one active listener");return o.addEventListener(v0,g),f=T,()=>{o.removeEventListener(v0,g),f=null}},createHref(T){return t(o,T)},createURL:E,encodeLocation(T){let C=E(T);return{pathname:C.pathname,search:C.search,hash:C.hash}},push:w,replace:_,go(T){return u.go(T)}};return S}function lA(e,t=!1){let r="http://localhost";typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),gt(r,"No window.location.(origin|href) available to create URL");let s=typeof e=="string"?e:dl(e);return s=s.replace(/ $/,"%20"),!t&&s.startsWith("//")&&(s=r+s),new URL(s,r)}function hx(e,t,r="/"){return cA(e,t,r,!1)}function cA(e,t,r,s,o){let l=typeof t=="string"?Ki(t):t,u=ta(l.pathname||"/",r);if(u==null)return null;let d=uA(e),f=null,m=_A(u);for(let b=0;f==null&&b{let b={relativePath:m===void 0?u.path||"":m,caseSensitive:u.caseSensitive===!0,childrenIndex:d,route:u};if(b.relativePath.startsWith("/")){if(!b.relativePath.startsWith(s)&&f)return;gt(b.relativePath.startsWith(s),`Absolute route path "${b.relativePath}" nested under path "${s}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),b.relativePath=b.relativePath.slice(s.length)}let g=rr([s,b.relativePath]),w=r.concat(b);u.children&&u.children.length>0&&(gt(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${g}".`),mx(u.children,t,w,g,f)),!(u.path==null&&!u.index)&&t.push({path:g,score:vA(g,u.index),routesMeta:w})};return e.forEach((u,d)=>{var f;if(u.path===""||!((f=u.path)!=null&&f.includes("?")))l(u,d);else for(let m of px(u.path))l(u,d,!0,m)}),t}function px(e){let t=e.split("/");if(t.length===0)return[];let[r,...s]=t,o=r.endsWith("?"),l=r.replace(/\?$/,"");if(s.length===0)return o?[l,""]:[l];let u=px(s.join("/")),d=[];return d.push(...u.map(f=>f===""?l:[l,f].join("/"))),o&&d.push(...u),d.map(f=>e.startsWith("/")&&f===""?"/":f)}function dA(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:bA(t.routesMeta.map(s=>s.childrenIndex),r.routesMeta.map(s=>s.childrenIndex)))}var fA=/^:[\w-]+$/,hA=3,mA=2,pA=1,gA=10,yA=-2,x0=e=>e==="*";function vA(e,t){let r=e.split("/"),s=r.length;return r.some(x0)&&(s+=yA),t&&(s+=mA),r.filter(o=>!x0(o)).reduce((o,l)=>o+(fA.test(l)?hA:l===""?pA:gA),s)}function bA(e,t){return e.length===t.length&&e.slice(0,-1).every((s,o)=>s===t[o])?e[e.length-1]-t[t.length-1]:0}function wA(e,t,r=!1){let{routesMeta:s}=e,o={},l="/",u=[];for(let d=0;d{if(b==="*"){let E=d[w]||"";u=l.slice(0,l.length-E.length).replace(/(.)\/+$/,"$1")}const _=d[w];return g&&!_?m[b]=void 0:m[b]=(_||"").replace(/%2F/g,"/"),m},{}),pathname:l,pathnameBase:u,pattern:e}}function xA(e,t=!1,r=!0){Rr(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let s=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,d,f,m,b)=>{if(s.push({paramName:d,isOptional:f!=null}),f){let g=b.charAt(m+u.length);return g&&g!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(s.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),s]}function _A(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Rr(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function ta(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,s=e.charAt(r);return s&&s!=="/"?null:e.slice(r)||"/"}var SA=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function EA(e,t="/"){let{pathname:r,search:s="",hash:o=""}=typeof e=="string"?Ki(e):e,l;return r?(r=yx(r),r.startsWith("/")?l=_0(r.substring(1),"/"):l=_0(r,t)):l=t,{pathname:l,search:RA(s),hash:AA(o)}}function _0(e,t){let r=zu(t).split("/");return e.split("/").forEach(o=>{o===".."?r.length>1&&r.pop():o!=="."&&r.push(o)}),r.length>1?r.join("/"):"/"}function Xh(e,t,r,s){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(s)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function CA(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function gx(e){let t=CA(e);return t.map((r,s)=>s===t.length-1?r.pathname:r.pathnameBase)}function dp(e,t,r,s=!1){let o;typeof e=="string"?o=Ki(e):(o={...e},gt(!o.pathname||!o.pathname.includes("?"),Xh("?","pathname","search",o)),gt(!o.pathname||!o.pathname.includes("#"),Xh("#","pathname","hash",o)),gt(!o.search||!o.search.includes("#"),Xh("#","search","hash",o)));let l=e===""||o.pathname==="",u=l?"/":o.pathname,d;if(u==null)d=r;else{let g=t.length-1;if(!s&&u.startsWith("..")){let w=u.split("/");for(;w[0]==="..";)w.shift(),g-=1;o.pathname=w.join("/")}d=g>=0?t[g]:"/"}let f=EA(o,d),m=u&&u!=="/"&&u.endsWith("/"),b=(l||u===".")&&r.endsWith("/");return!f.pathname.endsWith("/")&&(m||b)&&(f.pathname+="/"),f}var yx=e=>e.replace(/\/\/+/g,"/"),rr=e=>yx(e.join("/")),zu=e=>e.replace(/\/+$/,""),TA=e=>zu(e).replace(/^\/*/,"/"),RA=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,AA=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,NA=class{constructor(e,t,r,s=!1){this.status=e,this.statusText=t||"",this.internal=s,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function kA(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function jA(e){let t=e.map(r=>r.route.path).filter(Boolean);return rr(t)||"/"}var vx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function bx(e,t){let r=e;if(typeof r!="string"||!SA.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let s=r,o=!1;if(vx)try{let l=new URL(window.location.href),u=r.startsWith("//")?new URL(l.protocol+r):new URL(r),d=ta(u.pathname,t);u.origin===l.origin&&d!=null?r=d+u.search+u.hash:o=!0}catch{Rr(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:s,isExternal:o,to:r}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var wx=["POST","PUT","PATCH","DELETE"];new Set(wx);var OA=["GET",...wx];new Set(OA);var Yi=v.createContext(null);Yi.displayName="DataRouter";var od=v.createContext(null);od.displayName="DataRouterState";var xx=v.createContext(!1);function MA(){return v.useContext(xx)}var _x=v.createContext({isTransitioning:!1});_x.displayName="ViewTransition";var DA=v.createContext(new Map);DA.displayName="Fetchers";var LA=v.createContext(null);LA.displayName="Await";var Gn=v.createContext(null);Gn.displayName="Navigation";var Tl=v.createContext(null);Tl.displayName="Location";var sa=v.createContext({outlet:null,matches:[],isDataRoute:!1});sa.displayName="Route";var fp=v.createContext(null);fp.displayName="RouteError";var Sx="REACT_ROUTER_ERROR",PA="REDIRECT",zA="ROUTE_ERROR_RESPONSE";function UA(e){if(e.startsWith(`${Sx}:${PA}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function IA(e){if(e.startsWith(`${Sx}:${zA}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new NA(t.status,t.statusText,t.data)}catch{}}function $A(e,{relative:t}={}){gt(Rl(),"useHref() may be used only in the context of a component.");let{basename:r,navigator:s}=v.useContext(Gn),{hash:o,pathname:l,search:u}=Al(e,{relative:t}),d=l;return r!=="/"&&(d=l==="/"?r:rr([r,l])),s.createHref({pathname:d,search:u,hash:o})}function Rl(){return v.useContext(Tl)!=null}function ia(){return gt(Rl(),"useLocation() may be used only in the context of a component."),v.useContext(Tl).location}var Ex="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Cx(e){v.useContext(Gn).static||v.useLayoutEffect(e)}function BA(){let{isDataRoute:e}=v.useContext(sa);return e?eN():HA()}function HA(){gt(Rl(),"useNavigate() may be used only in the context of a component.");let e=v.useContext(Yi),{basename:t,navigator:r}=v.useContext(Gn),{matches:s}=v.useContext(sa),{pathname:o}=ia(),l=JSON.stringify(gx(s)),u=v.useRef(!1);return Cx(()=>{u.current=!0}),v.useCallback((f,m={})=>{if(Rr(u.current,Ex),!u.current)return;if(typeof f=="number"){r.go(f);return}let b=dp(f,JSON.parse(l),o,m.relative==="path");e==null&&t!=="/"&&(b.pathname=b.pathname==="/"?t:rr([t,b.pathname])),(m.replace?r.replace:r.push)(b,m.state,m)},[t,r,l,o,e])}v.createContext(null);function Al(e,{relative:t}={}){let{matches:r}=v.useContext(sa),{pathname:s}=ia(),o=JSON.stringify(gx(r));return v.useMemo(()=>dp(e,JSON.parse(o),s,t==="path"),[e,o,s,t])}function qA(e,t){return Tx(e,t)}function Tx(e,t,r){var T;gt(Rl(),"useRoutes() may be used only in the context of a component.");let{navigator:s}=v.useContext(Gn),{matches:o}=v.useContext(sa),l=o[o.length-1],u=l?l.params:{},d=l?l.pathname:"/",f=l?l.pathnameBase:"/",m=l&&l.route;{let C=m&&m.path||"";Ax(d,!m||C.endsWith("*")||C.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${d}" (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. + */var C0="popstate";function T0(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function _A(e={}){function t(s,o){var m;let l=(m=o.state)==null?void 0:m.masked,{pathname:u,search:d,hash:f}=l||s.location;return jm("",{pathname:u,search:d,hash:f},o.state&&o.state.usr||null,o.state&&o.state.key||"default",l?{pathname:s.location.pathname,search:s.location.search,hash:s.location.hash}:void 0)}function r(s,o){return typeof o=="string"?o:fl(o)}return EA(t,r,null,e)}function pt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Er(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function SA(){return Math.random().toString(36).substring(2,10)}function R0(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function jm(e,t,r=null,s,o){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Wi(t):t,state:r,key:t&&t.key||s||SA(),mask:o}}function fl({pathname:e="/",search:t="",hash:r=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function Wi(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let s=e.indexOf("?");s>=0&&(t.search=e.substring(s),e=e.substring(0,s)),e&&(t.pathname=e)}return t}function EA(e,t,r,s={}){let{window:o=document.defaultView,v5Compat:l=!1}=s,u=o.history,d="POP",f=null,m=b();m==null&&(m=0,u.replaceState({...u.state,idx:m},""));function b(){return(u.state||{idx:null}).idx}function g(){d="POP";let T=b(),C=T==null?null:T-m;m=T,f&&f({action:d,location:S.location,delta:C})}function w(T,C){d="PUSH";let A=T0(T)?T:jm(S.location,T,C);m=b()+1;let N=R0(A,m),P=S.createHref(A.mask||A);try{u.pushState(N,"",P)}catch(F){if(F instanceof DOMException&&F.name==="DataCloneError")throw F;o.location.assign(P)}l&&f&&f({action:d,location:S.location,delta:1})}function _(T,C){d="REPLACE";let A=T0(T)?T:jm(S.location,T,C);m=b();let N=R0(A,m),P=S.createHref(A.mask||A);u.replaceState(N,"",P),l&&f&&f({action:d,location:S.location,delta:0})}function E(T){return CA(T)}let S={get action(){return d},get location(){return e(o,u)},listen(T){if(f)throw new Error("A history only accepts one active listener");return o.addEventListener(C0,g),f=T,()=>{o.removeEventListener(C0,g),f=null}},createHref(T){return t(o,T)},createURL:E,encodeLocation(T){let C=E(T);return{pathname:C.pathname,search:C.search,hash:C.hash}},push:w,replace:_,go(T){return u.go(T)}};return S}function CA(e,t=!1){let r="http://localhost";typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),pt(r,"No window.location.(origin|href) available to create URL");let s=typeof e=="string"?e:fl(e);return s=s.replace(/ $/,"%20"),!t&&s.startsWith("//")&&(s=r+s),new URL(s,r)}function xx(e,t,r="/"){return TA(e,t,r,!1)}function TA(e,t,r,s,o){let l=typeof t=="string"?Wi(t):t,u=Zr(l.pathname||"/",r);if(u==null)return null;let d=RA(e),f=null,m=IA(u);for(let b=0;f==null&&b{let b={relativePath:m===void 0?u.path||"":m,caseSensitive:u.caseSensitive===!0,childrenIndex:d,route:u};if(b.relativePath.startsWith("/")){if(!b.relativePath.startsWith(s)&&f)return;pt(b.relativePath.startsWith(s),`Absolute route path "${b.relativePath}" nested under path "${s}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),b.relativePath=b.relativePath.slice(s.length)}let g=rr([s,b.relativePath]),w=r.concat(b);u.children&&u.children.length>0&&(pt(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${g}".`),_x(u.children,t,w,g,f)),!(u.path==null&&!u.index)&&t.push({path:g,score:LA(g,u.index),routesMeta:w})};return e.forEach((u,d)=>{var f;if(u.path===""||!((f=u.path)!=null&&f.includes("?")))l(u,d);else for(let m of Sx(u.path))l(u,d,!0,m)}),t}function Sx(e){let t=e.split("/");if(t.length===0)return[];let[r,...s]=t,o=r.endsWith("?"),l=r.replace(/\?$/,"");if(s.length===0)return o?[l,""]:[l];let u=Sx(s.join("/")),d=[];return d.push(...u.map(f=>f===""?l:[l,f].join("/"))),o&&d.push(...u),d.map(f=>e.startsWith("/")&&f===""?"/":f)}function AA(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:PA(t.routesMeta.map(s=>s.childrenIndex),r.routesMeta.map(s=>s.childrenIndex)))}var NA=/^:[\w-]+$/,kA=3,jA=2,OA=1,MA=10,DA=-2,A0=e=>e==="*";function LA(e,t){let r=e.split("/"),s=r.length;return r.some(A0)&&(s+=DA),t&&(s+=jA),r.filter(o=>!A0(o)).reduce((o,l)=>o+(NA.test(l)?kA:l===""?OA:MA),s)}function PA(e,t){return e.length===t.length&&e.slice(0,-1).every((s,o)=>s===t[o])?e[e.length-1]-t[t.length-1]:0}function zA(e,t,r=!1){let{routesMeta:s}=e,o={},l="/",u=[];for(let d=0;d{if(b==="*"){let E=d[w]||"";u=l.slice(0,l.length-E.length).replace(/(.)\/+$/,"$1")}const _=d[w];return g&&!_?m[b]=void 0:m[b]=(_||"").replace(/%2F/g,"/"),m},{}),pathname:l,pathnameBase:u,pattern:e}}function UA(e,t=!1,r=!0){Er(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let s=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,d,f,m,b)=>{if(s.push({paramName:d,isOptional:f!=null}),f){let g=b.charAt(m+u.length);return g&&g!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(s.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),s]}function IA(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Er(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Zr(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,s=e.charAt(r);return s&&s!=="/"?null:e.slice(r)||"/"}var $A=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function BA(e,t="/"){let{pathname:r,search:s="",hash:o=""}=typeof e=="string"?Wi(e):e,l;return r?(r=Cx(r),r.startsWith("/")?l=N0(r.substring(1),"/"):l=N0(r,t)):l=t,{pathname:l,search:VA(s),hash:GA(o)}}function N0(e,t){let r=Uu(t).split("/");return e.split("/").forEach(o=>{o===".."?r.length>1&&r.pop():o!=="."&&r.push(o)}),r.length>1?r.join("/"):"/"}function em(e,t,r,s){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(s)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function HA(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function Ex(e){let t=HA(e);return t.map((r,s)=>s===t.length-1?r.pathname:r.pathnameBase)}function yp(e,t,r,s=!1){let o;typeof e=="string"?o=Wi(e):(o={...e},pt(!o.pathname||!o.pathname.includes("?"),em("?","pathname","search",o)),pt(!o.pathname||!o.pathname.includes("#"),em("#","pathname","hash",o)),pt(!o.search||!o.search.includes("#"),em("#","search","hash",o)));let l=e===""||o.pathname==="",u=l?"/":o.pathname,d;if(u==null)d=r;else{let g=t.length-1;if(!s&&u.startsWith("..")){let w=u.split("/");for(;w[0]==="..";)w.shift(),g-=1;o.pathname=w.join("/")}d=g>=0?t[g]:"/"}let f=BA(o,d),m=u&&u!=="/"&&u.endsWith("/"),b=(l||u===".")&&r.endsWith("/");return!f.pathname.endsWith("/")&&(m||b)&&(f.pathname+="/"),f}var Cx=e=>e.replace(/\/\/+/g,"/"),rr=e=>Cx(e.join("/")),Uu=e=>e.replace(/\/+$/,""),qA=e=>Uu(e).replace(/^\/*/,"/"),VA=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,GA=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,FA=class{constructor(e,t,r,s=!1){this.status=e,this.statusText=t||"",this.internal=s,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function KA(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function YA(e){let t=e.map(r=>r.route.path).filter(Boolean);return rr(t)||"/"}var Tx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Rx(e,t){let r=e;if(typeof r!="string"||!$A.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let s=r,o=!1;if(Tx)try{let l=new URL(window.location.href),u=r.startsWith("//")?new URL(l.protocol+r):new URL(r),d=Zr(u.pathname,t);u.origin===l.origin&&d!=null?r=d+u.search+u.hash:o=!0}catch{Er(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:s,isExternal:o,to:r}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Ax=["POST","PUT","PATCH","DELETE"];new Set(Ax);var WA=["GET",...Ax];new Set(WA);var Xi=v.createContext(null);Xi.displayName="DataRouter";var ld=v.createContext(null);ld.displayName="DataRouterState";var Nx=v.createContext(!1);function XA(){return v.useContext(Nx)}var kx=v.createContext({isTransitioning:!1});kx.displayName="ViewTransition";var JA=v.createContext(new Map);JA.displayName="Fetchers";var QA=v.createContext(null);QA.displayName="Await";var Fn=v.createContext(null);Fn.displayName="Navigation";var Rl=v.createContext(null);Rl.displayName="Location";var ra=v.createContext({outlet:null,matches:[],isDataRoute:!1});ra.displayName="Route";var vp=v.createContext(null);vp.displayName="RouteError";var jx="REACT_ROUTER_ERROR",ZA="REDIRECT",eN="ROUTE_ERROR_RESPONSE";function tN(e){if(e.startsWith(`${jx}:${ZA}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function nN(e){if(e.startsWith(`${jx}:${eN}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new FA(t.status,t.statusText,t.data)}catch{}}function rN(e,{relative:t}={}){pt(Al(),"useHref() may be used only in the context of a component.");let{basename:r,navigator:s}=v.useContext(Fn),{hash:o,pathname:l,search:u}=Nl(e,{relative:t}),d=l;return r!=="/"&&(d=l==="/"?r:rr([r,l])),s.createHref({pathname:d,search:u,hash:o})}function Al(){return v.useContext(Rl)!=null}function aa(){return pt(Al(),"useLocation() may be used only in the context of a component."),v.useContext(Rl).location}var Ox="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Mx(e){v.useContext(Fn).static||v.useLayoutEffect(e)}function aN(){let{isDataRoute:e}=v.useContext(ra);return e?yN():sN()}function sN(){pt(Al(),"useNavigate() may be used only in the context of a component.");let e=v.useContext(Xi),{basename:t,navigator:r}=v.useContext(Fn),{matches:s}=v.useContext(ra),{pathname:o}=aa(),l=JSON.stringify(Ex(s)),u=v.useRef(!1);return Mx(()=>{u.current=!0}),v.useCallback((f,m={})=>{if(Er(u.current,Ox),!u.current)return;if(typeof f=="number"){r.go(f);return}let b=yp(f,JSON.parse(l),o,m.relative==="path");e==null&&t!=="/"&&(b.pathname=b.pathname==="/"?t:rr([t,b.pathname])),(m.replace?r.replace:r.push)(b,m.state,m)},[t,r,l,o,e])}v.createContext(null);function Nl(e,{relative:t}={}){let{matches:r}=v.useContext(ra),{pathname:s}=aa(),o=JSON.stringify(Ex(r));return v.useMemo(()=>yp(e,JSON.parse(o),s,t==="path"),[e,o,s,t])}function iN(e,t){return Dx(e,t)}function Dx(e,t,r){var T;pt(Al(),"useRoutes() may be used only in the context of a component.");let{navigator:s}=v.useContext(Fn),{matches:o}=v.useContext(ra),l=o[o.length-1],u=l?l.params:{},d=l?l.pathname:"/",f=l?l.pathnameBase:"/",m=l&&l.route;{let C=m&&m.path||"";Px(d,!m||C.endsWith("*")||C.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${d}" (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 b=ia(),g;if(t){let C=typeof t=="string"?Ki(t):t;gt(f==="/"||((T=C.pathname)==null?void 0:T.startsWith(f)),`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 "${f}" but pathname "${C.pathname}" was given in the \`location\` prop.`),g=C}else g=b;let w=g.pathname||"/",_=w;if(f!=="/"){let C=f.replace(/^\//,"").split("/");_="/"+w.replace(/^\//,"").split("/").slice(C.length).join("/")}let E=r&&r.state.matches.length?r.state.matches.map(C=>Object.assign(C,{route:r.manifest[C.route.id]||C.route})):hx(e,{pathname:_});Rr(m||E!=null,`No routes matched location "${g.pathname}${g.search}${g.hash}" `),Rr(E==null||E[E.length-1].route.element!==void 0||E[E.length-1].route.Component!==void 0||E[E.length-1].route.lazy!==void 0,`Matched leaf route at location "${g.pathname}${g.search}${g.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 S=YA(E&&E.map(C=>Object.assign({},C,{params:Object.assign({},u,C.params),pathname:rr([f,s.encodeLocation?s.encodeLocation(C.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?f:rr([f,s.encodeLocation?s.encodeLocation(C.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:C.pathnameBase])})),o,r);return t&&S?v.createElement(Tl.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...g},navigationType:"POP"}},S):S}function VA(){let e=ZA(),t=kA(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,s="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:s},l={padding:"2px 4px",backgroundColor:s},u=null;return console.error("Error handled by React Router default ErrorBoundary:",e),u=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:l},"ErrorBoundary")," or"," ",v.createElement("code",{style:l},"errorElement")," prop on your route.")),v.createElement(v.Fragment,null,v.createElement("h2",null,"Unexpected Application Error!"),v.createElement("h3",{style:{fontStyle:"italic"}},t),r?v.createElement("pre",{style:o},r):null,u)}var GA=v.createElement(VA,null),Rx=class extends v.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const r=IA(e.digest);r&&(e=r)}let t=e!==void 0?v.createElement(sa.Provider,{value:this.props.routeContext},v.createElement(fp.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?v.createElement(FA,{error:e},t):t}};Rx.contextType=xx;var Jh=new WeakMap;function FA({children:e,error:t}){let{basename:r}=v.useContext(Gn);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let s=UA(t.digest);if(s){let o=Jh.get(t);if(o)throw o;let l=bx(s.location,r);if(vx&&!Jh.get(t))if(l.isExternal||s.reloadDocument)window.location.href=l.absoluteURL||l.to;else{const u=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(l.to,{replace:s.replace}));throw Jh.set(t,u),u}return v.createElement("meta",{httpEquiv:"refresh",content:`0;url=${l.absoluteURL||l.to}`})}}return e}function KA({routeContext:e,match:t,children:r}){let s=v.useContext(Yi);return s&&s.static&&s.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=t.route.id),v.createElement(sa.Provider,{value:e},r)}function YA(e,t=[],r){let s=r==null?void 0:r.state;if(e==null){if(!s)return null;if(s.errors)e=s.matches;else if(t.length===0&&!s.initialized&&s.matches.length>0)e=s.matches;else return null}let o=e,l=s==null?void 0:s.errors;if(l!=null){let b=o.findIndex(g=>g.route.id&&(l==null?void 0:l[g.route.id])!==void 0);gt(b>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(l).join(",")}`),o=o.slice(0,Math.min(o.length,b+1))}let u=!1,d=-1;if(r&&s){u=s.renderFallback;for(let b=0;b=0?o=o.slice(0,d+1):o=[o[0]];break}}}}let f=r==null?void 0:r.onError,m=s&&f?(b,g)=>{var w,_;f(b,{location:s.location,params:((_=(w=s.matches)==null?void 0:w[0])==null?void 0:_.params)??{},pattern:jA(s.matches),errorInfo:g})}:void 0;return o.reduceRight((b,g,w)=>{let _,E=!1,S=null,T=null;s&&(_=l&&g.route.id?l[g.route.id]:void 0,S=g.route.errorElement||GA,u&&(d<0&&w===0?(Ax("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),E=!0,T=null):d===w&&(E=!0,T=g.route.hydrateFallbackElement||null)));let C=t.concat(o.slice(0,w+1)),A=()=>{let N;return _?N=S:E?N=T:g.route.Component?N=v.createElement(g.route.Component,null):g.route.element?N=g.route.element:N=b,v.createElement(KA,{match:g,routeContext:{outlet:b,matches:C,isDataRoute:s!=null},children:N})};return s&&(g.route.ErrorBoundary||g.route.errorElement||w===0)?v.createElement(Rx,{location:s.location,revalidation:s.revalidation,component:S,error:_,children:A(),routeContext:{outlet:null,matches:C,isDataRoute:!0},onError:m}):A()},null)}function hp(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function WA(e){let t=v.useContext(Yi);return gt(t,hp(e)),t}function XA(e){let t=v.useContext(od);return gt(t,hp(e)),t}function JA(e){let t=v.useContext(sa);return gt(t,hp(e)),t}function mp(e){let t=JA(e),r=t.matches[t.matches.length-1];return gt(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}function QA(){return mp("useRouteId")}function ZA(){var s;let e=v.useContext(fp),t=XA("useRouteError"),r=mp("useRouteError");return e!==void 0?e:(s=t.errors)==null?void 0:s[r]}function eN(){let{router:e}=WA("useNavigate"),t=mp("useNavigate"),r=v.useRef(!1);return Cx(()=>{r.current=!0}),v.useCallback(async(o,l={})=>{Rr(r.current,Ex),r.current&&(typeof o=="number"?await e.navigate(o):await e.navigate(o,{fromRouteId:t,...l}))},[e,t])}var S0={};function Ax(e,t,r){!t&&!S0[e]&&(S0[e]=!0,Rr(!1,r))}v.memo(tN);function tN({routes:e,manifest:t,future:r,state:s,isStatic:o,onError:l}){return Tx(e,void 0,{manifest:t,state:s,isStatic:o,onError:l})}function Nx(e){gt(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function nN({basename:e="/",children:t=null,location:r,navigationType:s="POP",navigator:o,static:l=!1,useTransitions:u}){gt(!Rl(),"You cannot render a inside another . You should never have more than one in your app.");let d=e.replace(/^\/*/,"/"),f=v.useMemo(()=>({basename:d,navigator:o,static:l,useTransitions:u,future:{}}),[d,o,l,u]);typeof r=="string"&&(r=Ki(r));let{pathname:m="/",search:b="",hash:g="",state:w=null,key:_="default",mask:E}=r,S=v.useMemo(()=>{let T=ta(m,d);return T==null?null:{location:{pathname:T,search:b,hash:g,state:w,key:_,mask:E},navigationType:s}},[d,m,b,g,w,_,s,E]);return Rr(S!=null,` is not able to match the URL "${m}${b}${g}" because it does not start with the basename, so the won't render anything.`),S==null?null:v.createElement(Gn.Provider,{value:f},v.createElement(Tl.Provider,{children:t,value:S}))}function rN({children:e,location:t}){return qA(Rm(e),t)}function Rm(e,t=[]){let r=[];return v.Children.forEach(e,(s,o)=>{if(!v.isValidElement(s))return;let l=[...t,o];if(s.type===v.Fragment){r.push.apply(r,Rm(s.props.children,l));return}gt(s.type===Nx,`[${typeof s.type=="string"?s.type:s.type.name}] is not a component. All component children of must be a or `),gt(!s.props.index||!s.props.children,"An index route cannot have child routes.");let u={id:s.props.id||l.join("-"),caseSensitive:s.props.caseSensitive,element:s.props.element,Component:s.props.Component,index:s.props.index,path:s.props.path,middleware:s.props.middleware,loader:s.props.loader,action:s.props.action,hydrateFallbackElement:s.props.hydrateFallbackElement,HydrateFallback:s.props.HydrateFallback,errorElement:s.props.errorElement,ErrorBoundary:s.props.ErrorBoundary,hasErrorBoundary:s.props.hasErrorBoundary===!0||s.props.ErrorBoundary!=null||s.props.errorElement!=null,shouldRevalidate:s.props.shouldRevalidate,handle:s.props.handle,lazy:s.props.lazy};s.props.children&&(u.children=Rm(s.props.children,l)),r.push(u)}),r}var Tu="get",Ru="application/x-www-form-urlencoded";function ld(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function aN(e){return ld(e)&&e.tagName.toLowerCase()==="button"}function sN(e){return ld(e)&&e.tagName.toLowerCase()==="form"}function iN(e){return ld(e)&&e.tagName.toLowerCase()==="input"}function oN(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function lN(e,t){return e.button===0&&(!t||t==="_self")&&!oN(e)}var eu=null;function cN(){if(eu===null)try{new FormData(document.createElement("form"),0),eu=!1}catch{eu=!0}return eu}var uN=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Qh(e){return e!=null&&!uN.has(e)?(Rr(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Ru}"`),null):e}function dN(e,t){let r,s,o,l,u;if(sN(e)){let d=e.getAttribute("action");s=d?ta(d,t):null,r=e.getAttribute("method")||Tu,o=Qh(e.getAttribute("enctype"))||Ru,l=new FormData(e)}else if(aN(e)||iN(e)&&(e.type==="submit"||e.type==="image")){let d=e.form;if(d==null)throw new Error('Cannot submit a