diff --git a/dist/assets/index-D34tEj7q.js b/dist/assets/index-D34tEj7q.js deleted file mode 100644 index 940be61..0000000 --- a/dist/assets/index-D34tEj7q.js +++ /dev/null @@ -1,4280 +0,0 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))a(o);new MutationObserver(o=>{for(const c of o)if(c.type==="childList")for(const u of c.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&a(u)}).observe(document,{childList:!0,subtree:!0});function n(o){const c={};return o.integrity&&(c.integrity=o.integrity),o.referrerPolicy&&(c.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?c.credentials="include":o.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function a(o){if(o.ep)return;o.ep=!0;const c=n(o);fetch(o.href,c)}})();var yd={exports:{}},ml={};var wv;function M1(){if(wv)return ml;wv=1;var s=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(a,o,c){var u=null;if(c!==void 0&&(u=""+c),o.key!==void 0&&(u=""+o.key),"key"in o){c={};for(var d in o)d!=="key"&&(c[d]=o[d])}else c=o;return o=c.ref,{$$typeof:s,type:a,key:u,ref:o!==void 0?o:null,props:c}}return ml.Fragment=t,ml.jsx=n,ml.jsxs=n,ml}var Cv;function E1(){return Cv||(Cv=1,yd.exports=M1()),yd.exports}var Ot=E1(),Sd={exports:{}},de={};var Dv;function b1(){if(Dv)return de;Dv=1;var s=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),v=Symbol.for("react.activity"),g=Symbol.iterator;function y(I){return I===null||typeof I!="object"?null:(I=g&&I[g]||I["@@iterator"],typeof I=="function"?I:null)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A=Object.assign,x={};function S(I,$,bt){this.props=I,this.context=$,this.refs=x,this.updater=bt||E}S.prototype.isReactComponent={},S.prototype.setState=function(I,$){if(typeof I!="object"&&typeof I!="function"&&I!=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,I,$,"setState")},S.prototype.forceUpdate=function(I){this.updater.enqueueForceUpdate(this,I,"forceUpdate")};function D(){}D.prototype=S.prototype;function L(I,$,bt){this.props=I,this.context=$,this.refs=x,this.updater=bt||E}var w=L.prototype=new D;w.constructor=L,A(w,S.prototype),w.isPureReactComponent=!0;var B=Array.isArray;function U(){}var P={H:null,A:null,T:null,S:null},T=Object.prototype.hasOwnProperty;function N(I,$,bt){var Ct=bt.ref;return{$$typeof:s,type:I,key:$,ref:Ct!==void 0?Ct:null,props:bt}}function W(I,$){return N(I.type,$,I.props)}function k(I){return typeof I=="object"&&I!==null&&I.$$typeof===s}function Q(I){var $={"=":"=0",":":"=2"};return"$"+I.replace(/[=:]/g,function(bt){return $[bt]})}var ut=/\/+/g;function xt(I,$){return typeof I=="object"&&I!==null&&I.key!=null?Q(""+I.key):$.toString(36)}function j(I){switch(I.status){case"fulfilled":return I.value;case"rejected":throw I.reason;default:switch(typeof I.status=="string"?I.then(U,U):(I.status="pending",I.then(function($){I.status==="pending"&&(I.status="fulfilled",I.value=$)},function($){I.status==="pending"&&(I.status="rejected",I.reason=$)})),I.status){case"fulfilled":return I.value;case"rejected":throw I.reason}}throw I}function z(I,$,bt,Ct,Mt){var F=typeof I;(F==="undefined"||F==="boolean")&&(I=null);var Y=!1;if(I===null)Y=!0;else switch(F){case"bigint":case"string":case"number":Y=!0;break;case"object":switch(I.$$typeof){case s:case t:Y=!0;break;case _:return Y=I._init,z(Y(I._payload),$,bt,Ct,Mt)}}if(Y)return Mt=Mt(I),Y=Ct===""?"."+xt(I,0):Ct,B(Mt)?(bt="",Y!=null&&(bt=Y.replace(ut,"$&/")+"/"),z(Mt,$,bt,"",function(Rt){return Rt})):Mt!=null&&(k(Mt)&&(Mt=W(Mt,bt+(Mt.key==null||I&&I.key===Mt.key?"":(""+Mt.key).replace(ut,"$&/")+"/")+Y)),$.push(Mt)),1;Y=0;var et=Ct===""?".":Ct+":";if(B(I))for(var yt=0;yt>>1,At=z[_t];if(0>>1;_to(bt,nt))Cto(Mt,bt)?(z[_t]=Mt,z[Ct]=nt,_t=Ct):(z[_t]=bt,z[$]=nt,_t=$);else if(Cto(Mt,nt))z[_t]=Mt,z[Ct]=nt,_t=Ct;else break t}}return V}function o(z,V){var nt=z.sortIndex-V.sortIndex;return nt!==0?nt:z.id-V.id}if(s.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;s.unstable_now=function(){return c.now()}}else{var u=Date,d=u.now();s.unstable_now=function(){return u.now()-d}}var m=[],p=[],_=1,v=null,g=3,y=!1,E=!1,A=!1,x=!1,S=typeof setTimeout=="function"?setTimeout:null,D=typeof clearTimeout=="function"?clearTimeout:null,L=typeof setImmediate<"u"?setImmediate:null;function w(z){for(var V=n(p);V!==null;){if(V.callback===null)a(p);else if(V.startTime<=z)a(p),V.sortIndex=V.expirationTime,t(m,V);else break;V=n(p)}}function B(z){if(A=!1,w(z),!E)if(n(m)!==null)E=!0,U||(U=!0,Q());else{var V=n(p);V!==null&&j(B,V.startTime-z)}}var U=!1,P=-1,T=5,N=-1;function W(){return x?!0:!(s.unstable_now()-Nz&&W());){var _t=v.callback;if(typeof _t=="function"){v.callback=null,g=v.priorityLevel;var At=_t(v.expirationTime<=z);if(z=s.unstable_now(),typeof At=="function"){v.callback=At,w(z),V=!0;break e}v===n(m)&&a(m),w(z)}else a(m);v=n(m)}if(v!==null)V=!0;else{var I=n(p);I!==null&&j(B,I.startTime-z),V=!1}}break t}finally{v=null,g=nt,y=!1}V=void 0}}finally{V?Q():U=!1}}}var Q;if(typeof L=="function")Q=function(){L(k)};else if(typeof MessageChannel<"u"){var ut=new MessageChannel,xt=ut.port2;ut.port1.onmessage=k,Q=function(){xt.postMessage(null)}}else Q=function(){S(k,0)};function j(z,V){P=S(function(){z(s.unstable_now())},V)}s.unstable_IdlePriority=5,s.unstable_ImmediatePriority=1,s.unstable_LowPriority=4,s.unstable_NormalPriority=3,s.unstable_Profiling=null,s.unstable_UserBlockingPriority=2,s.unstable_cancelCallback=function(z){z.callback=null},s.unstable_forceFrameRate=function(z){0>z||125_t?(z.sortIndex=nt,t(p,z),n(m)===null&&z===n(p)&&(A?(D(P),P=-1):A=!0,j(B,nt-_t))):(z.sortIndex=At,t(m,z),E||y||(E=!0,U||(U=!0,Q()))),z},s.unstable_shouldYield=W,s.unstable_wrapCallback=function(z){var V=g;return function(){var nt=g;g=V;try{return z.apply(this,arguments)}finally{g=nt}}}})(bd)),bd}var Nv;function A1(){return Nv||(Nv=1,Ed.exports=T1()),Ed.exports}var Td={exports:{}},In={};var Ov;function R1(){if(Ov)return In;Ov=1;var s=pm();function t(m){var p="https://react.dev/errors/"+m;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s)}catch(t){console.error(t)}}return s(),Td.exports=R1(),Td.exports}var Bv;function C1(){if(Bv)return gl;Bv=1;var s=A1(),t=pm(),n=w1();function a(e){var i="https://react.dev/errors/"+e;if(1At||(e.current=_t[At],_t[At]=null,At--)}function bt(e,i){At++,_t[At]=e.current,e.current=i}var Ct=I(null),Mt=I(null),F=I(null),Y=I(null);function et(e,i){switch(bt(F,i),bt(Mt,e),bt(Ct,null),i.nodeType){case 9:case 11:e=(e=i.documentElement)&&(e=e.namespaceURI)?J_(e):0;break;default:if(e=i.tagName,i=i.namespaceURI)i=J_(i),e=j_(i,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}$(Ct),bt(Ct,e)}function yt(){$(Ct),$(Mt),$(F)}function Rt(e){e.memoizedState!==null&&bt(Y,e);var i=Ct.current,r=j_(i,e.type);i!==r&&(bt(Mt,e),bt(Ct,r))}function wt(e){Mt.current===e&&($(Ct),$(Mt)),Y.current===e&&($(Y),fl._currentValue=nt)}var $t,zt;function ee(e){if($t===void 0)try{throw Error()}catch(r){var i=r.stack.trim().match(/\n( *(at )?)/);$t=i&&i[1]||"",zt=-1)":-1f||H[l]!==at[f]){var gt=` -`+H[l].replace(" at new "," at ");return e.displayName&>.includes("")&&(gt=gt.replace("",e.displayName)),gt}while(1<=l&&0<=f);break}}}finally{Xt=!1,Error.prepareStackTrace=r}return(r=e?e.displayName||e.name:"")?ee(r):""}function he(e,i){switch(e.tag){case 26:case 27:case 5:return ee(e.type);case 16:return ee("Lazy");case 13:return e.child!==i&&i!==null?ee("Suspense Fallback"):ee("Suspense");case 19:return ee("SuspenseList");case 0:case 15:return Jt(e.type,!1);case 11:return Jt(e.type.render,!1);case 1:return Jt(e.type,!0);case 31:return ee("Activity");default:return""}}function Ie(e){try{var i="",r=null;do i+=he(e,r),r=e,e=e.return;while(e);return i}catch(l){return` -Error generating stack: `+l.message+` -`+l.stack}}var Qe=Object.prototype.hasOwnProperty,xe=s.unstable_scheduleCallback,ze=s.unstable_cancelCallback,$e=s.unstable_shouldYield,Z=s.unstable_requestPaint,De=s.unstable_now,Ae=s.unstable_getCurrentPriorityLevel,O=s.unstable_ImmediatePriority,b=s.unstable_UserBlockingPriority,tt=s.unstable_NormalPriority,ot=s.unstable_LowPriority,pt=s.unstable_IdlePriority,Dt=s.log,Pt=s.unstable_setDisableYieldValue,dt=null,mt=null;function Ut(e){if(typeof Dt=="function"&&Pt(e),mt&&typeof mt.setStrictMode=="function")try{mt.setStrictMode(dt,e)}catch{}}var kt=Math.clz32?Math.clz32:ie,Ft=Math.log,Bt=Math.LN2;function ie(e){return e>>>=0,e===0?32:31-(Ft(e)/Bt|0)|0}var re=256,ue=262144,q=4194304;function Lt(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 vt(e,i,r){var l=e.pendingLanes;if(l===0)return 0;var f=0,h=e.suspendedLanes,M=e.pingedLanes;e=e.warmLanes;var C=l&134217727;return C!==0?(l=C&~h,l!==0?f=Lt(l):(M&=C,M!==0?f=Lt(M):r||(r=C&~e,r!==0&&(f=Lt(r))))):(C=l&~h,C!==0?f=Lt(C):M!==0?f=Lt(M):r||(r=l&~e,r!==0&&(f=Lt(r)))),f===0?0:i!==0&&i!==f&&(i&h)===0&&(h=f&-f,r=i&-i,h>=r||h===32&&(r&4194048)!==0)?i:f}function Nt(e,i){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&i)===0}function Vt(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 Tt(){var e=q;return q<<=1,(q&62914560)===0&&(q=4194304),e}function jt(e){for(var i=[],r=0;31>r;r++)i.push(e);return i}function Yt(e,i){e.pendingLanes|=i,i!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function nn(e,i,r,l,f,h){var M=e.pendingLanes;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=r,e.entangledLanes&=r,e.errorRecoveryDisabledLanes&=r,e.shellSuspendCounter=0;var C=e.entanglements,H=e.expirationTimes,at=e.hiddenUpdates;for(r=M&~r;0"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var He=/[\n"\\]/g;function Ge(e){return e.replace(He,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}function Wt(e,i,r,l,f,h,M,C){e.name="",M!=null&&typeof M!="function"&&typeof M!="symbol"&&typeof M!="boolean"?e.type=M:e.removeAttribute("type"),i!=null?M==="number"?(i===0&&e.value===""||e.value!=i)&&(e.value=""+se(i)):e.value!==""+se(i)&&(e.value=""+se(i)):M!=="submit"&&M!=="reset"||e.removeAttribute("value"),i!=null?Se(e,M,se(i)):r!=null?Se(e,M,se(r)):l!=null&&e.removeAttribute("value"),f==null&&h!=null&&(e.defaultChecked=!!h),f!=null&&(e.checked=f&&typeof f!="function"&&typeof f!="symbol"),C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"?e.name=""+se(C):e.removeAttribute("name")}function Bn(e,i,r,l,f,h,M,C){if(h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(e.type=h),i!=null||r!=null){if(!(h!=="submit"&&h!=="reset"||i!=null)){Le(e);return}r=r!=null?""+se(r):"",i=i!=null?""+se(i):r,C||i===e.value||(e.value=i),e.defaultValue=i}l=l??f,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=C?e.checked:!!l,e.defaultChecked=!!l,M!=null&&typeof M!="function"&&typeof M!="symbol"&&typeof M!="boolean"&&(e.name=M),Le(e)}function Se(e,i,r){i==="number"&&Je(e.ownerDocument)===e||e.defaultValue===""+r||(e.defaultValue=""+r)}function Mn(e,i,r,l){if(e=e.options,i){i={};for(var f=0;f"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),yf=!1;if(ha)try{var Co={};Object.defineProperty(Co,"passive",{get:function(){yf=!0}}),window.addEventListener("test",Co,Co),window.removeEventListener("test",Co,Co)}catch{yf=!1}var Ya=null,Sf=null,Zl=null;function jm(){if(Zl)return Zl;var e,i=Sf,r=i.length,l,f="value"in Ya?Ya.value:Ya.textContent,h=f.length;for(e=0;e=Uo),a0=" ",r0=!1;function s0(e,i){switch(e){case"keyup":return WS.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function o0(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var gs=!1;function qS(e,i){switch(e){case"compositionend":return o0(i);case"keypress":return i.which!==32?null:(r0=!0,a0);case"textInput":return e=i.data,e===a0&&r0?null:e;default:return null}}function YS(e,i){if(gs)return e==="compositionend"||!Af&&s0(e,i)?(e=jm(),Zl=Sf=Ya=null,gs=!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:r,offset:i-e};e=l}t:{for(;r;){if(r.nextSibling){r=r.nextSibling;break t}r=r.parentNode}r=void 0}r=m0(r)}}function _0(e,i){return e&&i?e===i?!0:e&&e.nodeType===3?!1:i&&i.nodeType===3?_0(e,i.parentNode):"contains"in e?e.contains(i):e.compareDocumentPosition?!!(e.compareDocumentPosition(i)&16):!1:!1}function v0(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var i=Je(e.document);i instanceof e.HTMLIFrameElement;){try{var r=typeof i.contentWindow.location.href=="string"}catch{r=!1}if(r)e=i.contentWindow;else break;i=Je(e.document)}return i}function Cf(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 eM=ha&&"documentMode"in document&&11>=document.documentMode,_s=null,Df=null,Bo=null,Lf=!1;function x0(e,i,r){var l=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Lf||_s==null||_s!==Je(l)||(l=_s,"selectionStart"in l&&Cf(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),Bo&&Po(Bo,l)||(Bo=l,l=Gc(Df,"onSelect"),0>=M,f-=M,Ki=1<<32-kt(i)+f|r<_e?(Te=te,te=null):Te=te.sibling;var Ne=ct(J,te,it[_e],St);if(Ne===null){te===null&&(te=Te);break}e&&te&&Ne.alternate===null&&i(J,te),X=h(Ne,X,_e),Ue===null?oe=Ne:Ue.sibling=Ne,Ue=Ne,te=Te}if(_e===it.length)return r(J,te),Re&&pa(J,_e),oe;if(te===null){for(;_e_e?(Te=te,te=null):Te=te.sibling;var mr=ct(J,te,Ne.value,St);if(mr===null){te===null&&(te=Te);break}e&&te&&mr.alternate===null&&i(J,te),X=h(mr,X,_e),Ue===null?oe=mr:Ue.sibling=mr,Ue=mr,te=Te}if(Ne.done)return r(J,te),Re&&pa(J,_e),oe;if(te===null){for(;!Ne.done;_e++,Ne=it.next())Ne=Et(J,Ne.value,St),Ne!==null&&(X=h(Ne,X,_e),Ue===null?oe=Ne:Ue.sibling=Ne,Ue=Ne);return Re&&pa(J,_e),oe}for(te=l(te);!Ne.done;_e++,Ne=it.next())Ne=ft(te,J,_e,Ne.value,St),Ne!==null&&(e&&Ne.alternate!==null&&te.delete(Ne.key===null?_e:Ne.key),X=h(Ne,X,_e),Ue===null?oe=Ne:Ue.sibling=Ne,Ue=Ne);return e&&te.forEach(function(S1){return i(J,S1)}),Re&&pa(J,_e),oe}function Ke(J,X,it,St){if(typeof it=="object"&&it!==null&&it.type===A&&it.key===null&&(it=it.props.children),typeof it=="object"&&it!==null){switch(it.$$typeof){case y:t:{for(var oe=it.key;X!==null;){if(X.key===oe){if(oe=it.type,oe===A){if(X.tag===7){r(J,X.sibling),St=f(X,it.props.children),St.return=J,J=St;break t}}else if(X.elementType===oe||typeof oe=="object"&&oe!==null&&oe.$$typeof===T&&Vr(oe)===X.type){r(J,X.sibling),St=f(X,it.props),Vo(St,it),St.return=J,J=St;break t}r(J,X);break}else i(J,X);X=X.sibling}it.type===A?(St=Ir(it.props.children,J.mode,St,it.key),St.return=J,J=St):(St=ac(it.type,it.key,it.props,null,J.mode,St),Vo(St,it),St.return=J,J=St)}return M(J);case E:t:{for(oe=it.key;X!==null;){if(X.key===oe)if(X.tag===4&&X.stateNode.containerInfo===it.containerInfo&&X.stateNode.implementation===it.implementation){r(J,X.sibling),St=f(X,it.children||[]),St.return=J,J=St;break t}else{r(J,X);break}else i(J,X);X=X.sibling}St=zf(it,J.mode,St),St.return=J,J=St}return M(J);case T:return it=Vr(it),Ke(J,X,it,St)}if(j(it))return Qt(J,X,it,St);if(Q(it)){if(oe=Q(it),typeof oe!="function")throw Error(a(150));return it=oe.call(it),ce(J,X,it,St)}if(typeof it.then=="function")return Ke(J,X,fc(it),St);if(it.$$typeof===L)return Ke(J,X,oc(J,it),St);hc(J,it)}return typeof it=="string"&&it!==""||typeof it=="number"||typeof it=="bigint"?(it=""+it,X!==null&&X.tag===6?(r(J,X.sibling),St=f(X,it),St.return=J,J=St):(r(J,X),St=If(it,J.mode,St),St.return=J,J=St),M(J)):r(J,X)}return function(J,X,it,St){try{Go=0;var oe=Ke(J,X,it,St);return ws=null,oe}catch(te){if(te===Rs||te===cc)throw te;var Ue=ci(29,te,null,J.mode);return Ue.lanes=St,Ue.return=J,Ue}}}var Wr=V0(!0),k0=V0(!1),ja=!1;function Qf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Jf(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 $a(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function tr(e,i,r){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(Pe&2)!==0){var f=l.pending;return f===null?i.next=i:(i.next=f.next,f.next=i),l.pending=i,i=ic(e),A0(e,null,r),i}return nc(e,l,i,r),ic(e)}function ko(e,i,r){if(i=i.updateQueue,i!==null&&(i=i.shared,(r&4194048)!==0)){var l=i.lanes;l&=e.pendingLanes,r|=l,i.lanes=r,ai(e,r)}}function jf(e,i){var r=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,r===l)){var f=null,h=null;if(r=r.firstBaseUpdate,r!==null){do{var M={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};h===null?f=h=M:h=h.next=M,r=r.next}while(r!==null);h===null?f=h=i:h=h.next=i}else f=h=i;r={baseState:l.baseState,firstBaseUpdate:f,lastBaseUpdate:h,shared:l.shared,callbacks:l.callbacks},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=i:e.next=i,r.lastBaseUpdate=i}var $f=!1;function Wo(){if($f){var e=As;if(e!==null)throw e}}function Xo(e,i,r,l){$f=!1;var f=e.updateQueue;ja=!1;var h=f.firstBaseUpdate,M=f.lastBaseUpdate,C=f.shared.pending;if(C!==null){f.shared.pending=null;var H=C,at=H.next;H.next=null,M===null?h=at:M.next=at,M=H;var gt=e.alternate;gt!==null&&(gt=gt.updateQueue,C=gt.lastBaseUpdate,C!==M&&(C===null?gt.firstBaseUpdate=at:C.next=at,gt.lastBaseUpdate=H))}if(h!==null){var Et=f.baseState;M=0,gt=at=H=null,C=h;do{var ct=C.lane&-536870913,ft=ct!==C.lane;if(ft?(be&ct)===ct:(l&ct)===ct){ct!==0&&ct===Ts&&($f=!0),gt!==null&&(gt=gt.next={lane:0,tag:C.tag,payload:C.payload,callback:null,next:null});t:{var Qt=e,ce=C;ct=i;var Ke=r;switch(ce.tag){case 1:if(Qt=ce.payload,typeof Qt=="function"){Et=Qt.call(Ke,Et,ct);break t}Et=Qt;break t;case 3:Qt.flags=Qt.flags&-65537|128;case 0:if(Qt=ce.payload,ct=typeof Qt=="function"?Qt.call(Ke,Et,ct):Qt,ct==null)break t;Et=v({},Et,ct);break t;case 2:ja=!0}}ct=C.callback,ct!==null&&(e.flags|=64,ft&&(e.flags|=8192),ft=f.callbacks,ft===null?f.callbacks=[ct]:ft.push(ct))}else ft={lane:ct,tag:C.tag,payload:C.payload,callback:C.callback,next:null},gt===null?(at=gt=ft,H=Et):gt=gt.next=ft,M|=ct;if(C=C.next,C===null){if(C=f.shared.pending,C===null)break;ft=C,C=ft.next,ft.next=null,f.lastBaseUpdate=ft,f.shared.pending=null}}while(!0);gt===null&&(H=Et),f.baseState=H,f.firstBaseUpdate=at,f.lastBaseUpdate=gt,h===null&&(f.shared.lanes=0),rr|=M,e.lanes=M,e.memoizedState=Et}}function W0(e,i){if(typeof e!="function")throw Error(a(191,e));e.call(i)}function X0(e,i){var r=e.callbacks;if(r!==null)for(e.callbacks=null,e=0;eh?h:8;var M=z.T,C={};z.T=C,vh(e,!1,i,r);try{var H=f(),at=z.S;if(at!==null&&at(C,H),H!==null&&typeof H=="object"&&typeof H.then=="function"){var gt=uM(H,l);Zo(e,i,gt,pi(e))}else Zo(e,i,l,pi(e))}catch(Et){Zo(e,i,{then:function(){},status:"rejected",reason:Et},pi())}finally{V.p=h,M!==null&&C.types!==null&&(M.types=C.types),z.T=M}}function gM(){}function gh(e,i,r,l){if(e.tag!==5)throw Error(a(476));var f=Eg(e).queue;Mg(e,f,i,nt,r===null?gM:function(){return bg(e),r(l)})}function Eg(e){var i=e.memoizedState;if(i!==null)return i;i={memoizedState:nt,baseState:nt,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:va,lastRenderedState:nt},next:null};var r={};return i.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:va,lastRenderedState:r},next:null},e.memoizedState=i,e=e.alternate,e!==null&&(e.memoizedState=i),i}function bg(e){var i=Eg(e);i.next===null&&(i=e.alternate.memoizedState),Zo(e,i.next.queue,{},pi())}function _h(){return Un(fl)}function Tg(){return dn().memoizedState}function Ag(){return dn().memoizedState}function _M(e){for(var i=e.return;i!==null;){switch(i.tag){case 24:case 3:var r=pi();e=$a(r);var l=tr(i,e,r);l!==null&&(ti(l,i,r),ko(l,i,r)),i={cache:qf()},e.payload=i;return}i=i.return}}function vM(e,i,r){var l=pi();r={lane:l,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Mc(e)?wg(i,r):(r=Pf(e,i,r,l),r!==null&&(ti(r,e,l),Cg(r,i,l)))}function Rg(e,i,r){var l=pi();Zo(e,i,r,l)}function Zo(e,i,r,l){var f={lane:l,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};if(Mc(e))wg(i,f);else{var h=e.alternate;if(e.lanes===0&&(h===null||h.lanes===0)&&(h=i.lastRenderedReducer,h!==null))try{var M=i.lastRenderedState,C=h(M,r);if(f.hasEagerState=!0,f.eagerState=C,li(C,M))return nc(e,i,f,0),je===null&&ec(),!1}catch{}if(r=Pf(e,i,f,l),r!==null)return ti(r,e,l),Cg(r,i,l),!0}return!1}function vh(e,i,r,l){if(l={lane:2,revertLane:Qh(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Mc(e)){if(i)throw Error(a(479))}else i=Pf(e,r,l,2),i!==null&&ti(i,e,2)}function Mc(e){var i=e.alternate;return e===ge||i!==null&&i===ge}function wg(e,i){Ds=mc=!0;var r=e.pending;r===null?i.next=i:(i.next=r.next,r.next=i),e.pending=i}function Cg(e,i,r){if((r&4194048)!==0){var l=i.lanes;l&=e.pendingLanes,r|=l,i.lanes=r,ai(e,r)}}var Ko={readContext:Un,use:vc,useCallback:cn,useContext:cn,useEffect:cn,useImperativeHandle:cn,useLayoutEffect:cn,useInsertionEffect:cn,useMemo:cn,useReducer:cn,useRef:cn,useState:cn,useDebugValue:cn,useDeferredValue:cn,useTransition:cn,useSyncExternalStore:cn,useId:cn,useHostTransitionStatus:cn,useFormState:cn,useActionState:cn,useOptimistic:cn,useMemoCache:cn,useCacheRefresh:cn};Ko.useEffectEvent=cn;var Dg={readContext:Un,use:vc,useCallback:function(e,i){return Wn().memoizedState=[e,i===void 0?null:i],e},useContext:Un,useEffect:dg,useImperativeHandle:function(e,i,r){r=r!=null?r.concat([e]):null,yc(4194308,4,_g.bind(null,i,e),r)},useLayoutEffect:function(e,i){return yc(4194308,4,e,i)},useInsertionEffect:function(e,i){yc(4,2,e,i)},useMemo:function(e,i){var r=Wn();i=i===void 0?null:i;var l=e();if(Xr){Ut(!0);try{e()}finally{Ut(!1)}}return r.memoizedState=[l,i],l},useReducer:function(e,i,r){var l=Wn();if(r!==void 0){var f=r(i);if(Xr){Ut(!0);try{r(i)}finally{Ut(!1)}}}else f=i;return l.memoizedState=l.baseState=f,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:f},l.queue=e,e=e.dispatch=vM.bind(null,ge,e),[l.memoizedState,e]},useRef:function(e){var i=Wn();return e={current:e},i.memoizedState=e},useState:function(e){e=fh(e);var i=e.queue,r=Rg.bind(null,ge,i);return i.dispatch=r,[e.memoizedState,r]},useDebugValue:ph,useDeferredValue:function(e,i){var r=Wn();return mh(r,e,i)},useTransition:function(){var e=fh(!1);return e=Mg.bind(null,ge,e.queue,!0,!1),Wn().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,i,r){var l=ge,f=Wn();if(Re){if(r===void 0)throw Error(a(407));r=r()}else{if(r=i(),je===null)throw Error(a(349));(be&127)!==0||J0(l,i,r)}f.memoizedState=r;var h={value:r,getSnapshot:i};return f.queue=h,dg($0.bind(null,l,h,e),[e]),l.flags|=2048,Us(9,{destroy:void 0},j0.bind(null,l,h,r,i),null),r},useId:function(){var e=Wn(),i=je.identifierPrefix;if(Re){var r=Qi,l=Ki;r=(l&~(1<<32-kt(l)-1)).toString(32)+r,i="_"+i+"R_"+r,r=gc++,0<\/script>",h=h.removeChild(h.firstChild);break;case"select":h=typeof l.is=="string"?M.createElement("select",{is:l.is}):M.createElement("select"),l.multiple?h.multiple=!0:l.size&&(h.size=l.size);break;default:h=typeof l.is=="string"?M.createElement(f,{is:l.is}):M.createElement(f)}}h[pn]=i,h[Dn]=l;t:for(M=i.child;M!==null;){if(M.tag===5||M.tag===6)h.appendChild(M.stateNode);else if(M.tag!==4&&M.tag!==27&&M.child!==null){M.child.return=M,M=M.child;continue}if(M===i)break t;for(;M.sibling===null;){if(M.return===null||M.return===i)break t;M=M.return}M.sibling.return=M.return,M=M.sibling}i.stateNode=h;t:switch(On(h,f,l),f){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break t;case"img":l=!0;break t;default:l=!1}l&&ya(i)}}return en(i),Uh(i,i.type,e===null?null:e.memoizedProps,i.pendingProps,r),null;case 6:if(e&&i.stateNode!=null)e.memoizedProps!==l&&ya(i);else{if(typeof l!="string"&&i.stateNode===null)throw Error(a(166));if(e=F.current,Es(i)){if(e=i.stateNode,r=i.memoizedProps,l=null,f=Ln,f!==null)switch(f.tag){case 27:case 5:l=f.memoizedProps}e[pn]=i,e=!!(e.nodeValue===r||l!==null&&l.suppressHydrationWarning===!0||K_(e.nodeValue,r)),e||Qa(i,!0)}else e=Vc(e).createTextNode(l),e[pn]=i,i.stateNode=e}return en(i),null;case 31:if(r=i.memoizedState,e===null||e.memoizedState!==null){if(l=Es(i),r!==null){if(e===null){if(!l)throw Error(a(318));if(e=i.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(a(557));e[pn]=i}else zr(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;en(i),e=!1}else r=Vf(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),e=!0;if(!e)return i.flags&256?(fi(i),i):(fi(i),null);if((i.flags&128)!==0)throw Error(a(558))}return en(i),null;case 13:if(l=i.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(f=Es(i),l!==null&&l.dehydrated!==null){if(e===null){if(!f)throw Error(a(318));if(f=i.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(a(317));f[pn]=i}else zr(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;en(i),f=!1}else f=Vf(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=f),f=!0;if(!f)return i.flags&256?(fi(i),i):(fi(i),null)}return fi(i),(i.flags&128)!==0?(i.lanes=r,i):(r=l!==null,e=e!==null&&e.memoizedState!==null,r&&(l=i.child,f=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(f=l.alternate.memoizedState.cachePool.pool),h=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(h=l.memoizedState.cachePool.pool),h!==f&&(l.flags|=2048)),r!==e&&r&&(i.child.flags|=8192),Rc(i,i.updateQueue),en(i),null);case 4:return yt(),e===null&&td(i.stateNode.containerInfo),en(i),null;case 10:return ga(i.type),en(i),null;case 19:if($(hn),l=i.memoizedState,l===null)return en(i),null;if(f=(i.flags&128)!==0,h=l.rendering,h===null)if(f)Jo(l,!1);else{if(un!==0||e!==null&&(e.flags&128)!==0)for(e=i.child;e!==null;){if(h=pc(e),h!==null){for(i.flags|=128,Jo(l,!1),e=h.updateQueue,i.updateQueue=e,Rc(i,e),i.subtreeFlags=0,e=r,r=i.child;r!==null;)R0(r,e),r=r.sibling;return bt(hn,hn.current&1|2),Re&&pa(i,l.treeForkCount),i.child}e=e.sibling}l.tail!==null&&De()>Uc&&(i.flags|=128,f=!0,Jo(l,!1),i.lanes=4194304)}else{if(!f)if(e=pc(h),e!==null){if(i.flags|=128,f=!0,e=e.updateQueue,i.updateQueue=e,Rc(i,e),Jo(l,!0),l.tail===null&&l.tailMode==="hidden"&&!h.alternate&&!Re)return en(i),null}else 2*De()-l.renderingStartTime>Uc&&r!==536870912&&(i.flags|=128,f=!0,Jo(l,!1),i.lanes=4194304);l.isBackwards?(h.sibling=i.child,i.child=h):(e=l.last,e!==null?e.sibling=h:i.child=h,l.last=h)}return l.tail!==null?(e=l.tail,l.rendering=e,l.tail=e.sibling,l.renderingStartTime=De(),e.sibling=null,r=hn.current,bt(hn,f?r&1|2:r&1),Re&&pa(i,l.treeForkCount),e):(en(i),null);case 22:case 23:return fi(i),eh(),l=i.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(i.flags|=8192):l&&(i.flags|=8192),l?(r&536870912)!==0&&(i.flags&128)===0&&(en(i),i.subtreeFlags&6&&(i.flags|=8192)):en(i),r=i.updateQueue,r!==null&&Rc(i,r.retryQueue),r=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),l=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(l=i.memoizedState.cachePool.pool),l!==r&&(i.flags|=2048),e!==null&&$(Gr),null;case 24:return r=null,e!==null&&(r=e.memoizedState.cache),i.memoizedState.cache!==r&&(i.flags|=2048),ga(gn),en(i),null;case 25:return null;case 30:return null}throw Error(a(156,i.tag))}function EM(e,i){switch(Hf(i),i.tag){case 1:return e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 3:return ga(gn),yt(),e=i.flags,(e&65536)!==0&&(e&128)===0?(i.flags=e&-65537|128,i):null;case 26:case 27:case 5:return wt(i),null;case 31:if(i.memoizedState!==null){if(fi(i),i.alternate===null)throw Error(a(340));zr()}return e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 13:if(fi(i),e=i.memoizedState,e!==null&&e.dehydrated!==null){if(i.alternate===null)throw Error(a(340));zr()}return e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 19:return $(hn),null;case 4:return yt(),null;case 10:return ga(i.type),null;case 22:case 23:return fi(i),eh(),e!==null&&$(Gr),e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 24:return ga(gn),null;case 25:return null;default:return null}}function t_(e,i){switch(Hf(i),i.tag){case 3:ga(gn),yt();break;case 26:case 27:case 5:wt(i);break;case 4:yt();break;case 31:i.memoizedState!==null&&fi(i);break;case 13:fi(i);break;case 19:$(hn);break;case 10:ga(i.type);break;case 22:case 23:fi(i),eh(),e!==null&&$(Gr);break;case 24:ga(gn)}}function jo(e,i){try{var r=i.updateQueue,l=r!==null?r.lastEffect:null;if(l!==null){var f=l.next;r=f;do{if((r.tag&e)===e){l=void 0;var h=r.create,M=r.inst;l=h(),M.destroy=l}r=r.next}while(r!==f)}}catch(C){We(i,i.return,C)}}function ir(e,i,r){try{var l=i.updateQueue,f=l!==null?l.lastEffect:null;if(f!==null){var h=f.next;l=h;do{if((l.tag&e)===e){var M=l.inst,C=M.destroy;if(C!==void 0){M.destroy=void 0,f=i;var H=r,at=C;try{at()}catch(gt){We(f,H,gt)}}}l=l.next}while(l!==h)}}catch(gt){We(i,i.return,gt)}}function e_(e){var i=e.updateQueue;if(i!==null){var r=e.stateNode;try{X0(i,r)}catch(l){We(e,e.return,l)}}}function n_(e,i,r){r.props=qr(e.type,e.memoizedProps),r.state=e.memoizedState;try{r.componentWillUnmount()}catch(l){We(e,i,l)}}function $o(e,i){try{var r=e.ref;if(r!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}typeof r=="function"?e.refCleanup=r(l):r.current=l}}catch(f){We(e,i,f)}}function Ji(e,i){var r=e.ref,l=e.refCleanup;if(r!==null)if(typeof l=="function")try{l()}catch(f){We(e,i,f)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof r=="function")try{r(null)}catch(f){We(e,i,f)}else r.current=null}function i_(e){var i=e.type,r=e.memoizedProps,l=e.stateNode;try{t:switch(i){case"button":case"input":case"select":case"textarea":r.autoFocus&&l.focus();break t;case"img":r.src?l.src=r.src:r.srcSet&&(l.srcset=r.srcSet)}}catch(f){We(e,e.return,f)}}function Nh(e,i,r){try{var l=e.stateNode;XM(l,e.type,r,i),l[Dn]=i}catch(f){We(e,e.return,f)}}function a_(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ur(e.type)||e.tag===4}function Oh(e){t:for(;;){for(;e.sibling===null;){if(e.return===null||a_(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&&ur(e.type)||e.flags&2||e.child===null||e.tag===4)continue t;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ph(e,i,r){var l=e.tag;if(l===5||l===6)e=e.stateNode,i?(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(e,i):(i=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,i.appendChild(e),r=r._reactRootContainer,r!=null||i.onclick!==null||(i.onclick=fa));else if(l!==4&&(l===27&&ur(e.type)&&(r=e.stateNode,i=null),e=e.child,e!==null))for(Ph(e,i,r),e=e.sibling;e!==null;)Ph(e,i,r),e=e.sibling}function wc(e,i,r){var l=e.tag;if(l===5||l===6)e=e.stateNode,i?r.insertBefore(e,i):r.appendChild(e);else if(l!==4&&(l===27&&ur(e.type)&&(r=e.stateNode),e=e.child,e!==null))for(wc(e,i,r),e=e.sibling;e!==null;)wc(e,i,r),e=e.sibling}function r_(e){var i=e.stateNode,r=e.memoizedProps;try{for(var l=e.type,f=i.attributes;f.length;)i.removeAttributeNode(f[0]);On(i,l,r),i[pn]=e,i[Dn]=r}catch(h){We(e,e.return,h)}}var Sa=!1,xn=!1,Bh=!1,s_=typeof WeakSet=="function"?WeakSet:Set,Rn=null;function bM(e,i){if(e=e.containerInfo,id=Kc,e=v0(e),Cf(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else t:{r=(r=e.ownerDocument)&&r.defaultView||window;var l=r.getSelection&&r.getSelection();if(l&&l.rangeCount!==0){r=l.anchorNode;var f=l.anchorOffset,h=l.focusNode;l=l.focusOffset;try{r.nodeType,h.nodeType}catch{r=null;break t}var M=0,C=-1,H=-1,at=0,gt=0,Et=e,ct=null;e:for(;;){for(var ft;Et!==r||f!==0&&Et.nodeType!==3||(C=M+f),Et!==h||l!==0&&Et.nodeType!==3||(H=M+l),Et.nodeType===3&&(M+=Et.nodeValue.length),(ft=Et.firstChild)!==null;)ct=Et,Et=ft;for(;;){if(Et===e)break e;if(ct===r&&++at===f&&(C=M),ct===h&&++gt===l&&(H=M),(ft=Et.nextSibling)!==null)break;Et=ct,ct=Et.parentNode}Et=ft}r=C===-1||H===-1?null:{start:C,end:H}}else r=null}r=r||{start:0,end:0}}else r=null;for(ad={focusedElem:e,selectionRange:r},Kc=!1,Rn=i;Rn!==null;)if(i=Rn,e=i.child,(i.subtreeFlags&1028)!==0&&e!==null)e.return=i,Rn=e;else for(;Rn!==null;){switch(i=Rn,h=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(r=0;r title"))),On(h,l,r),h[pn]=e,mn(h),l=h;break t;case"link":var M=hv("link","href",f).get(l+(r.href||""));if(M){for(var C=0;CKe&&(M=Ke,Ke=ce,ce=M);var J=g0(C,ce),X=g0(C,Ke);if(J&&X&&(ft.rangeCount!==1||ft.anchorNode!==J.node||ft.anchorOffset!==J.offset||ft.focusNode!==X.node||ft.focusOffset!==X.offset)){var it=Et.createRange();it.setStart(J.node,J.offset),ft.removeAllRanges(),ce>Ke?(ft.addRange(it),ft.extend(X.node,X.offset)):(it.setEnd(X.node,X.offset),ft.addRange(it))}}}}for(Et=[],ft=C;ft=ft.parentNode;)ft.nodeType===1&&Et.push({element:ft,left:ft.scrollLeft,top:ft.scrollTop});for(typeof C.focus=="function"&&C.focus(),C=0;Cr?32:r,z.T=null,r=kh,kh=null;var h=or,M=Aa;if(En=0,Is=or=null,Aa=0,(Pe&6)!==0)throw Error(a(331));var C=Pe;if(Pe|=4,__(h.current),p_(h,h.current,M,r),Pe=C,rl(0,!1),mt&&typeof mt.onPostCommitFiberRoot=="function")try{mt.onPostCommitFiberRoot(dt,h)}catch{}return!0}finally{V.p=f,z.T=l,P_(e,i)}}function I_(e,i,r){i=Mi(r,i),i=Mh(e.stateNode,i,2),e=tr(e,i,2),e!==null&&(Yt(e,2),ji(e))}function We(e,i,r){if(e.tag===3)I_(e,e,r);else for(;i!==null;){if(i.tag===3){I_(i,e,r);break}else if(i.tag===1){var l=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(sr===null||!sr.has(l))){e=Mi(r,e),r=zg(2),l=tr(i,r,2),l!==null&&(Fg(r,l,i,e),Yt(l,2),ji(l));break}}i=i.return}}function Yh(e,i,r){var l=e.pingCache;if(l===null){l=e.pingCache=new RM;var f=new Set;l.set(i,f)}else f=l.get(i),f===void 0&&(f=new Set,l.set(i,f));f.has(r)||(Fh=!0,f.add(r),e=UM.bind(null,e,i,r),i.then(e,e))}function UM(e,i,r){var l=e.pingCache;l!==null&&l.delete(i),e.pingedLanes|=e.suspendedLanes&r,e.warmLanes&=~r,je===e&&(be&r)===r&&(un===4||un===3&&(be&62914560)===be&&300>De()-Lc?(Pe&2)===0&&zs(e,0):Hh|=r,Bs===be&&(Bs=0)),ji(e)}function z_(e,i){i===0&&(i=Tt()),e=Br(e,i),e!==null&&(Yt(e,i),ji(e))}function NM(e){var i=e.memoizedState,r=0;i!==null&&(r=i.retryLane),z_(e,r)}function OM(e,i){var r=0;switch(e.tag){case 31:case 13:var l=e.stateNode,f=e.memoizedState;f!==null&&(r=f.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(a(314))}l!==null&&l.delete(i),z_(e,r)}function PM(e,i){return xe(e,i)}var zc=null,Hs=null,Zh=!1,Fc=!1,Kh=!1,cr=0;function ji(e){e!==Hs&&e.next===null&&(Hs===null?zc=Hs=e:Hs=Hs.next=e),Fc=!0,Zh||(Zh=!0,IM())}function rl(e,i){if(!Kh&&Fc){Kh=!0;do for(var r=!1,l=zc;l!==null;){if(e!==0){var f=l.pendingLanes;if(f===0)var h=0;else{var M=l.suspendedLanes,C=l.pingedLanes;h=(1<<31-kt(42|e)+1)-1,h&=f&~(M&~C),h=h&201326741?h&201326741|1:h?h|2:0}h!==0&&(r=!0,V_(l,h))}else h=be,h=vt(l,l===je?h:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(h&3)===0||Nt(l,h)||(r=!0,V_(l,h));l=l.next}while(r);Kh=!1}}function BM(){F_()}function F_(){Fc=Zh=!1;var e=0;cr!==0&&YM()&&(e=cr);for(var i=De(),r=null,l=zc;l!==null;){var f=l.next,h=H_(l,i);h===0?(l.next=null,r===null?zc=f:r.next=f,f===null&&(Hs=r)):(r=l,(e!==0||(h&3)!==0)&&(Fc=!0)),l=f}En!==0&&En!==5||rl(e),cr!==0&&(cr=0)}function H_(e,i){for(var r=e.suspendedLanes,l=e.pingedLanes,f=e.expirationTimes,h=e.pendingLanes&-62914561;0C)break;var gt=H.transferSize,Et=H.initiatorType;gt&&Q_(Et)&&(H=H.responseEnd,M+=gt*(H"u"?null:document;function lv(e,i,r){var l=Gs;if(l&&typeof i=="string"&&i){var f=Ge(i);f='link[rel="'+e+'"][href="'+f+'"]',typeof r=="string"&&(f+='[crossorigin="'+r+'"]'),ov.has(f)||(ov.add(f),e={rel:e,crossOrigin:r,href:i},l.querySelector(f)===null&&(i=l.createElement("link"),On(i,"link",e),mn(i),l.head.appendChild(i)))}}function n1(e){Ra.D(e),lv("dns-prefetch",e,null)}function i1(e,i){Ra.C(e,i),lv("preconnect",e,i)}function a1(e,i,r){Ra.L(e,i,r);var l=Gs;if(l&&e&&i){var f='link[rel="preload"][as="'+Ge(i)+'"]';i==="image"&&r&&r.imageSrcSet?(f+='[imagesrcset="'+Ge(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(f+='[imagesizes="'+Ge(r.imageSizes)+'"]')):f+='[href="'+Ge(e)+'"]';var h=f;switch(i){case"style":h=Vs(e);break;case"script":h=ks(e)}wi.has(h)||(e=v({rel:"preload",href:i==="image"&&r&&r.imageSrcSet?void 0:e,as:i},r),wi.set(h,e),l.querySelector(f)!==null||i==="style"&&l.querySelector(cl(h))||i==="script"&&l.querySelector(ul(h))||(i=l.createElement("link"),On(i,"link",e),mn(i),l.head.appendChild(i)))}}function r1(e,i){Ra.m(e,i);var r=Gs;if(r&&e){var l=i&&typeof i.as=="string"?i.as:"script",f='link[rel="modulepreload"][as="'+Ge(l)+'"][href="'+Ge(e)+'"]',h=f;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":h=ks(e)}if(!wi.has(h)&&(e=v({rel:"modulepreload",href:e},i),wi.set(h,e),r.querySelector(f)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(ul(h)))return}l=r.createElement("link"),On(l,"link",e),mn(l),r.head.appendChild(l)}}}function s1(e,i,r){Ra.S(e,i,r);var l=Gs;if(l&&e){var f=Xa(l).hoistableStyles,h=Vs(e);i=i||"default";var M=f.get(h);if(!M){var C={loading:0,preload:null};if(M=l.querySelector(cl(h)))C.loading=5;else{e=v({rel:"stylesheet",href:e,"data-precedence":i},r),(r=wi.get(h))&&fd(e,r);var H=M=l.createElement("link");mn(H),On(H,"link",e),H._p=new Promise(function(at,gt){H.onload=at,H.onerror=gt}),H.addEventListener("load",function(){C.loading|=1}),H.addEventListener("error",function(){C.loading|=2}),C.loading|=4,Wc(M,i,l)}M={type:"stylesheet",instance:M,count:1,state:C},f.set(h,M)}}}function o1(e,i){Ra.X(e,i);var r=Gs;if(r&&e){var l=Xa(r).hoistableScripts,f=ks(e),h=l.get(f);h||(h=r.querySelector(ul(f)),h||(e=v({src:e,async:!0},i),(i=wi.get(f))&&hd(e,i),h=r.createElement("script"),mn(h),On(h,"link",e),r.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},l.set(f,h))}}function l1(e,i){Ra.M(e,i);var r=Gs;if(r&&e){var l=Xa(r).hoistableScripts,f=ks(e),h=l.get(f);h||(h=r.querySelector(ul(f)),h||(e=v({src:e,async:!0,type:"module"},i),(i=wi.get(f))&&hd(e,i),h=r.createElement("script"),mn(h),On(h,"link",e),r.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},l.set(f,h))}}function cv(e,i,r,l){var f=(f=F.current)?kc(f):null;if(!f)throw Error(a(446));switch(e){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(i=Vs(r.href),r=Xa(f).hoistableStyles,l=r.get(i),l||(l={type:"style",instance:null,count:0,state:null},r.set(i,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){e=Vs(r.href);var h=Xa(f).hoistableStyles,M=h.get(e);if(M||(f=f.ownerDocument||f,M={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},h.set(e,M),(h=f.querySelector(cl(e)))&&!h._p&&(M.instance=h,M.state.loading=5),wi.has(e)||(r={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy},wi.set(e,r),h||c1(f,e,r,M.state))),i&&l===null)throw Error(a(528,""));return M}if(i&&l!==null)throw Error(a(529,""));return null;case"script":return i=r.async,r=r.src,typeof r=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=ks(r),r=Xa(f).hoistableScripts,l=r.get(i),l||(l={type:"script",instance:null,count:0,state:null},r.set(i,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,e))}}function Vs(e){return'href="'+Ge(e)+'"'}function cl(e){return'link[rel="stylesheet"]['+e+"]"}function uv(e){return v({},e,{"data-precedence":e.precedence,precedence:null})}function c1(e,i,r,l){e.querySelector('link[rel="preload"][as="style"]['+i+"]")?l.loading=1:(i=e.createElement("link"),l.preload=i,i.addEventListener("load",function(){return l.loading|=1}),i.addEventListener("error",function(){return l.loading|=2}),On(i,"link",r),mn(i),e.head.appendChild(i))}function ks(e){return'[src="'+Ge(e)+'"]'}function ul(e){return"script[async]"+e}function fv(e,i,r){if(i.count++,i.instance===null)switch(i.type){case"style":var l=e.querySelector('style[data-href~="'+Ge(r.href)+'"]');if(l)return i.instance=l,mn(l),l;var f=v({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),mn(l),On(l,"style",f),Wc(l,r.precedence,e),i.instance=l;case"stylesheet":f=Vs(r.href);var h=e.querySelector(cl(f));if(h)return i.state.loading|=4,i.instance=h,mn(h),h;l=uv(r),(f=wi.get(f))&&fd(l,f),h=(e.ownerDocument||e).createElement("link"),mn(h);var M=h;return M._p=new Promise(function(C,H){M.onload=C,M.onerror=H}),On(h,"link",l),i.state.loading|=4,Wc(h,r.precedence,e),i.instance=h;case"script":return h=ks(r.src),(f=e.querySelector(ul(h)))?(i.instance=f,mn(f),f):(l=r,(f=wi.get(h))&&(l=v({},r),hd(l,f)),e=e.ownerDocument||e,f=e.createElement("script"),mn(f),On(f,"link",l),e.head.appendChild(f),i.instance=f);case"void":return null;default:throw Error(a(443,i.type))}else i.type==="stylesheet"&&(i.state.loading&4)===0&&(l=i.instance,i.state.loading|=4,Wc(l,r.precedence,e));return i.instance}function Wc(e,i,r){for(var l=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=l.length?l[l.length-1]:null,h=f,M=0;M title"):null)}function u1(e,i,r){if(r===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;return i.rel==="stylesheet"?(e=i.disabled,typeof i.precedence=="string"&&e==null):!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 pv(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function f1(e,i,r,l){if(r.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(r.state.loading&4)===0){if(r.instance===null){var f=Vs(l.href),h=i.querySelector(cl(f));if(h){i=h._p,i!==null&&typeof i=="object"&&typeof i.then=="function"&&(e.count++,e=qc.bind(e),i.then(e,e)),r.state.loading|=4,r.instance=h,mn(h);return}h=i.ownerDocument||i,l=uv(l),(f=wi.get(f))&&fd(l,f),h=h.createElement("link"),mn(h);var M=h;M._p=new Promise(function(C,H){M.onload=C,M.onerror=H}),On(h,"link",l),r.instance=h}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(r,i),(i=r.state.preload)&&(r.state.loading&3)===0&&(e.count++,r=qc.bind(e),i.addEventListener("load",r),i.addEventListener("error",r))}}var dd=0;function h1(e,i){return e.stylesheets&&e.count===0&&Zc(e,e.stylesheets),0dd?50:800)+i);return e.unsuspend=r,function(){e.unsuspend=null,clearTimeout(l),clearTimeout(f)}}:null}function qc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Zc(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Yc=null;function Zc(e,i){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Yc=new Map,i.forEach(d1,e),Yc=null,qc.call(e))}function d1(e,i){if(!(i.state.loading&4)){var r=Yc.get(e);if(r)var l=r.get(null);else{r=new Map,Yc.set(e,r);for(var f=e.querySelectorAll("link[data-precedence],style[data-precedence]"),h=0;h"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s)}catch(t){console.error(t)}}return s(),Md.exports=C1(),Md.exports}var L1=D1();var mm=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,hy=/^[\\/]{2}/;function U1(s,t){return t+s.replace(/\\/g,"/")}var zv="popstate";function Fv(s){return typeof s=="object"&&s!=null&&"pathname"in s&&"search"in s&&"hash"in s&&"state"in s&&"key"in s}function N1(s={}){function t(a,o){let c=o.state?.masked,{pathname:u,search:d,hash:m}=c||a.location;return _p("",{pathname:u,search:d,hash:m},o.state&&o.state.usr||null,o.state&&o.state.key||"default",c?{pathname:a.location.pathname,search:a.location.search,hash:a.location.hash}:void 0)}function n(a,o){return typeof o=="string"?o:Ol(o)}return P1(t,n,null,s)}function bn(s,t){if(s===!1||s===null||typeof s>"u")throw new Error(t)}function sa(s,t){if(!s){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function O1(){return Math.random().toString(36).substring(2,10)}function Hv(s,t){return{usr:s.state,key:s.key,idx:t,masked:s.mask?{pathname:s.pathname,search:s.search,hash:s.hash}:void 0}}function _p(s,t,n=null,a,o){return{pathname:typeof s=="string"?s:s.pathname,search:"",hash:"",...typeof t=="string"?Hl(t):t,state:n,key:t&&t.key||a||O1(),mask:o}}function Ol({pathname:s="/",search:t="",hash:n=""}){return t&&t!=="?"&&(s+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(s+=n.charAt(0)==="#"?n:"#"+n),s}function Hl(s){let t={};if(s){let n=s.indexOf("#");n>=0&&(t.hash=s.substring(n),s=s.substring(0,n));let a=s.indexOf("?");a>=0&&(t.search=s.substring(a),s=s.substring(0,a)),s&&(t.pathname=s)}return t}function P1(s,t,n,a={}){let{window:o=document.defaultView,v5Compat:c=!1}=a,u=o.history,d="POP",m=null,p=_();p==null&&(p=0,u.replaceState({...u.state,idx:p},""));function _(){return(u.state||{idx:null}).idx}function v(){d="POP";let x=_(),S=x==null?null:x-p;p=x,m&&m({action:d,location:A.location,delta:S})}function g(x,S){d="PUSH";let D=Fv(x)?x:_p(A.location,x,S);p=_()+1;let L=Hv(D,p),w=A.createHref(D.mask||D);try{u.pushState(L,"",w)}catch(B){if(B instanceof DOMException&&B.name==="DataCloneError")throw B;o.location.assign(w)}c&&m&&m({action:d,location:A.location,delta:1})}function y(x,S){d="REPLACE";let D=Fv(x)?x:_p(A.location,x,S);p=_();let L=Hv(D,p),w=A.createHref(D.mask||D);u.replaceState(L,"",w),c&&m&&m({action:d,location:A.location,delta:0})}function E(x){return B1(o,x)}let A={get action(){return d},get location(){return s(o,u)},listen(x){if(m)throw new Error("A history only accepts one active listener");return o.addEventListener(zv,v),m=x,()=>{o.removeEventListener(zv,v),m=null}},createHref(x){return t(o,x)},createURL:E,encodeLocation(x){let S=E(x);return{pathname:S.pathname,search:S.search,hash:S.hash}},push:g,replace:y,go(x){return u.go(x)}};return A}function B1(s,t,n=!1){let a="http://localhost";s&&(a=s.location.origin!=="null"?s.location.origin:s.location.href),bn(a,"No window.location.(origin|href) available to create URL");let o=typeof t=="string"?t:Ol(t);return o=o.replace(/ $/,"%20"),!n&&hy.test(o)&&(o=a+o),new URL(o,a)}function dy(s,t,n="/"){return I1(s,t,n,!1)}function I1(s,t,n,a,o){let c=typeof t=="string"?Hl(t):t,u=Fa(c.pathname||"/",n);if(u==null)return null;let d=z1(s),m=null,p=K1(u);for(let _=0;m==null&&_{let _={relativePath:p===void 0?u.path||"":p,caseSensitive:u.caseSensitive===!0,childrenIndex:d,route:u};if(_.relativePath.startsWith("/")){if(!_.relativePath.startsWith(a)&&m)return;bn(_.relativePath.startsWith(a),`Absolute route path "${_.relativePath}" nested under path "${a}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),_.relativePath=_.relativePath.slice(a.length)}let v=Xi([a,_.relativePath]),g=n.concat(_);u.children&&u.children.length>0&&(bn(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),py(u.children,t,g,v,m)),!(u.path==null&&!u.index)&&t.push({path:v,score:q1(v,u.index),routesMeta:g.map((y,E)=>{let[A,x]=_y(y.relativePath,y.caseSensitive,E===g.length-1);return{...y,matcher:A,compiledParams:x}})})};return s.forEach((u,d)=>{if(u.path===""||!u.path?.includes("?"))c(u,d);else for(let m of my(u.path))c(u,d,!0,m)}),t}function my(s){let t=s.split("/");if(t.length===0)return[];let[n,...a]=t,o=n.endsWith("?"),c=n.replace(/\?$/,"");if(a.length===0)return o?[c,""]:[c];let u=my(a.join("/")),d=[];return d.push(...u.map(m=>m===""?c:[c,m].join("/"))),o&&d.push(...u),d.map(m=>s.startsWith("/")&&m===""?"/":m)}function F1(s){s.sort((t,n)=>t.score!==n.score?n.score-t.score:Y1(t.routesMeta.map(a=>a.childrenIndex),n.routesMeta.map(a=>a.childrenIndex)))}var H1=/^:[\w-]+$/,G1=3,V1=2,k1=1,W1=10,X1=-2,Gv=s=>s==="*";function q1(s,t){let n=s.split("/"),a=n.length;return n.some(Gv)&&(a+=X1),t&&(a+=V1),n.filter(o=>!Gv(o)).reduce((o,c)=>o+(H1.test(c)?G1:c===""?k1:W1),a)}function Y1(s,t){return s.length===t.length&&s.slice(0,-1).every((a,o)=>a===t[o])?s[s.length-1]-t[t.length-1]:0}function Z1(s,t,n=!1){let{routesMeta:a}=s,o={},c="/",u=[];for(let d=0;d{if(_==="*"){let E=d[g]||"";u=c.slice(0,c.length-E.length).replace(/(.)\/+$/,"$1")}const y=d[g];return v&&!y?p[_]=void 0:p[_]=(y||"").replace(/%2F/g,"/"),p},{}),pathname:c,pathnameBase:u,pattern:s}}function _y(s,t=!1,n=!0){sa(s==="*"||!s.endsWith("*")||s.endsWith("/*"),`Route path "${s}" will be treated as if it were "${s.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${s.replace(/\*$/,"/*")}".`);let a=[],o="^"+s.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,d,m,p,_)=>{if(a.push({paramName:d,isOptional:m!=null}),m){let v=_.charAt(p+u.length);return v&&v!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return s.endsWith("*")?(a.push({paramName:"*"}),o+=s==="*"||s==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":s!==""&&s!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),a]}function K1(s){try{return s.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return sa(!1,`The URL path "${s}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),s}}function Fa(s,t){if(t==="/")return s;if(!s.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,a=s.charAt(n);return a&&a!=="/"?null:s.slice(n)||"/"}function Q1(s,t="/"){let{pathname:n,search:a="",hash:o=""}=typeof s=="string"?Hl(s):s,c;return n?(n=xy(n),n.startsWith("/")?c=Vv(n.substring(1),"/"):c=Vv(n,t)):c=t,{pathname:c,search:$1(a),hash:tE(o)}}function Vv(s,t){let n=Zu(t).split("/");return s.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function Ad(s,t,n,a){return`Cannot include a '${s}' character in a manually specified \`to.${t}\` field [${JSON.stringify(a)}]. 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 J1(s){return s.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function vy(s){let t=J1(s);return t.map((n,a)=>a===t.length-1?n.pathname:n.pathnameBase)}function gm(s,t,n,a=!1){let o;typeof s=="string"?o=Hl(s):(o={...s},bn(!o.pathname||!o.pathname.includes("?"),Ad("?","pathname","search",o)),bn(!o.pathname||!o.pathname.includes("#"),Ad("#","pathname","hash",o)),bn(!o.search||!o.search.includes("#"),Ad("#","search","hash",o)));let c=s===""||o.pathname==="",u=c?"/":o.pathname,d;if(u==null)d=n;else{let v=t.length-1;if(!a&&u.startsWith("..")){let g=u.split("/");for(;g[0]==="..";)g.shift(),v-=1;o.pathname=g.join("/")}d=v>=0?t[v]:"/"}let m=Q1(o,d),p=u&&u!=="/"&&u.endsWith("/"),_=(c||u===".")&&n.endsWith("/");return!m.pathname.endsWith("/")&&(p||_)&&(m.pathname+="/"),m}var xy=s=>s.replace(/[\\/]{2,}/g,"/"),Xi=s=>xy(s.join("/")),Zu=s=>s.replace(/\/+$/,""),j1=s=>Zu(s).replace(/^\/*/,"/"),$1=s=>!s||s==="?"?"":s.startsWith("?")?s:"?"+s,tE=s=>!s||s==="#"?"":s.startsWith("#")?s:"#"+s,eE=class{constructor(s,t,n,a=!1){this.status=s,this.statusText=t||"",this.internal=a,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function nE(s){return s!=null&&typeof s.status=="number"&&typeof s.statusText=="string"&&typeof s.internal=="boolean"&&"data"in s}function iE(s){let t=s.map(n=>n.route.path).filter(Boolean);return Xi(t)||"/"}var yy=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Sy(s,t){let n=s;if(typeof n!="string"||!mm.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let a=n,o=!1;if(yy)try{let c=new URL(window.location.href),u=hy.test(n)?new URL(U1(n,c.protocol)):new URL(n),d=Fa(u.pathname,t);u.origin===c.origin&&d!=null?n=d+u.search+u.hash:o=!0}catch{sa(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:a,isExternal:o,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var My=["POST","PUT","PATCH","DELETE"];new Set(My);var aE=["GET",...My];new Set(aE);var rE=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function sE(s){try{return rE.includes(new URL(s).protocol)}catch{return!1}}var Mo=ht.createContext(null);Mo.displayName="DataRouter";var lf=ht.createContext(null);lf.displayName="DataRouterState";var Ey=ht.createContext(!1);function oE(){return ht.useContext(Ey)}var by=ht.createContext({isTransitioning:!1});by.displayName="ViewTransition";var lE=ht.createContext(new Map);lE.displayName="Fetchers";var cE=ht.createContext(null);cE.displayName="Await";var Ui=ht.createContext(null);Ui.displayName="Navigation";var cf=ht.createContext(null);cf.displayName="Location";var Ga=ht.createContext({outlet:null,matches:[],isDataRoute:!1});Ga.displayName="Route";var _m=ht.createContext(null);_m.displayName="RouteError";var Ty="REACT_ROUTER_ERROR",uE="REDIRECT",fE="ROUTE_ERROR_RESPONSE";function hE(s){if(s.startsWith(`${Ty}:${uE}:{`))try{let t=JSON.parse(s.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 dE(s){if(s.startsWith(`${Ty}:${fE}:{`))try{let t=JSON.parse(s.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new eE(t.status,t.statusText,t.data)}catch{}}function pE(s,{relative:t}={}){bn(Gl(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:a}=ht.useContext(Ui),{hash:o,pathname:c,search:u}=Vl(s,{relative:t}),d=c;return n!=="/"&&(d=c==="/"?n:Xi([n,c])),a.createHref({pathname:d,search:u,hash:o})}function Gl(){return ht.useContext(cf)!=null}function Va(){return bn(Gl(),"useLocation() may be used only in the context of a component."),ht.useContext(cf).location}var Ay="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Ry(s){ht.useContext(Ui).static||ht.useLayoutEffect(s)}function mE(){let{isDataRoute:s}=ht.useContext(Ga);return s?wE():gE()}function gE(){bn(Gl(),"useNavigate() may be used only in the context of a component.");let s=ht.useContext(Mo),{basename:t,navigator:n}=ht.useContext(Ui),{matches:a}=ht.useContext(Ga),{pathname:o}=Va(),c=JSON.stringify(vy(a)),u=ht.useRef(!1);return Ry(()=>{u.current=!0}),ht.useCallback((m,p={})=>{if(sa(u.current,Ay),!u.current)return;if(typeof m=="number"){n.go(m);return}let _=gm(m,JSON.parse(c),o,p.relative==="path");s==null&&t!=="/"&&(_.pathname=_.pathname==="/"?t:Xi([t,_.pathname])),(p.replace?n.replace:n.push)(_,p.state,p)},[t,n,c,o,s])}ht.createContext(null);function Vl(s,{relative:t}={}){let{matches:n}=ht.useContext(Ga),{pathname:a}=Va(),o=JSON.stringify(vy(n));return ht.useMemo(()=>gm(s,JSON.parse(o),a,t==="path"),[s,o,a,t])}function _E(s,t,n){bn(Gl(),"useRoutes() may be used only in the context of a component.");let{navigator:a}=ht.useContext(Ui),{matches:o}=ht.useContext(Ga),c=o[o.length-1],u=c?c.params:{},d=c?c.pathname:"/",m=c?c.pathnameBase:"/",p=c&&c.route;{let x=p&&p.path||"";Cy(d,!p||x.endsWith("*")||x.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${d}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. - -Please change the parent to .`)}let _=Va(),v;v=_;let g=v.pathname||"/",y=g;if(m!=="/"){let x=m.replace(/^\//,"").split("/");y="/"+g.replace(/^\//,"").split("/").slice(x.length).join("/")}let E=n&&n.state.matches.length?n.state.matches.map(x=>Object.assign(x,{route:n.manifest[x.route.id]||x.route})):dy(s,{pathname:y});return sa(p||E!=null,`No routes matched location "${v.pathname}${v.search}${v.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 "${v.pathname}${v.search}${v.hash}" does not have an element or Component. This means it will render an with a null value by default resulting in an "empty" page.`),ME(E&&E.map(x=>Object.assign({},x,{params:Object.assign({},u,x.params),pathname:Xi([m,a.encodeLocation?a.encodeLocation(x.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?m:Xi([m,a.encodeLocation?a.encodeLocation(x.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:x.pathnameBase])})),o,n)}function vE(){let s=RE(),t=nE(s)?`${s.status} ${s.statusText}`:s instanceof Error?s.message:JSON.stringify(s),n=s instanceof Error?s.stack:null,a="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:a},c={padding:"2px 4px",backgroundColor:a},u=null;return console.error("Error handled by React Router default ErrorBoundary:",s),u=ht.createElement(ht.Fragment,null,ht.createElement("p",null,"💿 Hey developer 👋"),ht.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",ht.createElement("code",{style:c},"ErrorBoundary")," or"," ",ht.createElement("code",{style:c},"errorElement")," prop on your route.")),ht.createElement(ht.Fragment,null,ht.createElement("h2",null,"Unexpected Application Error!"),ht.createElement("h3",{style:{fontStyle:"italic"}},t),n?ht.createElement("pre",{style:o},n):null,u)}var xE=ht.createElement(vE,null),wy=class extends ht.Component{constructor(s){super(s),this.state={location:s.location,revalidation:s.revalidation,error:s.error}}static getDerivedStateFromError(s){return{error:s}}static getDerivedStateFromProps(s,t){return t.location!==s.location||t.revalidation!=="idle"&&s.revalidation==="idle"?{error:s.error,location:s.location,revalidation:s.revalidation}:{error:s.error!==void 0?s.error:t.error,location:t.location,revalidation:s.revalidation||t.revalidation}}componentDidCatch(s,t){this.props.onError?this.props.onError(s,t):console.error("React Router caught the following error during render",s)}render(){let s=this.state.error;if(this.context&&typeof s=="object"&&s&&"digest"in s&&typeof s.digest=="string"){const n=dE(s.digest);n&&(s=n)}let t=s!==void 0?ht.createElement(Ga.Provider,{value:this.props.routeContext},ht.createElement(_m.Provider,{value:s,children:this.props.component})):this.props.children;return this.context?ht.createElement(yE,{error:s},t):t}};wy.contextType=Ey;var Rd=new WeakMap;function yE({children:s,error:t}){let{basename:n}=ht.useContext(Ui);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let a=hE(t.digest);if(a){let o=Rd.get(t);if(o)throw o;let c=Sy(a.location,n),u=c.absoluteURL||c.to;if(sE(u))throw new Error("Invalid redirect location");if(yy&&!Rd.get(t))if(c.isExternal||a.reloadDocument)window.location.href=u;else{const d=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(c.to,{replace:a.replace}));throw Rd.set(t,d),d}return ht.createElement("meta",{httpEquiv:"refresh",content:`0;url=${u}`})}}return s}function SE({routeContext:s,match:t,children:n}){let a=ht.useContext(Mo);return a&&a.static&&a.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=t.route.id),ht.createElement(Ga.Provider,{value:s},n)}function ME(s,t=[],n){let a=n?.state;if(s==null){if(!a)return null;if(a.errors)s=a.matches;else if(t.length===0&&!a.initialized&&a.matches.length>0)s=a.matches;else return null}let o=s,c=a?.errors;if(c!=null){let _=o.findIndex(v=>v.route.id&&c?.[v.route.id]!==void 0);bn(_>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(c).join(",")}`),o=o.slice(0,Math.min(o.length,_+1))}let u=!1,d=-1;if(n&&a){u=a.renderFallback;for(let _=0;_=0?o=o.slice(0,d+1):o=[o[0]];break}}}}let m=n?.onError,p=a&&m?(_,v)=>{m(_,{location:a.location,params:a.matches?.[0]?.params??{},pattern:iE(a.matches),errorInfo:v})}:void 0;return o.reduceRight((_,v,g)=>{let y,E=!1,A=null,x=null;a&&(y=c&&v.route.id?c[v.route.id]:void 0,A=v.route.errorElement||xE,u&&(d<0&&g===0?(Cy("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),E=!0,x=null):d===g&&(E=!0,x=v.route.hydrateFallbackElement||null)));let S=t.concat(o.slice(0,g+1)),D=()=>{let L;return y?L=A:E?L=x:v.route.Component?L=ht.createElement(v.route.Component,null):v.route.element?L=v.route.element:L=_,ht.createElement(SE,{match:v,routeContext:{outlet:_,matches:S,isDataRoute:a!=null},children:L})};return a&&(v.route.ErrorBoundary||v.route.errorElement||g===0)?ht.createElement(wy,{location:a.location,revalidation:a.revalidation,component:A,error:y,children:D(),routeContext:{outlet:null,matches:S,isDataRoute:!0},onError:p}):D()},null)}function vm(s){return`${s} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function EE(s){let t=ht.useContext(Mo);return bn(t,vm(s)),t}function bE(s){let t=ht.useContext(lf);return bn(t,vm(s)),t}function TE(s){let t=ht.useContext(Ga);return bn(t,vm(s)),t}function xm(s){let t=TE(s),n=t.matches[t.matches.length-1];return bn(n.route.id,`${s} can only be used on routes that contain a unique "id"`),n.route.id}function AE(){return xm("useRouteId")}function RE(){let s=ht.useContext(_m),t=bE("useRouteError"),n=xm("useRouteError");return s!==void 0?s:t.errors?.[n]}function wE(){let{router:s}=EE("useNavigate"),t=xm("useNavigate"),n=ht.useRef(!1);return Ry(()=>{n.current=!0}),ht.useCallback(async(o,c={})=>{sa(n.current,Ay),n.current&&(typeof o=="number"?await s.navigate(o):await s.navigate(o,{fromRouteId:t,...c}))},[s,t])}var kv={};function Cy(s,t,n){!t&&!kv[s]&&(kv[s]=!0,sa(!1,n))}ht.memo(CE);function CE({routes:s,manifest:t,future:n,state:a,isStatic:o,onError:c}){return _E(s,void 0,{manifest:t,state:a,isStatic:o,onError:c})}function DE({basename:s="/",children:t=null,location:n,navigationType:a="POP",navigator:o,static:c=!1,useTransitions:u}){bn(!Gl(),"You cannot render a inside another . You should never have more than one in your app.");let d=s.replace(/^\/*/,"/"),m=ht.useMemo(()=>({basename:d,navigator:o,static:c,useTransitions:u,future:{}}),[d,o,c,u]);typeof n=="string"&&(n=Hl(n));let{pathname:p="/",search:_="",hash:v="",state:g=null,key:y="default",mask:E}=n,A=ht.useMemo(()=>{let x=Fa(p,d);return x==null?null:{location:{pathname:x,search:_,hash:v,state:g,key:y,mask:E},navigationType:a}},[d,p,_,v,g,y,a,E]);return sa(A!=null,` is not able to match the URL "${p}${_}${v}" because it does not start with the basename, so the won't render anything.`),A==null?null:ht.createElement(Ui.Provider,{value:m},ht.createElement(cf.Provider,{children:t,value:A}))}var zu="get",Fu="application/x-www-form-urlencoded";function uf(s){return typeof HTMLElement<"u"&&s instanceof HTMLElement}function LE(s){return uf(s)&&s.tagName.toLowerCase()==="button"}function UE(s){return uf(s)&&s.tagName.toLowerCase()==="form"}function NE(s){return uf(s)&&s.tagName.toLowerCase()==="input"}function OE(s){return!!(s.metaKey||s.altKey||s.ctrlKey||s.shiftKey)}function PE(s,t){return s.button===0&&(!t||t==="_self")&&!OE(s)}var nu=null;function BE(){if(nu===null)try{new FormData(document.createElement("form"),0),nu=!1}catch{nu=!0}return nu}var IE=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function wd(s){return s!=null&&!IE.has(s)?(sa(!1,`"${s}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Fu}"`),null):s}function zE(s,t){let n,a,o,c,u;if(UE(s)){let d=s.getAttribute("action");a=d?Fa(d,t):null,n=s.getAttribute("method")||zu,o=wd(s.getAttribute("enctype"))||Fu,c=new FormData(s)}else if(LE(s)||NE(s)&&(s.type==="submit"||s.type==="image")){let d=s.form;if(d==null)throw new Error('Cannot submit a