From fa5c4315817ef641d36b79bfff6c9c513a5faf70 Mon Sep 17 00:00:00 2001 From: yangdx Date: Mon, 7 Apr 2025 04:14:16 +0800 Subject: [PATCH] Update webui assets --- .../{index-C_A4jxV8.js => index-DXSe8IZZ.js} | 108 +++++++++--------- lightrag/api/webui/index.html | 2 +- 2 files changed, 55 insertions(+), 55 deletions(-) rename lightrag/api/webui/assets/{index-C_A4jxV8.js => index-DXSe8IZZ.js} (91%) diff --git a/lightrag/api/webui/assets/index-C_A4jxV8.js b/lightrag/api/webui/assets/index-DXSe8IZZ.js similarity index 91% rename from lightrag/api/webui/assets/index-C_A4jxV8.js rename to lightrag/api/webui/assets/index-DXSe8IZZ.js index c6020a1c..8bd73ef1 100644 --- a/lightrag/api/webui/assets/index-C_A4jxV8.js +++ b/lightrag/api/webui/assets/index-DXSe8IZZ.js @@ -1,4 +1,4 @@ -var iq=Object.defineProperty;var sq=(e,t,n)=>t in e?iq(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Qr=(e,t,n)=>sq(e,typeof t!="symbol"?t+"":t,n);function lq(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 uq(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 iq=Object.defineProperty;var sq=(e,t,n)=>t in e?iq(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Qr=(e,t,n)=>sq(e,typeof t!="symbol"?t+"":t,n);function lq(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 gf=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 uq(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 * @@ -14,7 +14,7 @@ var iq=Object.defineProperty;var sq=(e,t,n)=>t in e?iq(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(){if(r_)return lt;r_=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,X,Q){return j=Q.ref,{$$typeof:e,type:M,key:V,ref:j!==void 0?j:null,props:Q}}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 Z(M,V,j,P,X){var Q=typeof M;(Q==="undefined"||Q==="boolean")&&(M=null);var oe=!1;if(M===null)oe=!0;else switch(Q){case"bigint":case"string":case"number":oe=!0;break;case"object":switch(M.$$typeof){case e:case t:oe=!0;break;case p:return oe=M._init,Z(oe(M._payload),V,j,P,X)}}if(oe)return X=X(M),oe=P===""?"."+$(M,0):P,O(X)?(j="",oe!=null&&(j=oe.replace(U,"$&/")+"/"),Z(X,V,j,"",function(Re){return Re})):X!=null&&(I(X)&&(X=L(X,j+(X.key==null||M&&M.key===X.key?"":(""+X.key).replace(U,"$&/")+"/")+oe)),V.push(X)),1;oe=0;var ae=P===""?".":P+":";if(O(M))for(var ue=0;uet in e?iq(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 mq(){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=mq(),Qh.exports}/** + */var s_;function mq(){if(s_)return wn;s_=1;var e=qf();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=mq(),Qh.exports}/** * @license React * react-dom-client.production.js * @@ -38,15 +38,15 @@ var iq=Object.defineProperty;var sq=(e,t,n)=>t in e?iq(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 u_;function bq(){if(u_)return Ql;u_=1;var e=hq(),t=$f(),n=Wz();function r(i){var u="https://react.dev/errors/"+i;if(1)":-1S||K[h]!==re[S]){var ve=` `+K[h].replace(" at new "," at ");return i.displayName&&ve.includes("")&&(ve=ve.replace("",i.displayName)),ve}while(1<=h&&0<=S);break}}}finally{W=!1,Error.prepareStackTrace=f}return(f=i?i.displayName||i.name:"")?B(f):""}function G(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=Z(i.type,!1),i;case 11:return i=Z(i.type.render,!1),i;case 1:return i=Z(i.type,!0),i;default:return""}}function H(i){try{var u="";do u+=G(i),i=i.return;while(i);return u}catch(f){return` Error generating stack: `+f.message+` -`+f.stack}}function z(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(z(i)!==i)throw Error(r(188))}function V(i){var u=i.alternate;if(!u){if(u=z(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 F=!1,q=S.child;q;){if(q===f){F=!0,f=S,h=T;break}if(q===h){F=!0,h=S,f=T;break}q=q.sibling}if(!F){for(q=T.child;q;){if(q===f){F=!0,f=T,h=S;break}if(q===h){F=!0,h=T,f=S;break}q=q.sibling}if(!F)throw Error(r(189))}}if(f.alternate!==h)throw Error(r(190))}if(f.tag!==3)throw Error(r(188));return f.stateNode.current===f?i: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,X=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q={pending:!1,data:null,method:null,action:null},oe=[],ae=-1;function ue(i){return{current:i}}function Re(i){0>ae||(i.current=oe[ae],oe[ae]=null,ae--)}function ie(i,u){ae++,oe[ae]=i.current,i.current=u}var Te=ue(null),ne=ue(null),xe=ue(null),Se=ue(null);function be(i,u){switch(ie(xe,u),ie(ne,i),ie(Te,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}}Re(Te),ie(Te,u)}function J(){Re(Te),Re(ne),Re(xe)}function pe(i){i.memoizedState!==null&&ie(Se,i);var u=Te.current,f=OC(u,i.type);u!==f&&(ie(ne,i),ie(Te,f))}function ke(i){ne.current===i&&(Re(Te),Re(ne)),Se.current===i&&(Re(Se),Vl._currentValue=Q)}var he=Object.prototype.hasOwnProperty,Ee=e.unstable_scheduleCallback,se=e.unstable_cancelCallback,Be=e.unstable_shouldYield,je=e.unstable_requestPaint,ye=e.unstable_now,Oe=e.unstable_getCurrentPriorityLevel,ee=e.unstable_ImmediatePriority,de=e.unstable_UserBlockingPriority,Ne=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,F=i.warmLanes;i=i.finishedLanes!==0;var q=f&134217727;return q!==0?(f=q&~S,f!==0?h=Jt(f):(T&=q,T!==0?h=Jt(T):i||(F=q&~F,F!==0&&(h=Jt(F))))):(q=f&~S,q!==0?h=Jt(q):T!==0?h=Jt(T):i||(F=f&~F,F!==0&&(h=Jt(F)))),h===0?0:u!==0&&u!==h&&!(u&S)&&(S=h&-h,F=u&-u,S>=F||S===32&&(F&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 F=i.pendingLanes;i.pendingLanes=f,i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0,i.expiredLanes&=f,i.entangledLanes&=f,i.errorRecoveryDisabledLanes&=f,i.shellSuspendCounter=0;var q=i.entanglements,K=i.expirationTimes,re=i.hiddenUpdates;for(f=F&~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 he.call(IA,i)?!0:he.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(F){h=""+F,T.call(this,F)}}),Object.defineProperty(i,u,{enumerable:f.enumerable}),{getValue:function(){return h},setValue:function(F){h=""+F},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,F,q){i.name="",F!=null&&typeof F!="function"&&typeof F!="symbol"&&typeof F!="boolean"?i.type=F:i.removeAttribute("type"),u!=null?F==="number"?(u===0&&i.value===""||i.value!=u)&&(i.value=""+sr(u)):i.value!==""+sr(u)&&(i.value=""+sr(u)):F!=="submit"&&F!=="reset"||i.removeAttribute("value"),u!=null?Vp(i,F,sr(u)):f!=null?Vp(i,F,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,F,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,F!=null&&typeof F!="function"&&typeof F!="symbol"&&typeof F!="boolean"&&(i.name=F)}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 F=i1(u,h);S&&F&&(f.rangeCount!==1||f.anchorNode!==S.node||f.anchorOffset!==S.offset||f.focusNode!==F.node||f.focusOffset!==F.offset)&&(i=i.createRange(),i.setStart(S.node,S.offset),f.removeAllRanges(),T>h?(f.addRange(i),f.extend(F.node,F.offset)):(i.setEnd(F.node,F.offset),f.addRange(i)))}}for(i=[],f=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>=F,S-=F,ba=1<<32-wt(u)+S|f<Qe?(ln=Ye,Ye=null):ln=Ye.sibling;var kt=fe(le,Ye,ce[Qe],Ae);if(kt===null){Ye===null&&(Ye=ln);break}i&&Ye&&kt.alternate===null&&u(le,Ye),te=T(kt,te,Qe),ct===null?Ge=kt:ct.sibling=kt,ct=kt,Ye=ln}if(Qe===ce.length)return f(le,Ye),xt&&Go(le,Qe),Ge;if(Ye===null){for(;QeQe?(ln=Ye,Ye=null):ln=Ye.sibling;var ho=fe(le,Ye,kt.value,Ae);if(ho===null){Ye===null&&(Ye=ln);break}i&&Ye&&ho.alternate===null&&u(le,Ye),te=T(ho,te,Qe),ct===null?Ge=ho:ct.sibling=ho,ct=ho,Ye=ln}if(kt.done)return f(le,Ye),xt&&Go(le,Qe),Ge;if(Ye===null){for(;!kt.done;Qe++,kt=ce.next())kt=Ce(le,kt.value,Ae),kt!==null&&(te=T(kt,te,Qe),ct===null?Ge=kt:ct.sibling=kt,ct=kt);return xt&&Go(le,Qe),Ge}for(Ye=h(Ye);!kt.done;Qe++,kt=ce.next())kt=me(Ye,le,Qe,kt.value,Ae),kt!==null&&(i&&kt.alternate!==null&&Ye.delete(kt.key===null?Qe:kt.key),te=T(kt,te,Qe),ct===null?Ge=kt:ct.sibling=kt,ct=kt);return i&&Ye.forEach(function(oq){return u(le,oq)}),xt&&Go(le,Qe),Ge}function Vt(le,te,ce,Ae){if(typeof ce=="object"&&ce!==null&&ce.type===c&&ce.key===null&&(ce=ce.props.children),typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case s:e:{for(var Ge=ce.key;te!==null;){if(te.key===Ge){if(Ge=ce.type,Ge===c){if(te.tag===7){f(le,te.sibling),Ae=S(te,ce.props.children),Ae.return=le,le=Ae;break e}}else if(te.elementType===Ge||typeof Ge=="object"&&Ge!==null&&Ge.$$typeof===x&&A1(Ge)===te.type){f(le,te.sibling),Ae=S(te,ce.props),El(Ae,ce),Ae.return=le,le=Ae;break e}f(le,te);break}else u(le,te);te=te.sibling}ce.type===c?(Ae=Jo(ce.props.children,le.mode,Ae,ce.key),Ae.return=le,le=Ae):(Ae=qc(ce.type,ce.key,ce.props,null,le.mode,Ae),El(Ae,ce),Ae.return=le,le=Ae)}return F(le);case l:e:{for(Ge=ce.key;te!==null;){if(te.key===Ge)if(te.tag===4&&te.stateNode.containerInfo===ce.containerInfo&&te.stateNode.implementation===ce.implementation){f(le,te.sibling),Ae=S(te,ce.children||[]),Ae.return=le,le=Ae;break e}else{f(le,te);break}else u(le,te);te=te.sibling}Ae=ch(ce,le.mode,Ae),Ae.return=le,le=Ae}return F(le);case x:return Ge=ce._init,ce=Ge(ce._payload),Vt(le,te,ce,Ae)}if(P(ce))return qe(le,te,ce,Ae);if(C(ce)){if(Ge=C(ce),typeof Ge!="function")throw Error(r(150));return ce=Ge.call(ce),rt(le,te,ce,Ae)}if(typeof ce.then=="function")return Vt(le,te,Ac(ce),Ae);if(ce.$$typeof===b)return Vt(le,te,Gc(le,ce),Ae);Rc(le,ce)}return typeof ce=="string"&&ce!==""||typeof ce=="number"||typeof ce=="bigint"?(ce=""+ce,te!==null&&te.tag===6?(f(le,te.sibling),Ae=S(te,ce),Ae.return=le,le=Ae):(f(le,te),Ae=uh(ce,le.mode,Ae),Ae.return=le,le=Ae),F(le)):f(le,te)}return function(le,te,ce,Ae){try{Sl=0;var Ge=Vt(le,te,ce,Ae);return $i=null,Ge}catch(Ye){if(Ye===yl)throw Ye;var ct=mr(29,Ye,null,le.mode);return ct.lanes=Ae,ct.return=le,ct}finally{}}}var $o=R1(!0),C1=R1(!1),qi=ue(null),Cc=ue(0);function _1(i,u){i=_a,ie(Cc,i),ie(qi,u),_a=i|u.baseLanes}function mg(){ie(Cc,_a),ie(qi,qi.current)}function bg(){_a=Cc.current,Re(qi),Re(Cc)}var pr=ue(null),Yr=null;function Xa(i){var u=i.alternate;ie(en,en.current&1),ie(pr,i),Yr===null&&(u===null||qi.current!==null||u.memoizedState!==null)&&(Yr=i)}function N1(i){if(i.tag===22){if(ie(en,en.current),ie(pr,i),Yr===null){var u=i.alternate;u!==null&&u.memoizedState!==null&&(Yr=i)}}else Za()}function Za(){ie(en,en.current),ie(pr,pr.current)}function va(i){Re(pr),Yr===i&&(Yr=null),Re(en)}var en=ue(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 F=I.T,q={};I.T=q,Pg(i,!1,u,f);try{var K=S(),re=I.S;if(re!==null&&re(q,K),K!==null&&typeof K=="object"&&typeof K.then=="function"){var ve=X6(K,h);Al(i,u,ve,Qn(i))}else Al(i,u,h,Qn(i))}catch(Ce){Al(i,u,{then:function(){},status:"rejected",reason:Ce},Qn())}finally{X.p=T,I.T=F}}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,Q,f===null?t$:function(){return uR(i),f(h)})}function lR(i){var u=i.memoizedState;if(u!==null)return u;u={memoizedState:Q,baseState:Q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Sa,lastRenderedState:Q},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 F=u.lastRenderedState,q=T(F,f);if(S.hasEagerState=!0,S.eagerState=q,Yn(q,F))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 F=UC("link","href",S).get(h+(f.href||""));if(F){for(var q=0;q<\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof h.is=="string"?S.createElement("select",{is:h.is}):S.createElement("select"),h.multiple?i.multiple=!0:h.size&&(i.size=h.size);break;default:i=typeof h.is=="string"?S.createElement(f,{is:h.is}):S.createElement(f)}}i[Sn]=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=xe.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 J(),i===null&&_h(u.stateNode.containerInfo),Bt(u),null;case 10:return xa(u.type),Bt(u),null;case 19:if(Re(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 ie(en,en.current&1|2),u.child}i=i.sibling}S.tail!==null&&ye()>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*ye()-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=ye(),u.sibling=null,i=en.current,ie(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&&Re(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),J(),i=u.flags,i&65536&&!(i&128)?(u.flags=i&-65537|128,u):null;case 26:case 27:case 5:return ke(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 Re(en),null;case 4:return J(),null;case 10:return xa(u.type),null;case 22:case 23:return va(u),bg(),i!==null&&Re(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),J();break;case 26:case 27:case 5:ke(u);break;case 4:J();break;case 13:va(u);break;case 19:Re(en);break;case 10:xa(u.type);break;case 22:case 23:va(u),bg(),i!==null&&Re(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 F=0;else F=i.pendingLanes&-536870913,F=F!==0?F:F&536870912?536870912:0;if(F!==0){u=F;e:{var q=i;S=Fl;var K=q.current.memoizedState.isDehydrated;if(K&&(ns(q,F).flags|=256),F=Eh(q,F,!1),F!==2){if(dh&&!K){q.errorRecoveryDisabledLanes|=T,ei|=T,S=4;break e}T=Xr,Xr=S,T!==null&&yh(T)}S=F}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-ye(),10f?32:f,I.T=null,ti===null)var T=!1;else{f=mh,mh=null;var F=ti,q=zl;if(ti=null,zl=0,jt&6)throw Error(r(331));var K=jt;if(jt|=4,tC(F.current),QR(F,F.current,q,f),jt=K,jl(0,!1),et&&typeof et.onPostCommitFiberRoot=="function")try{et.onPostCommitFiberRoot(bt,F)}catch{}T=!0}return T}finally{X.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>ye()-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 Ee(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 F=h.suspendedLanes,q=h.pingedLanes;T=(1<<31-wt(42|i)+1)-1,T&=S&~(F&~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=ye(),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 F=S.get(T);if(!F){var q={loading:0,preload:null};if(F=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 K=F=h.createElement("link");an(K),mn(K,"link",i),K._p=new Promise(function(re,ve){K.onload=re,K.onerror=ve}),K.addEventListener("load",function(){q.loading|=1}),K.addEventListener("error",function(){q.loading|=2}),q.loading|=4,od(F,u,h)}F={type:"stylesheet",instance:F,count:1,state:q},S.set(T,F)}}}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=xe.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,F=T.get(i);if(F||(S=S.ownerDocument||S,F={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},T.set(i,F),(T=S.querySelector(Hl(i)))&&!T._p&&(F.instance=T,F.state.loading=5),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,F.state))),u&&h===null)throw Error(r(528,""));return F}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 F=T;return F._p=new Promise(function(q,K){F.onload=q,F.onerror=K}),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,F=0;F 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 F=T;F._p=new Promise(function(q,K){F.onload=q,F.onerror=K}),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=bq(),Kh.exports}var vq=yq(),Jl={},d_;function Sq(){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}Sq();/** +`+f.stack}}function z(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(z(i)!==i)throw Error(r(188))}function V(i){var u=i.alternate;if(!u){if(u=z(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 F=!1,q=S.child;q;){if(q===f){F=!0,f=S,h=T;break}if(q===h){F=!0,h=S,f=T;break}q=q.sibling}if(!F){for(q=T.child;q;){if(q===f){F=!0,f=T,h=S;break}if(q===h){F=!0,h=T,f=S;break}q=q.sibling}if(!F)throw Error(r(189))}}if(f.alternate!==h)throw Error(r(190))}if(f.tag!==3)throw Error(r(188));return f.stateNode.current===f?i: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,X=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q={pending:!1,data:null,method:null,action:null},oe=[],ae=-1;function ue(i){return{current:i}}function Re(i){0>ae||(i.current=oe[ae],oe[ae]=null,ae--)}function ie(i,u){ae++,oe[ae]=i.current,i.current=u}var Te=ue(null),ne=ue(null),xe=ue(null),Se=ue(null);function be(i,u){switch(ie(xe,u),ie(ne,i),ie(Te,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}}Re(Te),ie(Te,u)}function J(){Re(Te),Re(ne),Re(xe)}function pe(i){i.memoizedState!==null&&ie(Se,i);var u=Te.current,f=OC(u,i.type);u!==f&&(ie(ne,i),ie(Te,f))}function ke(i){ne.current===i&&(Re(Te),Re(ne)),Se.current===i&&(Re(Se),Vl._currentValue=Q)}var he=Object.prototype.hasOwnProperty,Ee=e.unstable_scheduleCallback,se=e.unstable_cancelCallback,Be=e.unstable_shouldYield,je=e.unstable_requestPaint,ye=e.unstable_now,Oe=e.unstable_getCurrentPriorityLevel,ee=e.unstable_ImmediatePriority,de=e.unstable_UserBlockingPriority,Ne=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,F=i.warmLanes;i=i.finishedLanes!==0;var q=f&134217727;return q!==0?(f=q&~S,f!==0?h=Jt(f):(T&=q,T!==0?h=Jt(T):i||(F=q&~F,F!==0&&(h=Jt(F))))):(q=f&~S,q!==0?h=Jt(q):T!==0?h=Jt(T):i||(F=f&~F,F!==0&&(h=Jt(F)))),h===0?0:u!==0&&u!==h&&!(u&S)&&(S=h&-h,F=u&-u,S>=F||S===32&&(F&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 F=i.pendingLanes;i.pendingLanes=f,i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0,i.expiredLanes&=f,i.entangledLanes&=f,i.errorRecoveryDisabledLanes&=f,i.shellSuspendCounter=0;var q=i.entanglements,K=i.expirationTimes,re=i.hiddenUpdates;for(f=F&~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 he.call(IA,i)?!0:he.call(OA,i)?!1:JH.test(i)?IA[i]=!0:(OA[i]=!0,!1)}function cc(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 dc(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(F){h=""+F,T.call(this,F)}}),Object.defineProperty(i,u,{enumerable:f.enumerable}),{getValue:function(){return h},setValue:function(F){h=""+F},stopTracking:function(){i._valueTracker=null,delete i[u]}}}}function fc(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 pc(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,F,q){i.name="",F!=null&&typeof F!="function"&&typeof F!="symbol"&&typeof F!="boolean"?i.type=F:i.removeAttribute("type"),u!=null?F==="number"?(u===0&&i.value===""||i.value!=u)&&(i.value=""+sr(u)):i.value!==""+sr(u)&&(i.value=""+sr(u)):F!=="submit"&&F!=="reset"||i.removeAttribute("value"),u!=null?Vp(i,F,sr(u)):f!=null?Vp(i,F,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,F,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,F!=null&&typeof F!="function"&&typeof F!="symbol"&&typeof F!="boolean"&&(i.name=F)}function Vp(i,u,f){u==="number"&&pc(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(),hc=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=pc(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=pc(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 F=i1(u,h);S&&F&&(f.rangeCount!==1||f.anchorNode!==S.node||f.anchorOffset!==S.offset||f.focusNode!==F.node||f.focusOffset!==F.offset)&&(i=i.createRange(),i.setStart(S.node,S.offset),f.removeAllRanges(),T>h?(f.addRange(i),f.extend(F.node,F.offset)):(i.setEnd(F.node,F.offset),f.addRange(i)))}}for(i=[],f=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!==pc(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=nd(sg,"onSelect"),0>=F,S-=F,ba=1<<32-wt(u)+S|f<Qe?(ln=Ye,Ye=null):ln=Ye.sibling;var kt=fe(le,Ye,ce[Qe],Ae);if(kt===null){Ye===null&&(Ye=ln);break}i&&Ye&&kt.alternate===null&&u(le,Ye),te=T(kt,te,Qe),ct===null?Ge=kt:ct.sibling=kt,ct=kt,Ye=ln}if(Qe===ce.length)return f(le,Ye),xt&&Go(le,Qe),Ge;if(Ye===null){for(;QeQe?(ln=Ye,Ye=null):ln=Ye.sibling;var ho=fe(le,Ye,kt.value,Ae);if(ho===null){Ye===null&&(Ye=ln);break}i&&Ye&&ho.alternate===null&&u(le,Ye),te=T(ho,te,Qe),ct===null?Ge=ho:ct.sibling=ho,ct=ho,Ye=ln}if(kt.done)return f(le,Ye),xt&&Go(le,Qe),Ge;if(Ye===null){for(;!kt.done;Qe++,kt=ce.next())kt=Ce(le,kt.value,Ae),kt!==null&&(te=T(kt,te,Qe),ct===null?Ge=kt:ct.sibling=kt,ct=kt);return xt&&Go(le,Qe),Ge}for(Ye=h(Ye);!kt.done;Qe++,kt=ce.next())kt=me(Ye,le,Qe,kt.value,Ae),kt!==null&&(i&&kt.alternate!==null&&Ye.delete(kt.key===null?Qe:kt.key),te=T(kt,te,Qe),ct===null?Ge=kt:ct.sibling=kt,ct=kt);return i&&Ye.forEach(function(oq){return u(le,oq)}),xt&&Go(le,Qe),Ge}function Vt(le,te,ce,Ae){if(typeof ce=="object"&&ce!==null&&ce.type===c&&ce.key===null&&(ce=ce.props.children),typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case s:e:{for(var Ge=ce.key;te!==null;){if(te.key===Ge){if(Ge=ce.type,Ge===c){if(te.tag===7){f(le,te.sibling),Ae=S(te,ce.props.children),Ae.return=le,le=Ae;break e}}else if(te.elementType===Ge||typeof Ge=="object"&&Ge!==null&&Ge.$$typeof===x&&A1(Ge)===te.type){f(le,te.sibling),Ae=S(te,ce.props),El(Ae,ce),Ae.return=le,le=Ae;break e}f(le,te);break}else u(le,te);te=te.sibling}ce.type===c?(Ae=Jo(ce.props.children,le.mode,Ae,ce.key),Ae.return=le,le=Ae):(Ae=Vc(ce.type,ce.key,ce.props,null,le.mode,Ae),El(Ae,ce),Ae.return=le,le=Ae)}return F(le);case l:e:{for(Ge=ce.key;te!==null;){if(te.key===Ge)if(te.tag===4&&te.stateNode.containerInfo===ce.containerInfo&&te.stateNode.implementation===ce.implementation){f(le,te.sibling),Ae=S(te,ce.children||[]),Ae.return=le,le=Ae;break e}else{f(le,te);break}else u(le,te);te=te.sibling}Ae=ch(ce,le.mode,Ae),Ae.return=le,le=Ae}return F(le);case x:return Ge=ce._init,ce=Ge(ce._payload),Vt(le,te,ce,Ae)}if(P(ce))return qe(le,te,ce,Ae);if(C(ce)){if(Ge=C(ce),typeof Ge!="function")throw Error(r(150));return ce=Ge.call(ce),rt(le,te,ce,Ae)}if(typeof ce.then=="function")return Vt(le,te,Rc(ce),Ae);if(ce.$$typeof===b)return Vt(le,te,Hc(le,ce),Ae);Cc(le,ce)}return typeof ce=="string"&&ce!==""||typeof ce=="number"||typeof ce=="bigint"?(ce=""+ce,te!==null&&te.tag===6?(f(le,te.sibling),Ae=S(te,ce),Ae.return=le,le=Ae):(f(le,te),Ae=uh(ce,le.mode,Ae),Ae.return=le,le=Ae),F(le)):f(le,te)}return function(le,te,ce,Ae){try{Sl=0;var Ge=Vt(le,te,ce,Ae);return $i=null,Ge}catch(Ye){if(Ye===yl)throw Ye;var ct=mr(29,Ye,null,le.mode);return ct.lanes=Ae,ct.return=le,ct}finally{}}}var $o=R1(!0),C1=R1(!1),qi=ue(null),_c=ue(0);function _1(i,u){i=_a,ie(_c,i),ie(qi,u),_a=i|u.baseLanes}function mg(){ie(_c,_a),ie(qi,qi.current)}function bg(){_a=_c.current,Re(qi),Re(_c)}var pr=ue(null),Yr=null;function Xa(i){var u=i.alternate;ie(en,en.current&1),ie(pr,i),Yr===null&&(u===null||qi.current!==null||u.memoizedState!==null)&&(Yr=i)}function N1(i){if(i.tag===22){if(ie(en,en.current),ie(pr,i),Yr===null){var u=i.alternate;u!==null&&u.memoizedState!==null&&(Yr=i)}}else Za()}function Za(){ie(en,en.current),ie(pr,pr.current)}function va(i){Re(pr),Yr===i&&(Yr=null),Re(en)}var en=ue(0);function Nc(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 F=I.T,q={};I.T=q,Pg(i,!1,u,f);try{var K=S(),re=I.S;if(re!==null&&re(q,K),K!==null&&typeof K=="object"&&typeof K.then=="function"){var ve=X6(K,h);Al(i,u,ve,Qn(i))}else Al(i,u,h,Qn(i))}catch(Ce){Al(i,u,{then:function(){},status:"rejected",reason:Ce},Qn())}finally{X.p=T,I.T=F}}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,Q,f===null?t$:function(){return uR(i),f(h)})}function lR(i){var u=i.memoizedState;if(u!==null)return u;u={memoizedState:Q,baseState:Q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Sa,lastRenderedState:Q},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},Bc(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(Bc(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 F=u.lastRenderedState,q=T(F,f);if(S.hasEagerState=!0,S.eagerState=q,Yn(q,F))return wc(i,u,S,0),Lt===null&&Ec(),!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},Bc(i)){if(u)throw Error(r(479))}else u=dg(i,f,h,2),u!==null&&On(u,i,2)}function Bc(i){var u=i.alternate;return i===ut||u!==null&&u===ut}function pR(i,u){Yi=Ic=!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:Mc,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:Mc,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,Fc(4194308,4,nR.bind(null,u,i),f)},useLayoutEffect:function(i,u){return Fc(4194308,4,i,u)},useInsertionEffect:function(i,u){Fc(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=Dc++,0 title"))),mn(T,h,f),T[Sn]=i,an(T),h=T;break e;case"link":var F=UC("link","href",S).get(h+(f.href||""));if(F){for(var q=0;q<\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof h.is=="string"?S.createElement("select",{is:h.is}):S.createElement("select"),h.multiple?i.multiple=!0:h.size&&(i.size=h.size);break;default:i=typeof h.is=="string"?S.createElement(f,{is:h.is}):S.createElement(f)}}i[Sn]=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=xe.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=ad(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),Wc(u,u.updateQueue),Bt(u),null;case 4:return J(),i===null&&_h(u.stateNode.containerInfo),Bt(u),null;case 10:return xa(u.type),Bt(u),null;case 19:if(Re(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=Nc(i),T!==null){for(u.flags|=128,Pl(S,!1),i=T.updateQueue,u.updateQueue=i,Wc(u,i),u.subtreeFlags=0,i=f,f=u.child;f!==null;)rC(f,i),f=f.sibling;return ie(en,en.current&1|2),u.child}i=i.sibling}S.tail!==null&&ye()>Yc&&(u.flags|=128,h=!0,Pl(S,!1),u.lanes=4194304)}else{if(!h)if(i=Nc(T),i!==null){if(u.flags|=128,h=!0,i=i.updateQueue,u.updateQueue=i,Wc(u,i),Pl(S,!0),S.tail===null&&S.tailMode==="hidden"&&!T.alternate&&!xt)return Bt(u),null}else 2*ye()-S.renderingStartTime>Yc&&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=ye(),u.sibling=null,i=en.current,ie(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&&Wc(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&&Re(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),J(),i=u.flags,i&65536&&!(i&128)?(u.flags=i&-65537|128,u):null;case 26:case 27:case 5:return ke(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 Re(en),null;case 4:return J(),null;case 10:return xa(u.type),null;case 22:case 23:return va(u),bg(),i!==null&&Re(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),J();break;case 26:case 27:case 5:ke(u);break;case 4:J();break;case 13:va(u);break;case 19:Re(en);break;case 10:xa(u.type);break;case 22:case 23:va(u),bg(),i!==null&&Re(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,Yc=1/0,Kc=null,uo=null,Xc=!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 F=0;else F=i.pendingLanes&-536870913,F=F!==0?F:F&536870912?536870912:0;if(F!==0){u=F;e:{var q=i;S=Fl;var K=q.current.memoizedState.isDehydrated;if(K&&(ns(q,F).flags|=256),F=Eh(q,F,!1),F!==2){if(dh&&!K){q.errorRecoveryDisabledLanes|=T,ei|=T,S=4;break e}T=Xr,Xr=S,T!==null&&yh(T)}S=F}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-ye(),10f?32:f,I.T=null,ti===null)var T=!1;else{f=mh,mh=null;var F=ti,q=zl;if(ti=null,zl=0,jt&6)throw Error(r(331));var K=jt;if(jt|=4,tC(F.current),QR(F,F.current,q,f),jt=K,jl(0,!1),et&&typeof et.onPostCommitFiberRoot=="function")try{et.onPostCommitFiberRoot(bt,F)}catch{}T=!0}return T}finally{X.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>ye()-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 Ee(i,u)}var Jc=null,os=null,xh=!1,ed=!1,kh=!1,ni=0;function Zr(i){i!==os&&i.next===null&&(os===null?Jc=os=i:os=os.next=i),ed=!0,xh||(xh=!0,x$(w$))}function jl(i,u){if(!kh&&ed){kh=!0;do for(var f=!1,h=Jc;h!==null;){if(i!==0){var S=h.pendingLanes;if(S===0)var T=0;else{var F=h.suspendedLanes,q=h.pingedLanes;T=(1<<31-wt(42|i)+1)-1,T&=S&~(F&~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$(){ed=xh=!1;var i=0;ni!==0&&(O$()&&(i=ni),ni=0);for(var u=ye(),f=null,h=Jc;h!==null;){var S=h.next,T=SC(h,u);T===0?(h.next=null,f===null?Jc=S:f.next=S,S===null&&(os=f)):(f=h,(i!==0||T&3)&&(ed=!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 F=S.get(T);if(!F){var q={loading:0,preload:null};if(F=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 K=F=h.createElement("link");an(K),mn(K,"link",i),K._p=new Promise(function(re,ve){K.onload=re,K.onerror=ve}),K.addEventListener("load",function(){q.loading|=1}),K.addEventListener("error",function(){q.loading|=2}),q.loading|=4,id(F,u,h)}F={type:"stylesheet",instance:F,count:1,state:q},S.set(T,F)}}}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=xe.current)?od(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,F=T.get(i);if(F||(S=S.ownerDocument||S,F={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},T.set(i,F),(T=S.querySelector(Hl(i)))&&!T._p&&(F.instance=T,F.state.loading=5),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,F.state))),u&&h===null)throw Error(r(528,""));return F}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),id(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 F=T;return F._p=new Promise(function(q,K){F.onload=q,F.onerror=K}),mn(T,"link",h),u.state.loading|=4,id(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,id(h,f.precedence,i));return u.instance}function id(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,F=0;F 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=ld.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 F=T;F._p=new Promise(function(q,K){F.onload=q,F.onerror=K}),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=ld.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=bq(),Kh.exports}var vq=yq(),Jl={},d_;function Sq(){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}Sq();/** * react-router v7.3.0 * * Copyright (c) Remix Software Inc. @@ -55,18 +55,18 @@ Error generating stack: `+f.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */var f_="popstate";function Eq(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 xq(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 wq(){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||wq()}}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 xq(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 kq(e,t,n,!1)}function kq(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);Tq(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:Iq(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 Tq(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Dq(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var Aq=/^:[\w-]+$/,Rq=3,Cq=2,_q=1,Nq=10,Oq=-2,g_=e=>e==="*";function Iq(e,t){let n=e.split("/"),r=n.length;return n.some(g_)&&(r+=Oq),t&&(r+=Cq),n.filter(a=>!g_(a)).reduce((a,o)=>a+(Aq.test(o)?Rq:o===""?_q:Nq),r)}function Dq(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 Lq(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 Mq(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 Pq(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 Fq(e,t="/"){let{pathname:n,search:r="",hash:a=""}=typeof e=="string"?xi(e):e;return{pathname:n?n.startsWith("/")?n:zq(n,t):t,search:Uq(r),hash:Gq(a)}}function zq(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 Bq(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Zz(e){let t=Bq(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=Fq(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,"/"),jq=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Uq=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Gq=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Hq(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 $q=["GET",...Jz];new Set($q);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 qq=w.createContext(new Map);qq.displayName="Fetchers";var Vq=w.createContext(null);Vq.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 Wq(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?i9():Yq()}function Yq(){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 Kq(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. + */var f_="popstate";function Eq(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 xq(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 wq(){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||wq()}}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 xq(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 kq(e,t,n,!1)}function kq(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);Tq(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:Iq(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 Tq(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Dq(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var Aq=/^:[\w-]+$/,Rq=3,Cq=2,_q=1,Nq=10,Oq=-2,g_=e=>e==="*";function Iq(e,t){let n=e.split("/"),r=n.length;return n.some(g_)&&(r+=Oq),t&&(r+=Cq),n.filter(a=>!g_(a)).reduce((a,o)=>a+(Aq.test(o)?Rq:o===""?_q:Nq),r)}function Dq(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 Lq(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 Mq(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 Pq(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 Fq(e,t="/"){let{pathname:n,search:r="",hash:a=""}=typeof e=="string"?xi(e):e;return{pathname:n?n.startsWith("/")?n:zq(n,t):t,search:Uq(r),hash:Gq(a)}}function zq(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 Bq(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Zz(e){let t=Bq(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=Fq(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,"/"),jq=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Uq=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Gq=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Hq(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 $q=["GET",...Jz];new Set($q);var Us=w.createContext(null);Us.displayName="DataRouter";var Vf=w.createContext(null);Vf.displayName="DataRouterState";var eB=w.createContext({isTransitioning:!1});eB.displayName="ViewTransition";var qq=w.createContext(new Map);qq.displayName="Fetchers";var Vq=w.createContext(null);Vq.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 Wq(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?i9():Yq()}function Yq(){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 Kq(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:Yz(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=e9(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(Bu.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...b},navigationType:"POP"}},A):A}function Xq(){let e=o9(),t=Hq(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 Zq=w.createElement(Xq,null),Qq=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(Nk.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Jq({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 e9(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||Zq,s&&(l<0&&p===0?(aB("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(Jq,{match:d,routeContext:{outlet:c,matches:v,isDataRoute:n!=null},children:A})};return n&&(d.route.ErrorBoundary||d.route.errorElement||p===0)?w.createElement(Qq,{location:n.location,revalidation:n.revalidation,component:b,error:g,children:k(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):k()},null)}function Ik(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function t9(e){let t=w.useContext(Us);return Gt(t,Ik(e)),t}function n9(e){let t=w.useContext(qf);return Gt(t,Ik(e)),t}function r9(e){let t=w.useContext(Ha);return Gt(t,Ik(e)),t}function Dk(e){let t=r9(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 a9(){return Dk("useRouteId")}function o9(){var r;let e=w.useContext(Nk),t=n9("useRouteError"),n=Dk("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function i9(){let{router:e}=t9("useNavigate"),t=Dk("useNavigate"),n=w.useRef(!1);return nB(()=>{n.current=!0}),w.useCallback(async(a,o={})=>{jr(n.current,tB),n.current&&(typeof a=="number"?e.navigate(a):await e.navigate(a,{fromRouteId:t,...o}))},[e,t])}var h_={};function aB(e,t,n){!t&&!h_[e]&&(h_[e]=!0,jr(!1,n))}w.memo(s9);function s9({routes:e,future:t,state:n}){return rB(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 l9({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:a,static:o=!1}){Gt(!ju(),"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(Bu.Provider,{children:t,value:b}))}function u9({children:e,location:t}){return Kq(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 Wd="get",Yd="application/x-www-form-urlencoded";function Vf(e){return e!=null&&typeof e.tagName=="string"}function c9(e){return Vf(e)&&e.tagName.toLowerCase()==="button"}function d9(e){return Vf(e)&&e.tagName.toLowerCase()==="form"}function f9(e){return Vf(e)&&e.tagName.toLowerCase()==="input"}function p9(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function g9(e,t){return e.button===0&&(!t||t==="_self")&&!p9(e)}var md=null;function h9(){if(md===null)try{new FormData(document.createElement("form"),0),md=!1}catch{md=!0}return md}var m9=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function em(e){return e!=null&&!m9.has(e)?(jr(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Yd}"`),null):e}function b9(e,t){let n,r,a,o,s;if(d9(e)){let l=e.getAttribute("action");r=l?Ba(l,t):null,n=e.getAttribute("method")||Wd,a=em(e.getAttribute("enctype"))||Yd,o=new FormData(e)}else if(c9(e)||f9(e)&&(e.type==="submit"||e.type==="image")){let l=e.form;if(l==null)throw new Error('Cannot submit a