From bf7462c9d5397f976bcc71f795ad7871b40cb423 Mon Sep 17 00:00:00 2001 From: streaper2 Date: Sun, 22 Feb 2026 20:44:23 +0100 Subject: [PATCH] correction du index.css --- .gitignore | 2 +- dist/assets/index-CkDqtfdY.js | 597 ++++++++++++++++++++++++++++++++++ dist/index.html | 55 ++++ index.html | 2 +- 4 files changed, 654 insertions(+), 2 deletions(-) create mode 100644 dist/assets/index-CkDqtfdY.js create mode 100644 dist/index.html diff --git a/.gitignore b/.gitignore index a547bf3..a9b26d1 100644 --- a/.gitignore +++ b/.gitignore @@ -8,7 +8,7 @@ pnpm-debug.log* lerna-debug.log* node_modules -dist +#dist dist-ssr *.local diff --git a/dist/assets/index-CkDqtfdY.js b/dist/assets/index-CkDqtfdY.js new file mode 100644 index 0000000..fb8f57b --- /dev/null +++ b/dist/assets/index-CkDqtfdY.js @@ -0,0 +1,597 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))a(s);new MutationObserver(s=>{for(const c of s)if(c.type==="childList")for(const f of c.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&a(f)}).observe(document,{childList:!0,subtree:!0});function o(s){const c={};return s.integrity&&(c.integrity=s.integrity),s.referrerPolicy&&(c.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?c.credentials="include":s.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function a(s){if(s.ep)return;s.ep=!0;const c=o(s);fetch(s.href,c)}})();function yc(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Pu={exports:{}},dl={};/** + * @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 Fp;function Yx(){if(Fp)return dl;Fp=1;var n=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function o(a,s,c){var f=null;if(c!==void 0&&(f=""+c),s.key!==void 0&&(f=""+s.key),"key"in s){c={};for(var h in s)h!=="key"&&(c[h]=s[h])}else c=s;return s=c.ref,{$$typeof:n,type:a,key:f,ref:s!==void 0?s:null,props:c}}return dl.Fragment=t,dl.jsx=o,dl.jsxs=o,dl}var Jp;function jx(){return Jp||(Jp=1,Pu.exports=Yx()),Pu.exports}var v=jx(),Gu={exports:{}},re={};/** + * @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 Yp;function Kx(){if(Yp)return re;Yp=1;var n=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),f=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),E=Symbol.for("react.activity"),S=Symbol.iterator;function b(R){return R===null||typeof R!="object"?null:(R=S&&R[S]||R["@@iterator"],typeof R=="function"?R:null)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},I=Object.assign,w={};function G(R,J,Q){this.props=R,this.context=J,this.refs=w,this.updater=Q||C}G.prototype.isReactComponent={},G.prototype.setState=function(R,J){if(typeof R!="object"&&typeof R!="function"&&R!=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,R,J,"setState")},G.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};function V(){}V.prototype=G.prototype;function P(R,J,Q){this.props=R,this.context=J,this.refs=w,this.updater=Q||C}var Y=P.prototype=new V;Y.constructor=P,I(Y,G.prototype),Y.isPureReactComponent=!0;var X=Array.isArray;function B(){}var j={H:null,A:null,T:null,S:null},le=Object.prototype.hasOwnProperty;function Z(R,J,Q){var ee=Q.ref;return{$$typeof:n,type:R,key:J,ref:ee!==void 0?ee:null,props:Q}}function ae(R,J){return Z(R.type,J,R.props)}function be(R){return typeof R=="object"&&R!==null&&R.$$typeof===n}function Re(R){var J={"=":"=0",":":"=2"};return"$"+R.replace(/[=:]/g,function(Q){return J[Q]})}var Ve=/\/+/g;function ke(R,J){return typeof R=="object"&&R!==null&&R.key!=null?Re(""+R.key):J.toString(36)}function Ze(R){switch(R.status){case"fulfilled":return R.value;case"rejected":throw R.reason;default:switch(typeof R.status=="string"?R.then(B,B):(R.status="pending",R.then(function(J){R.status==="pending"&&(R.status="fulfilled",R.value=J)},function(J){R.status==="pending"&&(R.status="rejected",R.reason=J)})),R.status){case"fulfilled":return R.value;case"rejected":throw R.reason}}throw R}function z(R,J,Q,ee,ce){var me=typeof R;(me==="undefined"||me==="boolean")&&(R=null);var Ne=!1;if(R===null)Ne=!0;else switch(me){case"bigint":case"string":case"number":Ne=!0;break;case"object":switch(R.$$typeof){case n:case t:Ne=!0;break;case x:return Ne=R._init,z(Ne(R._payload),J,Q,ee,ce)}}if(Ne)return ce=ce(R),Ne=ee===""?"."+ke(R,0):ee,X(ce)?(Q="",Ne!=null&&(Q=Ne.replace(Ve,"$&/")+"/"),z(ce,J,Q,"",function(vo){return vo})):ce!=null&&(be(ce)&&(ce=ae(ce,Q+(ce.key==null||R&&R.key===ce.key?"":(""+ce.key).replace(Ve,"$&/")+"/")+Ne)),J.push(ce)),1;Ne=0;var ut=ee===""?".":ee+":";if(X(R))for(var Be=0;Be>>1,Ue=z[xe];if(0>>1;xes(Q,ne))ees(ce,Q)?(z[xe]=ce,z[ee]=ne,xe=ee):(z[xe]=Q,z[J]=ne,xe=J);else if(ees(ce,ne))z[xe]=ce,z[ee]=ne,xe=ee;else break e}}return K}function s(z,K){var ne=z.sortIndex-K.sortIndex;return ne!==0?ne:z.id-K.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;n.unstable_now=function(){return c.now()}}else{var f=Date,h=f.now();n.unstable_now=function(){return f.now()-h}}var y=[],p=[],x=1,E=null,S=3,b=!1,C=!1,I=!1,w=!1,G=typeof setTimeout=="function"?setTimeout:null,V=typeof clearTimeout=="function"?clearTimeout:null,P=typeof setImmediate<"u"?setImmediate:null;function Y(z){for(var K=o(p);K!==null;){if(K.callback===null)a(p);else if(K.startTime<=z)a(p),K.sortIndex=K.expirationTime,t(y,K);else break;K=o(p)}}function X(z){if(I=!1,Y(z),!C)if(o(y)!==null)C=!0,B||(B=!0,Re());else{var K=o(p);K!==null&&Ze(X,K.startTime-z)}}var B=!1,j=-1,le=5,Z=-1;function ae(){return w?!0:!(n.unstable_now()-Zz&&ae());){var xe=E.callback;if(typeof xe=="function"){E.callback=null,S=E.priorityLevel;var Ue=xe(E.expirationTime<=z);if(z=n.unstable_now(),typeof Ue=="function"){E.callback=Ue,Y(z),K=!0;break t}E===o(y)&&a(y),Y(z)}else a(y);E=o(y)}if(E!==null)K=!0;else{var R=o(p);R!==null&&Ze(X,R.startTime-z),K=!1}}break e}finally{E=null,S=ne,b=!1}K=void 0}}finally{K?Re():B=!1}}}var Re;if(typeof P=="function")Re=function(){P(be)};else if(typeof MessageChannel<"u"){var Ve=new MessageChannel,ke=Ve.port2;Ve.port1.onmessage=be,Re=function(){ke.postMessage(null)}}else Re=function(){G(be,0)};function Ze(z,K){j=G(function(){z(n.unstable_now())},K)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(z){z.callback=null},n.unstable_forceFrameRate=function(z){0>z||125xe?(z.sortIndex=ne,t(p,z),o(y)===null&&z===o(p)&&(I?(V(j),j=-1):I=!0,Ze(X,ne-xe))):(z.sortIndex=Ue,t(y,z),C||b||(C=!0,B||(B=!0,Re()))),z},n.unstable_shouldYield=ae,n.unstable_wrapCallback=function(z){var K=S;return function(){var ne=S;S=K;try{return z.apply(this,arguments)}finally{S=ne}}}})(Hu)),Hu}var Xp;function Qx(){return Xp||(Xp=1,Vu.exports=$x()),Vu.exports}var zu={exports:{}},rt={};/** + * @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 $p;function Zx(){if($p)return rt;$p=1;var n=vc();function t(y){var p="https://react.dev/errors/"+y;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(t){console.error(t)}}return n(),zu.exports=Zx(),zu.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 Zp;function eE(){if(Zp)return fl;Zp=1;var n=Qx(),t=vc(),o=Wx();function a(e){var i="https://react.dev/errors/"+e;if(1Ue||(e.current=xe[Ue],xe[Ue]=null,Ue--)}function Q(e,i){Ue++,xe[Ue]=e.current,e.current=i}var ee=R(null),ce=R(null),me=R(null),Ne=R(null);function ut(e,i){switch(Q(me,i),Q(ce,e),Q(ee,null),i.nodeType){case 9:case 11:e=(e=i.documentElement)&&(e=e.namespaceURI)?mp(e):0;break;default:if(e=i.tagName,i=i.namespaceURI)i=mp(i),e=pp(i,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}J(ee),Q(ee,e)}function Be(){J(ee),J(ce),J(me)}function vo(e){e.memoizedState!==null&&Q(Ne,e);var i=ee.current,l=pp(i,e.type);i!==l&&(Q(ce,e),Q(ee,l))}function Cl(e){ce.current===e&&(J(ee),J(ce)),Ne.current===e&&(J(Ne),sl._currentValue=ne)}var vs,Oc;function ti(e){if(vs===void 0)try{throw Error()}catch(l){var i=l.stack.trim().match(/\n( *(at )?)/);vs=i&&i[1]||"",Oc=-1)":-1m||N[r]!==U[m]){var H=` +`+N[r].replace(" at new "," at ");return e.displayName&&H.includes("")&&(H=H.replace("",e.displayName)),H}while(1<=r&&0<=m);break}}}finally{xs=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?ti(l):""}function _y(e,i){switch(e.tag){case 26:case 27:case 5:return ti(e.type);case 16:return ti("Lazy");case 13:return e.child!==i&&i!==null?ti("Suspense Fallback"):ti("Suspense");case 19:return ti("SuspenseList");case 0:case 15:return Es(e.type,!1);case 11:return Es(e.type.render,!1);case 1:return Es(e.type,!0);case 31:return ti("Activity");default:return""}}function Bc(e){try{var i="",l=null;do i+=_y(e,l),l=e,e=e.return;while(e);return i}catch(r){return` +Error generating stack: `+r.message+` +`+r.stack}}var Ts=Object.prototype.hasOwnProperty,Ss=n.unstable_scheduleCallback,_s=n.unstable_cancelCallback,by=n.unstable_shouldYield,Cy=n.unstable_requestPaint,Et=n.unstable_now,Ny=n.unstable_getCurrentPriorityLevel,Fc=n.unstable_ImmediatePriority,Jc=n.unstable_UserBlockingPriority,Nl=n.unstable_NormalPriority,Ay=n.unstable_LowPriority,Yc=n.unstable_IdlePriority,wy=n.log,Ry=n.unstable_setDisableYieldValue,xo=null,Tt=null;function wn(e){if(typeof wy=="function"&&Ry(e),Tt&&typeof Tt.setStrictMode=="function")try{Tt.setStrictMode(xo,e)}catch{}}var St=Math.clz32?Math.clz32:Dy,My=Math.log,Iy=Math.LN2;function Dy(e){return e>>>=0,e===0?32:31-(My(e)/Iy|0)|0}var Al=256,wl=262144,Rl=4194304;function ni(e){var i=e&42;if(i!==0)return i;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 Ml(e,i,l){var r=e.pendingLanes;if(r===0)return 0;var m=0,g=e.suspendedLanes,T=e.pingedLanes;e=e.warmLanes;var _=r&134217727;return _!==0?(r=_&~g,r!==0?m=ni(r):(T&=_,T!==0?m=ni(T):l||(l=_&~e,l!==0&&(m=ni(l))))):(_=r&~g,_!==0?m=ni(_):T!==0?m=ni(T):l||(l=r&~e,l!==0&&(m=ni(l)))),m===0?0:i!==0&&i!==m&&(i&g)===0&&(g=m&-m,l=i&-i,g>=l||g===32&&(l&4194048)!==0)?i:m}function Eo(e,i){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&i)===0}function Uy(e,i){switch(e){case 1:case 2:case 4:case 8:case 64:return i+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 i+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 jc(){var e=Rl;return Rl<<=1,(Rl&62914560)===0&&(Rl=4194304),e}function bs(e){for(var i=[],l=0;31>l;l++)i.push(e);return i}function To(e,i){e.pendingLanes|=i,i!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ly(e,i,l,r,m,g){var T=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var _=e.entanglements,N=e.expirationTimes,U=e.hiddenUpdates;for(l=T&~l;0"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Hy=/[\n"\\]/g;function Dt(e){return e.replace(Hy,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}function Ms(e,i,l,r,m,g,T,_){e.name="",T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"?e.type=T:e.removeAttribute("type"),i!=null?T==="number"?(i===0&&e.value===""||e.value!=i)&&(e.value=""+It(i)):e.value!==""+It(i)&&(e.value=""+It(i)):T!=="submit"&&T!=="reset"||e.removeAttribute("value"),i!=null?Is(e,T,It(i)):l!=null?Is(e,T,It(l)):r!=null&&e.removeAttribute("value"),m==null&&g!=null&&(e.defaultChecked=!!g),m!=null&&(e.checked=m&&typeof m!="function"&&typeof m!="symbol"),_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"?e.name=""+It(_):e.removeAttribute("name")}function ad(e,i,l,r,m,g,T,_){if(g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(e.type=g),i!=null||l!=null){if(!(g!=="submit"&&g!=="reset"||i!=null)){Rs(e);return}l=l!=null?""+It(l):"",i=i!=null?""+It(i):l,_||i===e.value||(e.value=i),e.defaultValue=i}r=r??m,r=typeof r!="function"&&typeof r!="symbol"&&!!r,e.checked=_?e.checked:!!r,e.defaultChecked=!!r,T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"&&(e.name=T),Rs(e)}function Is(e,i,l){i==="number"&&Ul(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function wi(e,i,l,r){if(e=e.options,i){i={};for(var m=0;m"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ps=!1;if(an)try{var Co={};Object.defineProperty(Co,"passive",{get:function(){Ps=!0}}),window.addEventListener("test",Co,Co),window.removeEventListener("test",Co,Co)}catch{Ps=!1}var Mn=null,Gs=null,kl=null;function md(){if(kl)return kl;var e,i=Gs,l=i.length,r,m="value"in Mn?Mn.value:Mn.textContent,g=m.length;for(e=0;e=wo),xd=" ",Ed=!1;function Td(e,i){switch(e){case"keyup":return pv.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Sd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Di=!1;function gv(e,i){switch(e){case"compositionend":return Sd(i);case"keypress":return i.which!==32?null:(Ed=!0,xd);case"textInput":return e=i.data,e===xd&&Ed?null:e;default:return null}}function yv(e,i){if(Di)return e==="compositionend"||!Os&&Td(e,i)?(e=md(),kl=Gs=Mn=null,Di=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1=i)return{node:l,offset:i-e};e=r}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Md(l)}}function Dd(e,i){return e&&i?e===i?!0:e&&e.nodeType===3?!1:i&&i.nodeType===3?Dd(e,i.parentNode):"contains"in e?e.contains(i):e.compareDocumentPosition?!!(e.compareDocumentPosition(i)&16):!1:!1}function Ud(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var i=Ul(e.document);i instanceof e.HTMLIFrameElement;){try{var l=typeof i.contentWindow.location.href=="string"}catch{l=!1}if(l)e=i.contentWindow;else break;i=Ul(e.document)}return i}function Js(e){var i=e&&e.nodeName&&e.nodeName.toLowerCase();return i&&(i==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||i==="textarea"||e.contentEditable==="true")}var Cv=an&&"documentMode"in document&&11>=document.documentMode,Ui=null,Ys=null,Do=null,js=!1;function Ld(e,i,l){var r=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;js||Ui==null||Ui!==Ul(r)||(r=Ui,"selectionStart"in r&&Js(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Do&&Io(Do,r)||(Do=r,r=wa(Ys,"onSelect"),0>=T,m-=T,Qt=1<<32-St(i)+m|l<fe?(ye=te,te=null):ye=te.sibling;var Te=k(M,te,D[fe],O);if(Te===null){te===null&&(te=ye);break}e&&te&&Te.alternate===null&&i(M,te),A=g(Te,A,fe),Ee===null?ie=Te:Ee.sibling=Te,Ee=Te,te=ye}if(fe===D.length)return l(M,te),ve&&rn(M,fe),ie;if(te===null){for(;fefe?(ye=te,te=null):ye=te.sibling;var Zn=k(M,te,Te.value,O);if(Zn===null){te===null&&(te=ye);break}e&&te&&Zn.alternate===null&&i(M,te),A=g(Zn,A,fe),Ee===null?ie=Zn:Ee.sibling=Zn,Ee=Zn,te=ye}if(Te.done)return l(M,te),ve&&rn(M,fe),ie;if(te===null){for(;!Te.done;fe++,Te=D.next())Te=F(M,Te.value,O),Te!==null&&(A=g(Te,A,fe),Ee===null?ie=Te:Ee.sibling=Te,Ee=Te);return ve&&rn(M,fe),ie}for(te=r(te);!Te.done;fe++,Te=D.next())Te=q(te,M,fe,Te.value,O),Te!==null&&(e&&Te.alternate!==null&&te.delete(Te.key===null?fe:Te.key),A=g(Te,A,fe),Ee===null?ie=Te:Ee.sibling=Te,Ee=Te);return e&&te.forEach(function(Jx){return i(M,Jx)}),ve&&rn(M,fe),ie}function De(M,A,D,O){if(typeof D=="object"&&D!==null&&D.type===I&&D.key===null&&(D=D.props.children),typeof D=="object"&&D!==null){switch(D.$$typeof){case b:e:{for(var ie=D.key;A!==null;){if(A.key===ie){if(ie=D.type,ie===I){if(A.tag===7){l(M,A.sibling),O=m(A,D.props.children),O.return=M,M=O;break e}}else if(A.elementType===ie||typeof ie=="object"&&ie!==null&&ie.$$typeof===le&&mi(ie)===A.type){l(M,A.sibling),O=m(A,D.props),qo(O,D),O.return=M,M=O;break e}l(M,A);break}else i(M,A);A=A.sibling}D.type===I?(O=ri(D.props.children,M.mode,O,D.key),O.return=M,M=O):(O=Jl(D.type,D.key,D.props,null,M.mode,O),qo(O,D),O.return=M,M=O)}return T(M);case C:e:{for(ie=D.key;A!==null;){if(A.key===ie)if(A.tag===4&&A.stateNode.containerInfo===D.containerInfo&&A.stateNode.implementation===D.implementation){l(M,A.sibling),O=m(A,D.children||[]),O.return=M,M=O;break e}else{l(M,A);break}else i(M,A);A=A.sibling}O=er(D,M.mode,O),O.return=M,M=O}return T(M);case le:return D=mi(D),De(M,A,D,O)}if(Ze(D))return W(M,A,D,O);if(Re(D)){if(ie=Re(D),typeof ie!="function")throw Error(a(150));return D=ie.call(D),oe(M,A,D,O)}if(typeof D.then=="function")return De(M,A,Zl(D),O);if(D.$$typeof===P)return De(M,A,Kl(M,D),O);Wl(M,D)}return typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint"?(D=""+D,A!==null&&A.tag===6?(l(M,A.sibling),O=m(A,D),O.return=M,M=O):(l(M,A),O=Ws(D,M.mode,O),O.return=M,M=O),T(M)):l(M,A)}return function(M,A,D,O){try{Go=0;var ie=De(M,A,D,O);return Fi=null,ie}catch(te){if(te===Bi||te===$l)throw te;var Ee=bt(29,te,null,M.mode);return Ee.lanes=O,Ee.return=M,Ee}finally{}}}var hi=of(!0),lf=of(!1),kn=!1;function fr(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function mr(e,i){e=e.updateQueue,i.updateQueue===e&&(i.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Pn(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Gn(e,i,l){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(Ce&2)!==0){var m=r.pending;return m===null?i.next=i:(i.next=m.next,m.next=i),r.pending=i,i=Fl(e),zd(e,null,l),i}return Bl(e,r,i,l),Fl(e)}function Vo(e,i,l){if(i=i.updateQueue,i!==null&&(i=i.shared,(l&4194048)!==0)){var r=i.lanes;r&=e.pendingLanes,l|=r,i.lanes=l,Xc(e,l)}}function pr(e,i){var l=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,l===r)){var m=null,g=null;if(l=l.firstBaseUpdate,l!==null){do{var T={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};g===null?m=g=T:g=g.next=T,l=l.next}while(l!==null);g===null?m=g=i:g=g.next=i}else m=g=i;l={baseState:r.baseState,firstBaseUpdate:m,lastBaseUpdate:g,shared:r.shared,callbacks:r.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=i:e.next=i,l.lastBaseUpdate=i}var hr=!1;function Ho(){if(hr){var e=Oi;if(e!==null)throw e}}function zo(e,i,l,r){hr=!1;var m=e.updateQueue;kn=!1;var g=m.firstBaseUpdate,T=m.lastBaseUpdate,_=m.shared.pending;if(_!==null){m.shared.pending=null;var N=_,U=N.next;N.next=null,T===null?g=U:T.next=U,T=N;var H=e.alternate;H!==null&&(H=H.updateQueue,_=H.lastBaseUpdate,_!==T&&(_===null?H.firstBaseUpdate=U:_.next=U,H.lastBaseUpdate=N))}if(g!==null){var F=m.baseState;T=0,H=U=N=null,_=g;do{var k=_.lane&-536870913,q=k!==_.lane;if(q?(ge&k)===k:(r&k)===k){k!==0&&k===zi&&(hr=!0),H!==null&&(H=H.next={lane:0,tag:_.tag,payload:_.payload,callback:null,next:null});e:{var W=e,oe=_;k=i;var De=l;switch(oe.tag){case 1:if(W=oe.payload,typeof W=="function"){F=W.call(De,F,k);break e}F=W;break e;case 3:W.flags=W.flags&-65537|128;case 0:if(W=oe.payload,k=typeof W=="function"?W.call(De,F,k):W,k==null)break e;F=E({},F,k);break e;case 2:kn=!0}}k=_.callback,k!==null&&(e.flags|=64,q&&(e.flags|=8192),q=m.callbacks,q===null?m.callbacks=[k]:q.push(k))}else q={lane:k,tag:_.tag,payload:_.payload,callback:_.callback,next:null},H===null?(U=H=q,N=F):H=H.next=q,T|=k;if(_=_.next,_===null){if(_=m.shared.pending,_===null)break;q=_,_=q.next,q.next=null,m.lastBaseUpdate=q,m.shared.pending=null}}while(!0);H===null&&(N=F),m.baseState=N,m.firstBaseUpdate=U,m.lastBaseUpdate=H,g===null&&(m.shared.lanes=0),On|=T,e.lanes=T,e.memoizedState=F}}function af(e,i){if(typeof e!="function")throw Error(a(191,e));e.call(i)}function sf(e,i){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;eg?g:8;var T=z.T,_={};z.T=_,Lr(e,!1,i,l);try{var N=m(),U=z.S;if(U!==null&&U(_,N),N!==null&&typeof N=="object"&&typeof N.then=="function"){var H=Lv(N,r);Fo(e,i,H,Rt(e))}else Fo(e,i,r,Rt(e))}catch(F){Fo(e,i,{then:function(){},status:"rejected",reason:F},Rt())}finally{K.p=g,T!==null&&_.types!==null&&(T.types=_.types),z.T=T}}function Hv(){}function Dr(e,i,l,r){if(e.tag!==5)throw Error(a(476));var m=Vf(e).queue;qf(e,m,i,ne,l===null?Hv:function(){return Hf(e),l(r)})}function Vf(e){var i=e.memoizedState;if(i!==null)return i;i={memoizedState:ne,baseState:ne,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:fn,lastRenderedState:ne},next:null};var l={};return i.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:fn,lastRenderedState:l},next:null},e.memoizedState=i,e=e.alternate,e!==null&&(e.memoizedState=i),i}function Hf(e){var i=Vf(e);i.next===null&&(i=e.alternate.memoizedState),Fo(e,i.next.queue,{},Rt())}function Ur(){return lt(sl)}function zf(){return Je().memoizedState}function Of(){return Je().memoizedState}function zv(e){for(var i=e.return;i!==null;){switch(i.tag){case 24:case 3:var l=Rt();e=Pn(l);var r=Gn(i,e,l);r!==null&&(xt(r,i,l),Vo(r,i,l)),i={cache:rr()},e.payload=i;return}i=i.return}}function Ov(e,i,l){var r=Rt();l={lane:r,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},ua(e)?Ff(i,l):(l=Qs(e,i,l,r),l!==null&&(xt(l,e,r),Jf(l,i,r)))}function Bf(e,i,l){var r=Rt();Fo(e,i,l,r)}function Fo(e,i,l,r){var m={lane:r,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(ua(e))Ff(i,m);else{var g=e.alternate;if(e.lanes===0&&(g===null||g.lanes===0)&&(g=i.lastRenderedReducer,g!==null))try{var T=i.lastRenderedState,_=g(T,l);if(m.hasEagerState=!0,m.eagerState=_,_t(_,T))return Bl(e,i,m,0),Le===null&&Ol(),!1}catch{}finally{}if(l=Qs(e,i,m,r),l!==null)return xt(l,e,r),Jf(l,i,r),!0}return!1}function Lr(e,i,l,r){if(r={lane:2,revertLane:fu(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},ua(e)){if(i)throw Error(a(479))}else i=Qs(e,l,r,2),i!==null&&xt(i,e,2)}function ua(e){var i=e.alternate;return e===de||i!==null&&i===de}function Ff(e,i){Yi=na=!0;var l=e.pending;l===null?i.next=i:(i.next=l.next,l.next=i),e.pending=i}function Jf(e,i,l){if((l&4194048)!==0){var r=i.lanes;r&=e.pendingLanes,l|=r,i.lanes=l,Xc(e,l)}}var Jo={readContext:lt,use:la,useCallback:ze,useContext:ze,useEffect:ze,useImperativeHandle:ze,useLayoutEffect:ze,useInsertionEffect:ze,useMemo:ze,useReducer:ze,useRef:ze,useState:ze,useDebugValue:ze,useDeferredValue:ze,useTransition:ze,useSyncExternalStore:ze,useId:ze,useHostTransitionStatus:ze,useFormState:ze,useActionState:ze,useOptimistic:ze,useMemoCache:ze,useCacheRefresh:ze};Jo.useEffectEvent=ze;var Yf={readContext:lt,use:la,useCallback:function(e,i){return ct().memoizedState=[e,i===void 0?null:i],e},useContext:lt,useEffect:Rf,useImperativeHandle:function(e,i,l){l=l!=null?l.concat([e]):null,sa(4194308,4,Uf.bind(null,i,e),l)},useLayoutEffect:function(e,i){return sa(4194308,4,e,i)},useInsertionEffect:function(e,i){sa(4,2,e,i)},useMemo:function(e,i){var l=ct();i=i===void 0?null:i;var r=e();if(gi){wn(!0);try{e()}finally{wn(!1)}}return l.memoizedState=[r,i],r},useReducer:function(e,i,l){var r=ct();if(l!==void 0){var m=l(i);if(gi){wn(!0);try{l(i)}finally{wn(!1)}}}else m=i;return r.memoizedState=r.baseState=m,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:m},r.queue=e,e=e.dispatch=Ov.bind(null,de,e),[r.memoizedState,e]},useRef:function(e){var i=ct();return e={current:e},i.memoizedState=e},useState:function(e){e=Ar(e);var i=e.queue,l=Bf.bind(null,de,i);return i.dispatch=l,[e.memoizedState,l]},useDebugValue:Mr,useDeferredValue:function(e,i){var l=ct();return Ir(l,e,i)},useTransition:function(){var e=Ar(!1);return e=qf.bind(null,de,e.queue,!0,!1),ct().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,i,l){var r=de,m=ct();if(ve){if(l===void 0)throw Error(a(407));l=l()}else{if(l=i(),Le===null)throw Error(a(349));(ge&127)!==0||mf(r,i,l)}m.memoizedState=l;var g={value:l,getSnapshot:i};return m.queue=g,Rf(hf.bind(null,r,g,e),[e]),r.flags|=2048,Ki(9,{destroy:void 0},pf.bind(null,r,g,l,i),null),l},useId:function(){var e=ct(),i=Le.identifierPrefix;if(ve){var l=Zt,r=Qt;l=(r&~(1<<32-St(r)-1)).toString(32)+l,i="_"+i+"R_"+l,l=ia++,0<\/script>",g=g.removeChild(g.firstChild);break;case"select":g=typeof r.is=="string"?T.createElement("select",{is:r.is}):T.createElement("select"),r.multiple?g.multiple=!0:r.size&&(g.size=r.size);break;default:g=typeof r.is=="string"?T.createElement(m,{is:r.is}):T.createElement(m)}}g[it]=i,g[mt]=r;e:for(T=i.child;T!==null;){if(T.tag===5||T.tag===6)g.appendChild(T.stateNode);else if(T.tag!==4&&T.tag!==27&&T.child!==null){T.child.return=T,T=T.child;continue}if(T===i)break e;for(;T.sibling===null;){if(T.return===null||T.return===i)break e;T=T.return}T.sibling.return=T.return,T=T.sibling}i.stateNode=g;e:switch(st(g,m,r),m){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&pn(i)}}return Ge(i),Kr(i,i.type,e===null?null:e.memoizedProps,i.pendingProps,l),null;case 6:if(e&&i.stateNode!=null)e.memoizedProps!==r&&pn(i);else{if(typeof r!="string"&&i.stateNode===null)throw Error(a(166));if(e=me.current,Vi(i)){if(e=i.stateNode,l=i.memoizedProps,r=null,m=ot,m!==null)switch(m.tag){case 27:case 5:r=m.memoizedProps}e[it]=i,e=!!(e.nodeValue===l||r!==null&&r.suppressHydrationWarning===!0||dp(e.nodeValue,l)),e||Un(i,!0)}else e=Ra(e).createTextNode(r),e[it]=i,i.stateNode=e}return Ge(i),null;case 31:if(l=i.memoizedState,e===null||e.memoizedState!==null){if(r=Vi(i),l!==null){if(e===null){if(!r)throw Error(a(318));if(e=i.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(a(557));e[it]=i}else ui(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;Ge(i),e=!1}else l=or(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return i.flags&256?(Nt(i),i):(Nt(i),null);if((i.flags&128)!==0)throw Error(a(558))}return Ge(i),null;case 13:if(r=i.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(m=Vi(i),r!==null&&r.dehydrated!==null){if(e===null){if(!m)throw Error(a(318));if(m=i.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(a(317));m[it]=i}else ui(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;Ge(i),m=!1}else m=or(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=m),m=!0;if(!m)return i.flags&256?(Nt(i),i):(Nt(i),null)}return Nt(i),(i.flags&128)!==0?(i.lanes=l,i):(l=r!==null,e=e!==null&&e.memoizedState!==null,l&&(r=i.child,m=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(m=r.alternate.memoizedState.cachePool.pool),g=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(g=r.memoizedState.cachePool.pool),g!==m&&(r.flags|=2048)),l!==e&&l&&(i.child.flags|=8192),pa(i,i.updateQueue),Ge(i),null);case 4:return Be(),e===null&&gu(i.stateNode.containerInfo),Ge(i),null;case 10:return cn(i.type),Ge(i),null;case 19:if(J(Fe),r=i.memoizedState,r===null)return Ge(i),null;if(m=(i.flags&128)!==0,g=r.rendering,g===null)if(m)jo(r,!1);else{if(Oe!==0||e!==null&&(e.flags&128)!==0)for(e=i.child;e!==null;){if(g=ta(e),g!==null){for(i.flags|=128,jo(r,!1),e=g.updateQueue,i.updateQueue=e,pa(i,e),i.subtreeFlags=0,e=l,l=i.child;l!==null;)Od(l,e),l=l.sibling;return Q(Fe,Fe.current&1|2),ve&&rn(i,r.treeForkCount),i.child}e=e.sibling}r.tail!==null&&Et()>xa&&(i.flags|=128,m=!0,jo(r,!1),i.lanes=4194304)}else{if(!m)if(e=ta(g),e!==null){if(i.flags|=128,m=!0,e=e.updateQueue,i.updateQueue=e,pa(i,e),jo(r,!0),r.tail===null&&r.tailMode==="hidden"&&!g.alternate&&!ve)return Ge(i),null}else 2*Et()-r.renderingStartTime>xa&&l!==536870912&&(i.flags|=128,m=!0,jo(r,!1),i.lanes=4194304);r.isBackwards?(g.sibling=i.child,i.child=g):(e=r.last,e!==null?e.sibling=g:i.child=g,r.last=g)}return r.tail!==null?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Et(),e.sibling=null,l=Fe.current,Q(Fe,m?l&1|2:l&1),ve&&rn(i,r.treeForkCount),e):(Ge(i),null);case 22:case 23:return Nt(i),yr(),r=i.memoizedState!==null,e!==null?e.memoizedState!==null!==r&&(i.flags|=8192):r&&(i.flags|=8192),r?(l&536870912)!==0&&(i.flags&128)===0&&(Ge(i),i.subtreeFlags&6&&(i.flags|=8192)):Ge(i),l=i.updateQueue,l!==null&&pa(i,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),r=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(r=i.memoizedState.cachePool.pool),r!==l&&(i.flags|=2048),e!==null&&J(fi),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),i.memoizedState.cache!==l&&(i.flags|=2048),cn(Ye),Ge(i),null;case 25:return null;case 30:return null}throw Error(a(156,i.tag))}function jv(e,i){switch(nr(i),i.tag){case 1:return e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 3:return cn(Ye),Be(),e=i.flags,(e&65536)!==0&&(e&128)===0?(i.flags=e&-65537|128,i):null;case 26:case 27:case 5:return Cl(i),null;case 31:if(i.memoizedState!==null){if(Nt(i),i.alternate===null)throw Error(a(340));ui()}return e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 13:if(Nt(i),e=i.memoizedState,e!==null&&e.dehydrated!==null){if(i.alternate===null)throw Error(a(340));ui()}return e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 19:return J(Fe),null;case 4:return Be(),null;case 10:return cn(i.type),null;case 22:case 23:return Nt(i),yr(),e!==null&&J(fi),e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 24:return cn(Ye),null;case 25:return null;default:return null}}function gm(e,i){switch(nr(i),i.tag){case 3:cn(Ye),Be();break;case 26:case 27:case 5:Cl(i);break;case 4:Be();break;case 31:i.memoizedState!==null&&Nt(i);break;case 13:Nt(i);break;case 19:J(Fe);break;case 10:cn(i.type);break;case 22:case 23:Nt(i),yr(),e!==null&&J(fi);break;case 24:cn(Ye)}}function Ko(e,i){try{var l=i.updateQueue,r=l!==null?l.lastEffect:null;if(r!==null){var m=r.next;l=m;do{if((l.tag&e)===e){r=void 0;var g=l.create,T=l.inst;r=g(),T.destroy=r}l=l.next}while(l!==m)}}catch(_){we(i,i.return,_)}}function Hn(e,i,l){try{var r=i.updateQueue,m=r!==null?r.lastEffect:null;if(m!==null){var g=m.next;r=g;do{if((r.tag&e)===e){var T=r.inst,_=T.destroy;if(_!==void 0){T.destroy=void 0,m=i;var N=l,U=_;try{U()}catch(H){we(m,N,H)}}}r=r.next}while(r!==g)}}catch(H){we(i,i.return,H)}}function ym(e){var i=e.updateQueue;if(i!==null){var l=e.stateNode;try{sf(i,l)}catch(r){we(e,e.return,r)}}}function vm(e,i,l){l.props=yi(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(r){we(e,i,r)}}function Xo(e,i){try{var l=e.ref;if(l!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof l=="function"?e.refCleanup=l(r):l.current=r}}catch(m){we(e,i,m)}}function Wt(e,i){var l=e.ref,r=e.refCleanup;if(l!==null)if(typeof r=="function")try{r()}catch(m){we(e,i,m)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(m){we(e,i,m)}else l.current=null}function xm(e){var i=e.type,l=e.memoizedProps,r=e.stateNode;try{e:switch(i){case"button":case"input":case"select":case"textarea":l.autoFocus&&r.focus();break e;case"img":l.src?r.src=l.src:l.srcSet&&(r.srcset=l.srcSet)}}catch(m){we(e,e.return,m)}}function Xr(e,i,l){try{var r=e.stateNode;hx(r,e.type,l,i),r[mt]=i}catch(m){we(e,e.return,m)}}function Em(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&jn(e.type)||e.tag===4}function $r(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Em(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&&jn(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 Qr(e,i,l){var r=e.tag;if(r===5||r===6)e=e.stateNode,i?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,i):(i=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,i.appendChild(e),l=l._reactRootContainer,l!=null||i.onclick!==null||(i.onclick=ln));else if(r!==4&&(r===27&&jn(e.type)&&(l=e.stateNode,i=null),e=e.child,e!==null))for(Qr(e,i,l),e=e.sibling;e!==null;)Qr(e,i,l),e=e.sibling}function ha(e,i,l){var r=e.tag;if(r===5||r===6)e=e.stateNode,i?l.insertBefore(e,i):l.appendChild(e);else if(r!==4&&(r===27&&jn(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(ha(e,i,l),e=e.sibling;e!==null;)ha(e,i,l),e=e.sibling}function Tm(e){var i=e.stateNode,l=e.memoizedProps;try{for(var r=e.type,m=i.attributes;m.length;)i.removeAttributeNode(m[0]);st(i,r,l),i[it]=e,i[mt]=l}catch(g){we(e,e.return,g)}}var hn=!1,Xe=!1,Zr=!1,Sm=typeof WeakSet=="function"?WeakSet:Set,et=null;function Kv(e,i){if(e=e.containerInfo,xu=Pa,e=Ud(e),Js(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var r=l.getSelection&&l.getSelection();if(r&&r.rangeCount!==0){l=r.anchorNode;var m=r.anchorOffset,g=r.focusNode;r=r.focusOffset;try{l.nodeType,g.nodeType}catch{l=null;break e}var T=0,_=-1,N=-1,U=0,H=0,F=e,k=null;t:for(;;){for(var q;F!==l||m!==0&&F.nodeType!==3||(_=T+m),F!==g||r!==0&&F.nodeType!==3||(N=T+r),F.nodeType===3&&(T+=F.nodeValue.length),(q=F.firstChild)!==null;)k=F,F=q;for(;;){if(F===e)break t;if(k===l&&++U===m&&(_=T),k===g&&++H===r&&(N=T),(q=F.nextSibling)!==null)break;F=k,k=F.parentNode}F=q}l=_===-1||N===-1?null:{start:_,end:N}}else l=null}l=l||{start:0,end:0}}else l=null;for(Eu={focusedElem:e,selectionRange:l},Pa=!1,et=i;et!==null;)if(i=et,e=i.child,(i.subtreeFlags&1028)!==0&&e!==null)e.return=i,et=e;else for(;et!==null;){switch(i=et,g=i.alternate,e=i.flags,i.tag){case 0:if((e&4)!==0&&(e=i.updateQueue,e=e!==null?e.events:null,e!==null))for(l=0;l title"))),st(g,r,l),g[it]=e,We(g),r=g;break e;case"link":var T=wp("link","href",m).get(r+(l.href||""));if(T){for(var _=0;_De&&(T=De,De=oe,oe=T);var M=Id(_,oe),A=Id(_,De);if(M&&A&&(q.rangeCount!==1||q.anchorNode!==M.node||q.anchorOffset!==M.offset||q.focusNode!==A.node||q.focusOffset!==A.offset)){var D=F.createRange();D.setStart(M.node,M.offset),q.removeAllRanges(),oe>De?(q.addRange(D),q.extend(A.node,A.offset)):(D.setEnd(A.node,A.offset),q.addRange(D))}}}}for(F=[],q=_;q=q.parentNode;)q.nodeType===1&&F.push({element:q,left:q.scrollLeft,top:q.scrollTop});for(typeof _.focus=="function"&&_.focus(),_=0;_l?32:l,z.T=null,l=lu,lu=null;var g=Fn,T=En;if($e=0,Wi=Fn=null,En=0,(Ce&6)!==0)throw Error(a(331));var _=Ce;if(Ce|=4,Um(g.current),Mm(g,g.current,T,l),Ce=_,tl(0,!1),Tt&&typeof Tt.onPostCommitFiberRoot=="function")try{Tt.onPostCommitFiberRoot(xo,g)}catch{}return!0}finally{K.p=m,z.T=r,Qm(e,i)}}function Wm(e,i,l){i=Lt(l,i),i=qr(e.stateNode,i,2),e=Gn(e,i,2),e!==null&&(To(e,2),en(e))}function we(e,i,l){if(e.tag===3)Wm(e,e,l);else for(;i!==null;){if(i.tag===3){Wm(i,e,l);break}else if(i.tag===1){var r=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Bn===null||!Bn.has(r))){e=Lt(l,e),l=em(2),r=Gn(i,l,2),r!==null&&(tm(l,r,i,e),To(r,2),en(r));break}}i=i.return}}function uu(e,i,l){var r=e.pingCache;if(r===null){r=e.pingCache=new Qv;var m=new Set;r.set(i,m)}else m=r.get(i),m===void 0&&(m=new Set,r.set(i,m));m.has(l)||(tu=!0,m.add(l),e=nx.bind(null,e,i,l),i.then(e,e))}function nx(e,i,l){var r=e.pingCache;r!==null&&r.delete(i),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Le===e&&(ge&l)===l&&(Oe===4||Oe===3&&(ge&62914560)===ge&&300>Et()-va?(Ce&2)===0&&eo(e,0):nu|=l,Zi===ge&&(Zi=0)),en(e)}function ep(e,i){i===0&&(i=jc()),e=si(e,i),e!==null&&(To(e,i),en(e))}function ix(e){var i=e.memoizedState,l=0;i!==null&&(l=i.retryLane),ep(e,l)}function ox(e,i){var l=0;switch(e.tag){case 31:case 13:var r=e.stateNode,m=e.memoizedState;m!==null&&(l=m.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(a(314))}r!==null&&r.delete(i),ep(e,l)}function lx(e,i){return Ss(e,i)}var Ca=null,no=null,cu=!1,Na=!1,du=!1,Yn=0;function en(e){e!==no&&e.next===null&&(no===null?Ca=no=e:no=no.next=e),Na=!0,cu||(cu=!0,sx())}function tl(e,i){if(!du&&Na){du=!0;do for(var l=!1,r=Ca;r!==null;){if(e!==0){var m=r.pendingLanes;if(m===0)var g=0;else{var T=r.suspendedLanes,_=r.pingedLanes;g=(1<<31-St(42|e)+1)-1,g&=m&~(T&~_),g=g&201326741?g&201326741|1:g?g|2:0}g!==0&&(l=!0,op(r,g))}else g=ge,g=Ml(r,r===Le?g:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),(g&3)===0||Eo(r,g)||(l=!0,op(r,g));r=r.next}while(l);du=!1}}function ax(){tp()}function tp(){Na=cu=!1;var e=0;Yn!==0&&yx()&&(e=Yn);for(var i=Et(),l=null,r=Ca;r!==null;){var m=r.next,g=np(r,i);g===0?(r.next=null,l===null?Ca=m:l.next=m,m===null&&(no=l)):(l=r,(e!==0||(g&3)!==0)&&(Na=!0)),r=m}$e!==0&&$e!==5||tl(e),Yn!==0&&(Yn=0)}function np(e,i){for(var l=e.suspendedLanes,r=e.pingedLanes,m=e.expirationTimes,g=e.pendingLanes&-62914561;0_)break;var H=N.transferSize,F=N.initiatorType;H&&fp(F)&&(N=N.responseEnd,T+=H*(N<_?1:(_-U)/(N-U)))}if(--r,i+=8*(g+T)/(m.duration/1e3),e++,10"u"?null:document;function bp(e,i,l){var r=io;if(r&&typeof i=="string"&&i){var m=Dt(i);m='link[rel="'+e+'"][href="'+m+'"]',typeof l=="string"&&(m+='[crossorigin="'+l+'"]'),_p.has(m)||(_p.add(m),e={rel:e,crossOrigin:l,href:i},r.querySelector(m)===null&&(i=r.createElement("link"),st(i,"link",e),We(i),r.head.appendChild(i)))}}function Nx(e){Tn.D(e),bp("dns-prefetch",e,null)}function Ax(e,i){Tn.C(e,i),bp("preconnect",e,i)}function wx(e,i,l){Tn.L(e,i,l);var r=io;if(r&&e&&i){var m='link[rel="preload"][as="'+Dt(i)+'"]';i==="image"&&l&&l.imageSrcSet?(m+='[imagesrcset="'+Dt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(m+='[imagesizes="'+Dt(l.imageSizes)+'"]')):m+='[href="'+Dt(e)+'"]';var g=m;switch(i){case"style":g=oo(e);break;case"script":g=lo(e)}Ht.has(g)||(e=E({rel:"preload",href:i==="image"&&l&&l.imageSrcSet?void 0:e,as:i},l),Ht.set(g,e),r.querySelector(m)!==null||i==="style"&&r.querySelector(ll(g))||i==="script"&&r.querySelector(al(g))||(i=r.createElement("link"),st(i,"link",e),We(i),r.head.appendChild(i)))}}function Rx(e,i){Tn.m(e,i);var l=io;if(l&&e){var r=i&&typeof i.as=="string"?i.as:"script",m='link[rel="modulepreload"][as="'+Dt(r)+'"][href="'+Dt(e)+'"]',g=m;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":g=lo(e)}if(!Ht.has(g)&&(e=E({rel:"modulepreload",href:e},i),Ht.set(g,e),l.querySelector(m)===null)){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(al(g)))return}r=l.createElement("link"),st(r,"link",e),We(r),l.head.appendChild(r)}}}function Mx(e,i,l){Tn.S(e,i,l);var r=io;if(r&&e){var m=Ni(r).hoistableStyles,g=oo(e);i=i||"default";var T=m.get(g);if(!T){var _={loading:0,preload:null};if(T=r.querySelector(ll(g)))_.loading=5;else{e=E({rel:"stylesheet",href:e,"data-precedence":i},l),(l=Ht.get(g))&&Au(e,l);var N=T=r.createElement("link");We(N),st(N,"link",e),N._p=new Promise(function(U,H){N.onload=U,N.onerror=H}),N.addEventListener("load",function(){_.loading|=1}),N.addEventListener("error",function(){_.loading|=2}),_.loading|=4,Ia(T,i,r)}T={type:"stylesheet",instance:T,count:1,state:_},m.set(g,T)}}}function Ix(e,i){Tn.X(e,i);var l=io;if(l&&e){var r=Ni(l).hoistableScripts,m=lo(e),g=r.get(m);g||(g=l.querySelector(al(m)),g||(e=E({src:e,async:!0},i),(i=Ht.get(m))&&wu(e,i),g=l.createElement("script"),We(g),st(g,"link",e),l.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},r.set(m,g))}}function Dx(e,i){Tn.M(e,i);var l=io;if(l&&e){var r=Ni(l).hoistableScripts,m=lo(e),g=r.get(m);g||(g=l.querySelector(al(m)),g||(e=E({src:e,async:!0,type:"module"},i),(i=Ht.get(m))&&wu(e,i),g=l.createElement("script"),We(g),st(g,"link",e),l.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},r.set(m,g))}}function Cp(e,i,l,r){var m=(m=me.current)?Ma(m):null;if(!m)throw Error(a(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(i=oo(l.href),l=Ni(m).hoistableStyles,r=l.get(i),r||(r={type:"style",instance:null,count:0,state:null},l.set(i,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=oo(l.href);var g=Ni(m).hoistableStyles,T=g.get(e);if(T||(m=m.ownerDocument||m,T={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},g.set(e,T),(g=m.querySelector(ll(e)))&&!g._p&&(T.instance=g,T.state.loading=5),Ht.has(e)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Ht.set(e,l),g||Ux(m,e,l,T.state))),i&&r===null)throw Error(a(528,""));return T}if(i&&r!==null)throw Error(a(529,""));return null;case"script":return i=l.async,l=l.src,typeof l=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=lo(l),l=Ni(m).hoistableScripts,r=l.get(i),r||(r={type:"script",instance:null,count:0,state:null},l.set(i,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,e))}}function oo(e){return'href="'+Dt(e)+'"'}function ll(e){return'link[rel="stylesheet"]['+e+"]"}function Np(e){return E({},e,{"data-precedence":e.precedence,precedence:null})}function Ux(e,i,l,r){e.querySelector('link[rel="preload"][as="style"]['+i+"]")?r.loading=1:(i=e.createElement("link"),r.preload=i,i.addEventListener("load",function(){return r.loading|=1}),i.addEventListener("error",function(){return r.loading|=2}),st(i,"link",l),We(i),e.head.appendChild(i))}function lo(e){return'[src="'+Dt(e)+'"]'}function al(e){return"script[async]"+e}function Ap(e,i,l){if(i.count++,i.instance===null)switch(i.type){case"style":var r=e.querySelector('style[data-href~="'+Dt(l.href)+'"]');if(r)return i.instance=r,We(r),r;var m=E({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement("style"),We(r),st(r,"style",m),Ia(r,l.precedence,e),i.instance=r;case"stylesheet":m=oo(l.href);var g=e.querySelector(ll(m));if(g)return i.state.loading|=4,i.instance=g,We(g),g;r=Np(l),(m=Ht.get(m))&&Au(r,m),g=(e.ownerDocument||e).createElement("link"),We(g);var T=g;return T._p=new Promise(function(_,N){T.onload=_,T.onerror=N}),st(g,"link",r),i.state.loading|=4,Ia(g,l.precedence,e),i.instance=g;case"script":return g=lo(l.src),(m=e.querySelector(al(g)))?(i.instance=m,We(m),m):(r=l,(m=Ht.get(g))&&(r=E({},l),wu(r,m)),e=e.ownerDocument||e,m=e.createElement("script"),We(m),st(m,"link",r),e.head.appendChild(m),i.instance=m);case"void":return null;default:throw Error(a(443,i.type))}else i.type==="stylesheet"&&(i.state.loading&4)===0&&(r=i.instance,i.state.loading|=4,Ia(r,l.precedence,e));return i.instance}function Ia(e,i,l){for(var r=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),m=r.length?r[r.length-1]:null,g=m,T=0;T title"):null)}function Lx(e,i,l){if(l===1||i.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;switch(i.rel){case"stylesheet":return e=i.disabled,typeof i.precedence=="string"&&e==null;default:return!0}case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}function Mp(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function kx(e,i,l,r){if(l.type==="stylesheet"&&(typeof r.media!="string"||matchMedia(r.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var m=oo(r.href),g=i.querySelector(ll(m));if(g){i=g._p,i!==null&&typeof i=="object"&&typeof i.then=="function"&&(e.count++,e=Ua.bind(e),i.then(e,e)),l.state.loading|=4,l.instance=g,We(g);return}g=i.ownerDocument||i,r=Np(r),(m=Ht.get(m))&&Au(r,m),g=g.createElement("link"),We(g);var T=g;T._p=new Promise(function(_,N){T.onload=_,T.onerror=N}),st(g,"link",r),l.instance=g}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,i),(i=l.state.preload)&&(l.state.loading&3)===0&&(e.count++,l=Ua.bind(e),i.addEventListener("load",l),i.addEventListener("error",l))}}var Ru=0;function Px(e,i){return e.stylesheets&&e.count===0&&ka(e,e.stylesheets),0Ru?50:800)+i);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(m)}}:null}function Ua(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)ka(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var La=null;function ka(e,i){e.stylesheets=null,e.unsuspend!==null&&(e.count++,La=new Map,i.forEach(Gx,e),La=null,Ua.call(e))}function Gx(e,i){if(!(i.state.loading&4)){var l=La.get(e);if(l)var r=l.get(null);else{l=new Map,La.set(e,l);for(var m=e.querySelectorAll("link[data-precedence],style[data-precedence]"),g=0;g"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(t){console.error(t)}}return n(),qu.exports=eE(),qu.exports}var nE=tE();const iE=yc(nE);/** + * react-router v7.13.0 + * + * 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 eh="popstate";function oE(n={}){function t(s,c){let{pathname:f="/",search:h="",hash:y=""}=Ti(s.location.hash.substring(1));return!f.startsWith("/")&&!f.startsWith(".")&&(f="/"+f),Qu("",{pathname:f,search:h,hash:y},c.state&&c.state.usr||null,c.state&&c.state.key||"default")}function o(s,c){let f=s.document.querySelector("base"),h="";if(f&&f.getAttribute("href")){let y=s.location.href,p=y.indexOf("#");h=p===-1?y:y.slice(0,p)}return h+"#"+(typeof c=="string"?c:vl(c))}function a(s,c){Xt(s.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(c)})`)}return aE(t,o,a,n)}function He(n,t){if(n===!1||n===null||typeof n>"u")throw new Error(t)}function Xt(n,t){if(!n){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function lE(){return Math.random().toString(36).substring(2,10)}function th(n,t){return{usr:n.state,key:n.key,idx:t}}function Qu(n,t,o=null,a){return{pathname:typeof n=="string"?n:n.pathname,search:"",hash:"",...typeof t=="string"?Ti(t):t,state:o,key:t&&t.key||a||lE()}}function vl({pathname:n="/",search:t="",hash:o=""}){return t&&t!=="?"&&(n+=t.charAt(0)==="?"?t:"?"+t),o&&o!=="#"&&(n+=o.charAt(0)==="#"?o:"#"+o),n}function Ti(n){let t={};if(n){let o=n.indexOf("#");o>=0&&(t.hash=n.substring(o),n=n.substring(0,o));let a=n.indexOf("?");a>=0&&(t.search=n.substring(a),n=n.substring(0,a)),n&&(t.pathname=n)}return t}function aE(n,t,o,a={}){let{window:s=document.defaultView,v5Compat:c=!1}=a,f=s.history,h="POP",y=null,p=x();p==null&&(p=0,f.replaceState({...f.state,idx:p},""));function x(){return(f.state||{idx:null}).idx}function E(){h="POP";let w=x(),G=w==null?null:w-p;p=w,y&&y({action:h,location:I.location,delta:G})}function S(w,G){h="PUSH";let V=Qu(I.location,w,G);o&&o(V,w),p=x()+1;let P=th(V,p),Y=I.createHref(V);try{f.pushState(P,"",Y)}catch(X){if(X instanceof DOMException&&X.name==="DataCloneError")throw X;s.location.assign(Y)}c&&y&&y({action:h,location:I.location,delta:1})}function b(w,G){h="REPLACE";let V=Qu(I.location,w,G);o&&o(V,w),p=x();let P=th(V,p),Y=I.createHref(V);f.replaceState(P,"",Y),c&&y&&y({action:h,location:I.location,delta:0})}function C(w){return sE(w)}let I={get action(){return h},get location(){return n(s,f)},listen(w){if(y)throw new Error("A history only accepts one active listener");return s.addEventListener(eh,E),y=w,()=>{s.removeEventListener(eh,E),y=null}},createHref(w){return t(s,w)},createURL:C,encodeLocation(w){let G=C(w);return{pathname:G.pathname,search:G.search,hash:G.hash}},push:S,replace:b,go(w){return f.go(w)}};return I}function sE(n,t=!1){let o="http://localhost";typeof window<"u"&&(o=window.location.origin!=="null"?window.location.origin:window.location.href),He(o,"No window.location.(origin|href) available to create URL");let a=typeof n=="string"?n:vl(n);return a=a.replace(/ $/,"%20"),!t&&a.startsWith("//")&&(a=o+a),new URL(a,o)}function Yg(n,t,o="/"){return rE(n,t,o,!1)}function rE(n,t,o,a){let s=typeof t=="string"?Ti(t):t,c=bn(s.pathname||"/",o);if(c==null)return null;let f=jg(n);uE(f);let h=null;for(let y=0;h==null&&y{let x={relativePath:p===void 0?f.path||"":p,caseSensitive:f.caseSensitive===!0,childrenIndex:h,route:f};if(x.relativePath.startsWith("/")){if(!x.relativePath.startsWith(a)&&y)return;He(x.relativePath.startsWith(a),`Absolute route path "${x.relativePath}" nested under path "${a}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),x.relativePath=x.relativePath.slice(a.length)}let E=_n([a,x.relativePath]),S=o.concat(x);f.children&&f.children.length>0&&(He(f.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${E}".`),jg(f.children,t,S,E,y)),!(f.path==null&&!f.index)&&t.push({path:E,score:gE(E,f.index),routesMeta:S})};return n.forEach((f,h)=>{var y;if(f.path===""||!((y=f.path)!=null&&y.includes("?")))c(f,h);else for(let p of Kg(f.path))c(f,h,!0,p)}),t}function Kg(n){let t=n.split("/");if(t.length===0)return[];let[o,...a]=t,s=o.endsWith("?"),c=o.replace(/\?$/,"");if(a.length===0)return s?[c,""]:[c];let f=Kg(a.join("/")),h=[];return h.push(...f.map(y=>y===""?c:[c,y].join("/"))),s&&h.push(...f),h.map(y=>n.startsWith("/")&&y===""?"/":y)}function uE(n){n.sort((t,o)=>t.score!==o.score?o.score-t.score:yE(t.routesMeta.map(a=>a.childrenIndex),o.routesMeta.map(a=>a.childrenIndex)))}var cE=/^:[\w-]+$/,dE=3,fE=2,mE=1,pE=10,hE=-2,nh=n=>n==="*";function gE(n,t){let o=n.split("/"),a=o.length;return o.some(nh)&&(a+=hE),t&&(a+=fE),o.filter(s=>!nh(s)).reduce((s,c)=>s+(cE.test(c)?dE:c===""?mE:pE),a)}function yE(n,t){return n.length===t.length&&n.slice(0,-1).every((a,s)=>a===t[s])?n[n.length-1]-t[t.length-1]:0}function vE(n,t,o=!1){let{routesMeta:a}=n,s={},c="/",f=[];for(let h=0;h{if(x==="*"){let C=h[S]||"";f=c.slice(0,c.length-C.length).replace(/(.)\/+$/,"$1")}const b=h[S];return E&&!b?p[x]=void 0:p[x]=(b||"").replace(/%2F/g,"/"),p},{}),pathname:c,pathnameBase:f,pattern:n}}function xE(n,t=!1,o=!0){Xt(n==="*"||!n.endsWith("*")||n.endsWith("/*"),`Route path "${n}" will be treated as if it were "${n.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${n.replace(/\*$/,"/*")}".`);let a=[],s="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(f,h,y)=>(a.push({paramName:h,isOptional:y!=null}),y?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return n.endsWith("*")?(a.push({paramName:"*"}),s+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?s+="\\/*$":n!==""&&n!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),a]}function EE(n){try{return n.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Xt(!1,`The URL path "${n}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),n}}function bn(n,t){if(t==="/")return n;if(!n.toLowerCase().startsWith(t.toLowerCase()))return null;let o=t.endsWith("/")?t.length-1:t.length,a=n.charAt(o);return a&&a!=="/"?null:n.slice(o)||"/"}var TE=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function SE(n,t="/"){let{pathname:o,search:a="",hash:s=""}=typeof n=="string"?Ti(n):n,c;return o?(o=o.replace(/\/\/+/g,"/"),o.startsWith("/")?c=ih(o.substring(1),"/"):c=ih(o,t)):c=t,{pathname:c,search:CE(a),hash:NE(s)}}function ih(n,t){let o=t.replace(/\/+$/,"").split("/");return n.split("/").forEach(s=>{s===".."?o.length>1&&o.pop():s!=="."&&o.push(s)}),o.length>1?o.join("/"):"/"}function Ou(n,t,o,a){return`Cannot include a '${n}' character in a manually specified \`to.${t}\` field [${JSON.stringify(a)}]. Please separate it out to the \`to.${o}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function _E(n){return n.filter((t,o)=>o===0||t.route.path&&t.route.path.length>0)}function Xg(n){let t=_E(n);return t.map((o,a)=>a===t.length-1?o.pathname:o.pathnameBase)}function $g(n,t,o,a=!1){let s;typeof n=="string"?s=Ti(n):(s={...n},He(!s.pathname||!s.pathname.includes("?"),Ou("?","pathname","search",s)),He(!s.pathname||!s.pathname.includes("#"),Ou("#","pathname","hash",s)),He(!s.search||!s.search.includes("#"),Ou("#","search","hash",s)));let c=n===""||s.pathname==="",f=c?"/":s.pathname,h;if(f==null)h=o;else{let E=t.length-1;if(!a&&f.startsWith("..")){let S=f.split("/");for(;S[0]==="..";)S.shift(),E-=1;s.pathname=S.join("/")}h=E>=0?t[E]:"/"}let y=SE(s,h),p=f&&f!=="/"&&f.endsWith("/"),x=(c||f===".")&&o.endsWith("/");return!y.pathname.endsWith("/")&&(p||x)&&(y.pathname+="/"),y}var _n=n=>n.join("/").replace(/\/\/+/g,"/"),bE=n=>n.replace(/\/+$/,"").replace(/^\/*/,"/"),CE=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,NE=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n,AE=class{constructor(n,t,o,a=!1){this.status=n,this.statusText=t||"",this.internal=a,o instanceof Error?(this.data=o.toString(),this.error=o):this.data=o}};function wE(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}function RE(n){return n.map(t=>t.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Qg=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Zg(n,t){let o=n;if(typeof o!="string"||!TE.test(o))return{absoluteURL:void 0,isExternal:!1,to:o};let a=o,s=!1;if(Qg)try{let c=new URL(window.location.href),f=o.startsWith("//")?new URL(c.protocol+o):new URL(o),h=bn(f.pathname,t);f.origin===c.origin&&h!=null?o=h+f.search+f.hash:s=!0}catch{Xt(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:a,isExternal:s,to:o}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Wg=["POST","PUT","PATCH","DELETE"];new Set(Wg);var ME=["GET",...Wg];new Set(ME);var po=L.createContext(null);po.displayName="DataRouter";var rs=L.createContext(null);rs.displayName="DataRouterState";var IE=L.createContext(!1),e0=L.createContext({isTransitioning:!1});e0.displayName="ViewTransition";var DE=L.createContext(new Map);DE.displayName="Fetchers";var UE=L.createContext(null);UE.displayName="Await";var Ot=L.createContext(null);Ot.displayName="Navigation";var Tl=L.createContext(null);Tl.displayName="Location";var tn=L.createContext({outlet:null,matches:[],isDataRoute:!1});tn.displayName="Route";var xc=L.createContext(null);xc.displayName="RouteError";var t0="REACT_ROUTER_ERROR",LE="REDIRECT",kE="ROUTE_ERROR_RESPONSE";function PE(n){if(n.startsWith(`${t0}:${LE}:{`))try{let t=JSON.parse(n.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function GE(n){if(n.startsWith(`${t0}:${kE}:{`))try{let t=JSON.parse(n.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new AE(t.status,t.statusText,t.data)}catch{}}function qE(n,{relative:t}={}){He(Sl(),"useHref() may be used only in the context of a component.");let{basename:o,navigator:a}=L.useContext(Ot),{hash:s,pathname:c,search:f}=_l(n,{relative:t}),h=c;return o!=="/"&&(h=c==="/"?o:_n([o,c])),a.createHref({pathname:h,search:f,hash:s})}function Sl(){return L.useContext(Tl)!=null}function nn(){return He(Sl(),"useLocation() may be used only in the context of a component."),L.useContext(Tl).location}var n0="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function i0(n){L.useContext(Ot).static||L.useLayoutEffect(n)}function Ec(){let{isDataRoute:n}=L.useContext(tn);return n?QE():VE()}function VE(){He(Sl(),"useNavigate() may be used only in the context of a component.");let n=L.useContext(po),{basename:t,navigator:o}=L.useContext(Ot),{matches:a}=L.useContext(tn),{pathname:s}=nn(),c=JSON.stringify(Xg(a)),f=L.useRef(!1);return i0(()=>{f.current=!0}),L.useCallback((y,p={})=>{if(Xt(f.current,n0),!f.current)return;if(typeof y=="number"){o.go(y);return}let x=$g(y,JSON.parse(c),s,p.relative==="path");n==null&&t!=="/"&&(x.pathname=x.pathname==="/"?t:_n([t,x.pathname])),(p.replace?o.replace:o.push)(x,p.state,p)},[t,o,c,s,n])}L.createContext(null);function Tc(){let{matches:n}=L.useContext(tn),t=n[n.length-1];return t?t.params:{}}function _l(n,{relative:t}={}){let{matches:o}=L.useContext(tn),{pathname:a}=nn(),s=JSON.stringify(Xg(o));return L.useMemo(()=>$g(n,JSON.parse(s),a,t==="path"),[n,s,a,t])}function HE(n,t){return o0(n,t)}function o0(n,t,o,a,s){var V;He(Sl(),"useRoutes() may be used only in the context of a component.");let{navigator:c}=L.useContext(Ot),{matches:f}=L.useContext(tn),h=f[f.length-1],y=h?h.params:{},p=h?h.pathname:"/",x=h?h.pathnameBase:"/",E=h&&h.route;{let P=E&&E.path||"";a0(p,!E||P.endsWith("*")||P.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${p}" (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 S=nn(),b;if(t){let P=typeof t=="string"?Ti(t):t;He(x==="/"||((V=P.pathname)==null?void 0:V.startsWith(x)),`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 "${x}" but pathname "${P.pathname}" was given in the \`location\` prop.`),b=P}else b=S;let C=b.pathname||"/",I=C;if(x!=="/"){let P=x.replace(/^\//,"").split("/");I="/"+C.replace(/^\//,"").split("/").slice(P.length).join("/")}let w=Yg(n,{pathname:I});Xt(E||w!=null,`No routes matched location "${b.pathname}${b.search}${b.hash}" `),Xt(w==null||w[w.length-1].route.element!==void 0||w[w.length-1].route.Component!==void 0||w[w.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 G=JE(w&&w.map(P=>Object.assign({},P,{params:Object.assign({},y,P.params),pathname:_n([x,c.encodeLocation?c.encodeLocation(P.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:P.pathname]),pathnameBase:P.pathnameBase==="/"?x:_n([x,c.encodeLocation?c.encodeLocation(P.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:P.pathnameBase])})),f,o,a,s);return t&&G?L.createElement(Tl.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...b},navigationType:"POP"}},G):G}function zE(){let n=$E(),t=wE(n)?`${n.status} ${n.statusText}`:n instanceof Error?n.message:JSON.stringify(n),o=n instanceof Error?n.stack:null,a="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:a},c={padding:"2px 4px",backgroundColor:a},f=null;return console.error("Error handled by React Router default ErrorBoundary:",n),f=L.createElement(L.Fragment,null,L.createElement("p",null,"💿 Hey developer 👋"),L.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",L.createElement("code",{style:c},"ErrorBoundary")," or"," ",L.createElement("code",{style:c},"errorElement")," prop on your route.")),L.createElement(L.Fragment,null,L.createElement("h2",null,"Unexpected Application Error!"),L.createElement("h3",{style:{fontStyle:"italic"}},t),o?L.createElement("pre",{style:s},o):null,f)}var OE=L.createElement(zE,null),l0=class extends L.Component{constructor(n){super(n),this.state={location:n.location,revalidation:n.revalidation,error:n.error}}static getDerivedStateFromError(n){return{error:n}}static getDerivedStateFromProps(n,t){return t.location!==n.location||t.revalidation!=="idle"&&n.revalidation==="idle"?{error:n.error,location:n.location,revalidation:n.revalidation}:{error:n.error!==void 0?n.error:t.error,location:t.location,revalidation:n.revalidation||t.revalidation}}componentDidCatch(n,t){this.props.onError?this.props.onError(n,t):console.error("React Router caught the following error during render",n)}render(){let n=this.state.error;if(this.context&&typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){const o=GE(n.digest);o&&(n=o)}let t=n!==void 0?L.createElement(tn.Provider,{value:this.props.routeContext},L.createElement(xc.Provider,{value:n,children:this.props.component})):this.props.children;return this.context?L.createElement(BE,{error:n},t):t}};l0.contextType=IE;var Bu=new WeakMap;function BE({children:n,error:t}){let{basename:o}=L.useContext(Ot);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let a=PE(t.digest);if(a){let s=Bu.get(t);if(s)throw s;let c=Zg(a.location,o);if(Qg&&!Bu.get(t))if(c.isExternal||a.reloadDocument)window.location.href=c.absoluteURL||c.to;else{const f=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(c.to,{replace:a.replace}));throw Bu.set(t,f),f}return L.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c.absoluteURL||c.to}`})}}return n}function FE({routeContext:n,match:t,children:o}){let a=L.useContext(po);return a&&a.static&&a.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=t.route.id),L.createElement(tn.Provider,{value:n},o)}function JE(n,t=[],o=null,a=null,s=null){if(n==null){if(!o)return null;if(o.errors)n=o.matches;else if(t.length===0&&!o.initialized&&o.matches.length>0)n=o.matches;else return null}let c=n,f=o==null?void 0:o.errors;if(f!=null){let x=c.findIndex(E=>E.route.id&&(f==null?void 0:f[E.route.id])!==void 0);He(x>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(f).join(",")}`),c=c.slice(0,Math.min(c.length,x+1))}let h=!1,y=-1;if(o)for(let x=0;x=0?c=c.slice(0,y+1):c=[c[0]];break}}}let p=o&&a?(x,E)=>{var S,b;a(x,{location:o.location,params:((b=(S=o.matches)==null?void 0:S[0])==null?void 0:b.params)??{},unstable_pattern:RE(o.matches),errorInfo:E})}:void 0;return c.reduceRight((x,E,S)=>{let b,C=!1,I=null,w=null;o&&(b=f&&E.route.id?f[E.route.id]:void 0,I=E.route.errorElement||OE,h&&(y<0&&S===0?(a0("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),C=!0,w=null):y===S&&(C=!0,w=E.route.hydrateFallbackElement||null)));let G=t.concat(c.slice(0,S+1)),V=()=>{let P;return b?P=I:C?P=w:E.route.Component?P=L.createElement(E.route.Component,null):E.route.element?P=E.route.element:P=x,L.createElement(FE,{match:E,routeContext:{outlet:x,matches:G,isDataRoute:o!=null},children:P})};return o&&(E.route.ErrorBoundary||E.route.errorElement||S===0)?L.createElement(l0,{location:o.location,revalidation:o.revalidation,component:I,error:b,children:V(),routeContext:{outlet:null,matches:G,isDataRoute:!0},onError:p}):V()},null)}function Sc(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function YE(n){let t=L.useContext(po);return He(t,Sc(n)),t}function jE(n){let t=L.useContext(rs);return He(t,Sc(n)),t}function KE(n){let t=L.useContext(tn);return He(t,Sc(n)),t}function _c(n){let t=KE(n),o=t.matches[t.matches.length-1];return He(o.route.id,`${n} can only be used on routes that contain a unique "id"`),o.route.id}function XE(){return _c("useRouteId")}function $E(){var a;let n=L.useContext(xc),t=jE("useRouteError"),o=_c("useRouteError");return n!==void 0?n:(a=t.errors)==null?void 0:a[o]}function QE(){let{router:n}=YE("useNavigate"),t=_c("useNavigate"),o=L.useRef(!1);return i0(()=>{o.current=!0}),L.useCallback(async(s,c={})=>{Xt(o.current,n0),o.current&&(typeof s=="number"?await n.navigate(s):await n.navigate(s,{fromRouteId:t,...c}))},[n,t])}var oh={};function a0(n,t,o){!t&&!oh[n]&&(oh[n]=!0,Xt(!1,o))}L.memo(ZE);function ZE({routes:n,future:t,state:o,onError:a}){return o0(n,void 0,o,a,t)}function Yt(n){He(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function WE({basename:n="/",children:t=null,location:o,navigationType:a="POP",navigator:s,static:c=!1,unstable_useTransitions:f}){He(!Sl(),"You cannot render a inside another . You should never have more than one in your app.");let h=n.replace(/^\/*/,"/"),y=L.useMemo(()=>({basename:h,navigator:s,static:c,unstable_useTransitions:f,future:{}}),[h,s,c,f]);typeof o=="string"&&(o=Ti(o));let{pathname:p="/",search:x="",hash:E="",state:S=null,key:b="default"}=o,C=L.useMemo(()=>{let I=bn(p,h);return I==null?null:{location:{pathname:I,search:x,hash:E,state:S,key:b},navigationType:a}},[h,p,x,E,S,b,a]);return Xt(C!=null,` is not able to match the URL "${p}${x}${E}" because it does not start with the basename, so the won't render anything.`),C==null?null:L.createElement(Ot.Provider,{value:y},L.createElement(Tl.Provider,{children:t,value:C}))}function eT({children:n,location:t}){return HE(Zu(n),t)}function Zu(n,t=[]){let o=[];return L.Children.forEach(n,(a,s)=>{if(!L.isValidElement(a))return;let c=[...t,s];if(a.type===L.Fragment){o.push.apply(o,Zu(a.props.children,c));return}He(a.type===Yt,`[${typeof a.type=="string"?a.type:a.type.name}] is not a component. All component children of must be a or `),He(!a.props.index||!a.props.children,"An index route cannot have child routes.");let f={id:a.props.id||c.join("-"),caseSensitive:a.props.caseSensitive,element:a.props.element,Component:a.props.Component,index:a.props.index,path:a.props.path,middleware:a.props.middleware,loader:a.props.loader,action:a.props.action,hydrateFallbackElement:a.props.hydrateFallbackElement,HydrateFallback:a.props.HydrateFallback,errorElement:a.props.errorElement,ErrorBoundary:a.props.ErrorBoundary,hasErrorBoundary:a.props.hasErrorBoundary===!0||a.props.ErrorBoundary!=null||a.props.errorElement!=null,shouldRevalidate:a.props.shouldRevalidate,handle:a.props.handle,lazy:a.props.lazy};a.props.children&&(f.children=Zu(a.props.children,c)),o.push(f)}),o}var Xa="get",$a="application/x-www-form-urlencoded";function us(n){return typeof HTMLElement<"u"&&n instanceof HTMLElement}function tT(n){return us(n)&&n.tagName.toLowerCase()==="button"}function nT(n){return us(n)&&n.tagName.toLowerCase()==="form"}function iT(n){return us(n)&&n.tagName.toLowerCase()==="input"}function oT(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function lT(n,t){return n.button===0&&(!t||t==="_self")&&!oT(n)}var Ba=null;function aT(){if(Ba===null)try{new FormData(document.createElement("form"),0),Ba=!1}catch{Ba=!0}return Ba}var sT=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Fu(n){return n!=null&&!sT.has(n)?(Xt(!1,`"${n}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${$a}"`),null):n}function rT(n,t){let o,a,s,c,f;if(nT(n)){let h=n.getAttribute("action");a=h?bn(h,t):null,o=n.getAttribute("method")||Xa,s=Fu(n.getAttribute("enctype"))||$a,c=new FormData(n)}else if(tT(n)||iT(n)&&(n.type==="submit"||n.type==="image")){let h=n.form;if(h==null)throw new Error('Cannot submit a