var EC=Object.defineProperty;var _C=(t,n,r)=>n in t?EC(t,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[n]=r;var cb=(t,n,r)=>_C(t,typeof n!="symbol"?n+"":n,r);function CC(t,n){for(var r=0;rs[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))s(i);new MutationObserver(i=>{for(const c of i)if(c.type==="childList")for(const u of c.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&s(u)}).observe(document,{childList:!0,subtree:!0});function r(i){const c={};return i.integrity&&(c.integrity=i.integrity),i.referrerPolicy&&(c.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?c.credentials="include":i.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function s(i){if(i.ep)return;i.ep=!0;const c=r(i);fetch(i.href,c)}})();function v0(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var um={exports:{}},Hi={};/** * @license React * react-jsx-runtime.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var ub;function NC(){if(ub)return Hi;ub=1;var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function r(s,i,c){var u=null;if(c!==void 0&&(u=""+c),i.key!==void 0&&(u=""+i.key),"key"in i){c={};for(var f in i)f!=="key"&&(c[f]=i[f])}else c=i;return i=c.ref,{$$typeof:t,type:s,key:u,ref:i!==void 0?i:null,props:c}}return Hi.Fragment=n,Hi.jsx=r,Hi.jsxs=r,Hi}var db;function RC(){return db||(db=1,um.exports=NC()),um.exports}var h=RC(),dm={exports:{}},Ve={};/** * @license React * react.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var fb;function AC(){if(fb)return Ve;fb=1;var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),u=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),v=Symbol.for("react.activity"),w=Symbol.iterator;function C(j){return j===null||typeof j!="object"?null:(j=w&&j[w]||j["@@iterator"],typeof j=="function"?j:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,E={};function R(j,X,L){this.props=j,this.context=X,this.refs=E,this.updater=L||S}R.prototype.isReactComponent={},R.prototype.setState=function(j,X){if(typeof j!="object"&&typeof j!="function"&&j!=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,j,X,"setState")},R.prototype.forceUpdate=function(j){this.updater.enqueueForceUpdate(this,j,"forceUpdate")};function k(){}k.prototype=R.prototype;function A(j,X,L){this.props=j,this.context=X,this.refs=E,this.updater=L||S}var D=A.prototype=new k;D.constructor=A,_(D,R.prototype),D.isPureReactComponent=!0;var H=Array.isArray;function $(){}var U={H:null,A:null,T:null,S:null},F=Object.prototype.hasOwnProperty;function de(j,X,L){var Y=L.ref;return{$$typeof:t,type:j,key:X,ref:Y!==void 0?Y:null,props:L}}function fe(j,X){return de(j.type,X,j.props)}function me(j){return typeof j=="object"&&j!==null&&j.$$typeof===t}function se(j){var X={"=":"=0",":":"=2"};return"$"+j.replace(/[=:]/g,function(L){return X[L]})}var G=/\/+/g;function he(j,X){return typeof j=="object"&&j!==null&&j.key!=null?se(""+j.key):X.toString(36)}function ve(j){switch(j.status){case"fulfilled":return j.value;case"rejected":throw j.reason;default:switch(typeof j.status=="string"?j.then($,$):(j.status="pending",j.then(function(X){j.status==="pending"&&(j.status="fulfilled",j.value=X)},function(X){j.status==="pending"&&(j.status="rejected",j.reason=X)})),j.status){case"fulfilled":return j.value;case"rejected":throw j.reason}}throw j}function T(j,X,L,Y,J){var ie=typeof j;(ie==="undefined"||ie==="boolean")&&(j=null);var pe=!1;if(j===null)pe=!0;else switch(ie){case"bigint":case"string":case"number":pe=!0;break;case"object":switch(j.$$typeof){case t:case n:pe=!0;break;case y:return pe=j._init,T(pe(j._payload),X,L,Y,J)}}if(pe)return J=J(j),pe=Y===""?"."+he(j,0):Y,H(J)?(L="",pe!=null&&(L=pe.replace(G,"$&/")+"/"),T(J,X,L,"",function(Re){return Re})):J!=null&&(me(J)&&(J=fe(J,L+(J.key==null||j&&j.key===J.key?"":(""+J.key).replace(G,"$&/")+"/")+pe)),X.push(J)),1;pe=0;var Q=Y===""?".":Y+":";if(H(j))for(var oe=0;oe>>1,ne=T[le];if(0>>1;lei(L,te))Yi(J,L)?(T[le]=J,T[Y]=te,le=Y):(T[le]=L,T[X]=te,le=X);else if(Yi(J,te))T[le]=J,T[Y]=te,le=Y;else break e}}return K}function i(T,K){var te=T.sortIndex-K.sortIndex;return te!==0?te:T.id-K.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;t.unstable_now=function(){return c.now()}}else{var u=Date,f=u.now();t.unstable_now=function(){return u.now()-f}}var g=[],p=[],y=1,v=null,w=3,C=!1,S=!1,_=!1,E=!1,R=typeof setTimeout=="function"?setTimeout:null,k=typeof clearTimeout=="function"?clearTimeout:null,A=typeof setImmediate<"u"?setImmediate:null;function D(T){for(var K=r(p);K!==null;){if(K.callback===null)s(p);else if(K.startTime<=T)s(p),K.sortIndex=K.expirationTime,n(g,K);else break;K=r(p)}}function H(T){if(_=!1,D(T),!S)if(r(g)!==null)S=!0,$||($=!0,se());else{var K=r(p);K!==null&&ve(H,K.startTime-T)}}var $=!1,U=-1,F=5,de=-1;function fe(){return E?!0:!(t.unstable_now()-deT&&fe());){var le=v.callback;if(typeof le=="function"){v.callback=null,w=v.priorityLevel;var ne=le(v.expirationTime<=T);if(T=t.unstable_now(),typeof ne=="function"){v.callback=ne,D(T),K=!0;break t}v===r(g)&&s(g),D(T)}else s(g);v=r(g)}if(v!==null)K=!0;else{var j=r(p);j!==null&&ve(H,j.startTime-T),K=!1}}break e}finally{v=null,w=te,C=!1}K=void 0}}finally{K?se():$=!1}}}var se;if(typeof A=="function")se=function(){A(me)};else if(typeof MessageChannel<"u"){var G=new MessageChannel,he=G.port2;G.port1.onmessage=me,se=function(){he.postMessage(null)}}else se=function(){R(me,0)};function ve(T,K){U=R(function(){T(t.unstable_now())},K)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(T){T.callback=null},t.unstable_forceFrameRate=function(T){0>T||125le?(T.sortIndex=te,n(p,T),r(g)===null&&T===r(p)&&(_?(k(U),U=-1):_=!0,ve(H,te-le))):(T.sortIndex=ne,n(g,T),S||C||(S=!0,$||($=!0,se()))),T},t.unstable_shouldYield=fe,t.unstable_wrapCallback=function(T){var K=w;return function(){var te=w;w=K;try{return T.apply(this,arguments)}finally{w=te}}}})(hm)),hm}var pb;function OC(){return pb||(pb=1,mm.exports=TC()),mm.exports}var pm={exports:{}},fn={};/** * @license React * react-dom.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var gb;function jC(){if(gb)return fn;gb=1;var t=wh();function n(g){var p="https://react.dev/errors/"+g;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}return t(),pm.exports=jC(),pm.exports}/** * @license React * react-dom-client.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var yb;function kC(){if(yb)return Vi;yb=1;var t=OC(),n=wh(),r=y0();function s(e){var a="https://react.dev/errors/"+e;if(1ne||(e.current=le[ne],le[ne]=null,ne--)}function L(e,a){ne++,le[ne]=e.current,e.current=a}var Y=j(null),J=j(null),ie=j(null),pe=j(null);function Q(e,a){switch(L(ie,a),L(J,e),L(Y,null),a.nodeType){case 9:case 11:e=(e=a.documentElement)&&(e=e.namespaceURI)?ky(e):0;break;default:if(e=a.tagName,a=a.namespaceURI)a=ky(a),e=My(a,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}X(Y),L(Y,e)}function oe(){X(Y),X(J),X(ie)}function Re(e){e.memoizedState!==null&&L(pe,e);var a=Y.current,o=My(a,e.type);a!==o&&(L(J,e),L(Y,o))}function et(e){J.current===e&&(X(Y),X(J)),pe.current===e&&(X(pe),Li._currentValue=te)}var Me,ze;function be(e){if(Me===void 0)try{throw Error()}catch(o){var a=o.stack.trim().match(/\n( *(at )?)/);Me=a&&a[1]||"",ze=-1)":-1d||M[l]!==q[d]){var re=` `+M[l].replace(" at new "," at ");return e.displayName&&re.includes("")&&(re=re.replace("",e.displayName)),re}while(1<=l&&0<=d);break}}}finally{je=!1,Error.prepareStackTrace=o}return(o=e?e.displayName||e.name:"")?be(o):""}function ht(e,a){switch(e.tag){case 26:case 27:case 5:return be(e.type);case 16:return be("Lazy");case 13:return e.child!==a&&a!==null?be("Suspense Fallback"):be("Suspense");case 19:return be("SuspenseList");case 0:case 15:return at(e.type,!1);case 11:return at(e.type.render,!1);case 1:return at(e.type,!0);case 31:return be("Activity");default:return""}}function Qe(e){try{var a="",o=null;do a+=ht(e,o),o=e,e=e.return;while(e);return a}catch(l){return` Error generating stack: `+l.message+` `+l.stack}}var Pe=Object.prototype.hasOwnProperty,Tt=t.unstable_scheduleCallback,Zt=t.unstable_cancelCallback,O=t.unstable_shouldYield,B=t.unstable_requestPaint,V=t.unstable_now,we=t.unstable_getCurrentPriorityLevel,ge=t.unstable_ImmediatePriority,ye=t.unstable_UserBlockingPriority,Se=t.unstable_NormalPriority,Ue=t.unstable_LowPriority,Ge=t.unstable_IdlePriority,Pt=t.log,Mt=t.unstable_setDisableYieldValue,mt=null,Dt=null;function an(e){if(typeof Pt=="function"&&Mt(e),Dt&&typeof Dt.setStrictMode=="function")try{Dt.setStrictMode(mt,e)}catch{}}var Ht=Math.clz32?Math.clz32:Yn,Ko=Math.log,ur=Math.LN2;function Yn(e){return e>>>=0,e===0?32:31-(Ko(e)/ur|0)|0}var Ua=256,ks=262144,Wr=4194304;function xa(e){var a=e&42;if(a!==0)return a;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function He(e,a,o){var l=e.pendingLanes;if(l===0)return 0;var d=0,m=e.suspendedLanes,x=e.pingedLanes;e=e.warmLanes;var N=l&134217727;return N!==0?(l=N&~m,l!==0?d=xa(l):(x&=N,x!==0?d=xa(x):o||(o=N&~e,o!==0&&(d=xa(o))))):(N=l&~m,N!==0?d=xa(N):x!==0?d=xa(x):o||(o=l&~e,o!==0&&(d=xa(o)))),d===0?0:a!==0&&a!==d&&(a&m)===0&&(m=d&-d,o=a&-a,m>=o||m===32&&(o&4194048)!==0)?a:d}function _t(e,a){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&a)===0}function en(e,a){switch(e){case 1:case 2:case 4:case 8:case 64:return a+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function dn(){var e=Wr;return Wr<<=1,(Wr&62914560)===0&&(Wr=4194304),e}function dr(e){for(var a=[],o=0;31>o;o++)a.push(e);return a}function Rt(e,a){e.pendingLanes|=a,a!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function bn(e,a,o,l,d,m){var x=e.pendingLanes;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=o,e.entangledLanes&=o,e.errorRecoveryDisabledLanes&=o,e.shellSuspendCounter=0;var N=e.entanglements,M=e.expirationTimes,q=e.hiddenUpdates;for(o=x&~o;0"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var vE=/[\n"\\]/g;function Xn(e){return e.replace(vE,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function ad(e,a,o,l,d,m,x,N){e.name="",x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?e.type=x:e.removeAttribute("type"),a!=null?x==="number"?(a===0&&e.value===""||e.value!=a)&&(e.value=""+Zn(a)):e.value!==""+Zn(a)&&(e.value=""+Zn(a)):x!=="submit"&&x!=="reset"||e.removeAttribute("value"),a!=null?rd(e,x,Zn(a)):o!=null?rd(e,x,Zn(o)):l!=null&&e.removeAttribute("value"),d==null&&m!=null&&(e.defaultChecked=!!m),d!=null&&(e.checked=d&&typeof d!="function"&&typeof d!="symbol"),N!=null&&typeof N!="function"&&typeof N!="symbol"&&typeof N!="boolean"?e.name=""+Zn(N):e.removeAttribute("name")}function Np(e,a,o,l,d,m,x,N){if(m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(e.type=m),a!=null||o!=null){if(!(m!=="submit"&&m!=="reset"||a!=null)){nd(e);return}o=o!=null?""+Zn(o):"",a=a!=null?""+Zn(a):o,N||a===e.value||(e.value=a),e.defaultValue=a}l=l??d,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=N?e.checked:!!l,e.defaultChecked=!!l,x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"&&(e.name=x),nd(e)}function rd(e,a,o){a==="number"&&Sl(e.ownerDocument)===e||e.defaultValue===""+o||(e.defaultValue=""+o)}function Ps(e,a,o,l){if(e=e.options,a){a={};for(var d=0;d"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),cd=!1;if(Ha)try{var ei={};Object.defineProperty(ei,"passive",{get:function(){cd=!0}}),window.addEventListener("test",ei,ei),window.removeEventListener("test",ei,ei)}catch{cd=!1}var mr=null,ud=null,_l=null;function Mp(){if(_l)return _l;var e,a=ud,o=a.length,l,d="value"in mr?mr.value:mr.textContent,m=d.length;for(e=0;e=ai),Pp=" ",Hp=!1;function Vp(e,a){switch(e){case"keyup":return $E.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ip(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var qs=!1;function YE(e,a){switch(e){case"compositionend":return Ip(a);case"keypress":return a.which!==32?null:(Hp=!0,Pp);case"textInput":return e=a.data,e===Pp&&Hp?null:e;default:return null}}function ZE(e,a){if(qs)return e==="compositionend"||!pd&&Vp(e,a)?(e=Mp(),_l=ud=mr=null,qs=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1=a)return{node:o,offset:a-e};e=l}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=Kp(o)}}function Wp(e,a){return e&&a?e===a?!0:e&&e.nodeType===3?!1:a&&a.nodeType===3?Wp(e,a.parentNode):"contains"in e?e.contains(a):e.compareDocumentPosition?!!(e.compareDocumentPosition(a)&16):!1:!1}function Jp(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var a=Sl(e.document);a instanceof e.HTMLIFrameElement;){try{var o=typeof a.contentWindow.location.href=="string"}catch{o=!1}if(o)e=a.contentWindow;else break;a=Sl(e.document)}return a}function yd(e){var a=e&&e.nodeName&&e.nodeName.toLowerCase();return a&&(a==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||a==="textarea"||e.contentEditable==="true")}var n_=Ha&&"documentMode"in document&&11>=document.documentMode,Fs=null,bd=null,ii=null,xd=!1;function eg(e,a,o){var l=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;xd||Fs==null||Fs!==Sl(l)||(l=Fs,"selectionStart"in l&&yd(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),ii&&oi(ii,l)||(ii=l,l=vc(bd,"onSelect"),0>=x,d-=x,wa=1<<32-Ht(a)+d|o<Ye?(nt=Oe,Oe=null):nt=Oe.sibling;var ct=Z(P,Oe,I[Ye],ce);if(ct===null){Oe===null&&(Oe=nt);break}e&&Oe&&ct.alternate===null&&a(P,Oe),z=m(ct,z,Ye),lt===null?De=ct:lt.sibling=ct,lt=ct,Oe=nt}if(Ye===I.length)return o(P,Oe),rt&&Ia(P,Ye),De;if(Oe===null){for(;YeYe?(nt=Oe,Oe=null):nt=Oe.sibling;var zr=Z(P,Oe,ct.value,ce);if(zr===null){Oe===null&&(Oe=nt);break}e&&Oe&&zr.alternate===null&&a(P,Oe),z=m(zr,z,Ye),lt===null?De=zr:lt.sibling=zr,lt=zr,Oe=nt}if(ct.done)return o(P,Oe),rt&&Ia(P,Ye),De;if(Oe===null){for(;!ct.done;Ye++,ct=I.next())ct=ue(P,ct.value,ce),ct!==null&&(z=m(ct,z,Ye),lt===null?De=ct:lt.sibling=ct,lt=ct);return rt&&Ia(P,Ye),De}for(Oe=l(Oe);!ct.done;Ye++,ct=I.next())ct=ee(Oe,P,Ye,ct.value,ce),ct!==null&&(e&&ct.alternate!==null&&Oe.delete(ct.key===null?Ye:ct.key),z=m(ct,z,Ye),lt===null?De=ct:lt.sibling=ct,lt=ct);return e&&Oe.forEach(function(SC){return a(P,SC)}),rt&&Ia(P,Ye),De}function bt(P,z,I,ce){if(typeof I=="object"&&I!==null&&I.type===_&&I.key===null&&(I=I.props.children),typeof I=="object"&&I!==null){switch(I.$$typeof){case C:e:{for(var De=I.key;z!==null;){if(z.key===De){if(De=I.type,De===_){if(z.tag===7){o(P,z.sibling),ce=d(z,I.props.children),ce.return=P,P=ce;break e}}else if(z.elementType===De||typeof De=="object"&&De!==null&&De.$$typeof===F&&us(De)===z.type){o(P,z.sibling),ce=d(z,I.props),mi(ce,I),ce.return=P,P=ce;break e}o(P,z);break}else a(P,z);z=z.sibling}I.type===_?(ce=ss(I.props.children,P.mode,ce,I.key),ce.return=P,P=ce):(ce=Dl(I.type,I.key,I.props,null,P.mode,ce),mi(ce,I),ce.return=P,P=ce)}return x(P);case S:e:{for(De=I.key;z!==null;){if(z.key===De)if(z.tag===4&&z.stateNode.containerInfo===I.containerInfo&&z.stateNode.implementation===I.implementation){o(P,z.sibling),ce=d(z,I.children||[]),ce.return=P,P=ce;break e}else{o(P,z);break}else a(P,z);z=z.sibling}ce=Rd(I,P.mode,ce),ce.return=P,P=ce}return x(P);case F:return I=us(I),bt(P,z,I,ce)}if(ve(I))return _e(P,z,I,ce);if(se(I)){if(De=se(I),typeof De!="function")throw Error(s(150));return I=De.call(I),Le(P,z,I,ce)}if(typeof I.then=="function")return bt(P,z,Vl(I),ce);if(I.$$typeof===A)return bt(P,z,Ul(P,I),ce);Il(P,I)}return typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint"?(I=""+I,z!==null&&z.tag===6?(o(P,z.sibling),ce=d(z,I),ce.return=P,P=ce):(o(P,z),ce=Nd(I,P.mode,ce),ce.return=P,P=ce),x(P)):o(P,z)}return function(P,z,I,ce){try{fi=0;var De=bt(P,z,I,ce);return to=null,De}catch(Oe){if(Oe===eo||Oe===Pl)throw Oe;var lt=Dn(29,Oe,null,P.mode);return lt.lanes=ce,lt.return=P,lt}finally{}}}var fs=Eg(!0),_g=Eg(!1),yr=!1;function Pd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Hd(e,a){e=e.updateQueue,a.updateQueue===e&&(a.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function br(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function xr(e,a,o){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(ft&2)!==0){var d=l.pending;return d===null?a.next=a:(a.next=d.next,d.next=a),l.pending=a,a=Ml(e),ig(e,null,o),a}return kl(e,l,a,o),Ml(e)}function hi(e,a,o){if(a=a.updateQueue,a!==null&&(a=a.shared,(o&4194048)!==0)){var l=a.lanes;l&=e.pendingLanes,o|=l,a.lanes=o,xn(e,o)}}function Vd(e,a){var o=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,o===l)){var d=null,m=null;if(o=o.firstBaseUpdate,o!==null){do{var x={lane:o.lane,tag:o.tag,payload:o.payload,callback:null,next:null};m===null?d=m=x:m=m.next=x,o=o.next}while(o!==null);m===null?d=m=a:m=m.next=a}else d=m=a;o={baseState:l.baseState,firstBaseUpdate:d,lastBaseUpdate:m,shared:l.shared,callbacks:l.callbacks},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=a:e.next=a,o.lastBaseUpdate=a}var Id=!1;function pi(){if(Id){var e=Js;if(e!==null)throw e}}function gi(e,a,o,l){Id=!1;var d=e.updateQueue;yr=!1;var m=d.firstBaseUpdate,x=d.lastBaseUpdate,N=d.shared.pending;if(N!==null){d.shared.pending=null;var M=N,q=M.next;M.next=null,x===null?m=q:x.next=q,x=M;var re=e.alternate;re!==null&&(re=re.updateQueue,N=re.lastBaseUpdate,N!==x&&(N===null?re.firstBaseUpdate=q:N.next=q,re.lastBaseUpdate=M))}if(m!==null){var ue=d.baseState;x=0,re=q=M=null,N=m;do{var Z=N.lane&-536870913,ee=Z!==N.lane;if(ee?(tt&Z)===Z:(l&Z)===Z){Z!==0&&Z===Ws&&(Id=!0),re!==null&&(re=re.next={lane:0,tag:N.tag,payload:N.payload,callback:null,next:null});e:{var _e=e,Le=N;Z=a;var bt=o;switch(Le.tag){case 1:if(_e=Le.payload,typeof _e=="function"){ue=_e.call(bt,ue,Z);break e}ue=_e;break e;case 3:_e.flags=_e.flags&-65537|128;case 0:if(_e=Le.payload,Z=typeof _e=="function"?_e.call(bt,ue,Z):_e,Z==null)break e;ue=v({},ue,Z);break e;case 2:yr=!0}}Z=N.callback,Z!==null&&(e.flags|=64,ee&&(e.flags|=8192),ee=d.callbacks,ee===null?d.callbacks=[Z]:ee.push(Z))}else ee={lane:Z,tag:N.tag,payload:N.payload,callback:N.callback,next:null},re===null?(q=re=ee,M=ue):re=re.next=ee,x|=Z;if(N=N.next,N===null){if(N=d.shared.pending,N===null)break;ee=N,N=ee.next,ee.next=null,d.lastBaseUpdate=ee,d.shared.pending=null}}while(!0);re===null&&(M=ue),d.baseState=M,d.firstBaseUpdate=q,d.lastBaseUpdate=re,m===null&&(d.shared.lanes=0),Cr|=x,e.lanes=x,e.memoizedState=ue}}function Cg(e,a){if(typeof e!="function")throw Error(s(191,e));e.call(a)}function Ng(e,a){var o=e.callbacks;if(o!==null)for(e.callbacks=null,e=0;em?m:8;var x=T.T,N={};T.T=N,lf(e,!1,a,o);try{var M=d(),q=T.S;if(q!==null&&q(N,M),M!==null&&typeof M=="object"&&typeof M.then=="function"){var re=d_(M,l);bi(e,a,re,Pn(e))}else bi(e,a,l,Pn(e))}catch(ue){bi(e,a,{then:function(){},status:"rejected",reason:ue},Pn())}finally{K.p=m,x!==null&&N.types!==null&&(x.types=N.types),T.T=x}}function v_(){}function sf(e,a,o,l){if(e.tag!==5)throw Error(s(476));var d=rv(e).queue;av(e,d,a,te,o===null?v_:function(){return sv(e),o(l)})}function rv(e){var a=e.memoizedState;if(a!==null)return a;a={memoizedState:te,baseState:te,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ga,lastRenderedState:te},next:null};var o={};return a.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ga,lastRenderedState:o},next:null},e.memoizedState=a,e=e.alternate,e!==null&&(e.memoizedState=a),a}function sv(e){var a=rv(e);a.next===null&&(a=e.alternate.memoizedState),bi(e,a.next.queue,{},Pn())}function of(){return on(Li)}function ov(){return Lt().memoizedState}function iv(){return Lt().memoizedState}function y_(e){for(var a=e.return;a!==null;){switch(a.tag){case 24:case 3:var o=Pn();e=br(o);var l=xr(a,e,o);l!==null&&(An(l,a,o),hi(l,a,o)),a={cache:zd()},e.payload=a;return}a=a.return}}function b_(e,a,o){var l=Pn();o={lane:l,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Wl(e)?cv(a,o):(o=_d(e,a,o,l),o!==null&&(An(o,e,l),uv(o,a,l)))}function lv(e,a,o){var l=Pn();bi(e,a,o,l)}function bi(e,a,o,l){var d={lane:l,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null};if(Wl(e))cv(a,d);else{var m=e.alternate;if(e.lanes===0&&(m===null||m.lanes===0)&&(m=a.lastRenderedReducer,m!==null))try{var x=a.lastRenderedState,N=m(x,o);if(d.hasEagerState=!0,d.eagerState=N,Mn(N,x))return kl(e,a,d,0),wt===null&&jl(),!1}catch{}finally{}if(o=_d(e,a,d,l),o!==null)return An(o,e,l),uv(o,a,l),!0}return!1}function lf(e,a,o,l){if(l={lane:2,revertLane:Hf(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Wl(e)){if(a)throw Error(s(479))}else a=_d(e,o,l,2),a!==null&&An(a,e,2)}function Wl(e){var a=e.alternate;return e===$e||a!==null&&a===$e}function cv(e,a){ao=$l=!0;var o=e.pending;o===null?a.next=a:(a.next=o.next,o.next=a),e.pending=a}function uv(e,a,o){if((o&4194048)!==0){var l=a.lanes;l&=e.pendingLanes,o|=l,a.lanes=o,xn(e,o)}}var xi={readContext:on,use:Zl,useCallback:Ot,useContext:Ot,useEffect:Ot,useImperativeHandle:Ot,useLayoutEffect:Ot,useInsertionEffect:Ot,useMemo:Ot,useReducer:Ot,useRef:Ot,useState:Ot,useDebugValue:Ot,useDeferredValue:Ot,useTransition:Ot,useSyncExternalStore:Ot,useId:Ot,useHostTransitionStatus:Ot,useFormState:Ot,useActionState:Ot,useOptimistic:Ot,useMemoCache:Ot,useCacheRefresh:Ot};xi.useEffectEvent=Ot;var dv={readContext:on,use:Zl,useCallback:function(e,a){return pn().memoizedState=[e,a===void 0?null:a],e},useContext:on,useEffect:Zg,useImperativeHandle:function(e,a,o){o=o!=null?o.concat([e]):null,Kl(4194308,4,Wg.bind(null,a,e),o)},useLayoutEffect:function(e,a){return Kl(4194308,4,e,a)},useInsertionEffect:function(e,a){Kl(4,2,e,a)},useMemo:function(e,a){var o=pn();a=a===void 0?null:a;var l=e();if(ms){an(!0);try{e()}finally{an(!1)}}return o.memoizedState=[l,a],l},useReducer:function(e,a,o){var l=pn();if(o!==void 0){var d=o(a);if(ms){an(!0);try{o(a)}finally{an(!1)}}}else d=a;return l.memoizedState=l.baseState=d,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:d},l.queue=e,e=e.dispatch=b_.bind(null,$e,e),[l.memoizedState,e]},useRef:function(e){var a=pn();return e={current:e},a.memoizedState=e},useState:function(e){e=ef(e);var a=e.queue,o=lv.bind(null,$e,a);return a.dispatch=o,[e.memoizedState,o]},useDebugValue:af,useDeferredValue:function(e,a){var o=pn();return rf(o,e,a)},useTransition:function(){var e=ef(!1);return e=av.bind(null,$e,e.queue,!0,!1),pn().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,a,o){var l=$e,d=pn();if(rt){if(o===void 0)throw Error(s(407));o=o()}else{if(o=a(),wt===null)throw Error(s(349));(tt&127)!==0||kg(l,a,o)}d.memoizedState=o;var m={value:o,getSnapshot:a};return d.queue=m,Zg(Dg.bind(null,l,m,e),[e]),l.flags|=2048,so(9,{destroy:void 0},Mg.bind(null,l,m,o,a),null),o},useId:function(){var e=pn(),a=wt.identifierPrefix;if(rt){var o=Sa,l=wa;o=(l&~(1<<32-Ht(l)-1)).toString(32)+o,a="_"+a+"R_"+o,o=Gl++,0<\/script>",m=m.removeChild(m.firstChild);break;case"select":m=typeof l.is=="string"?x.createElement("select",{is:l.is}):x.createElement("select"),l.multiple?m.multiple=!0:l.size&&(m.size=l.size);break;default:m=typeof l.is=="string"?x.createElement(d,{is:l.is}):x.createElement(d)}}m[rn]=a,m[Sn]=l;e:for(x=a.child;x!==null;){if(x.tag===5||x.tag===6)m.appendChild(x.stateNode);else if(x.tag!==4&&x.tag!==27&&x.child!==null){x.child.return=x,x=x.child;continue}if(x===a)break e;for(;x.sibling===null;){if(x.return===null||x.return===a)break e;x=x.return}x.sibling.return=x.return,x=x.sibling}a.stateNode=m;e:switch(cn(m,d,l),d){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&Za(a)}}return Et(a),Sf(a,a.type,e===null?null:e.memoizedProps,a.pendingProps,o),null;case 6:if(e&&a.stateNode!=null)e.memoizedProps!==l&&Za(a);else{if(typeof l!="string"&&a.stateNode===null)throw Error(s(166));if(e=ie.current,Ks(a)){if(e=a.stateNode,o=a.memoizedProps,l=null,d=sn,d!==null)switch(d.tag){case 27:case 5:l=d.memoizedProps}e[rn]=a,e=!!(e.nodeValue===o||l!==null&&l.suppressHydrationWarning===!0||Oy(e.nodeValue,o)),e||gr(a,!0)}else e=yc(e).createTextNode(l),e[rn]=a,a.stateNode=e}return Et(a),null;case 31:if(o=a.memoizedState,e===null||e.memoizedState!==null){if(l=Ks(a),o!==null){if(e===null){if(!l)throw Error(s(318));if(e=a.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(557));e[rn]=a}else os(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;Et(a),e=!1}else o=jd(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),e=!0;if(!e)return a.flags&256?(Ln(a),a):(Ln(a),null);if((a.flags&128)!==0)throw Error(s(558))}return Et(a),null;case 13:if(l=a.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(d=Ks(a),l!==null&&l.dehydrated!==null){if(e===null){if(!d)throw Error(s(318));if(d=a.memoizedState,d=d!==null?d.dehydrated:null,!d)throw Error(s(317));d[rn]=a}else os(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;Et(a),d=!1}else d=jd(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=d),d=!0;if(!d)return a.flags&256?(Ln(a),a):(Ln(a),null)}return Ln(a),(a.flags&128)!==0?(a.lanes=o,a):(o=l!==null,e=e!==null&&e.memoizedState!==null,o&&(l=a.child,d=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(d=l.alternate.memoizedState.cachePool.pool),m=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(m=l.memoizedState.cachePool.pool),m!==d&&(l.flags|=2048)),o!==e&&o&&(a.child.flags|=8192),ac(a,a.updateQueue),Et(a),null);case 4:return oe(),e===null&&Ff(a.stateNode.containerInfo),Et(a),null;case 10:return Fa(a.type),Et(a),null;case 19:if(X(zt),l=a.memoizedState,l===null)return Et(a),null;if(d=(a.flags&128)!==0,m=l.rendering,m===null)if(d)Si(l,!1);else{if(jt!==0||e!==null&&(e.flags&128)!==0)for(e=a.child;e!==null;){if(m=Fl(e),m!==null){for(a.flags|=128,Si(l,!1),e=m.updateQueue,a.updateQueue=e,ac(a,e),a.subtreeFlags=0,e=o,o=a.child;o!==null;)lg(o,e),o=o.sibling;return L(zt,zt.current&1|2),rt&&Ia(a,l.treeForkCount),a.child}e=e.sibling}l.tail!==null&&V()>lc&&(a.flags|=128,d=!0,Si(l,!1),a.lanes=4194304)}else{if(!d)if(e=Fl(m),e!==null){if(a.flags|=128,d=!0,e=e.updateQueue,a.updateQueue=e,ac(a,e),Si(l,!0),l.tail===null&&l.tailMode==="hidden"&&!m.alternate&&!rt)return Et(a),null}else 2*V()-l.renderingStartTime>lc&&o!==536870912&&(a.flags|=128,d=!0,Si(l,!1),a.lanes=4194304);l.isBackwards?(m.sibling=a.child,a.child=m):(e=l.last,e!==null?e.sibling=m:a.child=m,l.last=m)}return l.tail!==null?(e=l.tail,l.rendering=e,l.tail=e.sibling,l.renderingStartTime=V(),e.sibling=null,o=zt.current,L(zt,d?o&1|2:o&1),rt&&Ia(a,l.treeForkCount),e):(Et(a),null);case 22:case 23:return Ln(a),Fd(),l=a.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(a.flags|=8192):l&&(a.flags|=8192),l?(o&536870912)!==0&&(a.flags&128)===0&&(Et(a),a.subtreeFlags&6&&(a.flags|=8192)):Et(a),o=a.updateQueue,o!==null&&ac(a,o.retryQueue),o=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),l=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(l=a.memoizedState.cachePool.pool),l!==o&&(a.flags|=2048),e!==null&&X(cs),null;case 24:return o=null,e!==null&&(o=e.memoizedState.cache),a.memoizedState.cache!==o&&(a.flags|=2048),Fa(Vt),Et(a),null;case 25:return null;case 30:return null}throw Error(s(156,a.tag))}function __(e,a){switch(Td(a),a.tag){case 1:return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 3:return Fa(Vt),oe(),e=a.flags,(e&65536)!==0&&(e&128)===0?(a.flags=e&-65537|128,a):null;case 26:case 27:case 5:return et(a),null;case 31:if(a.memoizedState!==null){if(Ln(a),a.alternate===null)throw Error(s(340));os()}return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 13:if(Ln(a),e=a.memoizedState,e!==null&&e.dehydrated!==null){if(a.alternate===null)throw Error(s(340));os()}return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 19:return X(zt),null;case 4:return oe(),null;case 10:return Fa(a.type),null;case 22:case 23:return Ln(a),Fd(),e!==null&&X(cs),e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 24:return Fa(Vt),null;case 25:return null;default:return null}}function zv(e,a){switch(Td(a),a.tag){case 3:Fa(Vt),oe();break;case 26:case 27:case 5:et(a);break;case 4:oe();break;case 31:a.memoizedState!==null&&Ln(a);break;case 13:Ln(a);break;case 19:X(zt);break;case 10:Fa(a.type);break;case 22:case 23:Ln(a),Fd(),e!==null&&X(cs);break;case 24:Fa(Vt)}}function Ei(e,a){try{var o=a.updateQueue,l=o!==null?o.lastEffect:null;if(l!==null){var d=l.next;o=d;do{if((o.tag&e)===e){l=void 0;var m=o.create,x=o.inst;l=m(),x.destroy=l}o=o.next}while(o!==d)}}catch(N){gt(a,a.return,N)}}function Er(e,a,o){try{var l=a.updateQueue,d=l!==null?l.lastEffect:null;if(d!==null){var m=d.next;l=m;do{if((l.tag&e)===e){var x=l.inst,N=x.destroy;if(N!==void 0){x.destroy=void 0,d=a;var M=o,q=N;try{q()}catch(re){gt(d,M,re)}}}l=l.next}while(l!==m)}}catch(re){gt(a,a.return,re)}}function Lv(e){var a=e.updateQueue;if(a!==null){var o=e.stateNode;try{Ng(a,o)}catch(l){gt(e,e.return,l)}}}function Uv(e,a,o){o.props=hs(e.type,e.memoizedProps),o.state=e.memoizedState;try{o.componentWillUnmount()}catch(l){gt(e,a,l)}}function _i(e,a){try{var o=e.ref;if(o!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}typeof o=="function"?e.refCleanup=o(l):o.current=l}}catch(d){gt(e,a,d)}}function Ea(e,a){var o=e.ref,l=e.refCleanup;if(o!==null)if(typeof l=="function")try{l()}catch(d){gt(e,a,d)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof o=="function")try{o(null)}catch(d){gt(e,a,d)}else o.current=null}function Bv(e){var a=e.type,o=e.memoizedProps,l=e.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":o.autoFocus&&l.focus();break e;case"img":o.src?l.src=o.src:o.srcSet&&(l.srcset=o.srcSet)}}catch(d){gt(e,e.return,d)}}function Ef(e,a,o){try{var l=e.stateNode;G_(l,e.type,o,a),l[Sn]=a}catch(d){gt(e,e.return,d)}}function Pv(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Or(e.type)||e.tag===4}function _f(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Pv(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Or(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Cf(e,a,o){var l=e.tag;if(l===5||l===6)e=e.stateNode,a?(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o).insertBefore(e,a):(a=o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,a.appendChild(e),o=o._reactRootContainer,o!=null||a.onclick!==null||(a.onclick=Pa));else if(l!==4&&(l===27&&Or(e.type)&&(o=e.stateNode,a=null),e=e.child,e!==null))for(Cf(e,a,o),e=e.sibling;e!==null;)Cf(e,a,o),e=e.sibling}function rc(e,a,o){var l=e.tag;if(l===5||l===6)e=e.stateNode,a?o.insertBefore(e,a):o.appendChild(e);else if(l!==4&&(l===27&&Or(e.type)&&(o=e.stateNode),e=e.child,e!==null))for(rc(e,a,o),e=e.sibling;e!==null;)rc(e,a,o),e=e.sibling}function Hv(e){var a=e.stateNode,o=e.memoizedProps;try{for(var l=e.type,d=a.attributes;d.length;)a.removeAttributeNode(d[0]);cn(a,l,o),a[rn]=e,a[Sn]=o}catch(m){gt(e,e.return,m)}}var Xa=!1,Ft=!1,Nf=!1,Vv=typeof WeakSet=="function"?WeakSet:Set,nn=null;function C_(e,a){if(e=e.containerInfo,Yf=Cc,e=Jp(e),yd(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var l=o.getSelection&&o.getSelection();if(l&&l.rangeCount!==0){o=l.anchorNode;var d=l.anchorOffset,m=l.focusNode;l=l.focusOffset;try{o.nodeType,m.nodeType}catch{o=null;break e}var x=0,N=-1,M=-1,q=0,re=0,ue=e,Z=null;t:for(;;){for(var ee;ue!==o||d!==0&&ue.nodeType!==3||(N=x+d),ue!==m||l!==0&&ue.nodeType!==3||(M=x+l),ue.nodeType===3&&(x+=ue.nodeValue.length),(ee=ue.firstChild)!==null;)Z=ue,ue=ee;for(;;){if(ue===e)break t;if(Z===o&&++q===d&&(N=x),Z===m&&++re===l&&(M=x),(ee=ue.nextSibling)!==null)break;ue=Z,Z=ue.parentNode}ue=ee}o=N===-1||M===-1?null:{start:N,end:M}}else o=null}o=o||{start:0,end:0}}else o=null;for(Zf={focusedElem:e,selectionRange:o},Cc=!1,nn=a;nn!==null;)if(a=nn,e=a.child,(a.subtreeFlags&1028)!==0&&e!==null)e.return=a,nn=e;else for(;nn!==null;){switch(a=nn,m=a.alternate,e=a.flags,a.tag){case 0:if((e&4)!==0&&(e=a.updateQueue,e=e!==null?e.events:null,e!==null))for(o=0;o title"))),cn(m,l,o),m[rn]=e,tn(m),l=m;break e;case"link":var x=Yy("link","href",d).get(l+(o.href||""));if(x){for(var N=0;Nbt&&(x=bt,bt=Le,Le=x);var P=Qp(N,Le),z=Qp(N,bt);if(P&&z&&(ee.rangeCount!==1||ee.anchorNode!==P.node||ee.anchorOffset!==P.offset||ee.focusNode!==z.node||ee.focusOffset!==z.offset)){var I=ue.createRange();I.setStart(P.node,P.offset),ee.removeAllRanges(),Le>bt?(ee.addRange(I),ee.extend(z.node,z.offset)):(I.setEnd(z.node,z.offset),ee.addRange(I))}}}}for(ue=[],ee=N;ee=ee.parentNode;)ee.nodeType===1&&ue.push({element:ee,left:ee.scrollLeft,top:ee.scrollTop});for(typeof N.focus=="function"&&N.focus(),N=0;No?32:o,T.T=null,o=Mf,Mf=null;var m=Rr,x=er;if(Xt=0,uo=Rr=null,er=0,(ft&6)!==0)throw Error(s(331));var N=ft;if(ft|=4,Wv(m.current),Xv(m,m.current,x,o),ft=N,Oi(0,!1),Dt&&typeof Dt.onPostCommitFiberRoot=="function")try{Dt.onPostCommitFiberRoot(mt,m)}catch{}return!0}finally{K.p=d,T.T=l,gy(e,a)}}function yy(e,a,o){a=Qn(o,a),a=ff(e.stateNode,a,2),e=xr(e,a,2),e!==null&&(Rt(e,2),_a(e))}function gt(e,a,o){if(e.tag===3)yy(e,e,o);else for(;a!==null;){if(a.tag===3){yy(a,e,o);break}else if(a.tag===1){var l=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Nr===null||!Nr.has(l))){e=Qn(o,e),o=bv(2),l=xr(a,o,2),l!==null&&(xv(o,l,a,e),Rt(l,2),_a(l));break}}a=a.return}}function Uf(e,a,o){var l=e.pingCache;if(l===null){l=e.pingCache=new A_;var d=new Set;l.set(a,d)}else d=l.get(a),d===void 0&&(d=new Set,l.set(a,d));d.has(o)||(Tf=!0,d.add(o),e=M_.bind(null,e,a,o),a.then(e,e))}function M_(e,a,o){var l=e.pingCache;l!==null&&l.delete(a),e.pingedLanes|=e.suspendedLanes&o,e.warmLanes&=~o,wt===e&&(tt&o)===o&&(jt===4||jt===3&&(tt&62914560)===tt&&300>V()-ic?(ft&2)===0&&fo(e,0):Of|=o,co===tt&&(co=0)),_a(e)}function by(e,a){a===0&&(a=dn()),e=rs(e,a),e!==null&&(Rt(e,a),_a(e))}function D_(e){var a=e.memoizedState,o=0;a!==null&&(o=a.retryLane),by(e,o)}function z_(e,a){var o=0;switch(e.tag){case 31:case 13:var l=e.stateNode,d=e.memoizedState;d!==null&&(o=d.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(s(314))}l!==null&&l.delete(a),by(e,o)}function L_(e,a){return Tt(e,a)}var hc=null,ho=null,Bf=!1,pc=!1,Pf=!1,Tr=0;function _a(e){e!==ho&&e.next===null&&(ho===null?hc=ho=e:ho=ho.next=e),pc=!0,Bf||(Bf=!0,B_())}function Oi(e,a){if(!Pf&&pc){Pf=!0;do for(var o=!1,l=hc;l!==null;){if(e!==0){var d=l.pendingLanes;if(d===0)var m=0;else{var x=l.suspendedLanes,N=l.pingedLanes;m=(1<<31-Ht(42|e)+1)-1,m&=d&~(x&~N),m=m&201326741?m&201326741|1:m?m|2:0}m!==0&&(o=!0,Ey(l,m))}else m=tt,m=He(l,l===wt?m:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(m&3)===0||_t(l,m)||(o=!0,Ey(l,m));l=l.next}while(o);Pf=!1}}function U_(){xy()}function xy(){pc=Bf=!1;var e=0;Tr!==0&&Z_()&&(e=Tr);for(var a=V(),o=null,l=hc;l!==null;){var d=l.next,m=wy(l,a);m===0?(l.next=null,o===null?hc=d:o.next=d,d===null&&(ho=o)):(o=l,(e!==0||(m&3)!==0)&&(pc=!0)),l=d}Xt!==0&&Xt!==5||Oi(e),Tr!==0&&(Tr=0)}function wy(e,a){for(var o=e.suspendedLanes,l=e.pingedLanes,d=e.expirationTimes,m=e.pendingLanes&-62914561;0N)break;var re=M.transferSize,ue=M.initiatorType;re&&jy(ue)&&(M=M.responseEnd,x+=re*(M"u"?null:document;function qy(e,a,o){var l=po;if(l&&typeof a=="string"&&a){var d=Xn(a);d='link[rel="'+e+'"][href="'+d+'"]',typeof o=="string"&&(d+='[crossorigin="'+o+'"]'),Iy.has(d)||(Iy.add(d),e={rel:e,crossOrigin:o,href:a},l.querySelector(d)===null&&(a=l.createElement("link"),cn(a,"link",e),tn(a),l.head.appendChild(a)))}}function aC(e){tr.D(e),qy("dns-prefetch",e,null)}function rC(e,a){tr.C(e,a),qy("preconnect",e,a)}function sC(e,a,o){tr.L(e,a,o);var l=po;if(l&&e&&a){var d='link[rel="preload"][as="'+Xn(a)+'"]';a==="image"&&o&&o.imageSrcSet?(d+='[imagesrcset="'+Xn(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(d+='[imagesizes="'+Xn(o.imageSizes)+'"]')):d+='[href="'+Xn(e)+'"]';var m=d;switch(a){case"style":m=go(e);break;case"script":m=vo(e)}aa.has(m)||(e=v({rel:"preload",href:a==="image"&&o&&o.imageSrcSet?void 0:e,as:a},o),aa.set(m,e),l.querySelector(d)!==null||a==="style"&&l.querySelector(Di(m))||a==="script"&&l.querySelector(zi(m))||(a=l.createElement("link"),cn(a,"link",e),tn(a),l.head.appendChild(a)))}}function oC(e,a){tr.m(e,a);var o=po;if(o&&e){var l=a&&typeof a.as=="string"?a.as:"script",d='link[rel="modulepreload"][as="'+Xn(l)+'"][href="'+Xn(e)+'"]',m=d;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":m=vo(e)}if(!aa.has(m)&&(e=v({rel:"modulepreload",href:e},a),aa.set(m,e),o.querySelector(d)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(zi(m)))return}l=o.createElement("link"),cn(l,"link",e),tn(l),o.head.appendChild(l)}}}function iC(e,a,o){tr.S(e,a,o);var l=po;if(l&&e){var d=Us(l).hoistableStyles,m=go(e);a=a||"default";var x=d.get(m);if(!x){var N={loading:0,preload:null};if(x=l.querySelector(Di(m)))N.loading=5;else{e=v({rel:"stylesheet",href:e,"data-precedence":a},o),(o=aa.get(m))&&tm(e,o);var M=x=l.createElement("link");tn(M),cn(M,"link",e),M._p=new Promise(function(q,re){M.onload=q,M.onerror=re}),M.addEventListener("load",function(){N.loading|=1}),M.addEventListener("error",function(){N.loading|=2}),N.loading|=4,xc(x,a,l)}x={type:"stylesheet",instance:x,count:1,state:N},d.set(m,x)}}}function lC(e,a){tr.X(e,a);var o=po;if(o&&e){var l=Us(o).hoistableScripts,d=vo(e),m=l.get(d);m||(m=o.querySelector(zi(d)),m||(e=v({src:e,async:!0},a),(a=aa.get(d))&&nm(e,a),m=o.createElement("script"),tn(m),cn(m,"link",e),o.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},l.set(d,m))}}function cC(e,a){tr.M(e,a);var o=po;if(o&&e){var l=Us(o).hoistableScripts,d=vo(e),m=l.get(d);m||(m=o.querySelector(zi(d)),m||(e=v({src:e,async:!0,type:"module"},a),(a=aa.get(d))&&nm(e,a),m=o.createElement("script"),tn(m),cn(m,"link",e),o.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},l.set(d,m))}}function Fy(e,a,o,l){var d=(d=ie.current)?bc(d):null;if(!d)throw Error(s(446));switch(e){case"meta":case"title":return null;case"style":return typeof o.precedence=="string"&&typeof o.href=="string"?(a=go(o.href),o=Us(d).hoistableStyles,l=o.get(a),l||(l={type:"style",instance:null,count:0,state:null},o.set(a,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(o.rel==="stylesheet"&&typeof o.href=="string"&&typeof o.precedence=="string"){e=go(o.href);var m=Us(d).hoistableStyles,x=m.get(e);if(x||(d=d.ownerDocument||d,x={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},m.set(e,x),(m=d.querySelector(Di(e)))&&!m._p&&(x.instance=m,x.state.loading=5),aa.has(e)||(o={rel:"preload",as:"style",href:o.href,crossOrigin:o.crossOrigin,integrity:o.integrity,media:o.media,hrefLang:o.hrefLang,referrerPolicy:o.referrerPolicy},aa.set(e,o),m||uC(d,e,o,x.state))),a&&l===null)throw Error(s(528,""));return x}if(a&&l!==null)throw Error(s(529,""));return null;case"script":return a=o.async,o=o.src,typeof o=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=vo(o),o=Us(d).hoistableScripts,l=o.get(a),l||(l={type:"script",instance:null,count:0,state:null},o.set(a,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,e))}}function go(e){return'href="'+Xn(e)+'"'}function Di(e){return'link[rel="stylesheet"]['+e+"]"}function $y(e){return v({},e,{"data-precedence":e.precedence,precedence:null})}function uC(e,a,o,l){e.querySelector('link[rel="preload"][as="style"]['+a+"]")?l.loading=1:(a=e.createElement("link"),l.preload=a,a.addEventListener("load",function(){return l.loading|=1}),a.addEventListener("error",function(){return l.loading|=2}),cn(a,"link",o),tn(a),e.head.appendChild(a))}function vo(e){return'[src="'+Xn(e)+'"]'}function zi(e){return"script[async]"+e}function Gy(e,a,o){if(a.count++,a.instance===null)switch(a.type){case"style":var l=e.querySelector('style[data-href~="'+Xn(o.href)+'"]');if(l)return a.instance=l,tn(l),l;var d=v({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),tn(l),cn(l,"style",d),xc(l,o.precedence,e),a.instance=l;case"stylesheet":d=go(o.href);var m=e.querySelector(Di(d));if(m)return a.state.loading|=4,a.instance=m,tn(m),m;l=$y(o),(d=aa.get(d))&&tm(l,d),m=(e.ownerDocument||e).createElement("link"),tn(m);var x=m;return x._p=new Promise(function(N,M){x.onload=N,x.onerror=M}),cn(m,"link",l),a.state.loading|=4,xc(m,o.precedence,e),a.instance=m;case"script":return m=vo(o.src),(d=e.querySelector(zi(m)))?(a.instance=d,tn(d),d):(l=o,(d=aa.get(m))&&(l=v({},o),nm(l,d)),e=e.ownerDocument||e,d=e.createElement("script"),tn(d),cn(d,"link",l),e.head.appendChild(d),a.instance=d);case"void":return null;default:throw Error(s(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(l=a.instance,a.state.loading|=4,xc(l,o.precedence,e));return a.instance}function xc(e,a,o){for(var l=o.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),d=l.length?l[l.length-1]:null,m=d,x=0;x title"):null)}function dC(e,a,o){if(o===1||a.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;switch(a.rel){case"stylesheet":return e=a.disabled,typeof a.precedence=="string"&&e==null;default:return!0}case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function Xy(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function fC(e,a,o,l){if(o.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(o.state.loading&4)===0){if(o.instance===null){var d=go(l.href),m=a.querySelector(Di(d));if(m){a=m._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(e.count++,e=Sc.bind(e),a.then(e,e)),o.state.loading|=4,o.instance=m,tn(m);return}m=a.ownerDocument||a,l=$y(l),(d=aa.get(d))&&tm(l,d),m=m.createElement("link"),tn(m);var x=m;x._p=new Promise(function(N,M){x.onload=N,x.onerror=M}),cn(m,"link",l),o.instance=m}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(o,a),(a=o.state.preload)&&(o.state.loading&3)===0&&(e.count++,o=Sc.bind(e),a.addEventListener("load",o),a.addEventListener("error",o))}}var am=0;function mC(e,a){return e.stylesheets&&e.count===0&&_c(e,e.stylesheets),0am?50:800)+a);return e.unsuspend=o,function(){e.unsuspend=null,clearTimeout(l),clearTimeout(d)}}:null}function Sc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)_c(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Ec=null;function _c(e,a){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Ec=new Map,a.forEach(hC,e),Ec=null,Sc.call(e))}function hC(e,a){if(!(a.state.loading&4)){var o=Ec.get(e);if(o)var l=o.get(null);else{o=new Map,Ec.set(e,o);for(var d=e.querySelectorAll("link[data-precedence],style[data-precedence]"),m=0;m"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}return t(),fm.exports=kC(),fm.exports}var DC=MC();/** * react-router v7.13.2 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */var xb="popstate";function wb(t){return typeof t=="object"&&t!=null&&"pathname"in t&&"search"in t&&"hash"in t&&"state"in t&&"key"in t}function zC(t={}){function n(s,i){var p;let c=(p=i.state)==null?void 0:p.masked,{pathname:u,search:f,hash:g}=c||s.location;return Fm("",{pathname:u,search:f,hash:g},i.state&&i.state.usr||null,i.state&&i.state.key||"default",c?{pathname:s.location.pathname,search:s.location.search,hash:s.location.hash}:void 0)}function r(s,i){return typeof i=="string"?i:Ji(i)}return UC(n,r,null,t)}function Nt(t,n){if(t===!1||t===null||typeof t>"u")throw new Error(n)}function oa(t,n){if(!t){typeof console<"u"&&console.warn(n);try{throw new Error(n)}catch{}}}function LC(){return Math.random().toString(36).substring(2,10)}function Sb(t,n){return{usr:t.state,key:t.key,idx:n,masked:t.unstable_mask?{pathname:t.pathname,search:t.search,hash:t.hash}:void 0}}function Fm(t,n,r=null,s,i){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof n=="string"?qo(n):n,state:r,key:n&&n.key||s||LC(),unstable_mask:i}}function Ji({pathname:t="/",search:n="",hash:r=""}){return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function qo(t){let n={};if(t){let r=t.indexOf("#");r>=0&&(n.hash=t.substring(r),t=t.substring(0,r));let s=t.indexOf("?");s>=0&&(n.search=t.substring(s),t=t.substring(0,s)),t&&(n.pathname=t)}return n}function UC(t,n,r,s={}){let{window:i=document.defaultView,v5Compat:c=!1}=s,u=i.history,f="POP",g=null,p=y();p==null&&(p=0,u.replaceState({...u.state,idx:p},""));function y(){return(u.state||{idx:null}).idx}function v(){f="POP";let E=y(),R=E==null?null:E-p;p=E,g&&g({action:f,location:_.location,delta:R})}function w(E,R){f="PUSH";let k=wb(E)?E:Fm(_.location,E,R);p=y()+1;let A=Sb(k,p),D=_.createHref(k.unstable_mask||k);try{u.pushState(A,"",D)}catch(H){if(H instanceof DOMException&&H.name==="DataCloneError")throw H;i.location.assign(D)}c&&g&&g({action:f,location:_.location,delta:1})}function C(E,R){f="REPLACE";let k=wb(E)?E:Fm(_.location,E,R);p=y();let A=Sb(k,p),D=_.createHref(k.unstable_mask||k);u.replaceState(A,"",D),c&&g&&g({action:f,location:_.location,delta:0})}function S(E){return BC(E)}let _={get action(){return f},get location(){return t(i,u)},listen(E){if(g)throw new Error("A history only accepts one active listener");return i.addEventListener(xb,v),g=E,()=>{i.removeEventListener(xb,v),g=null}},createHref(E){return n(i,E)},createURL:S,encodeLocation(E){let R=S(E);return{pathname:R.pathname,search:R.search,hash:R.hash}},push:w,replace:C,go(E){return u.go(E)}};return _}function BC(t,n=!1){let r="http://localhost";typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),Nt(r,"No window.location.(origin|href) available to create URL");let s=typeof t=="string"?t:Ji(t);return s=s.replace(/ $/,"%20"),!n&&s.startsWith("//")&&(s=r+s),new URL(s,r)}function b0(t,n,r="/"){return PC(t,n,r,!1)}function PC(t,n,r,s){let i=typeof n=="string"?qo(n):n,c=rr(i.pathname||"/",r);if(c==null)return null;let u=x0(t);HC(u);let f=null;for(let g=0;f==null&&g{let y={relativePath:p===void 0?u.path||"":p,caseSensitive:u.caseSensitive===!0,childrenIndex:f,route:u};if(y.relativePath.startsWith("/")){if(!y.relativePath.startsWith(s)&&g)return;Nt(y.relativePath.startsWith(s),`Absolute route path "${y.relativePath}" nested under path "${s}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),y.relativePath=y.relativePath.slice(s.length)}let v=ja([s,y.relativePath]),w=r.concat(y);u.children&&u.children.length>0&&(Nt(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),x0(u.children,n,w,v,g)),!(u.path==null&&!u.index)&&n.push({path:v,score:YC(v,u.index),routesMeta:w})};return t.forEach((u,f)=>{var g;if(u.path===""||!((g=u.path)!=null&&g.includes("?")))c(u,f);else for(let p of w0(u.path))c(u,f,!0,p)}),n}function w0(t){let n=t.split("/");if(n.length===0)return[];let[r,...s]=n,i=r.endsWith("?"),c=r.replace(/\?$/,"");if(s.length===0)return i?[c,""]:[c];let u=w0(s.join("/")),f=[];return f.push(...u.map(g=>g===""?c:[c,g].join("/"))),i&&f.push(...u),f.map(g=>t.startsWith("/")&&g===""?"/":g)}function HC(t){t.sort((n,r)=>n.score!==r.score?r.score-n.score:ZC(n.routesMeta.map(s=>s.childrenIndex),r.routesMeta.map(s=>s.childrenIndex)))}var VC=/^:[\w-]+$/,IC=3,qC=2,FC=1,$C=10,GC=-2,Eb=t=>t==="*";function YC(t,n){let r=t.split("/"),s=r.length;return r.some(Eb)&&(s+=GC),n&&(s+=qC),r.filter(i=>!Eb(i)).reduce((i,c)=>i+(VC.test(c)?IC:c===""?FC:$C),s)}function ZC(t,n){return t.length===n.length&&t.slice(0,-1).every((s,i)=>s===n[i])?t[t.length-1]-n[n.length-1]:0}function XC(t,n,r=!1){let{routesMeta:s}=t,i={},c="/",u=[];for(let f=0;f{if(y==="*"){let S=f[w]||"";u=c.slice(0,c.length-S.length).replace(/(.)\/+$/,"$1")}const C=f[w];return v&&!C?p[y]=void 0:p[y]=(C||"").replace(/%2F/g,"/"),p},{}),pathname:c,pathnameBase:u,pattern:t}}function KC(t,n=!1,r=!0){oa(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let s=[],i="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,f,g,p,y)=>{if(s.push({paramName:f,isOptional:g!=null}),g){let v=y.charAt(p+u.length);return v&&v!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return t.endsWith("*")?(s.push({paramName:"*"}),i+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":t!==""&&t!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,n?void 0:"i"),s]}function QC(t){try{return t.split("/").map(n=>decodeURIComponent(n).replace(/\//g,"%2F")).join("/")}catch(n){return oa(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${n}).`),t}}function rr(t,n){if(n==="/")return t;if(!t.toLowerCase().startsWith(n.toLowerCase()))return null;let r=n.endsWith("/")?n.length-1:n.length,s=t.charAt(r);return s&&s!=="/"?null:t.slice(r)||"/"}var WC=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function JC(t,n="/"){let{pathname:r,search:s="",hash:i=""}=typeof t=="string"?qo(t):t,c;return r?(r=r.replace(/\/\/+/g,"/"),r.startsWith("/")?c=_b(r.substring(1),"/"):c=_b(r,n)):c=n,{pathname:c,search:nN(s),hash:aN(i)}}function _b(t,n){let r=n.replace(/\/+$/,"").split("/");return t.split("/").forEach(i=>{i===".."?r.length>1&&r.pop():i!=="."&&r.push(i)}),r.length>1?r.join("/"):"/"}function gm(t,n,r,s){return`Cannot include a '${t}' character in a manually specified \`to.${n}\` field [${JSON.stringify(s)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function eN(t){return t.filter((n,r)=>r===0||n.route.path&&n.route.path.length>0)}function Sh(t){let n=eN(t);return n.map((r,s)=>s===n.length-1?r.pathname:r.pathnameBase)}function Ru(t,n,r,s=!1){let i;typeof t=="string"?i=qo(t):(i={...t},Nt(!i.pathname||!i.pathname.includes("?"),gm("?","pathname","search",i)),Nt(!i.pathname||!i.pathname.includes("#"),gm("#","pathname","hash",i)),Nt(!i.search||!i.search.includes("#"),gm("#","search","hash",i)));let c=t===""||i.pathname==="",u=c?"/":i.pathname,f;if(u==null)f=r;else{let v=n.length-1;if(!s&&u.startsWith("..")){let w=u.split("/");for(;w[0]==="..";)w.shift(),v-=1;i.pathname=w.join("/")}f=v>=0?n[v]:"/"}let g=JC(i,f),p=u&&u!=="/"&&u.endsWith("/"),y=(c||u===".")&&r.endsWith("/");return!g.pathname.endsWith("/")&&(p||y)&&(g.pathname+="/"),g}var ja=t=>t.join("/").replace(/\/\/+/g,"/"),tN=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),nN=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,aN=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,rN=class{constructor(t,n,r,s=!1){this.status=t,this.statusText=n||"",this.internal=s,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function sN(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}function oN(t){return t.map(n=>n.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var S0=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function E0(t,n){let r=t;if(typeof r!="string"||!WC.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let s=r,i=!1;if(S0)try{let c=new URL(window.location.href),u=r.startsWith("//")?new URL(c.protocol+r):new URL(r),f=rr(u.pathname,n);u.origin===c.origin&&f!=null?r=f+u.search+u.hash:i=!0}catch{oa(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:s,isExternal:i,to:r}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var _0=["POST","PUT","PATCH","DELETE"];new Set(_0);var iN=["GET",..._0];new Set(iN);var Fo=b.createContext(null);Fo.displayName="DataRouter";var Au=b.createContext(null);Au.displayName="DataRouterState";var lN=b.createContext(!1),C0=b.createContext({isTransitioning:!1});C0.displayName="ViewTransition";var cN=b.createContext(new Map);cN.displayName="Fetchers";var uN=b.createContext(null);uN.displayName="Await";var Gn=b.createContext(null);Gn.displayName="Navigation";var il=b.createContext(null);il.displayName="Location";var ia=b.createContext({outlet:null,matches:[],isDataRoute:!1});ia.displayName="Route";var Eh=b.createContext(null);Eh.displayName="RouteError";var N0="REACT_ROUTER_ERROR",dN="REDIRECT",fN="ROUTE_ERROR_RESPONSE";function mN(t){if(t.startsWith(`${N0}:${dN}:{`))try{let n=JSON.parse(t.slice(28));if(typeof n=="object"&&n&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.location=="string"&&typeof n.reloadDocument=="boolean"&&typeof n.replace=="boolean")return n}catch{}}function hN(t){if(t.startsWith(`${N0}:${fN}:{`))try{let n=JSON.parse(t.slice(40));if(typeof n=="object"&&n&&typeof n.status=="number"&&typeof n.statusText=="string")return new rN(n.status,n.statusText,n.data)}catch{}}function pN(t,{relative:n}={}){Nt($o(),"useHref() may be used only in the context of a component.");let{basename:r,navigator:s}=b.useContext(Gn),{hash:i,pathname:c,search:u}=ll(t,{relative:n}),f=c;return r!=="/"&&(f=c==="/"?r:ja([r,c])),s.createHref({pathname:f,search:u,hash:i})}function $o(){return b.useContext(il)!=null}function Da(){return Nt($o(),"useLocation() may be used only in the context of a component."),b.useContext(il).location}var R0="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function A0(t){b.useContext(Gn).static||b.useLayoutEffect(t)}function Xr(){let{isDataRoute:t}=b.useContext(ia);return t?jN():gN()}function gN(){Nt($o(),"useNavigate() may be used only in the context of a component.");let t=b.useContext(Fo),{basename:n,navigator:r}=b.useContext(Gn),{matches:s}=b.useContext(ia),{pathname:i}=Da(),c=JSON.stringify(Sh(s)),u=b.useRef(!1);return A0(()=>{u.current=!0}),b.useCallback((g,p={})=>{if(oa(u.current,R0),!u.current)return;if(typeof g=="number"){r.go(g);return}let y=Ru(g,JSON.parse(c),i,p.relative==="path");t==null&&n!=="/"&&(y.pathname=y.pathname==="/"?n:ja([n,y.pathname])),(p.replace?r.replace:r.push)(y,p.state,p)},[n,r,c,i,t])}var vN=b.createContext(null);function yN(t){let n=b.useContext(ia).outlet;return b.useMemo(()=>n&&b.createElement(vN.Provider,{value:t},n),[n,t])}function bN(){let{matches:t}=b.useContext(ia),n=t[t.length-1];return n?n.params:{}}function ll(t,{relative:n}={}){let{matches:r}=b.useContext(ia),{pathname:s}=Da(),i=JSON.stringify(Sh(r));return b.useMemo(()=>Ru(t,JSON.parse(i),s,n==="path"),[t,i,s,n])}function xN(t,n){return T0(t,n)}function T0(t,n,r){var E;Nt($o(),"useRoutes() may be used only in the context of a component.");let{navigator:s}=b.useContext(Gn),{matches:i}=b.useContext(ia),c=i[i.length-1],u=c?c.params:{},f=c?c.pathname:"/",g=c?c.pathnameBase:"/",p=c&&c.route;{let R=p&&p.path||"";j0(f,!p||R.endsWith("*")||R.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${f}" (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 y=Da(),v;if(n){let R=typeof n=="string"?qo(n):n;Nt(g==="/"||((E=R.pathname)==null?void 0:E.startsWith(g)),`When overriding the location using \`\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${g}" but pathname "${R.pathname}" was given in the \`location\` prop.`),v=R}else v=y;let w=v.pathname||"/",C=w;if(g!=="/"){let R=g.replace(/^\//,"").split("/");C="/"+w.replace(/^\//,"").split("/").slice(R.length).join("/")}let S=b0(t,{pathname:C});oa(p||S!=null,`No routes matched location "${v.pathname}${v.search}${v.hash}" `),oa(S==null||S[S.length-1].route.element!==void 0||S[S.length-1].route.Component!==void 0||S[S.length-1].route.lazy!==void 0,`Matched leaf route at location "${v.pathname}${v.search}${v.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 _=CN(S&&S.map(R=>Object.assign({},R,{params:Object.assign({},u,R.params),pathname:ja([g,s.encodeLocation?s.encodeLocation(R.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:R.pathname]),pathnameBase:R.pathnameBase==="/"?g:ja([g,s.encodeLocation?s.encodeLocation(R.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:R.pathnameBase])})),i,r);return n&&_?b.createElement(il.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...v},navigationType:"POP"}},_):_}function wN(){let t=ON(),n=sN(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),r=t instanceof Error?t.stack:null,s="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:s},c={padding:"2px 4px",backgroundColor:s},u=null;return console.error("Error handled by React Router default ErrorBoundary:",t),u=b.createElement(b.Fragment,null,b.createElement("p",null,"💿 Hey developer 👋"),b.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",b.createElement("code",{style:c},"ErrorBoundary")," or"," ",b.createElement("code",{style:c},"errorElement")," prop on your route.")),b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},n),r?b.createElement("pre",{style:i},r):null,u)}var SN=b.createElement(wN,null),O0=class extends b.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){this.props.onError?this.props.onError(t,n):console.error("React Router caught the following error during render",t)}render(){let t=this.state.error;if(this.context&&typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){const r=hN(t.digest);r&&(t=r)}let n=t!==void 0?b.createElement(ia.Provider,{value:this.props.routeContext},b.createElement(Eh.Provider,{value:t,children:this.props.component})):this.props.children;return this.context?b.createElement(EN,{error:t},n):n}};O0.contextType=lN;var vm=new WeakMap;function EN({children:t,error:n}){let{basename:r}=b.useContext(Gn);if(typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){let s=mN(n.digest);if(s){let i=vm.get(n);if(i)throw i;let c=E0(s.location,r);if(S0&&!vm.get(n))if(c.isExternal||s.reloadDocument)window.location.href=c.absoluteURL||c.to;else{const u=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(c.to,{replace:s.replace}));throw vm.set(n,u),u}return b.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c.absoluteURL||c.to}`})}}return t}function _N({routeContext:t,match:n,children:r}){let s=b.useContext(Fo);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(ia.Provider,{value:t},r)}function CN(t,n=[],r){let s=r==null?void 0:r.state;if(t==null){if(!s)return null;if(s.errors)t=s.matches;else if(n.length===0&&!s.initialized&&s.matches.length>0)t=s.matches;else return null}let i=t,c=s==null?void 0:s.errors;if(c!=null){let y=i.findIndex(v=>v.route.id&&(c==null?void 0:c[v.route.id])!==void 0);Nt(y>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(c).join(",")}`),i=i.slice(0,Math.min(i.length,y+1))}let u=!1,f=-1;if(r&&s){u=s.renderFallback;for(let y=0;y=0?i=i.slice(0,f+1):i=[i[0]];break}}}}let g=r==null?void 0:r.onError,p=s&&g?(y,v)=>{var w,C;g(y,{location:s.location,params:((C=(w=s.matches)==null?void 0:w[0])==null?void 0:C.params)??{},unstable_pattern:oN(s.matches),errorInfo:v})}:void 0;return i.reduceRight((y,v,w)=>{let C,S=!1,_=null,E=null;s&&(C=c&&v.route.id?c[v.route.id]:void 0,_=v.route.errorElement||SN,u&&(f<0&&w===0?(j0("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),S=!0,E=null):f===w&&(S=!0,E=v.route.hydrateFallbackElement||null)));let R=n.concat(i.slice(0,w+1)),k=()=>{let A;return C?A=_:S?A=E:v.route.Component?A=b.createElement(v.route.Component,null):v.route.element?A=v.route.element:A=y,b.createElement(_N,{match:v,routeContext:{outlet:y,matches:R,isDataRoute:s!=null},children:A})};return s&&(v.route.ErrorBoundary||v.route.errorElement||w===0)?b.createElement(O0,{location:s.location,revalidation:s.revalidation,component:_,error:C,children:k(),routeContext:{outlet:null,matches:R,isDataRoute:!0},onError:p}):k()},null)}function _h(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function NN(t){let n=b.useContext(Fo);return Nt(n,_h(t)),n}function RN(t){let n=b.useContext(Au);return Nt(n,_h(t)),n}function AN(t){let n=b.useContext(ia);return Nt(n,_h(t)),n}function Ch(t){let n=AN(t),r=n.matches[n.matches.length-1];return Nt(r.route.id,`${t} can only be used on routes that contain a unique "id"`),r.route.id}function TN(){return Ch("useRouteId")}function ON(){var s;let t=b.useContext(Eh),n=RN("useRouteError"),r=Ch("useRouteError");return t!==void 0?t:(s=n.errors)==null?void 0:s[r]}function jN(){let{router:t}=NN("useNavigate"),n=Ch("useNavigate"),r=b.useRef(!1);return A0(()=>{r.current=!0}),b.useCallback(async(i,c={})=>{oa(r.current,R0),r.current&&(typeof i=="number"?await t.navigate(i):await t.navigate(i,{fromRouteId:n,...c}))},[t,n])}var Cb={};function j0(t,n,r){!n&&!Cb[t]&&(Cb[t]=!0,oa(!1,r))}b.memo(kN);function kN({routes:t,future:n,state:r,isStatic:s,onError:i}){return T0(t,void 0,{state:r,isStatic:s,onError:i})}function ym({to:t,replace:n,state:r,relative:s}){Nt($o()," may be used only in the context of a component.");let{static:i}=b.useContext(Gn);oa(!i," must not be used on the initial render in a . This is a no-op, but you should modify your code so the is only ever rendered in response to some user interaction or state change.");let{matches:c}=b.useContext(ia),{pathname:u}=Da(),f=Xr(),g=Ru(t,Sh(c),u,s==="path"),p=JSON.stringify(g);return b.useEffect(()=>{f(JSON.parse(p),{replace:n,state:r,relative:s})},[f,p,s,n,r]),null}function MN(t){return yN(t.context)}function Hn(t){Nt(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function DN({basename:t="/",children:n=null,location:r,navigationType:s="POP",navigator:i,static:c=!1,unstable_useTransitions:u}){Nt(!$o(),"You cannot render a inside another . You should never have more than one in your app.");let f=t.replace(/^\/*/,"/"),g=b.useMemo(()=>({basename:f,navigator:i,static:c,unstable_useTransitions:u,future:{}}),[f,i,c,u]);typeof r=="string"&&(r=qo(r));let{pathname:p="/",search:y="",hash:v="",state:w=null,key:C="default",unstable_mask:S}=r,_=b.useMemo(()=>{let E=rr(p,f);return E==null?null:{location:{pathname:E,search:y,hash:v,state:w,key:C,unstable_mask:S},navigationType:s}},[f,p,y,v,w,C,s,S]);return oa(_!=null,` is not able to match the URL "${p}${y}${v}" because it does not start with the basename, so the won't render anything.`),_==null?null:b.createElement(Gn.Provider,{value:g},b.createElement(il.Provider,{children:n,value:_}))}function zN({children:t,location:n}){return xN($m(t),n)}function $m(t,n=[]){let r=[];return b.Children.forEach(t,(s,i)=>{if(!b.isValidElement(s))return;let c=[...n,i];if(s.type===b.Fragment){r.push.apply(r,$m(s.props.children,c));return}Nt(s.type===Hn,`[${typeof s.type=="string"?s.type:s.type.name}] is not a component. All component children of must be a or `),Nt(!s.props.index||!s.props.children,"An index route cannot have child routes.");let u={id:s.props.id||c.join("-"),caseSensitive:s.props.caseSensitive,element:s.props.element,Component:s.props.Component,index:s.props.index,path:s.props.path,middleware:s.props.middleware,loader:s.props.loader,action:s.props.action,hydrateFallbackElement:s.props.hydrateFallbackElement,HydrateFallback:s.props.HydrateFallback,errorElement:s.props.errorElement,ErrorBoundary:s.props.ErrorBoundary,hasErrorBoundary:s.props.hasErrorBoundary===!0||s.props.ErrorBoundary!=null||s.props.errorElement!=null,shouldRevalidate:s.props.shouldRevalidate,handle:s.props.handle,lazy:s.props.lazy};s.props.children&&(u.children=$m(s.props.children,c)),r.push(u)}),r}var Gc="get",Yc="application/x-www-form-urlencoded";function Tu(t){return typeof HTMLElement<"u"&&t instanceof HTMLElement}function LN(t){return Tu(t)&&t.tagName.toLowerCase()==="button"}function UN(t){return Tu(t)&&t.tagName.toLowerCase()==="form"}function BN(t){return Tu(t)&&t.tagName.toLowerCase()==="input"}function PN(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function HN(t,n){return t.button===0&&(!n||n==="_self")&&!PN(t)}function Gm(t=""){return new URLSearchParams(typeof t=="string"||Array.isArray(t)||t instanceof URLSearchParams?t:Object.keys(t).reduce((n,r)=>{let s=t[r];return n.concat(Array.isArray(s)?s.map(i=>[r,i]):[[r,s]])},[]))}function VN(t,n){let r=Gm(t);return n&&n.forEach((s,i)=>{r.has(i)||n.getAll(i).forEach(c=>{r.append(i,c)})}),r}var kc=null;function IN(){if(kc===null)try{new FormData(document.createElement("form"),0),kc=!1}catch{kc=!0}return kc}var qN=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function bm(t){return t!=null&&!qN.has(t)?(oa(!1,`"${t}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Yc}"`),null):t}function FN(t,n){let r,s,i,c,u;if(UN(t)){let f=t.getAttribute("action");s=f?rr(f,n):null,r=t.getAttribute("method")||Gc,i=bm(t.getAttribute("enctype"))||Yc,c=new FormData(t)}else if(LN(t)||BN(t)&&(t.type==="submit"||t.type==="image")){let f=t.form;if(f==null)throw new Error('Cannot submit a