diff --git a/dependabot/npm_and_yarn/vite-7.1.11/.htaccess b/dependabot/npm_and_yarn/vite-7.1.11/.htaccess new file mode 100644 index 00000000..680e1a5e --- /dev/null +++ b/dependabot/npm_and_yarn/vite-7.1.11/.htaccess @@ -0,0 +1,16 @@ +RewriteEngine on +RewriteBase / + +# do not do anything for already existing files +RewriteCond %{REQUEST_FILENAME} -f [OR] +RewriteCond %{REQUEST_FILENAME} -l [OR] +RewriteCond %{REQUEST_FILENAME} -d +RewriteRule (.*) - [L] + +# if request is no valid file NOR directory +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +# if static asset do not do anything +RewriteRule (.*)(css|js|html|png|jpe?g|gif|bmp|ico|json|csv|otf|eot|svg|svgz|ttf|woff|woff2|ijmap|pdf|tif|map) - [NC,L,R=404] +# everything else should be redirected to /index.html so it can be routed by it +RewriteRule (.*) /index.html [L] diff --git a/dependabot/npm_and_yarn/vite-7.1.11/assets/index-CLMiADbU.js b/dependabot/npm_and_yarn/vite-7.1.11/assets/index-CLMiADbU.js new file mode 100644 index 00000000..8e3f18a6 --- /dev/null +++ b/dependabot/npm_and_yarn/vite-7.1.11/assets/index-CLMiADbU.js @@ -0,0 +1,806 @@ +function Az(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function oa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var W1={exports:{}},Bd={};/** + * @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 pA;function Tz(){if(pA)return Bd;pA=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,i,o){var s=null;if(o!==void 0&&(s=""+o),i.key!==void 0&&(s=""+i.key),"key"in i){o={};for(var u in i)u!=="key"&&(o[u]=i[u])}else o=i;return i=o.ref,{$$typeof:e,type:r,key:s,ref:i!==void 0?i:null,props:o}}return Bd.Fragment=t,Bd.jsx=n,Bd.jsxs=n,Bd}var gA;function Oz(){return gA||(gA=1,W1.exports=Tz()),W1.exports}var y=Oz(),K1={exports:{}},Fd={},Z1={exports:{}},X1={};/** + * @license React + * scheduler.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 vA;function jz(){return vA||(vA=1,function(e){function t(Z,I){var k=Z.length;Z.push(I);e:for(;0>>1,z=Z[U];if(0>>1;Ui(Y,k))nei(ue,Y)?(Z[U]=ue,Z[ne]=k,U=ne):(Z[U]=Y,Z[G]=k,U=G);else if(nei(ue,k))Z[U]=ue,Z[ne]=k,U=ne;else break e}}return I}function i(Z,I){var k=Z.sortIndex-I.sortIndex;return k!==0?k:Z.id-I.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,u=s.now();e.unstable_now=function(){return s.now()-u}}var d=[],f=[],m=1,p=null,b=3,_=!1,w=!1,x=!1,E=!1,T=typeof setTimeout=="function"?setTimeout:null,j=typeof clearTimeout=="function"?clearTimeout:null,O=typeof setImmediate<"u"?setImmediate:null;function N(Z){for(var I=n(f);I!==null;){if(I.callback===null)r(f);else if(I.startTime<=Z)r(f),I.sortIndex=I.expirationTime,t(d,I);else break;I=n(f)}}function B(Z){if(x=!1,N(Z),!w)if(n(d)!==null)w=!0,$||($=!0,te());else{var I=n(f);I!==null&&se(B,I.startTime-Z)}}var $=!1,K=-1,Q=5,oe=-1;function ee(){return E?!0:!(e.unstable_now()-oeZ&&ee());){var U=p.callback;if(typeof U=="function"){p.callback=null,b=p.priorityLevel;var z=U(p.expirationTime<=Z);if(Z=e.unstable_now(),typeof z=="function"){p.callback=z,N(Z),I=!0;break t}p===n(d)&&r(d),N(Z)}else r(d);p=n(d)}if(p!==null)I=!0;else{var P=n(f);P!==null&&se(B,P.startTime-Z),I=!1}}break e}finally{p=null,b=k,_=!1}I=void 0}}finally{I?te():$=!1}}}var te;if(typeof O=="function")te=function(){O(J)};else if(typeof MessageChannel<"u"){var he=new MessageChannel,X=he.port2;he.port1.onmessage=J,te=function(){X.postMessage(null)}}else te=function(){T(J,0)};function se(Z,I){K=T(function(){Z(e.unstable_now())},I)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(Z){Z.callback=null},e.unstable_forceFrameRate=function(Z){0>Z||125U?(Z.sortIndex=k,t(f,Z),n(d)===null&&Z===n(f)&&(x?(j(K),K=-1):x=!0,se(B,k-U))):(Z.sortIndex=z,t(d,Z),w||_||(w=!0,$||($=!0,te()))),Z},e.unstable_shouldYield=ee,e.unstable_wrapCallback=function(Z){var I=b;return function(){var k=b;b=I;try{return Z.apply(this,arguments)}finally{b=k}}}}(X1)),X1}var yA;function Mz(){return yA||(yA=1,Z1.exports=jz()),Z1.exports}var Q1={exports:{}},mt={};/** + * @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 bA;function Pz(){if(bA)return mt;bA=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),b=Symbol.iterator;function _(P){return P===null||typeof P!="object"?null:(P=b&&P[b]||P["@@iterator"],typeof P=="function"?P:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},x=Object.assign,E={};function T(P,G,Y){this.props=P,this.context=G,this.refs=E,this.updater=Y||w}T.prototype.isReactComponent={},T.prototype.setState=function(P,G){if(typeof P!="object"&&typeof P!="function"&&P!=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,P,G,"setState")},T.prototype.forceUpdate=function(P){this.updater.enqueueForceUpdate(this,P,"forceUpdate")};function j(){}j.prototype=T.prototype;function O(P,G,Y){this.props=P,this.context=G,this.refs=E,this.updater=Y||w}var N=O.prototype=new j;N.constructor=O,x(N,T.prototype),N.isPureReactComponent=!0;var B=Array.isArray;function $(){}var K={H:null,A:null,T:null,S:null},Q=Object.prototype.hasOwnProperty;function oe(P,G,Y){var ne=Y.ref;return{$$typeof:e,type:P,key:G,ref:ne!==void 0?ne:null,props:Y}}function ee(P,G){return oe(P.type,G,P.props)}function J(P){return typeof P=="object"&&P!==null&&P.$$typeof===e}function te(P){var G={"=":"=0",":":"=2"};return"$"+P.replace(/[=:]/g,function(Y){return G[Y]})}var he=/\/+/g;function X(P,G){return typeof P=="object"&&P!==null&&P.key!=null?te(""+P.key):G.toString(36)}function se(P){switch(P.status){case"fulfilled":return P.value;case"rejected":throw P.reason;default:switch(typeof P.status=="string"?P.then($,$):(P.status="pending",P.then(function(G){P.status==="pending"&&(P.status="fulfilled",P.value=G)},function(G){P.status==="pending"&&(P.status="rejected",P.reason=G)})),P.status){case"fulfilled":return P.value;case"rejected":throw P.reason}}throw P}function Z(P,G,Y,ne,ue){var fe=typeof P;(fe==="undefined"||fe==="boolean")&&(P=null);var ge=!1;if(P===null)ge=!0;else switch(fe){case"bigint":case"string":case"number":ge=!0;break;case"object":switch(P.$$typeof){case e:case t:ge=!0;break;case m:return ge=P._init,Z(ge(P._payload),G,Y,ne,ue)}}if(ge)return ue=ue(P),ge=ne===""?"."+X(P,0):ne,B(ue)?(Y="",ge!=null&&(Y=ge.replace(he,"$&/")+"/"),Z(ue,G,Y,"",function(W){return W})):ue!=null&&(J(ue)&&(ue=ee(ue,Y+(ue.key==null||P&&P.key===ue.key?"":(""+ue.key).replace(he,"$&/")+"/")+ge)),G.push(ue)),1;ge=0;var D=ne===""?".":ne+":";if(B(P))for(var F=0;F"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),J1.exports=Rz(),J1.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 SA;function Lz(){if(SA)return Fd;SA=1;var e=Mz(),t=pf(),n=dR();function r(a){var l="https://react.dev/errors/"+a;if(1z||(a.current=U[z],U[z]=null,z--)}function Y(a,l){z++,U[z]=a.current,a.current=l}var ne=P(null),ue=P(null),fe=P(null),ge=P(null);function D(a,l){switch(Y(fe,l),Y(ue,a),Y(ne,null),l.nodeType){case 9:case 11:a=(a=l.documentElement)&&(a=a.namespaceURI)?UE(a):0;break;default:if(a=l.tagName,l=l.namespaceURI)l=UE(l),a=zE(l,a);else switch(a){case"svg":a=1;break;case"math":a=2;break;default:a=0}}G(ne),Y(ne,a)}function F(){G(ne),G(ue),G(fe)}function W(a){a.memoizedState!==null&&Y(ge,a);var l=ne.current,h=zE(l,a.type);l!==h&&(Y(ue,a),Y(ne,h))}function le(a){ue.current===a&&(G(ne),G(ue)),ge.current===a&&(G(ge),kd._currentValue=k)}var H,ae;function ce(a){if(H===void 0)try{throw Error()}catch(h){var l=h.stack.trim().match(/\n( *(at )?)/);H=l&&l[1]||"",ae=-1)":-1A||pe[v]!==Ee[A]){var ke=` +`+pe[v].replace(" at new "," at ");return a.displayName&&ke.includes("")&&(ke=ke.replace("",a.displayName)),ke}while(1<=v&&0<=A);break}}}finally{ve=!1,Error.prepareStackTrace=h}return(h=a?a.displayName||a.name:"")?ce(h):""}function we(a,l){switch(a.tag){case 26:case 27:case 5:return ce(a.type);case 16:return ce("Lazy");case 13:return a.child!==l&&l!==null?ce("Suspense Fallback"):ce("Suspense");case 19:return ce("SuspenseList");case 0:case 15:return de(a.type,!1);case 11:return de(a.type.render,!1);case 1:return de(a.type,!0);case 31:return ce("Activity");default:return""}}function Ae(a){try{var l="",h=null;do l+=we(a,h),h=a,a=a.return;while(a);return l}catch(v){return` +Error generating stack: `+v.message+` +`+v.stack}}var Ne=Object.prototype.hasOwnProperty,Ve=e.unstable_scheduleCallback,Fe=e.unstable_cancelCallback,He=e.unstable_shouldYield,be=e.unstable_requestPaint,_e=e.unstable_now,De=e.unstable_getCurrentPriorityLevel,Re=e.unstable_ImmediatePriority,Me=e.unstable_UserBlockingPriority,$e=e.unstable_NormalPriority,Ge=e.unstable_LowPriority,Ze=e.unstable_IdlePriority,ut=e.log,rt=e.unstable_setDisableYieldValue,dt=null,gt=null;function Dt(a){if(typeof ut=="function"&&rt(a),gt&&typeof gt.setStrictMode=="function")try{gt.setStrictMode(dt,a)}catch{}}var yt=Math.clz32?Math.clz32:jl,Ui=Math.log,Kn=Math.LN2;function jl(a){return a>>>=0,a===0?32:31-(Ui(a)/Kn|0)|0}var Dr=256,mo=262144,po=4194304;function zi(a){var l=a&42;if(l!==0)return l;switch(a&-a){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 a&261888;case 262144:case 524288:case 1048576:case 2097152:return a&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return a}}function Da(a,l,h){var v=a.pendingLanes;if(v===0)return 0;var A=0,M=a.suspendedLanes,q=a.pingedLanes;a=a.warmLanes;var ie=v&134217727;return ie!==0?(v=ie&~M,v!==0?A=zi(v):(q&=ie,q!==0?A=zi(q):h||(h=ie&~a,h!==0&&(A=zi(h))))):(ie=v&~M,ie!==0?A=zi(ie):q!==0?A=zi(q):h||(h=v&~a,h!==0&&(A=zi(h)))),A===0?0:l!==0&&l!==A&&(l&M)===0&&(M=A&-A,h=l&-l,M>=h||M===32&&(h&4194048)!==0)?l:A}function ci(a,l){return(a.pendingLanes&~(a.suspendedLanes&~a.pingedLanes)&l)===0}function Cn(a,l){switch(a){case 1:case 2:case 4:case 8:case 64:return l+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 l+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function fn(){var a=po;return po<<=1,(po&62914560)===0&&(po=4194304),a}function Zn(a){for(var l=[],h=0;31>h;h++)l.push(a);return l}function _n(a,l){a.pendingLanes|=l,l!==268435456&&(a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0)}function Xn(a,l,h,v,A,M){var q=a.pendingLanes;a.pendingLanes=h,a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0,a.expiredLanes&=h,a.entangledLanes&=h,a.errorRecoveryDisabledLanes&=h,a.shellSuspendCounter=0;var ie=a.entanglements,pe=a.expirationTimes,Ee=a.hiddenUpdates;for(h=q&~h;0"u")return null;try{return a.activeElement||a.body}catch{return a.body}}var Ku=/[\n"\\]/g;function an(a){return a.replace(Ku,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function qf(a,l,h,v,A,M,q,ie){a.name="",q!=null&&typeof q!="function"&&typeof q!="symbol"&&typeof q!="boolean"?a.type=q:a.removeAttribute("type"),l!=null?q==="number"?(l===0&&a.value===""||a.value!=l)&&(a.value=""+Qn(l)):a.value!==""+Qn(l)&&(a.value=""+Qn(l)):q!=="submit"&&q!=="reset"||a.removeAttribute("value"),l!=null?ua(a,q,Qn(l)):h!=null?ua(a,q,Qn(h)):v!=null&&a.removeAttribute("value"),A==null&&M!=null&&(a.defaultChecked=!!M),A!=null&&(a.checked=A&&typeof A!="function"&&typeof A!="symbol"),ie!=null&&typeof ie!="function"&&typeof ie!="symbol"&&typeof ie!="boolean"?a.name=""+Qn(ie):a.removeAttribute("name")}function Ll(a,l,h,v,A,M,q,ie){if(M!=null&&typeof M!="function"&&typeof M!="symbol"&&typeof M!="boolean"&&(a.type=M),l!=null||h!=null){if(!(M!=="submit"&&M!=="reset"||l!=null)){ht(a);return}h=h!=null?""+Qn(h):"",l=l!=null?""+Qn(l):h,ie||l===a.value||(a.value=l),a.defaultValue=l}v=v??A,v=typeof v!="function"&&typeof v!="symbol"&&!!v,a.checked=ie?a.checked:!!v,a.defaultChecked=!!v,q!=null&&typeof q!="function"&&typeof q!="symbol"&&typeof q!="boolean"&&(a.name=q),ht(a)}function ua(a,l,h){l==="number"&&ms(a.ownerDocument)===a||a.defaultValue===""+h||(a.defaultValue=""+h)}function Qt(a,l,h,v){if(a=a.options,l){l={};for(var A=0;A"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),kl=!1;if(di)try{var hi={};Object.defineProperty(hi,"passive",{get:function(){kl=!0}}),window.addEventListener("test",hi,hi),window.removeEventListener("test",hi,hi)}catch{kl=!1}var Fi=null,xo=null,An=null;function Ba(){if(An)return An;var a,l=xo,h=l.length,v,A="value"in Fi?Fi.value:Fi.textContent,M=A.length;for(a=0;a=_s),rc=" ",km=!1;function Im(a,l){switch(a){case"keyup":return Zr.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rd(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var xs=!1;function mi(a,l){switch(a){case"compositionend":return rd(l);case"keypress":return l.which!==32?null:(km=!0,rc);case"textInput":return a=l.data,a===rc&&km?null:a;default:return null}}function ws(a,l){if(xs)return a==="compositionend"||!tc&&Im(a,l)?(a=Ba(),An=xo=Fi=null,xs=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1=l)return{node:h,offset:l-a};a=v}e:{for(;h;){if(h.nextSibling){h=h.nextSibling;break e}h=h.parentNode}h=void 0}h=ac(h)}}function oc(a,l){return a&&l?a===l?!0:a&&a.nodeType===3?!1:l&&l.nodeType===3?oc(a,l.parentNode):"contains"in a?a.contains(l):a.compareDocumentPosition?!!(a.compareDocumentPosition(l)&16):!1:!1}function Gl(a){a=a!=null&&a.ownerDocument!=null&&a.ownerDocument.defaultView!=null?a.ownerDocument.defaultView:window;for(var l=ms(a.document);l instanceof a.HTMLIFrameElement;){try{var h=typeof l.contentWindow.location.href=="string"}catch{h=!1}if(h)a=l.contentWindow;else break;l=ms(a.document)}return l}function $a(a){var l=a&&a.nodeName&&a.nodeName.toLowerCase();return l&&(l==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||l==="textarea"||a.contentEditable==="true")}var sc=di&&"documentMode"in document&&11>=document.documentMode,Va=null,lc=null,Yl=null,As=!1;function $m(a,l,h){var v=h.window===h?h.document:h.nodeType===9?h:h.ownerDocument;As||Va==null||Va!==ms(v)||(v=Va,"selectionStart"in v&&$a(v)?v={start:v.selectionStart,end:v.selectionEnd}:(v=(v.ownerDocument&&v.ownerDocument.defaultView||window).getSelection(),v={anchorNode:v.anchorNode,anchorOffset:v.anchorOffset,focusNode:v.focusNode,focusOffset:v.focusOffset}),Yl&&Es(Yl,v)||(Yl=v,v=Op(lc,"onSelect"),0>=q,A-=q,Ue=1<<32-yt(l)+A|h<_t?(Mt=nt,nt=null):Mt=nt.sibling;var zt=Oe(xe,nt,Ce[_t],Ie);if(zt===null){nt===null&&(nt=Mt);break}a&&nt&&zt.alternate===null&&l(xe,nt),ye=M(zt,ye,_t),Ut===null?ot=zt:Ut.sibling=zt,Ut=zt,nt=Mt}if(_t===Ce.length)return h(xe,nt),St&&at(xe,_t),ot;if(nt===null){for(;_t_t?(Mt=nt,nt=null):Mt=nt.sibling;var Ws=Oe(xe,nt,zt.value,Ie);if(Ws===null){nt===null&&(nt=Mt);break}a&&nt&&Ws.alternate===null&&l(xe,nt),ye=M(Ws,ye,_t),Ut===null?ot=Ws:Ut.sibling=Ws,Ut=Ws,nt=Mt}if(zt.done)return h(xe,nt),St&&at(xe,_t),ot;if(nt===null){for(;!zt.done;_t++,zt=Ce.next())zt=ze(xe,zt.value,Ie),zt!==null&&(ye=M(zt,ye,_t),Ut===null?ot=zt:Ut.sibling=zt,Ut=zt);return St&&at(xe,_t),ot}for(nt=v(nt);!zt.done;_t++,zt=Ce.next())zt=Le(nt,xe,_t,zt.value,Ie),zt!==null&&(a&&zt.alternate!==null&&nt.delete(zt.key===null?_t:zt.key),ye=M(zt,ye,_t),Ut===null?ot=zt:Ut.sibling=zt,Ut=zt);return a&&nt.forEach(function(Ez){return l(xe,Ez)}),St&&at(xe,_t),ot}function Zt(xe,ye,Ce,Ie){if(typeof Ce=="object"&&Ce!==null&&Ce.type===x&&Ce.key===null&&(Ce=Ce.props.children),typeof Ce=="object"&&Ce!==null){switch(Ce.$$typeof){case _:e:{for(var ot=Ce.key;ye!==null;){if(ye.key===ot){if(ot=Ce.type,ot===x){if(ye.tag===7){h(xe,ye.sibling),Ie=A(ye,Ce.props.children),Ie.return=xe,xe=Ie;break e}}else if(ye.elementType===ot||typeof ot=="object"&&ot!==null&&ot.$$typeof===Q&&iu(ot)===ye.type){h(xe,ye.sibling),Ie=A(ye,Ce.props),hd(Ie,Ce),Ie.return=xe,xe=Ie;break e}h(xe,ye);break}else l(xe,ye);ye=ye.sibling}Ce.type===x?(Ie=Co(Ce.props.children,xe.mode,Ie,Ce.key),Ie.return=xe,xe=Ie):(Ie=Jl(Ce.type,Ce.key,Ce.props,null,xe.mode,Ie),hd(Ie,Ce),Ie.return=xe,xe=Ie)}return q(xe);case w:e:{for(ot=Ce.key;ye!==null;){if(ye.key===ot)if(ye.tag===4&&ye.stateNode.containerInfo===Ce.containerInfo&&ye.stateNode.implementation===Ce.implementation){h(xe,ye.sibling),Ie=A(ye,Ce.children||[]),Ie.return=xe,xe=Ie;break e}else{h(xe,ye);break}else l(xe,ye);ye=ye.sibling}Ie=sd(Ce,xe.mode,Ie),Ie.return=xe,xe=Ie}return q(xe);case Q:return Ce=iu(Ce),Zt(xe,ye,Ce,Ie)}if(se(Ce))return et(xe,ye,Ce,Ie);if(te(Ce)){if(ot=te(Ce),typeof ot!="function")throw Error(r(150));return Ce=ot.call(Ce),ct(xe,ye,Ce,Ie)}if(typeof Ce.then=="function")return Zt(xe,ye,Qm(Ce),Ie);if(Ce.$$typeof===O)return Zt(xe,ye,Wm(xe,Ce),Ie);Jm(xe,Ce)}return typeof Ce=="string"&&Ce!==""||typeof Ce=="number"||typeof Ce=="bigint"?(Ce=""+Ce,ye!==null&&ye.tag===6?(h(xe,ye.sibling),Ie=A(ye,Ce),Ie.return=xe,xe=Ie):(h(xe,ye),Ie=dc(Ce,xe.mode,Ie),Ie.return=xe,xe=Ie),q(xe)):h(xe,ye)}return function(xe,ye,Ce,Ie){try{dd=0;var ot=Zt(xe,ye,Ce,Ie);return yc=null,ot}catch(nt){if(nt===vc||nt===Zm)throw nt;var Ut=Or(29,nt,null,xe.mode);return Ut.lanes=Ie,Ut.return=xe,Ut}finally{}}}var ou=j3(!0),M3=j3(!1),Ps=!1;function C0(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function E0(a,l){a=a.updateQueue,l.updateQueue===a&&(l.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function Rs(a){return{lane:a,tag:0,payload:null,callback:null,next:null}}function Ls(a,l,h){var v=a.updateQueue;if(v===null)return null;if(v=v.shared,(Ft&2)!==0){var A=v.pending;return A===null?l.next=l:(l.next=A.next,A.next=l),v.pending=l,l=Ql(a),js(a,null,h),l}return Ga(a,v,l,h),Ql(a)}function md(a,l,h){if(l=l.updateQueue,l!==null&&(l=l.shared,(h&4194048)!==0)){var v=l.lanes;v&=a.pendingLanes,h|=v,l.lanes=h,Gr(a,h)}}function A0(a,l){var h=a.updateQueue,v=a.alternate;if(v!==null&&(v=v.updateQueue,h===v)){var A=null,M=null;if(h=h.firstBaseUpdate,h!==null){do{var q={lane:h.lane,tag:h.tag,payload:h.payload,callback:null,next:null};M===null?A=M=q:M=M.next=q,h=h.next}while(h!==null);M===null?A=M=l:M=M.next=l}else A=M=l;h={baseState:v.baseState,firstBaseUpdate:A,lastBaseUpdate:M,shared:v.shared,callbacks:v.callbacks},a.updateQueue=h;return}a=h.lastBaseUpdate,a===null?h.firstBaseUpdate=l:a.next=l,h.lastBaseUpdate=l}var T0=!1;function pd(){if(T0){var a=gc;if(a!==null)throw a}}function gd(a,l,h,v){T0=!1;var A=a.updateQueue;Ps=!1;var M=A.firstBaseUpdate,q=A.lastBaseUpdate,ie=A.shared.pending;if(ie!==null){A.shared.pending=null;var pe=ie,Ee=pe.next;pe.next=null,q===null?M=Ee:q.next=Ee,q=pe;var ke=a.alternate;ke!==null&&(ke=ke.updateQueue,ie=ke.lastBaseUpdate,ie!==q&&(ie===null?ke.firstBaseUpdate=Ee:ie.next=Ee,ke.lastBaseUpdate=pe))}if(M!==null){var ze=A.baseState;q=0,ke=Ee=pe=null,ie=M;do{var Oe=ie.lane&-536870913,Le=Oe!==ie.lane;if(Le?(jt&Oe)===Oe:(v&Oe)===Oe){Oe!==0&&Oe===pc&&(T0=!0),ke!==null&&(ke=ke.next={lane:0,tag:ie.tag,payload:ie.payload,callback:null,next:null});e:{var et=a,ct=ie;Oe=l;var Zt=h;switch(ct.tag){case 1:if(et=ct.payload,typeof et=="function"){ze=et.call(Zt,ze,Oe);break e}ze=et;break e;case 3:et.flags=et.flags&-65537|128;case 0:if(et=ct.payload,Oe=typeof et=="function"?et.call(Zt,ze,Oe):et,Oe==null)break e;ze=p({},ze,Oe);break e;case 2:Ps=!0}}Oe=ie.callback,Oe!==null&&(a.flags|=64,Le&&(a.flags|=8192),Le=A.callbacks,Le===null?A.callbacks=[Oe]:Le.push(Oe))}else Le={lane:Oe,tag:ie.tag,payload:ie.payload,callback:ie.callback,next:null},ke===null?(Ee=ke=Le,pe=ze):ke=ke.next=Le,q|=Oe;if(ie=ie.next,ie===null){if(ie=A.shared.pending,ie===null)break;Le=ie,ie=Le.next,Le.next=null,A.lastBaseUpdate=Le,A.shared.pending=null}}while(!0);ke===null&&(pe=ze),A.baseState=pe,A.firstBaseUpdate=Ee,A.lastBaseUpdate=ke,M===null&&(A.shared.lanes=0),Us|=q,a.lanes=q,a.memoizedState=ze}}function P3(a,l){if(typeof a!="function")throw Error(r(191,a));a.call(l)}function R3(a,l){var h=a.callbacks;if(h!==null)for(a.callbacks=null,a=0;aM?M:8;var q=Z.T,ie={};Z.T=ie,G0(a,!1,l,h);try{var pe=A(),Ee=Z.S;if(Ee!==null&&Ee(ie,pe),pe!==null&&typeof pe=="object"&&typeof pe.then=="function"){var ke=mU(pe,v);bd(a,l,ke,bi(a))}else bd(a,l,v,bi(a))}catch(ze){bd(a,l,{then:function(){},status:"rejected",reason:ze},bi())}finally{I.p=M,q!==null&&ie.types!==null&&(q.types=ie.types),Z.T=q}}function _U(){}function H0(a,l,h,v){if(a.tag!==5)throw Error(r(476));var A=c4(a).queue;u4(a,A,l,k,h===null?_U:function(){return f4(a),h(v)})}function c4(a){var l=a.memoizedState;if(l!==null)return l;l={memoizedState:k,baseState:k,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Oo,lastRenderedState:k},next:null};var h={};return l.next={memoizedState:h,baseState:h,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Oo,lastRenderedState:h},next:null},a.memoizedState=l,a=a.alternate,a!==null&&(a.memoizedState=l),l}function f4(a){var l=c4(a);l.next===null&&(l=a.alternate.memoizedState),bd(a,l.next.queue,{},bi())}function q0(){return vr(kd)}function d4(){return In().memoizedState}function h4(){return In().memoizedState}function xU(a){for(var l=a.return;l!==null;){switch(l.tag){case 24:case 3:var h=bi();a=Rs(h);var v=Ls(l,a,h);v!==null&&(ii(v,l,h),md(v,l,h)),l={cache:_0()},a.payload=l;return}l=l.return}}function wU(a,l,h){var v=bi();h={lane:v,revertLane:0,gesture:null,action:h,hasEagerState:!1,eagerState:null,next:null},up(a)?p4(l,h):(h=id(a,l,h,v),h!==null&&(ii(h,a,v),g4(h,l,v)))}function m4(a,l,h){var v=bi();bd(a,l,h,v)}function bd(a,l,h,v){var A={lane:v,revertLane:0,gesture:null,action:h,hasEagerState:!1,eagerState:null,next:null};if(up(a))p4(l,A);else{var M=a.alternate;if(a.lanes===0&&(M===null||M.lanes===0)&&(M=l.lastRenderedReducer,M!==null))try{var q=l.lastRenderedState,ie=M(q,h);if(A.hasEagerState=!0,A.eagerState=ie,sr(ie,q))return Ga(a,l,A,0),Jt===null&&Xl(),!1}catch{}finally{}if(h=id(a,l,A,v),h!==null)return ii(h,a,v),g4(h,l,v),!0}return!1}function G0(a,l,h,v){if(v={lane:2,revertLane:C1(),gesture:null,action:v,hasEagerState:!1,eagerState:null,next:null},up(a)){if(l)throw Error(r(479))}else l=id(a,h,v,2),l!==null&&ii(l,a,2)}function up(a){var l=a.alternate;return a===vt||l!==null&&l===vt}function p4(a,l){_c=np=!0;var h=a.pending;h===null?l.next=l:(l.next=h.next,h.next=l),a.pending=l}function g4(a,l,h){if((h&4194048)!==0){var v=l.lanes;v&=a.pendingLanes,h|=v,l.lanes=h,Gr(a,h)}}var _d={readContext:vr,use:ap,useCallback:On,useContext:On,useEffect:On,useImperativeHandle:On,useLayoutEffect:On,useInsertionEffect:On,useMemo:On,useReducer:On,useRef:On,useState:On,useDebugValue:On,useDeferredValue:On,useTransition:On,useSyncExternalStore:On,useId:On,useHostTransitionStatus:On,useFormState:On,useActionState:On,useOptimistic:On,useMemoCache:On,useCacheRefresh:On};_d.useEffectEvent=On;var v4={readContext:vr,use:ap,useCallback:function(a,l){return Ur().memoizedState=[a,l===void 0?null:l],a},useContext:vr,useEffect:e4,useImperativeHandle:function(a,l,h){h=h!=null?h.concat([a]):null,sp(4194308,4,i4.bind(null,l,a),h)},useLayoutEffect:function(a,l){return sp(4194308,4,a,l)},useInsertionEffect:function(a,l){sp(4,2,a,l)},useMemo:function(a,l){var h=Ur();l=l===void 0?null:l;var v=a();if(su){Dt(!0);try{a()}finally{Dt(!1)}}return h.memoizedState=[v,l],v},useReducer:function(a,l,h){var v=Ur();if(h!==void 0){var A=h(l);if(su){Dt(!0);try{h(l)}finally{Dt(!1)}}}else A=l;return v.memoizedState=v.baseState=A,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:A},v.queue=a,a=a.dispatch=wU.bind(null,vt,a),[v.memoizedState,a]},useRef:function(a){var l=Ur();return a={current:a},l.memoizedState=a},useState:function(a){a=z0(a);var l=a.queue,h=m4.bind(null,vt,l);return l.dispatch=h,[a.memoizedState,h]},useDebugValue:$0,useDeferredValue:function(a,l){var h=Ur();return V0(h,a,l)},useTransition:function(){var a=z0(!1);return a=u4.bind(null,vt,a.queue,!0,!1),Ur().memoizedState=a,[!1,a]},useSyncExternalStore:function(a,l,h){var v=vt,A=Ur();if(St){if(h===void 0)throw Error(r(407));h=h()}else{if(h=l(),Jt===null)throw Error(r(349));(jt&127)!==0||U3(v,l,h)}A.memoizedState=h;var M={value:h,getSnapshot:l};return A.queue=M,e4(B3.bind(null,v,M,a),[a]),v.flags|=2048,wc(9,{destroy:void 0},z3.bind(null,v,M,h,l),null),h},useId:function(){var a=Ur(),l=Jt.identifierPrefix;if(St){var h=Xe,v=Ue;h=(v&~(1<<32-yt(v)-1)).toString(32)+h,l="_"+l+"R_"+h,h=rp++,0<\/script>",M=M.removeChild(M.firstChild);break;case"select":M=typeof v.is=="string"?q.createElement("select",{is:v.is}):q.createElement("select"),v.multiple?M.multiple=!0:v.size&&(M.size=v.size);break;default:M=typeof v.is=="string"?q.createElement(A,{is:v.is}):q.createElement(A)}}M[Fn]=l,M[or]=v;e:for(q=l.child;q!==null;){if(q.tag===5||q.tag===6)M.appendChild(q.stateNode);else if(q.tag!==4&&q.tag!==27&&q.child!==null){q.child.return=q,q=q.child;continue}if(q===l)break e;for(;q.sibling===null;){if(q.return===null||q.return===l)break e;q=q.return}q.sibling.return=q.return,q=q.sibling}l.stateNode=M;e:switch(br(M,A,v),A){case"button":case"input":case"select":case"textarea":v=!!v.autoFocus;break e;case"img":v=!0;break e;default:v=!1}v&&Mo(l)}}return on(l),o1(l,l.type,a===null?null:a.memoizedProps,l.pendingProps,h),null;case 6:if(a&&l.stateNode!=null)a.memoizedProps!==v&&Mo(l);else{if(typeof v!="string"&&l.stateNode===null)throw Error(r(166));if(a=fe.current,ma(l)){if(a=l.stateNode,h=l.memoizedProps,v=null,A=kt,A!==null)switch(A.tag){case 27:case 5:v=A.memoizedProps}a[Fn]=l,a=!!(a.nodeValue===h||v!==null&&v.suppressHydrationWarning===!0||kE(a.nodeValue,h)),a||Wa(l,!0)}else a=jp(a).createTextNode(v),a[Fn]=l,l.stateNode=a}return on(l),null;case 31:if(h=l.memoizedState,a===null||a.memoizedState!==null){if(v=ma(l),h!==null){if(a===null){if(!v)throw Error(r(318));if(a=l.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(r(557));a[Fn]=l}else Eo(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;on(l),a=!1}else h=ud(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=h),a=!0;if(!a)return l.flags&256?(gi(l),l):(gi(l),null);if((l.flags&128)!==0)throw Error(r(558))}return on(l),null;case 13:if(v=l.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(A=ma(l),v!==null&&v.dehydrated!==null){if(a===null){if(!A)throw Error(r(318));if(A=l.memoizedState,A=A!==null?A.dehydrated:null,!A)throw Error(r(317));A[Fn]=l}else Eo(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;on(l),A=!1}else A=ud(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=A),A=!0;if(!A)return l.flags&256?(gi(l),l):(gi(l),null)}return gi(l),(l.flags&128)!==0?(l.lanes=h,l):(h=v!==null,a=a!==null&&a.memoizedState!==null,h&&(v=l.child,A=null,v.alternate!==null&&v.alternate.memoizedState!==null&&v.alternate.memoizedState.cachePool!==null&&(A=v.alternate.memoizedState.cachePool.pool),M=null,v.memoizedState!==null&&v.memoizedState.cachePool!==null&&(M=v.memoizedState.cachePool.pool),M!==A&&(v.flags|=2048)),h!==a&&h&&(l.child.flags|=8192),mp(l,l.updateQueue),on(l),null);case 4:return F(),a===null&&O1(l.stateNode.containerInfo),on(l),null;case 10:return Ao(l.type),on(l),null;case 19:if(G(kn),v=l.memoizedState,v===null)return on(l),null;if(A=(l.flags&128)!==0,M=v.rendering,M===null)if(A)wd(v,!1);else{if(jn!==0||a!==null&&(a.flags&128)!==0)for(a=l.child;a!==null;){if(M=tp(a),M!==null){for(l.flags|=128,wd(v,!1),a=M.updateQueue,l.updateQueue=a,mp(l,a),l.subtreeFlags=0,a=h,h=l.child;h!==null;)ad(h,a),h=h.sibling;return Y(kn,kn.current&1|2),St&&at(l,v.treeForkCount),l.child}a=a.sibling}v.tail!==null&&_e()>bp&&(l.flags|=128,A=!0,wd(v,!1),l.lanes=4194304)}else{if(!A)if(a=tp(M),a!==null){if(l.flags|=128,A=!0,a=a.updateQueue,l.updateQueue=a,mp(l,a),wd(v,!0),v.tail===null&&v.tailMode==="hidden"&&!M.alternate&&!St)return on(l),null}else 2*_e()-v.renderingStartTime>bp&&h!==536870912&&(l.flags|=128,A=!0,wd(v,!1),l.lanes=4194304);v.isBackwards?(M.sibling=l.child,l.child=M):(a=v.last,a!==null?a.sibling=M:l.child=M,v.last=M)}return v.tail!==null?(a=v.tail,v.rendering=a,v.tail=a.sibling,v.renderingStartTime=_e(),a.sibling=null,h=kn.current,Y(kn,A?h&1|2:h&1),St&&at(l,v.treeForkCount),a):(on(l),null);case 22:case 23:return gi(l),j0(),v=l.memoizedState!==null,a!==null?a.memoizedState!==null!==v&&(l.flags|=8192):v&&(l.flags|=8192),v?(h&536870912)!==0&&(l.flags&128)===0&&(on(l),l.subtreeFlags&6&&(l.flags|=8192)):on(l),h=l.updateQueue,h!==null&&mp(l,h.retryQueue),h=null,a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(h=a.memoizedState.cachePool.pool),v=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(v=l.memoizedState.cachePool.pool),v!==h&&(l.flags|=2048),a!==null&&G(ru),null;case 24:return h=null,a!==null&&(h=a.memoizedState.cache),l.memoizedState.cache!==h&&(l.flags|=2048),Ao(Vn),on(l),null;case 25:return null;case 30:return null}throw Error(r(156,l.tag))}function TU(a,l){switch(Tn(l),l.tag){case 1:return a=l.flags,a&65536?(l.flags=a&-65537|128,l):null;case 3:return Ao(Vn),F(),a=l.flags,(a&65536)!==0&&(a&128)===0?(l.flags=a&-65537|128,l):null;case 26:case 27:case 5:return le(l),null;case 31:if(l.memoizedState!==null){if(gi(l),l.alternate===null)throw Error(r(340));Eo()}return a=l.flags,a&65536?(l.flags=a&-65537|128,l):null;case 13:if(gi(l),a=l.memoizedState,a!==null&&a.dehydrated!==null){if(l.alternate===null)throw Error(r(340));Eo()}return a=l.flags,a&65536?(l.flags=a&-65537|128,l):null;case 19:return G(kn),null;case 4:return F(),null;case 10:return Ao(l.type),null;case 22:case 23:return gi(l),j0(),a!==null&&G(ru),a=l.flags,a&65536?(l.flags=a&-65537|128,l):null;case 24:return Ao(Vn),null;case 25:return null;default:return null}}function F4(a,l){switch(Tn(l),l.tag){case 3:Ao(Vn),F();break;case 26:case 27:case 5:le(l);break;case 4:F();break;case 31:l.memoizedState!==null&&gi(l);break;case 13:gi(l);break;case 19:G(kn);break;case 10:Ao(l.type);break;case 22:case 23:gi(l),j0(),a!==null&&G(ru);break;case 24:Ao(Vn)}}function Sd(a,l){try{var h=l.updateQueue,v=h!==null?h.lastEffect:null;if(v!==null){var A=v.next;h=A;do{if((h.tag&a)===a){v=void 0;var M=h.create,q=h.inst;v=M(),q.destroy=v}h=h.next}while(h!==A)}}catch(ie){qt(l,l.return,ie)}}function ks(a,l,h){try{var v=l.updateQueue,A=v!==null?v.lastEffect:null;if(A!==null){var M=A.next;v=M;do{if((v.tag&a)===a){var q=v.inst,ie=q.destroy;if(ie!==void 0){q.destroy=void 0,A=l;var pe=h,Ee=ie;try{Ee()}catch(ke){qt(A,pe,ke)}}}v=v.next}while(v!==M)}}catch(ke){qt(l,l.return,ke)}}function $4(a){var l=a.updateQueue;if(l!==null){var h=a.stateNode;try{R3(l,h)}catch(v){qt(a,a.return,v)}}}function V4(a,l,h){h.props=lu(a.type,a.memoizedProps),h.state=a.memoizedState;try{h.componentWillUnmount()}catch(v){qt(a,l,v)}}function Cd(a,l){try{var h=a.ref;if(h!==null){switch(a.tag){case 26:case 27:case 5:var v=a.stateNode;break;case 30:v=a.stateNode;break;default:v=a.stateNode}typeof h=="function"?a.refCleanup=h(v):h.current=v}}catch(A){qt(a,l,A)}}function Za(a,l){var h=a.ref,v=a.refCleanup;if(h!==null)if(typeof v=="function")try{v()}catch(A){qt(a,l,A)}finally{a.refCleanup=null,a=a.alternate,a!=null&&(a.refCleanup=null)}else if(typeof h=="function")try{h(null)}catch(A){qt(a,l,A)}else h.current=null}function H4(a){var l=a.type,h=a.memoizedProps,v=a.stateNode;try{e:switch(l){case"button":case"input":case"select":case"textarea":h.autoFocus&&v.focus();break e;case"img":h.src?v.src=h.src:h.srcSet&&(v.srcset=h.srcSet)}}catch(A){qt(a,a.return,A)}}function s1(a,l,h){try{var v=a.stateNode;KU(v,a.type,h,l),v[or]=l}catch(A){qt(a,a.return,A)}}function q4(a){return a.tag===5||a.tag===3||a.tag===26||a.tag===27&&Vs(a.type)||a.tag===4}function l1(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||q4(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.tag===27&&Vs(a.type)||a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function u1(a,l,h){var v=a.tag;if(v===5||v===6)a=a.stateNode,l?(h.nodeType===9?h.body:h.nodeName==="HTML"?h.ownerDocument.body:h).insertBefore(a,l):(l=h.nodeType===9?h.body:h.nodeName==="HTML"?h.ownerDocument.body:h,l.appendChild(a),h=h._reactRootContainer,h!=null||l.onclick!==null||(l.onclick=Kr));else if(v!==4&&(v===27&&Vs(a.type)&&(h=a.stateNode,l=null),a=a.child,a!==null))for(u1(a,l,h),a=a.sibling;a!==null;)u1(a,l,h),a=a.sibling}function pp(a,l,h){var v=a.tag;if(v===5||v===6)a=a.stateNode,l?h.insertBefore(a,l):h.appendChild(a);else if(v!==4&&(v===27&&Vs(a.type)&&(h=a.stateNode),a=a.child,a!==null))for(pp(a,l,h),a=a.sibling;a!==null;)pp(a,l,h),a=a.sibling}function G4(a){var l=a.stateNode,h=a.memoizedProps;try{for(var v=a.type,A=l.attributes;A.length;)l.removeAttributeNode(A[0]);br(l,v,h),l[Fn]=a,l[or]=h}catch(M){qt(a,a.return,M)}}var Po=!1,Gn=!1,c1=!1,Y4=typeof WeakSet=="function"?WeakSet:Set,ur=null;function OU(a,l){if(a=a.containerInfo,P1=kp,a=Gl(a),$a(a)){if("selectionStart"in a)var h={start:a.selectionStart,end:a.selectionEnd};else e:{h=(h=a.ownerDocument)&&h.defaultView||window;var v=h.getSelection&&h.getSelection();if(v&&v.rangeCount!==0){h=v.anchorNode;var A=v.anchorOffset,M=v.focusNode;v=v.focusOffset;try{h.nodeType,M.nodeType}catch{h=null;break e}var q=0,ie=-1,pe=-1,Ee=0,ke=0,ze=a,Oe=null;t:for(;;){for(var Le;ze!==h||A!==0&&ze.nodeType!==3||(ie=q+A),ze!==M||v!==0&&ze.nodeType!==3||(pe=q+v),ze.nodeType===3&&(q+=ze.nodeValue.length),(Le=ze.firstChild)!==null;)Oe=ze,ze=Le;for(;;){if(ze===a)break t;if(Oe===h&&++Ee===A&&(ie=q),Oe===M&&++ke===v&&(pe=q),(Le=ze.nextSibling)!==null)break;ze=Oe,Oe=ze.parentNode}ze=Le}h=ie===-1||pe===-1?null:{start:ie,end:pe}}else h=null}h=h||{start:0,end:0}}else h=null;for(R1={focusedElem:a,selectionRange:h},kp=!1,ur=l;ur!==null;)if(l=ur,a=l.child,(l.subtreeFlags&1028)!==0&&a!==null)a.return=l,ur=a;else for(;ur!==null;){switch(l=ur,M=l.alternate,a=l.flags,l.tag){case 0:if((a&4)!==0&&(a=l.updateQueue,a=a!==null?a.events:null,a!==null))for(h=0;h title"))),br(M,v,h),M[Fn]=a,$n(M),v=M;break e;case"link":var q=JE("link","href",A).get(v+(h.href||""));if(q){for(var ie=0;ieZt&&(q=Zt,Zt=ct,ct=q);var xe=ql(ie,ct),ye=ql(ie,Zt);if(xe&&ye&&(Le.rangeCount!==1||Le.anchorNode!==xe.node||Le.anchorOffset!==xe.offset||Le.focusNode!==ye.node||Le.focusOffset!==ye.offset)){var Ce=ze.createRange();Ce.setStart(xe.node,xe.offset),Le.removeAllRanges(),ct>Zt?(Le.addRange(Ce),Le.extend(ye.node,ye.offset)):(Ce.setEnd(ye.node,ye.offset),Le.addRange(Ce))}}}}for(ze=[],Le=ie;Le=Le.parentNode;)Le.nodeType===1&&ze.push({element:Le,left:Le.scrollLeft,top:Le.scrollTop});for(typeof ie.focus=="function"&&ie.focus(),ie=0;ieh?32:h,Z.T=null,h=v1,v1=null;var M=Bs,q=ko;if(er=0,Tc=Bs=null,ko=0,(Ft&6)!==0)throw Error(r(331));var ie=Ft;if(Ft|=4,iE(M.current),tE(M,M.current,q,h),Ft=ie,Md(0,!1),gt&&typeof gt.onPostCommitFiberRoot=="function")try{gt.onPostCommitFiberRoot(dt,M)}catch{}return!0}finally{I.p=A,Z.T=v,wE(a,l)}}function CE(a,l,h){l=g(h,l),l=Z0(a.stateNode,l,2),a=Ls(a,l,2),a!==null&&(_n(a,2),Xa(a))}function qt(a,l,h){if(a.tag===3)CE(a,a,h);else for(;l!==null;){if(l.tag===3){CE(l,a,h);break}else if(l.tag===1){var v=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof v.componentDidCatch=="function"&&(zs===null||!zs.has(v))){a=g(h,a),h=E4(2),v=Ls(l,h,2),v!==null&&(A4(h,v,l,a),_n(v,2),Xa(v));break}}l=l.return}}function x1(a,l,h){var v=a.pingCache;if(v===null){v=a.pingCache=new PU;var A=new Set;v.set(l,A)}else A=v.get(l),A===void 0&&(A=new Set,v.set(l,A));A.has(h)||(h1=!0,A.add(h),a=kU.bind(null,a,l,h),l.then(a,a))}function kU(a,l,h){var v=a.pingCache;v!==null&&v.delete(l),a.pingedLanes|=a.suspendedLanes&h,a.warmLanes&=~h,Jt===a&&(jt&h)===h&&(jn===4||jn===3&&(jt&62914560)===jt&&300>_e()-yp?(Ft&2)===0&&Oc(a,0):m1|=h,Ac===jt&&(Ac=0)),Xa(a)}function EE(a,l){l===0&&(l=fn()),a=Gi(a,l),a!==null&&(_n(a,l),Xa(a))}function IU(a){var l=a.memoizedState,h=0;l!==null&&(h=l.retryLane),EE(a,h)}function UU(a,l){var h=0;switch(a.tag){case 31:case 13:var v=a.stateNode,A=a.memoizedState;A!==null&&(h=A.retryLane);break;case 19:v=a.stateNode;break;case 22:v=a.stateNode._retryCache;break;default:throw Error(r(314))}v!==null&&v.delete(l),EE(a,h)}function zU(a,l){return Ve(a,l)}var Ep=null,Mc=null,w1=!1,Ap=!1,S1=!1,$s=0;function Xa(a){a!==Mc&&a.next===null&&(Mc===null?Ep=Mc=a:Mc=Mc.next=a),Ap=!0,w1||(w1=!0,FU())}function Md(a,l){if(!S1&&Ap){S1=!0;do for(var h=!1,v=Ep;v!==null;){if(a!==0){var A=v.pendingLanes;if(A===0)var M=0;else{var q=v.suspendedLanes,ie=v.pingedLanes;M=(1<<31-yt(42|a)+1)-1,M&=A&~(q&~ie),M=M&201326741?M&201326741|1:M?M|2:0}M!==0&&(h=!0,jE(v,M))}else M=jt,M=Da(v,v===Jt?M:0,v.cancelPendingCommit!==null||v.timeoutHandle!==-1),(M&3)===0||ci(v,M)||(h=!0,jE(v,M));v=v.next}while(h);S1=!1}}function BU(){AE()}function AE(){Ap=w1=!1;var a=0;$s!==0&&XU()&&(a=$s);for(var l=_e(),h=null,v=Ep;v!==null;){var A=v.next,M=TE(v,l);M===0?(v.next=null,h===null?Ep=A:h.next=A,A===null&&(Mc=h)):(h=v,(a!==0||(M&3)!==0)&&(Ap=!0)),v=A}er!==0&&er!==5||Md(a),$s!==0&&($s=0)}function TE(a,l){for(var h=a.suspendedLanes,v=a.pingedLanes,A=a.expirationTimes,M=a.pendingLanes&-62914561;0ie)break;var ke=pe.transferSize,ze=pe.initiatorType;ke&&IE(ze)&&(pe=pe.responseEnd,q+=ke*(pe"u"?null:document;function KE(a,l,h){var v=Pc;if(v&&typeof l=="string"&&l){var A=an(l);A='link[rel="'+a+'"][href="'+A+'"]',typeof h=="string"&&(A+='[crossorigin="'+h+'"]'),WE.has(A)||(WE.add(A),a={rel:a,crossOrigin:h,href:l},v.querySelector(A)===null&&(l=v.createElement("link"),br(l,"link",a),$n(l),v.head.appendChild(l)))}}function oz(a){Io.D(a),KE("dns-prefetch",a,null)}function sz(a,l){Io.C(a,l),KE("preconnect",a,l)}function lz(a,l,h){Io.L(a,l,h);var v=Pc;if(v&&a&&l){var A='link[rel="preload"][as="'+an(l)+'"]';l==="image"&&h&&h.imageSrcSet?(A+='[imagesrcset="'+an(h.imageSrcSet)+'"]',typeof h.imageSizes=="string"&&(A+='[imagesizes="'+an(h.imageSizes)+'"]')):A+='[href="'+an(a)+'"]';var M=A;switch(l){case"style":M=Rc(a);break;case"script":M=Lc(a)}Zi.has(M)||(a=p({rel:"preload",href:l==="image"&&h&&h.imageSrcSet?void 0:a,as:l},h),Zi.set(M,a),v.querySelector(A)!==null||l==="style"&&v.querySelector(Nd(M))||l==="script"&&v.querySelector(Dd(M))||(l=v.createElement("link"),br(l,"link",a),$n(l),v.head.appendChild(l)))}}function uz(a,l){Io.m(a,l);var h=Pc;if(h&&a){var v=l&&typeof l.as=="string"?l.as:"script",A='link[rel="modulepreload"][as="'+an(v)+'"][href="'+an(a)+'"]',M=A;switch(v){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":M=Lc(a)}if(!Zi.has(M)&&(a=p({rel:"modulepreload",href:a},l),Zi.set(M,a),h.querySelector(A)===null)){switch(v){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(h.querySelector(Dd(M)))return}v=h.createElement("link"),br(v,"link",a),$n(v),h.head.appendChild(v)}}}function cz(a,l,h){Io.S(a,l,h);var v=Pc;if(v&&a){var A=hs(v).hoistableStyles,M=Rc(a);l=l||"default";var q=A.get(M);if(!q){var ie={loading:0,preload:null};if(q=v.querySelector(Nd(M)))ie.loading=5;else{a=p({rel:"stylesheet",href:a,"data-precedence":l},h),(h=Zi.get(M))&&z1(a,h);var pe=q=v.createElement("link");$n(pe),br(pe,"link",a),pe._p=new Promise(function(Ee,ke){pe.onload=Ee,pe.onerror=ke}),pe.addEventListener("load",function(){ie.loading|=1}),pe.addEventListener("error",function(){ie.loading|=2}),ie.loading|=4,Pp(q,l,v)}q={type:"stylesheet",instance:q,count:1,state:ie},A.set(M,q)}}}function fz(a,l){Io.X(a,l);var h=Pc;if(h&&a){var v=hs(h).hoistableScripts,A=Lc(a),M=v.get(A);M||(M=h.querySelector(Dd(A)),M||(a=p({src:a,async:!0},l),(l=Zi.get(A))&&B1(a,l),M=h.createElement("script"),$n(M),br(M,"link",a),h.head.appendChild(M)),M={type:"script",instance:M,count:1,state:null},v.set(A,M))}}function dz(a,l){Io.M(a,l);var h=Pc;if(h&&a){var v=hs(h).hoistableScripts,A=Lc(a),M=v.get(A);M||(M=h.querySelector(Dd(A)),M||(a=p({src:a,async:!0,type:"module"},l),(l=Zi.get(A))&&B1(a,l),M=h.createElement("script"),$n(M),br(M,"link",a),h.head.appendChild(M)),M={type:"script",instance:M,count:1,state:null},v.set(A,M))}}function ZE(a,l,h,v){var A=(A=fe.current)?Mp(A):null;if(!A)throw Error(r(446));switch(a){case"meta":case"title":return null;case"style":return typeof h.precedence=="string"&&typeof h.href=="string"?(l=Rc(h.href),h=hs(A).hoistableStyles,v=h.get(l),v||(v={type:"style",instance:null,count:0,state:null},h.set(l,v)),v):{type:"void",instance:null,count:0,state:null};case"link":if(h.rel==="stylesheet"&&typeof h.href=="string"&&typeof h.precedence=="string"){a=Rc(h.href);var M=hs(A).hoistableStyles,q=M.get(a);if(q||(A=A.ownerDocument||A,q={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},M.set(a,q),(M=A.querySelector(Nd(a)))&&!M._p&&(q.instance=M,q.state.loading=5),Zi.has(a)||(h={rel:"preload",as:"style",href:h.href,crossOrigin:h.crossOrigin,integrity:h.integrity,media:h.media,hrefLang:h.hrefLang,referrerPolicy:h.referrerPolicy},Zi.set(a,h),M||hz(A,a,h,q.state))),l&&v===null)throw Error(r(528,""));return q}if(l&&v!==null)throw Error(r(529,""));return null;case"script":return l=h.async,h=h.src,typeof h=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=Lc(h),h=hs(A).hoistableScripts,v=h.get(l),v||(v={type:"script",instance:null,count:0,state:null},h.set(l,v)),v):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,a))}}function Rc(a){return'href="'+an(a)+'"'}function Nd(a){return'link[rel="stylesheet"]['+a+"]"}function XE(a){return p({},a,{"data-precedence":a.precedence,precedence:null})}function hz(a,l,h,v){a.querySelector('link[rel="preload"][as="style"]['+l+"]")?v.loading=1:(l=a.createElement("link"),v.preload=l,l.addEventListener("load",function(){return v.loading|=1}),l.addEventListener("error",function(){return v.loading|=2}),br(l,"link",h),$n(l),a.head.appendChild(l))}function Lc(a){return'[src="'+an(a)+'"]'}function Dd(a){return"script[async]"+a}function QE(a,l,h){if(l.count++,l.instance===null)switch(l.type){case"style":var v=a.querySelector('style[data-href~="'+an(h.href)+'"]');if(v)return l.instance=v,$n(v),v;var A=p({},h,{"data-href":h.href,"data-precedence":h.precedence,href:null,precedence:null});return v=(a.ownerDocument||a).createElement("style"),$n(v),br(v,"style",A),Pp(v,h.precedence,a),l.instance=v;case"stylesheet":A=Rc(h.href);var M=a.querySelector(Nd(A));if(M)return l.state.loading|=4,l.instance=M,$n(M),M;v=XE(h),(A=Zi.get(A))&&z1(v,A),M=(a.ownerDocument||a).createElement("link"),$n(M);var q=M;return q._p=new Promise(function(ie,pe){q.onload=ie,q.onerror=pe}),br(M,"link",v),l.state.loading|=4,Pp(M,h.precedence,a),l.instance=M;case"script":return M=Lc(h.src),(A=a.querySelector(Dd(M)))?(l.instance=A,$n(A),A):(v=h,(A=Zi.get(M))&&(v=p({},h),B1(v,A)),a=a.ownerDocument||a,A=a.createElement("script"),$n(A),br(A,"link",v),a.head.appendChild(A),l.instance=A);case"void":return null;default:throw Error(r(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(v=l.instance,l.state.loading|=4,Pp(v,h.precedence,a));return l.instance}function Pp(a,l,h){for(var v=h.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),A=v.length?v[v.length-1]:null,M=A,q=0;q title"):null)}function mz(a,l,h){if(h===1||l.itemProp!=null)return!1;switch(a){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;switch(l.rel){case"stylesheet":return a=l.disabled,typeof l.precedence=="string"&&a==null;default:return!0}case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function tA(a){return!(a.type==="stylesheet"&&(a.state.loading&3)===0)}function pz(a,l,h,v){if(h.type==="stylesheet"&&(typeof v.media!="string"||matchMedia(v.media).matches!==!1)&&(h.state.loading&4)===0){if(h.instance===null){var A=Rc(v.href),M=l.querySelector(Nd(A));if(M){l=M._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(a.count++,a=Lp.bind(a),l.then(a,a)),h.state.loading|=4,h.instance=M,$n(M);return}M=l.ownerDocument||l,v=XE(v),(A=Zi.get(A))&&z1(v,A),M=M.createElement("link"),$n(M);var q=M;q._p=new Promise(function(ie,pe){q.onload=ie,q.onerror=pe}),br(M,"link",v),h.instance=M}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(h,l),(l=h.state.preload)&&(h.state.loading&3)===0&&(a.count++,h=Lp.bind(a),l.addEventListener("load",h),l.addEventListener("error",h))}}var F1=0;function gz(a,l){return a.stylesheets&&a.count===0&&Dp(a,a.stylesheets),0F1?50:800)+l);return a.unsuspend=h,function(){a.unsuspend=null,clearTimeout(v),clearTimeout(A)}}:null}function Lp(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Dp(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null,a()}}}var Np=null;function Dp(a,l){a.stylesheets=null,a.unsuspend!==null&&(a.count++,Np=new Map,l.forEach(vz,a),Np=null,Lp.call(a))}function vz(a,l){if(!(l.state.loading&4)){var h=Np.get(a);if(h)var v=h.get(null);else{h=new Map,Np.set(a,h);for(var A=a.querySelectorAll("link[data-precedence],style[data-precedence]"),M=0;M"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),K1.exports=Lz(),K1.exports}var Dz=Nz(),C=pf();const Qc=oa(C),F2=Az({__proto__:null,default:Qc},[C]);var eb={exports:{}},tb={};/** + * @license React + * use-sync-external-store-with-selector.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 EA;function kz(){if(EA)return tb;EA=1;var e=pf();function t(d,f){return d===f&&(d!==0||1/d===1/f)||d!==d&&f!==f}var n=typeof Object.is=="function"?Object.is:t,r=e.useSyncExternalStore,i=e.useRef,o=e.useEffect,s=e.useMemo,u=e.useDebugValue;return tb.useSyncExternalStoreWithSelector=function(d,f,m,p,b){var _=i(null);if(_.current===null){var w={hasValue:!1,value:null};_.current=w}else w=_.current;_=s(function(){function E(B){if(!T){if(T=!0,j=B,B=p(B),b!==void 0&&w.hasValue){var $=w.value;if(b($,B))return O=$}return O=B}if($=O,n(j,B))return $;var K=p(B);return b!==void 0&&b($,K)?(j=B,$):(j=B,O=K)}var T=!1,j,O,N=m===void 0?null:m;return[function(){return E(f())},N===null?void 0:function(){return E(N())}]},[f,m,p,b]);var x=r(d,_[0],_[1]);return o(function(){w.hasValue=!0,w.value=x},[x]),u(x),x},tb}var AA;function Iz(){return AA||(AA=1,eb.exports=kz()),eb.exports}Iz();var Uz=C.version.startsWith("19"),zz=Symbol.for(Uz?"react.transitional.element":"react.element"),Bz=Symbol.for("react.portal"),Fz=Symbol.for("react.fragment"),$z=Symbol.for("react.strict_mode"),Vz=Symbol.for("react.profiler"),Hz=Symbol.for("react.consumer"),qz=Symbol.for("react.context"),hR=Symbol.for("react.forward_ref"),Gz=Symbol.for("react.suspense"),Yz=Symbol.for("react.suspense_list"),$2=Symbol.for("react.memo"),Wz=Symbol.for("react.lazy"),Kz=hR,Zz=$2;function Xz(e){if(typeof e=="object"&&e!==null){const{$$typeof:t}=e;switch(t){case zz:switch(e=e.type,e){case Fz:case Vz:case $z:case Gz:case Yz:return e;default:switch(e=e&&e.$$typeof,e){case qz:case hR:case Wz:case $2:return e;case Hz:return e;default:return t}}case Bz:return t}}}function Qz(e){return Xz(e)===$2}function Jz(e,t,n,r,{areStatesEqual:i,areOwnPropsEqual:o,areStatePropsEqual:s}){let u=!1,d,f,m,p,b;function _(j,O){return d=j,f=O,m=e(d,f),p=t(r,f),b=n(m,p,f),u=!0,b}function w(){return m=e(d,f),t.dependsOnOwnProps&&(p=t(r,f)),b=n(m,p,f),b}function x(){return e.dependsOnOwnProps&&(m=e(d,f)),t.dependsOnOwnProps&&(p=t(r,f)),b=n(m,p,f),b}function E(){const j=e(d,f),O=!s(j,m);return m=j,O&&(b=n(m,p,f)),b}function T(j,O){const N=!o(O,f),B=!i(j,d,O,f);return d=j,f=O,N&&B?w():N?x():B?E():b}return function(O,N){return u?T(O,N):_(O,N)}}function eB(e,{initMapStateToProps:t,initMapDispatchToProps:n,initMergeProps:r,...i}){const o=t(e,i),s=n(e,i),u=r(e,i);return Jz(o,s,u,e,i)}function tB(e,t){const n={};for(const r in e){const i=e[r];typeof i=="function"&&(n[r]=(...o)=>t(i(...o)))}return n}function dx(e){return function(n){const r=e(n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function TA(e){return e.dependsOnOwnProps?!!e.dependsOnOwnProps:e.length!==1}function mR(e,t){return function(r,{displayName:i}){const o=function(u,d){return o.dependsOnOwnProps?o.mapToProps(u,d):o.mapToProps(u,void 0)};return o.dependsOnOwnProps=!0,o.mapToProps=function(u,d){o.mapToProps=e,o.dependsOnOwnProps=TA(e);let f=o(u,d);return typeof f=="function"&&(o.mapToProps=f,o.dependsOnOwnProps=TA(f),f=o(u,d)),f},o}}function V2(e,t){return(n,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function nB(e){return e&&typeof e=="object"?dx(t=>tB(e,t)):e?typeof e=="function"?mR(e):V2(e,"mapDispatchToProps"):dx(t=>({dispatch:t}))}function rB(e){return e?typeof e=="function"?mR(e):V2(e,"mapStateToProps"):dx(()=>({}))}function iB(e,t,n){return{...n,...e,...t}}function aB(e){return function(n,{displayName:r,areMergedPropsEqual:i}){let o=!1,s;return function(d,f,m){const p=e(d,f,m);return o?i(p,s)||(s=p):(o=!0,s=p),s}}}function oB(e){return e?typeof e=="function"?aB(e):V2(e,"mergeProps"):()=>iB}function sB(e){e()}function lB(){let e=null,t=null;return{clear(){e=null,t=null},notify(){sB(()=>{let n=e;for(;n;)n.callback(),n=n.next})},get(){const n=[];let r=e;for(;r;)n.push(r),r=r.next;return n},subscribe(n){let r=!0;const i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!r||e===null||(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var OA={notify(){},get:()=>[]};function pR(e,t){let n,r=OA,i=0,o=!1;function s(x){m();const E=r.subscribe(x);let T=!1;return()=>{T||(T=!0,E(),p())}}function u(){r.notify()}function d(){w.onStateChange&&w.onStateChange()}function f(){return o}function m(){i++,n||(n=t?t.addNestedSub(d):e.subscribe(d),r=lB())}function p(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=OA)}function b(){o||(o=!0,m())}function _(){o&&(o=!1,p())}const w={addNestedSub:s,notifyNestedSubs:u,handleChangeWrapper:d,isSubscribed:f,trySubscribe:b,tryUnsubscribe:_,getListeners:()=>r};return w}var uB=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",cB=uB(),fB=()=>typeof navigator<"u"&&navigator.product==="ReactNative",dB=fB(),hB=()=>cB||dB?C.useLayoutEffect:C.useEffect,Ng=hB();function jA(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function nb(e,t){if(jA(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let i=0;ie(...t),n)}function TB(e,t,n,r,i,o){e.current=r,n.current=!1,i.current&&(i.current=null,o())}function OB(e,t,n,r,i,o,s,u,d,f,m){if(!e)return()=>{};let p=!1,b=null;const _=()=>{if(p||!u.current)return;const x=t.getState();let E,T;try{E=r(x,i.current)}catch(j){T=j,b=j}T||(b=null),E===o.current?s.current||f():(o.current=E,d.current=E,s.current=!0,m())};return n.onStateChange=_,n.trySubscribe(),_(),()=>{if(p=!0,n.tryUnsubscribe(),n.onStateChange=null,b)throw b}}function jB(e,t){return e===t}function MB(e,t,n,{pure:r,areStatesEqual:i=jB,areOwnPropsEqual:o=nb,areStatePropsEqual:s=nb,areMergedPropsEqual:u=nb,forwardRef:d=!1,context:f=vR}={}){const m=f,p=rB(e),b=nB(t),_=oB(n),w=!!e;return E=>{const T=E.displayName||E.name||"Component",j=`Connect(${T})`,O={shouldHandleStateChanges:w,displayName:j,wrappedComponentName:T,WrappedComponent:E,initMapStateToProps:p,initMapDispatchToProps:b,initMergeProps:_,areStatesEqual:i,areStatePropsEqual:s,areOwnPropsEqual:o,areMergedPropsEqual:u};function N(K){const[Q,oe,ee]=C.useMemo(()=>{const{reactReduxForwardedRef:H,...ae}=K;return[K.context,H,ae]},[K]),J=C.useMemo(()=>{let H=m;return Q?.Consumer,H},[Q,m]),te=C.useContext(J),he=!!K.store&&!!K.store.getState&&!!K.store.dispatch,X=!!te&&!!te.store,se=he?K.store:te.store,Z=X?te.getServerState:se.getState,I=C.useMemo(()=>eB(se.dispatch,O),[se]),[k,U]=C.useMemo(()=>{if(!w)return EB;const H=pR(se,he?void 0:te.subscription),ae=H.notifyNestedSubs.bind(H);return[H,ae]},[se,he,te]),z=C.useMemo(()=>he?te:{...te,subscription:k},[he,te,k]),P=C.useRef(void 0),G=C.useRef(ee),Y=C.useRef(void 0),ne=C.useRef(!1),ue=C.useRef(!1),fe=C.useRef(void 0);Ng(()=>(ue.current=!0,()=>{ue.current=!1}),[]);const ge=C.useMemo(()=>()=>Y.current&&ee===G.current?Y.current:I(se.getState(),ee),[se,ee]),D=C.useMemo(()=>ae=>k?OB(w,se,k,I,G,P,ne,ue,Y,U,ae):()=>{},[k]);AB(TB,[G,P,ne,ee,Y,U]);let F;try{F=C.useSyncExternalStore(D,ge,Z?()=>I(Z(),ee):ge)}catch(H){throw fe.current&&(H.message+=` +The error may be correlated with this previous error: +${fe.current.stack} + +`),H}Ng(()=>{fe.current=void 0,Y.current=void 0,P.current=F});const W=C.useMemo(()=>C.createElement(E,{...F,ref:oe}),[oe,E,F]);return C.useMemo(()=>w?C.createElement(J.Provider,{value:z},W):W,[J,W,z])}const $=C.memo(N);if($.WrappedComponent=E,$.displayName=N.displayName=j,d){const Q=C.forwardRef(function(ee,J){return C.createElement($,{...ee,reactReduxForwardedRef:J})});return Q.displayName=j,Q.WrappedComponent=E,hx(Q,E)}return hx($,E)}}var yR=MB;function PB(e){const{children:t,context:n,serverState:r,store:i}=e,o=C.useMemo(()=>{const d=pR(i);return{store:i,subscription:d,getServerState:r?()=>r:void 0}},[i,r]),s=C.useMemo(()=>i.getState(),[i]);Ng(()=>{const{subscription:d}=o;return d.onStateChange=d.notifyNestedSubs,d.trySubscribe(),s!==i.getState()&&d.notifyNestedSubs(),()=>{d.tryUnsubscribe(),d.onStateChange=void 0}},[o,s]);const u=n||vR;return C.createElement(u.Provider,{value:o},t)}var H2=PB;/** + * react-router v7.9.4 + * + * 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 LA="popstate";function RB(e={}){function t(r,i){let{pathname:o,search:s,hash:u}=r.location;return mx("",{pathname:o,search:s,hash:u},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:bh(i)}return NB(t,n,null,e)}function gn(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Sa(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function LB(){return Math.random().toString(36).substring(2,10)}function NA(e,t){return{usr:e.state,key:e.key,idx:t}}function mx(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?gf(t):t,state:n,key:t&&t.key||r||LB()}}function bh({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function gf(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function NB(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:o=!1}=r,s=i.history,u="POP",d=null,f=m();f==null&&(f=0,s.replaceState({...s.state,idx:f},""));function m(){return(s.state||{idx:null}).idx}function p(){u="POP";let E=m(),T=E==null?null:E-f;f=E,d&&d({action:u,location:x.location,delta:T})}function b(E,T){u="PUSH";let j=mx(x.location,E,T);f=m()+1;let O=NA(j,f),N=x.createHref(j);try{s.pushState(O,"",N)}catch(B){if(B instanceof DOMException&&B.name==="DataCloneError")throw B;i.location.assign(N)}o&&d&&d({action:u,location:x.location,delta:1})}function _(E,T){u="REPLACE";let j=mx(x.location,E,T);f=m();let O=NA(j,f),N=x.createHref(j);s.replaceState(O,"",N),o&&d&&d({action:u,location:x.location,delta:0})}function w(E){return DB(E)}let x={get action(){return u},get location(){return e(i,s)},listen(E){if(d)throw new Error("A history only accepts one active listener");return i.addEventListener(LA,p),d=E,()=>{i.removeEventListener(LA,p),d=null}},createHref(E){return t(i,E)},createURL:w,encodeLocation(E){let T=w(E);return{pathname:T.pathname,search:T.search,hash:T.hash}},push:b,replace:_,go(E){return s.go(E)}};return x}function DB(e,t=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),gn(n,"No window.location.(origin|href) available to create URL");let r=typeof e=="string"?e:bh(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}function bR(e,t,n="/"){return kB(e,t,n,!1)}function kB(e,t,n,r){let i=typeof t=="string"?gf(t):t,o=Yo(i.pathname||"/",n);if(o==null)return null;let s=_R(e);IB(s);let u=null;for(let d=0;u==null&&d{let m={relativePath:f===void 0?s.path||"":f,caseSensitive:s.caseSensitive===!0,childrenIndex:u,route:s};if(m.relativePath.startsWith("/")){if(!m.relativePath.startsWith(r)&&d)return;gn(m.relativePath.startsWith(r),`Absolute route path "${m.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),m.relativePath=m.relativePath.slice(r.length)}let p=Ho([r,m.relativePath]),b=n.concat(m);s.children&&s.children.length>0&&(gn(s.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${p}".`),_R(s.children,t,b,p,d)),!(s.path==null&&!s.index)&&t.push({path:p,score:HB(p,s.index),routesMeta:b})};return e.forEach((s,u)=>{if(s.path===""||!s.path?.includes("?"))o(s,u);else for(let d of xR(s.path))o(s,u,!0,d)}),t}function xR(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let s=xR(r.join("/")),u=[];return u.push(...s.map(d=>d===""?o:[o,d].join("/"))),i&&u.push(...s),u.map(d=>e.startsWith("/")&&d===""?"/":d)}function IB(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:qB(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var UB=/^:[\w-]+$/,zB=3,BB=2,FB=1,$B=10,VB=-2,DA=e=>e==="*";function HB(e,t){let n=e.split("/"),r=n.length;return n.some(DA)&&(r+=VB),t&&(r+=BB),n.filter(i=>!DA(i)).reduce((i,o)=>i+(UB.test(o)?zB:o===""?FB:$B),r)}function qB(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function GB(e,t,n=!1){let{routesMeta:r}=e,i={},o="/",s=[];for(let u=0;u{if(m==="*"){let w=u[b]||"";s=o.slice(0,o.length-w.length).replace(/(.)\/+$/,"$1")}const _=u[b];return p&&!_?f[m]=void 0:f[m]=(_||"").replace(/%2F/g,"/"),f},{}),pathname:o,pathnameBase:s,pattern:e}}function YB(e,t=!1,n=!0){Sa(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,u,d)=>(r.push({paramName:u,isOptional:d!=null}),d?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function WB(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Sa(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Yo(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function KB(e,t="/"){let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?gf(e):e;return{pathname:n?n.startsWith("/")?n:ZB(n,t):t,search:JB(r),hash:eF(i)}}function ZB(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function rb(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function XB(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function q2(e){let t=XB(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function G2(e,t,n,r=!1){let i;typeof e=="string"?i=gf(e):(i={...e},gn(!i.pathname||!i.pathname.includes("?"),rb("?","pathname","search",i)),gn(!i.pathname||!i.pathname.includes("#"),rb("#","pathname","hash",i)),gn(!i.search||!i.search.includes("#"),rb("#","search","hash",i)));let o=e===""||i.pathname==="",s=o?"/":i.pathname,u;if(s==null)u=n;else{let p=t.length-1;if(!r&&s.startsWith("..")){let b=s.split("/");for(;b[0]==="..";)b.shift(),p-=1;i.pathname=b.join("/")}u=p>=0?t[p]:"/"}let d=KB(i,u),f=s&&s!=="/"&&s.endsWith("/"),m=(o||s===".")&&n.endsWith("/");return!d.pathname.endsWith("/")&&(f||m)&&(d.pathname+="/"),d}var Ho=e=>e.join("/").replace(/\/\/+/g,"/"),QB=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),JB=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,eF=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function tF(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var wR=["POST","PUT","PATCH","DELETE"];new Set(wR);var nF=["GET",...wR];new Set(nF);var vf=C.createContext(null);vf.displayName="DataRouter";var qv=C.createContext(null);qv.displayName="DataRouterState";C.createContext(!1);var SR=C.createContext({isTransitioning:!1});SR.displayName="ViewTransition";var rF=C.createContext(new Map);rF.displayName="Fetchers";var iF=C.createContext(null);iF.displayName="Await";var Ta=C.createContext(null);Ta.displayName="Navigation";var Bh=C.createContext(null);Bh.displayName="Location";var Oa=C.createContext({outlet:null,matches:[],isDataRoute:!1});Oa.displayName="Route";var Y2=C.createContext(null);Y2.displayName="RouteError";function aF(e,{relative:t}={}){gn(Vu(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=C.useContext(Ta),{hash:i,pathname:o,search:s}=Fh(e,{relative:t}),u=o;return n!=="/"&&(u=o==="/"?n:Ho([n,o])),r.createHref({pathname:u,search:s,hash:i})}function Vu(){return C.useContext(Bh)!=null}function Er(){return gn(Vu(),"useLocation() may be used only in the context of a component."),C.useContext(Bh).location}var CR="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function ER(e){C.useContext(Ta).static||C.useLayoutEffect(e)}function lo(){let{isDataRoute:e}=C.useContext(Oa);return e?yF():oF()}function oF(){gn(Vu(),"useNavigate() may be used only in the context of a component.");let e=C.useContext(vf),{basename:t,navigator:n}=C.useContext(Ta),{matches:r}=C.useContext(Oa),{pathname:i}=Er(),o=JSON.stringify(q2(r)),s=C.useRef(!1);return ER(()=>{s.current=!0}),C.useCallback((d,f={})=>{if(Sa(s.current,CR),!s.current)return;if(typeof d=="number"){n.go(d);return}let m=G2(d,JSON.parse(o),i,f.relative==="path");e==null&&t!=="/"&&(m.pathname=m.pathname==="/"?t:Ho([t,m.pathname])),(f.replace?n.replace:n.push)(m,f.state,f)},[t,n,o,i,e])}C.createContext(null);function yf(){let{matches:e}=C.useContext(Oa),t=e[e.length-1];return t?t.params:{}}function Fh(e,{relative:t}={}){let{matches:n}=C.useContext(Oa),{pathname:r}=Er(),i=JSON.stringify(q2(n));return C.useMemo(()=>G2(e,JSON.parse(i),r,t==="path"),[e,i,r,t])}function sF(e,t){return AR(e,t)}function AR(e,t,n,r,i){gn(Vu(),"useRoutes() may be used only in the context of a component.");let{navigator:o}=C.useContext(Ta),{matches:s}=C.useContext(Oa),u=s[s.length-1],d=u?u.params:{},f=u?u.pathname:"/",m=u?u.pathnameBase:"/",p=u&&u.route;{let j=p&&p.path||"";TR(f,!p||j.endsWith("*")||j.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 b=Er(),_;if(t){let j=typeof t=="string"?gf(t):t;gn(m==="/"||j.pathname?.startsWith(m),`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 "${m}" but pathname "${j.pathname}" was given in the \`location\` prop.`),_=j}else _=b;let w=_.pathname||"/",x=w;if(m!=="/"){let j=m.replace(/^\//,"").split("/");x="/"+w.replace(/^\//,"").split("/").slice(j.length).join("/")}let E=bR(e,{pathname:x});Sa(p||E!=null,`No routes matched location "${_.pathname}${_.search}${_.hash}" `),Sa(E==null||E[E.length-1].route.element!==void 0||E[E.length-1].route.Component!==void 0||E[E.length-1].route.lazy!==void 0,`Matched leaf route at location "${_.pathname}${_.search}${_.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 T=dF(E&&E.map(j=>Object.assign({},j,{params:Object.assign({},d,j.params),pathname:Ho([m,o.encodeLocation?o.encodeLocation(j.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:j.pathname]),pathnameBase:j.pathnameBase==="/"?m:Ho([m,o.encodeLocation?o.encodeLocation(j.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:j.pathnameBase])})),s,n,r,i);return t&&T?C.createElement(Bh.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",..._},navigationType:"POP"}},T):T}function lF(){let e=vF(),t=tF(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r},o={padding:"2px 4px",backgroundColor:r},s=null;return console.error("Error handled by React Router default ErrorBoundary:",e),s=C.createElement(C.Fragment,null,C.createElement("p",null,"💿 Hey developer 👋"),C.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",C.createElement("code",{style:o},"ErrorBoundary")," or"," ",C.createElement("code",{style:o},"errorElement")," prop on your route.")),C.createElement(C.Fragment,null,C.createElement("h2",null,"Unexpected Application Error!"),C.createElement("h3",{style:{fontStyle:"italic"}},t),n?C.createElement("pre",{style:i},n):null,s)}var uF=C.createElement(lF,null),cF=class extends C.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.unstable_onError?this.props.unstable_onError(e,t):console.error("React Router caught the following error during render",e)}render(){return this.state.error!==void 0?C.createElement(Oa.Provider,{value:this.props.routeContext},C.createElement(Y2.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function fF({routeContext:e,match:t,children:n}){let r=C.useContext(vf);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),C.createElement(Oa.Provider,{value:e},n)}function dF(e,t=[],n=null,r=null,i=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,s=n?.errors;if(s!=null){let f=o.findIndex(m=>m.route.id&&s?.[m.route.id]!==void 0);gn(f>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(s).join(",")}`),o=o.slice(0,Math.min(o.length,f+1))}let u=!1,d=-1;if(n)for(let f=0;f=0?o=o.slice(0,d+1):o=[o[0]];break}}}return o.reduceRight((f,m,p)=>{let b,_=!1,w=null,x=null;n&&(b=s&&m.route.id?s[m.route.id]:void 0,w=m.route.errorElement||uF,u&&(d<0&&p===0?(TR("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),_=!0,x=null):d===p&&(_=!0,x=m.route.hydrateFallbackElement||null)));let E=t.concat(o.slice(0,p+1)),T=()=>{let j;return b?j=w:_?j=x:m.route.Component?j=C.createElement(m.route.Component,null):m.route.element?j=m.route.element:j=f,C.createElement(fF,{match:m,routeContext:{outlet:f,matches:E,isDataRoute:n!=null},children:j})};return n&&(m.route.ErrorBoundary||m.route.errorElement||p===0)?C.createElement(cF,{location:n.location,revalidation:n.revalidation,component:w,error:b,children:T(),routeContext:{outlet:null,matches:E,isDataRoute:!0},unstable_onError:r}):T()},null)}function W2(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function hF(e){let t=C.useContext(vf);return gn(t,W2(e)),t}function mF(e){let t=C.useContext(qv);return gn(t,W2(e)),t}function pF(e){let t=C.useContext(Oa);return gn(t,W2(e)),t}function K2(e){let t=pF(e),n=t.matches[t.matches.length-1];return gn(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function gF(){return K2("useRouteId")}function vF(){let e=C.useContext(Y2),t=mF("useRouteError"),n=K2("useRouteError");return e!==void 0?e:t.errors?.[n]}function yF(){let{router:e}=hF("useNavigate"),t=K2("useNavigate"),n=C.useRef(!1);return ER(()=>{n.current=!0}),C.useCallback(async(i,o={})=>{Sa(n.current,CR),n.current&&(typeof i=="number"?e.navigate(i):await e.navigate(i,{fromRouteId:t,...o}))},[e,t])}var kA={};function TR(e,t,n){!t&&!kA[e]&&(kA[e]=!0,Sa(!1,n))}C.memo(bF);function bF({routes:e,future:t,state:n,unstable_onError:r}){return AR(e,void 0,n,r,t)}function Z2({to:e,replace:t,state:n,relative:r}){gn(Vu()," may be used only in the context of a component.");let{static:i}=C.useContext(Ta);Sa(!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:o}=C.useContext(Oa),{pathname:s}=Er(),u=lo(),d=G2(e,q2(o),s,r==="path"),f=JSON.stringify(d);return C.useEffect(()=>{u(JSON.parse(f),{replace:t,state:n,relative:r})},[u,f,r,t,n]),null}function pt(e){gn(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function _F({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:i,static:o=!1}){gn(!Vu(),"You cannot render a inside another . You should never have more than one in your app.");let s=e.replace(/^\/*/,"/"),u=C.useMemo(()=>({basename:s,navigator:i,static:o,future:{}}),[s,i,o]);typeof n=="string"&&(n=gf(n));let{pathname:d="/",search:f="",hash:m="",state:p=null,key:b="default"}=n,_=C.useMemo(()=>{let w=Yo(d,s);return w==null?null:{location:{pathname:w,search:f,hash:m,state:p,key:b},navigationType:r}},[s,d,f,m,p,b,r]);return Sa(_!=null,` is not able to match the URL "${d}${f}${m}" because it does not start with the basename, so the won't render anything.`),_==null?null:C.createElement(Ta.Provider,{value:u},C.createElement(Bh.Provider,{children:t,value:_}))}function Gv({children:e,location:t}){return sF(px(e),t)}function px(e,t=[]){let n=[];return C.Children.forEach(e,(r,i)=>{if(!C.isValidElement(r))return;let o=[...t,i];if(r.type===C.Fragment){n.push.apply(n,px(r.props.children,o));return}gn(r.type===pt,`[${typeof r.type=="string"?r.type:r.type.name}] is not a component. All component children of must be a or `),gn(!r.props.index||!r.props.children,"An index route cannot have child routes.");let s={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=px(r.props.children,o)),n.push(s)}),n}var xg="get",wg="application/x-www-form-urlencoded";function Yv(e){return e!=null&&typeof e.tagName=="string"}function xF(e){return Yv(e)&&e.tagName.toLowerCase()==="button"}function wF(e){return Yv(e)&&e.tagName.toLowerCase()==="form"}function SF(e){return Yv(e)&&e.tagName.toLowerCase()==="input"}function CF(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function EF(e,t){return e.button===0&&(!t||t==="_self")&&!CF(e)}var Vp=null;function AF(){if(Vp===null)try{new FormData(document.createElement("form"),0),Vp=!1}catch{Vp=!0}return Vp}var TF=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function ib(e){return e!=null&&!TF.has(e)?(Sa(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${wg}"`),null):e}function OF(e,t){let n,r,i,o,s;if(wF(e)){let u=e.getAttribute("action");r=u?Yo(u,t):null,n=e.getAttribute("method")||xg,i=ib(e.getAttribute("enctype"))||wg,o=new FormData(e)}else if(xF(e)||SF(e)&&(e.type==="submit"||e.type==="image")){let u=e.form;if(u==null)throw new Error('Cannot submit a