(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const l of i)if(l.type==="childList")for(const c of l.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&r(c)}).observe(document,{childList:!0,subtree:!0});function n(i){const l={};return i.integrity&&(l.integrity=i.integrity),i.referrerPolicy&&(l.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?l.credentials="include":i.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(i){if(i.ep)return;i.ep=!0;const l=n(i);fetch(i.href,l)}})();var Df=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function it(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Uy={exports:{}},zc={};/** * @license React * react-jsx-runtime.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var wO;function $B(){if(wO)return zc;wO=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,i,l){var c=null;if(l!==void 0&&(c=""+l),i.key!==void 0&&(c=""+i.key),"key"in i){l={};for(var d in i)d!=="key"&&(l[d]=i[d])}else l=i;return i=l.ref,{$$typeof:e,type:r,key:c,ref:i!==void 0?i:null,props:l}}return zc.Fragment=t,zc.jsx=n,zc.jsxs=n,zc}var SO;function BB(){return SO||(SO=1,Uy.exports=$B()),Uy.exports}var s=BB(),Vy={exports:{}},Re={};/** * @license React * react.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var NO;function IB(){if(NO)return Re;NO=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),x=Symbol.for("react.activity"),y=Symbol.iterator;function j(q){return q===null||typeof q!="object"?null:(q=y&&q[y]||q["@@iterator"],typeof q=="function"?q:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,v={};function A(q,Y,ae){this.props=q,this.context=Y,this.refs=v,this.updater=ae||w}A.prototype.isReactComponent={},A.prototype.setState=function(q,Y){if(typeof q!="object"&&typeof q!="function"&&q!=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,q,Y,"setState")},A.prototype.forceUpdate=function(q){this.updater.enqueueForceUpdate(this,q,"forceUpdate")};function O(){}O.prototype=A.prototype;function _(q,Y,ae){this.props=q,this.context=Y,this.refs=v,this.updater=ae||w}var T=_.prototype=new O;T.constructor=_,S(T,A.prototype),T.isPureReactComponent=!0;var N=Array.isArray;function E(){}var M={H:null,A:null,T:null,S:null},R=Object.prototype.hasOwnProperty;function B(q,Y,ae){var fe=ae.ref;return{$$typeof:e,type:q,key:Y,ref:fe!==void 0?fe:null,props:ae}}function z(q,Y){return B(q.type,Y,q.props)}function D(q){return typeof q=="object"&&q!==null&&q.$$typeof===e}function L(q){var Y={"=":"=0",":":"=2"};return"$"+q.replace(/[=:]/g,function(ae){return Y[ae]})}var $=/\/+/g;function F(q,Y){return typeof q=="object"&&q!==null&&q.key!=null?L(""+q.key):Y.toString(36)}function H(q){switch(q.status){case"fulfilled":return q.value;case"rejected":throw q.reason;default:switch(typeof q.status=="string"?q.then(E,E):(q.status="pending",q.then(function(Y){q.status==="pending"&&(q.status="fulfilled",q.value=Y)},function(Y){q.status==="pending"&&(q.status="rejected",q.reason=Y)})),q.status){case"fulfilled":return q.value;case"rejected":throw q.reason}}throw q}function I(q,Y,ae,fe,ye){var Se=typeof q;(Se==="undefined"||Se==="boolean")&&(q=null);var qe=!1;if(q===null)qe=!0;else switch(Se){case"bigint":case"string":case"number":qe=!0;break;case"object":switch(q.$$typeof){case e:case t:qe=!0;break;case p:return qe=q._init,I(qe(q._payload),Y,ae,fe,ye)}}if(qe)return ye=ye(q),qe=fe===""?"."+F(q,0):fe,N(ye)?(ae="",qe!=null&&(ae=qe.replace($,"$&/")+"/"),I(ye,Y,ae,"",function(Te){return Te})):ye!=null&&(D(ye)&&(ye=z(ye,ae+(ye.key==null||q&&q.key===ye.key?"":(""+ye.key).replace($,"$&/")+"/")+qe)),Y.push(ye)),1;qe=0;var et=fe===""?".":fe+":";if(N(q))for(var de=0;de>>1,ce=I[ie];if(0>>1;iei(ae,Z))fei(ye,ae)?(I[ie]=ye,I[fe]=Z,ie=fe):(I[ie]=ae,I[Y]=Z,ie=Y);else if(fei(ye,Z))I[ie]=ye,I[fe]=Z,ie=fe;else break e}}return G}function i(I,G){var Z=I.sortIndex-G.sortIndex;return Z!==0?Z:I.id-G.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var c=Date,d=c.now();e.unstable_now=function(){return c.now()-d}}var f=[],h=[],p=1,x=null,y=3,j=!1,w=!1,S=!1,v=!1,A=typeof setTimeout=="function"?setTimeout:null,O=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;function T(I){for(var G=n(h);G!==null;){if(G.callback===null)r(h);else if(G.startTime<=I)r(h),G.sortIndex=G.expirationTime,t(f,G);else break;G=n(h)}}function N(I){if(S=!1,T(I),!w)if(n(f)!==null)w=!0,E||(E=!0,L());else{var G=n(h);G!==null&&H(N,G.startTime-I)}}var E=!1,M=-1,R=5,B=-1;function z(){return v?!0:!(e.unstable_now()-BI&&z());){var ie=x.callback;if(typeof ie=="function"){x.callback=null,y=x.priorityLevel;var ce=ie(x.expirationTime<=I);if(I=e.unstable_now(),typeof ce=="function"){x.callback=ce,T(I),G=!0;break t}x===n(f)&&r(f),T(I)}else r(f);x=n(f)}if(x!==null)G=!0;else{var q=n(h);q!==null&&H(N,q.startTime-I),G=!1}}break e}finally{x=null,y=Z,j=!1}G=void 0}}finally{G?L():E=!1}}}var L;if(typeof _=="function")L=function(){_(D)};else if(typeof MessageChannel<"u"){var $=new MessageChannel,F=$.port2;$.port1.onmessage=D,L=function(){F.postMessage(null)}}else L=function(){A(D,0)};function H(I,G){M=A(function(){I(e.unstable_now())},G)}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(I){I.callback=null},e.unstable_forceFrameRate=function(I){0>I||125ie?(I.sortIndex=Z,t(h,I),n(f)===null&&I===n(h)&&(S?(O(M),M=-1):S=!0,H(N,Z-ie))):(I.sortIndex=ce,t(f,I),w||j||(w=!0,E||(E=!0,L()))),I},e.unstable_shouldYield=z,e.unstable_wrapCallback=function(I){var G=y;return function(){var Z=y;y=G;try{return I.apply(this,arguments)}finally{y=Z}}}})(Gy)),Gy}var OO;function UB(){return OO||(OO=1,Fy.exports=qB()),Fy.exports}var Ky={exports:{}},pn={};/** * @license React * react-dom.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var TO;function VB(){if(TO)return pn;TO=1;var e=Nw();function t(f){var h="https://react.dev/errors/"+f;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Ky.exports=VB(),Ky.exports}/** * @license React * react-dom-client.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var kO;function FB(){if(kO)return Lc;kO=1;var e=UB(),t=Nw(),n=HB();function r(a){var o="https://react.dev/errors/"+a;if(1ce||(a.current=ie[ce],ie[ce]=null,ce--)}function ae(a,o){ce++,ie[ce]=a.current,a.current=o}var fe=q(null),ye=q(null),Se=q(null),qe=q(null);function et(a,o){switch(ae(Se,o),ae(ye,a),ae(fe,null),o.nodeType){case 9:case 11:a=(a=o.documentElement)&&(a=a.namespaceURI)?F_(a):0;break;default:if(a=o.tagName,o=o.namespaceURI)o=F_(o),a=G_(o,a);else switch(a){case"svg":a=1;break;case"math":a=2;break;default:a=0}}Y(fe),ae(fe,a)}function de(){Y(fe),Y(ye),Y(Se)}function Te(a){a.memoizedState!==null&&ae(qe,a);var o=fe.current,u=G_(o,a.type);o!==u&&(ae(ye,a),ae(fe,u))}function Pe(a){ye.current===a&&(Y(fe),Y(ye)),qe.current===a&&(Y(qe),Mc._currentValue=Z)}var ue,gt;function $e(a){if(ue===void 0)try{throw Error()}catch(u){var o=u.stack.trim().match(/\n( *(at )?)/);ue=o&&o[1]||"",gt=-1)":-1g||U[m]!==Q[g]){var ne=` `+U[m].replace(" at new "," at ");return a.displayName&&ne.includes("")&&(ne=ne.replace("",a.displayName)),ne}while(1<=m&&0<=g);break}}}finally{Tt=!1,Error.prepareStackTrace=u}return(u=a?a.displayName||a.name:"")?$e(u):""}function hn(a,o){switch(a.tag){case 26:case 27:case 5:return $e(a.type);case 16:return $e("Lazy");case 13:return a.child!==o&&o!==null?$e("Suspense Fallback"):$e("Suspense");case 19:return $e("SuspenseList");case 0:case 15:return Et(a.type,!1);case 11:return Et(a.type.render,!1);case 1:return Et(a.type,!0);case 31:return $e("Activity");default:return""}}function Or(a){try{var o="",u=null;do o+=hn(a,u),u=a,a=a.return;while(a);return o}catch(m){return` Error generating stack: `+m.message+` `+m.stack}}var Fr=Object.prototype.hasOwnProperty,Xa=e.unstable_scheduleCallback,Tr=e.unstable_cancelCallback,ca=e.unstable_shouldYield,Vl=e.unstable_requestPaint,mn=e.unstable_now,xd=e.unstable_getCurrentPriorityLevel,SN=e.unstable_ImmediatePriority,NN=e.unstable_UserBlockingPriority,yd=e.unstable_NormalPriority,v8=e.unstable_LowPriority,AN=e.unstable_IdlePriority,b8=e.log,j8=e.unstable_setDisableYieldValue,Hl=null,$n=null;function Wa(a){if(typeof b8=="function"&&j8(a),$n&&typeof $n.setStrictMode=="function")try{$n.setStrictMode(Hl,a)}catch{}}var Bn=Math.clz32?Math.clz32:N8,w8=Math.log,S8=Math.LN2;function N8(a){return a>>>=0,a===0?32:31-(w8(a)/S8|0)|0}var gd=256,vd=262144,bd=4194304;function Ui(a){var o=a&42;if(o!==0)return o;switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return a&261888;case 262144:case 524288:case 1048576:case 2097152:return a&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return a}}function jd(a,o,u){var m=a.pendingLanes;if(m===0)return 0;var g=0,b=a.suspendedLanes,C=a.pingedLanes;a=a.warmLanes;var P=m&134217727;return P!==0?(m=P&~b,m!==0?g=Ui(m):(C&=P,C!==0?g=Ui(C):u||(u=P&~a,u!==0&&(g=Ui(u))))):(P=m&~b,P!==0?g=Ui(P):C!==0?g=Ui(C):u||(u=m&~a,u!==0&&(g=Ui(u)))),g===0?0:o!==0&&o!==g&&(o&b)===0&&(b=g&-g,u=o&-o,b>=u||b===32&&(u&4194048)!==0)?o:g}function Fl(a,o){return(a.pendingLanes&~(a.suspendedLanes&~a.pingedLanes)&o)===0}function A8(a,o){switch(a){case 1:case 2:case 4:case 8:case 64:return o+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 o+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 _N(){var a=bd;return bd<<=1,(bd&62914560)===0&&(bd=4194304),a}function kp(a){for(var o=[],u=0;31>u;u++)o.push(a);return o}function Gl(a,o){a.pendingLanes|=o,o!==268435456&&(a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0)}function _8(a,o,u,m,g,b){var C=a.pendingLanes;a.pendingLanes=u,a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0,a.expiredLanes&=u,a.entangledLanes&=u,a.errorRecoveryDisabledLanes&=u,a.shellSuspendCounter=0;var P=a.entanglements,U=a.expirationTimes,Q=a.hiddenUpdates;for(u=C&~u;0"u")return null;try{return a.activeElement||a.body}catch{return a.body}}var M8=/[\n"\\]/g;function ar(a){return a.replace(M8,function(o){return"\\"+o.charCodeAt(0).toString(16)+" "})}function zp(a,o,u,m,g,b,C,P){a.name="",C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"?a.type=C:a.removeAttribute("type"),o!=null?C==="number"?(o===0&&a.value===""||a.value!=o)&&(a.value=""+rr(o)):a.value!==""+rr(o)&&(a.value=""+rr(o)):C!=="submit"&&C!=="reset"||a.removeAttribute("value"),o!=null?Lp(a,C,rr(o)):u!=null?Lp(a,C,rr(u)):m!=null&&a.removeAttribute("value"),g==null&&b!=null&&(a.defaultChecked=!!b),g!=null&&(a.checked=g&&typeof g!="function"&&typeof g!="symbol"),P!=null&&typeof P!="function"&&typeof P!="symbol"&&typeof P!="boolean"?a.name=""+rr(P):a.removeAttribute("name")}function BN(a,o,u,m,g,b,C,P){if(b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(a.type=b),o!=null||u!=null){if(!(b!=="submit"&&b!=="reset"||o!=null)){Dp(a);return}u=u!=null?""+rr(u):"",o=o!=null?""+rr(o):u,P||o===a.value||(a.value=o),a.defaultValue=o}m=m??g,m=typeof m!="function"&&typeof m!="symbol"&&!!m,a.checked=P?a.checked:!!m,a.defaultChecked=!!m,C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"&&(a.name=C),Dp(a)}function Lp(a,o,u){o==="number"&&Nd(a.ownerDocument)===a||a.defaultValue===""+u||(a.defaultValue=""+u)}function Ks(a,o,u,m){if(a=a.options,o){o={};for(var g=0;g"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Up=!1;if(fa)try{var Wl={};Object.defineProperty(Wl,"passive",{get:function(){Up=!0}}),window.addEventListener("test",Wl,Wl),window.removeEventListener("test",Wl,Wl)}catch{Up=!1}var Qa=null,Vp=null,_d=null;function GN(){if(_d)return _d;var a,o=Vp,u=o.length,m,g="value"in Qa?Qa.value:Qa.textContent,b=g.length;for(a=0;a=Jl),QN=" ",JN=!1;function e2(a,o){switch(a){case"keyup":return s$.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function t2(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var Zs=!1;function l$(a,o){switch(a){case"compositionend":return t2(o);case"keypress":return o.which!==32?null:(JN=!0,QN);case"textInput":return a=o.data,a===QN&&JN?null:a;default:return null}}function c$(a,o){if(Zs)return a==="compositionend"||!Yp&&e2(a,o)?(a=GN(),_d=Vp=Qa=null,Zs=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1=o)return{node:u,offset:o-a};a=m}e:{for(;u;){if(u.nextSibling){u=u.nextSibling;break e}u=u.parentNode}u=void 0}u=c2(u)}}function d2(a,o){return a&&o?a===o?!0:a&&a.nodeType===3?!1:o&&o.nodeType===3?d2(a,o.parentNode):"contains"in a?a.contains(o):a.compareDocumentPosition?!!(a.compareDocumentPosition(o)&16):!1:!1}function f2(a){a=a!=null&&a.ownerDocument!=null&&a.ownerDocument.defaultView!=null?a.ownerDocument.defaultView:window;for(var o=Nd(a.document);o instanceof a.HTMLIFrameElement;){try{var u=typeof o.contentWindow.location.href=="string"}catch{u=!1}if(u)a=o.contentWindow;else break;o=Nd(a.document)}return o}function Zp(a){var o=a&&a.nodeName&&a.nodeName.toLowerCase();return o&&(o==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||o==="textarea"||a.contentEditable==="true")}var y$=fa&&"documentMode"in document&&11>=document.documentMode,Qs=null,Qp=null,rc=null,Jp=!1;function h2(a,o,u){var m=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;Jp||Qs==null||Qs!==Nd(m)||(m=Qs,"selectionStart"in m&&Zp(m)?m={start:m.selectionStart,end:m.selectionEnd}:(m=(m.ownerDocument&&m.ownerDocument.defaultView||window).getSelection(),m={anchorNode:m.anchorNode,anchorOffset:m.anchorOffset,focusNode:m.focusNode,focusOffset:m.focusOffset}),rc&&nc(rc,m)||(rc=m,m=bf(Qp,"onSelect"),0>=C,g-=C,Gr=1<<32-Bn(o)+g|u<Be?(Fe=ge,ge=null):Fe=ge.sibling;var We=J(X,ge,W[Be],se);if(We===null){ge===null&&(ge=Fe);break}a&&ge&&We.alternate===null&&o(X,ge),K=b(We,K,Be),Xe===null?ve=We:Xe.sibling=We,Xe=We,ge=Fe}if(Be===W.length)return u(X,ge),Ye&&ma(X,Be),ve;if(ge===null){for(;BeBe?(Fe=ge,ge=null):Fe=ge.sibling;var bi=J(X,ge,We.value,se);if(bi===null){ge===null&&(ge=Fe);break}a&&ge&&bi.alternate===null&&o(X,ge),K=b(bi,K,Be),Xe===null?ve=bi:Xe.sibling=bi,Xe=bi,ge=Fe}if(We.done)return u(X,ge),Ye&&ma(X,Be),ve;if(ge===null){for(;!We.done;Be++,We=W.next())We=oe(X,We.value,se),We!==null&&(K=b(We,K,Be),Xe===null?ve=We:Xe.sibling=We,Xe=We);return Ye&&ma(X,Be),ve}for(ge=m(ge);!We.done;Be++,We=W.next())We=ee(ge,X,Be,We.value,se),We!==null&&(a&&We.alternate!==null&&ge.delete(We.key===null?Be:We.key),K=b(We,K,Be),Xe===null?ve=We:Xe.sibling=We,Xe=We);return a&&ge.forEach(function(LB){return o(X,LB)}),Ye&&ma(X,Be),ve}function lt(X,K,W,se){if(typeof W=="object"&&W!==null&&W.type===S&&W.key===null&&(W=W.props.children),typeof W=="object"&&W!==null){switch(W.$$typeof){case j:e:{for(var ve=W.key;K!==null;){if(K.key===ve){if(ve=W.type,ve===S){if(K.tag===7){u(X,K.sibling),se=g(K,W.props.children),se.return=X,X=se;break e}}else if(K.elementType===ve||typeof ve=="object"&&ve!==null&&ve.$$typeof===R&&Ji(ve)===K.type){u(X,K.sibling),se=g(K,W.props),cc(se,W),se.return=X,X=se;break e}u(X,K);break}else o(X,K);K=K.sibling}W.type===S?(se=Yi(W.props.children,X.mode,se,W.key),se.return=X,X=se):(se=zd(W.type,W.key,W.props,null,X.mode,se),cc(se,W),se.return=X,X=se)}return C(X);case w:e:{for(ve=W.key;K!==null;){if(K.key===ve)if(K.tag===4&&K.stateNode.containerInfo===W.containerInfo&&K.stateNode.implementation===W.implementation){u(X,K.sibling),se=g(K,W.children||[]),se.return=X,X=se;break e}else{u(X,K);break}else o(X,K);K=K.sibling}se=sx(W,X.mode,se),se.return=X,X=se}return C(X);case R:return W=Ji(W),lt(X,K,W,se)}if(H(W))return pe(X,K,W,se);if(L(W)){if(ve=L(W),typeof ve!="function")throw Error(r(150));return W=ve.call(W),Ne(X,K,W,se)}if(typeof W.then=="function")return lt(X,K,Vd(W),se);if(W.$$typeof===_)return lt(X,K,Bd(X,W),se);Hd(X,W)}return typeof W=="string"&&W!==""||typeof W=="number"||typeof W=="bigint"?(W=""+W,K!==null&&K.tag===6?(u(X,K.sibling),se=g(K,W),se.return=X,X=se):(u(X,K),se=ix(W,X.mode,se),se.return=X,X=se),C(X)):u(X,K)}return function(X,K,W,se){try{lc=0;var ve=lt(X,K,W,se);return co=null,ve}catch(ge){if(ge===lo||ge===qd)throw ge;var Xe=qn(29,ge,null,X.mode);return Xe.lanes=se,Xe.return=X,Xe}finally{}}}var ts=z2(!0),L2=z2(!1),ri=!1;function gx(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function vx(a,o){a=a.updateQueue,o.updateQueue===a&&(o.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function ai(a){return{lane:a,tag:0,payload:null,callback:null,next:null}}function ii(a,o,u){var m=a.updateQueue;if(m===null)return null;if(m=m.shared,(Je&2)!==0){var g=m.pending;return g===null?o.next=o:(o.next=g.next,g.next=o),m.pending=o,o=Dd(a),b2(a,null,u),o}return Rd(a,m,o,u),Dd(a)}function uc(a,o,u){if(o=o.updateQueue,o!==null&&(o=o.shared,(u&4194048)!==0)){var m=o.lanes;m&=a.pendingLanes,u|=m,o.lanes=u,TN(a,u)}}function bx(a,o){var u=a.updateQueue,m=a.alternate;if(m!==null&&(m=m.updateQueue,u===m)){var g=null,b=null;if(u=u.firstBaseUpdate,u!==null){do{var C={lane:u.lane,tag:u.tag,payload:u.payload,callback:null,next:null};b===null?g=b=C:b=b.next=C,u=u.next}while(u!==null);b===null?g=b=o:b=b.next=o}else g=b=o;u={baseState:m.baseState,firstBaseUpdate:g,lastBaseUpdate:b,shared:m.shared,callbacks:m.callbacks},a.updateQueue=u;return}a=u.lastBaseUpdate,a===null?u.firstBaseUpdate=o:a.next=o,u.lastBaseUpdate=o}var jx=!1;function dc(){if(jx){var a=oo;if(a!==null)throw a}}function fc(a,o,u,m){jx=!1;var g=a.updateQueue;ri=!1;var b=g.firstBaseUpdate,C=g.lastBaseUpdate,P=g.shared.pending;if(P!==null){g.shared.pending=null;var U=P,Q=U.next;U.next=null,C===null?b=Q:C.next=Q,C=U;var ne=a.alternate;ne!==null&&(ne=ne.updateQueue,P=ne.lastBaseUpdate,P!==C&&(P===null?ne.firstBaseUpdate=Q:P.next=Q,ne.lastBaseUpdate=U))}if(b!==null){var oe=g.baseState;C=0,ne=Q=U=null,P=b;do{var J=P.lane&-536870913,ee=J!==P.lane;if(ee?(He&J)===J:(m&J)===J){J!==0&&J===so&&(jx=!0),ne!==null&&(ne=ne.next={lane:0,tag:P.tag,payload:P.payload,callback:null,next:null});e:{var pe=a,Ne=P;J=o;var lt=u;switch(Ne.tag){case 1:if(pe=Ne.payload,typeof pe=="function"){oe=pe.call(lt,oe,J);break e}oe=pe;break e;case 3:pe.flags=pe.flags&-65537|128;case 0:if(pe=Ne.payload,J=typeof pe=="function"?pe.call(lt,oe,J):pe,J==null)break e;oe=x({},oe,J);break e;case 2:ri=!0}}J=P.callback,J!==null&&(a.flags|=64,ee&&(a.flags|=8192),ee=g.callbacks,ee===null?g.callbacks=[J]:ee.push(J))}else ee={lane:J,tag:P.tag,payload:P.payload,callback:P.callback,next:null},ne===null?(Q=ne=ee,U=oe):ne=ne.next=ee,C|=J;if(P=P.next,P===null){if(P=g.shared.pending,P===null)break;ee=P,P=ee.next,ee.next=null,g.lastBaseUpdate=ee,g.shared.pending=null}}while(!0);ne===null&&(U=oe),g.baseState=U,g.firstBaseUpdate=Q,g.lastBaseUpdate=ne,b===null&&(g.shared.lanes=0),ui|=C,a.lanes=C,a.memoizedState=oe}}function $2(a,o){if(typeof a!="function")throw Error(r(191,a));a.call(o)}function B2(a,o){var u=a.callbacks;if(u!==null)for(a.callbacks=null,a=0;ab?b:8;var C=I.T,P={};I.T=P,Ix(a,!1,o,u);try{var U=g(),Q=I.S;if(Q!==null&&Q(P,U),U!==null&&typeof U=="object"&&typeof U.then=="function"){var ne=_$(U,m);pc(a,o,ne,Gn(a))}else pc(a,o,m,Gn(a))}catch(oe){pc(a,o,{then:function(){},status:"rejected",reason:oe},Gn())}finally{G.p=b,C!==null&&P.types!==null&&(C.types=P.types),I.T=C}}function M$(){}function $x(a,o,u,m){if(a.tag!==5)throw Error(r(476));var g=yA(a).queue;xA(a,g,o,Z,u===null?M$:function(){return gA(a),u(m)})}function yA(a){var o=a.memoizedState;if(o!==null)return o;o={memoizedState:Z,baseState:Z,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ga,lastRenderedState:Z},next:null};var u={};return o.next={memoizedState:u,baseState:u,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ga,lastRenderedState:u},next:null},a.memoizedState=o,a=a.alternate,a!==null&&(a.memoizedState=o),o}function gA(a){var o=yA(a);o.next===null&&(o=a.alternate.memoizedState),pc(a,o.next.queue,{},Gn())}function Bx(){return sn(Mc)}function vA(){return zt().memoizedState}function bA(){return zt().memoizedState}function P$(a){for(var o=a.return;o!==null;){switch(o.tag){case 24:case 3:var u=Gn();a=ai(u);var m=ii(o,a,u);m!==null&&(Rn(m,o,u),uc(m,o,u)),o={cache:mx()},a.payload=o;return}o=o.return}}function R$(a,o,u){var m=Gn();u={lane:m,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},ef(a)?wA(o,u):(u=rx(a,o,u,m),u!==null&&(Rn(u,a,m),SA(u,o,m)))}function jA(a,o,u){var m=Gn();pc(a,o,u,m)}function pc(a,o,u,m){var g={lane:m,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null};if(ef(a))wA(o,g);else{var b=a.alternate;if(a.lanes===0&&(b===null||b.lanes===0)&&(b=o.lastRenderedReducer,b!==null))try{var C=o.lastRenderedState,P=b(C,u);if(g.hasEagerState=!0,g.eagerState=P,In(P,C))return Rd(a,o,g,0),ut===null&&Pd(),!1}catch{}finally{}if(u=rx(a,o,g,m),u!==null)return Rn(u,a,m),SA(u,o,m),!0}return!1}function Ix(a,o,u,m){if(m={lane:2,revertLane:gy(),gesture:null,action:m,hasEagerState:!1,eagerState:null,next:null},ef(a)){if(o)throw Error(r(479))}else o=rx(a,u,m,2),o!==null&&Rn(o,a,2)}function ef(a){var o=a.alternate;return a===ze||o!==null&&o===ze}function wA(a,o){fo=Kd=!0;var u=a.pending;u===null?o.next=o:(o.next=u.next,u.next=o),a.pending=o}function SA(a,o,u){if((u&4194048)!==0){var m=o.lanes;m&=a.pendingLanes,u|=m,o.lanes=u,TN(a,u)}}var xc={readContext:sn,use:Wd,useCallback:kt,useContext:kt,useEffect:kt,useImperativeHandle:kt,useLayoutEffect:kt,useInsertionEffect:kt,useMemo:kt,useReducer:kt,useRef:kt,useState:kt,useDebugValue:kt,useDeferredValue:kt,useTransition:kt,useSyncExternalStore:kt,useId:kt,useHostTransitionStatus:kt,useFormState:kt,useActionState:kt,useOptimistic:kt,useMemoCache:kt,useCacheRefresh:kt};xc.useEffectEvent=kt;var NA={readContext:sn,use:Wd,useCallback:function(a,o){return vn().memoizedState=[a,o===void 0?null:o],a},useContext:sn,useEffect:oA,useImperativeHandle:function(a,o,u){u=u!=null?u.concat([a]):null,Qd(4194308,4,dA.bind(null,o,a),u)},useLayoutEffect:function(a,o){return Qd(4194308,4,a,o)},useInsertionEffect:function(a,o){Qd(4,2,a,o)},useMemo:function(a,o){var u=vn();o=o===void 0?null:o;var m=a();if(ns){Wa(!0);try{a()}finally{Wa(!1)}}return u.memoizedState=[m,o],m},useReducer:function(a,o,u){var m=vn();if(u!==void 0){var g=u(o);if(ns){Wa(!0);try{u(o)}finally{Wa(!1)}}}else g=o;return m.memoizedState=m.baseState=g,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:g},m.queue=a,a=a.dispatch=R$.bind(null,ze,a),[m.memoizedState,a]},useRef:function(a){var o=vn();return a={current:a},o.memoizedState=a},useState:function(a){a=Px(a);var o=a.queue,u=jA.bind(null,ze,o);return o.dispatch=u,[a.memoizedState,u]},useDebugValue:zx,useDeferredValue:function(a,o){var u=vn();return Lx(u,a,o)},useTransition:function(){var a=Px(!1);return a=xA.bind(null,ze,a.queue,!0,!1),vn().memoizedState=a,[!1,a]},useSyncExternalStore:function(a,o,u){var m=ze,g=vn();if(Ye){if(u===void 0)throw Error(r(407));u=u()}else{if(u=o(),ut===null)throw Error(r(349));(He&127)!==0||F2(m,o,u)}g.memoizedState=u;var b={value:u,getSnapshot:o};return g.queue=b,oA(K2.bind(null,m,b,a),[a]),m.flags|=2048,mo(9,{destroy:void 0},G2.bind(null,m,b,u,o),null),u},useId:function(){var a=vn(),o=ut.identifierPrefix;if(Ye){var u=Kr,m=Gr;u=(m&~(1<<32-Bn(m)-1)).toString(32)+u,o="_"+o+"R_"+u,u=Yd++,0<\/script>",b=b.removeChild(b.firstChild);break;case"select":b=typeof m.is=="string"?C.createElement("select",{is:m.is}):C.createElement("select"),m.multiple?b.multiple=!0:m.size&&(b.size=m.size);break;default:b=typeof m.is=="string"?C.createElement(g,{is:m.is}):C.createElement(g)}}b[rn]=o,b[Tn]=m;e:for(C=o.child;C!==null;){if(C.tag===5||C.tag===6)b.appendChild(C.stateNode);else if(C.tag!==4&&C.tag!==27&&C.child!==null){C.child.return=C,C=C.child;continue}if(C===o)break e;for(;C.sibling===null;){if(C.return===null||C.return===o)break e;C=C.return}C.sibling.return=C.return,C=C.sibling}o.stateNode=b;e:switch(ln(b,g,m),g){case"button":case"input":case"select":case"textarea":m=!!m.autoFocus;break e;case"img":m=!0;break e;default:m=!1}m&&ba(o)}}return bt(o),ey(o,o.type,a===null?null:a.memoizedProps,o.pendingProps,u),null;case 6:if(a&&o.stateNode!=null)a.memoizedProps!==m&&ba(o);else{if(typeof m!="string"&&o.stateNode===null)throw Error(r(166));if(a=Se.current,ao(o)){if(a=o.stateNode,u=o.memoizedProps,m=null,g=an,g!==null)switch(g.tag){case 27:case 5:m=g.memoizedProps}a[rn]=o,a=!!(a.nodeValue===u||m!==null&&m.suppressHydrationWarning===!0||V_(a.nodeValue,u)),a||ti(o,!0)}else a=jf(a).createTextNode(m),a[rn]=o,o.stateNode=a}return bt(o),null;case 31:if(u=o.memoizedState,a===null||a.memoizedState!==null){if(m=ao(o),u!==null){if(a===null){if(!m)throw Error(r(318));if(a=o.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(r(557));a[rn]=o}else Xi(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;bt(o),a=!1}else u=ux(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=u),a=!0;if(!a)return o.flags&256?(Vn(o),o):(Vn(o),null);if((o.flags&128)!==0)throw Error(r(558))}return bt(o),null;case 13:if(m=o.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(g=ao(o),m!==null&&m.dehydrated!==null){if(a===null){if(!g)throw Error(r(318));if(g=o.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(r(317));g[rn]=o}else Xi(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;bt(o),g=!1}else g=ux(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=g),g=!0;if(!g)return o.flags&256?(Vn(o),o):(Vn(o),null)}return Vn(o),(o.flags&128)!==0?(o.lanes=u,o):(u=m!==null,a=a!==null&&a.memoizedState!==null,u&&(m=o.child,g=null,m.alternate!==null&&m.alternate.memoizedState!==null&&m.alternate.memoizedState.cachePool!==null&&(g=m.alternate.memoizedState.cachePool.pool),b=null,m.memoizedState!==null&&m.memoizedState.cachePool!==null&&(b=m.memoizedState.cachePool.pool),b!==g&&(m.flags|=2048)),u!==a&&u&&(o.child.flags|=8192),sf(o,o.updateQueue),bt(o),null);case 4:return de(),a===null&&wy(o.stateNode.containerInfo),bt(o),null;case 10:return xa(o.type),bt(o),null;case 19:if(Y(Dt),m=o.memoizedState,m===null)return bt(o),null;if(g=(o.flags&128)!==0,b=m.rendering,b===null)if(g)gc(m,!1);else{if(Ct!==0||a!==null&&(a.flags&128)!==0)for(a=o.child;a!==null;){if(b=Gd(a),b!==null){for(o.flags|=128,gc(m,!1),a=b.updateQueue,o.updateQueue=a,sf(o,a),o.subtreeFlags=0,a=u,u=o.child;u!==null;)j2(u,a),u=u.sibling;return ae(Dt,Dt.current&1|2),Ye&&ma(o,m.treeForkCount),o.child}a=a.sibling}m.tail!==null&&mn()>df&&(o.flags|=128,g=!0,gc(m,!1),o.lanes=4194304)}else{if(!g)if(a=Gd(b),a!==null){if(o.flags|=128,g=!0,a=a.updateQueue,o.updateQueue=a,sf(o,a),gc(m,!0),m.tail===null&&m.tailMode==="hidden"&&!b.alternate&&!Ye)return bt(o),null}else 2*mn()-m.renderingStartTime>df&&u!==536870912&&(o.flags|=128,g=!0,gc(m,!1),o.lanes=4194304);m.isBackwards?(b.sibling=o.child,o.child=b):(a=m.last,a!==null?a.sibling=b:o.child=b,m.last=b)}return m.tail!==null?(a=m.tail,m.rendering=a,m.tail=a.sibling,m.renderingStartTime=mn(),a.sibling=null,u=Dt.current,ae(Dt,g?u&1|2:u&1),Ye&&ma(o,m.treeForkCount),a):(bt(o),null);case 22:case 23:return Vn(o),Sx(),m=o.memoizedState!==null,a!==null?a.memoizedState!==null!==m&&(o.flags|=8192):m&&(o.flags|=8192),m?(u&536870912)!==0&&(o.flags&128)===0&&(bt(o),o.subtreeFlags&6&&(o.flags|=8192)):bt(o),u=o.updateQueue,u!==null&&sf(o,u.retryQueue),u=null,a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),m=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(m=o.memoizedState.cachePool.pool),m!==u&&(o.flags|=2048),a!==null&&Y(Qi),null;case 24:return u=null,a!==null&&(u=a.memoizedState.cache),o.memoizedState.cache!==u&&(o.flags|=2048),xa(Lt),bt(o),null;case 25:return null;case 30:return null}throw Error(r(156,o.tag))}function B$(a,o){switch(lx(o),o.tag){case 1:return a=o.flags,a&65536?(o.flags=a&-65537|128,o):null;case 3:return xa(Lt),de(),a=o.flags,(a&65536)!==0&&(a&128)===0?(o.flags=a&-65537|128,o):null;case 26:case 27:case 5:return Pe(o),null;case 31:if(o.memoizedState!==null){if(Vn(o),o.alternate===null)throw Error(r(340));Xi()}return a=o.flags,a&65536?(o.flags=a&-65537|128,o):null;case 13:if(Vn(o),a=o.memoizedState,a!==null&&a.dehydrated!==null){if(o.alternate===null)throw Error(r(340));Xi()}return a=o.flags,a&65536?(o.flags=a&-65537|128,o):null;case 19:return Y(Dt),null;case 4:return de(),null;case 10:return xa(o.type),null;case 22:case 23:return Vn(o),Sx(),a!==null&&Y(Qi),a=o.flags,a&65536?(o.flags=a&-65537|128,o):null;case 24:return xa(Lt),null;case 25:return null;default:return null}}function YA(a,o){switch(lx(o),o.tag){case 3:xa(Lt),de();break;case 26:case 27:case 5:Pe(o);break;case 4:de();break;case 31:o.memoizedState!==null&&Vn(o);break;case 13:Vn(o);break;case 19:Y(Dt);break;case 10:xa(o.type);break;case 22:case 23:Vn(o),Sx(),a!==null&&Y(Qi);break;case 24:xa(Lt)}}function vc(a,o){try{var u=o.updateQueue,m=u!==null?u.lastEffect:null;if(m!==null){var g=m.next;u=g;do{if((u.tag&a)===a){m=void 0;var b=u.create,C=u.inst;m=b(),C.destroy=m}u=u.next}while(u!==g)}}catch(P){at(o,o.return,P)}}function li(a,o,u){try{var m=o.updateQueue,g=m!==null?m.lastEffect:null;if(g!==null){var b=g.next;m=b;do{if((m.tag&a)===a){var C=m.inst,P=C.destroy;if(P!==void 0){C.destroy=void 0,g=o;var U=u,Q=P;try{Q()}catch(ne){at(g,U,ne)}}}m=m.next}while(m!==b)}}catch(ne){at(o,o.return,ne)}}function XA(a){var o=a.updateQueue;if(o!==null){var u=a.stateNode;try{B2(o,u)}catch(m){at(a,a.return,m)}}}function WA(a,o,u){u.props=rs(a.type,a.memoizedProps),u.state=a.memoizedState;try{u.componentWillUnmount()}catch(m){at(a,o,m)}}function bc(a,o){try{var u=a.ref;if(u!==null){switch(a.tag){case 26:case 27:case 5:var m=a.stateNode;break;case 30:m=a.stateNode;break;default:m=a.stateNode}typeof u=="function"?a.refCleanup=u(m):u.current=m}}catch(g){at(a,o,g)}}function Yr(a,o){var u=a.ref,m=a.refCleanup;if(u!==null)if(typeof m=="function")try{m()}catch(g){at(a,o,g)}finally{a.refCleanup=null,a=a.alternate,a!=null&&(a.refCleanup=null)}else if(typeof u=="function")try{u(null)}catch(g){at(a,o,g)}else u.current=null}function ZA(a){var o=a.type,u=a.memoizedProps,m=a.stateNode;try{e:switch(o){case"button":case"input":case"select":case"textarea":u.autoFocus&&m.focus();break e;case"img":u.src?m.src=u.src:u.srcSet&&(m.srcset=u.srcSet)}}catch(g){at(a,a.return,g)}}function ty(a,o,u){try{var m=a.stateNode;oB(m,a.type,u,o),m[Tn]=o}catch(g){at(a,a.return,g)}}function QA(a){return a.tag===5||a.tag===3||a.tag===26||a.tag===27&&pi(a.type)||a.tag===4}function ny(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||QA(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.tag===27&&pi(a.type)||a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function ry(a,o,u){var m=a.tag;if(m===5||m===6)a=a.stateNode,o?(u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u).insertBefore(a,o):(o=u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u,o.appendChild(a),u=u._reactRootContainer,u!=null||o.onclick!==null||(o.onclick=da));else if(m!==4&&(m===27&&pi(a.type)&&(u=a.stateNode,o=null),a=a.child,a!==null))for(ry(a,o,u),a=a.sibling;a!==null;)ry(a,o,u),a=a.sibling}function of(a,o,u){var m=a.tag;if(m===5||m===6)a=a.stateNode,o?u.insertBefore(a,o):u.appendChild(a);else if(m!==4&&(m===27&&pi(a.type)&&(u=a.stateNode),a=a.child,a!==null))for(of(a,o,u),a=a.sibling;a!==null;)of(a,o,u),a=a.sibling}function JA(a){var o=a.stateNode,u=a.memoizedProps;try{for(var m=a.type,g=o.attributes;g.length;)o.removeAttributeNode(g[0]);ln(o,m,u),o[rn]=a,o[Tn]=u}catch(b){at(a,a.return,b)}}var ja=!1,It=!1,ay=!1,e_=typeof WeakSet=="function"?WeakSet:Set,Jt=null;function I$(a,o){if(a=a.containerInfo,Ay=Tf,a=f2(a),Zp(a)){if("selectionStart"in a)var u={start:a.selectionStart,end:a.selectionEnd};else e:{u=(u=a.ownerDocument)&&u.defaultView||window;var m=u.getSelection&&u.getSelection();if(m&&m.rangeCount!==0){u=m.anchorNode;var g=m.anchorOffset,b=m.focusNode;m=m.focusOffset;try{u.nodeType,b.nodeType}catch{u=null;break e}var C=0,P=-1,U=-1,Q=0,ne=0,oe=a,J=null;t:for(;;){for(var ee;oe!==u||g!==0&&oe.nodeType!==3||(P=C+g),oe!==b||m!==0&&oe.nodeType!==3||(U=C+m),oe.nodeType===3&&(C+=oe.nodeValue.length),(ee=oe.firstChild)!==null;)J=oe,oe=ee;for(;;){if(oe===a)break t;if(J===u&&++Q===g&&(P=C),J===b&&++ne===m&&(U=C),(ee=oe.nextSibling)!==null)break;oe=J,J=oe.parentNode}oe=ee}u=P===-1||U===-1?null:{start:P,end:U}}else u=null}u=u||{start:0,end:0}}else u=null;for(_y={focusedElem:a,selectionRange:u},Tf=!1,Jt=o;Jt!==null;)if(o=Jt,a=o.child,(o.subtreeFlags&1028)!==0&&a!==null)a.return=o,Jt=a;else for(;Jt!==null;){switch(o=Jt,b=o.alternate,a=o.flags,o.tag){case 0:if((a&4)!==0&&(a=o.updateQueue,a=a!==null?a.events:null,a!==null))for(u=0;u title"))),ln(b,m,u),b[rn]=a,Qt(b),m=b;break e;case"link":var C=sO("link","href",g).get(m+(u.href||""));if(C){for(var P=0;Plt&&(C=lt,lt=Ne,Ne=C);var X=u2(P,Ne),K=u2(P,lt);if(X&&K&&(ee.rangeCount!==1||ee.anchorNode!==X.node||ee.anchorOffset!==X.offset||ee.focusNode!==K.node||ee.focusOffset!==K.offset)){var W=oe.createRange();W.setStart(X.node,X.offset),ee.removeAllRanges(),Ne>lt?(ee.addRange(W),ee.extend(K.node,K.offset)):(W.setEnd(K.node,K.offset),ee.addRange(W))}}}}for(oe=[],ee=P;ee=ee.parentNode;)ee.nodeType===1&&oe.push({element:ee,left:ee.scrollLeft,top:ee.scrollTop});for(typeof P.focus=="function"&&P.focus(),P=0;Pu?32:u,I.T=null,u=dy,dy=null;var b=fi,C=_a;if(Ht=0,vo=fi=null,_a=0,(Je&6)!==0)throw Error(r(331));var P=Je;if(Je|=4,d_(b.current),l_(b,b.current,C,u),Je=P,_c(0,!1),$n&&typeof $n.onPostCommitFiberRoot=="function")try{$n.onPostCommitFiberRoot(Hl,b)}catch{}return!0}finally{G.p=g,I.T=m,E_(a,o)}}function C_(a,o,u){o=sr(u,o),o=Hx(a.stateNode,o,2),a=ii(a,o,2),a!==null&&(Gl(a,2),Xr(a))}function at(a,o,u){if(a.tag===3)C_(a,a,u);else for(;o!==null;){if(o.tag===3){C_(o,a,u);break}else if(o.tag===1){var m=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof m.componentDidCatch=="function"&&(di===null||!di.has(m))){a=sr(u,a),u=MA(2),m=ii(o,u,2),m!==null&&(PA(u,m,o,a),Gl(m,2),Xr(m));break}}o=o.return}}function py(a,o,u){var m=a.pingCache;if(m===null){m=a.pingCache=new V$;var g=new Set;m.set(o,g)}else g=m.get(o),g===void 0&&(g=new Set,m.set(o,g));g.has(u)||(oy=!0,g.add(u),a=Y$.bind(null,a,o,u),o.then(a,a))}function Y$(a,o,u){var m=a.pingCache;m!==null&&m.delete(o),a.pingedLanes|=a.suspendedLanes&u,a.warmLanes&=~u,ut===a&&(He&u)===u&&(Ct===4||Ct===3&&(He&62914560)===He&&300>mn()-uf?(Je&2)===0&&bo(a,0):ly|=u,go===He&&(go=0)),Xr(a)}function M_(a,o){o===0&&(o=_N()),a=Ki(a,o),a!==null&&(Gl(a,o),Xr(a))}function X$(a){var o=a.memoizedState,u=0;o!==null&&(u=o.retryLane),M_(a,u)}function W$(a,o){var u=0;switch(a.tag){case 31:case 13:var m=a.stateNode,g=a.memoizedState;g!==null&&(u=g.retryLane);break;case 19:m=a.stateNode;break;case 22:m=a.stateNode._retryCache;break;default:throw Error(r(314))}m!==null&&m.delete(o),M_(a,u)}function Z$(a,o){return Xa(a,o)}var yf=null,wo=null,xy=!1,gf=!1,yy=!1,mi=0;function Xr(a){a!==wo&&a.next===null&&(wo===null?yf=wo=a:wo=wo.next=a),gf=!0,xy||(xy=!0,J$())}function _c(a,o){if(!yy&&gf){yy=!0;do for(var u=!1,m=yf;m!==null;){if(a!==0){var g=m.pendingLanes;if(g===0)var b=0;else{var C=m.suspendedLanes,P=m.pingedLanes;b=(1<<31-Bn(42|a)+1)-1,b&=g&~(C&~P),b=b&201326741?b&201326741|1:b?b|2:0}b!==0&&(u=!0,z_(m,b))}else b=He,b=jd(m,m===ut?b:0,m.cancelPendingCommit!==null||m.timeoutHandle!==-1),(b&3)===0||Fl(m,b)||(u=!0,z_(m,b));m=m.next}while(u);yy=!1}}function Q$(){P_()}function P_(){gf=xy=!1;var a=0;mi!==0&&cB()&&(a=mi);for(var o=mn(),u=null,m=yf;m!==null;){var g=m.next,b=R_(m,o);b===0?(m.next=null,u===null?yf=g:u.next=g,g===null&&(wo=u)):(u=m,(a!==0||(b&3)!==0)&&(gf=!0)),m=g}Ht!==0&&Ht!==5||_c(a),mi!==0&&(mi=0)}function R_(a,o){for(var u=a.suspendedLanes,m=a.pingedLanes,g=a.expirationTimes,b=a.pendingLanes&-62914561;0P)break;var ne=U.transferSize,oe=U.initiatorType;ne&&H_(oe)&&(U=U.responseEnd,C+=ne*(U"u"?null:document;function nO(a,o,u){var m=So;if(m&&typeof o=="string"&&o){var g=ar(o);g='link[rel="'+a+'"][href="'+g+'"]',typeof u=="string"&&(g+='[crossorigin="'+u+'"]'),tO.has(g)||(tO.add(g),a={rel:a,crossOrigin:u,href:o},m.querySelector(g)===null&&(o=m.createElement("link"),ln(o,"link",a),Qt(o),m.head.appendChild(o)))}}function gB(a){Oa.D(a),nO("dns-prefetch",a,null)}function vB(a,o){Oa.C(a,o),nO("preconnect",a,o)}function bB(a,o,u){Oa.L(a,o,u);var m=So;if(m&&a&&o){var g='link[rel="preload"][as="'+ar(o)+'"]';o==="image"&&u&&u.imageSrcSet?(g+='[imagesrcset="'+ar(u.imageSrcSet)+'"]',typeof u.imageSizes=="string"&&(g+='[imagesizes="'+ar(u.imageSizes)+'"]')):g+='[href="'+ar(a)+'"]';var b=g;switch(o){case"style":b=No(a);break;case"script":b=Ao(a)}fr.has(b)||(a=x({rel:"preload",href:o==="image"&&u&&u.imageSrcSet?void 0:a,as:o},u),fr.set(b,a),m.querySelector(g)!==null||o==="style"&&m.querySelector(kc(b))||o==="script"&&m.querySelector(Cc(b))||(o=m.createElement("link"),ln(o,"link",a),Qt(o),m.head.appendChild(o)))}}function jB(a,o){Oa.m(a,o);var u=So;if(u&&a){var m=o&&typeof o.as=="string"?o.as:"script",g='link[rel="modulepreload"][as="'+ar(m)+'"][href="'+ar(a)+'"]',b=g;switch(m){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":b=Ao(a)}if(!fr.has(b)&&(a=x({rel:"modulepreload",href:a},o),fr.set(b,a),u.querySelector(g)===null)){switch(m){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(u.querySelector(Cc(b)))return}m=u.createElement("link"),ln(m,"link",a),Qt(m),u.head.appendChild(m)}}}function wB(a,o,u){Oa.S(a,o,u);var m=So;if(m&&a){var g=Fs(m).hoistableStyles,b=No(a);o=o||"default";var C=g.get(b);if(!C){var P={loading:0,preload:null};if(C=m.querySelector(kc(b)))P.loading=5;else{a=x({rel:"stylesheet",href:a,"data-precedence":o},u),(u=fr.get(b))&&Py(a,u);var U=C=m.createElement("link");Qt(U),ln(U,"link",a),U._p=new Promise(function(Q,ne){U.onload=Q,U.onerror=ne}),U.addEventListener("load",function(){P.loading|=1}),U.addEventListener("error",function(){P.loading|=2}),P.loading|=4,Sf(C,o,m)}C={type:"stylesheet",instance:C,count:1,state:P},g.set(b,C)}}}function SB(a,o){Oa.X(a,o);var u=So;if(u&&a){var m=Fs(u).hoistableScripts,g=Ao(a),b=m.get(g);b||(b=u.querySelector(Cc(g)),b||(a=x({src:a,async:!0},o),(o=fr.get(g))&&Ry(a,o),b=u.createElement("script"),Qt(b),ln(b,"link",a),u.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},m.set(g,b))}}function NB(a,o){Oa.M(a,o);var u=So;if(u&&a){var m=Fs(u).hoistableScripts,g=Ao(a),b=m.get(g);b||(b=u.querySelector(Cc(g)),b||(a=x({src:a,async:!0,type:"module"},o),(o=fr.get(g))&&Ry(a,o),b=u.createElement("script"),Qt(b),ln(b,"link",a),u.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},m.set(g,b))}}function rO(a,o,u,m){var g=(g=Se.current)?wf(g):null;if(!g)throw Error(r(446));switch(a){case"meta":case"title":return null;case"style":return typeof u.precedence=="string"&&typeof u.href=="string"?(o=No(u.href),u=Fs(g).hoistableStyles,m=u.get(o),m||(m={type:"style",instance:null,count:0,state:null},u.set(o,m)),m):{type:"void",instance:null,count:0,state:null};case"link":if(u.rel==="stylesheet"&&typeof u.href=="string"&&typeof u.precedence=="string"){a=No(u.href);var b=Fs(g).hoistableStyles,C=b.get(a);if(C||(g=g.ownerDocument||g,C={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},b.set(a,C),(b=g.querySelector(kc(a)))&&!b._p&&(C.instance=b,C.state.loading=5),fr.has(a)||(u={rel:"preload",as:"style",href:u.href,crossOrigin:u.crossOrigin,integrity:u.integrity,media:u.media,hrefLang:u.hrefLang,referrerPolicy:u.referrerPolicy},fr.set(a,u),b||AB(g,a,u,C.state))),o&&m===null)throw Error(r(528,""));return C}if(o&&m!==null)throw Error(r(529,""));return null;case"script":return o=u.async,u=u.src,typeof u=="string"&&o&&typeof o!="function"&&typeof o!="symbol"?(o=Ao(u),u=Fs(g).hoistableScripts,m=u.get(o),m||(m={type:"script",instance:null,count:0,state:null},u.set(o,m)),m):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,a))}}function No(a){return'href="'+ar(a)+'"'}function kc(a){return'link[rel="stylesheet"]['+a+"]"}function aO(a){return x({},a,{"data-precedence":a.precedence,precedence:null})}function AB(a,o,u,m){a.querySelector('link[rel="preload"][as="style"]['+o+"]")?m.loading=1:(o=a.createElement("link"),m.preload=o,o.addEventListener("load",function(){return m.loading|=1}),o.addEventListener("error",function(){return m.loading|=2}),ln(o,"link",u),Qt(o),a.head.appendChild(o))}function Ao(a){return'[src="'+ar(a)+'"]'}function Cc(a){return"script[async]"+a}function iO(a,o,u){if(o.count++,o.instance===null)switch(o.type){case"style":var m=a.querySelector('style[data-href~="'+ar(u.href)+'"]');if(m)return o.instance=m,Qt(m),m;var g=x({},u,{"data-href":u.href,"data-precedence":u.precedence,href:null,precedence:null});return m=(a.ownerDocument||a).createElement("style"),Qt(m),ln(m,"style",g),Sf(m,u.precedence,a),o.instance=m;case"stylesheet":g=No(u.href);var b=a.querySelector(kc(g));if(b)return o.state.loading|=4,o.instance=b,Qt(b),b;m=aO(u),(g=fr.get(g))&&Py(m,g),b=(a.ownerDocument||a).createElement("link"),Qt(b);var C=b;return C._p=new Promise(function(P,U){C.onload=P,C.onerror=U}),ln(b,"link",m),o.state.loading|=4,Sf(b,u.precedence,a),o.instance=b;case"script":return b=Ao(u.src),(g=a.querySelector(Cc(b)))?(o.instance=g,Qt(g),g):(m=u,(g=fr.get(b))&&(m=x({},u),Ry(m,g)),a=a.ownerDocument||a,g=a.createElement("script"),Qt(g),ln(g,"link",m),a.head.appendChild(g),o.instance=g);case"void":return null;default:throw Error(r(443,o.type))}else o.type==="stylesheet"&&(o.state.loading&4)===0&&(m=o.instance,o.state.loading|=4,Sf(m,u.precedence,a));return o.instance}function Sf(a,o,u){for(var m=u.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),g=m.length?m[m.length-1]:null,b=g,C=0;C title"):null)}function _B(a,o,u){if(u===1||o.itemProp!=null)return!1;switch(a){case"meta":case"title":return!0;case"style":if(typeof o.precedence!="string"||typeof o.href!="string"||o.href==="")break;return!0;case"link":if(typeof o.rel!="string"||typeof o.href!="string"||o.href===""||o.onLoad||o.onError)break;switch(o.rel){case"stylesheet":return a=o.disabled,typeof o.precedence=="string"&&a==null;default:return!0}case"script":if(o.async&&typeof o.async!="function"&&typeof o.async!="symbol"&&!o.onLoad&&!o.onError&&o.src&&typeof o.src=="string")return!0}return!1}function lO(a){return!(a.type==="stylesheet"&&(a.state.loading&3)===0)}function OB(a,o,u,m){if(u.type==="stylesheet"&&(typeof m.media!="string"||matchMedia(m.media).matches!==!1)&&(u.state.loading&4)===0){if(u.instance===null){var g=No(m.href),b=o.querySelector(kc(g));if(b){o=b._p,o!==null&&typeof o=="object"&&typeof o.then=="function"&&(a.count++,a=Af.bind(a),o.then(a,a)),u.state.loading|=4,u.instance=b,Qt(b);return}b=o.ownerDocument||o,m=aO(m),(g=fr.get(g))&&Py(m,g),b=b.createElement("link"),Qt(b);var C=b;C._p=new Promise(function(P,U){C.onload=P,C.onerror=U}),ln(b,"link",m),u.instance=b}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(u,o),(o=u.state.preload)&&(u.state.loading&3)===0&&(a.count++,u=Af.bind(a),o.addEventListener("load",u),o.addEventListener("error",u))}}var Dy=0;function TB(a,o){return a.stylesheets&&a.count===0&&Of(a,a.stylesheets),0Dy?50:800)+o);return a.unsuspend=u,function(){a.unsuspend=null,clearTimeout(m),clearTimeout(g)}}:null}function Af(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Of(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null,a()}}}var _f=null;function Of(a,o){a.stylesheets=null,a.unsuspend!==null&&(a.count++,_f=new Map,o.forEach(EB,a),_f=null,Af.call(a))}function EB(a,o){if(!(o.state.loading&4)){var u=_f.get(a);if(u)var m=u.get(null);else{u=new Map,_f.set(a,u);for(var g=a.querySelectorAll("link[data-precedence],style[data-precedence]"),b=0;b"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Hy.exports=FB(),Hy.exports}var KB=GB();/** * react-router v7.18.1 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */var Aw=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,NR=/^[\\/]{2}/;function YB(e,t){return t+e.replace(/\\/g,"/")}var MO="popstate";function PO(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function XB(e={}){function t(r,i){var h;let l=(h=i.state)==null?void 0:h.masked,{pathname:c,search:d,hash:f}=l||r.location;return v1("",{pathname:c,search:d,hash:f},i.state&&i.state.usr||null,i.state&&i.state.key||"default",l?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function n(r,i){return typeof i=="string"?i:hu(i)}return ZB(t,n,null,e)}function Ot(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function wr(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function WB(){return Math.random().toString(36).substring(2,10)}function RO(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function v1(e,t,n=null,r,i){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?_l(t):t,state:n,key:t&&t.key||r||WB(),mask:i}}function hu({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function _l(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function ZB(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:l=!1}=r,c=i.history,d="POP",f=null,h=p();h==null&&(h=0,c.replaceState({...c.state,idx:h},""));function p(){return(c.state||{idx:null}).idx}function x(){d="POP";let v=p(),A=v==null?null:v-h;h=v,f&&f({action:d,location:S.location,delta:A})}function y(v,A){d="PUSH";let O=PO(v)?v:v1(S.location,v,A);h=p()+1;let _=RO(O,h),T=S.createHref(O.mask||O);try{c.pushState(_,"",T)}catch(N){if(N instanceof DOMException&&N.name==="DataCloneError")throw N;i.location.assign(T)}l&&f&&f({action:d,location:S.location,delta:1})}function j(v,A){d="REPLACE";let O=PO(v)?v:v1(S.location,v,A);h=p();let _=RO(O,h),T=S.createHref(O.mask||O);c.replaceState(_,"",T),l&&f&&f({action:d,location:S.location,delta:0})}function w(v){return QB(i,v)}let S={get action(){return d},get location(){return e(i,c)},listen(v){if(f)throw new Error("A history only accepts one active listener");return i.addEventListener(MO,x),f=v,()=>{i.removeEventListener(MO,x),f=null}},createHref(v){return t(i,v)},createURL:w,encodeLocation(v){let A=w(v);return{pathname:A.pathname,search:A.search,hash:A.hash}},push:y,replace:j,go(v){return c.go(v)}};return S}function QB(e,t,n=!1){let r="http://localhost";e&&(r=e.location.origin!=="null"?e.location.origin:e.location.href),Ot(r,"No window.location.(origin|href) available to create URL");let i=typeof t=="string"?t:hu(t);return i=i.replace(/ $/,"%20"),!n&&NR.test(i)&&(i=r+i),new URL(i,r)}function AR(e,t,n="/"){return JB(e,t,n,!1)}function JB(e,t,n,r,i){let l=typeof t=="string"?_l(t):t,c=Ba(l.pathname||"/",n);if(c==null)return null;let d=eI(e),f=null,h=dI(c);for(let p=0;f==null&&p{let p={relativePath:h===void 0?c.path||"":h,caseSensitive:c.caseSensitive===!0,childrenIndex:d,route:c};if(p.relativePath.startsWith("/")){if(!p.relativePath.startsWith(r)&&f)return;Ot(p.relativePath.startsWith(r),`Absolute route path "${p.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),p.relativePath=p.relativePath.slice(r.length)}let x=$r([r,p.relativePath]),y=n.concat(p);c.children&&c.children.length>0&&(Ot(c.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${x}".`),_R(c.children,t,y,x,f)),!(c.path==null&&!c.index)&&t.push({path:x,score:lI(x,c.index),routesMeta:y.map((j,w)=>{let[S,v]=ER(j.relativePath,j.caseSensitive,w===y.length-1);return{...j,matcher:S,compiledParams:v}})})};return e.forEach((c,d)=>{var f;if(c.path===""||!((f=c.path)!=null&&f.includes("?")))l(c,d);else for(let h of OR(c.path))l(c,d,!0,h)}),t}function OR(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),l=n.replace(/\?$/,"");if(r.length===0)return i?[l,""]:[l];let c=OR(r.join("/")),d=[];return d.push(...c.map(f=>f===""?l:[l,f].join("/"))),i&&d.push(...c),d.map(f=>e.startsWith("/")&&f===""?"/":f)}function tI(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:cI(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var nI=/^:[\w-]+$/,rI=3,aI=2,iI=1,sI=10,oI=-2,DO=e=>e==="*";function lI(e,t){let n=e.split("/"),r=n.length;return n.some(DO)&&(r+=oI),t&&(r+=aI),n.filter(i=>!DO(i)).reduce((i,l)=>i+(nI.test(l)?rI:l===""?iI:sI),r)}function cI(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function uI(e,t,n=!1){let{routesMeta:r}=e,i={},l="/",c=[];for(let d=0;d{if(p==="*"){let w=d[y]||"";c=l.slice(0,l.length-w.length).replace(/(.)\/+$/,"$1")}const j=d[y];return x&&!j?h[p]=void 0:h[p]=(j||"").replace(/%2F/g,"/"),h},{}),pathname:l,pathnameBase:c,pattern:e}}function ER(e,t=!1,n=!0){wr(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,d,f,h,p)=>{if(r.push({paramName:d,isOptional:f!=null}),f){let x=p.charAt(h+c.length);return x&&x!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function dI(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return wr(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Ba(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function fI(e,t="/"){let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?_l(e):e,l;return n?(n=kR(n),n.startsWith("/")?l=zO(n.substring(1),"/"):l=zO(n,t)):l=t,{pathname:l,search:pI(r),hash:xI(i)}}function zO(e,t){let n=jh(t).split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Yy(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function hI(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function _w(e){let t=hI(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function zm(e,t,n,r=!1){let i;typeof e=="string"?i=_l(e):(i={...e},Ot(!i.pathname||!i.pathname.includes("?"),Yy("?","pathname","search",i)),Ot(!i.pathname||!i.pathname.includes("#"),Yy("#","pathname","hash",i)),Ot(!i.search||!i.search.includes("#"),Yy("#","search","hash",i)));let l=e===""||i.pathname==="",c=l?"/":i.pathname,d;if(c==null)d=n;else{let x=t.length-1;if(!r&&c.startsWith("..")){let y=c.split("/");for(;y[0]==="..";)y.shift(),x-=1;i.pathname=y.join("/")}d=x>=0?t[x]:"/"}let f=fI(i,d),h=c&&c!=="/"&&c.endsWith("/"),p=(l||c===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(h||p)&&(f.pathname+="/"),f}var kR=e=>e.replace(/[\\/]{2,}/g,"/"),$r=e=>kR(e.join("/")),jh=e=>e.replace(/\/+$/,""),mI=e=>jh(e).replace(/^\/*/,"/"),pI=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,xI=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,yI=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function gI(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function vI(e){let t=e.map(n=>n.route.path).filter(Boolean);return $r(t)||"/"}var CR=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function MR(e,t){let n=e;if(typeof n!="string"||!Aw.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,i=!1;if(CR)try{let l=new URL(window.location.href),c=NR.test(n)?new URL(YB(n,l.protocol)):new URL(n),d=Ba(c.pathname,t);c.origin===l.origin&&d!=null?n=d+c.search+c.hash:i=!0}catch{wr(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:i,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var PR=["POST","PUT","PATCH","DELETE"];new Set(PR);var bI=["GET",...PR];new Set(bI);var jI=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function wI(e){try{return jI.includes(new URL(e).protocol)}catch{return!1}}var Ol=k.createContext(null);Ol.displayName="DataRouter";var Lm=k.createContext(null);Lm.displayName="DataRouterState";var RR=k.createContext(!1);function SI(){return k.useContext(RR)}var DR=k.createContext({isTransitioning:!1});DR.displayName="ViewTransition";var NI=k.createContext(new Map);NI.displayName="Fetchers";var AI=k.createContext(null);AI.displayName="Await";var nr=k.createContext(null);nr.displayName="Navigation";var ed=k.createContext(null);ed.displayName="Location";var Vr=k.createContext({outlet:null,matches:[],isDataRoute:!1});Vr.displayName="Route";var Ow=k.createContext(null);Ow.displayName="RouteError";var zR="REACT_ROUTER_ERROR",_I="REDIRECT",OI="ROUTE_ERROR_RESPONSE";function TI(e){if(e.startsWith(`${zR}:${_I}:{`))try{let t=JSON.parse(e.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 EI(e){if(e.startsWith(`${zR}:${OI}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new yI(t.status,t.statusText,t.data)}catch{}}function kI(e,{relative:t}={}){Ot(Tl(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=k.useContext(nr),{hash:i,pathname:l,search:c}=td(e,{relative:t}),d=l;return n!=="/"&&(d=l==="/"?n:$r([n,l])),r.createHref({pathname:d,search:c,hash:i})}function Tl(){return k.useContext(ed)!=null}function On(){return Ot(Tl(),"useLocation() may be used only in the context of a component."),k.useContext(ed).location}var LR="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function $R(e){k.useContext(nr).static||k.useLayoutEffect(e)}function El(){let{isDataRoute:e}=k.useContext(Vr);return e?FI():CI()}function CI(){Ot(Tl(),"useNavigate() may be used only in the context of a component.");let e=k.useContext(Ol),{basename:t,navigator:n}=k.useContext(nr),{matches:r}=k.useContext(Vr),{pathname:i}=On(),l=JSON.stringify(_w(r)),c=k.useRef(!1);return $R(()=>{c.current=!0}),k.useCallback((f,h={})=>{if(wr(c.current,LR),!c.current)return;if(typeof f=="number"){n.go(f);return}let p=zm(f,JSON.parse(l),i,h.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:$r([t,p.pathname])),(h.replace?n.replace:n.push)(p,h.state,h)},[t,n,l,i,e])}var MI=k.createContext(null);function PI(e){let t=k.useContext(Vr).outlet;return k.useMemo(()=>t&&k.createElement(MI.Provider,{value:e},t),[t,e])}function td(e,{relative:t}={}){let{matches:n}=k.useContext(Vr),{pathname:r}=On(),i=JSON.stringify(_w(n));return k.useMemo(()=>zm(e,JSON.parse(i),r,t==="path"),[e,i,r,t])}function RI(e,t){return BR(e,t)}function BR(e,t,n){var v;Ot(Tl(),"useRoutes() may be used only in the context of a component.");let{navigator:r}=k.useContext(nr),{matches:i}=k.useContext(Vr),l=i[i.length-1],c=l?l.params:{},d=l?l.pathname:"/",f=l?l.pathnameBase:"/",h=l&&l.route;{let A=h&&h.path||"";qR(d,!h||A.endsWith("*")||A.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 p=On(),x;if(t){let A=typeof t=="string"?_l(t):t;Ot(f==="/"||((v=A.pathname)==null?void 0:v.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 "${A.pathname}" was given in the \`location\` prop.`),x=A}else x=p;let y=x.pathname||"/",j=y;if(f!=="/"){let A=f.replace(/^\//,"").split("/");j="/"+y.replace(/^\//,"").split("/").slice(A.length).join("/")}let w=n&&n.state.matches.length?n.state.matches.map(A=>Object.assign(A,{route:n.manifest[A.route.id]||A.route})):AR(e,{pathname:j});wr(h||w!=null,`No routes matched location "${x.pathname}${x.search}${x.hash}" `),wr(w==null||w[w.length-1].route.element!==void 0||w[w.length-1].route.Component!==void 0||w[w.length-1].route.lazy!==void 0,`Matched leaf route at location "${x.pathname}${x.search}${x.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 S=BI(w&&w.map(A=>Object.assign({},A,{params:Object.assign({},c,A.params),pathname:$r([f,r.encodeLocation?r.encodeLocation(A.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:A.pathname]),pathnameBase:A.pathnameBase==="/"?f:$r([f,r.encodeLocation?r.encodeLocation(A.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:A.pathnameBase])})),i,n);return t&&S?k.createElement(ed.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...x},navigationType:"POP"}},S):S}function DI(){let e=HI(),t=gI(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r},l={padding:"2px 4px",backgroundColor:r},c=null;return console.error("Error handled by React Router default ErrorBoundary:",e),c=k.createElement(k.Fragment,null,k.createElement("p",null,"💿 Hey developer 👋"),k.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",k.createElement("code",{style:l},"ErrorBoundary")," or"," ",k.createElement("code",{style:l},"errorElement")," prop on your route.")),k.createElement(k.Fragment,null,k.createElement("h2",null,"Unexpected Application Error!"),k.createElement("h3",{style:{fontStyle:"italic"}},t),n?k.createElement("pre",{style:i},n):null,c)}var zI=k.createElement(DI,null),IR=class extends k.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):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 n=EI(e.digest);n&&(e=n)}let t=e!==void 0?k.createElement(Vr.Provider,{value:this.props.routeContext},k.createElement(Ow.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?k.createElement(LI,{error:e},t):t}};IR.contextType=RR;var Xy=new WeakMap;function LI({children:e,error:t}){let{basename:n}=k.useContext(nr);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let r=TI(t.digest);if(r){let i=Xy.get(t);if(i)throw i;let l=MR(r.location,n),c=l.absoluteURL||l.to;if(wI(c))throw new Error("Invalid redirect location");if(CR&&!Xy.get(t))if(l.isExternal||r.reloadDocument)window.location.href=c;else{const d=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(l.to,{replace:r.replace}));throw Xy.set(t,d),d}return k.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c}`})}}return e}function $I({routeContext:e,match:t,children:n}){let r=k.useContext(Ol);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),k.createElement(Vr.Provider,{value:e},n)}function BI(e,t=[],n){let r=n==null?void 0:n.state;if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let i=e,l=r==null?void 0:r.errors;if(l!=null){let p=i.findIndex(x=>x.route.id&&(l==null?void 0:l[x.route.id])!==void 0);Ot(p>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(l).join(",")}`),i=i.slice(0,Math.min(i.length,p+1))}let c=!1,d=-1;if(n&&r){c=r.renderFallback;for(let p=0;p=0?i=i.slice(0,d+1):i=[i[0]];break}}}}let f=n==null?void 0:n.onError,h=r&&f?(p,x)=>{var y,j;f(p,{location:r.location,params:((j=(y=r.matches)==null?void 0:y[0])==null?void 0:j.params)??{},pattern:vI(r.matches),errorInfo:x})}:void 0;return i.reduceRight((p,x,y)=>{let j,w=!1,S=null,v=null;r&&(j=l&&x.route.id?l[x.route.id]:void 0,S=x.route.errorElement||zI,c&&(d<0&&y===0?(qR("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),w=!0,v=null):d===y&&(w=!0,v=x.route.hydrateFallbackElement||null)));let A=t.concat(i.slice(0,y+1)),O=()=>{let _;return j?_=S:w?_=v:x.route.Component?_=k.createElement(x.route.Component,null):x.route.element?_=x.route.element:_=p,k.createElement($I,{match:x,routeContext:{outlet:p,matches:A,isDataRoute:r!=null},children:_})};return r&&(x.route.ErrorBoundary||x.route.errorElement||y===0)?k.createElement(IR,{location:r.location,revalidation:r.revalidation,component:S,error:j,children:O(),routeContext:{outlet:null,matches:A,isDataRoute:!0},onError:h}):O()},null)}function Tw(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function II(e){let t=k.useContext(Ol);return Ot(t,Tw(e)),t}function qI(e){let t=k.useContext(Lm);return Ot(t,Tw(e)),t}function UI(e){let t=k.useContext(Vr);return Ot(t,Tw(e)),t}function Ew(e){let t=UI(e),n=t.matches[t.matches.length-1];return Ot(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function VI(){return Ew("useRouteId")}function HI(){var r;let e=k.useContext(Ow),t=qI("useRouteError"),n=Ew("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function FI(){let{router:e}=II("useNavigate"),t=Ew("useNavigate"),n=k.useRef(!1);return $R(()=>{n.current=!0}),k.useCallback(async(i,l={})=>{wr(n.current,LR),n.current&&(typeof i=="number"?await e.navigate(i):await e.navigate(i,{fromRouteId:t,...l}))},[e,t])}var LO={};function qR(e,t,n){!t&&!LO[e]&&(LO[e]=!0,wr(!1,n))}k.memo(GI);function GI({routes:e,manifest:t,future:n,state:r,isStatic:i,onError:l}){return BR(e,void 0,{manifest:t,state:r,isStatic:i,onError:l})}function kw({to:e,replace:t,state:n,relative:r}){Ot(Tl()," may be used only in the context of a component.");let{static:i}=k.useContext(nr);wr(!i," must not be used on the initial render in a . This is a no-op, but you should modify your code so the is only ever rendered in response to some user interaction or state change.");let{matches:l}=k.useContext(Vr),{pathname:c}=On(),d=El(),f=zm(e,_w(l),c,r==="path"),h=JSON.stringify(f);return k.useEffect(()=>{d(JSON.parse(h),{replace:t,state:n,relative:r})},[d,h,r,t,n]),null}function KI(e){return PI(e.context)}function wt(e){Ot(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function YI({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:i,static:l=!1,useTransitions:c}){Ot(!Tl(),"You cannot render a inside another . You should never have more than one in your app.");let d=e.replace(/^\/*/,"/"),f=k.useMemo(()=>({basename:d,navigator:i,static:l,useTransitions:c,future:{}}),[d,i,l,c]);typeof n=="string"&&(n=_l(n));let{pathname:h="/",search:p="",hash:x="",state:y=null,key:j="default",mask:w}=n,S=k.useMemo(()=>{let v=Ba(h,d);return v==null?null:{location:{pathname:v,search:p,hash:x,state:y,key:j,mask:w},navigationType:r}},[d,h,p,x,y,j,r,w]);return wr(S!=null,` is not able to match the URL "${h}${p}${x}" because it does not start with the basename, so the won't render anything.`),S==null?null:k.createElement(nr.Provider,{value:f},k.createElement(ed.Provider,{children:t,value:S}))}function XI({children:e,location:t}){return RI(b1(e),t)}function b1(e,t=[]){let n=[];return k.Children.forEach(e,(r,i)=>{if(!k.isValidElement(r))return;let l=[...t,i];if(r.type===k.Fragment){n.push.apply(n,b1(r.props.children,l));return}Ot(r.type===wt,`[${typeof r.type=="string"?r.type:r.type.name}] is not a component. All component children of must be a or `),Ot(!r.props.index||!r.props.children,"An index route cannot have child routes.");let c={id:r.props.id||l.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(c.children=b1(r.props.children,l)),n.push(c)}),n}var oh="get",lh="application/x-www-form-urlencoded";function $m(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function WI(e){return $m(e)&&e.tagName.toLowerCase()==="button"}function ZI(e){return $m(e)&&e.tagName.toLowerCase()==="form"}function QI(e){return $m(e)&&e.tagName.toLowerCase()==="input"}function JI(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function eq(e,t){return e.button===0&&(!t||t==="_self")&&!JI(e)}function j1(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(i=>[n,i]):[[n,r]])},[]))}function tq(e,t){let n=j1(e);return t&&t.forEach((r,i)=>{n.has(i)||t.getAll(i).forEach(l=>{n.append(i,l)})}),n}var zf=null;function nq(){if(zf===null)try{new FormData(document.createElement("form"),0),zf=!1}catch{zf=!0}return zf}var rq=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Wy(e){return e!=null&&!rq.has(e)?(wr(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${lh}"`),null):e}function aq(e,t){let n,r,i,l,c;if(ZI(e)){let d=e.getAttribute("action");r=d?Ba(d,t):null,n=e.getAttribute("method")||oh,i=Wy(e.getAttribute("enctype"))||lh,l=new FormData(e)}else if(WI(e)||QI(e)&&(e.type==="submit"||e.type==="image")){let d=e.form;if(d==null)throw new Error('Cannot submit a