diff --git a/lightrag/api/webui/assets/index-C08hvvRm.js b/lightrag/api/webui/assets/index-sAkGsjRM.js similarity index 79% rename from lightrag/api/webui/assets/index-C08hvvRm.js rename to lightrag/api/webui/assets/index-sAkGsjRM.js index 97ab26c6..6ab1c154 100644 --- a/lightrag/api/webui/assets/index-C08hvvRm.js +++ b/lightrag/api/webui/assets/index-sAkGsjRM.js @@ -1,4 +1,4 @@ -var aq=Object.defineProperty;var oq=(e,t,n)=>t in e?aq(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Qr=(e,t,n)=>oq(e,typeof t!="symbol"?t+"":t,n);function iq(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 ff=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 sq(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 Wh={exports:{}},Zl={};/** +var i9=Object.defineProperty;var s9=(e,t,n)=>t in e?i9(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Qr=(e,t,n)=>s9(e,typeof t!="symbol"?t+"":t,n);function l9(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 pf=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 u9(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 Wh={exports:{}},Zl={};/** * @license React * react-jsx-runtime.production.js * @@ -6,7 +6,7 @@ var aq=Object.defineProperty;var oq=(e,t,n)=>t in e?aq(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 JC;function lq(){if(JC)return Zl;JC=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 l in a)l!=="key"&&(o[l]=a[l])}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 e_;function uq(){return e_||(e_=1,Wh.exports=lq()),Wh.exports}var E=uq(),Yh={exports:{}},lt={};/** + */var t_;function c9(){if(t_)return Zl;t_=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 l in a)l!=="key"&&(o[l]=a[l])}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 n_;function d9(){return n_||(n_=1,Wh.exports=c9()),Wh.exports}var E=d9(),Yh={exports:{}},lt={};/** * @license React * react.production.js * @@ -14,7 +14,7 @@ var aq=Object.defineProperty;var oq=(e,t,n)=>t in e?aq(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 t_;function cq(){if(t_)return lt;t_=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"),l=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(M){return M===null||typeof M!="object"?null:(M=g&&M[g]||M["@@iterator"],typeof M=="function"?M:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,v={};function k(M,V,j){this.props=M,this.context=V,this.refs=v,this.updater=j||b}k.prototype.isReactComponent={},k.prototype.setState=function(M,V){if(typeof M!="object"&&typeof M!="function"&&M!=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,M,V,"setState")},k.prototype.forceUpdate=function(M){this.updater.enqueueForceUpdate(this,M,"forceUpdate")};function A(){}A.prototype=k.prototype;function x(M,V,j){this.props=M,this.context=V,this.refs=v,this.updater=j||b}var R=x.prototype=new A;R.constructor=x,y(R,k.prototype),R.isPureReactComponent=!0;var O=Array.isArray,N={H:null,A:null,T:null,S:null},C=Object.prototype.hasOwnProperty;function _(M,V,j,P,Q,J){return j=J.ref,{$$typeof:e,type:M,key:V,ref:j!==void 0?j:null,props:J}}function L(M,V){return _(M.type,V,void 0,void 0,void 0,M.props)}function I(M){return typeof M=="object"&&M!==null&&M.$$typeof===e}function D(M){var V={"=":"=0",":":"=2"};return"$"+M.replace(/[=:]/g,function(j){return V[j]})}var U=/\/+/g;function $(M,V){return typeof M=="object"&&M!==null&&M.key!=null?D(""+M.key):V.toString(36)}function B(){}function W(M){switch(M.status){case"fulfilled":return M.value;case"rejected":throw M.reason;default:switch(typeof M.status=="string"?M.then(B,B):(M.status="pending",M.then(function(V){M.status==="pending"&&(M.status="fulfilled",M.value=V)},function(V){M.status==="pending"&&(M.status="rejected",M.reason=V)})),M.status){case"fulfilled":return M.value;case"rejected":throw M.reason}}throw M}function K(M,V,j,P,Q){var J=typeof M;(J==="undefined"||J==="boolean")&&(M=null);var ie=!1;if(M===null)ie=!0;else switch(J){case"bigint":case"string":case"number":ie=!0;break;case"object":switch(M.$$typeof){case e:case t:ie=!0;break;case p:return ie=M._init,K(ie(M._payload),V,j,P,Q)}}if(ie)return Q=Q(M),ie=P===""?"."+$(M,0):P,O(Q)?(j="",ie!=null&&(j=ie.replace(U,"$&/")+"/"),K(Q,V,j,"",function(pe){return pe})):Q!=null&&(I(Q)&&(Q=L(Q,j+(Q.key==null||M&&M.key===Q.key?"":(""+Q.key).replace(U,"$&/")+"/")+ie)),V.push(Q)),1;ie=0;var oe=P===""?".":P+":";if(O(M))for(var Z=0;Zt in e?aq(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 r_;function fq(){return r_||(r_=1,function(e){function t(H,G){var F=H.length;H.push(G);e:for(;0>>1,M=H[Y];if(0>>1;Ya(P,F))Qa(J,P)?(H[Y]=J,H[Q]=F,Y=Q):(H[Y]=P,H[j]=F,Y=j);else if(Qa(J,F))H[Y]=J,H[Q]=F,Y=Q;else break e}}return G}function a(H,G){var F=H.sortIndex-G.sortIndex;return F!==0?F:H.id-G.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,l=s.now();e.unstable_now=function(){return s.now()-l}}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(H){for(var G=n(d);G!==null;){if(G.callback===null)r(d);else if(G.startTime<=H)r(d),G.sortIndex=G.expirationTime,t(c,G);else break;G=n(d)}}function O(H){if(v=!1,R(H),!y)if(n(c)!==null)y=!0,W();else{var G=n(d);G!==null&&K(O,G.startTime-H)}}var N=!1,C=-1,_=5,L=-1;function I(){return!(e.unstable_now()-L<_)}function D(){if(N){var H=e.unstable_now();L=H;var G=!0;try{e:{y=!1,v&&(v=!1,A(C),C=-1),b=!0;var F=m;try{t:{for(R(H),g=n(c);g!==null&&!(g.expirationTime>H&&I());){var Y=g.callback;if(typeof Y=="function"){g.callback=null,m=g.priorityLevel;var M=Y(g.expirationTime<=H);if(H=e.unstable_now(),typeof M=="function"){g.callback=M,R(H),G=!0;break t}g===n(c)&&r(c),R(H)}else r(c);g=n(c)}if(g!==null)G=!0;else{var V=n(d);V!==null&&K(O,V.startTime-H),G=!1}}break e}finally{g=null,m=F,b=!1}G=void 0}}finally{G?U():N=!1}}}var U;if(typeof x=="function")U=function(){x(D)};else if(typeof MessageChannel<"u"){var $=new MessageChannel,B=$.port2;$.port1.onmessage=D,U=function(){B.postMessage(null)}}else U=function(){k(D,0)};function W(){N||(N=!0,U())}function K(H,G){C=k(function(){H(e.unstable_now())},G)}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(H){H.callback=null},e.unstable_continueExecution=function(){y||b||(y=!0,W())},e.unstable_forceFrameRate=function(H){0>H||125Y?(H.sortIndex=F,t(d,H),n(c)===null&&H===n(d)&&(v?(A(C),C=-1):v=!0,K(O,F-Y))):(H.sortIndex=M,t(c,H),y||b||(y=!0,W())),H},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(H){var G=m;return function(){var F=m;m=G;try{return H.apply(this,arguments)}finally{m=F}}}}(Zh)),Zh}var a_;function pq(){return a_||(a_=1,Xh.exports=fq()),Xh.exports}var Qh={exports:{}},wn={};/** + */var o_;function g9(){return o_||(o_=1,function(e){function t(H,G){var F=H.length;H.push(G);e:for(;0>>1,M=H[Y];if(0>>1;Ya(P,F))Qa(J,P)?(H[Y]=J,H[Q]=F,Y=Q):(H[Y]=P,H[j]=F,Y=j);else if(Qa(J,F))H[Y]=J,H[Q]=F,Y=Q;else break e}}return G}function a(H,G){var F=H.sortIndex-G.sortIndex;return F!==0?F:H.id-G.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,l=s.now();e.unstable_now=function(){return s.now()-l}}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(H){for(var G=n(d);G!==null;){if(G.callback===null)r(d);else if(G.startTime<=H)r(d),G.sortIndex=G.expirationTime,t(c,G);else break;G=n(d)}}function O(H){if(v=!1,R(H),!y)if(n(c)!==null)y=!0,W();else{var G=n(d);G!==null&&K(O,G.startTime-H)}}var N=!1,C=-1,_=5,L=-1;function I(){return!(e.unstable_now()-L<_)}function D(){if(N){var H=e.unstable_now();L=H;var G=!0;try{e:{y=!1,v&&(v=!1,A(C),C=-1),b=!0;var F=m;try{t:{for(R(H),g=n(c);g!==null&&!(g.expirationTime>H&&I());){var Y=g.callback;if(typeof Y=="function"){g.callback=null,m=g.priorityLevel;var M=Y(g.expirationTime<=H);if(H=e.unstable_now(),typeof M=="function"){g.callback=M,R(H),G=!0;break t}g===n(c)&&r(c),R(H)}else r(c);g=n(c)}if(g!==null)G=!0;else{var V=n(d);V!==null&&K(O,V.startTime-H),G=!1}}break e}finally{g=null,m=F,b=!1}G=void 0}}finally{G?U():N=!1}}}var U;if(typeof x=="function")U=function(){x(D)};else if(typeof MessageChannel<"u"){var $=new MessageChannel,B=$.port2;$.port1.onmessage=D,U=function(){B.postMessage(null)}}else U=function(){k(D,0)};function W(){N||(N=!0,U())}function K(H,G){C=k(function(){H(e.unstable_now())},G)}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(H){H.callback=null},e.unstable_continueExecution=function(){y||b||(y=!0,W())},e.unstable_forceFrameRate=function(H){0>H||125Y?(H.sortIndex=F,t(d,H),n(c)===null&&H===n(d)&&(v?(A(C),C=-1):v=!0,K(O,F-Y))):(H.sortIndex=M,t(c,H),y||b||(y=!0,W())),H},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(H){var G=m;return function(){var F=m;m=G;try{return H.apply(this,arguments)}finally{m=F}}}}(Zh)),Zh}var i_;function h9(){return i_||(i_=1,Xh.exports=g9()),Xh.exports}var Qh={exports:{}},wn={};/** * @license React * react-dom.production.js * @@ -30,7 +30,7 @@ var aq=Object.defineProperty;var oq=(e,t,n)=>t in e?aq(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 o_;function gq(){if(o_)return wn;o_=1;var e=$f();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(),Qh.exports=gq(),Qh.exports}/** + */var s_;function m9(){if(s_)return wn;s_=1;var e=$f();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(),Qh.exports=m9(),Qh.exports}/** * @license React * react-dom-client.production.js * @@ -38,15 +38,15 @@ var aq=Object.defineProperty;var oq=(e,t,n)=>t in e?aq(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 s_;function hq(){if(s_)return Ql;s_=1;var e=pq(),t=$f(),n=qz();function r(i){var u="https://react.dev/errors/"+i;if(1)":-1S||X[h]!==ae[S]){var ye=` `+X[h].replace(" at new "," at ");return i.displayName&&ye.includes("")&&(ye=ye.replace("",i.displayName)),ye}while(1<=h&&0<=S);break}}}finally{W=!1,Error.prepareStackTrace=f}return(f=i?i.displayName||i.name:"")?B(f):""}function H(i){switch(i.tag){case 26:case 27:case 5:return B(i.type);case 16:return B("Lazy");case 13:return B("Suspense");case 19:return B("SuspenseList");case 0:case 15:return i=K(i.type,!1),i;case 11:return i=K(i.type.render,!1),i;case 1:return i=K(i.type,!0),i;default:return""}}function G(i){try{var u="";do u+=H(i),i=i.return;while(i);return u}catch(f){return` Error generating stack: `+f.message+` -`+f.stack}}function F(i){var u=i,f=i;if(i.alternate)for(;u.return;)u=u.return;else{i=u;do u=i,u.flags&4098&&(f=u.return),i=u.return;while(i)}return u.tag===3?f:null}function Y(i){if(i.tag===13){var u=i.memoizedState;if(u===null&&(i=i.alternate,i!==null&&(u=i.memoizedState)),u!==null)return u.dehydrated}return null}function M(i){if(F(i)!==i)throw Error(r(188))}function V(i){var u=i.alternate;if(!u){if(u=F(i),u===null)throw Error(r(188));return u!==i?null:i}for(var f=i,h=u;;){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 M(S),i;if(T===h)return M(S),u;T=T.sibling}throw Error(r(188))}if(f.return!==h.return)f=S,h=T;else{for(var z=!1,q=S.child;q;){if(q===f){z=!0,f=S,h=T;break}if(q===h){z=!0,h=S,f=T;break}q=q.sibling}if(!z){for(q=T.child;q;){if(q===f){z=!0,f=T,h=S;break}if(q===h){z=!0,h=T,f=S;break}q=q.sibling}if(!z)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:u}function j(i){var u=i.tag;if(u===5||u===26||u===27||u===6)return i;for(i=i.child;i!==null;){if(u=j(i),u!==null)return u;i=i.sibling}return null}var P=Array.isArray,Q=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J={pending:!1,data:null,method:null,action:null},ie=[],oe=-1;function Z(i){return{current:i}}function pe(i){0>oe||(i.current=ie[oe],ie[oe]=null,oe--)}function te(i,u){oe++,ie[oe]=i.current,i.current=u}var Se=Z(null),we=Z(null),Le=Z(null),Re=Z(null);function Ee(i,u){switch(te(Le,u),te(we,i),te(Se,null),i=u.nodeType,i){case 9:case 11:u=(u=u.documentElement)&&(u=u.namespaceURI)?CC(u):0;break;default:if(i=i===8?u.parentNode:u,u=i.tagName,i=i.namespaceURI)i=CC(i),u=_C(i,u);else switch(u){case"svg":u=1;break;case"math":u=2;break;default:u=0}}pe(Se),te(Se,u)}function ee(){pe(Se),pe(we),pe(Le)}function fe(i){i.memoizedState!==null&&te(Re,i);var u=Se.current,f=_C(u,i.type);u!==f&&(te(we,i),te(Se,f))}function Te(i){we.current===i&&(pe(Se),pe(we)),Re.current===i&&(pe(Re),Vl._currentValue=J)}var be=Object.prototype.hasOwnProperty,xe=e.unstable_scheduleCallback,le=e.unstable_cancelCallback,Be=e.unstable_shouldYield,je=e.unstable_requestPaint,me=e.unstable_now,Ne=e.unstable_getCurrentPriorityLevel,ne=e.unstable_ImmediatePriority,ce=e.unstable_UserBlockingPriority,_e=e.unstable_NormalPriority,Fe=e.unstable_LowPriority,We=e.unstable_IdlePriority,St=e.log,Tt=e.unstable_setDisableYieldValue,bt=null,et=null;function At(i){if(et&&typeof et.onCommitFiberRoot=="function")try{et.onCommitFiberRoot(bt,i,void 0,(i.current.flags&128)===128)}catch{}}function st(i){if(typeof St=="function"&&Tt(i),et&&typeof et.setStrictMode=="function")try{et.setStrictMode(bt,i)}catch{}}var wt=Math.clz32?Math.clz32:zt,Ht=Math.log,pn=Math.LN2;function zt(i){return i>>>=0,i===0?32:31-(Ht(i)/pn|0)|0}var ir=128,Vr=4194304;function Jt(i){var u=i&42;if(u!==0)return u;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 pa(i,u){var f=i.pendingLanes;if(f===0)return 0;var h=0,S=i.suspendedLanes,T=i.pingedLanes,z=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||(z=q&~z,z!==0&&(h=Jt(z))))):(q=f&~S,q!==0?h=Jt(q):T!==0?h=Jt(T):i||(z=f&~z,z!==0&&(h=Jt(z)))),h===0?0:u!==0&&u!==h&&!(u&S)&&(S=h&-h,z=u&-u,S>=z||S===32&&(z&4194176)!==0)?u:h}function Xe(i,u){return(i.pendingLanes&~(i.suspendedLanes&~i.pingedLanes)&u)===0}function yt(i,u){switch(i){case 1:case 2:case 4:case 8:return u+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 u+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=ir;return ir<<=1,!(ir&4194176)&&(ir=128),i}function Ln(){var i=Vr;return Vr<<=1,!(Vr&62914560)&&(Vr=4194304),i}function _n(i){for(var u=[],f=0;31>f;f++)u.push(i);return u}function Mn(i,u){i.pendingLanes|=u,u!==268435456&&(i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0)}function ga(i,u,f,h,S,T){var z=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,ae=i.hiddenUpdates;for(f=z&~f;0"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ZH=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]*$"),_A={},NA={};function QH(i){return be.call(NA,i)?!0:be.call(_A,i)?!1:ZH.test(i)?NA[i]=!0:(_A[i]=!0,!1)}function lc(i,u,f){if(QH(u))if(f===null)i.removeAttribute(u);else{switch(typeof f){case"undefined":case"function":case"symbol":i.removeAttribute(u);return;case"boolean":var h=u.toLowerCase().slice(0,5);if(h!=="data-"&&h!=="aria-"){i.removeAttribute(u);return}}i.setAttribute(u,""+f)}}function uc(i,u,f){if(f===null)i.removeAttribute(u);else{switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(u);return}i.setAttribute(u,""+f)}}function ma(i,u,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(u,f,""+h)}}function sr(i){switch(typeof i){case"bigint":case"boolean":case"number":case"string":case"undefined":return i;case"object":return i;default:return""}}function OA(i){var u=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(u==="checkbox"||u==="radio")}function JH(i){var u=OA(i)?"checked":"value",f=Object.getOwnPropertyDescriptor(i.constructor.prototype,u),h=""+i[u];if(!i.hasOwnProperty(u)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var S=f.get,T=f.set;return Object.defineProperty(i,u,{configurable:!0,get:function(){return S.call(this)},set:function(z){h=""+z,T.call(this,z)}}),Object.defineProperty(i,u,{enumerable:f.enumerable}),{getValue:function(){return h},setValue:function(z){h=""+z},stopTracking:function(){i._valueTracker=null,delete i[u]}}}}function cc(i){i._valueTracker||(i._valueTracker=JH(i))}function IA(i){if(!i)return!1;var u=i._valueTracker;if(!u)return!0;var f=u.getValue(),h="";return i&&(h=OA(i)?i.checked?"true":"false":i.value),i=h,i!==f?(u.setValue(i),!0):!1}function dc(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 e$=/[\n"\\]/g;function lr(i){return i.replace(e$,function(u){return"\\"+u.charCodeAt(0).toString(16)+" "})}function qp(i,u,f,h,S,T,z,q){i.name="",z!=null&&typeof z!="function"&&typeof z!="symbol"&&typeof z!="boolean"?i.type=z:i.removeAttribute("type"),u!=null?z==="number"?(u===0&&i.value===""||i.value!=u)&&(i.value=""+sr(u)):i.value!==""+sr(u)&&(i.value=""+sr(u)):z!=="submit"&&z!=="reset"||i.removeAttribute("value"),u!=null?Vp(i,z,sr(u)):f!=null?Vp(i,z,sr(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=""+sr(q):i.removeAttribute("name")}function DA(i,u,f,h,S,T,z,q){if(T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"&&(i.type=T),u!=null||f!=null){if(!(T!=="submit"&&T!=="reset"||u!=null))return;f=f!=null?""+sr(f):"",u=u!=null?""+sr(u):f,q||u===i.value||(i.value=u),i.defaultValue=u}h=h??S,h=typeof h!="function"&&typeof h!="symbol"&&!!h,i.checked=q?i.checked:!!h,i.defaultChecked=!!h,z!=null&&typeof z!="function"&&typeof z!="symbol"&&typeof z!="boolean"&&(i.name=z)}function Vp(i,u,f){u==="number"&&dc(i.ownerDocument)===i||i.defaultValue===""+f||(i.defaultValue=""+f)}function Di(i,u,f,h){if(i=i.options,u){u={};for(var S=0;S=cl),VA=" ",WA=!1;function YA(i,u){switch(i){case"keyup":return C$.indexOf(u.keyCode)!==-1;case"keydown":return u.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function KA(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var Fi=!1;function N$(i,u){switch(i){case"compositionend":return KA(u);case"keypress":return u.which!==32?null:(WA=!0,VA);case"textInput":return i=u.data,i===VA&&WA?null:i;default:return null}}function O$(i,u){if(Fi)return i==="compositionend"||!rg&&YA(i,u)?(i=jA(),pc=Qp=Ya=null,Fi=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(u.ctrlKey||u.altKey||u.metaKey)||u.ctrlKey&&u.altKey){if(u.char&&1=u)return{node:f,offset:u-i};i=h}e:{for(;f;){if(f.nextSibling){f=f.nextSibling;break e}f=f.parentNode}f=void 0}f=r1(f)}}function o1(i,u){return i&&u?i===u?!0:i&&i.nodeType===3?!1:u&&u.nodeType===3?o1(i,u.parentNode):"contains"in i?i.contains(u):i.compareDocumentPosition?!!(i.compareDocumentPosition(u)&16):!1:!1}function i1(i){i=i!=null&&i.ownerDocument!=null&&i.ownerDocument.defaultView!=null?i.ownerDocument.defaultView:window;for(var u=dc(i.document);u instanceof i.HTMLIFrameElement;){try{var f=typeof u.contentWindow.location.href=="string"}catch{f=!1}if(f)i=u.contentWindow;else break;u=dc(i.document)}return u}function ig(i){var u=i&&i.nodeName&&i.nodeName.toLowerCase();return u&&(u==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||u==="textarea"||i.contentEditable==="true")}function B$(i,u){var f=i1(u);u=i.focusedElem;var h=i.selectionRange;if(f!==u&&u&&u.ownerDocument&&o1(u.ownerDocument.documentElement,u)){if(h!==null&&ig(u)){if(i=h.start,f=h.end,f===void 0&&(f=i),"selectionStart"in u)u.selectionStart=i,u.selectionEnd=Math.min(f,u.value.length);else if(f=(i=u.ownerDocument||document)&&i.defaultView||window,f.getSelection){f=f.getSelection();var S=u.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=a1(u,T);var z=a1(u,h);S&&z&&(f.rangeCount!==1||f.anchorNode!==S.node||f.anchorOffset!==S.offset||f.focusNode!==z.node||f.focusOffset!==z.offset)&&(i=i.createRange(),i.setStart(S.node,S.offset),f.removeAllRanges(),T>h?(f.addRange(i),f.extend(z.node,z.offset)):(i.setEnd(z.node,z.offset),f.addRange(i)))}}for(i=[],f=u;f=f.parentNode;)f.nodeType===1&&i.push({element:f,left:f.scrollLeft,top:f.scrollTop});for(typeof u.focus=="function"&&u.focus(),u=0;u=document.documentMode,zi=null,sg=null,gl=null,lg=!1;function s1(i,u,f){var h=f.window===f?f.document:f.nodeType===9?f:f.ownerDocument;lg||zi==null||zi!==dc(h)||(h=zi,"selectionStart"in h&&ig(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=ed(sg,"onSelect"),0>=z,S-=z,ba=1<<32-wt(u)+S|f<Qe?(ln=Ye,Ye=null):ln=Ye.sibling;var kt=de(se,Ye,ue[Qe],ke);if(kt===null){Ye===null&&(Ye=ln);break}i&&Ye&&kt.alternate===null&&u(se,Ye),re=T(kt,re,Qe),ct===null?Ge=kt:ct.sibling=kt,ct=kt,Ye=ln}if(Qe===ue.length)return f(se,Ye),xt&&Go(se,Qe),Ge;if(Ye===null){for(;QeQe?(ln=Ye,Ye=null):ln=Ye.sibling;var ho=de(se,Ye,kt.value,ke);if(ho===null){Ye===null&&(Ye=ln);break}i&&Ye&&ho.alternate===null&&u(se,Ye),re=T(ho,re,Qe),ct===null?Ge=ho:ct.sibling=ho,ct=ho,Ye=ln}if(kt.done)return f(se,Ye),xt&&Go(se,Qe),Ge;if(Ye===null){for(;!kt.done;Qe++,kt=ue.next())kt=Ae(se,kt.value,ke),kt!==null&&(re=T(kt,re,Qe),ct===null?Ge=kt:ct.sibling=kt,ct=kt);return xt&&Go(se,Qe),Ge}for(Ye=h(Ye);!kt.done;Qe++,kt=ue.next())kt=he(Ye,se,Qe,kt.value,ke),kt!==null&&(i&&kt.alternate!==null&&Ye.delete(kt.key===null?Qe:kt.key),re=T(kt,re,Qe),ct===null?Ge=kt:ct.sibling=kt,ct=kt);return i&&Ye.forEach(function(rq){return u(se,rq)}),xt&&Go(se,Qe),Ge}function Vt(se,re,ue,ke){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 Ge=ue.key;re!==null;){if(re.key===Ge){if(Ge=ue.type,Ge===c){if(re.tag===7){f(se,re.sibling),ke=S(re,ue.props.children),ke.return=se,se=ke;break e}}else if(re.elementType===Ge||typeof Ge=="object"&&Ge!==null&&Ge.$$typeof===x&&k1(Ge)===re.type){f(se,re.sibling),ke=S(re,ue.props),El(ke,ue),ke.return=se,se=ke;break e}f(se,re);break}else u(se,re);re=re.sibling}ue.type===c?(ke=Jo(ue.props.children,se.mode,ke,ue.key),ke.return=se,se=ke):(ke=$c(ue.type,ue.key,ue.props,null,se.mode,ke),El(ke,ue),ke.return=se,se=ke)}return z(se);case l:e:{for(Ge=ue.key;re!==null;){if(re.key===Ge)if(re.tag===4&&re.stateNode.containerInfo===ue.containerInfo&&re.stateNode.implementation===ue.implementation){f(se,re.sibling),ke=S(re,ue.children||[]),ke.return=se,se=ke;break e}else{f(se,re);break}else u(se,re);re=re.sibling}ke=ch(ue,se.mode,ke),ke.return=se,se=ke}return z(se);case x:return Ge=ue._init,ue=Ge(ue._payload),Vt(se,re,ue,ke)}if(P(ue))return qe(se,re,ue,ke);if(C(ue)){if(Ge=C(ue),typeof Ge!="function")throw Error(r(150));return ue=Ge.call(ue),rt(se,re,ue,ke)}if(typeof ue.then=="function")return Vt(se,re,Tc(ue),ke);if(ue.$$typeof===b)return Vt(se,re,Uc(se,ue),ke);Ac(se,ue)}return typeof ue=="string"&&ue!==""||typeof ue=="number"||typeof ue=="bigint"?(ue=""+ue,re!==null&&re.tag===6?(f(se,re.sibling),ke=S(re,ue),ke.return=se,se=ke):(f(se,re),ke=uh(ue,se.mode,ke),ke.return=se,se=ke),z(se)):f(se,re)}return function(se,re,ue,ke){try{Sl=0;var Ge=Vt(se,re,ue,ke);return $i=null,Ge}catch(Ye){if(Ye===yl)throw Ye;var ct=mr(29,Ye,null,se.mode);return ct.lanes=ke,ct.return=se,ct}finally{}}}var $o=T1(!0),A1=T1(!1),qi=Z(null),Rc=Z(0);function R1(i,u){i=_a,te(Rc,i),te(qi,u),_a=i|u.baseLanes}function mg(){te(Rc,_a),te(qi,qi.current)}function bg(){_a=Rc.current,pe(qi),pe(Rc)}var pr=Z(null),Yr=null;function Xa(i){var u=i.alternate;te(en,en.current&1),te(pr,i),Yr===null&&(u===null||qi.current!==null||u.memoizedState!==null)&&(Yr=i)}function C1(i){if(i.tag===22){if(te(en,en.current),te(pr,i),Yr===null){var u=i.alternate;u!==null&&u.memoizedState!==null&&(Yr=i)}}else Za()}function Za(){te(en,en.current),te(pr,pr.current)}function va(i){pe(pr),Yr===i&&(Yr=null),pe(en)}var en=Z(0);function Cc(i){for(var u=i;u!==null;){if(u.tag===13){var f=u.memoizedState;if(f!==null&&(f=f.dehydrated,f===null||f.data==="$?"||f.data==="$!"))return u}else if(u.tag===19&&u.memoizedProps.revealOrder!==void 0){if(u.flags&128)return u}else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===i)break;for(;u.sibling===null;){if(u.return===null||u.return===i)return null;u=u.return}u.sibling.return=u.return,u=u.sibling}return null}var $$=typeof AbortController<"u"?AbortController:function(){var i=[],u=this.signal={aborted:!1,addEventListener:function(f,h){i.push(h)}};this.abort=function(){u.aborted=!0,i.forEach(function(f){return f()})}},q$=e.unstable_scheduleCallback,V$=e.unstable_NormalPriority,tn={$$typeof:b,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function yg(){return{controller:new $$,data:new Map,refCount:0}}function wl(i){i.refCount--,i.refCount===0&&q$(V$,function(){i.controller.abort()})}var xl=null,vg=0,Vi=0,Wi=null;function W$(i,u){if(xl===null){var f=xl=[];vg=0,Vi=Th(),Wi={status:"pending",value:void 0,then:function(h){f.push(h)}}}return vg++,u.then(_1,_1),u}function _1(){if(--vg===0&&xl!==null){Wi!==null&&(Wi.status="fulfilled");var i=xl;xl=null,Vi=0,Wi=null;for(var u=0;uT?T:8;var z=I.T,q={};I.T=q,Pg(i,!1,u,f);try{var X=S(),ae=I.S;if(ae!==null&&ae(q,X),X!==null&&typeof X=="object"&&typeof X.then=="function"){var ye=Y$(X,h);Al(i,u,ye,Qn(i))}else Al(i,u,h,Qn(i))}catch(Ae){Al(i,u,{then:function(){},status:"rejected",reason:Ae},Qn())}finally{Q.p=T,I.T=z}}function J$(){}function Lg(i,u,f,h){if(i.tag!==5)throw Error(r(476));var S=iR(i).queue;oR(i,S,u,J,f===null?J$:function(){return sR(i),f(h)})}function iR(i){var u=i.memoizedState;if(u!==null)return u;u={memoizedState:J,baseState:J,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Sa,lastRenderedState:J},next:null};var f={};return u.next={memoizedState:f,baseState:f,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Sa,lastRenderedState:f},next:null},i.memoizedState=u,i=i.alternate,i!==null&&(i.memoizedState=u),u}function sR(i){var u=iR(i).next.queue;Al(i,u,{},Qn())}function Mg(){return En(Vl)}function lR(){return Xt().memoizedState}function uR(){return Xt().memoizedState}function e6(i){for(var u=i.return;u!==null;){switch(u.tag){case 24:case 3:var f=Qn();i=no(f);var h=ro(u,i,f);h!==null&&(On(h,u,f),_l(h,u,f)),u={cache:yg()},i.payload=u;return}u=u.return}}function t6(i,u,f){var h=Qn();f={lane:h,revertLane:0,action:f,hasEagerState:!1,eagerState:null,next:null},Fc(i)?dR(u,f):(f=dg(i,u,f,h),f!==null&&(On(f,i,h),fR(f,u,h)))}function cR(i,u,f){var h=Qn();Al(i,u,f,h)}function Al(i,u,f,h){var S={lane:h,revertLane:0,action:f,hasEagerState:!1,eagerState:null,next:null};if(Fc(i))dR(u,S);else{var T=i.alternate;if(i.lanes===0&&(T===null||T.lanes===0)&&(T=u.lastRenderedReducer,T!==null))try{var z=u.lastRenderedState,q=T(z,f);if(S.hasEagerState=!0,S.eagerState=q,Yn(q,z))return Sc(i,u,S,0),Lt===null&&vc(),!1}catch{}finally{}if(f=dg(i,u,S,h),f!==null)return On(f,i,h),fR(f,u,h),!0}return!1}function Pg(i,u,f,h){if(h={lane:2,revertLane:Th(),action:h,hasEagerState:!1,eagerState:null,next:null},Fc(i)){if(u)throw Error(r(479))}else u=dg(i,f,h,2),u!==null&&On(u,i,2)}function Fc(i){var u=i.alternate;return i===ut||u!==null&&u===ut}function dR(i,u){Yi=Nc=!0;var f=i.pending;f===null?u.next=u:(u.next=f.next,f.next=u),i.pending=u}function fR(i,u,f){if(f&4194176){var h=u.lanes;h&=i.pendingLanes,f|=h,u.lanes=f,_r(i,f)}}var Kr={readContext:En,use:Dc,useCallback:Wt,useContext:Wt,useEffect:Wt,useImperativeHandle:Wt,useLayoutEffect:Wt,useInsertionEffect:Wt,useMemo:Wt,useReducer:Wt,useRef:Wt,useState:Wt,useDebugValue:Wt,useDeferredValue:Wt,useTransition:Wt,useSyncExternalStore:Wt,useId:Wt};Kr.useCacheRefresh=Wt,Kr.useMemoCache=Wt,Kr.useHostTransitionStatus=Wt,Kr.useFormState=Wt,Kr.useActionState=Wt,Kr.useOptimistic=Wt;var Wo={readContext:En,use:Dc,useCallback:function(i,u){return Bn().memoizedState=[i,u===void 0?null:u],i},useContext:En,useEffect:Z1,useImperativeHandle:function(i,u,f){f=f!=null?f.concat([i]):null,Mc(4194308,4,eR.bind(null,u,i),f)},useLayoutEffect:function(i,u){return Mc(4194308,4,i,u)},useInsertionEffect:function(i,u){Mc(4,2,i,u)},useMemo:function(i,u){var f=Bn();u=u===void 0?null:u;var h=i();if(Vo){st(!0);try{i()}finally{st(!1)}}return f.memoizedState=[h,u],h},useReducer:function(i,u,f){var h=Bn();if(f!==void 0){var S=f(u);if(Vo){st(!0);try{f(u)}finally{st(!1)}}}else S=u;return h.memoizedState=h.baseState=S,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:S},h.queue=i,i=i.dispatch=t6.bind(null,ut,i),[h.memoizedState,i]},useRef:function(i){var u=Bn();return i={current:i},u.memoizedState=i},useState:function(i){i=_g(i);var u=i.queue,f=cR.bind(null,ut,u);return u.dispatch=f,[i.memoizedState,f]},useDebugValue:Ig,useDeferredValue:function(i,u){var f=Bn();return Dg(f,i,u)},useTransition:function(){var i=_g(!1);return i=oR.bind(null,ut,i.queue,!0,!1),Bn().memoizedState=i,[!1,i]},useSyncExternalStore:function(i,u,f){var h=ut,S=Bn();if(xt){if(f===void 0)throw Error(r(407));f=f()}else{if(f=u(),Lt===null)throw Error(r(349));vt&60||M1(h,u,f)}S.memoizedState=f;var T={value:f,getSnapshot:u};return S.queue=T,Z1(F1.bind(null,h,T,i),[i]),h.flags|=2048,Xi(9,P1.bind(null,h,T,f,u),{destroy:void 0},null),f},useId:function(){var i=Bn(),u=Lt.identifierPrefix;if(xt){var f=ya,h=ba;f=(h&~(1<<32-wt(h)-1)).toString(32)+f,u=":"+u+"R"+f,f=Oc++,0 title"))),mn(T,h,f),T[Sn]=i,an(T),h=T;break e;case"link":var z=BC("link","href",S).get(h+(f.href||""));if(z){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]=u,i[Fn]=h;e:for(S=u.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===u)break e;for(;S.sibling===null;){if(S.return===null||S.return===u)break e;S=S.return}S.sibling.return=S.return,S=S.sibling}u.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&&Ra(u)}}return Bt(u),u.flags&=-16777217,null;case 6:if(i&&u.stateNode!=null)i.memoizedProps!==h&&Ra(u);else{if(typeof h!="string"&&u.stateNode===null)throw Error(r(166));if(i=Le.current,hl(u)){if(i=u.stateNode,f=u.memoizedProps,h=null,S=Nn,S!==null)switch(S.tag){case 27:case 5:h=S.memoizedProps}i[Sn]=u,i=!!(i.nodeValue===f||h!==null&&h.suppressHydrationWarning===!0||RC(i.nodeValue,f)),i||Ho(u)}else i=nd(i).createTextNode(h),i[Sn]=u,u.stateNode=i}return Bt(u),null;case 13:if(h=u.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(S=hl(u),h!==null&&h.dehydrated!==null){if(i===null){if(!S)throw Error(r(318));if(S=u.memoizedState,S=S!==null?S.dehydrated:null,!S)throw Error(r(317));S[Sn]=u}else ml(),!(u.flags&128)&&(u.memoizedState=null),u.flags|=4;Bt(u),S=!1}else Or!==null&&(yh(Or),Or=null),S=!0;if(!S)return u.flags&256?(va(u),u):(va(u),null)}if(va(u),u.flags&128)return u.lanes=f,u;if(f=h!==null,i=i!==null&&i.memoizedState!==null,f){h=u.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&&(u.child.flags|=8192),qc(u,u.updateQueue),Bt(u),null;case 4:return ee(),i===null&&_h(u.stateNode.containerInfo),Bt(u),null;case 10:return xa(u.type),Bt(u),null;case 19:if(pe(en),S=u.memoizedState,S===null)return Bt(u),null;if(h=(u.flags&128)!==0,T=S.rendering,T===null)if(h)Pl(S,!1);else{if(qt!==0||i!==null&&i.flags&128)for(i=u.child;i!==null;){if(T=Cc(i),T!==null){for(u.flags|=128,Pl(S,!1),i=T.updateQueue,u.updateQueue=i,qc(u,i),u.subtreeFlags=0,i=f,f=u.child;f!==null;)tC(f,i),f=f.sibling;return te(en,en.current&1|2),u.child}i=i.sibling}S.tail!==null&&me()>Vc&&(u.flags|=128,h=!0,Pl(S,!1),u.lanes=4194304)}else{if(!h)if(i=Cc(T),i!==null){if(u.flags|=128,h=!0,i=i.updateQueue,u.updateQueue=i,qc(u,i),Pl(S,!0),S.tail===null&&S.tailMode==="hidden"&&!T.alternate&&!xt)return Bt(u),null}else 2*me()-S.renderingStartTime>Vc&&f!==536870912&&(u.flags|=128,h=!0,Pl(S,!1),u.lanes=4194304);S.isBackwards?(T.sibling=u.child,u.child=T):(i=S.last,i!==null?i.sibling=T:u.child=T,S.last=T)}return S.tail!==null?(u=S.tail,S.rendering=u,S.tail=u.sibling,S.renderingStartTime=me(),u.sibling=null,i=en.current,te(en,h?i&1|2:i&1),u):(Bt(u),null);case 22:case 23:return va(u),bg(),h=u.memoizedState!==null,i!==null?i.memoizedState!==null!==h&&(u.flags|=8192):h&&(u.flags|=8192),h?f&536870912&&!(u.flags&128)&&(Bt(u),u.subtreeFlags&6&&(u.flags|=8192)):Bt(u),f=u.updateQueue,f!==null&&qc(u,f.retryQueue),f=null,i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(f=i.memoizedState.cachePool.pool),h=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(h=u.memoizedState.cachePool.pool),h!==f&&(u.flags|=2048),i!==null&&pe(qo),null;case 24:return f=null,i!==null&&(f=i.memoizedState.cache),u.memoizedState.cache!==f&&(u.flags|=2048),xa(tn),Bt(u),null;case 25:return null}throw Error(r(156,u.tag))}function l6(i,u){switch(pg(u),u.tag){case 1:return i=u.flags,i&65536?(u.flags=i&-65537|128,u):null;case 3:return xa(tn),ee(),i=u.flags,i&65536&&!(i&128)?(u.flags=i&-65537|128,u):null;case 26:case 27:case 5:return Te(u),null;case 13:if(va(u),i=u.memoizedState,i!==null&&i.dehydrated!==null){if(u.alternate===null)throw Error(r(340));ml()}return i=u.flags,i&65536?(u.flags=i&-65537|128,u):null;case 19:return pe(en),null;case 4:return ee(),null;case 10:return xa(u.type),null;case 22:case 23:return va(u),bg(),i!==null&&pe(qo),i=u.flags,i&65536?(u.flags=i&-65537|128,u):null;case 24:return xa(tn),null;case 25:return null;default:return null}}function aC(i,u){switch(pg(u),u.tag){case 3:xa(tn),ee();break;case 26:case 27:case 5:Te(u);break;case 4:ee();break;case 13:va(u);break;case 19:pe(en);break;case 10:xa(u.type);break;case 22:case 23:va(u),bg(),i!==null&&pe(qo);break;case 24:xa(tn)}}var u6={getCacheForType:function(i){var u=En(tn),f=u.data.get(i);return f===void 0&&(f=i(),u.data.set(i,f)),f}},c6=typeof WeakMap=="function"?WeakMap:Map,jt=0,Lt=null,ft=null,vt=0,Mt=0,Zn=null,Ca=!1,es=!1,dh=!1,_a=0,qt=0,lo=0,ei=0,fh=0,br=0,ts=0,Fl=null,Xr=null,ph=!1,gh=0,Vc=1/0,Wc=null,uo=null,Yc=!1,ti=null,zl=0,hh=0,mh=null,Bl=0,bh=null;function Qn(){if(jt&2&&vt!==0)return vt&-vt;if(I.T!==null){var i=Vi;return i!==0?i:Th()}return TA()}function oC(){br===0&&(br=!(vt&536870912)||xt?Nt():536870912);var i=pr.current;return i!==null&&(i.flags|=32),br}function On(i,u,f){(i===Lt&&Mt===2||i.cancelPendingCommit!==null)&&(ns(i,0),Na(i,vt,br,!1)),Mn(i,f),(!(jt&2)||i!==Lt)&&(i===Lt&&(!(jt&2)&&(ei|=f),qt===4&&Na(i,vt,br,!1)),Zr(i))}function iC(i,u,f){if(jt&6)throw Error(r(327));var h=!f&&(u&60)===0&&(u&i.expiredLanes)===0||Xe(i,u),S=h?p6(i,u):Eh(i,u,!0),T=h;do{if(S===0){es&&!h&&Na(i,u,0,!1);break}else if(S===6)Na(i,u,0,!Ca);else{if(f=i.current.alternate,T&&!d6(f)){S=Eh(i,u,!1),T=!1;continue}if(S===2){if(T=u,i.errorRecoveryDisabledLanes&T)var z=0;else z=i.pendingLanes&-536870913,z=z!==0?z:z&536870912?536870912:0;if(z!==0){u=z;e:{var q=i;S=Fl;var X=q.current.memoizedState.isDehydrated;if(X&&(ns(q,z).flags|=256),z=Eh(q,z,!1),z!==2){if(dh&&!X){q.errorRecoveryDisabledLanes|=T,ei|=T,S=4;break e}T=Xr,Xr=S,T!==null&&yh(T)}S=z}if(T=!1,S!==2)continue}}if(S===1){ns(i,0),Na(i,u,0,!0);break}e:{switch(h=i,S){case 0:case 1:throw Error(r(345));case 4:if((u&4194176)===u){Na(h,u,br,!Ca);break e}break;case 2:Xr=null;break;case 3:case 5:break;default:throw Error(r(329))}if(h.finishedWork=f,h.finishedLanes=u,(u&62914560)===u&&(T=gh+300-me(),10f?32:f,I.T=null,ti===null)var T=!1;else{f=mh,mh=null;var z=ti,q=zl;if(ti=null,zl=0,jt&6)throw Error(r(331));var X=jt;if(jt|=4,JR(z.current),XR(z,z.current,q,f),jt=X,jl(0,!1),et&&typeof et.onPostCommitFiberRoot=="function")try{et.onPostCommitFiberRoot(bt,z)}catch{}T=!0}return T}finally{Q.p=S,I.T=h,hC(i,u)}}return!1}function mC(i,u,f){u=cr(f,u),u=Bg(i.stateNode,u,2),i=ro(i,u,2),i!==null&&(Mn(i,2),Zr(i))}function Ot(i,u,f){if(i.tag===3)mC(i,i,f);else for(;u!==null;){if(u.tag===3){mC(u,i,f);break}else if(u.tag===1){var h=u.stateNode;if(typeof u.type.getDerivedStateFromError=="function"||typeof h.componentDidCatch=="function"&&(uo===null||!uo.has(h))){i=cr(f,i),f=vR(2),h=ro(u,f,2),h!==null&&(SR(f,h,u,i),Mn(h,2),Zr(h));break}}u=u.return}}function wh(i,u,f){var h=i.pingCache;if(h===null){h=i.pingCache=new c6;var S=new Set;h.set(u,S)}else S=h.get(u),S===void 0&&(S=new Set,h.set(u,S));S.has(f)||(dh=!0,S.add(f),i=m6.bind(null,i,u,f),u.then(i,i))}function m6(i,u,f){var h=i.pingCache;h!==null&&h.delete(u),i.pingedLanes|=i.suspendedLanes&f,i.warmLanes&=~f,Lt===i&&(vt&f)===f&&(qt===4||qt===3&&(vt&62914560)===vt&&300>me()-gh?!(jt&2)&&ns(i,0):fh|=f,ts===vt&&(ts=0)),Zr(i)}function bC(i,u){u===0&&(u=Ln()),i=Ka(i,u),i!==null&&(Mn(i,u),Zr(i))}function b6(i){var u=i.memoizedState,f=0;u!==null&&(f=u.retryLane),bC(i,f)}function y6(i,u){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(u),bC(i,f)}function v6(i,u){return xe(i,u)}var Zc=null,os=null,xh=!1,Qc=!1,kh=!1,ni=0;function Zr(i){i!==os&&i.next===null&&(os===null?Zc=os=i:os=os.next=i),Qc=!0,xh||(xh=!0,E6(S6))}function jl(i,u){if(!kh&&Qc){kh=!0;do for(var f=!1,h=Zc;h!==null;){if(i!==0){var S=h.pendingLanes;if(S===0)var T=0;else{var z=h.suspendedLanes,q=h.pingedLanes;T=(1<<31-wt(42|i)+1)-1,T&=S&~(z&~q),T=T&201326677?T&201326677|1:T?T|2:0}T!==0&&(f=!0,SC(h,T))}else T=vt,T=pa(h,h===Lt?T:0),!(T&3)||Xe(h,T)||(f=!0,SC(h,T));h=h.next}while(f);kh=!1}}function S6(){Qc=xh=!1;var i=0;ni!==0&&(_6()&&(i=ni),ni=0);for(var u=me(),f=null,h=Zc;h!==null;){var S=h.next,T=yC(h,u);T===0?(h.next=null,f===null?Zc=S:f.next=S,S===null&&(os=f)):(f=h,(i!==0||T&3)&&(Qc=!0)),h=S}jl(i)}function yC(i,u){for(var f=i.suspendedLanes,h=i.pingedLanes,S=i.expirationTimes,T=i.pendingLanes&-62914561;0"u"?null:document;function MC(i,u,f){var h=ss;if(h&&typeof u=="string"&&u){var S=lr(u);S='link[rel="'+i+'"][href="'+S+'"]',typeof f=="string"&&(S+='[crossorigin="'+f+'"]'),LC.has(S)||(LC.add(S),i={rel:i,crossOrigin:f,href:u},h.querySelector(S)===null&&(u=h.createElement("link"),mn(u,"link",i),an(u),h.head.appendChild(u)))}}function F6(i){Oa.D(i),MC("dns-prefetch",i,null)}function z6(i,u){Oa.C(i,u),MC("preconnect",i,u)}function B6(i,u,f){Oa.L(i,u,f);var h=ss;if(h&&i&&u){var S='link[rel="preload"][as="'+lr(u)+'"]';u==="image"&&f&&f.imageSrcSet?(S+='[imagesrcset="'+lr(f.imageSrcSet)+'"]',typeof f.imageSizes=="string"&&(S+='[imagesizes="'+lr(f.imageSizes)+'"]')):S+='[href="'+lr(i)+'"]';var T=S;switch(u){case"style":T=ls(i);break;case"script":T=us(i)}yr.has(T)||(i=D({rel:"preload",href:u==="image"&&f&&f.imageSrcSet?void 0:i,as:u},f),yr.set(T,i),h.querySelector(S)!==null||u==="style"&&h.querySelector(Hl(T))||u==="script"&&h.querySelector($l(T))||(u=h.createElement("link"),mn(u,"link",i),an(u),h.head.appendChild(u)))}}function j6(i,u){Oa.m(i,u);var f=ss;if(f&&i){var h=u&&typeof u.as=="string"?u.as:"script",S='link[rel="modulepreload"][as="'+lr(h)+'"][href="'+lr(i)+'"]',T=S;switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":T=us(i)}if(!yr.has(T)&&(i=D({rel:"modulepreload",href:i},u),yr.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 U6(i,u,f){Oa.S(i,u,f);var h=ss;if(h&&i){var S=Oi(h).hoistableStyles,T=ls(i);u=u||"default";var z=S.get(T);if(!z){var q={loading:0,preload:null};if(z=h.querySelector(Hl(T)))q.loading=5;else{i=D({rel:"stylesheet",href:i,"data-precedence":u},f),(f=yr.get(T))&&zh(i,f);var X=z=h.createElement("link");an(X),mn(X,"link",i),X._p=new Promise(function(ae,ye){X.onload=ae,X.onerror=ye}),X.addEventListener("load",function(){q.loading|=1}),X.addEventListener("error",function(){q.loading|=2}),q.loading|=4,ad(z,u,h)}z={type:"stylesheet",instance:z,count:1,state:q},S.set(T,z)}}}function G6(i,u){Oa.X(i,u);var f=ss;if(f&&i){var h=Oi(f).hoistableScripts,S=us(i),T=h.get(S);T||(T=f.querySelector($l(S)),T||(i=D({src:i,async:!0},u),(u=yr.get(S))&&Bh(i,u),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 H6(i,u){Oa.M(i,u);var f=ss;if(f&&i){var h=Oi(f).hoistableScripts,S=us(i),T=h.get(S);T||(T=f.querySelector($l(S)),T||(i=D({src:i,async:!0,type:"module"},u),(u=yr.get(S))&&Bh(i,u),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 PC(i,u,f,h){var S=(S=Le.current)?rd(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"?(u=ls(f.href),f=Oi(S).hoistableStyles,h=f.get(u),h||(h={type:"style",instance:null,count:0,state:null},f.set(u,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=ls(f.href);var T=Oi(S).hoistableStyles,z=T.get(i);if(z||(S=S.ownerDocument||S,z={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},T.set(i,z),(T=S.querySelector(Hl(i)))&&!T._p&&(z.instance=T,z.state.loading=5),yr.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},yr.set(i,f),T||$6(S,i,f,z.state))),u&&h===null)throw Error(r(528,""));return z}if(u&&h!==null)throw Error(r(529,""));return null;case"script":return u=f.async,f=f.src,typeof f=="string"&&u&&typeof u!="function"&&typeof u!="symbol"?(u=us(f),f=Oi(S).hoistableScripts,h=f.get(u),h||(h={type:"script",instance:null,count:0,state:null},f.set(u,h)),h):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,i))}}function ls(i){return'href="'+lr(i)+'"'}function Hl(i){return'link[rel="stylesheet"]['+i+"]"}function FC(i){return D({},i,{"data-precedence":i.precedence,precedence:null})}function $6(i,u,f,h){i.querySelector('link[rel="preload"][as="style"]['+u+"]")?h.loading=1:(u=i.createElement("link"),h.preload=u,u.addEventListener("load",function(){return h.loading|=1}),u.addEventListener("error",function(){return h.loading|=2}),mn(u,"link",f),an(u),i.head.appendChild(u))}function us(i){return'[src="'+lr(i)+'"]'}function $l(i){return"script[async]"+i}function zC(i,u,f){if(u.count++,u.instance===null)switch(u.type){case"style":var h=i.querySelector('style[data-href~="'+lr(f.href)+'"]');if(h)return u.instance=h,an(h),h;var S=D({},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),ad(h,f.precedence,i),u.instance=h;case"stylesheet":S=ls(f.href);var T=i.querySelector(Hl(S));if(T)return u.state.loading|=4,u.instance=T,an(T),T;h=FC(f),(S=yr.get(S))&&zh(h,S),T=(i.ownerDocument||i).createElement("link"),an(T);var z=T;return z._p=new Promise(function(q,X){z.onload=q,z.onerror=X}),mn(T,"link",h),u.state.loading|=4,ad(T,f.precedence,i),u.instance=T;case"script":return T=us(f.src),(S=i.querySelector($l(T)))?(u.instance=S,an(S),S):(h=f,(S=yr.get(T))&&(h=D({},f),Bh(h,S)),i=i.ownerDocument||i,S=i.createElement("script"),an(S),mn(S,"link",h),i.head.appendChild(S),u.instance=S);case"void":return null;default:throw Error(r(443,u.type))}else u.type==="stylesheet"&&!(u.state.loading&4)&&(h=u.instance,u.state.loading|=4,ad(h,f.precedence,i));return u.instance}function ad(i,u,f){for(var h=f.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),S=h.length?h[h.length-1]:null,T=S,z=0;z title"):null)}function q6(i,u,f){if(f===1||u.itemProp!=null)return!1;switch(i){case"meta":case"title":return!0;case"style":if(typeof u.precedence!="string"||typeof u.href!="string"||u.href==="")break;return!0;case"link":if(typeof u.rel!="string"||typeof u.href!="string"||u.href===""||u.onLoad||u.onError)break;switch(u.rel){case"stylesheet":return i=u.disabled,typeof u.precedence=="string"&&i==null;default:return!0}case"script":if(u.async&&typeof u.async!="function"&&typeof u.async!="symbol"&&!u.onLoad&&!u.onError&&u.src&&typeof u.src=="string")return!0}return!1}function UC(i){return!(i.type==="stylesheet"&&!(i.state.loading&3))}var ql=null;function V6(){}function W6(i,u,f){if(ql===null)throw Error(r(475));var h=ql;if(u.type==="stylesheet"&&(typeof f.media!="string"||matchMedia(f.media).matches!==!1)&&!(u.state.loading&4)){if(u.instance===null){var S=ls(f.href),T=i.querySelector(Hl(S));if(T){i=T._p,i!==null&&typeof i=="object"&&typeof i.then=="function"&&(h.count++,h=id.bind(h),i.then(h,h)),u.state.loading|=4,u.instance=T,an(T);return}T=i.ownerDocument||i,f=FC(f),(S=yr.get(S))&&zh(f,S),T=T.createElement("link"),an(T);var z=T;z._p=new Promise(function(q,X){z.onload=q,z.onerror=X}),mn(T,"link",f),u.instance=T}h.stylesheets===null&&(h.stylesheets=new Map),h.stylesheets.set(u,i),(i=u.state.preload)&&!(u.state.loading&3)&&(h.count++,u=id.bind(h),i.addEventListener("load",u),i.addEventListener("error",u))}}function Y6(){if(ql===null)throw Error(r(475));var i=ql;return i.stylesheets&&i.count===0&&jh(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(),Kh.exports=hq(),Kh.exports}var bq=mq(),Jl={},u_;function yq(){if(u_)return Jl;u_=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),O=R===-1?v:R;if(x>O){A=m.lastIndexOf(";",x-1)+1;continue}const N=l(m,A,x),C=c(m,x,N),_=m.slice(N,C);if(y[_]===void 0){let L=l(m,x+1,O),I=c(m,O,L);const D=k(m.slice(L,I));y[_]=D}A=O+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}yq();/** +`+f.stack}}function F(i){var u=i,f=i;if(i.alternate)for(;u.return;)u=u.return;else{i=u;do u=i,u.flags&4098&&(f=u.return),i=u.return;while(i)}return u.tag===3?f:null}function Y(i){if(i.tag===13){var u=i.memoizedState;if(u===null&&(i=i.alternate,i!==null&&(u=i.memoizedState)),u!==null)return u.dehydrated}return null}function M(i){if(F(i)!==i)throw Error(r(188))}function V(i){var u=i.alternate;if(!u){if(u=F(i),u===null)throw Error(r(188));return u!==i?null:i}for(var f=i,h=u;;){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 M(S),i;if(T===h)return M(S),u;T=T.sibling}throw Error(r(188))}if(f.return!==h.return)f=S,h=T;else{for(var z=!1,q=S.child;q;){if(q===f){z=!0,f=S,h=T;break}if(q===h){z=!0,h=S,f=T;break}q=q.sibling}if(!z){for(q=T.child;q;){if(q===f){z=!0,f=T,h=S;break}if(q===h){z=!0,h=T,f=S;break}q=q.sibling}if(!z)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:u}function j(i){var u=i.tag;if(u===5||u===26||u===27||u===6)return i;for(i=i.child;i!==null;){if(u=j(i),u!==null)return u;i=i.sibling}return null}var P=Array.isArray,Q=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J={pending:!1,data:null,method:null,action:null},ie=[],oe=-1;function Z(i){return{current:i}}function pe(i){0>oe||(i.current=ie[oe],ie[oe]=null,oe--)}function te(i,u){oe++,ie[oe]=i.current,i.current=u}var Se=Z(null),we=Z(null),Le=Z(null),Re=Z(null);function Ee(i,u){switch(te(Le,u),te(we,i),te(Se,null),i=u.nodeType,i){case 9:case 11:u=(u=u.documentElement)&&(u=u.namespaceURI)?NC(u):0;break;default:if(i=i===8?u.parentNode:u,u=i.tagName,i=i.namespaceURI)i=NC(i),u=OC(i,u);else switch(u){case"svg":u=1;break;case"math":u=2;break;default:u=0}}pe(Se),te(Se,u)}function ee(){pe(Se),pe(we),pe(Le)}function fe(i){i.memoizedState!==null&&te(Re,i);var u=Se.current,f=OC(u,i.type);u!==f&&(te(we,i),te(Se,f))}function Te(i){we.current===i&&(pe(Se),pe(we)),Re.current===i&&(pe(Re),Vl._currentValue=J)}var be=Object.prototype.hasOwnProperty,xe=e.unstable_scheduleCallback,le=e.unstable_cancelCallback,Be=e.unstable_shouldYield,je=e.unstable_requestPaint,me=e.unstable_now,Ne=e.unstable_getCurrentPriorityLevel,ne=e.unstable_ImmediatePriority,ce=e.unstable_UserBlockingPriority,_e=e.unstable_NormalPriority,Fe=e.unstable_LowPriority,We=e.unstable_IdlePriority,St=e.log,Tt=e.unstable_setDisableYieldValue,bt=null,et=null;function At(i){if(et&&typeof et.onCommitFiberRoot=="function")try{et.onCommitFiberRoot(bt,i,void 0,(i.current.flags&128)===128)}catch{}}function st(i){if(typeof St=="function"&&Tt(i),et&&typeof et.setStrictMode=="function")try{et.setStrictMode(bt,i)}catch{}}var wt=Math.clz32?Math.clz32:zt,Ht=Math.log,pn=Math.LN2;function zt(i){return i>>>=0,i===0?32:31-(Ht(i)/pn|0)|0}var ir=128,Vr=4194304;function Jt(i){var u=i&42;if(u!==0)return u;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 pa(i,u){var f=i.pendingLanes;if(f===0)return 0;var h=0,S=i.suspendedLanes,T=i.pingedLanes,z=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||(z=q&~z,z!==0&&(h=Jt(z))))):(q=f&~S,q!==0?h=Jt(q):T!==0?h=Jt(T):i||(z=f&~z,z!==0&&(h=Jt(z)))),h===0?0:u!==0&&u!==h&&!(u&S)&&(S=h&-h,z=u&-u,S>=z||S===32&&(z&4194176)!==0)?u:h}function Xe(i,u){return(i.pendingLanes&~(i.suspendedLanes&~i.pingedLanes)&u)===0}function yt(i,u){switch(i){case 1:case 2:case 4:case 8:return u+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 u+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=ir;return ir<<=1,!(ir&4194176)&&(ir=128),i}function Ln(){var i=Vr;return Vr<<=1,!(Vr&62914560)&&(Vr=4194304),i}function _n(i){for(var u=[],f=0;31>f;f++)u.push(i);return u}function Mn(i,u){i.pendingLanes|=u,u!==268435456&&(i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0)}function ga(i,u,f,h,S,T){var z=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,ae=i.hiddenUpdates;for(f=z&~f;0"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),JH=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]*$"),OA={},IA={};function e6(i){return be.call(IA,i)?!0:be.call(OA,i)?!1:JH.test(i)?IA[i]=!0:(OA[i]=!0,!1)}function uc(i,u,f){if(e6(u))if(f===null)i.removeAttribute(u);else{switch(typeof f){case"undefined":case"function":case"symbol":i.removeAttribute(u);return;case"boolean":var h=u.toLowerCase().slice(0,5);if(h!=="data-"&&h!=="aria-"){i.removeAttribute(u);return}}i.setAttribute(u,""+f)}}function cc(i,u,f){if(f===null)i.removeAttribute(u);else{switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(u);return}i.setAttribute(u,""+f)}}function ma(i,u,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(u,f,""+h)}}function sr(i){switch(typeof i){case"bigint":case"boolean":case"number":case"string":case"undefined":return i;case"object":return i;default:return""}}function DA(i){var u=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(u==="checkbox"||u==="radio")}function t6(i){var u=DA(i)?"checked":"value",f=Object.getOwnPropertyDescriptor(i.constructor.prototype,u),h=""+i[u];if(!i.hasOwnProperty(u)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var S=f.get,T=f.set;return Object.defineProperty(i,u,{configurable:!0,get:function(){return S.call(this)},set:function(z){h=""+z,T.call(this,z)}}),Object.defineProperty(i,u,{enumerable:f.enumerable}),{getValue:function(){return h},setValue:function(z){h=""+z},stopTracking:function(){i._valueTracker=null,delete i[u]}}}}function dc(i){i._valueTracker||(i._valueTracker=t6(i))}function LA(i){if(!i)return!1;var u=i._valueTracker;if(!u)return!0;var f=u.getValue(),h="";return i&&(h=DA(i)?i.checked?"true":"false":i.value),i=h,i!==f?(u.setValue(i),!0):!1}function fc(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 n6=/[\n"\\]/g;function lr(i){return i.replace(n6,function(u){return"\\"+u.charCodeAt(0).toString(16)+" "})}function qp(i,u,f,h,S,T,z,q){i.name="",z!=null&&typeof z!="function"&&typeof z!="symbol"&&typeof z!="boolean"?i.type=z:i.removeAttribute("type"),u!=null?z==="number"?(u===0&&i.value===""||i.value!=u)&&(i.value=""+sr(u)):i.value!==""+sr(u)&&(i.value=""+sr(u)):z!=="submit"&&z!=="reset"||i.removeAttribute("value"),u!=null?Vp(i,z,sr(u)):f!=null?Vp(i,z,sr(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=""+sr(q):i.removeAttribute("name")}function MA(i,u,f,h,S,T,z,q){if(T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"&&(i.type=T),u!=null||f!=null){if(!(T!=="submit"&&T!=="reset"||u!=null))return;f=f!=null?""+sr(f):"",u=u!=null?""+sr(u):f,q||u===i.value||(i.value=u),i.defaultValue=u}h=h??S,h=typeof h!="function"&&typeof h!="symbol"&&!!h,i.checked=q?i.checked:!!h,i.defaultChecked=!!h,z!=null&&typeof z!="function"&&typeof z!="symbol"&&typeof z!="boolean"&&(i.name=z)}function Vp(i,u,f){u==="number"&&fc(i.ownerDocument)===i||i.defaultValue===""+f||(i.defaultValue=""+f)}function Di(i,u,f,h){if(i=i.options,u){u={};for(var S=0;S=cl),YA=" ",KA=!1;function XA(i,u){switch(i){case"keyup":return N6.indexOf(u.keyCode)!==-1;case"keydown":return u.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ZA(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var Fi=!1;function I6(i,u){switch(i){case"compositionend":return ZA(u);case"keypress":return u.which!==32?null:(KA=!0,YA);case"textInput":return i=u.data,i===YA&&KA?null:i;default:return null}}function D6(i,u){if(Fi)return i==="compositionend"||!rg&&XA(i,u)?(i=GA(),gc=Qp=Ya=null,Fi=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(u.ctrlKey||u.altKey||u.metaKey)||u.ctrlKey&&u.altKey){if(u.char&&1=u)return{node:f,offset:u-i};i=h}e:{for(;f;){if(f.nextSibling){f=f.nextSibling;break e}f=f.parentNode}f=void 0}f=o1(f)}}function s1(i,u){return i&&u?i===u?!0:i&&i.nodeType===3?!1:u&&u.nodeType===3?s1(i,u.parentNode):"contains"in i?i.contains(u):i.compareDocumentPosition?!!(i.compareDocumentPosition(u)&16):!1:!1}function l1(i){i=i!=null&&i.ownerDocument!=null&&i.ownerDocument.defaultView!=null?i.ownerDocument.defaultView:window;for(var u=fc(i.document);u instanceof i.HTMLIFrameElement;){try{var f=typeof u.contentWindow.location.href=="string"}catch{f=!1}if(f)i=u.contentWindow;else break;u=fc(i.document)}return u}function ig(i){var u=i&&i.nodeName&&i.nodeName.toLowerCase();return u&&(u==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||u==="textarea"||i.contentEditable==="true")}function U6(i,u){var f=l1(u);u=i.focusedElem;var h=i.selectionRange;if(f!==u&&u&&u.ownerDocument&&s1(u.ownerDocument.documentElement,u)){if(h!==null&&ig(u)){if(i=h.start,f=h.end,f===void 0&&(f=i),"selectionStart"in u)u.selectionStart=i,u.selectionEnd=Math.min(f,u.value.length);else if(f=(i=u.ownerDocument||document)&&i.defaultView||window,f.getSelection){f=f.getSelection();var S=u.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=i1(u,T);var z=i1(u,h);S&&z&&(f.rangeCount!==1||f.anchorNode!==S.node||f.anchorOffset!==S.offset||f.focusNode!==z.node||f.focusOffset!==z.offset)&&(i=i.createRange(),i.setStart(S.node,S.offset),f.removeAllRanges(),T>h?(f.addRange(i),f.extend(z.node,z.offset)):(i.setEnd(z.node,z.offset),f.addRange(i)))}}for(i=[],f=u;f=f.parentNode;)f.nodeType===1&&i.push({element:f,left:f.scrollLeft,top:f.scrollTop});for(typeof u.focus=="function"&&u.focus(),u=0;u=document.documentMode,zi=null,sg=null,gl=null,lg=!1;function u1(i,u,f){var h=f.window===f?f.document:f.nodeType===9?f:f.ownerDocument;lg||zi==null||zi!==fc(h)||(h=zi,"selectionStart"in h&&ig(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=td(sg,"onSelect"),0>=z,S-=z,ba=1<<32-wt(u)+S|f<Qe?(ln=Ye,Ye=null):ln=Ye.sibling;var kt=de(se,Ye,ue[Qe],ke);if(kt===null){Ye===null&&(Ye=ln);break}i&&Ye&&kt.alternate===null&&u(se,Ye),re=T(kt,re,Qe),ct===null?Ge=kt:ct.sibling=kt,ct=kt,Ye=ln}if(Qe===ue.length)return f(se,Ye),xt&&Go(se,Qe),Ge;if(Ye===null){for(;QeQe?(ln=Ye,Ye=null):ln=Ye.sibling;var ho=de(se,Ye,kt.value,ke);if(ho===null){Ye===null&&(Ye=ln);break}i&&Ye&&ho.alternate===null&&u(se,Ye),re=T(ho,re,Qe),ct===null?Ge=ho:ct.sibling=ho,ct=ho,Ye=ln}if(kt.done)return f(se,Ye),xt&&Go(se,Qe),Ge;if(Ye===null){for(;!kt.done;Qe++,kt=ue.next())kt=Ae(se,kt.value,ke),kt!==null&&(re=T(kt,re,Qe),ct===null?Ge=kt:ct.sibling=kt,ct=kt);return xt&&Go(se,Qe),Ge}for(Ye=h(Ye);!kt.done;Qe++,kt=ue.next())kt=he(Ye,se,Qe,kt.value,ke),kt!==null&&(i&&kt.alternate!==null&&Ye.delete(kt.key===null?Qe:kt.key),re=T(kt,re,Qe),ct===null?Ge=kt:ct.sibling=kt,ct=kt);return i&&Ye.forEach(function(o9){return u(se,o9)}),xt&&Go(se,Qe),Ge}function Vt(se,re,ue,ke){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 Ge=ue.key;re!==null;){if(re.key===Ge){if(Ge=ue.type,Ge===c){if(re.tag===7){f(se,re.sibling),ke=S(re,ue.props.children),ke.return=se,se=ke;break e}}else if(re.elementType===Ge||typeof Ge=="object"&&Ge!==null&&Ge.$$typeof===x&&A1(Ge)===re.type){f(se,re.sibling),ke=S(re,ue.props),El(ke,ue),ke.return=se,se=ke;break e}f(se,re);break}else u(se,re);re=re.sibling}ue.type===c?(ke=Jo(ue.props.children,se.mode,ke,ue.key),ke.return=se,se=ke):(ke=qc(ue.type,ue.key,ue.props,null,se.mode,ke),El(ke,ue),ke.return=se,se=ke)}return z(se);case l:e:{for(Ge=ue.key;re!==null;){if(re.key===Ge)if(re.tag===4&&re.stateNode.containerInfo===ue.containerInfo&&re.stateNode.implementation===ue.implementation){f(se,re.sibling),ke=S(re,ue.children||[]),ke.return=se,se=ke;break e}else{f(se,re);break}else u(se,re);re=re.sibling}ke=ch(ue,se.mode,ke),ke.return=se,se=ke}return z(se);case x:return Ge=ue._init,ue=Ge(ue._payload),Vt(se,re,ue,ke)}if(P(ue))return qe(se,re,ue,ke);if(C(ue)){if(Ge=C(ue),typeof Ge!="function")throw Error(r(150));return ue=Ge.call(ue),rt(se,re,ue,ke)}if(typeof ue.then=="function")return Vt(se,re,Ac(ue),ke);if(ue.$$typeof===b)return Vt(se,re,Gc(se,ue),ke);Rc(se,ue)}return typeof ue=="string"&&ue!==""||typeof ue=="number"||typeof ue=="bigint"?(ue=""+ue,re!==null&&re.tag===6?(f(se,re.sibling),ke=S(re,ue),ke.return=se,se=ke):(f(se,re),ke=uh(ue,se.mode,ke),ke.return=se,se=ke),z(se)):f(se,re)}return function(se,re,ue,ke){try{Sl=0;var Ge=Vt(se,re,ue,ke);return $i=null,Ge}catch(Ye){if(Ye===yl)throw Ye;var ct=mr(29,Ye,null,se.mode);return ct.lanes=ke,ct.return=se,ct}finally{}}}var $o=R1(!0),C1=R1(!1),qi=Z(null),Cc=Z(0);function _1(i,u){i=_a,te(Cc,i),te(qi,u),_a=i|u.baseLanes}function mg(){te(Cc,_a),te(qi,qi.current)}function bg(){_a=Cc.current,pe(qi),pe(Cc)}var pr=Z(null),Yr=null;function Xa(i){var u=i.alternate;te(en,en.current&1),te(pr,i),Yr===null&&(u===null||qi.current!==null||u.memoizedState!==null)&&(Yr=i)}function N1(i){if(i.tag===22){if(te(en,en.current),te(pr,i),Yr===null){var u=i.alternate;u!==null&&u.memoizedState!==null&&(Yr=i)}}else Za()}function Za(){te(en,en.current),te(pr,pr.current)}function va(i){pe(pr),Yr===i&&(Yr=null),pe(en)}var en=Z(0);function _c(i){for(var u=i;u!==null;){if(u.tag===13){var f=u.memoizedState;if(f!==null&&(f=f.dehydrated,f===null||f.data==="$?"||f.data==="$!"))return u}else if(u.tag===19&&u.memoizedProps.revealOrder!==void 0){if(u.flags&128)return u}else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===i)break;for(;u.sibling===null;){if(u.return===null||u.return===i)return null;u=u.return}u.sibling.return=u.return,u=u.sibling}return null}var V6=typeof AbortController<"u"?AbortController:function(){var i=[],u=this.signal={aborted:!1,addEventListener:function(f,h){i.push(h)}};this.abort=function(){u.aborted=!0,i.forEach(function(f){return f()})}},W6=e.unstable_scheduleCallback,Y6=e.unstable_NormalPriority,tn={$$typeof:b,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function yg(){return{controller:new V6,data:new Map,refCount:0}}function wl(i){i.refCount--,i.refCount===0&&W6(Y6,function(){i.controller.abort()})}var xl=null,vg=0,Vi=0,Wi=null;function K6(i,u){if(xl===null){var f=xl=[];vg=0,Vi=Th(),Wi={status:"pending",value:void 0,then:function(h){f.push(h)}}}return vg++,u.then(O1,O1),u}function O1(){if(--vg===0&&xl!==null){Wi!==null&&(Wi.status="fulfilled");var i=xl;xl=null,Vi=0,Wi=null;for(var u=0;uT?T:8;var z=I.T,q={};I.T=q,Pg(i,!1,u,f);try{var X=S(),ae=I.S;if(ae!==null&&ae(q,X),X!==null&&typeof X=="object"&&typeof X.then=="function"){var ye=X6(X,h);Al(i,u,ye,Qn(i))}else Al(i,u,h,Qn(i))}catch(Ae){Al(i,u,{then:function(){},status:"rejected",reason:Ae},Qn())}finally{Q.p=T,I.T=z}}function t$(){}function Lg(i,u,f,h){if(i.tag!==5)throw Error(r(476));var S=lR(i).queue;sR(i,S,u,J,f===null?t$:function(){return uR(i),f(h)})}function lR(i){var u=i.memoizedState;if(u!==null)return u;u={memoizedState:J,baseState:J,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Sa,lastRenderedState:J},next:null};var f={};return u.next={memoizedState:f,baseState:f,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Sa,lastRenderedState:f},next:null},i.memoizedState=u,i=i.alternate,i!==null&&(i.memoizedState=u),u}function uR(i){var u=lR(i).next.queue;Al(i,u,{},Qn())}function Mg(){return En(Vl)}function cR(){return Xt().memoizedState}function dR(){return Xt().memoizedState}function n$(i){for(var u=i.return;u!==null;){switch(u.tag){case 24:case 3:var f=Qn();i=no(f);var h=ro(u,i,f);h!==null&&(On(h,u,f),_l(h,u,f)),u={cache:yg()},i.payload=u;return}u=u.return}}function r$(i,u,f){var h=Qn();f={lane:h,revertLane:0,action:f,hasEagerState:!1,eagerState:null,next:null},zc(i)?pR(u,f):(f=dg(i,u,f,h),f!==null&&(On(f,i,h),gR(f,u,h)))}function fR(i,u,f){var h=Qn();Al(i,u,f,h)}function Al(i,u,f,h){var S={lane:h,revertLane:0,action:f,hasEagerState:!1,eagerState:null,next:null};if(zc(i))pR(u,S);else{var T=i.alternate;if(i.lanes===0&&(T===null||T.lanes===0)&&(T=u.lastRenderedReducer,T!==null))try{var z=u.lastRenderedState,q=T(z,f);if(S.hasEagerState=!0,S.eagerState=q,Yn(q,z))return Ec(i,u,S,0),Lt===null&&Sc(),!1}catch{}finally{}if(f=dg(i,u,S,h),f!==null)return On(f,i,h),gR(f,u,h),!0}return!1}function Pg(i,u,f,h){if(h={lane:2,revertLane:Th(),action:h,hasEagerState:!1,eagerState:null,next:null},zc(i)){if(u)throw Error(r(479))}else u=dg(i,f,h,2),u!==null&&On(u,i,2)}function zc(i){var u=i.alternate;return i===ut||u!==null&&u===ut}function pR(i,u){Yi=Oc=!0;var f=i.pending;f===null?u.next=u:(u.next=f.next,f.next=u),i.pending=u}function gR(i,u,f){if(f&4194176){var h=u.lanes;h&=i.pendingLanes,f|=h,u.lanes=f,_r(i,f)}}var Kr={readContext:En,use:Lc,useCallback:Wt,useContext:Wt,useEffect:Wt,useImperativeHandle:Wt,useLayoutEffect:Wt,useInsertionEffect:Wt,useMemo:Wt,useReducer:Wt,useRef:Wt,useState:Wt,useDebugValue:Wt,useDeferredValue:Wt,useTransition:Wt,useSyncExternalStore:Wt,useId:Wt};Kr.useCacheRefresh=Wt,Kr.useMemoCache=Wt,Kr.useHostTransitionStatus=Wt,Kr.useFormState=Wt,Kr.useActionState=Wt,Kr.useOptimistic=Wt;var Wo={readContext:En,use:Lc,useCallback:function(i,u){return Bn().memoizedState=[i,u===void 0?null:u],i},useContext:En,useEffect:J1,useImperativeHandle:function(i,u,f){f=f!=null?f.concat([i]):null,Pc(4194308,4,nR.bind(null,u,i),f)},useLayoutEffect:function(i,u){return Pc(4194308,4,i,u)},useInsertionEffect:function(i,u){Pc(4,2,i,u)},useMemo:function(i,u){var f=Bn();u=u===void 0?null:u;var h=i();if(Vo){st(!0);try{i()}finally{st(!1)}}return f.memoizedState=[h,u],h},useReducer:function(i,u,f){var h=Bn();if(f!==void 0){var S=f(u);if(Vo){st(!0);try{f(u)}finally{st(!1)}}}else S=u;return h.memoizedState=h.baseState=S,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:S},h.queue=i,i=i.dispatch=r$.bind(null,ut,i),[h.memoizedState,i]},useRef:function(i){var u=Bn();return i={current:i},u.memoizedState=i},useState:function(i){i=_g(i);var u=i.queue,f=fR.bind(null,ut,u);return u.dispatch=f,[i.memoizedState,f]},useDebugValue:Ig,useDeferredValue:function(i,u){var f=Bn();return Dg(f,i,u)},useTransition:function(){var i=_g(!1);return i=sR.bind(null,ut,i.queue,!0,!1),Bn().memoizedState=i,[!1,i]},useSyncExternalStore:function(i,u,f){var h=ut,S=Bn();if(xt){if(f===void 0)throw Error(r(407));f=f()}else{if(f=u(),Lt===null)throw Error(r(349));vt&60||F1(h,u,f)}S.memoizedState=f;var T={value:f,getSnapshot:u};return S.queue=T,J1(B1.bind(null,h,T,i),[i]),h.flags|=2048,Xi(9,z1.bind(null,h,T,f,u),{destroy:void 0},null),f},useId:function(){var i=Bn(),u=Lt.identifierPrefix;if(xt){var f=ya,h=ba;f=(h&~(1<<32-wt(h)-1)).toString(32)+f,u=":"+u+"R"+f,f=Ic++,0 title"))),mn(T,h,f),T[Sn]=i,an(T),h=T;break e;case"link":var z=UC("link","href",S).get(h+(f.href||""));if(z){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]=u,i[Fn]=h;e:for(S=u.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===u)break e;for(;S.sibling===null;){if(S.return===null||S.return===u)break e;S=S.return}S.sibling.return=S.return,S=S.sibling}u.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&&Ra(u)}}return Bt(u),u.flags&=-16777217,null;case 6:if(i&&u.stateNode!=null)i.memoizedProps!==h&&Ra(u);else{if(typeof h!="string"&&u.stateNode===null)throw Error(r(166));if(i=Le.current,hl(u)){if(i=u.stateNode,f=u.memoizedProps,h=null,S=Nn,S!==null)switch(S.tag){case 27:case 5:h=S.memoizedProps}i[Sn]=u,i=!!(i.nodeValue===f||h!==null&&h.suppressHydrationWarning===!0||_C(i.nodeValue,f)),i||Ho(u)}else i=rd(i).createTextNode(h),i[Sn]=u,u.stateNode=i}return Bt(u),null;case 13:if(h=u.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(S=hl(u),h!==null&&h.dehydrated!==null){if(i===null){if(!S)throw Error(r(318));if(S=u.memoizedState,S=S!==null?S.dehydrated:null,!S)throw Error(r(317));S[Sn]=u}else ml(),!(u.flags&128)&&(u.memoizedState=null),u.flags|=4;Bt(u),S=!1}else Or!==null&&(yh(Or),Or=null),S=!0;if(!S)return u.flags&256?(va(u),u):(va(u),null)}if(va(u),u.flags&128)return u.lanes=f,u;if(f=h!==null,i=i!==null&&i.memoizedState!==null,f){h=u.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&&(u.child.flags|=8192),Vc(u,u.updateQueue),Bt(u),null;case 4:return ee(),i===null&&_h(u.stateNode.containerInfo),Bt(u),null;case 10:return xa(u.type),Bt(u),null;case 19:if(pe(en),S=u.memoizedState,S===null)return Bt(u),null;if(h=(u.flags&128)!==0,T=S.rendering,T===null)if(h)Pl(S,!1);else{if(qt!==0||i!==null&&i.flags&128)for(i=u.child;i!==null;){if(T=_c(i),T!==null){for(u.flags|=128,Pl(S,!1),i=T.updateQueue,u.updateQueue=i,Vc(u,i),u.subtreeFlags=0,i=f,f=u.child;f!==null;)rC(f,i),f=f.sibling;return te(en,en.current&1|2),u.child}i=i.sibling}S.tail!==null&&me()>Wc&&(u.flags|=128,h=!0,Pl(S,!1),u.lanes=4194304)}else{if(!h)if(i=_c(T),i!==null){if(u.flags|=128,h=!0,i=i.updateQueue,u.updateQueue=i,Vc(u,i),Pl(S,!0),S.tail===null&&S.tailMode==="hidden"&&!T.alternate&&!xt)return Bt(u),null}else 2*me()-S.renderingStartTime>Wc&&f!==536870912&&(u.flags|=128,h=!0,Pl(S,!1),u.lanes=4194304);S.isBackwards?(T.sibling=u.child,u.child=T):(i=S.last,i!==null?i.sibling=T:u.child=T,S.last=T)}return S.tail!==null?(u=S.tail,S.rendering=u,S.tail=u.sibling,S.renderingStartTime=me(),u.sibling=null,i=en.current,te(en,h?i&1|2:i&1),u):(Bt(u),null);case 22:case 23:return va(u),bg(),h=u.memoizedState!==null,i!==null?i.memoizedState!==null!==h&&(u.flags|=8192):h&&(u.flags|=8192),h?f&536870912&&!(u.flags&128)&&(Bt(u),u.subtreeFlags&6&&(u.flags|=8192)):Bt(u),f=u.updateQueue,f!==null&&Vc(u,f.retryQueue),f=null,i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(f=i.memoizedState.cachePool.pool),h=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(h=u.memoizedState.cachePool.pool),h!==f&&(u.flags|=2048),i!==null&&pe(qo),null;case 24:return f=null,i!==null&&(f=i.memoizedState.cache),u.memoizedState.cache!==f&&(u.flags|=2048),xa(tn),Bt(u),null;case 25:return null}throw Error(r(156,u.tag))}function c$(i,u){switch(pg(u),u.tag){case 1:return i=u.flags,i&65536?(u.flags=i&-65537|128,u):null;case 3:return xa(tn),ee(),i=u.flags,i&65536&&!(i&128)?(u.flags=i&-65537|128,u):null;case 26:case 27:case 5:return Te(u),null;case 13:if(va(u),i=u.memoizedState,i!==null&&i.dehydrated!==null){if(u.alternate===null)throw Error(r(340));ml()}return i=u.flags,i&65536?(u.flags=i&-65537|128,u):null;case 19:return pe(en),null;case 4:return ee(),null;case 10:return xa(u.type),null;case 22:case 23:return va(u),bg(),i!==null&&pe(qo),i=u.flags,i&65536?(u.flags=i&-65537|128,u):null;case 24:return xa(tn),null;case 25:return null;default:return null}}function iC(i,u){switch(pg(u),u.tag){case 3:xa(tn),ee();break;case 26:case 27:case 5:Te(u);break;case 4:ee();break;case 13:va(u);break;case 19:pe(en);break;case 10:xa(u.type);break;case 22:case 23:va(u),bg(),i!==null&&pe(qo);break;case 24:xa(tn)}}var d$={getCacheForType:function(i){var u=En(tn),f=u.data.get(i);return f===void 0&&(f=i(),u.data.set(i,f)),f}},f$=typeof WeakMap=="function"?WeakMap:Map,jt=0,Lt=null,ft=null,vt=0,Mt=0,Zn=null,Ca=!1,es=!1,dh=!1,_a=0,qt=0,lo=0,ei=0,fh=0,br=0,ts=0,Fl=null,Xr=null,ph=!1,gh=0,Wc=1/0,Yc=null,uo=null,Kc=!1,ti=null,zl=0,hh=0,mh=null,Bl=0,bh=null;function Qn(){if(jt&2&&vt!==0)return vt&-vt;if(I.T!==null){var i=Vi;return i!==0?i:Th()}return RA()}function sC(){br===0&&(br=!(vt&536870912)||xt?Nt():536870912);var i=pr.current;return i!==null&&(i.flags|=32),br}function On(i,u,f){(i===Lt&&Mt===2||i.cancelPendingCommit!==null)&&(ns(i,0),Na(i,vt,br,!1)),Mn(i,f),(!(jt&2)||i!==Lt)&&(i===Lt&&(!(jt&2)&&(ei|=f),qt===4&&Na(i,vt,br,!1)),Zr(i))}function lC(i,u,f){if(jt&6)throw Error(r(327));var h=!f&&(u&60)===0&&(u&i.expiredLanes)===0||Xe(i,u),S=h?h$(i,u):Eh(i,u,!0),T=h;do{if(S===0){es&&!h&&Na(i,u,0,!1);break}else if(S===6)Na(i,u,0,!Ca);else{if(f=i.current.alternate,T&&!p$(f)){S=Eh(i,u,!1),T=!1;continue}if(S===2){if(T=u,i.errorRecoveryDisabledLanes&T)var z=0;else z=i.pendingLanes&-536870913,z=z!==0?z:z&536870912?536870912:0;if(z!==0){u=z;e:{var q=i;S=Fl;var X=q.current.memoizedState.isDehydrated;if(X&&(ns(q,z).flags|=256),z=Eh(q,z,!1),z!==2){if(dh&&!X){q.errorRecoveryDisabledLanes|=T,ei|=T,S=4;break e}T=Xr,Xr=S,T!==null&&yh(T)}S=z}if(T=!1,S!==2)continue}}if(S===1){ns(i,0),Na(i,u,0,!0);break}e:{switch(h=i,S){case 0:case 1:throw Error(r(345));case 4:if((u&4194176)===u){Na(h,u,br,!Ca);break e}break;case 2:Xr=null;break;case 3:case 5:break;default:throw Error(r(329))}if(h.finishedWork=f,h.finishedLanes=u,(u&62914560)===u&&(T=gh+300-me(),10f?32:f,I.T=null,ti===null)var T=!1;else{f=mh,mh=null;var z=ti,q=zl;if(ti=null,zl=0,jt&6)throw Error(r(331));var X=jt;if(jt|=4,tC(z.current),QR(z,z.current,q,f),jt=X,jl(0,!1),et&&typeof et.onPostCommitFiberRoot=="function")try{et.onPostCommitFiberRoot(bt,z)}catch{}T=!0}return T}finally{Q.p=S,I.T=h,bC(i,u)}}return!1}function yC(i,u,f){u=cr(f,u),u=Bg(i.stateNode,u,2),i=ro(i,u,2),i!==null&&(Mn(i,2),Zr(i))}function Ot(i,u,f){if(i.tag===3)yC(i,i,f);else for(;u!==null;){if(u.tag===3){yC(u,i,f);break}else if(u.tag===1){var h=u.stateNode;if(typeof u.type.getDerivedStateFromError=="function"||typeof h.componentDidCatch=="function"&&(uo===null||!uo.has(h))){i=cr(f,i),f=ER(2),h=ro(u,f,2),h!==null&&(wR(f,h,u,i),Mn(h,2),Zr(h));break}}u=u.return}}function wh(i,u,f){var h=i.pingCache;if(h===null){h=i.pingCache=new f$;var S=new Set;h.set(u,S)}else S=h.get(u),S===void 0&&(S=new Set,h.set(u,S));S.has(f)||(dh=!0,S.add(f),i=y$.bind(null,i,u,f),u.then(i,i))}function y$(i,u,f){var h=i.pingCache;h!==null&&h.delete(u),i.pingedLanes|=i.suspendedLanes&f,i.warmLanes&=~f,Lt===i&&(vt&f)===f&&(qt===4||qt===3&&(vt&62914560)===vt&&300>me()-gh?!(jt&2)&&ns(i,0):fh|=f,ts===vt&&(ts=0)),Zr(i)}function vC(i,u){u===0&&(u=Ln()),i=Ka(i,u),i!==null&&(Mn(i,u),Zr(i))}function v$(i){var u=i.memoizedState,f=0;u!==null&&(f=u.retryLane),vC(i,f)}function S$(i,u){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(u),vC(i,f)}function E$(i,u){return xe(i,u)}var Qc=null,os=null,xh=!1,Jc=!1,kh=!1,ni=0;function Zr(i){i!==os&&i.next===null&&(os===null?Qc=os=i:os=os.next=i),Jc=!0,xh||(xh=!0,x$(w$))}function jl(i,u){if(!kh&&Jc){kh=!0;do for(var f=!1,h=Qc;h!==null;){if(i!==0){var S=h.pendingLanes;if(S===0)var T=0;else{var z=h.suspendedLanes,q=h.pingedLanes;T=(1<<31-wt(42|i)+1)-1,T&=S&~(z&~q),T=T&201326677?T&201326677|1:T?T|2:0}T!==0&&(f=!0,wC(h,T))}else T=vt,T=pa(h,h===Lt?T:0),!(T&3)||Xe(h,T)||(f=!0,wC(h,T));h=h.next}while(f);kh=!1}}function w$(){Jc=xh=!1;var i=0;ni!==0&&(O$()&&(i=ni),ni=0);for(var u=me(),f=null,h=Qc;h!==null;){var S=h.next,T=SC(h,u);T===0?(h.next=null,f===null?Qc=S:f.next=S,S===null&&(os=f)):(f=h,(i!==0||T&3)&&(Jc=!0)),h=S}jl(i)}function SC(i,u){for(var f=i.suspendedLanes,h=i.pingedLanes,S=i.expirationTimes,T=i.pendingLanes&-62914561;0"u"?null:document;function FC(i,u,f){var h=ss;if(h&&typeof u=="string"&&u){var S=lr(u);S='link[rel="'+i+'"][href="'+S+'"]',typeof f=="string"&&(S+='[crossorigin="'+f+'"]'),PC.has(S)||(PC.add(S),i={rel:i,crossOrigin:f,href:u},h.querySelector(S)===null&&(u=h.createElement("link"),mn(u,"link",i),an(u),h.head.appendChild(u)))}}function B$(i){Oa.D(i),FC("dns-prefetch",i,null)}function j$(i,u){Oa.C(i,u),FC("preconnect",i,u)}function U$(i,u,f){Oa.L(i,u,f);var h=ss;if(h&&i&&u){var S='link[rel="preload"][as="'+lr(u)+'"]';u==="image"&&f&&f.imageSrcSet?(S+='[imagesrcset="'+lr(f.imageSrcSet)+'"]',typeof f.imageSizes=="string"&&(S+='[imagesizes="'+lr(f.imageSizes)+'"]')):S+='[href="'+lr(i)+'"]';var T=S;switch(u){case"style":T=ls(i);break;case"script":T=us(i)}yr.has(T)||(i=D({rel:"preload",href:u==="image"&&f&&f.imageSrcSet?void 0:i,as:u},f),yr.set(T,i),h.querySelector(S)!==null||u==="style"&&h.querySelector(Hl(T))||u==="script"&&h.querySelector($l(T))||(u=h.createElement("link"),mn(u,"link",i),an(u),h.head.appendChild(u)))}}function G$(i,u){Oa.m(i,u);var f=ss;if(f&&i){var h=u&&typeof u.as=="string"?u.as:"script",S='link[rel="modulepreload"][as="'+lr(h)+'"][href="'+lr(i)+'"]',T=S;switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":T=us(i)}if(!yr.has(T)&&(i=D({rel:"modulepreload",href:i},u),yr.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 H$(i,u,f){Oa.S(i,u,f);var h=ss;if(h&&i){var S=Oi(h).hoistableStyles,T=ls(i);u=u||"default";var z=S.get(T);if(!z){var q={loading:0,preload:null};if(z=h.querySelector(Hl(T)))q.loading=5;else{i=D({rel:"stylesheet",href:i,"data-precedence":u},f),(f=yr.get(T))&&zh(i,f);var X=z=h.createElement("link");an(X),mn(X,"link",i),X._p=new Promise(function(ae,ye){X.onload=ae,X.onerror=ye}),X.addEventListener("load",function(){q.loading|=1}),X.addEventListener("error",function(){q.loading|=2}),q.loading|=4,od(z,u,h)}z={type:"stylesheet",instance:z,count:1,state:q},S.set(T,z)}}}function $$(i,u){Oa.X(i,u);var f=ss;if(f&&i){var h=Oi(f).hoistableScripts,S=us(i),T=h.get(S);T||(T=f.querySelector($l(S)),T||(i=D({src:i,async:!0},u),(u=yr.get(S))&&Bh(i,u),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 q$(i,u){Oa.M(i,u);var f=ss;if(f&&i){var h=Oi(f).hoistableScripts,S=us(i),T=h.get(S);T||(T=f.querySelector($l(S)),T||(i=D({src:i,async:!0,type:"module"},u),(u=yr.get(S))&&Bh(i,u),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 zC(i,u,f,h){var S=(S=Le.current)?ad(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"?(u=ls(f.href),f=Oi(S).hoistableStyles,h=f.get(u),h||(h={type:"style",instance:null,count:0,state:null},f.set(u,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=ls(f.href);var T=Oi(S).hoistableStyles,z=T.get(i);if(z||(S=S.ownerDocument||S,z={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},T.set(i,z),(T=S.querySelector(Hl(i)))&&!T._p&&(z.instance=T,z.state.loading=5),yr.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},yr.set(i,f),T||V$(S,i,f,z.state))),u&&h===null)throw Error(r(528,""));return z}if(u&&h!==null)throw Error(r(529,""));return null;case"script":return u=f.async,f=f.src,typeof f=="string"&&u&&typeof u!="function"&&typeof u!="symbol"?(u=us(f),f=Oi(S).hoistableScripts,h=f.get(u),h||(h={type:"script",instance:null,count:0,state:null},f.set(u,h)),h):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,i))}}function ls(i){return'href="'+lr(i)+'"'}function Hl(i){return'link[rel="stylesheet"]['+i+"]"}function BC(i){return D({},i,{"data-precedence":i.precedence,precedence:null})}function V$(i,u,f,h){i.querySelector('link[rel="preload"][as="style"]['+u+"]")?h.loading=1:(u=i.createElement("link"),h.preload=u,u.addEventListener("load",function(){return h.loading|=1}),u.addEventListener("error",function(){return h.loading|=2}),mn(u,"link",f),an(u),i.head.appendChild(u))}function us(i){return'[src="'+lr(i)+'"]'}function $l(i){return"script[async]"+i}function jC(i,u,f){if(u.count++,u.instance===null)switch(u.type){case"style":var h=i.querySelector('style[data-href~="'+lr(f.href)+'"]');if(h)return u.instance=h,an(h),h;var S=D({},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),od(h,f.precedence,i),u.instance=h;case"stylesheet":S=ls(f.href);var T=i.querySelector(Hl(S));if(T)return u.state.loading|=4,u.instance=T,an(T),T;h=BC(f),(S=yr.get(S))&&zh(h,S),T=(i.ownerDocument||i).createElement("link"),an(T);var z=T;return z._p=new Promise(function(q,X){z.onload=q,z.onerror=X}),mn(T,"link",h),u.state.loading|=4,od(T,f.precedence,i),u.instance=T;case"script":return T=us(f.src),(S=i.querySelector($l(T)))?(u.instance=S,an(S),S):(h=f,(S=yr.get(T))&&(h=D({},f),Bh(h,S)),i=i.ownerDocument||i,S=i.createElement("script"),an(S),mn(S,"link",h),i.head.appendChild(S),u.instance=S);case"void":return null;default:throw Error(r(443,u.type))}else u.type==="stylesheet"&&!(u.state.loading&4)&&(h=u.instance,u.state.loading|=4,od(h,f.precedence,i));return u.instance}function od(i,u,f){for(var h=f.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),S=h.length?h[h.length-1]:null,T=S,z=0;z title"):null)}function W$(i,u,f){if(f===1||u.itemProp!=null)return!1;switch(i){case"meta":case"title":return!0;case"style":if(typeof u.precedence!="string"||typeof u.href!="string"||u.href==="")break;return!0;case"link":if(typeof u.rel!="string"||typeof u.href!="string"||u.href===""||u.onLoad||u.onError)break;switch(u.rel){case"stylesheet":return i=u.disabled,typeof u.precedence=="string"&&i==null;default:return!0}case"script":if(u.async&&typeof u.async!="function"&&typeof u.async!="symbol"&&!u.onLoad&&!u.onError&&u.src&&typeof u.src=="string")return!0}return!1}function HC(i){return!(i.type==="stylesheet"&&!(i.state.loading&3))}var ql=null;function Y$(){}function K$(i,u,f){if(ql===null)throw Error(r(475));var h=ql;if(u.type==="stylesheet"&&(typeof f.media!="string"||matchMedia(f.media).matches!==!1)&&!(u.state.loading&4)){if(u.instance===null){var S=ls(f.href),T=i.querySelector(Hl(S));if(T){i=T._p,i!==null&&typeof i=="object"&&typeof i.then=="function"&&(h.count++,h=sd.bind(h),i.then(h,h)),u.state.loading|=4,u.instance=T,an(T);return}T=i.ownerDocument||i,f=BC(f),(S=yr.get(S))&&zh(f,S),T=T.createElement("link"),an(T);var z=T;z._p=new Promise(function(q,X){z.onload=q,z.onerror=X}),mn(T,"link",f),u.instance=T}h.stylesheets===null&&(h.stylesheets=new Map),h.stylesheets.set(u,i),(i=u.state.preload)&&!(u.state.loading&3)&&(h.count++,u=sd.bind(h),i.addEventListener("load",u),i.addEventListener("error",u))}}function X$(){if(ql===null)throw Error(r(475));var i=ql;return i.stylesheets&&i.count===0&&jh(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(),Kh.exports=b9(),Kh.exports}var v9=y9(),Jl={},d_;function S9(){if(d_)return Jl;d_=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),O=R===-1?v:R;if(x>O){A=m.lastIndexOf(";",x-1)+1;continue}const N=l(m,A,x),C=c(m,x,N),_=m.slice(N,C);if(y[_]===void 0){let L=l(m,x+1,O),I=c(m,O,L);const D=k(m.slice(L,I));y[_]=D}A=O+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}S9();/** * react-router v7.3.0 * * Copyright (c) Remix Software Inc. @@ -55,19 +55,19 @@ Error generating stack: `+f.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */var c_="popstate";function vq(e={}){function t(a,o){let{pathname:s="/",search:l="",hash:c=""}=xi(a.location.hash.substring(1));return!s.startsWith("/")&&!s.startsWith(".")&&(s="/"+s),u0("",{pathname:s,search:l,hash:c},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(a,o){let s=a.document.querySelector("base"),l="";if(s&&s.getAttribute("href")){let c=a.location.href,d=c.indexOf("#");l=d===-1?c:c.slice(0,d)}return l+"#"+(typeof o=="string"?o:Su(o))}function r(a,o){jr(a.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(o)})`)}return Eq(t,n,r,e)}function Gt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function jr(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Sq(){return Math.random().toString(36).substring(2,10)}function d_(e,t){return{usr:e.state,key:e.key,idx:t}}function u0(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?xi(t):t,state:n,key:t&&t.key||r||Sq()}}function Su({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 xi(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 Eq(e,t,n,r={}){let{window:a=document.defaultView,v5Compat:o=!1}=r,s=a.history,l="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(){l="POP";let k=p(),A=k==null?null:k-d;d=k,c&&c({action:l,location:v.location,delta:A})}function m(k,A){l="PUSH";let x=u0(v.location,k,A);n&&n(x,k),d=p()+1;let R=d_(x,d),O=v.createHref(x);try{s.pushState(R,"",O)}catch(N){if(N instanceof DOMException&&N.name==="DataCloneError")throw N;a.location.assign(O)}o&&c&&c({action:l,location:v.location,delta:1})}function b(k,A){l="REPLACE";let x=u0(v.location,k,A);n&&n(x,k),d=p();let R=d_(x,d),O=v.createHref(x);s.replaceState(R,"",O),o&&c&&c({action:l,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:Su(k);return x=x.replace(/ $/,"%20"),Gt(A,`No window.location.(origin|href) available to create URL for href: ${x}`),new URL(x,A)}let v={get action(){return l},get location(){return e(a,s)},listen(k){if(c)throw new Error("A history only accepts one active listener");return a.addEventListener(c_,g),c=k,()=>{a.removeEventListener(c_,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 Vz(e,t,n="/"){return wq(e,t,n,!1)}function wq(e,t,n,r){let a=typeof t=="string"?xi(t):t,o=Ba(a.pathname||"/",n);if(o==null)return null;let s=Wz(e);xq(s);let l=null;for(let c=0;l==null&&c{let c={relativePath:l===void 0?o.path||"":l,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};c.relativePath.startsWith("/")&&(Gt(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=Fa([r,c.relativePath]),p=n.concat(c);o.children&&o.children.length>0&&(Gt(o.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${d}".`),Wz(o.children,t,p,d)),!(o.path==null&&!o.index)&&t.push({path:d,score:Nq(d,o.index),routesMeta:p})};return e.forEach((o,s)=>{var l;if(o.path===""||!((l=o.path)!=null&&l.includes("?")))a(o,s);else for(let c of Yz(o.path))a(o,s,c)}),t}function Yz(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=Yz(r.join("/")),l=[];return l.push(...s.map(c=>c===""?o:[o,c].join("/"))),a&&l.push(...s),l.map(c=>e.startsWith("/")&&c===""?"/":c)}function xq(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Oq(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var kq=/^:[\w-]+$/,Tq=3,Aq=2,Rq=1,Cq=10,_q=-2,f_=e=>e==="*";function Nq(e,t){let n=e.split("/"),r=n.length;return n.some(f_)&&(r+=_q),t&&(r+=Aq),n.filter(a=>!f_(a)).reduce((a,o)=>a+(kq.test(o)?Tq:o===""?Rq:Cq),r)}function Oq(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 Iq(e,t,n=!1){let{routesMeta:r}=e,a={},o="/",s=[];for(let l=0;l{if(p==="*"){let y=l[m]||"";s=o.slice(0,o.length-y.length).replace(/(.)\/+$/,"$1")}const b=l[m];return g&&!b?d[p]=void 0:d[p]=(b||"").replace(/%2F/g,"/"),d},{}),pathname:o,pathnameBase:s,pattern:e}}function Dq(e,t=!1,n=!0){jr(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,l,c)=>(r.push({paramName:l,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 Lq(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return jr(!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 Ba(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 Mq(e,t="/"){let{pathname:n,search:r="",hash:a=""}=typeof e=="string"?xi(e):e;return{pathname:n?n.startsWith("/")?n:Pq(n,t):t,search:Bq(r),hash:jq(a)}}function Pq(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 Jh(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 Fq(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Kz(e){let t=Fq(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function Xz(e,t,n,r=!1){let a;typeof e=="string"?a=xi(e):(a={...e},Gt(!a.pathname||!a.pathname.includes("?"),Jh("?","pathname","search",a)),Gt(!a.pathname||!a.pathname.includes("#"),Jh("#","pathname","hash",a)),Gt(!a.search||!a.search.includes("#"),Jh("#","search","hash",a)));let o=e===""||a.pathname==="",s=o?"/":a.pathname,l;if(s==null)l=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("/")}l=g>=0?t[g]:"/"}let c=Mq(a,l),d=s&&s!=="/"&&s.endsWith("/"),p=(o||s===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(d||p)&&(c.pathname+="/"),c}var Fa=e=>e.join("/").replace(/\/\/+/g,"/"),zq=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Bq=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,jq=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Uq(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var Zz=["POST","PUT","PATCH","DELETE"];new Set(Zz);var Gq=["GET",...Zz];new Set(Gq);var Us=w.createContext(null);Us.displayName="DataRouter";var qf=w.createContext(null);qf.displayName="DataRouterState";var Qz=w.createContext({isTransitioning:!1});Qz.displayName="ViewTransition";var Hq=w.createContext(new Map);Hq.displayName="Fetchers";var $q=w.createContext(null);$q.displayName="Await";var sa=w.createContext(null);sa.displayName="Navigation";var zu=w.createContext(null);zu.displayName="Location";var Ha=w.createContext({outlet:null,matches:[],isDataRoute:!1});Ha.displayName="Route";var Ck=w.createContext(null);Ck.displayName="RouteError";function qq(e,{relative:t}={}){Gt(Bu(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=w.useContext(sa),{hash:a,pathname:o,search:s}=ju(e,{relative:t}),l=o;return n!=="/"&&(l=o==="/"?n:Fa([n,o])),r.createHref({pathname:l,search:s,hash:a})}function Bu(){return w.useContext(zu)!=null}function ki(){return Gt(Bu(),"useLocation() may be used only in the context of a component."),w.useContext(zu).location}var Jz="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function eB(e){w.useContext(sa).static||w.useLayoutEffect(e)}function _k(){let{isDataRoute:e}=w.useContext(Ha);return e?a9():Vq()}function Vq(){Gt(Bu(),"useNavigate() may be used only in the context of a component.");let e=w.useContext(Us),{basename:t,navigator:n}=w.useContext(sa),{matches:r}=w.useContext(Ha),{pathname:a}=ki(),o=JSON.stringify(Kz(r)),s=w.useRef(!1);return eB(()=>{s.current=!0}),w.useCallback((c,d={})=>{if(jr(s.current,Jz),!s.current)return;if(typeof c=="number"){n.go(c);return}let p=Xz(c,JSON.parse(o),a,d.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:Fa([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}=ki(),a=JSON.stringify(Kz(n));return w.useMemo(()=>Xz(e,JSON.parse(a),r,t==="path"),[e,a,r,t])}function Wq(e,t){return tB(e,t)}function tB(e,t,n,r){var x;Gt(Bu(),"useRoutes() may be used only in the context of a component.");let{navigator:a,static:o}=w.useContext(sa),{matches:s}=w.useContext(Ha),l=s[s.length-1],c=l?l.params:{},d=l?l.pathname:"/",p=l?l.pathnameBase:"/",g=l&&l.route;{let R=g&&g.path||"";nB(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 f_="popstate";function E9(e={}){function t(a,o){let{pathname:s="/",search:l="",hash:c=""}=xi(a.location.hash.substring(1));return!s.startsWith("/")&&!s.startsWith(".")&&(s="/"+s),u0("",{pathname:s,search:l,hash:c},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(a,o){let s=a.document.querySelector("base"),l="";if(s&&s.getAttribute("href")){let c=a.location.href,d=c.indexOf("#");l=d===-1?c:c.slice(0,d)}return l+"#"+(typeof o=="string"?o:Eu(o))}function r(a,o){jr(a.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(o)})`)}return x9(t,n,r,e)}function Gt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function jr(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function w9(){return Math.random().toString(36).substring(2,10)}function p_(e,t){return{usr:e.state,key:e.key,idx:t}}function u0(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?xi(t):t,state:n,key:t&&t.key||r||w9()}}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 xi(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 x9(e,t,n,r={}){let{window:a=document.defaultView,v5Compat:o=!1}=r,s=a.history,l="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(){l="POP";let k=p(),A=k==null?null:k-d;d=k,c&&c({action:l,location:v.location,delta:A})}function m(k,A){l="PUSH";let x=u0(v.location,k,A);n&&n(x,k),d=p()+1;let R=p_(x,d),O=v.createHref(x);try{s.pushState(R,"",O)}catch(N){if(N instanceof DOMException&&N.name==="DataCloneError")throw N;a.location.assign(O)}o&&c&&c({action:l,location:v.location,delta:1})}function b(k,A){l="REPLACE";let x=u0(v.location,k,A);n&&n(x,k),d=p();let R=p_(x,d),O=v.createHref(x);s.replaceState(R,"",O),o&&c&&c({action:l,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"),Gt(A,`No window.location.(origin|href) available to create URL for href: ${x}`),new URL(x,A)}let v={get action(){return l},get location(){return e(a,s)},listen(k){if(c)throw new Error("A history only accepts one active listener");return a.addEventListener(f_,g),c=k,()=>{a.removeEventListener(f_,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 Yz(e,t,n="/"){return k9(e,t,n,!1)}function k9(e,t,n,r){let a=typeof t=="string"?xi(t):t,o=Ba(a.pathname||"/",n);if(o==null)return null;let s=Kz(e);T9(s);let l=null;for(let c=0;l==null&&c{let c={relativePath:l===void 0?o.path||"":l,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};c.relativePath.startsWith("/")&&(Gt(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=Fa([r,c.relativePath]),p=n.concat(c);o.children&&o.children.length>0&&(Gt(o.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${d}".`),Kz(o.children,t,p,d)),!(o.path==null&&!o.index)&&t.push({path:d,score:I9(d,o.index),routesMeta:p})};return e.forEach((o,s)=>{var l;if(o.path===""||!((l=o.path)!=null&&l.includes("?")))a(o,s);else for(let c of Xz(o.path))a(o,s,c)}),t}function Xz(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=Xz(r.join("/")),l=[];return l.push(...s.map(c=>c===""?o:[o,c].join("/"))),a&&l.push(...s),l.map(c=>e.startsWith("/")&&c===""?"/":c)}function T9(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:D9(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var A9=/^:[\w-]+$/,R9=3,C9=2,_9=1,N9=10,O9=-2,g_=e=>e==="*";function I9(e,t){let n=e.split("/"),r=n.length;return n.some(g_)&&(r+=O9),t&&(r+=C9),n.filter(a=>!g_(a)).reduce((a,o)=>a+(A9.test(o)?R9:o===""?_9:N9),r)}function D9(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 L9(e,t,n=!1){let{routesMeta:r}=e,a={},o="/",s=[];for(let l=0;l{if(p==="*"){let y=l[m]||"";s=o.slice(0,o.length-y.length).replace(/(.)\/+$/,"$1")}const b=l[m];return g&&!b?d[p]=void 0:d[p]=(b||"").replace(/%2F/g,"/"),d},{}),pathname:o,pathnameBase:s,pattern:e}}function M9(e,t=!1,n=!0){jr(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,l,c)=>(r.push({paramName:l,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 P9(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return jr(!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 Ba(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 F9(e,t="/"){let{pathname:n,search:r="",hash:a=""}=typeof e=="string"?xi(e):e;return{pathname:n?n.startsWith("/")?n:z9(n,t):t,search:U9(r),hash:G9(a)}}function z9(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 Jh(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 B9(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Zz(e){let t=B9(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function Qz(e,t,n,r=!1){let a;typeof e=="string"?a=xi(e):(a={...e},Gt(!a.pathname||!a.pathname.includes("?"),Jh("?","pathname","search",a)),Gt(!a.pathname||!a.pathname.includes("#"),Jh("#","pathname","hash",a)),Gt(!a.search||!a.search.includes("#"),Jh("#","search","hash",a)));let o=e===""||a.pathname==="",s=o?"/":a.pathname,l;if(s==null)l=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("/")}l=g>=0?t[g]:"/"}let c=F9(a,l),d=s&&s!=="/"&&s.endsWith("/"),p=(o||s===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(d||p)&&(c.pathname+="/"),c}var Fa=e=>e.join("/").replace(/\/\/+/g,"/"),j9=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),U9=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,G9=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function H9(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var Jz=["POST","PUT","PATCH","DELETE"];new Set(Jz);var $9=["GET",...Jz];new Set($9);var Us=w.createContext(null);Us.displayName="DataRouter";var qf=w.createContext(null);qf.displayName="DataRouterState";var eB=w.createContext({isTransitioning:!1});eB.displayName="ViewTransition";var q9=w.createContext(new Map);q9.displayName="Fetchers";var V9=w.createContext(null);V9.displayName="Await";var sa=w.createContext(null);sa.displayName="Navigation";var Bu=w.createContext(null);Bu.displayName="Location";var Ha=w.createContext({outlet:null,matches:[],isDataRoute:!1});Ha.displayName="Route";var Nk=w.createContext(null);Nk.displayName="RouteError";function W9(e,{relative:t}={}){Gt(ju(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=w.useContext(sa),{hash:a,pathname:o,search:s}=Uu(e,{relative:t}),l=o;return n!=="/"&&(l=o==="/"?n:Fa([n,o])),r.createHref({pathname:l,search:s,hash:a})}function ju(){return w.useContext(Bu)!=null}function ki(){return Gt(ju(),"useLocation() may be used only in the context of a component."),w.useContext(Bu).location}var tB="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function nB(e){w.useContext(sa).static||w.useLayoutEffect(e)}function Ok(){let{isDataRoute:e}=w.useContext(Ha);return e?iq():Y9()}function Y9(){Gt(ju(),"useNavigate() may be used only in the context of a component.");let e=w.useContext(Us),{basename:t,navigator:n}=w.useContext(sa),{matches:r}=w.useContext(Ha),{pathname:a}=ki(),o=JSON.stringify(Zz(r)),s=w.useRef(!1);return nB(()=>{s.current=!0}),w.useCallback((c,d={})=>{if(jr(s.current,tB),!s.current)return;if(typeof c=="number"){n.go(c);return}let p=Qz(c,JSON.parse(o),a,d.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:Fa([t,p.pathname])),(d.replace?n.replace:n.push)(p,d.state,d)},[t,n,o,a,e])}w.createContext(null);function Uu(e,{relative:t}={}){let{matches:n}=w.useContext(Ha),{pathname:r}=ki(),a=JSON.stringify(Zz(n));return w.useMemo(()=>Qz(e,JSON.parse(a),r,t==="path"),[e,a,r,t])}function K9(e,t){return rB(e,t)}function rB(e,t,n,r){var x;Gt(ju(),"useRoutes() may be used only in the context of a component.");let{navigator:a,static:o}=w.useContext(sa),{matches:s}=w.useContext(Ha),l=s[s.length-1],c=l?l.params:{},d=l?l.pathname:"/",p=l?l.pathnameBase:"/",g=l&&l.route;{let R=g&&g.path||"";aB(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=ki(),b;if(t){let R=typeof t=="string"?xi(t):t;Gt(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:Vz(e,{pathname:v});jr(g||k!=null,`No routes matched location "${b.pathname}${b.search}${b.hash}" `),jr(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=Qq(k&&k.map(R=>Object.assign({},R,{params:Object.assign({},c,R.params),pathname:Fa([p,a.encodeLocation?a.encodeLocation(R.pathname).pathname:R.pathname]),pathnameBase:R.pathnameBase==="/"?p:Fa([p,a.encodeLocation?a.encodeLocation(R.pathnameBase).pathname:R.pathnameBase])})),s,n,r);return t&&A?w.createElement(zu.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...b},navigationType:"POP"}},A):A}function Yq(){let e=r9(),t=Uq(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 Kq=w.createElement(Yq,null),Xq=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(Ck.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Zq({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 Qq(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);Gt(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,l=-1;if(n)for(let c=0;c=0?a=a.slice(0,l+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||Kq,s&&(l<0&&p===0?(nB("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),m=!0,y=null):l===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(Zq,{match:d,routeContext:{outlet:c,matches:v,isDataRoute:n!=null},children:A})};return n&&(d.route.ErrorBoundary||d.route.errorElement||p===0)?w.createElement(Xq,{location:n.location,revalidation:n.revalidation,component:b,error:g,children:k(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):k()},null)}function Nk(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Jq(e){let t=w.useContext(Us);return Gt(t,Nk(e)),t}function e9(e){let t=w.useContext(qf);return Gt(t,Nk(e)),t}function t9(e){let t=w.useContext(Ha);return Gt(t,Nk(e)),t}function Ok(e){let t=t9(e),n=t.matches[t.matches.length-1];return Gt(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function n9(){return Ok("useRouteId")}function r9(){var r;let e=w.useContext(Ck),t=e9("useRouteError"),n=Ok("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function a9(){let{router:e}=Jq("useNavigate"),t=Ok("useNavigate"),n=w.useRef(!1);return eB(()=>{n.current=!0}),w.useCallback(async(a,o={})=>{jr(n.current,Jz),n.current&&(typeof a=="number"?e.navigate(a):await e.navigate(a,{fromRouteId:t,...o}))},[e,t])}var p_={};function nB(e,t,n){!t&&!p_[e]&&(p_[e]=!0,jr(!1,n))}w.memo(o9);function o9({routes:e,future:t,state:n}){return tB(e,void 0,n,t)}function c0(e){Gt(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function i9({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:a,static:o=!1}){Gt(!Bu(),"You cannot render a inside another . You should never have more than one in your app.");let s=e.replace(/^\/*/,"/"),l=w.useMemo(()=>({basename:s,navigator:a,static:o,future:{}}),[s,a,o]);typeof n=="string"&&(n=xi(n));let{pathname:c="/",search:d="",hash:p="",state:g=null,key:m="default"}=n,b=w.useMemo(()=>{let y=Ba(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 jr(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(sa.Provider,{value:l},w.createElement(zu.Provider,{children:t,value:b}))}function s9({children:e,location:t}){return Wq(d0(e),t)}function d0(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,d0(r.props.children,o));return}Gt(r.type===c0,`[${typeof r.type=="string"?r.type:r.type.name}] is not a component. All component children of must be a or `),Gt(!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=d0(r.props.children,o)),n.push(s)}),n}var Vd="get",Wd="application/x-www-form-urlencoded";function Vf(e){return e!=null&&typeof e.tagName=="string"}function l9(e){return Vf(e)&&e.tagName.toLowerCase()==="button"}function u9(e){return Vf(e)&&e.tagName.toLowerCase()==="form"}function c9(e){return Vf(e)&&e.tagName.toLowerCase()==="input"}function d9(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function f9(e,t){return e.button===0&&(!t||t==="_self")&&!d9(e)}var hd=null;function p9(){if(hd===null)try{new FormData(document.createElement("form"),0),hd=!1}catch{hd=!0}return hd}var g9=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function em(e){return e!=null&&!g9.has(e)?(jr(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Wd}"`),null):e}function h9(e,t){let n,r,a,o,s;if(u9(e)){let l=e.getAttribute("action");r=l?Ba(l,t):null,n=e.getAttribute("method")||Vd,a=em(e.getAttribute("enctype"))||Wd,o=new FormData(e)}else if(l9(e)||c9(e)&&(e.type==="submit"||e.type==="image")){let l=e.form;if(l==null)throw new Error('Cannot submit a