From 94f2d3c42df03364f5eaa65550c2d1a168fdfef7 Mon Sep 17 00:00:00 2001 From: yangdx Date: Thu, 27 Mar 2025 16:55:23 +0800 Subject: [PATCH] Update webui assets --- .../{index-DNnnAze3.js => index-BoPw3HVA.js} | 65 +++++++++++++------ lightrag/api/webui/assets/index-Bwboeqcm.css | 1 + lightrag/api/webui/assets/index-CP4Boz-Y.css | 1 - lightrag/api/webui/index.html | 4 +- 4 files changed, 47 insertions(+), 24 deletions(-) rename lightrag/api/webui/assets/{index-DNnnAze3.js => index-BoPw3HVA.js} (98%) create mode 100644 lightrag/api/webui/assets/index-Bwboeqcm.css delete mode 100644 lightrag/api/webui/assets/index-CP4Boz-Y.css diff --git a/lightrag/api/webui/assets/index-DNnnAze3.js b/lightrag/api/webui/assets/index-BoPw3HVA.js similarity index 98% rename from lightrag/api/webui/assets/index-DNnnAze3.js rename to lightrag/api/webui/assets/index-BoPw3HVA.js index 93b587cf..712b3563 100644 --- a/lightrag/api/webui/assets/index-DNnnAze3.js +++ b/lightrag/api/webui/assets/index-BoPw3HVA.js @@ -1,4 +1,4 @@ -var J6=Object.defineProperty;var e9=(e,t,n)=>t in e?J6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Xr=(e,t,n)=>e9(e,typeof t!="symbol"?t+"":t,n);function t9(e,t){for(var n=0;nr[a]})}}}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 a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const o of a)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(a){const o={};return a.integrity&&(o.integrity=a.integrity),a.referrerPolicy&&(o.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?o.credentials="include":a.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(a){if(a.ep)return;a.ep=!0;const o=n(a);fetch(a.href,o)}})();var df=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function cn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function n9(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}),n}var qh={exports:{}},Zl={};/** +var J6=Object.defineProperty;var eq=(e,t,n)=>t in e?J6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Xr=(e,t,n)=>eq(e,typeof t!="symbol"?t+"":t,n);function tq(e,t){for(var n=0;nr[a]})}}}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 a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const o of a)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(a){const o={};return a.integrity&&(o.integrity=a.integrity),a.referrerPolicy&&(o.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?o.credentials="include":a.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(a){if(a.ep)return;a.ep=!0;const o=n(a);fetch(a.href,o)}})();var df=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function cn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function nq(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}),n}var qh={exports:{}},Zl={};/** * @license React * react-jsx-runtime.production.js * @@ -6,7 +6,7 @@ var J6=Object.defineProperty;var e9=(e,t,n)=>t in e?J6(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var V_;function r9(){if(V_)return Zl;V_=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,a,o){var s=null;if(o!==void 0&&(s=""+o),a.key!==void 0&&(s=""+a.key),"key"in a){o={};for(var u in a)u!=="key"&&(o[u]=a[u])}else o=a;return a=o.ref,{$$typeof:e,type:r,key:s,ref:a!==void 0?a:null,props:o}}return Zl.Fragment=t,Zl.jsx=n,Zl.jsxs=n,Zl}var W_;function a9(){return W_||(W_=1,qh.exports=r9()),qh.exports}var E=a9(),Vh={exports:{}},it={};/** + */var V_;function rq(){if(V_)return Zl;V_=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,a,o){var s=null;if(o!==void 0&&(s=""+o),a.key!==void 0&&(s=""+a.key),"key"in a){o={};for(var u in a)u!=="key"&&(o[u]=a[u])}else o=a;return a=o.ref,{$$typeof:e,type:r,key:s,ref:a!==void 0?a:null,props:o}}return Zl.Fragment=t,Zl.jsx=n,Zl.jsxs=n,Zl}var W_;function aq(){return W_||(W_=1,qh.exports=rq()),qh.exports}var E=aq(),Vh={exports:{}},it={};/** * @license React * react.production.js * @@ -14,7 +14,7 @@ var J6=Object.defineProperty;var e9=(e,t,n)=>t in e?J6(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Y_;function o9(){if(Y_)return it;Y_=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),g=Symbol.iterator;function m(L){return L===null||typeof L!="object"?null:(L=g&&L[g]||L["@@iterator"],typeof L=="function"?L:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,v={};function k(L,V,B){this.props=L,this.context=V,this.refs=v,this.updater=B||b}k.prototype.isReactComponent={},k.prototype.setState=function(L,V){if(typeof L!="object"&&typeof L!="function"&&L!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,L,V,"setState")},k.prototype.forceUpdate=function(L){this.updater.enqueueForceUpdate(this,L,"forceUpdate")};function A(){}A.prototype=k.prototype;function x(L,V,B){this.props=L,this.context=V,this.refs=v,this.updater=B||b}var R=x.prototype=new A;R.constructor=x,y(R,k.prototype),R.isPureReactComponent=!0;var N=Array.isArray,O={H:null,A:null,T:null,S:null},_=Object.prototype.hasOwnProperty;function C(L,V,B,P,K,ee){return B=ee.ref,{$$typeof:e,type:L,key:V,ref:B!==void 0?B:null,props:ee}}function M(L,V){return C(L.type,V,void 0,void 0,void 0,L.props)}function D(L){return typeof L=="object"&&L!==null&&L.$$typeof===e}function I(L){var V={"=":"=0",":":"=2"};return"$"+L.replace(/[=:]/g,function(B){return V[B]})}var H=/\/+/g;function $(L,V){return typeof L=="object"&&L!==null&&L.key!=null?I(""+L.key):V.toString(36)}function U(){}function W(L){switch(L.status){case"fulfilled":return L.value;case"rejected":throw L.reason;default:switch(typeof L.status=="string"?L.then(U,U):(L.status="pending",L.then(function(V){L.status==="pending"&&(L.status="fulfilled",L.value=V)},function(V){L.status==="pending"&&(L.status="rejected",L.reason=V)})),L.status){case"fulfilled":return L.value;case"rejected":throw L.reason}}throw L}function Z(L,V,B,P,K){var ee=typeof L;(ee==="undefined"||ee==="boolean")&&(L=null);var Q=!1;if(L===null)Q=!0;else switch(ee){case"bigint":case"string":case"number":Q=!0;break;case"object":switch(L.$$typeof){case e:case t:Q=!0;break;case p:return Q=L._init,Z(Q(L._payload),V,B,P,K)}}if(Q)return K=K(L),Q=P===""?"."+$(L,0):P,N(K)?(B="",Q!=null&&(B=Q.replace(H,"$&/")+"/"),Z(K,V,B,"",function(ke){return ke})):K!=null&&(D(K)&&(K=M(K,B+(K.key==null||L&&L.key===K.key?"":(""+K.key).replace(H,"$&/")+"/")+Q)),V.push(K)),1;Q=0;var J=P===""?".":P+":";if(N(L))for(var ae=0;aet in e?J6(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var X_;function s9(){return X_||(X_=1,function(e){function t(G,j){var z=G.length;G.push(j);e:for(;0>>1,L=G[Y];if(0>>1;Ya(P,z))Ka(ee,P)?(G[Y]=ee,G[K]=z,Y=K):(G[Y]=P,G[B]=z,Y=B);else if(Ka(ee,z))G[Y]=ee,G[K]=z,Y=K;else break e}}return j}function a(G,j){var z=G.sortIndex-j.sortIndex;return z!==0?z:G.id-j.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,u=s.now();e.unstable_now=function(){return s.now()-u}}var c=[],d=[],p=1,g=null,m=3,b=!1,y=!1,v=!1,k=typeof setTimeout=="function"?setTimeout:null,A=typeof clearTimeout=="function"?clearTimeout:null,x=typeof setImmediate<"u"?setImmediate:null;function R(G){for(var j=n(d);j!==null;){if(j.callback===null)r(d);else if(j.startTime<=G)r(d),j.sortIndex=j.expirationTime,t(c,j);else break;j=n(d)}}function N(G){if(v=!1,R(G),!y)if(n(c)!==null)y=!0,W();else{var j=n(d);j!==null&&Z(N,j.startTime-G)}}var O=!1,_=-1,C=5,M=-1;function D(){return!(e.unstable_now()-MG&&D());){var Y=g.callback;if(typeof Y=="function"){g.callback=null,m=g.priorityLevel;var L=Y(g.expirationTime<=G);if(G=e.unstable_now(),typeof L=="function"){g.callback=L,R(G),j=!0;break t}g===n(c)&&r(c),R(G)}else r(c);g=n(c)}if(g!==null)j=!0;else{var V=n(d);V!==null&&Z(N,V.startTime-G),j=!1}}break e}finally{g=null,m=z,b=!1}j=void 0}}finally{j?H():O=!1}}}var H;if(typeof x=="function")H=function(){x(I)};else if(typeof MessageChannel<"u"){var $=new MessageChannel,U=$.port2;$.port1.onmessage=I,H=function(){U.postMessage(null)}}else H=function(){k(I,0)};function W(){O||(O=!0,H())}function Z(G,j){_=k(function(){G(e.unstable_now())},j)}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(G){G.callback=null},e.unstable_continueExecution=function(){y||b||(y=!0,W())},e.unstable_forceFrameRate=function(G){0>G||125Y?(G.sortIndex=z,t(d,G),n(c)===null&&G===n(d)&&(v?(A(_),_=-1):v=!0,Z(N,z-Y))):(G.sortIndex=L,t(c,G),y||b||(y=!0,W())),G},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(G){var j=m;return function(){var z=m;m=j;try{return G.apply(this,arguments)}finally{m=z}}}}(Kh)),Kh}var Z_;function l9(){return Z_||(Z_=1,Yh.exports=s9()),Yh.exports}var Xh={exports:{}},wn={};/** + */var X_;function sq(){return X_||(X_=1,function(e){function t(G,j){var z=G.length;G.push(j);e:for(;0>>1,L=G[Y];if(0>>1;Ya(P,z))Ka(ee,P)?(G[Y]=ee,G[K]=z,Y=K):(G[Y]=P,G[B]=z,Y=B);else if(Ka(ee,z))G[Y]=ee,G[K]=z,Y=K;else break e}}return j}function a(G,j){var z=G.sortIndex-j.sortIndex;return z!==0?z:G.id-j.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,u=s.now();e.unstable_now=function(){return s.now()-u}}var c=[],d=[],p=1,g=null,m=3,b=!1,y=!1,v=!1,k=typeof setTimeout=="function"?setTimeout:null,A=typeof clearTimeout=="function"?clearTimeout:null,x=typeof setImmediate<"u"?setImmediate:null;function R(G){for(var j=n(d);j!==null;){if(j.callback===null)r(d);else if(j.startTime<=G)r(d),j.sortIndex=j.expirationTime,t(c,j);else break;j=n(d)}}function N(G){if(v=!1,R(G),!y)if(n(c)!==null)y=!0,W();else{var j=n(d);j!==null&&Z(N,j.startTime-G)}}var O=!1,_=-1,C=5,M=-1;function D(){return!(e.unstable_now()-MG&&D());){var Y=g.callback;if(typeof Y=="function"){g.callback=null,m=g.priorityLevel;var L=Y(g.expirationTime<=G);if(G=e.unstable_now(),typeof L=="function"){g.callback=L,R(G),j=!0;break t}g===n(c)&&r(c),R(G)}else r(c);g=n(c)}if(g!==null)j=!0;else{var V=n(d);V!==null&&Z(N,V.startTime-G),j=!1}}break e}finally{g=null,m=z,b=!1}j=void 0}}finally{j?H():O=!1}}}var H;if(typeof x=="function")H=function(){x(I)};else if(typeof MessageChannel<"u"){var $=new MessageChannel,U=$.port2;$.port1.onmessage=I,H=function(){U.postMessage(null)}}else H=function(){k(I,0)};function W(){O||(O=!0,H())}function Z(G,j){_=k(function(){G(e.unstable_now())},j)}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(G){G.callback=null},e.unstable_continueExecution=function(){y||b||(y=!0,W())},e.unstable_forceFrameRate=function(G){0>G||125Y?(G.sortIndex=z,t(d,G),n(c)===null&&G===n(d)&&(v?(A(_),_=-1):v=!0,Z(N,z-Y))):(G.sortIndex=L,t(c,G),y||b||(y=!0,W())),G},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(G){var j=m;return function(){var z=m;m=j;try{return G.apply(this,arguments)}finally{m=z}}}}(Kh)),Kh}var Z_;function lq(){return Z_||(Z_=1,Yh.exports=sq()),Yh.exports}var Xh={exports:{}},wn={};/** * @license React * react-dom.production.js * @@ -30,7 +30,7 @@ var J6=Object.defineProperty;var e9=(e,t,n)=>t in e?J6(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Q_;function u9(){if(Q_)return wn;Q_=1;var e=Hf();function t(c){var d="https://react.dev/errors/"+c;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Xh.exports=u9(),Xh.exports}/** + */var Q_;function uq(){if(Q_)return wn;Q_=1;var e=Hf();function t(c){var d="https://react.dev/errors/"+c;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Xh.exports=uq(),Xh.exports}/** * @license React * react-dom-client.production.js * @@ -38,7 +38,7 @@ var J6=Object.defineProperty;var e9=(e,t,n)=>t in e?J6(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var eC;function c9(){if(eC)return Ql;eC=1;var e=l9(),t=Hf(),n=Fz();function r(i){var l="https://react.dev/errors/"+i;if(1)":-1t in e?J6(e,t,{enumerable:!0,config `+X[h].replace(" at new "," at ");return i.displayName&&be.includes("")&&(be=be.replace("",i.displayName)),be}while(1<=h&&0<=S);break}}}finally{W=!1,Error.prepareStackTrace=f}return(f=i?i.displayName||i.name:"")?U(f):""}function G(i){switch(i.tag){case 26:case 27:case 5:return U(i.type);case 16:return U("Lazy");case 13:return U("Suspense");case 19:return U("SuspenseList");case 0:case 15:return i=Z(i.type,!1),i;case 11:return i=Z(i.type.render,!1),i;case 1:return i=Z(i.type,!0),i;default:return""}}function j(i){try{var l="";do l+=G(i),i=i.return;while(i);return l}catch(f){return` Error generating stack: `+f.message+` `+f.stack}}function z(i){var l=i,f=i;if(i.alternate)for(;l.return;)l=l.return;else{i=l;do l=i,l.flags&4098&&(f=l.return),i=l.return;while(i)}return l.tag===3?f:null}function Y(i){if(i.tag===13){var l=i.memoizedState;if(l===null&&(i=i.alternate,i!==null&&(l=i.memoizedState)),l!==null)return l.dehydrated}return null}function L(i){if(z(i)!==i)throw Error(r(188))}function V(i){var l=i.alternate;if(!l){if(l=z(i),l===null)throw Error(r(188));return l!==i?null:i}for(var f=i,h=l;;){var S=f.return;if(S===null)break;var T=S.alternate;if(T===null){if(h=S.return,h!==null){f=h;continue}break}if(S.child===T.child){for(T=S.child;T;){if(T===f)return L(S),i;if(T===h)return L(S),l;T=T.sibling}throw Error(r(188))}if(f.return!==h.return)f=S,h=T;else{for(var F=!1,q=S.child;q;){if(q===f){F=!0,f=S,h=T;break}if(q===h){F=!0,h=S,f=T;break}q=q.sibling}if(!F){for(q=T.child;q;){if(q===f){F=!0,f=T,h=S;break}if(q===h){F=!0,h=T,f=S;break}q=q.sibling}if(!F)throw Error(r(189))}}if(f.alternate!==h)throw Error(r(190))}if(f.tag!==3)throw Error(r(188));return f.stateNode.current===f?i:l}function B(i){var l=i.tag;if(l===5||l===26||l===27||l===6)return i;for(i=i.child;i!==null;){if(l=B(i),l!==null)return l;i=i.sibling}return null}var P=Array.isArray,K=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ee={pending:!1,data:null,method:null,action:null},Q=[],J=-1;function ae(i){return{current:i}}function ke(i){0>J||(i.current=Q[J],Q[J]=null,J--)}function ie(i,l){J++,Q[J]=i.current,i.current=l}var Se=ae(null),ve=ae(null),Ie=ae(null),_e=ae(null);function Ee(i,l){switch(ie(Ie,l),ie(ve,i),ie(Se,null),i=l.nodeType,i){case 9:case 11:l=(l=l.documentElement)&&(l=l.namespaceURI)?E_(l):0;break;default:if(i=i===8?l.parentNode:l,l=i.tagName,i=i.namespaceURI)i=E_(i),l=w_(i,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}ke(Se),ie(Se,l)}function te(){ke(Se),ke(ve),ke(Ie)}function fe(i){i.memoizedState!==null&&ie(_e,i);var l=Se.current,f=w_(l,i.type);l!==f&&(ie(ve,i),ie(Se,f))}function Te(i){ve.current===i&&(ke(Se),ke(ve)),_e.current===i&&(ke(_e),Vl._currentValue=ee)}var me=Object.prototype.hasOwnProperty,we=e.unstable_scheduleCallback,le=e.unstable_cancelCallback,ze=e.unstable_shouldYield,Be=e.unstable_requestPaint,he=e.unstable_now,Ne=e.unstable_getCurrentPriorityLevel,ne=e.unstable_ImmediatePriority,ce=e.unstable_UserBlockingPriority,Ce=e.unstable_NormalPriority,Fe=e.unstable_LowPriority,We=e.unstable_IdlePriority,St=e.log,kt=e.unstable_setDisableYieldValue,bt=null,et=null;function Tt(i){if(et&&typeof et.onCommitFiberRoot=="function")try{et.onCommitFiberRoot(bt,i,void 0,(i.current.flags&128)===128)}catch{}}function ot(i){if(typeof St=="function"&&kt(i),et&&typeof et.setStrictMode=="function")try{et.setStrictMode(bt,i)}catch{}}var Et=Math.clz32?Math.clz32:Ft,Gt=Math.log,pn=Math.LN2;function Ft(i){return i>>>=0,i===0?32:31-(Gt(i)/pn|0)|0}var or=128,$r=4194304;function Jt(i){var l=i&42;if(l!==0)return l;switch(i&-i){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:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return i&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return i&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return i}}function fa(i,l){var f=i.pendingLanes;if(f===0)return 0;var h=0,S=i.suspendedLanes,T=i.pingedLanes,F=i.warmLanes;i=i.finishedLanes!==0;var q=f&134217727;return q!==0?(f=q&~S,f!==0?h=Jt(f):(T&=q,T!==0?h=Jt(T):i||(F=q&~F,F!==0&&(h=Jt(F))))):(q=f&~S,q!==0?h=Jt(q):T!==0?h=Jt(T):i||(F=f&~F,F!==0&&(h=Jt(F)))),h===0?0:l!==0&&l!==h&&!(l&S)&&(S=h&-h,F=l&-l,S>=F||S===32&&(F&4194176)!==0)?l:h}function Xe(i,l){return(i.pendingLanes&~(i.suspendedLanes&~i.pingedLanes)&l)===0}function yt(i,l){switch(i){case 1:case 2:case 4:case 8:return l+250;case 16:case 32:case 64: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 l+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 Nt(){var i=or;return or<<=1,!(or&4194176)&&(or=128),i}function In(){var i=$r;return $r<<=1,!($r&62914560)&&($r=4194304),i}function Cn(i){for(var l=[],f=0;31>f;f++)l.push(i);return l}function Ln(i,l){i.pendingLanes|=l,l!==268435456&&(i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0)}function pa(i,l,f,h,S,T){var F=i.pendingLanes;i.pendingLanes=f,i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0,i.expiredLanes&=f,i.entangledLanes&=f,i.errorRecoveryDisabledLanes&=f,i.shellSuspendCounter=0;var q=i.entanglements,X=i.expirationTimes,oe=i.hiddenUpdates;for(f=F&~f;0"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),VH=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),wA={},xA={};function WH(i){return me.call(xA,i)?!0:me.call(wA,i)?!1:VH.test(i)?xA[i]=!0:(wA[i]=!0,!1)}function sc(i,l,f){if(WH(l))if(f===null)i.removeAttribute(l);else{switch(typeof f){case"undefined":case"function":case"symbol":i.removeAttribute(l);return;case"boolean":var h=l.toLowerCase().slice(0,5);if(h!=="data-"&&h!=="aria-"){i.removeAttribute(l);return}}i.setAttribute(l,""+f)}}function lc(i,l,f){if(f===null)i.removeAttribute(l);else{switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(l);return}i.setAttribute(l,""+f)}}function ha(i,l,f,h){if(h===null)i.removeAttribute(f);else{switch(typeof h){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(f);return}i.setAttributeNS(l,f,""+h)}}function ir(i){switch(typeof i){case"bigint":case"boolean":case"number":case"string":case"undefined":return i;case"object":return i;default:return""}}function kA(i){var l=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function YH(i){var l=kA(i)?"checked":"value",f=Object.getOwnPropertyDescriptor(i.constructor.prototype,l),h=""+i[l];if(!i.hasOwnProperty(l)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var S=f.get,T=f.set;return Object.defineProperty(i,l,{configurable:!0,get:function(){return S.call(this)},set:function(F){h=""+F,T.call(this,F)}}),Object.defineProperty(i,l,{enumerable:f.enumerable}),{getValue:function(){return h},setValue:function(F){h=""+F},stopTracking:function(){i._valueTracker=null,delete i[l]}}}}function uc(i){i._valueTracker||(i._valueTracker=YH(i))}function TA(i){if(!i)return!1;var l=i._valueTracker;if(!l)return!0;var f=l.getValue(),h="";return i&&(h=kA(i)?i.checked?"true":"false":i.value),i=h,i!==f?(l.setValue(i),!0):!1}function cc(i){if(i=i||(typeof document<"u"?document:void 0),typeof i>"u")return null;try{return i.activeElement||i.body}catch{return i.body}}var KH=/[\n"\\]/g;function sr(i){return i.replace(KH,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function Hp(i,l,f,h,S,T,F,q){i.name="",F!=null&&typeof F!="function"&&typeof F!="symbol"&&typeof F!="boolean"?i.type=F:i.removeAttribute("type"),l!=null?F==="number"?(l===0&&i.value===""||i.value!=l)&&(i.value=""+ir(l)):i.value!==""+ir(l)&&(i.value=""+ir(l)):F!=="submit"&&F!=="reset"||i.removeAttribute("value"),l!=null?$p(i,F,ir(l)):f!=null?$p(i,F,ir(f)):h!=null&&i.removeAttribute("value"),S==null&&T!=null&&(i.defaultChecked=!!T),S!=null&&(i.checked=S&&typeof S!="function"&&typeof S!="symbol"),q!=null&&typeof q!="function"&&typeof q!="symbol"&&typeof q!="boolean"?i.name=""+ir(q):i.removeAttribute("name")}function AA(i,l,f,h,S,T,F,q){if(T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"&&(i.type=T),l!=null||f!=null){if(!(T!=="submit"&&T!=="reset"||l!=null))return;f=f!=null?""+ir(f):"",l=l!=null?""+ir(l):f,q||l===i.value||(i.value=l),i.defaultValue=l}h=h??S,h=typeof h!="function"&&typeof h!="symbol"&&!!h,i.checked=q?i.checked:!!h,i.defaultChecked=!!h,F!=null&&typeof F!="function"&&typeof F!="symbol"&&typeof F!="boolean"&&(i.name=F)}function $p(i,l,f){l==="number"&&cc(i.ownerDocument)===i||i.defaultValue===""+f||(i.defaultValue=""+f)}function Di(i,l,f,h){if(i=i.options,l){l={};for(var S=0;S=cl),BA=" ",UA=!1;function jA(i,l){switch(i){case"keyup":return x$.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function GA(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var Pi=!1;function T$(i,l){switch(i){case"compositionend":return GA(l);case"keypress":return l.which!==32?null:(UA=!0,BA);case"textInput":return i=l.data,i===BA&&UA?null:i;default:return null}}function A$(i,l){if(Pi)return i==="compositionend"||!tg&&jA(i,l)?(i=IA(),fc=Xp=Ya=null,Pi=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1=l)return{node:f,offset:l-i};i=h}e:{for(;f;){if(f.nextSibling){f=f.nextSibling;break e}f=f.parentNode}f=void 0}f=XA(f)}}function QA(i,l){return i&&l?i===l?!0:i&&i.nodeType===3?!1:l&&l.nodeType===3?QA(i,l.parentNode):"contains"in i?i.contains(l):i.compareDocumentPosition?!!(i.compareDocumentPosition(l)&16):!1:!1}function JA(i){i=i!=null&&i.ownerDocument!=null&&i.ownerDocument.defaultView!=null?i.ownerDocument.defaultView:window;for(var l=cc(i.document);l instanceof i.HTMLIFrameElement;){try{var f=typeof l.contentWindow.location.href=="string"}catch{f=!1}if(f)i=l.contentWindow;else break;l=cc(i.document)}return l}function ag(i){var l=i&&i.nodeName&&i.nodeName.toLowerCase();return l&&(l==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||l==="textarea"||i.contentEditable==="true")}function L$(i,l){var f=JA(l);l=i.focusedElem;var h=i.selectionRange;if(f!==l&&l&&l.ownerDocument&&QA(l.ownerDocument.documentElement,l)){if(h!==null&&ag(l)){if(i=h.start,f=h.end,f===void 0&&(f=i),"selectionStart"in l)l.selectionStart=i,l.selectionEnd=Math.min(f,l.value.length);else if(f=(i=l.ownerDocument||document)&&i.defaultView||window,f.getSelection){f=f.getSelection();var S=l.textContent.length,T=Math.min(h.start,S);h=h.end===void 0?T:Math.min(h.end,S),!f.extend&&T>h&&(S=h,h=T,T=S),S=ZA(l,T);var F=ZA(l,h);S&&F&&(f.rangeCount!==1||f.anchorNode!==S.node||f.anchorOffset!==S.offset||f.focusNode!==F.node||f.focusOffset!==F.offset)&&(i=i.createRange(),i.setStart(S.node,S.offset),f.removeAllRanges(),T>h?(f.addRange(i),f.extend(F.node,F.offset)):(i.setEnd(F.node,F.offset),f.addRange(i)))}}for(i=[],f=l;f=f.parentNode;)f.nodeType===1&&i.push({element:f,left:f.scrollLeft,top:f.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l=document.documentMode,Fi=null,og=null,gl=null,ig=!1;function e1(i,l,f){var h=f.window===f?f.document:f.nodeType===9?f:f.ownerDocument;ig||Fi==null||Fi!==cc(h)||(h=Fi,"selectionStart"in h&&ag(h)?h={start:h.selectionStart,end:h.selectionEnd}:(h=(h.ownerDocument&&h.ownerDocument.defaultView||window).getSelection(),h={anchorNode:h.anchorNode,anchorOffset:h.anchorOffset,focusNode:h.focusNode,focusOffset:h.focusOffset}),gl&&pl(gl,h)||(gl=h,h=Jc(og,"onSelect"),0>=F,S-=F,ma=1<<32-Et(l)+S|f<Qe?(ln=Ye,Ye=null):ln=Ye.sibling;var xt=de(se,Ye,ue[Qe],xe);if(xt===null){Ye===null&&(Ye=ln);break}i&&Ye&&xt.alternate===null&&l(se,Ye),re=T(xt,re,Qe),lt===null?je=xt:lt.sibling=xt,lt=xt,Ye=ln}if(Qe===ue.length)return f(se,Ye),wt&&Go(se,Qe),je;if(Ye===null){for(;QeQe?(ln=Ye,Ye=null):ln=Ye.sibling;var ho=de(se,Ye,xt.value,xe);if(ho===null){Ye===null&&(Ye=ln);break}i&&Ye&&ho.alternate===null&&l(se,Ye),re=T(ho,re,Qe),lt===null?je=ho:lt.sibling=ho,lt=ho,Ye=ln}if(xt.done)return f(se,Ye),wt&&Go(se,Qe),je;if(Ye===null){for(;!xt.done;Qe++,xt=ue.next())xt=Ae(se,xt.value,xe),xt!==null&&(re=T(xt,re,Qe),lt===null?je=xt:lt.sibling=xt,lt=xt);return wt&&Go(se,Qe),je}for(Ye=h(Ye);!xt.done;Qe++,xt=ue.next())xt=ge(Ye,se,Qe,xt.value,xe),xt!==null&&(i&&xt.alternate!==null&&Ye.delete(xt.key===null?Qe:xt.key),re=T(xt,re,Qe),lt===null?je=xt:lt.sibling=xt,lt=xt);return i&&Ye.forEach(function(Q6){return l(se,Q6)}),wt&&Go(se,Qe),je}function qt(se,re,ue,xe){if(typeof ue=="object"&&ue!==null&&ue.type===c&&ue.key===null&&(ue=ue.props.children),typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case s:e:{for(var je=ue.key;re!==null;){if(re.key===je){if(je=ue.type,je===c){if(re.tag===7){f(se,re.sibling),xe=S(re,ue.props.children),xe.return=se,se=xe;break e}}else if(re.elementType===je||typeof je=="object"&&je!==null&&je.$$typeof===x&&b1(je)===re.type){f(se,re.sibling),xe=S(re,ue.props),El(xe,ue),xe.return=se,se=xe;break e}f(se,re);break}else l(se,re);re=re.sibling}ue.type===c?(xe=Jo(ue.props.children,se.mode,xe,ue.key),xe.return=se,se=xe):(xe=Hc(ue.type,ue.key,ue.props,null,se.mode,xe),El(xe,ue),xe.return=se,se=xe)}return F(se);case u:e:{for(je=ue.key;re!==null;){if(re.key===je)if(re.tag===4&&re.stateNode.containerInfo===ue.containerInfo&&re.stateNode.implementation===ue.implementation){f(se,re.sibling),xe=S(re,ue.children||[]),xe.return=se,se=xe;break e}else{f(se,re);break}else l(se,re);re=re.sibling}xe=lh(ue,se.mode,xe),xe.return=se,se=xe}return F(se);case x:return je=ue._init,ue=je(ue._payload),qt(se,re,ue,xe)}if(P(ue))return qe(se,re,ue,xe);if(_(ue)){if(je=_(ue),typeof je!="function")throw Error(r(150));return ue=je.call(ue),nt(se,re,ue,xe)}if(typeof ue.then=="function")return qt(se,re,kc(ue),xe);if(ue.$$typeof===b)return qt(se,re,Uc(se,ue),xe);Tc(se,ue)}return typeof ue=="string"&&ue!==""||typeof ue=="number"||typeof ue=="bigint"?(ue=""+ue,re!==null&&re.tag===6?(f(se,re.sibling),xe=S(re,ue),xe.return=se,se=xe):(f(se,re),xe=sh(ue,se.mode,xe),xe.return=se,se=xe),F(se)):f(se,re)}return function(se,re,ue,xe){try{Sl=0;var je=qt(se,re,ue,xe);return Hi=null,je}catch(Ye){if(Ye===yl)throw Ye;var lt=hr(29,Ye,null,se.mode);return lt.lanes=xe,lt.return=se,lt}finally{}}}var $o=y1(!0),v1=y1(!1),$i=ae(null),Ac=ae(0);function S1(i,l){i=_a,ie(Ac,i),ie($i,l),_a=i|l.baseLanes}function gg(){ie(Ac,_a),ie($i,$i.current)}function hg(){_a=Ac.current,ke($i),ke(Ac)}var fr=ae(null),Vr=null;function Xa(i){var l=i.alternate;ie(en,en.current&1),ie(fr,i),Vr===null&&(l===null||$i.current!==null||l.memoizedState!==null)&&(Vr=i)}function E1(i){if(i.tag===22){if(ie(en,en.current),ie(fr,i),Vr===null){var l=i.alternate;l!==null&&l.memoizedState!==null&&(Vr=i)}}else Za()}function Za(){ie(en,en.current),ie(fr,fr.current)}function ya(i){ke(fr),Vr===i&&(Vr=null),ke(en)}var en=ae(0);function Rc(i){for(var l=i;l!==null;){if(l.tag===13){var f=l.memoizedState;if(f!==null&&(f=f.dehydrated,f===null||f.data==="$?"||f.data==="$!"))return l}else if(l.tag===19&&l.memoizedProps.revealOrder!==void 0){if(l.flags&128)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===i)break;for(;l.sibling===null;){if(l.return===null||l.return===i)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var B$=typeof AbortController<"u"?AbortController:function(){var i=[],l=this.signal={aborted:!1,addEventListener:function(f,h){i.push(h)}};this.abort=function(){l.aborted=!0,i.forEach(function(f){return f()})}},U$=e.unstable_scheduleCallback,j$=e.unstable_NormalPriority,tn={$$typeof:b,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function mg(){return{controller:new B$,data:new Map,refCount:0}}function wl(i){i.refCount--,i.refCount===0&&U$(j$,function(){i.controller.abort()})}var xl=null,bg=0,qi=0,Vi=null;function G$(i,l){if(xl===null){var f=xl=[];bg=0,qi=xh(),Vi={status:"pending",value:void 0,then:function(h){f.push(h)}}}return bg++,l.then(w1,w1),l}function w1(){if(--bg===0&&xl!==null){Vi!==null&&(Vi.status="fulfilled");var i=xl;xl=null,qi=0,Vi=null;for(var l=0;lT?T:8;var F=D.T,q={};D.T=q,Lg(i,!1,l,f);try{var X=S(),oe=D.S;if(oe!==null&&oe(q,X),X!==null&&typeof X=="object"&&typeof X.then=="function"){var be=H$(X,h);Al(i,l,be,Zn(i))}else Al(i,l,h,Zn(i))}catch(Ae){Al(i,l,{then:function(){},status:"rejected",reason:Ae},Zn())}finally{K.p=T,D.T=F}}function Y$(){}function Dg(i,l,f,h){if(i.tag!==5)throw Error(r(476));var S=J1(i).queue;Q1(i,S,l,ee,f===null?Y$:function(){return eR(i),f(h)})}function J1(i){var l=i.memoizedState;if(l!==null)return l;l={memoizedState:ee,baseState:ee,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:va,lastRenderedState:ee},next:null};var f={};return l.next={memoizedState:f,baseState:f,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:va,lastRenderedState:f},next:null},i.memoizedState=l,i=i.alternate,i!==null&&(i.memoizedState=l),l}function eR(i){var l=J1(i).next.queue;Al(i,l,{},Zn())}function Ig(){return En(Vl)}function tR(){return Xt().memoizedState}function nR(){return Xt().memoizedState}function K$(i){for(var l=i.return;l!==null;){switch(l.tag){case 24:case 3:var f=Zn();i=no(f);var h=ro(l,i,f);h!==null&&(On(h,l,f),Cl(h,l,f)),l={cache:mg()},i.payload=l;return}l=l.return}}function X$(i,l,f){var h=Zn();f={lane:h,revertLane:0,action:f,hasEagerState:!1,eagerState:null,next:null},Pc(i)?aR(l,f):(f=ug(i,l,f,h),f!==null&&(On(f,i,h),oR(f,l,h)))}function rR(i,l,f){var h=Zn();Al(i,l,f,h)}function Al(i,l,f,h){var S={lane:h,revertLane:0,action:f,hasEagerState:!1,eagerState:null,next:null};if(Pc(i))aR(l,S);else{var T=i.alternate;if(i.lanes===0&&(T===null||T.lanes===0)&&(T=l.lastRenderedReducer,T!==null))try{var F=l.lastRenderedState,q=T(F,f);if(S.hasEagerState=!0,S.eagerState=q,Wn(q,F))return vc(i,l,S,0),Lt===null&&yc(),!1}catch{}finally{}if(f=ug(i,l,S,h),f!==null)return On(f,i,h),oR(f,l,h),!0}return!1}function Lg(i,l,f,h){if(h={lane:2,revertLane:xh(),action:h,hasEagerState:!1,eagerState:null,next:null},Pc(i)){if(l)throw Error(r(479))}else l=ug(i,f,h,2),l!==null&&On(l,i,2)}function Pc(i){var l=i.alternate;return i===st||l!==null&&l===st}function aR(i,l){Wi=Cc=!0;var f=i.pending;f===null?l.next=l:(l.next=f.next,f.next=l),i.pending=l}function oR(i,l,f){if(f&4194176){var h=l.lanes;h&=i.pendingLanes,f|=h,l.lanes=f,Ar(i,f)}}var Wr={readContext:En,use:Dc,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};Wr.useCacheRefresh=Vt,Wr.useMemoCache=Vt,Wr.useHostTransitionStatus=Vt,Wr.useFormState=Vt,Wr.useActionState=Vt,Wr.useOptimistic=Vt;var Wo={readContext:En,use:Dc,useCallback:function(i,l){return zn().memoizedState=[i,l===void 0?null:l],i},useContext:En,useEffect:$1,useImperativeHandle:function(i,l,f){f=f!=null?f.concat([i]):null,Lc(4194308,4,W1.bind(null,l,i),f)},useLayoutEffect:function(i,l){return Lc(4194308,4,i,l)},useInsertionEffect:function(i,l){Lc(4,2,i,l)},useMemo:function(i,l){var f=zn();l=l===void 0?null:l;var h=i();if(Vo){ot(!0);try{i()}finally{ot(!1)}}return f.memoizedState=[h,l],h},useReducer:function(i,l,f){var h=zn();if(f!==void 0){var S=f(l);if(Vo){ot(!0);try{f(l)}finally{ot(!1)}}}else S=l;return h.memoizedState=h.baseState=S,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:S},h.queue=i,i=i.dispatch=X$.bind(null,st,i),[h.memoizedState,i]},useRef:function(i){var l=zn();return i={current:i},l.memoizedState=i},useState:function(i){i=Rg(i);var l=i.queue,f=rR.bind(null,st,l);return l.dispatch=f,[i.memoizedState,f]},useDebugValue:Ng,useDeferredValue:function(i,l){var f=zn();return Og(f,i,l)},useTransition:function(){var i=Rg(!1);return i=Q1.bind(null,st,i.queue,!0,!1),zn().memoizedState=i,[!1,i]},useSyncExternalStore:function(i,l,f){var h=st,S=zn();if(wt){if(f===void 0)throw Error(r(407));f=f()}else{if(f=l(),Lt===null)throw Error(r(349));vt&60||_1(h,l,f)}S.memoizedState=f;var T={value:f,getSnapshot:l};return S.queue=T,$1(N1.bind(null,h,T,i),[i]),h.flags|=2048,Ki(9,C1.bind(null,h,T,f,l),{destroy:void 0},null),f},useId:function(){var i=zn(),l=Lt.identifierPrefix;if(wt){var f=ba,h=ma;f=(h&~(1<<32-Et(h)-1)).toString(32)+f,l=":"+l+"R"+f,f=Nc++,0 title"))),mn(T,h,f),T[Sn]=i,an(T),h=T;break e;case"link":var F=D_("link","href",S).get(h+(f.href||""));if(F){for(var q=0;q<\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof h.is=="string"?S.createElement("select",{is:h.is}):S.createElement("select"),h.multiple?i.multiple=!0:h.size&&(i.size=h.size);break;default:i=typeof h.is=="string"?S.createElement(f,{is:h.is}):S.createElement(f)}}i[Sn]=l,i[Pn]=h;e:for(S=l.child;S!==null;){if(S.tag===5||S.tag===6)i.appendChild(S.stateNode);else if(S.tag!==4&&S.tag!==27&&S.child!==null){S.child.return=S,S=S.child;continue}if(S===l)break e;for(;S.sibling===null;){if(S.return===null||S.return===l)break e;S=S.return}S.sibling.return=S.return,S=S.sibling}l.stateNode=i;e:switch(mn(i,f,h),f){case"button":case"input":case"select":case"textarea":i=!!h.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&Aa(l)}}return zt(l),l.flags&=-16777217,null;case 6:if(i&&l.stateNode!=null)i.memoizedProps!==h&&Aa(l);else{if(typeof h!="string"&&l.stateNode===null)throw Error(r(166));if(i=Ie.current,hl(l)){if(i=l.stateNode,f=l.memoizedProps,h=null,S=Nn,S!==null)switch(S.tag){case 27:case 5:h=S.memoizedProps}i[Sn]=l,i=!!(i.nodeValue===f||h!==null&&h.suppressHydrationWarning===!0||S_(i.nodeValue,f)),i||Ho(l)}else i=td(i).createTextNode(h),i[Sn]=l,l.stateNode=i}return zt(l),null;case 13:if(h=l.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(S=hl(l),h!==null&&h.dehydrated!==null){if(i===null){if(!S)throw Error(r(318));if(S=l.memoizedState,S=S!==null?S.dehydrated:null,!S)throw Error(r(317));S[Sn]=l}else ml(),!(l.flags&128)&&(l.memoizedState=null),l.flags|=4;zt(l),S=!1}else _r!==null&&(mh(_r),_r=null),S=!0;if(!S)return l.flags&256?(ya(l),l):(ya(l),null)}if(ya(l),l.flags&128)return l.lanes=f,l;if(f=h!==null,i=i!==null&&i.memoizedState!==null,f){h=l.child,S=null,h.alternate!==null&&h.alternate.memoizedState!==null&&h.alternate.memoizedState.cachePool!==null&&(S=h.alternate.memoizedState.cachePool.pool);var T=null;h.memoizedState!==null&&h.memoizedState.cachePool!==null&&(T=h.memoizedState.cachePool.pool),T!==S&&(h.flags|=2048)}return f!==i&&f&&(l.child.flags|=8192),$c(l,l.updateQueue),zt(l),null;case 4:return te(),i===null&&Rh(l.stateNode.containerInfo),zt(l),null;case 10:return wa(l.type),zt(l),null;case 19:if(ke(en),S=l.memoizedState,S===null)return zt(l),null;if(h=(l.flags&128)!==0,T=S.rendering,T===null)if(h)Pl(S,!1);else{if($t!==0||i!==null&&i.flags&128)for(i=l.child;i!==null;){if(T=Rc(i),T!==null){for(l.flags|=128,Pl(S,!1),i=T.updateQueue,l.updateQueue=i,$c(l,i),l.subtreeFlags=0,i=f,f=l.child;f!==null;)YR(f,i),f=f.sibling;return ie(en,en.current&1|2),l.child}i=i.sibling}S.tail!==null&&he()>qc&&(l.flags|=128,h=!0,Pl(S,!1),l.lanes=4194304)}else{if(!h)if(i=Rc(T),i!==null){if(l.flags|=128,h=!0,i=i.updateQueue,l.updateQueue=i,$c(l,i),Pl(S,!0),S.tail===null&&S.tailMode==="hidden"&&!T.alternate&&!wt)return zt(l),null}else 2*he()-S.renderingStartTime>qc&&f!==536870912&&(l.flags|=128,h=!0,Pl(S,!1),l.lanes=4194304);S.isBackwards?(T.sibling=l.child,l.child=T):(i=S.last,i!==null?i.sibling=T:l.child=T,S.last=T)}return S.tail!==null?(l=S.tail,S.rendering=l,S.tail=l.sibling,S.renderingStartTime=he(),l.sibling=null,i=en.current,ie(en,h?i&1|2:i&1),l):(zt(l),null);case 22:case 23:return ya(l),hg(),h=l.memoizedState!==null,i!==null?i.memoizedState!==null!==h&&(l.flags|=8192):h&&(l.flags|=8192),h?f&536870912&&!(l.flags&128)&&(zt(l),l.subtreeFlags&6&&(l.flags|=8192)):zt(l),f=l.updateQueue,f!==null&&$c(l,f.retryQueue),f=null,i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(f=i.memoizedState.cachePool.pool),h=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(h=l.memoizedState.cachePool.pool),h!==f&&(l.flags|=2048),i!==null&&ke(qo),null;case 24:return f=null,i!==null&&(f=i.memoizedState.cache),l.memoizedState.cache!==f&&(l.flags|=2048),wa(tn),zt(l),null;case 25:return null}throw Error(r(156,l.tag))}function r6(i,l){switch(dg(l),l.tag){case 1:return i=l.flags,i&65536?(l.flags=i&-65537|128,l):null;case 3:return wa(tn),te(),i=l.flags,i&65536&&!(i&128)?(l.flags=i&-65537|128,l):null;case 26:case 27:case 5:return Te(l),null;case 13:if(ya(l),i=l.memoizedState,i!==null&&i.dehydrated!==null){if(l.alternate===null)throw Error(r(340));ml()}return i=l.flags,i&65536?(l.flags=i&-65537|128,l):null;case 19:return ke(en),null;case 4:return te(),null;case 10:return wa(l.type),null;case 22:case 23:return ya(l),hg(),i!==null&&ke(qo),i=l.flags,i&65536?(l.flags=i&-65537|128,l):null;case 24:return wa(tn),null;case 25:return null;default:return null}}function ZR(i,l){switch(dg(l),l.tag){case 3:wa(tn),te();break;case 26:case 27:case 5:Te(l);break;case 4:te();break;case 13:ya(l);break;case 19:ke(en);break;case 10:wa(l.type);break;case 22:case 23:ya(l),hg(),i!==null&&ke(qo);break;case 24:wa(tn)}}var a6={getCacheForType:function(i){var l=En(tn),f=l.data.get(i);return f===void 0&&(f=i(),l.data.set(i,f)),f}},o6=typeof WeakMap=="function"?WeakMap:Map,Bt=0,Lt=null,dt=null,vt=0,Mt=0,Xn=null,Ra=!1,Ji=!1,uh=!1,_a=0,$t=0,lo=0,ei=0,ch=0,mr=0,es=0,Fl=null,Yr=null,dh=!1,fh=0,qc=1/0,Vc=null,uo=null,Wc=!1,ti=null,zl=0,ph=0,gh=null,Bl=0,hh=null;function Zn(){if(Bt&2&&vt!==0)return vt&-vt;if(D.T!==null){var i=qi;return i!==0?i:xh()}return yA()}function QR(){mr===0&&(mr=!(vt&536870912)||wt?Nt():536870912);var i=fr.current;return i!==null&&(i.flags|=32),mr}function On(i,l,f){(i===Lt&&Mt===2||i.cancelPendingCommit!==null)&&(ts(i,0),Ca(i,vt,mr,!1)),Ln(i,f),(!(Bt&2)||i!==Lt)&&(i===Lt&&(!(Bt&2)&&(ei|=f),$t===4&&Ca(i,vt,mr,!1)),Kr(i))}function JR(i,l,f){if(Bt&6)throw Error(r(327));var h=!f&&(l&60)===0&&(l&i.expiredLanes)===0||Xe(i,l),S=h?l6(i,l):vh(i,l,!0),T=h;do{if(S===0){Ji&&!h&&Ca(i,l,0,!1);break}else if(S===6)Ca(i,l,0,!Ra);else{if(f=i.current.alternate,T&&!i6(f)){S=vh(i,l,!1),T=!1;continue}if(S===2){if(T=l,i.errorRecoveryDisabledLanes&T)var F=0;else F=i.pendingLanes&-536870913,F=F!==0?F:F&536870912?536870912:0;if(F!==0){l=F;e:{var q=i;S=Fl;var X=q.current.memoizedState.isDehydrated;if(X&&(ts(q,F).flags|=256),F=vh(q,F,!1),F!==2){if(uh&&!X){q.errorRecoveryDisabledLanes|=T,ei|=T,S=4;break e}T=Yr,Yr=S,T!==null&&mh(T)}S=F}if(T=!1,S!==2)continue}}if(S===1){ts(i,0),Ca(i,l,0,!0);break}e:{switch(h=i,S){case 0:case 1:throw Error(r(345));case 4:if((l&4194176)===l){Ca(h,l,mr,!Ra);break e}break;case 2:Yr=null;break;case 3:case 5:break;default:throw Error(r(329))}if(h.finishedWork=f,h.finishedLanes=l,(l&62914560)===l&&(T=fh+300-he(),10f?32:f,D.T=null,ti===null)var T=!1;else{f=gh,gh=null;var F=ti,q=zl;if(ti=null,zl=0,Bt&6)throw Error(r(331));var X=Bt;if(Bt|=4,VR(F.current),HR(F,F.current,q,f),Bt=X,Ul(0,!1),et&&typeof et.onPostCommitFiberRoot=="function")try{et.onPostCommitFiberRoot(bt,F)}catch{}T=!0}return T}finally{K.p=S,D.T=h,l_(i,l)}}return!1}function u_(i,l,f){l=ur(f,l),l=Fg(i.stateNode,l,2),i=ro(i,l,2),i!==null&&(Ln(i,2),Kr(i))}function Ot(i,l,f){if(i.tag===3)u_(i,i,f);else for(;l!==null;){if(l.tag===3){u_(l,i,f);break}else if(l.tag===1){var h=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof h.componentDidCatch=="function"&&(uo===null||!uo.has(h))){i=ur(f,i),f=fR(2),h=ro(l,f,2),h!==null&&(pR(f,h,l,i),Ln(h,2),Kr(h));break}}l=l.return}}function Sh(i,l,f){var h=i.pingCache;if(h===null){h=i.pingCache=new o6;var S=new Set;h.set(l,S)}else S=h.get(l),S===void 0&&(S=new Set,h.set(l,S));S.has(f)||(uh=!0,S.add(f),i=d6.bind(null,i,l,f),l.then(i,i))}function d6(i,l,f){var h=i.pingCache;h!==null&&h.delete(l),i.pingedLanes|=i.suspendedLanes&f,i.warmLanes&=~f,Lt===i&&(vt&f)===f&&($t===4||$t===3&&(vt&62914560)===vt&&300>he()-fh?!(Bt&2)&&ts(i,0):ch|=f,es===vt&&(es=0)),Kr(i)}function c_(i,l){l===0&&(l=In()),i=Ka(i,l),i!==null&&(Ln(i,l),Kr(i))}function f6(i){var l=i.memoizedState,f=0;l!==null&&(f=l.retryLane),c_(i,f)}function p6(i,l){var f=0;switch(i.tag){case 13:var h=i.stateNode,S=i.memoizedState;S!==null&&(f=S.retryLane);break;case 19:h=i.stateNode;break;case 22:h=i.stateNode._retryCache;break;default:throw Error(r(314))}h!==null&&h.delete(l),c_(i,f)}function g6(i,l){return we(i,l)}var Xc=null,as=null,Eh=!1,Zc=!1,wh=!1,ni=0;function Kr(i){i!==as&&i.next===null&&(as===null?Xc=as=i:as=as.next=i),Zc=!0,Eh||(Eh=!0,m6(h6))}function Ul(i,l){if(!wh&&Zc){wh=!0;do for(var f=!1,h=Xc;h!==null;){if(i!==0){var S=h.pendingLanes;if(S===0)var T=0;else{var F=h.suspendedLanes,q=h.pingedLanes;T=(1<<31-Et(42|i)+1)-1,T&=S&~(F&~q),T=T&201326677?T&201326677|1:T?T|2:0}T!==0&&(f=!0,p_(h,T))}else T=vt,T=fa(h,h===Lt?T:0),!(T&3)||Xe(h,T)||(f=!0,p_(h,T));h=h.next}while(f);wh=!1}}function h6(){Zc=Eh=!1;var i=0;ni!==0&&(k6()&&(i=ni),ni=0);for(var l=he(),f=null,h=Xc;h!==null;){var S=h.next,T=d_(h,l);T===0?(h.next=null,f===null?Xc=S:f.next=S,S===null&&(as=f)):(f=h,(i!==0||T&3)&&(Zc=!0)),h=S}Ul(i)}function d_(i,l){for(var f=i.suspendedLanes,h=i.pingedLanes,S=i.expirationTimes,T=i.pendingLanes&-62914561;0"u"?null:document;function __(i,l,f){var h=is;if(h&&typeof l=="string"&&l){var S=sr(l);S='link[rel="'+i+'"][href="'+S+'"]',typeof f=="string"&&(S+='[crossorigin="'+f+'"]'),R_.has(S)||(R_.add(S),i={rel:i,crossOrigin:f,href:l},h.querySelector(S)===null&&(l=h.createElement("link"),mn(l,"link",i),an(l),h.head.appendChild(l)))}}function D6(i){Na.D(i),__("dns-prefetch",i,null)}function I6(i,l){Na.C(i,l),__("preconnect",i,l)}function L6(i,l,f){Na.L(i,l,f);var h=is;if(h&&i&&l){var S='link[rel="preload"][as="'+sr(l)+'"]';l==="image"&&f&&f.imageSrcSet?(S+='[imagesrcset="'+sr(f.imageSrcSet)+'"]',typeof f.imageSizes=="string"&&(S+='[imagesizes="'+sr(f.imageSizes)+'"]')):S+='[href="'+sr(i)+'"]';var T=S;switch(l){case"style":T=ss(i);break;case"script":T=ls(i)}br.has(T)||(i=I({rel:"preload",href:l==="image"&&f&&f.imageSrcSet?void 0:i,as:l},f),br.set(T,i),h.querySelector(S)!==null||l==="style"&&h.querySelector(Hl(T))||l==="script"&&h.querySelector($l(T))||(l=h.createElement("link"),mn(l,"link",i),an(l),h.head.appendChild(l)))}}function M6(i,l){Na.m(i,l);var f=is;if(f&&i){var h=l&&typeof l.as=="string"?l.as:"script",S='link[rel="modulepreload"][as="'+sr(h)+'"][href="'+sr(i)+'"]',T=S;switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":T=ls(i)}if(!br.has(T)&&(i=I({rel:"modulepreload",href:i},l),br.set(T,i),f.querySelector(S)===null)){switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(f.querySelector($l(T)))return}h=f.createElement("link"),mn(h,"link",i),an(h),f.head.appendChild(h)}}}function P6(i,l,f){Na.S(i,l,f);var h=is;if(h&&i){var S=Ni(h).hoistableStyles,T=ss(i);l=l||"default";var F=S.get(T);if(!F){var q={loading:0,preload:null};if(F=h.querySelector(Hl(T)))q.loading=5;else{i=I({rel:"stylesheet",href:i,"data-precedence":l},f),(f=br.get(T))&&Ph(i,f);var X=F=h.createElement("link");an(X),mn(X,"link",i),X._p=new Promise(function(oe,be){X.onload=oe,X.onerror=be}),X.addEventListener("load",function(){q.loading|=1}),X.addEventListener("error",function(){q.loading|=2}),q.loading|=4,rd(F,l,h)}F={type:"stylesheet",instance:F,count:1,state:q},S.set(T,F)}}}function F6(i,l){Na.X(i,l);var f=is;if(f&&i){var h=Ni(f).hoistableScripts,S=ls(i),T=h.get(S);T||(T=f.querySelector($l(S)),T||(i=I({src:i,async:!0},l),(l=br.get(S))&&Fh(i,l),T=f.createElement("script"),an(T),mn(T,"link",i),f.head.appendChild(T)),T={type:"script",instance:T,count:1,state:null},h.set(S,T))}}function z6(i,l){Na.M(i,l);var f=is;if(f&&i){var h=Ni(f).hoistableScripts,S=ls(i),T=h.get(S);T||(T=f.querySelector($l(S)),T||(i=I({src:i,async:!0,type:"module"},l),(l=br.get(S))&&Fh(i,l),T=f.createElement("script"),an(T),mn(T,"link",i),f.head.appendChild(T)),T={type:"script",instance:T,count:1,state:null},h.set(S,T))}}function C_(i,l,f,h){var S=(S=Ie.current)?nd(S):null;if(!S)throw Error(r(446));switch(i){case"meta":case"title":return null;case"style":return typeof f.precedence=="string"&&typeof f.href=="string"?(l=ss(f.href),f=Ni(S).hoistableStyles,h=f.get(l),h||(h={type:"style",instance:null,count:0,state:null},f.set(l,h)),h):{type:"void",instance:null,count:0,state:null};case"link":if(f.rel==="stylesheet"&&typeof f.href=="string"&&typeof f.precedence=="string"){i=ss(f.href);var T=Ni(S).hoistableStyles,F=T.get(i);if(F||(S=S.ownerDocument||S,F={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},T.set(i,F),(T=S.querySelector(Hl(i)))&&!T._p&&(F.instance=T,F.state.loading=5),br.has(i)||(f={rel:"preload",as:"style",href:f.href,crossOrigin:f.crossOrigin,integrity:f.integrity,media:f.media,hrefLang:f.hrefLang,referrerPolicy:f.referrerPolicy},br.set(i,f),T||B6(S,i,f,F.state))),l&&h===null)throw Error(r(528,""));return F}if(l&&h!==null)throw Error(r(529,""));return null;case"script":return l=f.async,f=f.src,typeof f=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=ls(f),f=Ni(S).hoistableScripts,h=f.get(l),h||(h={type:"script",instance:null,count:0,state:null},f.set(l,h)),h):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,i))}}function ss(i){return'href="'+sr(i)+'"'}function Hl(i){return'link[rel="stylesheet"]['+i+"]"}function N_(i){return I({},i,{"data-precedence":i.precedence,precedence:null})}function B6(i,l,f,h){i.querySelector('link[rel="preload"][as="style"]['+l+"]")?h.loading=1:(l=i.createElement("link"),h.preload=l,l.addEventListener("load",function(){return h.loading|=1}),l.addEventListener("error",function(){return h.loading|=2}),mn(l,"link",f),an(l),i.head.appendChild(l))}function ls(i){return'[src="'+sr(i)+'"]'}function $l(i){return"script[async]"+i}function O_(i,l,f){if(l.count++,l.instance===null)switch(l.type){case"style":var h=i.querySelector('style[data-href~="'+sr(f.href)+'"]');if(h)return l.instance=h,an(h),h;var S=I({},f,{"data-href":f.href,"data-precedence":f.precedence,href:null,precedence:null});return h=(i.ownerDocument||i).createElement("style"),an(h),mn(h,"style",S),rd(h,f.precedence,i),l.instance=h;case"stylesheet":S=ss(f.href);var T=i.querySelector(Hl(S));if(T)return l.state.loading|=4,l.instance=T,an(T),T;h=N_(f),(S=br.get(S))&&Ph(h,S),T=(i.ownerDocument||i).createElement("link"),an(T);var F=T;return F._p=new Promise(function(q,X){F.onload=q,F.onerror=X}),mn(T,"link",h),l.state.loading|=4,rd(T,f.precedence,i),l.instance=T;case"script":return T=ls(f.src),(S=i.querySelector($l(T)))?(l.instance=S,an(S),S):(h=f,(S=br.get(T))&&(h=I({},f),Fh(h,S)),i=i.ownerDocument||i,S=i.createElement("script"),an(S),mn(S,"link",h),i.head.appendChild(S),l.instance=S);case"void":return null;default:throw Error(r(443,l.type))}else l.type==="stylesheet"&&!(l.state.loading&4)&&(h=l.instance,l.state.loading|=4,rd(h,f.precedence,i));return l.instance}function rd(i,l,f){for(var h=f.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),S=h.length?h[h.length-1]:null,T=S,F=0;F title"):null)}function U6(i,l,f){if(f===1||l.itemProp!=null)return!1;switch(i){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;switch(l.rel){case"stylesheet":return i=l.disabled,typeof l.precedence=="string"&&i==null;default:return!0}case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function L_(i){return!(i.type==="stylesheet"&&!(i.state.loading&3))}var ql=null;function j6(){}function G6(i,l,f){if(ql===null)throw Error(r(475));var h=ql;if(l.type==="stylesheet"&&(typeof f.media!="string"||matchMedia(f.media).matches!==!1)&&!(l.state.loading&4)){if(l.instance===null){var S=ss(f.href),T=i.querySelector(Hl(S));if(T){i=T._p,i!==null&&typeof i=="object"&&typeof i.then=="function"&&(h.count++,h=od.bind(h),i.then(h,h)),l.state.loading|=4,l.instance=T,an(T);return}T=i.ownerDocument||i,f=N_(f),(S=br.get(S))&&Ph(f,S),T=T.createElement("link"),an(T);var F=T;F._p=new Promise(function(q,X){F.onload=q,F.onerror=X}),mn(T,"link",f),l.instance=T}h.stylesheets===null&&(h.stylesheets=new Map),h.stylesheets.set(l,i),(i=l.state.preload)&&!(l.state.loading&3)&&(h.count++,l=od.bind(h),i.addEventListener("load",l),i.addEventListener("error",l))}}function H6(){if(ql===null)throw Error(r(475));var i=ql;return i.stylesheets&&i.count===0&&zh(i,i.stylesheets),0"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Wh.exports=c9(),Wh.exports}var f9=d9(),Jl={},nC;function p9(){if(nC)return Jl;nC=1,Object.defineProperty(Jl,"__esModule",{value:!0}),Jl.parse=s,Jl.serialize=d;const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,t=/^[\u0021-\u003A\u003C-\u007E]*$/,n=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,r=/^[\u0020-\u003A\u003D-\u007E]*$/,a=Object.prototype.toString,o=(()=>{const m=function(){};return m.prototype=Object.create(null),m})();function s(m,b){const y=new o,v=m.length;if(v<2)return y;const k=(b==null?void 0:b.decode)||p;let A=0;do{const x=m.indexOf("=",A);if(x===-1)break;const R=m.indexOf(";",A),N=R===-1?v:R;if(x>N){A=m.lastIndexOf(";",x-1)+1;continue}const O=u(m,A,x),_=c(m,x,O),C=m.slice(O,_);if(y[C]===void 0){let M=u(m,x+1,N),D=c(m,N,M);const I=k(m.slice(M,D));y[C]=I}A=N+1}while(Ay;){const v=m.charCodeAt(--b);if(v!==32&&v!==9)return b+1}return y}function d(m,b,y){const v=(y==null?void 0:y.encode)||encodeURIComponent;if(!e.test(m))throw new TypeError(`argument name is invalid: ${m}`);const k=v(b);if(!t.test(k))throw new TypeError(`argument val is invalid: ${b}`);let A=m+"="+k;if(!y)return A;if(y.maxAge!==void 0){if(!Number.isInteger(y.maxAge))throw new TypeError(`option maxAge is invalid: ${y.maxAge}`);A+="; Max-Age="+y.maxAge}if(y.domain){if(!n.test(y.domain))throw new TypeError(`option domain is invalid: ${y.domain}`);A+="; Domain="+y.domain}if(y.path){if(!r.test(y.path))throw new TypeError(`option path is invalid: ${y.path}`);A+="; Path="+y.path}if(y.expires){if(!g(y.expires)||!Number.isFinite(y.expires.valueOf()))throw new TypeError(`option expires is invalid: ${y.expires}`);A+="; Expires="+y.expires.toUTCString()}if(y.httpOnly&&(A+="; HttpOnly"),y.secure&&(A+="; Secure"),y.partitioned&&(A+="; Partitioned"),y.priority)switch(typeof y.priority=="string"?y.priority.toLowerCase():void 0){case"low":A+="; Priority=Low";break;case"medium":A+="; Priority=Medium";break;case"high":A+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${y.priority}`)}if(y.sameSite)switch(typeof y.sameSite=="string"?y.sameSite.toLowerCase():y.sameSite){case!0:case"strict":A+="; SameSite=Strict";break;case"lax":A+="; SameSite=Lax";break;case"none":A+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${y.sameSite}`)}return A}function p(m){if(m.indexOf("%")===-1)return m;try{return decodeURIComponent(m)}catch{return m}}function g(m){return a.call(m)==="[object Date]"}return Jl}p9();/** +`).replace(w6,"")}function S_(i,l){return l=v_(l),v_(i)===l}function ed(){}function _t(i,l,f,h,S,T){switch(f){case"children":typeof h=="string"?l==="body"||l==="textarea"&&h===""||Ii(i,h):(typeof h=="number"||typeof h=="bigint")&&l!=="body"&&Ii(i,""+h);break;case"className":lc(i,"class",h);break;case"tabIndex":lc(i,"tabindex",h);break;case"dir":case"role":case"viewBox":case"width":case"height":lc(i,f,h);break;case"style":NA(i,h,T);break;case"data":if(l!=="object"){lc(i,"data",h);break}case"src":case"href":if(h===""&&(l!=="a"||f!=="href")){i.removeAttribute(f);break}if(h==null||typeof h=="function"||typeof h=="symbol"||typeof h=="boolean"){i.removeAttribute(f);break}h=dc(""+h),i.setAttribute(f,h);break;case"action":case"formAction":if(typeof h=="function"){i.setAttribute(f,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof T=="function"&&(f==="formAction"?(l!=="input"&&_t(i,l,"name",S.name,S,null),_t(i,l,"formEncType",S.formEncType,S,null),_t(i,l,"formMethod",S.formMethod,S,null),_t(i,l,"formTarget",S.formTarget,S,null)):(_t(i,l,"encType",S.encType,S,null),_t(i,l,"method",S.method,S,null),_t(i,l,"target",S.target,S,null)));if(h==null||typeof h=="symbol"||typeof h=="boolean"){i.removeAttribute(f);break}h=dc(""+h),i.setAttribute(f,h);break;case"onClick":h!=null&&(i.onclick=ed);break;case"onScroll":h!=null&&ht("scroll",i);break;case"onScrollEnd":h!=null&&ht("scrollend",i);break;case"dangerouslySetInnerHTML":if(h!=null){if(typeof h!="object"||!("__html"in h))throw Error(r(61));if(f=h.__html,f!=null){if(S.children!=null)throw Error(r(60));i.innerHTML=f}}break;case"multiple":i.multiple=h&&typeof h!="function"&&typeof h!="symbol";break;case"muted":i.muted=h&&typeof h!="function"&&typeof h!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(h==null||typeof h=="function"||typeof h=="boolean"||typeof h=="symbol"){i.removeAttribute("xlink:href");break}f=dc(""+h),i.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",f);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":h!=null&&typeof h!="function"&&typeof h!="symbol"?i.setAttribute(f,""+h):i.removeAttribute(f);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":h&&typeof h!="function"&&typeof h!="symbol"?i.setAttribute(f,""):i.removeAttribute(f);break;case"capture":case"download":h===!0?i.setAttribute(f,""):h!==!1&&h!=null&&typeof h!="function"&&typeof h!="symbol"?i.setAttribute(f,h):i.removeAttribute(f);break;case"cols":case"rows":case"size":case"span":h!=null&&typeof h!="function"&&typeof h!="symbol"&&!isNaN(h)&&1<=h?i.setAttribute(f,h):i.removeAttribute(f);break;case"rowSpan":case"start":h==null||typeof h=="function"||typeof h=="symbol"||isNaN(h)?i.removeAttribute(f):i.setAttribute(f,h);break;case"popover":ht("beforetoggle",i),ht("toggle",i),sc(i,"popover",h);break;case"xlinkActuate":ha(i,"http://www.w3.org/1999/xlink","xlink:actuate",h);break;case"xlinkArcrole":ha(i,"http://www.w3.org/1999/xlink","xlink:arcrole",h);break;case"xlinkRole":ha(i,"http://www.w3.org/1999/xlink","xlink:role",h);break;case"xlinkShow":ha(i,"http://www.w3.org/1999/xlink","xlink:show",h);break;case"xlinkTitle":ha(i,"http://www.w3.org/1999/xlink","xlink:title",h);break;case"xlinkType":ha(i,"http://www.w3.org/1999/xlink","xlink:type",h);break;case"xmlBase":ha(i,"http://www.w3.org/XML/1998/namespace","xml:base",h);break;case"xmlLang":ha(i,"http://www.w3.org/XML/1998/namespace","xml:lang",h);break;case"xmlSpace":ha(i,"http://www.w3.org/XML/1998/namespace","xml:space",h);break;case"is":sc(i,"is",h);break;case"innerText":case"textContent":break;default:(!(2"u"?null:document;function __(i,l,f){var h=is;if(h&&typeof l=="string"&&l){var S=sr(l);S='link[rel="'+i+'"][href="'+S+'"]',typeof f=="string"&&(S+='[crossorigin="'+f+'"]'),R_.has(S)||(R_.add(S),i={rel:i,crossOrigin:f,href:l},h.querySelector(S)===null&&(l=h.createElement("link"),mn(l,"link",i),an(l),h.head.appendChild(l)))}}function D6(i){Na.D(i),__("dns-prefetch",i,null)}function I6(i,l){Na.C(i,l),__("preconnect",i,l)}function L6(i,l,f){Na.L(i,l,f);var h=is;if(h&&i&&l){var S='link[rel="preload"][as="'+sr(l)+'"]';l==="image"&&f&&f.imageSrcSet?(S+='[imagesrcset="'+sr(f.imageSrcSet)+'"]',typeof f.imageSizes=="string"&&(S+='[imagesizes="'+sr(f.imageSizes)+'"]')):S+='[href="'+sr(i)+'"]';var T=S;switch(l){case"style":T=ss(i);break;case"script":T=ls(i)}br.has(T)||(i=I({rel:"preload",href:l==="image"&&f&&f.imageSrcSet?void 0:i,as:l},f),br.set(T,i),h.querySelector(S)!==null||l==="style"&&h.querySelector(Hl(T))||l==="script"&&h.querySelector($l(T))||(l=h.createElement("link"),mn(l,"link",i),an(l),h.head.appendChild(l)))}}function M6(i,l){Na.m(i,l);var f=is;if(f&&i){var h=l&&typeof l.as=="string"?l.as:"script",S='link[rel="modulepreload"][as="'+sr(h)+'"][href="'+sr(i)+'"]',T=S;switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":T=ls(i)}if(!br.has(T)&&(i=I({rel:"modulepreload",href:i},l),br.set(T,i),f.querySelector(S)===null)){switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(f.querySelector($l(T)))return}h=f.createElement("link"),mn(h,"link",i),an(h),f.head.appendChild(h)}}}function P6(i,l,f){Na.S(i,l,f);var h=is;if(h&&i){var S=Ni(h).hoistableStyles,T=ss(i);l=l||"default";var F=S.get(T);if(!F){var q={loading:0,preload:null};if(F=h.querySelector(Hl(T)))q.loading=5;else{i=I({rel:"stylesheet",href:i,"data-precedence":l},f),(f=br.get(T))&&Ph(i,f);var X=F=h.createElement("link");an(X),mn(X,"link",i),X._p=new Promise(function(oe,be){X.onload=oe,X.onerror=be}),X.addEventListener("load",function(){q.loading|=1}),X.addEventListener("error",function(){q.loading|=2}),q.loading|=4,rd(F,l,h)}F={type:"stylesheet",instance:F,count:1,state:q},S.set(T,F)}}}function F6(i,l){Na.X(i,l);var f=is;if(f&&i){var h=Ni(f).hoistableScripts,S=ls(i),T=h.get(S);T||(T=f.querySelector($l(S)),T||(i=I({src:i,async:!0},l),(l=br.get(S))&&Fh(i,l),T=f.createElement("script"),an(T),mn(T,"link",i),f.head.appendChild(T)),T={type:"script",instance:T,count:1,state:null},h.set(S,T))}}function z6(i,l){Na.M(i,l);var f=is;if(f&&i){var h=Ni(f).hoistableScripts,S=ls(i),T=h.get(S);T||(T=f.querySelector($l(S)),T||(i=I({src:i,async:!0,type:"module"},l),(l=br.get(S))&&Fh(i,l),T=f.createElement("script"),an(T),mn(T,"link",i),f.head.appendChild(T)),T={type:"script",instance:T,count:1,state:null},h.set(S,T))}}function C_(i,l,f,h){var S=(S=Ie.current)?nd(S):null;if(!S)throw Error(r(446));switch(i){case"meta":case"title":return null;case"style":return typeof f.precedence=="string"&&typeof f.href=="string"?(l=ss(f.href),f=Ni(S).hoistableStyles,h=f.get(l),h||(h={type:"style",instance:null,count:0,state:null},f.set(l,h)),h):{type:"void",instance:null,count:0,state:null};case"link":if(f.rel==="stylesheet"&&typeof f.href=="string"&&typeof f.precedence=="string"){i=ss(f.href);var T=Ni(S).hoistableStyles,F=T.get(i);if(F||(S=S.ownerDocument||S,F={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},T.set(i,F),(T=S.querySelector(Hl(i)))&&!T._p&&(F.instance=T,F.state.loading=5),br.has(i)||(f={rel:"preload",as:"style",href:f.href,crossOrigin:f.crossOrigin,integrity:f.integrity,media:f.media,hrefLang:f.hrefLang,referrerPolicy:f.referrerPolicy},br.set(i,f),T||B6(S,i,f,F.state))),l&&h===null)throw Error(r(528,""));return F}if(l&&h!==null)throw Error(r(529,""));return null;case"script":return l=f.async,f=f.src,typeof f=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=ls(f),f=Ni(S).hoistableScripts,h=f.get(l),h||(h={type:"script",instance:null,count:0,state:null},f.set(l,h)),h):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,i))}}function ss(i){return'href="'+sr(i)+'"'}function Hl(i){return'link[rel="stylesheet"]['+i+"]"}function N_(i){return I({},i,{"data-precedence":i.precedence,precedence:null})}function B6(i,l,f,h){i.querySelector('link[rel="preload"][as="style"]['+l+"]")?h.loading=1:(l=i.createElement("link"),h.preload=l,l.addEventListener("load",function(){return h.loading|=1}),l.addEventListener("error",function(){return h.loading|=2}),mn(l,"link",f),an(l),i.head.appendChild(l))}function ls(i){return'[src="'+sr(i)+'"]'}function $l(i){return"script[async]"+i}function O_(i,l,f){if(l.count++,l.instance===null)switch(l.type){case"style":var h=i.querySelector('style[data-href~="'+sr(f.href)+'"]');if(h)return l.instance=h,an(h),h;var S=I({},f,{"data-href":f.href,"data-precedence":f.precedence,href:null,precedence:null});return h=(i.ownerDocument||i).createElement("style"),an(h),mn(h,"style",S),rd(h,f.precedence,i),l.instance=h;case"stylesheet":S=ss(f.href);var T=i.querySelector(Hl(S));if(T)return l.state.loading|=4,l.instance=T,an(T),T;h=N_(f),(S=br.get(S))&&Ph(h,S),T=(i.ownerDocument||i).createElement("link"),an(T);var F=T;return F._p=new Promise(function(q,X){F.onload=q,F.onerror=X}),mn(T,"link",h),l.state.loading|=4,rd(T,f.precedence,i),l.instance=T;case"script":return T=ls(f.src),(S=i.querySelector($l(T)))?(l.instance=S,an(S),S):(h=f,(S=br.get(T))&&(h=I({},f),Fh(h,S)),i=i.ownerDocument||i,S=i.createElement("script"),an(S),mn(S,"link",h),i.head.appendChild(S),l.instance=S);case"void":return null;default:throw Error(r(443,l.type))}else l.type==="stylesheet"&&!(l.state.loading&4)&&(h=l.instance,l.state.loading|=4,rd(h,f.precedence,i));return l.instance}function rd(i,l,f){for(var h=f.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),S=h.length?h[h.length-1]:null,T=S,F=0;F title"):null)}function U6(i,l,f){if(f===1||l.itemProp!=null)return!1;switch(i){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;switch(l.rel){case"stylesheet":return i=l.disabled,typeof l.precedence=="string"&&i==null;default:return!0}case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function L_(i){return!(i.type==="stylesheet"&&!(i.state.loading&3))}var ql=null;function j6(){}function G6(i,l,f){if(ql===null)throw Error(r(475));var h=ql;if(l.type==="stylesheet"&&(typeof f.media!="string"||matchMedia(f.media).matches!==!1)&&!(l.state.loading&4)){if(l.instance===null){var S=ss(f.href),T=i.querySelector(Hl(S));if(T){i=T._p,i!==null&&typeof i=="object"&&typeof i.then=="function"&&(h.count++,h=od.bind(h),i.then(h,h)),l.state.loading|=4,l.instance=T,an(T);return}T=i.ownerDocument||i,f=N_(f),(S=br.get(S))&&Ph(f,S),T=T.createElement("link"),an(T);var F=T;F._p=new Promise(function(q,X){F.onload=q,F.onerror=X}),mn(T,"link",f),l.instance=T}h.stylesheets===null&&(h.stylesheets=new Map),h.stylesheets.set(l,i),(i=l.state.preload)&&!(l.state.loading&3)&&(h.count++,l=od.bind(h),i.addEventListener("load",l),i.addEventListener("error",l))}}function H6(){if(ql===null)throw Error(r(475));var i=ql;return i.stylesheets&&i.count===0&&zh(i,i.stylesheets),0"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Wh.exports=cq(),Wh.exports}var fq=dq(),Jl={},nC;function pq(){if(nC)return Jl;nC=1,Object.defineProperty(Jl,"__esModule",{value:!0}),Jl.parse=s,Jl.serialize=d;const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,t=/^[\u0021-\u003A\u003C-\u007E]*$/,n=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,r=/^[\u0020-\u003A\u003D-\u007E]*$/,a=Object.prototype.toString,o=(()=>{const m=function(){};return m.prototype=Object.create(null),m})();function s(m,b){const y=new o,v=m.length;if(v<2)return y;const k=(b==null?void 0:b.decode)||p;let A=0;do{const x=m.indexOf("=",A);if(x===-1)break;const R=m.indexOf(";",A),N=R===-1?v:R;if(x>N){A=m.lastIndexOf(";",x-1)+1;continue}const O=u(m,A,x),_=c(m,x,O),C=m.slice(O,_);if(y[C]===void 0){let M=u(m,x+1,N),D=c(m,N,M);const I=k(m.slice(M,D));y[C]=I}A=N+1}while(Ay;){const v=m.charCodeAt(--b);if(v!==32&&v!==9)return b+1}return y}function d(m,b,y){const v=(y==null?void 0:y.encode)||encodeURIComponent;if(!e.test(m))throw new TypeError(`argument name is invalid: ${m}`);const k=v(b);if(!t.test(k))throw new TypeError(`argument val is invalid: ${b}`);let A=m+"="+k;if(!y)return A;if(y.maxAge!==void 0){if(!Number.isInteger(y.maxAge))throw new TypeError(`option maxAge is invalid: ${y.maxAge}`);A+="; Max-Age="+y.maxAge}if(y.domain){if(!n.test(y.domain))throw new TypeError(`option domain is invalid: ${y.domain}`);A+="; Domain="+y.domain}if(y.path){if(!r.test(y.path))throw new TypeError(`option path is invalid: ${y.path}`);A+="; Path="+y.path}if(y.expires){if(!g(y.expires)||!Number.isFinite(y.expires.valueOf()))throw new TypeError(`option expires is invalid: ${y.expires}`);A+="; Expires="+y.expires.toUTCString()}if(y.httpOnly&&(A+="; HttpOnly"),y.secure&&(A+="; Secure"),y.partitioned&&(A+="; Partitioned"),y.priority)switch(typeof y.priority=="string"?y.priority.toLowerCase():void 0){case"low":A+="; Priority=Low";break;case"medium":A+="; Priority=Medium";break;case"high":A+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${y.priority}`)}if(y.sameSite)switch(typeof y.sameSite=="string"?y.sameSite.toLowerCase():y.sameSite){case!0:case"strict":A+="; SameSite=Strict";break;case"lax":A+="; SameSite=Lax";break;case"none":A+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${y.sameSite}`)}return A}function p(m){if(m.indexOf("%")===-1)return m;try{return decodeURIComponent(m)}catch{return m}}function g(m){return a.call(m)==="[object Date]"}return Jl}pq();/** * react-router v7.3.0 * * Copyright (c) Remix Software Inc. @@ -55,9 +55,9 @@ Error generating stack: `+f.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */var rC="popstate";function g9(e={}){function t(a,o){let{pathname:s="/",search:u="",hash:c=""}=wi(a.location.hash.substring(1));return!s.startsWith("/")&&!s.startsWith(".")&&(s="/"+s),sk("",{pathname:s,search:u,hash:c},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(a,o){let s=a.document.querySelector("base"),u="";if(s&&s.getAttribute("href")){let c=a.location.href,d=c.indexOf("#");u=d===-1?c:c.slice(0,d)}return u+"#"+(typeof o=="string"?o:Eu(o))}function r(a,o){zr(a.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(o)})`)}return m9(t,n,r,e)}function jt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function zr(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function h9(){return Math.random().toString(36).substring(2,10)}function aC(e,t){return{usr:e.state,key:e.key,idx:t}}function sk(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?wi(t):t,state:n,key:t&&t.key||r||h9()}}function Eu({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function wi(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function m9(e,t,n,r={}){let{window:a=document.defaultView,v5Compat:o=!1}=r,s=a.history,u="POP",c=null,d=p();d==null&&(d=0,s.replaceState({...s.state,idx:d},""));function p(){return(s.state||{idx:null}).idx}function g(){u="POP";let k=p(),A=k==null?null:k-d;d=k,c&&c({action:u,location:v.location,delta:A})}function m(k,A){u="PUSH";let x=sk(v.location,k,A);n&&n(x,k),d=p()+1;let R=aC(x,d),N=v.createHref(x);try{s.pushState(R,"",N)}catch(O){if(O instanceof DOMException&&O.name==="DataCloneError")throw O;a.location.assign(N)}o&&c&&c({action:u,location:v.location,delta:1})}function b(k,A){u="REPLACE";let x=sk(v.location,k,A);n&&n(x,k),d=p();let R=aC(x,d),N=v.createHref(x);s.replaceState(R,"",N),o&&c&&c({action:u,location:v.location,delta:0})}function y(k){let A=a.location.origin!=="null"?a.location.origin:a.location.href,x=typeof k=="string"?k:Eu(k);return x=x.replace(/ $/,"%20"),jt(A,`No window.location.(origin|href) available to create URL for href: ${x}`),new URL(x,A)}let v={get action(){return u},get location(){return e(a,s)},listen(k){if(c)throw new Error("A history only accepts one active listener");return a.addEventListener(rC,g),c=k,()=>{a.removeEventListener(rC,g),c=null}},createHref(k){return t(a,k)},createURL:y,encodeLocation(k){let A=y(k);return{pathname:A.pathname,search:A.search,hash:A.hash}},push:m,replace:b,go(k){return s.go(k)}};return v}function zz(e,t,n="/"){return b9(e,t,n,!1)}function b9(e,t,n,r){let a=typeof t=="string"?wi(t):t,o=za(a.pathname||"/",n);if(o==null)return null;let s=Bz(e);y9(s);let u=null;for(let c=0;u==null&&c{let c={relativePath:u===void 0?o.path||"":u,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};c.relativePath.startsWith("/")&&(jt(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length));let d=Pa([r,c.relativePath]),p=n.concat(c);o.children&&o.children.length>0&&(jt(o.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${d}".`),Bz(o.children,t,p,d)),!(o.path==null&&!o.index)&&t.push({path:d,score:T9(d,o.index),routesMeta:p})};return e.forEach((o,s)=>{var u;if(o.path===""||!((u=o.path)!=null&&u.includes("?")))a(o,s);else for(let c of Uz(o.path))a(o,s,c)}),t}function Uz(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,a=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return a?[o,""]:[o];let s=Uz(r.join("/")),u=[];return u.push(...s.map(c=>c===""?o:[o,c].join("/"))),a&&u.push(...s),u.map(c=>e.startsWith("/")&&c===""?"/":c)}function y9(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:A9(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var v9=/^:[\w-]+$/,S9=3,E9=2,w9=1,x9=10,k9=-2,oC=e=>e==="*";function T9(e,t){let n=e.split("/"),r=n.length;return n.some(oC)&&(r+=k9),t&&(r+=E9),n.filter(a=>!oC(a)).reduce((a,o)=>a+(v9.test(o)?S9:o===""?w9:x9),r)}function A9(e,t){return e.length===t.length&&e.slice(0,-1).every((r,a)=>r===t[a])?e[e.length-1]-t[t.length-1]:0}function R9(e,t,n=!1){let{routesMeta:r}=e,a={},o="/",s=[];for(let u=0;u{if(p==="*"){let y=u[m]||"";s=o.slice(0,o.length-y.length).replace(/(.)\/+$/,"$1")}const b=u[m];return g&&!b?d[p]=void 0:d[p]=(b||"").replace(/%2F/g,"/"),d},{}),pathname:o,pathnameBase:s,pattern:e}}function _9(e,t=!1,n=!0){zr(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 r=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,u,c)=>(r.push({paramName:u,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),r]}function C9(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return zr(!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 za(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function N9(e,t="/"){let{pathname:n,search:r="",hash:a=""}=typeof e=="string"?wi(e):e;return{pathname:n?n.startsWith("/")?n:O9(n,t):t,search:L9(r),hash:M9(a)}}function O9(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?n.length>1&&n.pop():a!=="."&&n.push(a)}),n.length>1?n.join("/"):"/"}function Zh(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function D9(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function jz(e){let t=D9(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function Gz(e,t,n,r=!1){let a;typeof e=="string"?a=wi(e):(a={...e},jt(!a.pathname||!a.pathname.includes("?"),Zh("?","pathname","search",a)),jt(!a.pathname||!a.pathname.includes("#"),Zh("#","pathname","hash",a)),jt(!a.search||!a.search.includes("#"),Zh("#","search","hash",a)));let o=e===""||a.pathname==="",s=o?"/":a.pathname,u;if(s==null)u=n;else{let g=t.length-1;if(!r&&s.startsWith("..")){let m=s.split("/");for(;m[0]==="..";)m.shift(),g-=1;a.pathname=m.join("/")}u=g>=0?t[g]:"/"}let c=N9(a,u),d=s&&s!=="/"&&s.endsWith("/"),p=(o||s===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(d||p)&&(c.pathname+="/"),c}var Pa=e=>e.join("/").replace(/\/\/+/g,"/"),I9=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),L9=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,M9=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function P9(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var Hz=["POST","PUT","PATCH","DELETE"];new Set(Hz);var F9=["GET",...Hz];new Set(F9);var Us=w.createContext(null);Us.displayName="DataRouter";var $f=w.createContext(null);$f.displayName="DataRouterState";var $z=w.createContext({isTransitioning:!1});$z.displayName="ViewTransition";var z9=w.createContext(new Map);z9.displayName="Fetchers";var B9=w.createContext(null);B9.displayName="Await";var ia=w.createContext(null);ia.displayName="Navigation";var Bu=w.createContext(null);Bu.displayName="Location";var Ha=w.createContext({outlet:null,matches:[],isDataRoute:!1});Ha.displayName="Route";var k0=w.createContext(null);k0.displayName="RouteError";function U9(e,{relative:t}={}){jt(Uu(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=w.useContext(ia),{hash:a,pathname:o,search:s}=ju(e,{relative:t}),u=o;return n!=="/"&&(u=o==="/"?n:Pa([n,o])),r.createHref({pathname:u,search:s,hash:a})}function Uu(){return w.useContext(Bu)!=null}function xi(){return jt(Uu(),"useLocation() may be used only in the context of a component."),w.useContext(Bu).location}var qz="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Vz(e){w.useContext(ia).static||w.useLayoutEffect(e)}function T0(){let{isDataRoute:e}=w.useContext(Ha);return e?J9():j9()}function j9(){jt(Uu(),"useNavigate() may be used only in the context of a component.");let e=w.useContext(Us),{basename:t,navigator:n}=w.useContext(ia),{matches:r}=w.useContext(Ha),{pathname:a}=xi(),o=JSON.stringify(jz(r)),s=w.useRef(!1);return Vz(()=>{s.current=!0}),w.useCallback((c,d={})=>{if(zr(s.current,qz),!s.current)return;if(typeof c=="number"){n.go(c);return}let p=Gz(c,JSON.parse(o),a,d.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:Pa([t,p.pathname])),(d.replace?n.replace:n.push)(p,d.state,d)},[t,n,o,a,e])}w.createContext(null);function ju(e,{relative:t}={}){let{matches:n}=w.useContext(Ha),{pathname:r}=xi(),a=JSON.stringify(jz(n));return w.useMemo(()=>Gz(e,JSON.parse(a),r,t==="path"),[e,a,r,t])}function G9(e,t){return Wz(e,t)}function Wz(e,t,n,r){var x;jt(Uu(),"useRoutes() may be used only in the context of a component.");let{navigator:a,static:o}=w.useContext(ia),{matches:s}=w.useContext(Ha),u=s[s.length-1],c=u?u.params:{},d=u?u.pathname:"/",p=u?u.pathnameBase:"/",g=u&&u.route;{let R=g&&g.path||"";Yz(d,!g||R.endsWith("*")||R.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 rC="popstate";function gq(e={}){function t(a,o){let{pathname:s="/",search:u="",hash:c=""}=wi(a.location.hash.substring(1));return!s.startsWith("/")&&!s.startsWith(".")&&(s="/"+s),sk("",{pathname:s,search:u,hash:c},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(a,o){let s=a.document.querySelector("base"),u="";if(s&&s.getAttribute("href")){let c=a.location.href,d=c.indexOf("#");u=d===-1?c:c.slice(0,d)}return u+"#"+(typeof o=="string"?o:Eu(o))}function r(a,o){zr(a.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(o)})`)}return mq(t,n,r,e)}function jt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function zr(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function hq(){return Math.random().toString(36).substring(2,10)}function aC(e,t){return{usr:e.state,key:e.key,idx:t}}function sk(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?wi(t):t,state:n,key:t&&t.key||r||hq()}}function Eu({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function wi(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function mq(e,t,n,r={}){let{window:a=document.defaultView,v5Compat:o=!1}=r,s=a.history,u="POP",c=null,d=p();d==null&&(d=0,s.replaceState({...s.state,idx:d},""));function p(){return(s.state||{idx:null}).idx}function g(){u="POP";let k=p(),A=k==null?null:k-d;d=k,c&&c({action:u,location:v.location,delta:A})}function m(k,A){u="PUSH";let x=sk(v.location,k,A);n&&n(x,k),d=p()+1;let R=aC(x,d),N=v.createHref(x);try{s.pushState(R,"",N)}catch(O){if(O instanceof DOMException&&O.name==="DataCloneError")throw O;a.location.assign(N)}o&&c&&c({action:u,location:v.location,delta:1})}function b(k,A){u="REPLACE";let x=sk(v.location,k,A);n&&n(x,k),d=p();let R=aC(x,d),N=v.createHref(x);s.replaceState(R,"",N),o&&c&&c({action:u,location:v.location,delta:0})}function y(k){let A=a.location.origin!=="null"?a.location.origin:a.location.href,x=typeof k=="string"?k:Eu(k);return x=x.replace(/ $/,"%20"),jt(A,`No window.location.(origin|href) available to create URL for href: ${x}`),new URL(x,A)}let v={get action(){return u},get location(){return e(a,s)},listen(k){if(c)throw new Error("A history only accepts one active listener");return a.addEventListener(rC,g),c=k,()=>{a.removeEventListener(rC,g),c=null}},createHref(k){return t(a,k)},createURL:y,encodeLocation(k){let A=y(k);return{pathname:A.pathname,search:A.search,hash:A.hash}},push:m,replace:b,go(k){return s.go(k)}};return v}function zz(e,t,n="/"){return bq(e,t,n,!1)}function bq(e,t,n,r){let a=typeof t=="string"?wi(t):t,o=za(a.pathname||"/",n);if(o==null)return null;let s=Bz(e);yq(s);let u=null;for(let c=0;u==null&&c{let c={relativePath:u===void 0?o.path||"":u,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};c.relativePath.startsWith("/")&&(jt(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length));let d=Pa([r,c.relativePath]),p=n.concat(c);o.children&&o.children.length>0&&(jt(o.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${d}".`),Bz(o.children,t,p,d)),!(o.path==null&&!o.index)&&t.push({path:d,score:Tq(d,o.index),routesMeta:p})};return e.forEach((o,s)=>{var u;if(o.path===""||!((u=o.path)!=null&&u.includes("?")))a(o,s);else for(let c of Uz(o.path))a(o,s,c)}),t}function Uz(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,a=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return a?[o,""]:[o];let s=Uz(r.join("/")),u=[];return u.push(...s.map(c=>c===""?o:[o,c].join("/"))),a&&u.push(...s),u.map(c=>e.startsWith("/")&&c===""?"/":c)}function yq(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Aq(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var vq=/^:[\w-]+$/,Sq=3,Eq=2,wq=1,xq=10,kq=-2,oC=e=>e==="*";function Tq(e,t){let n=e.split("/"),r=n.length;return n.some(oC)&&(r+=kq),t&&(r+=Eq),n.filter(a=>!oC(a)).reduce((a,o)=>a+(vq.test(o)?Sq:o===""?wq:xq),r)}function Aq(e,t){return e.length===t.length&&e.slice(0,-1).every((r,a)=>r===t[a])?e[e.length-1]-t[t.length-1]:0}function Rq(e,t,n=!1){let{routesMeta:r}=e,a={},o="/",s=[];for(let u=0;u{if(p==="*"){let y=u[m]||"";s=o.slice(0,o.length-y.length).replace(/(.)\/+$/,"$1")}const b=u[m];return g&&!b?d[p]=void 0:d[p]=(b||"").replace(/%2F/g,"/"),d},{}),pathname:o,pathnameBase:s,pattern:e}}function _q(e,t=!1,n=!0){zr(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 r=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,u,c)=>(r.push({paramName:u,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),r]}function Cq(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return zr(!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 za(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Nq(e,t="/"){let{pathname:n,search:r="",hash:a=""}=typeof e=="string"?wi(e):e;return{pathname:n?n.startsWith("/")?n:Oq(n,t):t,search:Lq(r),hash:Mq(a)}}function Oq(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?n.length>1&&n.pop():a!=="."&&n.push(a)}),n.length>1?n.join("/"):"/"}function Zh(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function Dq(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function jz(e){let t=Dq(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function Gz(e,t,n,r=!1){let a;typeof e=="string"?a=wi(e):(a={...e},jt(!a.pathname||!a.pathname.includes("?"),Zh("?","pathname","search",a)),jt(!a.pathname||!a.pathname.includes("#"),Zh("#","pathname","hash",a)),jt(!a.search||!a.search.includes("#"),Zh("#","search","hash",a)));let o=e===""||a.pathname==="",s=o?"/":a.pathname,u;if(s==null)u=n;else{let g=t.length-1;if(!r&&s.startsWith("..")){let m=s.split("/");for(;m[0]==="..";)m.shift(),g-=1;a.pathname=m.join("/")}u=g>=0?t[g]:"/"}let c=Nq(a,u),d=s&&s!=="/"&&s.endsWith("/"),p=(o||s===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(d||p)&&(c.pathname+="/"),c}var Pa=e=>e.join("/").replace(/\/\/+/g,"/"),Iq=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Lq=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Mq=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Pq(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var Hz=["POST","PUT","PATCH","DELETE"];new Set(Hz);var Fq=["GET",...Hz];new Set(Fq);var Us=w.createContext(null);Us.displayName="DataRouter";var $f=w.createContext(null);$f.displayName="DataRouterState";var $z=w.createContext({isTransitioning:!1});$z.displayName="ViewTransition";var zq=w.createContext(new Map);zq.displayName="Fetchers";var Bq=w.createContext(null);Bq.displayName="Await";var ia=w.createContext(null);ia.displayName="Navigation";var Bu=w.createContext(null);Bu.displayName="Location";var Ha=w.createContext({outlet:null,matches:[],isDataRoute:!1});Ha.displayName="Route";var k0=w.createContext(null);k0.displayName="RouteError";function Uq(e,{relative:t}={}){jt(Uu(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=w.useContext(ia),{hash:a,pathname:o,search:s}=ju(e,{relative:t}),u=o;return n!=="/"&&(u=o==="/"?n:Pa([n,o])),r.createHref({pathname:u,search:s,hash:a})}function Uu(){return w.useContext(Bu)!=null}function xi(){return jt(Uu(),"useLocation() may be used only in the context of a component."),w.useContext(Bu).location}var qz="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Vz(e){w.useContext(ia).static||w.useLayoutEffect(e)}function T0(){let{isDataRoute:e}=w.useContext(Ha);return e?Jq():jq()}function jq(){jt(Uu(),"useNavigate() may be used only in the context of a component.");let e=w.useContext(Us),{basename:t,navigator:n}=w.useContext(ia),{matches:r}=w.useContext(Ha),{pathname:a}=xi(),o=JSON.stringify(jz(r)),s=w.useRef(!1);return Vz(()=>{s.current=!0}),w.useCallback((c,d={})=>{if(zr(s.current,qz),!s.current)return;if(typeof c=="number"){n.go(c);return}let p=Gz(c,JSON.parse(o),a,d.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:Pa([t,p.pathname])),(d.replace?n.replace:n.push)(p,d.state,d)},[t,n,o,a,e])}w.createContext(null);function ju(e,{relative:t}={}){let{matches:n}=w.useContext(Ha),{pathname:r}=xi(),a=JSON.stringify(jz(n));return w.useMemo(()=>Gz(e,JSON.parse(a),r,t==="path"),[e,a,r,t])}function Gq(e,t){return Wz(e,t)}function Wz(e,t,n,r){var x;jt(Uu(),"useRoutes() may be used only in the context of a component.");let{navigator:a,static:o}=w.useContext(ia),{matches:s}=w.useContext(Ha),u=s[s.length-1],c=u?u.params:{},d=u?u.pathname:"/",p=u?u.pathnameBase:"/",g=u&&u.route;{let R=g&&g.path||"";Yz(d,!g||R.endsWith("*")||R.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 m=xi(),b;if(t){let R=typeof t=="string"?wi(t):t;jt(p==="/"||((x=R.pathname)==null?void 0:x.startsWith(p)),`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 "${p}" but pathname "${R.pathname}" was given in the \`location\` prop.`),b=R}else b=m;let y=b.pathname||"/",v=y;if(p!=="/"){let R=p.replace(/^\//,"").split("/");v="/"+y.replace(/^\//,"").split("/").slice(R.length).join("/")}let k=!o&&n&&n.matches&&n.matches.length>0?n.matches:zz(e,{pathname:v});zr(g||k!=null,`No routes matched location "${b.pathname}${b.search}${b.hash}" `),zr(k==null||k[k.length-1].route.element!==void 0||k[k.length-1].route.Component!==void 0||k[k.length-1].route.lazy!==void 0,`Matched leaf route at location "${b.pathname}${b.search}${b.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 A=W9(k&&k.map(R=>Object.assign({},R,{params:Object.assign({},c,R.params),pathname:Pa([p,a.encodeLocation?a.encodeLocation(R.pathname).pathname:R.pathname]),pathnameBase:R.pathnameBase==="/"?p:Pa([p,a.encodeLocation?a.encodeLocation(R.pathnameBase).pathname:R.pathnameBase])})),s,n,r);return t&&A?w.createElement(Bu.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...b},navigationType:"POP"}},A):A}function H9(){let e=Q9(),t=P9(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:r},o={padding:"2px 4px",backgroundColor:r},s=null;return console.error("Error handled by React Router default ErrorBoundary:",e),s=w.createElement(w.Fragment,null,w.createElement("p",null,"💿 Hey developer 👋"),w.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",w.createElement("code",{style:o},"ErrorBoundary")," or"," ",w.createElement("code",{style:o},"errorElement")," prop on your route.")),w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},t),n?w.createElement("pre",{style:a},n):null,s)}var $9=w.createElement(H9,null),q9=class extends w.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){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?w.createElement(Ha.Provider,{value:this.props.routeContext},w.createElement(k0.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function V9({routeContext:e,match:t,children:n}){let r=w.useContext(Us);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),w.createElement(Ha.Provider,{value:e},n)}function W9(e,t=[],n=null,r=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let a=e,o=n==null?void 0:n.errors;if(o!=null){let c=a.findIndex(d=>d.route.id&&(o==null?void 0:o[d.route.id])!==void 0);jt(c>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(o).join(",")}`),a=a.slice(0,Math.min(a.length,c+1))}let s=!1,u=-1;if(n)for(let c=0;c=0?a=a.slice(0,u+1):a=[a[0]];break}}}return a.reduceRight((c,d,p)=>{let g,m=!1,b=null,y=null;n&&(g=o&&d.route.id?o[d.route.id]:void 0,b=d.route.errorElement||$9,s&&(u<0&&p===0?(Yz("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),m=!0,y=null):u===p&&(m=!0,y=d.route.hydrateFallbackElement||null)));let v=t.concat(a.slice(0,p+1)),k=()=>{let A;return g?A=b:m?A=y:d.route.Component?A=w.createElement(d.route.Component,null):d.route.element?A=d.route.element:A=c,w.createElement(V9,{match:d,routeContext:{outlet:c,matches:v,isDataRoute:n!=null},children:A})};return n&&(d.route.ErrorBoundary||d.route.errorElement||p===0)?w.createElement(q9,{location:n.location,revalidation:n.revalidation,component:b,error:g,children:k(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):k()},null)}function A0(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Y9(e){let t=w.useContext(Us);return jt(t,A0(e)),t}function K9(e){let t=w.useContext($f);return jt(t,A0(e)),t}function X9(e){let t=w.useContext(Ha);return jt(t,A0(e)),t}function R0(e){let t=X9(e),n=t.matches[t.matches.length-1];return jt(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function Z9(){return R0("useRouteId")}function Q9(){var r;let e=w.useContext(k0),t=K9("useRouteError"),n=R0("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function J9(){let{router:e}=Y9("useNavigate"),t=R0("useNavigate"),n=w.useRef(!1);return Vz(()=>{n.current=!0}),w.useCallback(async(a,o={})=>{zr(n.current,qz),n.current&&(typeof a=="number"?e.navigate(a):await e.navigate(a,{fromRouteId:t,...o}))},[e,t])}var iC={};function Yz(e,t,n){!t&&!iC[e]&&(iC[e]=!0,zr(!1,n))}w.memo(eq);function eq({routes:e,future:t,state:n}){return Wz(e,void 0,n,t)}function lk(e){jt(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function tq({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:a,static:o=!1}){jt(!Uu(),"You cannot render a inside another . You should never have more than one in your app.");let s=e.replace(/^\/*/,"/"),u=w.useMemo(()=>({basename:s,navigator:a,static:o,future:{}}),[s,a,o]);typeof n=="string"&&(n=wi(n));let{pathname:c="/",search:d="",hash:p="",state:g=null,key:m="default"}=n,b=w.useMemo(()=>{let y=za(c,s);return y==null?null:{location:{pathname:y,search:d,hash:p,state:g,key:m},navigationType:r}},[s,c,d,p,g,m,r]);return zr(b!=null,` is not able to match the URL "${c}${d}${p}" because it does not start with the basename, so the won't render anything.`),b==null?null:w.createElement(ia.Provider,{value:u},w.createElement(Bu.Provider,{children:t,value:b}))}function nq({children:e,location:t}){return G9(uk(e),t)}function uk(e,t=[]){let n=[];return w.Children.forEach(e,(r,a)=>{if(!w.isValidElement(r))return;let o=[...t,a];if(r.type===w.Fragment){n.push.apply(n,uk(r.props.children,o));return}jt(r.type===lk,`[${typeof r.type=="string"?r.type:r.type.name}] is not a component. All component children of must be a or `),jt(!r.props.index||!r.props.children,"An index route cannot have child routes.");let s={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=uk(r.props.children,o)),n.push(s)}),n}var qd="get",Vd="application/x-www-form-urlencoded";function qf(e){return e!=null&&typeof e.tagName=="string"}function rq(e){return qf(e)&&e.tagName.toLowerCase()==="button"}function aq(e){return qf(e)&&e.tagName.toLowerCase()==="form"}function oq(e){return qf(e)&&e.tagName.toLowerCase()==="input"}function iq(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function sq(e,t){return e.button===0&&(!t||t==="_self")&&!iq(e)}var gd=null;function lq(){if(gd===null)try{new FormData(document.createElement("form"),0),gd=!1}catch{gd=!0}return gd}var uq=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Qh(e){return e!=null&&!uq.has(e)?(zr(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Vd}"`),null):e}function cq(e,t){let n,r,a,o,s;if(aq(e)){let u=e.getAttribute("action");r=u?za(u,t):null,n=e.getAttribute("method")||qd,a=Qh(e.getAttribute("enctype"))||Vd,o=new FormData(e)}else if(rq(e)||oq(e)&&(e.type==="submit"||e.type==="image")){let u=e.form;if(u==null)throw new Error('Cannot submit a