(function(){const c=document.createElement("link").relList;if(c&&c.supports&&c.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))l(a);new MutationObserver(a=>{for(const n of a)if(n.type==="childList")for(const r of n.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&l(r)}).observe(document,{childList:!0,subtree:!0});function t(a){const n={};return a.integrity&&(n.integrity=a.integrity),a.referrerPolicy&&(n.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?n.credentials="include":a.crossOrigin==="anonymous"?n.credentials="omit":n.credentials="same-origin",n}function l(a){if(a.ep)return;a.ep=!0;const n=t(a);fetch(a.href,n)}})();function zc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var hi={exports:{}},J7={};var du;function RF(){if(du)return J7;du=1;var e=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function t(l,a,n){var r=null;if(n!==void 0&&(r=""+n),a.key!==void 0&&(r=""+a.key),"key"in a){n={};for(var o in a)o!=="key"&&(n[o]=a[o])}else n=a;return a=n.ref,{$$typeof:e,type:l,key:r,ref:a!==void 0?a:null,props:n}}return J7.Fragment=c,J7.jsx=t,J7.jsxs=t,J7}var pu;function VF(){return pu||(pu=1,hi.exports=RF()),hi.exports}var b=VF(),di={exports:{}},R2={};var vu;function IF(){if(vu)return R2;vu=1;var e=Symbol.for("react.transitional.element"),c=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),n=Symbol.for("react.consumer"),r=Symbol.for("react.context"),o=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),g=Symbol.for("react.activity"),_=Symbol.iterator;function z(O){return O===null||typeof O!="object"?null:(O=_&&O[_]||O["@@iterator"],typeof O=="function"?O:null)}var M={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,y={};function x(O,Q,T){this.props=O,this.context=Q,this.refs=y,this.updater=T||M}x.prototype.isReactComponent={},x.prototype.setState=function(O,Q){if(typeof O!="object"&&typeof O!="function"&&O!=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,O,Q,"setState")},x.prototype.forceUpdate=function(O){this.updater.enqueueForceUpdate(this,O,"forceUpdate")};function k(){}k.prototype=x.prototype;function S(O,Q,T){this.props=O,this.context=Q,this.refs=y,this.updater=T||M}var F=S.prototype=new k;F.constructor=S,w(F,x.prototype),F.isPureReactComponent=!0;var E=Array.isArray;function D(){}var H={H:null,A:null,T:null,S:null},I=Object.prototype.hasOwnProperty;function N(O,Q,T){var h2=T.ref;return{$$typeof:e,type:O,key:Q,ref:h2!==void 0?h2:null,props:T}}function A(O,Q){return N(O.type,Q,O.props)}function P(O){return typeof O=="object"&&O!==null&&O.$$typeof===e}function G(O){var Q={"=":"=0",":":"=2"};return"$"+O.replace(/[=:]/g,function(T){return Q[T]})}var c2=/\/+/g;function n2(O,Q){return typeof O=="object"&&O!==null&&O.key!=null?G(""+O.key):Q.toString(36)}function s2(O){switch(O.status){case"fulfilled":return O.value;case"rejected":throw O.reason;default:switch(typeof O.status=="string"?O.then(D,D):(O.status="pending",O.then(function(Q){O.status==="pending"&&(O.status="fulfilled",O.value=Q)},function(Q){O.status==="pending"&&(O.status="rejected",O.reason=Q)})),O.status){case"fulfilled":return O.value;case"rejected":throw O.reason}}throw O}function q(O,Q,T,h2,_2){var C2=typeof O;(C2==="undefined"||C2==="boolean")&&(O=null);var b2=!1;if(O===null)b2=!0;else switch(C2){case"bigint":case"string":case"number":b2=!0;break;case"object":switch(O.$$typeof){case e:case c:b2=!0;break;case f:return b2=O._init,q(b2(O._payload),Q,T,h2,_2)}}if(b2)return _2=_2(O),b2=h2===""?"."+n2(O,0):h2,E(_2)?(T="",b2!=null&&(T=b2.replace(c2,"$&/")+"/"),q(_2,Q,T,"",function(z0){return z0})):_2!=null&&(P(_2)&&(_2=A(_2,T+(_2.key==null||O&&O.key===_2.key?"":(""+_2.key).replace(c2,"$&/")+"/")+b2)),Q.push(_2)),1;b2=0;var T2=h2===""?".":h2+":";if(E(O))for(var L2=0;L2>>1,V=q[x2];if(0>>1;x2a(T,u2))h2a(_2,T)?(q[x2]=_2,q[h2]=u2,x2=h2):(q[x2]=T,q[Q]=u2,x2=Q);else if(h2a(_2,u2))q[x2]=_2,q[h2]=u2,x2=h2;else break e}}return t2}function a(q,t2){var u2=q.sortIndex-t2.sortIndex;return u2!==0?u2:q.id-t2.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var n=performance;e.unstable_now=function(){return n.now()}}else{var r=Date,o=r.now();e.unstable_now=function(){return r.now()-o}}var d=[],p=[],f=1,g=null,_=3,z=!1,M=!1,w=!1,y=!1,x=typeof setTimeout=="function"?setTimeout:null,k=typeof clearTimeout=="function"?clearTimeout:null,S=typeof setImmediate<"u"?setImmediate:null;function F(q){for(var t2=t(p);t2!==null;){if(t2.callback===null)l(p);else if(t2.startTime<=q)l(p),t2.sortIndex=t2.expirationTime,c(d,t2);else break;t2=t(p)}}function E(q){if(w=!1,F(q),!M)if(t(d)!==null)M=!0,D||(D=!0,G());else{var t2=t(p);t2!==null&&s2(E,t2.startTime-q)}}var D=!1,H=-1,I=5,N=-1;function A(){return y?!0:!(e.unstable_now()-Nq&&A());){var x2=g.callback;if(typeof x2=="function"){g.callback=null,_=g.priorityLevel;var V=x2(g.expirationTime<=q);if(q=e.unstable_now(),typeof V=="function"){g.callback=V,F(q),t2=!0;break c}g===t(d)&&l(d),F(q)}else l(d);g=t(d)}if(g!==null)t2=!0;else{var O=t(p);O!==null&&s2(E,O.startTime-q),t2=!1}}break e}finally{g=null,_=u2,z=!1}t2=void 0}}finally{t2?G():D=!1}}}var G;if(typeof S=="function")G=function(){S(P)};else if(typeof MessageChannel<"u"){var c2=new MessageChannel,n2=c2.port2;c2.port1.onmessage=P,G=function(){n2.postMessage(null)}}else G=function(){x(P,0)};function s2(q,t2){H=x(function(){q(e.unstable_now())},t2)}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(q){q.callback=null},e.unstable_forceFrameRate=function(q){0>q||125x2?(q.sortIndex=u2,c(p,q),t(d)===null&&q===t(p)&&(w?(k(H),H=-1):w=!0,s2(E,u2-x2))):(q.sortIndex=V,c(d,q),M||z||(M=!0,D||(D=!0,G()))),q},e.unstable_shouldYield=A,e.unstable_wrapCallback=function(q){var t2=_;return function(){var u2=_;_=t2;try{return q.apply(this,arguments)}finally{_=u2}}}})(fi)),fi}var uu;function OF(){return uu||(uu=1,vi.exports=NF()),vi.exports}var gi={exports:{}},n1={};var mu;function UF(){if(mu)return n1;mu=1;var e=ns();function c(d){var p="https://react.dev/errors/"+d;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(c){console.error(c)}}return e(),gi.exports=UF(),gi.exports}var zu;function jF(){if(zu)return e8;zu=1;var e=OF(),c=ns(),t=PF();function l(i){var s="https://react.dev/errors/"+i;if(1V||(i.current=x2[V],x2[V]=null,V--)}function T(i,s){V++,x2[V]=i.current,i.current=s}var h2=O(null),_2=O(null),C2=O(null),b2=O(null);function T2(i,s){switch(T(C2,s),T(_2,i),T(h2,null),s.nodeType){case 9:case 11:i=(i=s.documentElement)&&(i=i.namespaceURI)?Tg(i):0;break;default:if(i=s.tagName,s=s.namespaceURI)s=Tg(s),i=Hg(s,i);else switch(i){case"svg":i=1;break;case"math":i=2;break;default:i=0}}Q(h2),T(h2,i)}function L2(){Q(h2),Q(_2),Q(C2)}function z0(i){i.memoizedState!==null&&T(b2,i);var s=h2.current,h=Hg(s,i.type);s!==h&&(T(_2,i),T(h2,h))}function q0(i){_2.current===i&&(Q(h2),Q(_2)),b2.current===i&&(Q(b2),Y7._currentValue=u2)}var M1,w1;function v1(i){if(M1===void 0)try{throw Error()}catch(h){var s=h.stack.trim().match(/\n( *(at )?)/);M1=s&&s[1]||"",w1=-1)":-1u||j[v]!==K[u]){var r2=` `+j[v].replace(" at new "," at ");return i.displayName&&r2.includes("")&&(r2=r2.replace("",i.displayName)),r2}while(1<=v&&0<=u);break}}}finally{C1=!1,Error.prepareStackTrace=h}return(h=i?i.displayName||i.name:"")?v1(h):""}function b3(i,s){switch(i.tag){case 26:case 27:case 5:return v1(i.type);case 16:return v1("Lazy");case 13:return i.child!==s&&s!==null?v1("Suspense Fallback"):v1("Suspense");case 19:return v1("SuspenseList");case 0:case 15:return X0(i.type,!1);case 11:return X0(i.type.render,!1);case 1:return X0(i.type,!0);case 31:return v1("Activity");default:return""}}function z4(i){try{var s="",h=null;do s+=b3(i,h),h=i,i=i.return;while(i);return s}catch(v){return` Error generating stack: `+v.message+` `+v.stack}}var M4=Object.prototype.hasOwnProperty,F3=e.unstable_scheduleCallback,w4=e.unstable_cancelCallback,s7=e.unstable_shouldYield,n7=e.unstable_requestPaint,J=e.unstable_now,M2=e.unstable_getCurrentPriorityLevel,Z=e.unstable_ImmediatePriority,i2=e.unstable_UserBlockingPriority,f2=e.unstable_NormalPriority,y2=e.unstable_LowPriority,k2=e.unstable_IdlePriority,G2=e.log,U2=e.unstable_setDisableYieldValue,J2=null,r0=null;function c0(i){if(typeof G2=="function"&&U2(i),r0&&typeof r0.setStrictMode=="function")try{r0.setStrictMode(J2,i)}catch{}}var A2=Math.clz32?Math.clz32:e9,Q0=Math.log,x1=Math.LN2;function e9(i){return i>>>=0,i===0?32:31-(Q0(i)/x1|0)|0}var o5=256,c9=262144,t9=4194304;function h5(i){var s=i&42;if(s!==0)return s;switch(i&-i){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return i&261888;case 262144:case 524288:case 1048576:case 2097152:return i&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return i&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return i}}function l9(i,s,h){var v=i.pendingLanes;if(v===0)return 0;var u=0,m=i.suspendedLanes,C=i.pingedLanes;i=i.warmLanes;var B=v&134217727;return B!==0?(v=B&~m,v!==0?u=h5(v):(C&=B,C!==0?u=h5(C):h||(h=B&~i,h!==0&&(u=h5(h))))):(B=v&~m,B!==0?u=h5(B):C!==0?u=h5(C):h||(h=v&~i,h!==0&&(u=h5(h)))),u===0?0:s!==0&&s!==u&&(s&m)===0&&(m=u&-u,h=s&-s,m>=h||m===32&&(h&4194048)!==0)?s:u}function r7(i,s){return(i.pendingLanes&~(i.suspendedLanes&~i.pingedLanes)&s)===0}function xx(i,s){switch(i){case 1:case 2:case 4:case 8:case 64:return s+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 s+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 fp(){var i=t9;return t9<<=1,(t9&62914560)===0&&(t9=4194304),i}function Qc(i){for(var s=[],h=0;31>h;h++)s.push(i);return s}function o7(i,s){i.pendingLanes|=s,s!==268435456&&(i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0)}function bx(i,s,h,v,u,m){var C=i.pendingLanes;i.pendingLanes=h,i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0,i.expiredLanes&=h,i.entangledLanes&=h,i.errorRecoveryDisabledLanes&=h,i.shellSuspendCounter=0;var B=i.entanglements,j=i.expirationTimes,K=i.hiddenUpdates;for(h=C&~h;0"u")return null;try{return i.activeElement||i.body}catch{return i.body}}var Sx=/[\n"\\]/g;function Y1(i){return i.replace(Sx,function(s){return"\\"+s.charCodeAt(0).toString(16)+" "})}function it(i,s,h,v,u,m,C,B){i.name="",C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"?i.type=C:i.removeAttribute("type"),s!=null?C==="number"?(s===0&&i.value===""||i.value!=s)&&(i.value=""+W1(s)):i.value!==""+W1(s)&&(i.value=""+W1(s)):C!=="submit"&&C!=="reset"||i.removeAttribute("value"),s!=null?at(i,C,W1(s)):h!=null?at(i,C,W1(h)):v!=null&&i.removeAttribute("value"),u==null&&m!=null&&(i.defaultChecked=!!m),u!=null&&(i.checked=u&&typeof u!="function"&&typeof u!="symbol"),B!=null&&typeof B!="function"&&typeof B!="symbol"&&typeof B!="boolean"?i.name=""+W1(B):i.removeAttribute("name")}function yp(i,s,h,v,u,m,C,B){if(m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(i.type=m),s!=null||h!=null){if(!(m!=="submit"&&m!=="reset"||s!=null)){lt(i);return}h=h!=null?""+W1(h):"",s=s!=null?""+W1(s):h,B||s===i.value||(i.value=s),i.defaultValue=s}v=v??u,v=typeof v!="function"&&typeof v!="symbol"&&!!v,i.checked=B?i.checked:!!v,i.defaultChecked=!!v,C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"&&(i.name=C),lt(i)}function at(i,s,h){s==="number"&&s9(i.ownerDocument)===i||i.defaultValue===""+h||(i.defaultValue=""+h)}function W5(i,s,h,v){if(i=i.options,s){s={};for(var u=0;u"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ht=!1;if(G3)try{var v7={};Object.defineProperty(v7,"passive",{get:function(){ht=!0}}),window.addEventListener("test",v7,v7),window.removeEventListener("test",v7,v7)}catch{ht=!1}var x4=null,dt=null,r9=null;function Tp(){if(r9)return r9;var i,s=dt,h=s.length,v,u="value"in x4?x4.value:x4.textContent,m=u.length;for(i=0;i=u7),Op=" ",Up=!1;function Pp(i,s){switch(i){case"keyup":return ib.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jp(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var Q5=!1;function sb(i,s){switch(i){case"compositionend":return jp(s);case"keypress":return s.which!==32?null:(Up=!0,Op);case"textInput":return i=s.data,i===Op&&Up?null:i;default:return null}}function nb(i,s){if(Q5)return i==="compositionend"||!ut&&Pp(i,s)?(i=Tp(),r9=dt=x4=null,Q5=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1=s)return{node:h,offset:s-i};i=v}e:{for(;h;){if(h.nextSibling){h=h.nextSibling;break e}h=h.parentNode}h=void 0}h=Xp(h)}}function Jp(i,s){return i&&s?i===s?!0:i&&i.nodeType===3?!1:s&&s.nodeType===3?Jp(i,s.parentNode):"contains"in i?i.contains(s):i.compareDocumentPosition?!!(i.compareDocumentPosition(s)&16):!1:!1}function ev(i){i=i!=null&&i.ownerDocument!=null&&i.ownerDocument.defaultView!=null?i.ownerDocument.defaultView:window;for(var s=s9(i.document);s instanceof i.HTMLIFrameElement;){try{var h=typeof s.contentWindow.location.href=="string"}catch{h=!1}if(h)i=s.contentWindow;else break;s=s9(i.document)}return s}function zt(i){var s=i&&i.nodeName&&i.nodeName.toLowerCase();return s&&(s==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||s==="textarea"||i.contentEditable==="true")}var gb=G3&&"documentMode"in document&&11>=document.documentMode,J5=null,Mt=null,M7=null,wt=!1;function cv(i,s,h){var v=h.window===h?h.document:h.nodeType===9?h:h.ownerDocument;wt||J5==null||J5!==s9(v)||(v=J5,"selectionStart"in v&&zt(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}),M7&&z7(M7,v)||(M7=v,v=ce(Mt,"onSelect"),0>=C,u-=C,E3=1<<32-A2(s)+u|h<I2?(X2=E2,E2=null):X2=E2.sibling;var a0=e2(W,E2,Y[I2],d2);if(a0===null){E2===null&&(E2=X2);break}i&&E2&&a0.alternate===null&&s(W,E2),$=m(a0,$,I2),i0===null?D2=a0:i0.sibling=a0,i0=a0,E2=X2}if(I2===Y.length)return h(W,E2),e0&&$3(W,I2),D2;if(E2===null){for(;I2I2?(X2=E2,E2=null):X2=E2.sibling;var q4=e2(W,E2,a0.value,d2);if(q4===null){E2===null&&(E2=X2);break}i&&E2&&q4.alternate===null&&s(W,E2),$=m(q4,$,I2),i0===null?D2=q4:i0.sibling=q4,i0=q4,E2=X2}if(a0.done)return h(W,E2),e0&&$3(W,I2),D2;if(E2===null){for(;!a0.done;I2++,a0=Y.next())a0=p2(W,a0.value,d2),a0!==null&&($=m(a0,$,I2),i0===null?D2=a0:i0.sibling=a0,i0=a0);return e0&&$3(W,I2),D2}for(E2=v(E2);!a0.done;I2++,a0=Y.next())a0=a2(E2,W,I2,a0.value,d2),a0!==null&&(i&&a0.alternate!==null&&E2.delete(a0.key===null?I2:a0.key),$=m(a0,$,I2),i0===null?D2=a0:i0.sibling=a0,i0=a0);return i&&E2.forEach(function(HF){return s(W,HF)}),e0&&$3(W,I2),D2}function v0(W,$,Y,d2){if(typeof Y=="object"&&Y!==null&&Y.type===w&&Y.key===null&&(Y=Y.props.children),typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case z:e:{for(var D2=Y.key;$!==null;){if($.key===D2){if(D2=Y.type,D2===w){if($.tag===7){h(W,$.sibling),d2=u($,Y.props.children),d2.return=W,W=d2;break e}}else if($.elementType===D2||typeof D2=="object"&&D2!==null&&D2.$$typeof===I&&w5(D2)===$.type){h(W,$.sibling),d2=u($,Y.props),E7(d2,Y),d2.return=W,W=d2;break e}h(W,$);break}else s(W,$);$=$.sibling}Y.type===w?(d2=u5(Y.props.children,W.mode,d2,Y.key),d2.return=W,W=d2):(d2=_9(Y.type,Y.key,Y.props,null,W.mode,d2),E7(d2,Y),d2.return=W,W=d2)}return C(W);case M:e:{for(D2=Y.key;$!==null;){if($.key===D2)if($.tag===4&&$.stateNode.containerInfo===Y.containerInfo&&$.stateNode.implementation===Y.implementation){h(W,$.sibling),d2=u($,Y.children||[]),d2.return=W,W=d2;break e}else{h(W,$);break}else s(W,$);$=$.sibling}d2=Dt(Y,W.mode,d2),d2.return=W,W=d2}return C(W);case I:return Y=w5(Y),v0(W,$,Y,d2)}if(s2(Y))return F2(W,$,Y,d2);if(G(Y)){if(D2=G(Y),typeof D2!="function")throw Error(l(150));return Y=D2.call(Y),B2(W,$,Y,d2)}if(typeof Y.then=="function")return v0(W,$,F9(Y),d2);if(Y.$$typeof===S)return v0(W,$,w9(W,Y),d2);E9(W,Y)}return typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint"?(Y=""+Y,$!==null&&$.tag===6?(h(W,$.sibling),d2=u($,Y),d2.return=W,W=d2):(h(W,$),d2=yt(Y,W.mode,d2),d2.return=W,W=d2),C(W)):h(W,$)}return function(W,$,Y,d2){try{F7=0;var D2=v0(W,$,Y,d2);return h6=null,D2}catch(E2){if(E2===o6||E2===x9)throw E2;var i0=V1(29,E2,null,W.mode);return i0.lanes=d2,i0.return=W,i0}}}var x5=bv(!0),Fv=bv(!1),D4=!1;function Ot(i){i.updateQueue={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ut(i,s){i=i.updateQueue,s.updateQueue===i&&(s.updateQueue={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,callbacks:null})}function A4(i){return{lane:i,tag:0,payload:null,callback:null,next:null}}function S4(i,s,h){var v=i.updateQueue;if(v===null)return null;if(v=v.shared,(s0&2)!==0){var u=v.pending;return u===null?s.next=s:(s.next=u.next,u.next=s),v.pending=s,s=m9(i),rv(i,null,h),s}return u9(i,v,s,h),m9(i)}function y7(i,s,h){if(s=s.updateQueue,s!==null&&(s=s.shared,(h&4194048)!==0)){var v=s.lanes;v&=i.pendingLanes,h|=v,s.lanes=h,up(i,h)}}function Pt(i,s){var h=i.updateQueue,v=i.alternate;if(v!==null&&(v=v.updateQueue,h===v)){var u=null,m=null;if(h=h.firstBaseUpdate,h!==null){do{var C={lane:h.lane,tag:h.tag,payload:h.payload,callback:null,next:null};m===null?u=m=C:m=m.next=C,h=h.next}while(h!==null);m===null?u=m=s:m=m.next=s}else u=m=s;h={baseState:v.baseState,firstBaseUpdate:u,lastBaseUpdate:m,shared:v.shared,callbacks:v.callbacks},i.updateQueue=h;return}i=h.lastBaseUpdate,i===null?h.firstBaseUpdate=s:i.next=s,h.lastBaseUpdate=s}var jt=!1;function D7(){if(jt){var i=r6;if(i!==null)throw i}}function A7(i,s,h,v){jt=!1;var u=i.updateQueue;D4=!1;var m=u.firstBaseUpdate,C=u.lastBaseUpdate,B=u.shared.pending;if(B!==null){u.shared.pending=null;var j=B,K=j.next;j.next=null,C===null?m=K:C.next=K,C=j;var r2=i.alternate;r2!==null&&(r2=r2.updateQueue,B=r2.lastBaseUpdate,B!==C&&(B===null?r2.firstBaseUpdate=K:B.next=K,r2.lastBaseUpdate=j))}if(m!==null){var p2=u.baseState;C=0,r2=K=j=null,B=m;do{var e2=B.lane&-536870913,a2=e2!==B.lane;if(a2?(K2&e2)===e2:(v&e2)===e2){e2!==0&&e2===n6&&(jt=!0),r2!==null&&(r2=r2.next={lane:0,tag:B.tag,payload:B.payload,callback:null,next:null});e:{var F2=i,B2=B;e2=s;var v0=h;switch(B2.tag){case 1:if(F2=B2.payload,typeof F2=="function"){p2=F2.call(v0,p2,e2);break e}p2=F2;break e;case 3:F2.flags=F2.flags&-65537|128;case 0:if(F2=B2.payload,e2=typeof F2=="function"?F2.call(v0,p2,e2):F2,e2==null)break e;p2=g({},p2,e2);break e;case 2:D4=!0}}e2=B.callback,e2!==null&&(i.flags|=64,a2&&(i.flags|=8192),a2=u.callbacks,a2===null?u.callbacks=[e2]:a2.push(e2))}else a2={lane:e2,tag:B.tag,payload:B.payload,callback:B.callback,next:null},r2===null?(K=r2=a2,j=p2):r2=r2.next=a2,C|=e2;if(B=B.next,B===null){if(B=u.shared.pending,B===null)break;a2=B,B=a2.next,a2.next=null,u.lastBaseUpdate=a2,u.shared.pending=null}}while(!0);r2===null&&(j=p2),u.baseState=j,u.firstBaseUpdate=K,u.lastBaseUpdate=r2,m===null&&(u.shared.lanes=0),H4|=C,i.lanes=C,i.memoizedState=p2}}function Ev(i,s){if(typeof i!="function")throw Error(l(191,i));i.call(s)}function yv(i,s){var h=i.callbacks;if(h!==null)for(i.callbacks=null,i=0;im?m:8;var C=q.T,B={};q.T=B,rl(i,!1,s,h);try{var j=u(),K=q.S;if(K!==null&&K(B,j),j!==null&&typeof j=="object"&&typeof j.then=="function"){var r2=bb(j,v);k7(i,s,r2,P1(i))}else k7(i,s,v,P1(i))}catch(p2){k7(i,s,{then:function(){},status:"rejected",reason:p2},P1())}finally{t2.p=m,C!==null&&B.types!==null&&(C.types=B.types),q.T=C}}function Sb(){}function sl(i,s,h,v){if(i.tag!==5)throw Error(l(476));var u=sf(i).queue;af(i,u,s,u2,h===null?Sb:function(){return nf(i),h(v)})}function sf(i){var s=i.memoizedState;if(s!==null)return s;s={memoizedState:u2,baseState:u2,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:K3,lastRenderedState:u2},next:null};var h={};return s.next={memoizedState:h,baseState:h,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:K3,lastRenderedState:h},next:null},i.memoizedState=s,i=i.alternate,i!==null&&(i.memoizedState=s),s}function nf(i){var s=sf(i);s.next===null&&(s=i.alternate.memoizedState),k7(i,s.next.queue,{},P1())}function nl(){return c1(Y7)}function rf(){return k0().memoizedState}function of(){return k0().memoizedState}function Bb(i){for(var s=i.return;s!==null;){switch(s.tag){case 24:case 3:var h=P1();i=A4(h);var v=S4(s,i,h);v!==null&&(S1(v,s,h),y7(v,s,h)),s={cache:Rt()},i.payload=s;return}s=s.return}}function kb(i,s,h){var v=P1();h={lane:v,revertLane:0,gesture:null,action:h,hasEagerState:!1,eagerState:null,next:null},R9(i)?df(s,h):(h=Ft(i,s,h,v),h!==null&&(S1(h,i,v),pf(h,s,v)))}function hf(i,s,h){var v=P1();k7(i,s,h,v)}function k7(i,s,h,v){var u={lane:v,revertLane:0,gesture:null,action:h,hasEagerState:!1,eagerState:null,next:null};if(R9(i))df(s,u);else{var m=i.alternate;if(i.lanes===0&&(m===null||m.lanes===0)&&(m=s.lastRenderedReducer,m!==null))try{var C=s.lastRenderedState,B=m(C,h);if(u.hasEagerState=!0,u.eagerState=B,R1(B,C))return u9(i,s,u,0),g0===null&&g9(),!1}catch{}if(h=Ft(i,s,u,v),h!==null)return S1(h,i,v),pf(h,s,v),!0}return!1}function rl(i,s,h,v){if(v={lane:2,revertLane:Ol(),gesture:null,action:v,hasEagerState:!1,eagerState:null,next:null},R9(i)){if(s)throw Error(l(479))}else s=Ft(i,h,v,2),s!==null&&S1(s,i,2)}function R9(i){var s=i.alternate;return i===V2||s!==null&&s===V2}function df(i,s){p6=A9=!0;var h=i.pending;h===null?s.next=s:(s.next=h.next,h.next=s),i.pending=s}function pf(i,s,h){if((h&4194048)!==0){var v=s.lanes;v&=i.pendingLanes,h|=v,s.lanes=h,up(i,h)}}var L7={readContext:c1,use:k9,useCallback:E0,useContext:E0,useEffect:E0,useImperativeHandle:E0,useLayoutEffect:E0,useInsertionEffect:E0,useMemo:E0,useReducer:E0,useRef:E0,useState:E0,useDebugValue:E0,useDeferredValue:E0,useTransition:E0,useSyncExternalStore:E0,useId:E0,useHostTransitionStatus:E0,useFormState:E0,useActionState:E0,useOptimistic:E0,useMemoCache:E0,useCacheRefresh:E0};L7.useEffectEvent=E0;var vf={readContext:c1,use:k9,useCallback:function(i,s){return f1().memoizedState=[i,s===void 0?null:s],i},useContext:c1,useEffect:Yv,useImperativeHandle:function(i,s,h){h=h!=null?h.concat([i]):null,T9(4194308,4,Jv.bind(null,s,i),h)},useLayoutEffect:function(i,s){return T9(4194308,4,i,s)},useInsertionEffect:function(i,s){T9(4,2,i,s)},useMemo:function(i,s){var h=f1();s=s===void 0?null:s;var v=i();if(b5){c0(!0);try{i()}finally{c0(!1)}}return h.memoizedState=[v,s],v},useReducer:function(i,s,h){var v=f1();if(h!==void 0){var u=h(s);if(b5){c0(!0);try{h(s)}finally{c0(!1)}}}else u=s;return v.memoizedState=v.baseState=u,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:u},v.queue=i,i=i.dispatch=kb.bind(null,V2,i),[v.memoizedState,i]},useRef:function(i){var s=f1();return i={current:i},s.memoizedState=i},useState:function(i){i=cl(i);var s=i.queue,h=hf.bind(null,V2,s);return s.dispatch=h,[i.memoizedState,h]},useDebugValue:il,useDeferredValue:function(i,s){var h=f1();return al(h,i,s)},useTransition:function(){var i=cl(!1);return i=af.bind(null,V2,i.queue,!0,!1),f1().memoizedState=i,[!1,i]},useSyncExternalStore:function(i,s,h){var v=V2,u=f1();if(e0){if(h===void 0)throw Error(l(407));h=h()}else{if(h=s(),g0===null)throw Error(l(349));(K2&127)!==0||Lv(v,s,h)}u.memoizedState=h;var m={value:h,getSnapshot:s};return u.queue=m,Yv(Hv.bind(null,v,m,i),[i]),v.flags|=2048,f6(9,{destroy:void 0},Tv.bind(null,v,m,h,s),null),h},useId:function(){var i=f1(),s=g0.identifierPrefix;if(e0){var h=y3,v=E3;h=(v&~(1<<32-A2(v)-1)).toString(32)+h,s="_"+s+"R_"+h,h=S9++,0<\/script>",m=m.removeChild(m.firstChild);break;case"select":m=typeof v.is=="string"?C.createElement("select",{is:v.is}):C.createElement("select"),v.multiple?m.multiple=!0:v.size&&(m.size=v.size);break;default:m=typeof v.is=="string"?C.createElement(u,{is:v.is}):C.createElement(u)}}m[J0]=s,m[b1]=v;e:for(C=s.child;C!==null;){if(C.tag===5||C.tag===6)m.appendChild(C.stateNode);else if(C.tag!==4&&C.tag!==27&&C.child!==null){C.child.return=C,C=C.child;continue}if(C===s)break e;for(;C.sibling===null;){if(C.return===null||C.return===s)break e;C=C.return}C.sibling.return=C.return,C=C.sibling}s.stateNode=m;e:switch(l1(m,u,v),u){case"button":case"input":case"select":case"textarea":v=!!v.autoFocus;break e;case"img":v=!0;break e;default:v=!1}v&&Q3(s)}}return w0(s),Cl(s,s.type,i===null?null:i.memoizedProps,s.pendingProps,h),null;case 6:if(i&&s.stateNode!=null)i.memoizedProps!==v&&Q3(s);else{if(typeof v!="string"&&s.stateNode===null)throw Error(l(166));if(i=C2.current,a6(s)){if(i=s.stateNode,h=s.memoizedProps,v=null,u=e1,u!==null)switch(u.tag){case 27:case 5:v=u.memoizedProps}i[J0]=s,i=!!(i.nodeValue===h||v!==null&&v.suppressHydrationWarning===!0||kg(i.nodeValue,h)),i||E4(s,!0)}else i=te(i).createTextNode(v),i[J0]=s,s.stateNode=i}return w0(s),null;case 31:if(h=s.memoizedState,i===null||i.memoizedState!==null){if(v=a6(s),h!==null){if(i===null){if(!v)throw Error(l(318));if(i=s.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(l(557));i[J0]=s}else m5(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;w0(s),i=!1}else h=kt(),i!==null&&i.memoizedState!==null&&(i.memoizedState.hydrationErrors=h),i=!0;if(!i)return s.flags&256?(N1(s),s):(N1(s),null);if((s.flags&128)!==0)throw Error(l(558))}return w0(s),null;case 13:if(v=s.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(u=a6(s),v!==null&&v.dehydrated!==null){if(i===null){if(!u)throw Error(l(318));if(u=s.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(l(317));u[J0]=s}else m5(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;w0(s),u=!1}else u=kt(),i!==null&&i.memoizedState!==null&&(i.memoizedState.hydrationErrors=u),u=!0;if(!u)return s.flags&256?(N1(s),s):(N1(s),null)}return N1(s),(s.flags&128)!==0?(s.lanes=h,s):(h=v!==null,i=i!==null&&i.memoizedState!==null,h&&(v=s.child,u=null,v.alternate!==null&&v.alternate.memoizedState!==null&&v.alternate.memoizedState.cachePool!==null&&(u=v.alternate.memoizedState.cachePool.pool),m=null,v.memoizedState!==null&&v.memoizedState.cachePool!==null&&(m=v.memoizedState.cachePool.pool),m!==u&&(v.flags|=2048)),h!==i&&h&&(s.child.flags|=8192),U9(s,s.updateQueue),w0(s),null);case 4:return L2(),i===null&&Gl(s.stateNode.containerInfo),w0(s),null;case 10:return W3(s.type),w0(s),null;case 19:if(Q(B0),v=s.memoizedState,v===null)return w0(s),null;if(u=(s.flags&128)!==0,m=v.rendering,m===null)if(u)H7(v,!1);else{if(y0!==0||i!==null&&(i.flags&128)!==0)for(i=s.child;i!==null;){if(m=D9(i),m!==null){for(s.flags|=128,H7(v,!1),i=m.updateQueue,s.updateQueue=i,U9(s,i),s.subtreeFlags=0,i=h,h=s.child;h!==null;)ov(h,i),h=h.sibling;return T(B0,B0.current&1|2),e0&&$3(s,v.treeForkCount),s.child}i=i.sibling}v.tail!==null&&J()>$9&&(s.flags|=128,u=!0,H7(v,!1),s.lanes=4194304)}else{if(!u)if(i=D9(m),i!==null){if(s.flags|=128,u=!0,i=i.updateQueue,s.updateQueue=i,U9(s,i),H7(v,!0),v.tail===null&&v.tailMode==="hidden"&&!m.alternate&&!e0)return w0(s),null}else 2*J()-v.renderingStartTime>$9&&h!==536870912&&(s.flags|=128,u=!0,H7(v,!1),s.lanes=4194304);v.isBackwards?(m.sibling=s.child,s.child=m):(i=v.last,i!==null?i.sibling=m:s.child=m,v.last=m)}return v.tail!==null?(i=v.tail,v.rendering=i,v.tail=i.sibling,v.renderingStartTime=J(),i.sibling=null,h=B0.current,T(B0,u?h&1|2:h&1),e0&&$3(s,v.treeForkCount),i):(w0(s),null);case 22:case 23:return N1(s),qt(),v=s.memoizedState!==null,i!==null?i.memoizedState!==null!==v&&(s.flags|=8192):v&&(s.flags|=8192),v?(h&536870912)!==0&&(s.flags&128)===0&&(w0(s),s.subtreeFlags&6&&(s.flags|=8192)):w0(s),h=s.updateQueue,h!==null&&U9(s,h.retryQueue),h=null,i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(h=i.memoizedState.cachePool.pool),v=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(v=s.memoizedState.cachePool.pool),v!==h&&(s.flags|=2048),i!==null&&Q(M5),null;case 24:return h=null,i!==null&&(h=i.memoizedState.cache),s.memoizedState.cache!==h&&(s.flags|=2048),W3(T0),w0(s),null;case 25:return null;case 30:return null}throw Error(l(156,s.tag))}function Vb(i,s){switch(St(s),s.tag){case 1:return i=s.flags,i&65536?(s.flags=i&-65537|128,s):null;case 3:return W3(T0),L2(),i=s.flags,(i&65536)!==0&&(i&128)===0?(s.flags=i&-65537|128,s):null;case 26:case 27:case 5:return q0(s),null;case 31:if(s.memoizedState!==null){if(N1(s),s.alternate===null)throw Error(l(340));m5()}return i=s.flags,i&65536?(s.flags=i&-65537|128,s):null;case 13:if(N1(s),i=s.memoizedState,i!==null&&i.dehydrated!==null){if(s.alternate===null)throw Error(l(340));m5()}return i=s.flags,i&65536?(s.flags=i&-65537|128,s):null;case 19:return Q(B0),null;case 4:return L2(),null;case 10:return W3(s.type),null;case 22:case 23:return N1(s),qt(),i!==null&&Q(M5),i=s.flags,i&65536?(s.flags=i&-65537|128,s):null;case 24:return W3(T0),null;case 25:return null;default:return null}}function Vf(i,s){switch(St(s),s.tag){case 3:W3(T0),L2();break;case 26:case 27:case 5:q0(s);break;case 4:L2();break;case 31:s.memoizedState!==null&&N1(s);break;case 13:N1(s);break;case 19:Q(B0);break;case 10:W3(s.type);break;case 22:case 23:N1(s),qt(),i!==null&&Q(M5);break;case 24:W3(T0)}}function R7(i,s){try{var h=s.updateQueue,v=h!==null?h.lastEffect:null;if(v!==null){var u=v.next;h=u;do{if((h.tag&i)===i){v=void 0;var m=h.create,C=h.inst;v=m(),C.destroy=v}h=h.next}while(h!==u)}}catch(B){h0(s,s.return,B)}}function L4(i,s,h){try{var v=s.updateQueue,u=v!==null?v.lastEffect:null;if(u!==null){var m=u.next;v=m;do{if((v.tag&i)===i){var C=v.inst,B=C.destroy;if(B!==void 0){C.destroy=void 0,u=s;var j=h,K=B;try{K()}catch(r2){h0(u,j,r2)}}}v=v.next}while(v!==m)}}catch(r2){h0(s,s.return,r2)}}function If(i){var s=i.updateQueue;if(s!==null){var h=i.stateNode;try{yv(s,h)}catch(v){h0(i,i.return,v)}}}function Nf(i,s,h){h.props=F5(i.type,i.memoizedProps),h.state=i.memoizedState;try{h.componentWillUnmount()}catch(v){h0(i,s,v)}}function V7(i,s){try{var h=i.ref;if(h!==null){switch(i.tag){case 26:case 27:case 5:var v=i.stateNode;break;case 30:v=i.stateNode;break;default:v=i.stateNode}typeof h=="function"?i.refCleanup=h(v):h.current=v}}catch(u){h0(i,s,u)}}function D3(i,s){var h=i.ref,v=i.refCleanup;if(h!==null)if(typeof v=="function")try{v()}catch(u){h0(i,s,u)}finally{i.refCleanup=null,i=i.alternate,i!=null&&(i.refCleanup=null)}else if(typeof h=="function")try{h(null)}catch(u){h0(i,s,u)}else h.current=null}function Of(i){var s=i.type,h=i.memoizedProps,v=i.stateNode;try{e:switch(s){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(u){h0(i,i.return,u)}}function xl(i,s,h){try{var v=i.stateNode;aF(v,i.type,h,s),v[b1]=s}catch(u){h0(i,i.return,u)}}function Uf(i){return i.tag===5||i.tag===3||i.tag===26||i.tag===27&&O4(i.type)||i.tag===4}function bl(i){e:for(;;){for(;i.sibling===null;){if(i.return===null||Uf(i.return))return null;i=i.return}for(i.sibling.return=i.return,i=i.sibling;i.tag!==5&&i.tag!==6&&i.tag!==18;){if(i.tag===27&&O4(i.type)||i.flags&2||i.child===null||i.tag===4)continue e;i.child.return=i,i=i.child}if(!(i.flags&2))return i.stateNode}}function Fl(i,s,h){var v=i.tag;if(v===5||v===6)i=i.stateNode,s?(h.nodeType===9?h.body:h.nodeName==="HTML"?h.ownerDocument.body:h).insertBefore(i,s):(s=h.nodeType===9?h.body:h.nodeName==="HTML"?h.ownerDocument.body:h,s.appendChild(i),h=h._reactRootContainer,h!=null||s.onclick!==null||(s.onclick=j3));else if(v!==4&&(v===27&&O4(i.type)&&(h=i.stateNode,s=null),i=i.child,i!==null))for(Fl(i,s,h),i=i.sibling;i!==null;)Fl(i,s,h),i=i.sibling}function P9(i,s,h){var v=i.tag;if(v===5||v===6)i=i.stateNode,s?h.insertBefore(i,s):h.appendChild(i);else if(v!==4&&(v===27&&O4(i.type)&&(h=i.stateNode),i=i.child,i!==null))for(P9(i,s,h),i=i.sibling;i!==null;)P9(i,s,h),i=i.sibling}function Pf(i){var s=i.stateNode,h=i.memoizedProps;try{for(var v=i.type,u=s.attributes;u.length;)s.removeAttributeNode(u[0]);l1(s,v,h),s[J0]=i,s[b1]=h}catch(m){h0(i,i.return,m)}}var J3=!1,V0=!1,El=!1,jf=typeof WeakSet=="function"?WeakSet:Set,Z0=null;function Ib(i,s){if(i=i.containerInfo,Zl=oe,i=ev(i),zt(i)){if("selectionStart"in i)var h={start:i.selectionStart,end:i.selectionEnd};else e:{h=(h=i.ownerDocument)&&h.defaultView||window;var v=h.getSelection&&h.getSelection();if(v&&v.rangeCount!==0){h=v.anchorNode;var u=v.anchorOffset,m=v.focusNode;v=v.focusOffset;try{h.nodeType,m.nodeType}catch{h=null;break e}var C=0,B=-1,j=-1,K=0,r2=0,p2=i,e2=null;c:for(;;){for(var a2;p2!==h||u!==0&&p2.nodeType!==3||(B=C+u),p2!==m||v!==0&&p2.nodeType!==3||(j=C+v),p2.nodeType===3&&(C+=p2.nodeValue.length),(a2=p2.firstChild)!==null;)e2=p2,p2=a2;for(;;){if(p2===i)break c;if(e2===h&&++K===u&&(B=C),e2===m&&++r2===v&&(j=C),(a2=p2.nextSibling)!==null)break;p2=e2,e2=p2.parentNode}p2=a2}h=B===-1||j===-1?null:{start:B,end:j}}else h=null}h=h||{start:0,end:0}}else h=null;for(Wl={focusedElem:i,selectionRange:h},oe=!1,Z0=s;Z0!==null;)if(s=Z0,i=s.child,(s.subtreeFlags&1028)!==0&&i!==null)i.return=s,Z0=i;else for(;Z0!==null;){switch(s=Z0,m=s.alternate,i=s.flags,s.tag){case 0:if((i&4)!==0&&(i=s.updateQueue,i=i!==null?i.events:null,i!==null))for(h=0;h title"))),l1(m,v,h),m[J0]=i,$0(m),v=m;break e;case"link":var C=Yg("link","href",u).get(v+(h.href||""));if(C){for(var B=0;Bv0&&(C=v0,v0=B2,B2=C);var W=Qp(B,B2),$=Qp(B,v0);if(W&&$&&(a2.rangeCount!==1||a2.anchorNode!==W.node||a2.anchorOffset!==W.offset||a2.focusNode!==$.node||a2.focusOffset!==$.offset)){var Y=p2.createRange();Y.setStart(W.node,W.offset),a2.removeAllRanges(),B2>v0?(a2.addRange(Y),a2.extend($.node,$.offset)):(Y.setEnd($.node,$.offset),a2.addRange(Y))}}}}for(p2=[],a2=B;a2=a2.parentNode;)a2.nodeType===1&&p2.push({element:a2,left:a2.scrollLeft,top:a2.scrollTop});for(typeof B.focus=="function"&&B.focus(),B=0;Bh?32:h,q.T=null,h=Ll,Ll=null;var m=V4,C=i4;if(U0=0,z6=V4=null,i4=0,(s0&6)!==0)throw Error(l(331));var B=s0;if(s0|=4,eg(m.current),Xf(m,m.current,C,h),s0=B,j7(0,!1),r0&&typeof r0.onPostCommitFiberRoot=="function")try{r0.onPostCommitFiberRoot(J2,m)}catch{}return!0}finally{t2.p=u,q.T=v,_g(i,s)}}function Mg(i,s,h){s=X1(h,s),s=pl(i.stateNode,s,2),i=S4(i,s,2),i!==null&&(o7(i,2),A3(i))}function h0(i,s,h){if(i.tag===3)Mg(i,i,h);else for(;s!==null;){if(s.tag===3){Mg(s,i,h);break}else if(s.tag===1){var v=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof v.componentDidCatch=="function"&&(R4===null||!R4.has(v))){i=X1(h,i),h=wf(2),v=S4(s,h,2),v!==null&&(Cf(h,v,s,i),o7(v,2),A3(v));break}}s=s.return}}function Vl(i,s,h){var v=i.pingCache;if(v===null){v=i.pingCache=new Ub;var u=new Set;v.set(s,u)}else u=v.get(s),u===void 0&&(u=new Set,v.set(s,u));u.has(h)||(Al=!0,u.add(h),i=$b.bind(null,i,s,h),s.then(i,i))}function $b(i,s,h){var v=i.pingCache;v!==null&&v.delete(s),i.pingedLanes|=i.suspendedLanes&h,i.warmLanes&=~h,g0===i&&(K2&h)===h&&(y0===4||y0===3&&(K2&62914560)===K2&&300>J()-q9?(s0&2)===0&&M6(i,0):Sl|=h,_6===K2&&(_6=0)),A3(i)}function wg(i,s){s===0&&(s=fp()),i=g5(i,s),i!==null&&(o7(i,s),A3(i))}function Zb(i){var s=i.memoizedState,h=0;s!==null&&(h=s.retryLane),wg(i,h)}function Wb(i,s){var h=0;switch(i.tag){case 31:case 13:var v=i.stateNode,u=i.memoizedState;u!==null&&(h=u.retryLane);break;case 19:v=i.stateNode;break;case 22:v=i.stateNode._retryCache;break;default:throw Error(l(314))}v!==null&&v.delete(s),wg(i,h)}function Yb(i,s){return F3(i,s)}var Q9=null,C6=null,Il=!1,J9=!1,Nl=!1,N4=0;function A3(i){i!==C6&&i.next===null&&(C6===null?Q9=C6=i:C6=C6.next=i),J9=!0,Il||(Il=!0,Xb())}function j7(i,s){if(!Nl&&J9){Nl=!0;do for(var h=!1,v=Q9;v!==null;){if(i!==0){var u=v.pendingLanes;if(u===0)var m=0;else{var C=v.suspendedLanes,B=v.pingedLanes;m=(1<<31-A2(42|i)+1)-1,m&=u&~(C&~B),m=m&201326741?m&201326741|1:m?m|2:0}m!==0&&(h=!0,Fg(v,m))}else m=K2,m=l9(v,v===g0?m:0,v.cancelPendingCommit!==null||v.timeoutHandle!==-1),(m&3)===0||r7(v,m)||(h=!0,Fg(v,m));v=v.next}while(h);Nl=!1}}function Kb(){Cg()}function Cg(){J9=Il=!1;var i=0;N4!==0&&nF()&&(i=N4);for(var s=J(),h=null,v=Q9;v!==null;){var u=v.next,m=xg(v,s);m===0?(v.next=null,h===null?Q9=u:h.next=u,u===null&&(C6=h)):(h=v,(i!==0||(m&3)!==0)&&(J9=!0)),v=u}U0!==0&&U0!==5||j7(i),N4!==0&&(N4=0)}function xg(i,s){for(var h=i.suspendedLanes,v=i.pingedLanes,u=i.expirationTimes,m=i.pendingLanes&-62914561;0B)break;var r2=j.transferSize,p2=j.initiatorType;r2&&Lg(p2)&&(j=j.responseEnd,C+=r2*(j"u"?null:document;function qg(i,s,h){var v=x6;if(v&&typeof s=="string"&&s){var u=Y1(s);u='link[rel="'+i+'"][href="'+u+'"]',typeof h=="string"&&(u+='[crossorigin="'+h+'"]'),Gg.has(u)||(Gg.add(u),i={rel:i,crossOrigin:h,href:s},v.querySelector(u)===null&&(s=v.createElement("link"),l1(s,"link",i),$0(s),v.head.appendChild(s)))}}function uF(i){a4.D(i),qg("dns-prefetch",i,null)}function mF(i,s){a4.C(i,s),qg("preconnect",i,s)}function _F(i,s,h){a4.L(i,s,h);var v=x6;if(v&&i&&s){var u='link[rel="preload"][as="'+Y1(s)+'"]';s==="image"&&h&&h.imageSrcSet?(u+='[imagesrcset="'+Y1(h.imageSrcSet)+'"]',typeof h.imageSizes=="string"&&(u+='[imagesizes="'+Y1(h.imageSizes)+'"]')):u+='[href="'+Y1(i)+'"]';var m=u;switch(s){case"style":m=b6(i);break;case"script":m=F6(i)}l3.has(m)||(i=g({rel:"preload",href:s==="image"&&h&&h.imageSrcSet?void 0:i,as:s},h),l3.set(m,i),v.querySelector(u)!==null||s==="style"&&v.querySelector(Z7(m))||s==="script"&&v.querySelector(W7(m))||(s=v.createElement("link"),l1(s,"link",i),$0(s),v.head.appendChild(s)))}}function zF(i,s){a4.m(i,s);var h=x6;if(h&&i){var v=s&&typeof s.as=="string"?s.as:"script",u='link[rel="modulepreload"][as="'+Y1(v)+'"][href="'+Y1(i)+'"]',m=u;switch(v){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":m=F6(i)}if(!l3.has(m)&&(i=g({rel:"modulepreload",href:i},s),l3.set(m,i),h.querySelector(u)===null)){switch(v){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(h.querySelector(W7(m)))return}v=h.createElement("link"),l1(v,"link",i),$0(v),h.head.appendChild(v)}}}function MF(i,s,h){a4.S(i,s,h);var v=x6;if(v&&i){var u=$5(v).hoistableStyles,m=b6(i);s=s||"default";var C=u.get(m);if(!C){var B={loading:0,preload:null};if(C=v.querySelector(Z7(m)))B.loading=5;else{i=g({rel:"stylesheet",href:i,"data-precedence":s},h),(h=l3.get(m))&&ci(i,h);var j=C=v.createElement("link");$0(j),l1(j,"link",i),j._p=new Promise(function(K,r2){j.onload=K,j.onerror=r2}),j.addEventListener("load",function(){B.loading|=1}),j.addEventListener("error",function(){B.loading|=2}),B.loading|=4,ie(C,s,v)}C={type:"stylesheet",instance:C,count:1,state:B},u.set(m,C)}}}function wF(i,s){a4.X(i,s);var h=x6;if(h&&i){var v=$5(h).hoistableScripts,u=F6(i),m=v.get(u);m||(m=h.querySelector(W7(u)),m||(i=g({src:i,async:!0},s),(s=l3.get(u))&&ti(i,s),m=h.createElement("script"),$0(m),l1(m,"link",i),h.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},v.set(u,m))}}function CF(i,s){a4.M(i,s);var h=x6;if(h&&i){var v=$5(h).hoistableScripts,u=F6(i),m=v.get(u);m||(m=h.querySelector(W7(u)),m||(i=g({src:i,async:!0,type:"module"},s),(s=l3.get(u))&&ti(i,s),m=h.createElement("script"),$0(m),l1(m,"link",i),h.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},v.set(u,m))}}function $g(i,s,h,v){var u=(u=C2.current)?le(u):null;if(!u)throw Error(l(446));switch(i){case"meta":case"title":return null;case"style":return typeof h.precedence=="string"&&typeof h.href=="string"?(s=b6(h.href),h=$5(u).hoistableStyles,v=h.get(s),v||(v={type:"style",instance:null,count:0,state:null},h.set(s,v)),v):{type:"void",instance:null,count:0,state:null};case"link":if(h.rel==="stylesheet"&&typeof h.href=="string"&&typeof h.precedence=="string"){i=b6(h.href);var m=$5(u).hoistableStyles,C=m.get(i);if(C||(u=u.ownerDocument||u,C={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},m.set(i,C),(m=u.querySelector(Z7(i)))&&!m._p&&(C.instance=m,C.state.loading=5),l3.has(i)||(h={rel:"preload",as:"style",href:h.href,crossOrigin:h.crossOrigin,integrity:h.integrity,media:h.media,hrefLang:h.hrefLang,referrerPolicy:h.referrerPolicy},l3.set(i,h),m||xF(u,i,h,C.state))),s&&v===null)throw Error(l(528,""));return C}if(s&&v!==null)throw Error(l(529,""));return null;case"script":return s=h.async,h=h.src,typeof h=="string"&&s&&typeof s!="function"&&typeof s!="symbol"?(s=F6(h),h=$5(u).hoistableScripts,v=h.get(s),v||(v={type:"script",instance:null,count:0,state:null},h.set(s,v)),v):{type:"void",instance:null,count:0,state:null};default:throw Error(l(444,i))}}function b6(i){return'href="'+Y1(i)+'"'}function Z7(i){return'link[rel="stylesheet"]['+i+"]"}function Zg(i){return g({},i,{"data-precedence":i.precedence,precedence:null})}function xF(i,s,h,v){i.querySelector('link[rel="preload"][as="style"]['+s+"]")?v.loading=1:(s=i.createElement("link"),v.preload=s,s.addEventListener("load",function(){return v.loading|=1}),s.addEventListener("error",function(){return v.loading|=2}),l1(s,"link",h),$0(s),i.head.appendChild(s))}function F6(i){return'[src="'+Y1(i)+'"]'}function W7(i){return"script[async]"+i}function Wg(i,s,h){if(s.count++,s.instance===null)switch(s.type){case"style":var v=i.querySelector('style[data-href~="'+Y1(h.href)+'"]');if(v)return s.instance=v,$0(v),v;var u=g({},h,{"data-href":h.href,"data-precedence":h.precedence,href:null,precedence:null});return v=(i.ownerDocument||i).createElement("style"),$0(v),l1(v,"style",u),ie(v,h.precedence,i),s.instance=v;case"stylesheet":u=b6(h.href);var m=i.querySelector(Z7(u));if(m)return s.state.loading|=4,s.instance=m,$0(m),m;v=Zg(h),(u=l3.get(u))&&ci(v,u),m=(i.ownerDocument||i).createElement("link"),$0(m);var C=m;return C._p=new Promise(function(B,j){C.onload=B,C.onerror=j}),l1(m,"link",v),s.state.loading|=4,ie(m,h.precedence,i),s.instance=m;case"script":return m=F6(h.src),(u=i.querySelector(W7(m)))?(s.instance=u,$0(u),u):(v=h,(u=l3.get(m))&&(v=g({},h),ti(v,u)),i=i.ownerDocument||i,u=i.createElement("script"),$0(u),l1(u,"link",v),i.head.appendChild(u),s.instance=u);case"void":return null;default:throw Error(l(443,s.type))}else s.type==="stylesheet"&&(s.state.loading&4)===0&&(v=s.instance,s.state.loading|=4,ie(v,h.precedence,i));return s.instance}function ie(i,s,h){for(var v=h.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=v.length?v[v.length-1]:null,m=u,C=0;C title"):null)}function bF(i,s,h){if(h===1||s.itemProp!=null)return!1;switch(i){case"meta":case"title":return!0;case"style":if(typeof s.precedence!="string"||typeof s.href!="string"||s.href==="")break;return!0;case"link":if(typeof s.rel!="string"||typeof s.href!="string"||s.href===""||s.onLoad||s.onError)break;return s.rel==="stylesheet"?(i=s.disabled,typeof s.precedence=="string"&&i==null):!0;case"script":if(s.async&&typeof s.async!="function"&&typeof s.async!="symbol"&&!s.onLoad&&!s.onError&&s.src&&typeof s.src=="string")return!0}return!1}function Xg(i){return!(i.type==="stylesheet"&&(i.state.loading&3)===0)}function FF(i,s,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 u=b6(v.href),m=s.querySelector(Z7(u));if(m){s=m._p,s!==null&&typeof s=="object"&&typeof s.then=="function"&&(i.count++,i=se.bind(i),s.then(i,i)),h.state.loading|=4,h.instance=m,$0(m);return}m=s.ownerDocument||s,v=Zg(v),(u=l3.get(u))&&ci(v,u),m=m.createElement("link"),$0(m);var C=m;C._p=new Promise(function(B,j){C.onload=B,C.onerror=j}),l1(m,"link",v),h.instance=m}i.stylesheets===null&&(i.stylesheets=new Map),i.stylesheets.set(h,s),(s=h.state.preload)&&(h.state.loading&3)===0&&(i.count++,h=se.bind(i),s.addEventListener("load",h),s.addEventListener("error",h))}}var li=0;function EF(i,s){return i.stylesheets&&i.count===0&&re(i,i.stylesheets),0li?50:800)+s);return i.unsuspend=h,function(){i.unsuspend=null,clearTimeout(v),clearTimeout(u)}}:null}function se(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)re(this,this.stylesheets);else if(this.unsuspend){var i=this.unsuspend;this.unsuspend=null,i()}}}var ne=null;function re(i,s){i.stylesheets=null,i.unsuspend!==null&&(i.count++,ne=new Map,s.forEach(yF,i),ne=null,se.call(i))}function yF(i,s){if(!(s.state.loading&4)){var h=ne.get(i);if(h)var v=h.get(null);else{h=new Map,ne.set(i,h);for(var u=i.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(c){console.error(c)}}return e(),pi.exports=jF(),pi.exports}var qF=GF();const $F=zc(qF);var wu="popstate";function ZF(e={}){function c(a,n){let{pathname:r="/",search:o="",hash:d=""}=N5(a.location.hash.substring(1));return!r.startsWith("/")&&!r.startsWith(".")&&(r="/"+r),na("",{pathname:r,search:o,hash:d},n.state&&n.state.usr||null,n.state&&n.state.key||"default")}function t(a,n){let r=a.document.querySelector("base"),o="";if(r&&r.getAttribute("href")){let d=a.location.href,p=d.indexOf("#");o=p===-1?d:d.slice(0,p)}return o+"#"+(typeof n=="string"?n:E8(n))}function l(a,n){h3(a.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(n)})`)}return YF(c,t,l,e)}function F0(e,c){if(e===!1||e===null||typeof e>"u")throw new Error(c)}function h3(e,c){if(!e){typeof console<"u"&&console.warn(c);try{throw new Error(c)}catch{}}}function WF(){return Math.random().toString(36).substring(2,10)}function Cu(e,c){return{usr:e.state,key:e.key,idx:c}}function na(e,c,t=null,l){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof c=="string"?N5(c):c,state:t,key:c&&c.key||l||WF()}}function E8({pathname:e="/",search:c="",hash:t=""}){return c&&c!=="?"&&(e+=c.charAt(0)==="?"?c:"?"+c),t&&t!=="#"&&(e+=t.charAt(0)==="#"?t:"#"+t),e}function N5(e){let c={};if(e){let t=e.indexOf("#");t>=0&&(c.hash=e.substring(t),e=e.substring(0,t));let l=e.indexOf("?");l>=0&&(c.search=e.substring(l),e=e.substring(0,l)),e&&(c.pathname=e)}return c}function YF(e,c,t,l={}){let{window:a=document.defaultView,v5Compat:n=!1}=l,r=a.history,o="POP",d=null,p=f();p==null&&(p=0,r.replaceState({...r.state,idx:p},""));function f(){return(r.state||{idx:null}).idx}function g(){o="POP";let y=f(),x=y==null?null:y-p;p=y,d&&d({action:o,location:w.location,delta:x})}function _(y,x){o="PUSH";let k=na(w.location,y,x);t&&t(k,y),p=f()+1;let S=Cu(k,p),F=w.createHref(k);try{r.pushState(S,"",F)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;a.location.assign(F)}n&&d&&d({action:o,location:w.location,delta:1})}function z(y,x){o="REPLACE";let k=na(w.location,y,x);t&&t(k,y),p=f();let S=Cu(k,p),F=w.createHref(k);r.replaceState(S,"",F),n&&d&&d({action:o,location:w.location,delta:0})}function M(y){return KF(y)}let w={get action(){return o},get location(){return e(a,r)},listen(y){if(d)throw new Error("A history only accepts one active listener");return a.addEventListener(wu,g),d=y,()=>{a.removeEventListener(wu,g),d=null}},createHref(y){return c(a,y)},createURL:M,encodeLocation(y){let x=M(y);return{pathname:x.pathname,search:x.search,hash:x.hash}},push:_,replace:z,go(y){return r.go(y)}};return w}function KF(e,c=!1){let t="http://localhost";typeof window<"u"&&(t=window.location.origin!=="null"?window.location.origin:window.location.href),F0(t,"No window.location.(origin|href) available to create URL");let l=typeof e=="string"?e:E8(e);return l=l.replace(/ $/,"%20"),!c&&l.startsWith("//")&&(l=t+l),new URL(l,t)}function W_(e,c,t="/"){return XF(e,c,t,!1)}function XF(e,c,t,l){let a=typeof c=="string"?N5(c):c,n=f4(a.pathname||"/",t);if(n==null)return null;let r=Y_(e);QF(r);let o=null;for(let d=0;o==null&&d{let f={relativePath:p===void 0?r.path||"":p,caseSensitive:r.caseSensitive===!0,childrenIndex:o,route:r};if(f.relativePath.startsWith("/")){if(!f.relativePath.startsWith(l)&&d)return;F0(f.relativePath.startsWith(l),`Absolute route path "${f.relativePath}" nested under path "${l}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),f.relativePath=f.relativePath.slice(l.length)}let g=v4([l,f.relativePath]),_=t.concat(f);r.children&&r.children.length>0&&(F0(r.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${g}".`),Y_(r.children,c,_,g,d)),!(r.path==null&&!r.index)&&c.push({path:g,score:aE(g,r.index),routesMeta:_})};return e.forEach((r,o)=>{if(r.path===""||!r.path?.includes("?"))n(r,o);else for(let d of K_(r.path))n(r,o,!0,d)}),c}function K_(e){let c=e.split("/");if(c.length===0)return[];let[t,...l]=c,a=t.endsWith("?"),n=t.replace(/\?$/,"");if(l.length===0)return a?[n,""]:[n];let r=K_(l.join("/")),o=[];return o.push(...r.map(d=>d===""?n:[n,d].join("/"))),a&&o.push(...r),o.map(d=>e.startsWith("/")&&d===""?"/":d)}function QF(e){e.sort((c,t)=>c.score!==t.score?t.score-c.score:sE(c.routesMeta.map(l=>l.childrenIndex),t.routesMeta.map(l=>l.childrenIndex)))}var JF=/^:[\w-]+$/,eE=3,cE=2,tE=1,lE=10,iE=-2,xu=e=>e==="*";function aE(e,c){let t=e.split("/"),l=t.length;return t.some(xu)&&(l+=iE),c&&(l+=cE),t.filter(a=>!xu(a)).reduce((a,n)=>a+(JF.test(n)?eE:n===""?tE:lE),l)}function sE(e,c){return e.length===c.length&&e.slice(0,-1).every((l,a)=>l===c[a])?e[e.length-1]-c[c.length-1]:0}function nE(e,c,t=!1){let{routesMeta:l}=e,a={},n="/",r=[];for(let o=0;o{if(f==="*"){let M=o[_]||"";r=n.slice(0,n.length-M.length).replace(/(.)\/+$/,"$1")}const z=o[_];return g&&!z?p[f]=void 0:p[f]=(z||"").replace(/%2F/g,"/"),p},{}),pathname:n,pathnameBase:r,pattern:e}}function rE(e,c=!1,t=!0){h3(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 l=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(r,o,d)=>(l.push({paramName:o,isOptional:d!=null}),d?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(l.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):t?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,c?void 0:"i"),l]}function oE(e){try{return e.split("/").map(c=>decodeURIComponent(c).replace(/\//g,"%2F")).join("/")}catch(c){return h3(!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 (${c}).`),e}}function f4(e,c){if(c==="/")return e;if(!e.toLowerCase().startsWith(c.toLowerCase()))return null;let t=c.endsWith("/")?c.length-1:c.length,l=e.charAt(t);return l&&l!=="/"?null:e.slice(t)||"/"}var X_=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,hE=e=>X_.test(e);function dE(e,c="/"){let{pathname:t,search:l="",hash:a=""}=typeof e=="string"?N5(e):e,n;if(t)if(hE(t))n=t;else{if(t.includes("//")){let r=t;t=t.replace(/\/\/+/g,"/"),h3(!1,`Pathnames cannot have embedded double slashes - normalizing ${r} -> ${t}`)}t.startsWith("/")?n=bu(t.substring(1),"/"):n=bu(t,c)}else n=c;return{pathname:n,search:fE(l),hash:gE(a)}}function bu(e,c){let t=c.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?t.length>1&&t.pop():a!=="."&&t.push(a)}),t.length>1?t.join("/"):"/"}function ui(e,c,t,l){return`Cannot include a '${e}' character in a manually specified \`to.${c}\` field [${JSON.stringify(l)}]. Please separate it out to the \`to.${t}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function pE(e){return e.filter((c,t)=>t===0||c.route.path&&c.route.path.length>0)}function Q_(e){let c=pE(e);return c.map((t,l)=>l===c.length-1?t.pathname:t.pathnameBase)}function J_(e,c,t,l=!1){let a;typeof e=="string"?a=N5(e):(a={...e},F0(!a.pathname||!a.pathname.includes("?"),ui("?","pathname","search",a)),F0(!a.pathname||!a.pathname.includes("#"),ui("#","pathname","hash",a)),F0(!a.search||!a.search.includes("#"),ui("#","search","hash",a)));let n=e===""||a.pathname==="",r=n?"/":a.pathname,o;if(r==null)o=t;else{let g=c.length-1;if(!l&&r.startsWith("..")){let _=r.split("/");for(;_[0]==="..";)_.shift(),g-=1;a.pathname=_.join("/")}o=g>=0?c[g]:"/"}let d=dE(a,o),p=r&&r!=="/"&&r.endsWith("/"),f=(n||r===".")&&t.endsWith("/");return!d.pathname.endsWith("/")&&(p||f)&&(d.pathname+="/"),d}var v4=e=>e.join("/").replace(/\/\/+/g,"/"),vE=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),fE=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,gE=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,uE=class{constructor(e,c,t,l=!1){this.status=e,this.statusText=c||"",this.internal=l,t instanceof Error?(this.data=t.toString(),this.error=t):this.data=t}};function mE(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function _E(e){return e.map(c=>c.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var ez=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function cz(e,c){let t=e;if(typeof t!="string"||!X_.test(t))return{absoluteURL:void 0,isExternal:!1,to:t};let l=t,a=!1;if(ez)try{let n=new URL(window.location.href),r=t.startsWith("//")?new URL(n.protocol+t):new URL(t),o=f4(r.pathname,c);r.origin===n.origin&&o!=null?t=o+r.search+r.hash:a=!0}catch{h3(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:l,isExternal:a,to:t}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var tz=["POST","PUT","PATCH","DELETE"];new Set(tz);var zE=["GET",...tz];new Set(zE);var K6=R.createContext(null);K6.displayName="DataRouter";var Mc=R.createContext(null);Mc.displayName="DataRouterState";var ME=R.createContext(!1),lz=R.createContext({isTransitioning:!1});lz.displayName="ViewTransition";var wE=R.createContext(new Map);wE.displayName="Fetchers";var CE=R.createContext(null);CE.displayName="Await";var d3=R.createContext(null);d3.displayName="Navigation";var N8=R.createContext(null);N8.displayName="Location";var u4=R.createContext({outlet:null,matches:[],isDataRoute:!1});u4.displayName="Route";var rs=R.createContext(null);rs.displayName="RouteError";var iz="REACT_ROUTER_ERROR",xE="REDIRECT",bE="ROUTE_ERROR_RESPONSE";function FE(e){if(e.startsWith(`${iz}:${xE}:{`))try{let c=JSON.parse(e.slice(28));if(typeof c=="object"&&c&&typeof c.status=="number"&&typeof c.statusText=="string"&&typeof c.location=="string"&&typeof c.reloadDocument=="boolean"&&typeof c.replace=="boolean")return c}catch{}}function EE(e){if(e.startsWith(`${iz}:${bE}:{`))try{let c=JSON.parse(e.slice(40));if(typeof c=="object"&&c&&typeof c.status=="number"&&typeof c.statusText=="string")return new uE(c.status,c.statusText,c.data)}catch{}}function yE(e,{relative:c}={}){F0(O8(),"useHref() may be used only in the context of a component.");let{basename:t,navigator:l}=R.useContext(d3),{hash:a,pathname:n,search:r}=U8(e,{relative:c}),o=n;return t!=="/"&&(o=n==="/"?t:v4([t,n])),l.createHref({pathname:o,search:r,hash:a})}function O8(){return R.useContext(N8)!=null}function a5(){return F0(O8(),"useLocation() may be used only in the context of a component."),R.useContext(N8).location}var az="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function sz(e){R.useContext(d3).static||R.useLayoutEffect(e)}function os(){let{isDataRoute:e}=R.useContext(u4);return e?OE():DE()}function DE(){F0(O8(),"useNavigate() may be used only in the context of a component.");let e=R.useContext(K6),{basename:c,navigator:t}=R.useContext(d3),{matches:l}=R.useContext(u4),{pathname:a}=a5(),n=JSON.stringify(Q_(l)),r=R.useRef(!1);return sz(()=>{r.current=!0}),R.useCallback((d,p={})=>{if(h3(r.current,az),!r.current)return;if(typeof d=="number"){t.go(d);return}let f=J_(d,JSON.parse(n),a,p.relative==="path");e==null&&c!=="/"&&(f.pathname=f.pathname==="/"?c:v4([c,f.pathname])),(p.replace?t.replace:t.push)(f,p.state,p)},[c,t,n,a,e])}R.createContext(null);function U8(e,{relative:c}={}){let{matches:t}=R.useContext(u4),{pathname:l}=a5(),a=JSON.stringify(Q_(t));return R.useMemo(()=>J_(e,JSON.parse(a),l,c==="path"),[e,a,l,c])}function AE(e,c){return nz(e,c)}function nz(e,c,t,l,a){F0(O8(),"useRoutes() may be used only in the context of a component.");let{navigator:n}=R.useContext(d3),{matches:r}=R.useContext(u4),o=r[r.length-1],d=o?o.params:{},p=o?o.pathname:"/",f=o?o.pathnameBase:"/",g=o&&o.route;{let k=g&&g.path||"";oz(p,!g||k.endsWith("*")||k.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${p}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. Please change the parent to .`)}let _=a5(),z;if(c){let k=typeof c=="string"?N5(c):c;F0(f==="/"||k.pathname?.startsWith(f),`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 "${f}" but pathname "${k.pathname}" was given in the \`location\` prop.`),z=k}else z=_;let M=z.pathname||"/",w=M;if(f!=="/"){let k=f.replace(/^\//,"").split("/");w="/"+M.replace(/^\//,"").split("/").slice(k.length).join("/")}let y=W_(e,{pathname:w});h3(g||y!=null,`No routes matched location "${z.pathname}${z.search}${z.hash}" `),h3(y==null||y[y.length-1].route.element!==void 0||y[y.length-1].route.Component!==void 0||y[y.length-1].route.lazy!==void 0,`Matched leaf route at location "${z.pathname}${z.search}${z.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 x=TE(y&&y.map(k=>Object.assign({},k,{params:Object.assign({},d,k.params),pathname:v4([f,n.encodeLocation?n.encodeLocation(k.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:k.pathname]),pathnameBase:k.pathnameBase==="/"?f:v4([f,n.encodeLocation?n.encodeLocation(k.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:k.pathnameBase])})),r,t,l,a);return c&&x?R.createElement(N8.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...z},navigationType:"POP"}},x):x}function SE(){let e=NE(),c=mE(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),t=e instanceof Error?e.stack:null,l="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:l},n={padding:"2px 4px",backgroundColor:l},r=null;return console.error("Error handled by React Router default ErrorBoundary:",e),r=R.createElement(R.Fragment,null,R.createElement("p",null,"💿 Hey developer 👋"),R.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",R.createElement("code",{style:n},"ErrorBoundary")," or"," ",R.createElement("code",{style:n},"errorElement")," prop on your route.")),R.createElement(R.Fragment,null,R.createElement("h2",null,"Unexpected Application Error!"),R.createElement("h3",{style:{fontStyle:"italic"}},c),t?R.createElement("pre",{style:a},t):null,r)}var BE=R.createElement(SE,null),rz=class extends R.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,c){return c.location!==e.location||c.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:c.error,location:c.location,revalidation:e.revalidation||c.revalidation}}componentDidCatch(e,c){this.props.onError?this.props.onError(e,c):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const t=EE(e.digest);t&&(e=t)}let c=e!==void 0?R.createElement(u4.Provider,{value:this.props.routeContext},R.createElement(rs.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?R.createElement(kE,{error:e},c):c}};rz.contextType=ME;var mi=new WeakMap;function kE({children:e,error:c}){let{basename:t}=R.useContext(d3);if(typeof c=="object"&&c&&"digest"in c&&typeof c.digest=="string"){let l=FE(c.digest);if(l){let a=mi.get(c);if(a)throw a;let n=cz(l.location,t);if(ez&&!mi.get(c))if(n.isExternal||l.reloadDocument)window.location.href=n.absoluteURL||n.to;else{const r=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(n.to,{replace:l.replace}));throw mi.set(c,r),r}return R.createElement("meta",{httpEquiv:"refresh",content:`0;url=${n.absoluteURL||n.to}`})}}return e}function LE({routeContext:e,match:c,children:t}){let l=R.useContext(K6);return l&&l.static&&l.staticContext&&(c.route.errorElement||c.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=c.route.id),R.createElement(u4.Provider,{value:e},t)}function TE(e,c=[],t=null,l=null,a=null){if(e==null){if(!t)return null;if(t.errors)e=t.matches;else if(c.length===0&&!t.initialized&&t.matches.length>0)e=t.matches;else return null}let n=e,r=t?.errors;if(r!=null){let f=n.findIndex(g=>g.route.id&&r?.[g.route.id]!==void 0);F0(f>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(r).join(",")}`),n=n.slice(0,Math.min(n.length,f+1))}let o=!1,d=-1;if(t)for(let f=0;f=0?n=n.slice(0,d+1):n=[n[0]];break}}}let p=t&&l?(f,g)=>{l(f,{location:t.location,params:t.matches?.[0]?.params??{},unstable_pattern:_E(t.matches),errorInfo:g})}:void 0;return n.reduceRight((f,g,_)=>{let z,M=!1,w=null,y=null;t&&(z=r&&g.route.id?r[g.route.id]:void 0,w=g.route.errorElement||BE,o&&(d<0&&_===0?(oz("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),M=!0,y=null):d===_&&(M=!0,y=g.route.hydrateFallbackElement||null)));let x=c.concat(n.slice(0,_+1)),k=()=>{let S;return z?S=w:M?S=y:g.route.Component?S=R.createElement(g.route.Component,null):g.route.element?S=g.route.element:S=f,R.createElement(LE,{match:g,routeContext:{outlet:f,matches:x,isDataRoute:t!=null},children:S})};return t&&(g.route.ErrorBoundary||g.route.errorElement||_===0)?R.createElement(rz,{location:t.location,revalidation:t.revalidation,component:w,error:z,children:k(),routeContext:{outlet:null,matches:x,isDataRoute:!0},onError:p}):k()},null)}function hs(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function HE(e){let c=R.useContext(K6);return F0(c,hs(e)),c}function RE(e){let c=R.useContext(Mc);return F0(c,hs(e)),c}function VE(e){let c=R.useContext(u4);return F0(c,hs(e)),c}function ds(e){let c=VE(e),t=c.matches[c.matches.length-1];return F0(t.route.id,`${e} can only be used on routes that contain a unique "id"`),t.route.id}function IE(){return ds("useRouteId")}function NE(){let e=R.useContext(rs),c=RE("useRouteError"),t=ds("useRouteError");return e!==void 0?e:c.errors?.[t]}function OE(){let{router:e}=HE("useNavigate"),c=ds("useNavigate"),t=R.useRef(!1);return sz(()=>{t.current=!0}),R.useCallback(async(a,n={})=>{h3(t.current,az),t.current&&(typeof a=="number"?await e.navigate(a):await e.navigate(a,{fromRouteId:c,...n}))},[e,c])}var Fu={};function oz(e,c,t){!c&&!Fu[e]&&(Fu[e]=!0,h3(!1,t))}R.memo(UE);function UE({routes:e,future:c,state:t,onError:l}){return nz(e,void 0,t,l,c)}function Se(e){F0(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function PE({basename:e="/",children:c=null,location:t,navigationType:l="POP",navigator:a,static:n=!1,unstable_useTransitions:r}){F0(!O8(),"You cannot render a inside another . You should never have more than one in your app.");let o=e.replace(/^\/*/,"/"),d=R.useMemo(()=>({basename:o,navigator:a,static:n,unstable_useTransitions:r,future:{}}),[o,a,n,r]);typeof t=="string"&&(t=N5(t));let{pathname:p="/",search:f="",hash:g="",state:_=null,key:z="default"}=t,M=R.useMemo(()=>{let w=f4(p,o);return w==null?null:{location:{pathname:w,search:f,hash:g,state:_,key:z},navigationType:l}},[o,p,f,g,_,z,l]);return h3(M!=null,` is not able to match the URL "${p}${f}${g}" because it does not start with the basename, so the won't render anything.`),M==null?null:R.createElement(d3.Provider,{value:d},R.createElement(N8.Provider,{children:c,value:M}))}function jE({children:e,location:c}){return AE(ra(e),c)}function ra(e,c=[]){let t=[];return R.Children.forEach(e,(l,a)=>{if(!R.isValidElement(l))return;let n=[...c,a];if(l.type===R.Fragment){t.push.apply(t,ra(l.props.children,n));return}F0(l.type===Se,`[${typeof l.type=="string"?l.type:l.type.name}] is not a component. All component children of must be a or `),F0(!l.props.index||!l.props.children,"An index route cannot have child routes.");let r={id:l.props.id||n.join("-"),caseSensitive:l.props.caseSensitive,element:l.props.element,Component:l.props.Component,index:l.props.index,path:l.props.path,middleware:l.props.middleware,loader:l.props.loader,action:l.props.action,hydrateFallbackElement:l.props.hydrateFallbackElement,HydrateFallback:l.props.HydrateFallback,errorElement:l.props.errorElement,ErrorBoundary:l.props.ErrorBoundary,hasErrorBoundary:l.props.hasErrorBoundary===!0||l.props.ErrorBoundary!=null||l.props.errorElement!=null,shouldRevalidate:l.props.shouldRevalidate,handle:l.props.handle,lazy:l.props.lazy};l.props.children&&(r.children=ra(l.props.children,n)),t.push(r)}),t}var Be="get",ke="application/x-www-form-urlencoded";function wc(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function GE(e){return wc(e)&&e.tagName.toLowerCase()==="button"}function qE(e){return wc(e)&&e.tagName.toLowerCase()==="form"}function $E(e){return wc(e)&&e.tagName.toLowerCase()==="input"}function ZE(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function WE(e,c){return e.button===0&&(!c||c==="_self")&&!ZE(e)}var ue=null;function YE(){if(ue===null)try{new FormData(document.createElement("form"),0),ue=!1}catch{ue=!0}return ue}var KE=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function _i(e){return e!=null&&!KE.has(e)?(h3(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${ke}"`),null):e}function XE(e,c){let t,l,a,n,r;if(qE(e)){let o=e.getAttribute("action");l=o?f4(o,c):null,t=e.getAttribute("method")||Be,a=_i(e.getAttribute("enctype"))||ke,n=new FormData(e)}else if(GE(e)||$E(e)&&(e.type==="submit"||e.type==="image")){let o=e.form;if(o==null)throw new Error('Cannot submit a