(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function gv(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var w0={exports:{}},Ha={},b0={exports:{}},z={};/** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Qi=Symbol.for("react.element"),yv=Symbol.for("react.portal"),vv=Symbol.for("react.fragment"),xv=Symbol.for("react.strict_mode"),wv=Symbol.for("react.profiler"),bv=Symbol.for("react.provider"),kv=Symbol.for("react.context"),Sv=Symbol.for("react.forward_ref"),Ev=Symbol.for("react.suspense"),_v=Symbol.for("react.memo"),jv=Symbol.for("react.lazy"),pf=Symbol.iterator;function Cv(e){return e===null||typeof e!="object"?null:(e=pf&&e[pf]||e["@@iterator"],typeof e=="function"?e:null)}var k0={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S0=Object.assign,E0={};function Rr(e,t,n){this.props=e,this.context=t,this.refs=E0,this.updater=n||k0}Rr.prototype.isReactComponent={};Rr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Rr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function _0(){}_0.prototype=Rr.prototype;function Qu(e,t,n){this.props=e,this.context=t,this.refs=E0,this.updater=n||k0}var Ju=Qu.prototype=new _0;Ju.constructor=Qu;S0(Ju,Rr.prototype);Ju.isPureReactComponent=!0;var mf=Array.isArray,j0=Object.prototype.hasOwnProperty,Zu={current:null},C0={key:!0,ref:!0,__self:!0,__source:!0};function P0(e,t,n){var r,i={},o=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(o=""+t.key),t)j0.call(t,r)&&!C0.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1>>1,ue=N[$];if(0>>1;$i(Cs,D))xni(po,Cs)?(N[$]=po,N[xn]=D,$=xn):(N[$]=Cs,N[ot]=D,$=ot);else if(xni(po,D))N[$]=po,N[xn]=D,$=xn;else break e}}return O}function i(N,O){var D=N.sortIndex-O.sortIndex;return D!==0?D:N.id-O.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var u=[],c=[],d=1,f=null,h=3,y=!1,x=!1,w=!1,k=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g(N){for(var O=n(c);O!==null;){if(O.callback===null)r(c);else if(O.startTime<=N)r(c),O.sortIndex=O.expirationTime,t(u,O);else break;O=n(c)}}function b(N){if(w=!1,g(N),!x)if(n(u)!==null)x=!0,$e(S);else{var O=n(c);O!==null&&F(b,O.startTime-N)}}function S(N,O){x=!1,w&&(w=!1,p(_),_=-1),y=!0;var D=h;try{for(g(O),f=n(u);f!==null&&(!(f.expirationTime>O)||N&&!B());){var $=f.callback;if(typeof $=="function"){f.callback=null,h=f.priorityLevel;var ue=$(f.expirationTime<=O);O=e.unstable_now(),typeof ue=="function"?f.callback=ue:f===n(u)&&r(u),g(O)}else r(u);f=n(u)}if(f!==null)var Ut=!0;else{var ot=n(c);ot!==null&&F(b,ot.startTime-O),Ut=!1}return Ut}finally{f=null,h=D,y=!1}}var E=!1,j=null,_=-1,T=5,R=-1;function B(){return!(e.unstable_now()-RN||125$?(N.sortIndex=D,t(c,N),n(u)===null&&N===n(c)&&(w?(p(_),_=-1):w=!0,F(b,D-$))):(N.sortIndex=ue,t(u,N),x||y||(x=!0,$e(S))),N},e.unstable_shouldYield=B,e.unstable_wrapCallback=function(N){var O=h;return function(){var D=h;h=O;try{return N.apply(this,arguments)}finally{h=D}}}})(A0);O0.exports=A0;var $v=O0.exports;/** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var zv=v,He=$v;function C(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Pl=Object.prototype.hasOwnProperty,Vv=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,yf={},vf={};function Fv(e){return Pl.call(vf,e)?!0:Pl.call(yf,e)?!1:Vv.test(e)?vf[e]=!0:(yf[e]=!0,!1)}function Bv(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Uv(e,t,n,r){if(t===null||typeof t>"u"||Bv(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Te(e,t,n,r,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var ve={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ve[e]=new Te(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ve[t]=new Te(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ve[e]=new Te(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ve[e]=new Te(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ve[e]=new Te(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ve[e]=new Te(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ve[e]=new Te(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ve[e]=new Te(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ve[e]=new Te(e,5,!1,e.toLowerCase(),null,!1,!1)});var tc=/[\-:]([a-z])/g;function nc(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(tc,nc);ve[t]=new Te(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(tc,nc);ve[t]=new Te(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(tc,nc);ve[t]=new Te(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ve[e]=new Te(e,1,!1,e.toLowerCase(),null,!1,!1)});ve.xlinkHref=new Te("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ve[e]=new Te(e,1,!1,e.toLowerCase(),null,!0,!0)});function rc(e,t,n,r){var i=ve.hasOwnProperty(t)?ve[t]:null;(i!==null?i.type!==0:r||!(2s||i[a]!==o[s]){var u=` `+i[a].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=a&&0<=s);break}}}finally{Ts=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?oi(e):""}function Hv(e){switch(e.tag){case 5:return oi(e.type);case 16:return oi("Lazy");case 13:return oi("Suspense");case 19:return oi("SuspenseList");case 0:case 2:case 15:return e=Rs(e.type,!1),e;case 11:return e=Rs(e.type.render,!1),e;case 1:return e=Rs(e.type,!0),e;default:return""}}function Ol(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case qn:return"Fragment";case Yn:return"Portal";case Nl:return"Profiler";case ic:return"StrictMode";case Tl:return"Suspense";case Rl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case D0:return(e.displayName||"Context")+".Consumer";case I0:return(e._context.displayName||"Context")+".Provider";case oc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ac:return t=e.displayName||null,t!==null?t:Ol(e.type)||"Memo";case Xt:t=e._payload,e=e._init;try{return Ol(e(t))}catch{}}return null}function Wv(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ol(t);case 8:return t===ic?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function cn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function $0(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Gv(e){var t=$0(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function yo(e){e._valueTracker||(e._valueTracker=Gv(e))}function z0(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=$0(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function da(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Al(e,t){var n=t.checked;return re({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function wf(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=cn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function V0(e,t){t=t.checked,t!=null&&rc(e,"checked",t,!1)}function Ml(e,t){V0(e,t);var n=cn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Il(e,t.type,n):t.hasOwnProperty("defaultValue")&&Il(e,t.type,cn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function bf(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Il(e,t,n){(t!=="number"||da(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ai=Array.isArray;function fr(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=vo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function _i(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var di={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Xv=["Webkit","ms","Moz","O"];Object.keys(di).forEach(function(e){Xv.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),di[t]=di[e]})});function H0(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||di.hasOwnProperty(e)&&di[e]?(""+t).trim():t+"px"}function W0(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=H0(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Kv=re({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function $l(e,t){if(t){if(Kv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(C(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(C(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(C(61))}if(t.style!=null&&typeof t.style!="object")throw Error(C(62))}}function zl(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Vl=null;function sc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Fl=null,hr=null,pr=null;function Ef(e){if(e=eo(e)){if(typeof Fl!="function")throw Error(C(280));var t=e.stateNode;t&&(t=Ya(t),Fl(e.stateNode,e.type,t))}}function G0(e){hr?pr?pr.push(e):pr=[e]:hr=e}function X0(){if(hr){var e=hr,t=pr;if(pr=hr=null,Ef(e),t)for(e=0;e>>=0,e===0?32:31-(ox(e)/ax|0)|0}var xo=64,wo=4194304;function si(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64: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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ma(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~i;s!==0?r=si(s):(o&=a,o!==0&&(r=si(o)))}else a=n&~i,a!==0?r=si(a):o!==0&&(r=si(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Ji(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ft(t),e[t]=n}function cx(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=hi),Af=" ",Mf=!1;function hm(e,t){switch(e){case"keyup":return $x.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function pm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Qn=!1;function Vx(e,t){switch(e){case"compositionend":return pm(t);case"keypress":return t.which!==32?null:(Mf=!0,Af);case"textInput":return e=t.data,e===Af&&Mf?null:e;default:return null}}function Fx(e,t){if(Qn)return e==="compositionend"||!mc&&hm(e,t)?(e=dm(),Xo=fc=Qt=null,Qn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=$f(n)}}function vm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?vm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function xm(){for(var e=window,t=da();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=da(e.document)}return t}function gc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function qx(e){var t=xm(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&vm(n.ownerDocument.documentElement,n)){if(r!==null&&gc(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=zf(n,o);var a=zf(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Jn=null,Xl=null,mi=null,Kl=!1;function Vf(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Kl||Jn==null||Jn!==da(r)||(r=Jn,"selectionStart"in r&&gc(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),mi&&Ri(mi,r)||(mi=r,r=va(Xl,"onSelect"),0tr||(e.current=eu[tr],eu[tr]=null,tr--)}function G(e,t){tr++,eu[tr]=e.current,e.current=t}var dn={},Se=mn(dn),Ie=mn(!1),An=dn;function wr(e,t){var n=e.type.contextTypes;if(!n)return dn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function De(e){return e=e.childContextTypes,e!=null}function wa(){Y(Ie),Y(Se)}function Xf(e,t,n){if(Se.current!==dn)throw Error(C(168));G(Se,t),G(Ie,n)}function Pm(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(C(108,Wv(e)||"Unknown",i));return re({},n,r)}function ba(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||dn,An=Se.current,G(Se,e),G(Ie,Ie.current),!0}function Kf(e,t,n){var r=e.stateNode;if(!r)throw Error(C(169));n?(e=Pm(e,t,An),r.__reactInternalMemoizedMergedChildContext=e,Y(Ie),Y(Se),G(Se,e)):Y(Ie),G(Ie,n)}var Nt=null,qa=!1,Ws=!1;function Nm(e){Nt===null?Nt=[e]:Nt.push(e)}function lw(e){qa=!0,Nm(e)}function gn(){if(!Ws&&Nt!==null){Ws=!0;var e=0,t=U;try{var n=Nt;for(U=1;e>=a,i-=a,Tt=1<<32-ft(t)+i|n<_?(T=j,j=null):T=j.sibling;var R=h(p,j,g[_],b);if(R===null){j===null&&(j=T);break}e&&j&&R.alternate===null&&t(p,j),m=o(R,m,_),E===null?S=R:E.sibling=R,E=R,j=T}if(_===g.length)return n(p,j),Q&&bn(p,_),S;if(j===null){for(;__?(T=j,j=null):T=j.sibling;var B=h(p,j,R.value,b);if(B===null){j===null&&(j=T);break}e&&j&&B.alternate===null&&t(p,j),m=o(B,m,_),E===null?S=B:E.sibling=B,E=B,j=T}if(R.done)return n(p,j),Q&&bn(p,_),S;if(j===null){for(;!R.done;_++,R=g.next())R=f(p,R.value,b),R!==null&&(m=o(R,m,_),E===null?S=R:E.sibling=R,E=R);return Q&&bn(p,_),S}for(j=r(p,j);!R.done;_++,R=g.next())R=y(j,p,_,R.value,b),R!==null&&(e&&R.alternate!==null&&j.delete(R.key===null?_:R.key),m=o(R,m,_),E===null?S=R:E.sibling=R,E=R);return e&&j.forEach(function(Ee){return t(p,Ee)}),Q&&bn(p,_),S}function k(p,m,g,b){if(typeof g=="object"&&g!==null&&g.type===qn&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case go:e:{for(var S=g.key,E=m;E!==null;){if(E.key===S){if(S=g.type,S===qn){if(E.tag===7){n(p,E.sibling),m=i(E,g.props.children),m.return=p,p=m;break e}}else if(E.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Xt&&Qf(S)===E.type){n(p,E.sibling),m=i(E,g.props),m.ref=Yr(p,E,g),m.return=p,p=m;break e}n(p,E);break}else t(p,E);E=E.sibling}g.type===qn?(m=Tn(g.props.children,p.mode,b,g.key),m.return=p,p=m):(b=ta(g.type,g.key,g.props,null,p.mode,b),b.ref=Yr(p,m,g),b.return=p,p=b)}return a(p);case Yn:e:{for(E=g.key;m!==null;){if(m.key===E)if(m.tag===4&&m.stateNode.containerInfo===g.containerInfo&&m.stateNode.implementation===g.implementation){n(p,m.sibling),m=i(m,g.children||[]),m.return=p,p=m;break e}else{n(p,m);break}else t(p,m);m=m.sibling}m=Zs(g,p.mode,b),m.return=p,p=m}return a(p);case Xt:return E=g._init,k(p,m,E(g._payload),b)}if(ai(g))return x(p,m,g,b);if(Hr(g))return w(p,m,g,b);Co(p,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,m!==null&&m.tag===6?(n(p,m.sibling),m=i(m,g),m.return=p,p=m):(n(p,m),m=Js(g,p.mode,b),m.return=p,p=m),a(p)):n(p,m)}return k}var kr=Am(!0),Mm=Am(!1),Ea=mn(null),_a=null,ir=null,wc=null;function bc(){wc=ir=_a=null}function kc(e){var t=Ea.current;Y(Ea),e._currentValue=t}function ru(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function gr(e,t){_a=e,wc=ir=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Me=!0),e.firstContext=null)}function tt(e){var t=e._currentValue;if(wc!==e)if(e={context:e,memoizedValue:t,next:null},ir===null){if(_a===null)throw Error(C(308));ir=e,_a.dependencies={lanes:0,firstContext:e}}else ir=ir.next=e;return t}var _n=null;function Sc(e){_n===null?_n=[e]:_n.push(e)}function Im(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Sc(t)):(n.next=i.next,i.next=n),t.interleaved=n,$t(e,r)}function $t(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Kt=!1;function Ec(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Dm(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ot(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function on(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,V&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,$t(e,n)}return i=r.interleaved,i===null?(t.next=t,Sc(r)):(t.next=i.next,i.next=t),r.interleaved=t,$t(e,n)}function Yo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,uc(e,n)}}function Jf(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=a:o=o.next=a,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ja(e,t,n,r){var i=e.updateQueue;Kt=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var u=s,c=u.next;u.next=null,a===null?o=c:a.next=c,a=u;var d=e.alternate;d!==null&&(d=d.updateQueue,s=d.lastBaseUpdate,s!==a&&(s===null?d.firstBaseUpdate=c:s.next=c,d.lastBaseUpdate=u))}if(o!==null){var f=i.baseState;a=0,d=c=u=null,s=o;do{var h=s.lane,y=s.eventTime;if((r&h)===h){d!==null&&(d=d.next={eventTime:y,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var x=e,w=s;switch(h=t,y=n,w.tag){case 1:if(x=w.payload,typeof x=="function"){f=x.call(y,f,h);break e}f=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=w.payload,h=typeof x=="function"?x.call(y,f,h):x,h==null)break e;f=re({},f,h);break e;case 2:Kt=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,h=i.effects,h===null?i.effects=[s]:h.push(s))}else y={eventTime:y,lane:h,tag:s.tag,payload:s.payload,callback:s.callback,next:null},d===null?(c=d=y,u=f):d=d.next=y,a|=h;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;h=s,s=h.next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}while(!0);if(d===null&&(u=f),i.baseState=u,i.firstBaseUpdate=c,i.lastBaseUpdate=d,t=i.shared.interleaved,t!==null){i=t;do a|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Dn|=a,e.lanes=a,e.memoizedState=f}}function Zf(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Xs.transition;Xs.transition={};try{e(!1),t()}finally{U=n,Xs.transition=r}}function Zm(){return nt().memoizedState}function fw(e,t,n){var r=sn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},eg(e))tg(t,n);else if(n=Im(e,t,n,r),n!==null){var i=Pe();ht(n,e,r,i),ng(n,t,r)}}function hw(e,t,n){var r=sn(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(eg(e))tg(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,mt(s,a)){var u=t.interleaved;u===null?(i.next=i,Sc(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}n=Im(e,t,i,r),n!==null&&(i=Pe(),ht(n,e,r,i),ng(n,t,r))}}function eg(e){var t=e.alternate;return e===ne||t!==null&&t===ne}function tg(e,t){gi=Pa=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ng(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,uc(e,n)}}var Na={readContext:tt,useCallback:xe,useContext:xe,useEffect:xe,useImperativeHandle:xe,useInsertionEffect:xe,useLayoutEffect:xe,useMemo:xe,useReducer:xe,useRef:xe,useState:xe,useDebugValue:xe,useDeferredValue:xe,useTransition:xe,useMutableSource:xe,useSyncExternalStore:xe,useId:xe,unstable_isNewReconciler:!1},pw={readContext:tt,useCallback:function(e,t){return yt().memoizedState=[e,t===void 0?null:t],e},useContext:tt,useEffect:th,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Qo(4194308,4,Km.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Qo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Qo(4,2,e,t)},useMemo:function(e,t){var n=yt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=yt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=fw.bind(null,ne,e),[r.memoizedState,e]},useRef:function(e){var t=yt();return e={current:e},t.memoizedState=e},useState:eh,useDebugValue:Oc,useDeferredValue:function(e){return yt().memoizedState=e},useTransition:function(){var e=eh(!1),t=e[0];return e=dw.bind(null,e[1]),yt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ne,i=yt();if(Q){if(n===void 0)throw Error(C(407));n=n()}else{if(n=t(),pe===null)throw Error(C(349));In&30||Vm(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,th(Bm.bind(null,r,o,e),[e]),r.flags|=2048,zi(9,Fm.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=yt(),t=pe.identifierPrefix;if(Q){var n=Rt,r=Tt;n=(r&~(1<<32-ft(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Li++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[xt]=t,e[Mi]=r,fg(e,t,!1,!1),t.stateNode=e;e:{switch(a=zl(n,r),n){case"dialog":K("cancel",e),K("close",e),i=r;break;case"iframe":case"object":case"embed":K("load",e),i=r;break;case"video":case"audio":for(i=0;i_r&&(t.flags|=128,r=!0,qr(o,!1),t.lanes=4194304)}else{if(!r)if(e=Ca(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),qr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!Q)return we(t),null}else 2*oe()-o.renderingStartTime>_r&&n!==1073741824&&(t.flags|=128,r=!0,qr(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=oe(),t.sibling=null,n=ee.current,G(ee,r?n&1|2:n&1),t):(we(t),null);case 22:case 23:return $c(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ve&1073741824&&(we(t),t.subtreeFlags&6&&(t.flags|=8192)):we(t),null;case 24:return null;case 25:return null}throw Error(C(156,t.tag))}function kw(e,t){switch(vc(t),t.tag){case 1:return De(t.type)&&wa(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Sr(),Y(Ie),Y(Se),Cc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return jc(t),null;case 13:if(Y(ee),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(C(340));br()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Y(ee),null;case 4:return Sr(),null;case 10:return kc(t.type._context),null;case 22:case 23:return $c(),null;case 24:return null;default:return null}}var No=!1,be=!1,Sw=typeof WeakSet=="function"?WeakSet:Set,A=null;function or(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ie(e,t,r)}else n.current=null}function fu(e,t,n){try{n()}catch(r){ie(e,t,r)}}var fh=!1;function Ew(e,t){if(Yl=ga,e=xm(),gc(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var a=0,s=-1,u=-1,c=0,d=0,f=e,h=null;t:for(;;){for(var y;f!==n||i!==0&&f.nodeType!==3||(s=a+i),f!==o||r!==0&&f.nodeType!==3||(u=a+r),f.nodeType===3&&(a+=f.nodeValue.length),(y=f.firstChild)!==null;)h=f,f=y;for(;;){if(f===e)break t;if(h===n&&++c===i&&(s=a),h===o&&++d===r&&(u=a),(y=f.nextSibling)!==null)break;f=h,h=f.parentNode}f=y}n=s===-1||u===-1?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(ql={focusedElem:e,selectionRange:n},ga=!1,A=t;A!==null;)if(t=A,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,A=e;else for(;A!==null;){t=A;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var w=x.memoizedProps,k=x.memoizedState,p=t.stateNode,m=p.getSnapshotBeforeUpdate(t.elementType===t.type?w:ut(t.type,w),k);p.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var g=t.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(C(163))}}catch(b){ie(t,t.return,b)}if(e=t.sibling,e!==null){e.return=t.return,A=e;break}A=t.return}return x=fh,fh=!1,x}function yi(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&fu(t,n,o)}i=i.next}while(i!==r)}}function Za(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function hu(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function mg(e){var t=e.alternate;t!==null&&(e.alternate=null,mg(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[xt],delete t[Mi],delete t[Zl],delete t[aw],delete t[sw])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function gg(e){return e.tag===5||e.tag===3||e.tag===4}function hh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||gg(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function pu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=xa));else if(r!==4&&(e=e.child,e!==null))for(pu(e,t,n),e=e.sibling;e!==null;)pu(e,t,n),e=e.sibling}function mu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(mu(e,t,n),e=e.sibling;e!==null;)mu(e,t,n),e=e.sibling}var me=null,ct=!1;function Ht(e,t,n){for(n=n.child;n!==null;)yg(e,t,n),n=n.sibling}function yg(e,t,n){if(bt&&typeof bt.onCommitFiberUnmount=="function")try{bt.onCommitFiberUnmount(Wa,n)}catch{}switch(n.tag){case 5:be||or(n,t);case 6:var r=me,i=ct;me=null,Ht(e,t,n),me=r,ct=i,me!==null&&(ct?(e=me,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):me.removeChild(n.stateNode));break;case 18:me!==null&&(ct?(e=me,n=n.stateNode,e.nodeType===8?Hs(e.parentNode,n):e.nodeType===1&&Hs(e,n),Ni(e)):Hs(me,n.stateNode));break;case 4:r=me,i=ct,me=n.stateNode.containerInfo,ct=!0,Ht(e,t,n),me=r,ct=i;break;case 0:case 11:case 14:case 15:if(!be&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&fu(n,t,a),i=i.next}while(i!==r)}Ht(e,t,n);break;case 1:if(!be&&(or(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){ie(n,t,s)}Ht(e,t,n);break;case 21:Ht(e,t,n);break;case 22:n.mode&1?(be=(r=be)||n.memoizedState!==null,Ht(e,t,n),be=r):Ht(e,t,n);break;default:Ht(e,t,n)}}function ph(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Sw),t.forEach(function(r){var i=Aw.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function at(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=a),r&=~o}if(r=i,r=oe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*jw(r/1960))-r,10e?16:e,Jt===null)var r=!1;else{if(e=Jt,Jt=null,Oa=0,V&6)throw Error(C(331));var i=V;for(V|=4,A=e.current;A!==null;){var o=A,a=o.child;if(A.flags&16){var s=o.deletions;if(s!==null){for(var u=0;uoe()-Dc?Nn(e,0):Ic|=n),Le(e,t)}function _g(e,t){t===0&&(e.mode&1?(t=wo,wo<<=1,!(wo&130023424)&&(wo=4194304)):t=1);var n=Pe();e=$t(e,t),e!==null&&(Ji(e,t,n),Le(e,n))}function Ow(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),_g(e,n)}function Aw(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(C(314))}r!==null&&r.delete(t),_g(e,n)}var jg;jg=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ie.current)Me=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Me=!1,ww(e,t,n);Me=!!(e.flags&131072)}else Me=!1,Q&&t.flags&1048576&&Tm(t,Sa,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Jo(e,t),e=t.pendingProps;var i=wr(t,Se.current);gr(t,n),i=Nc(null,t,r,e,i,n);var o=Tc();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,De(r)?(o=!0,ba(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Ec(t),i.updater=Ja,t.stateNode=i,i._reactInternals=t,ou(t,r,e,n),t=lu(null,t,r,!0,o,n)):(t.tag=0,Q&&o&&yc(t),_e(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Jo(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Iw(r),e=ut(r,e),i){case 0:t=su(null,t,r,e,n);break e;case 1:t=uh(null,t,r,e,n);break e;case 11:t=sh(null,t,r,e,n);break e;case 14:t=lh(null,t,r,ut(r.type,e),n);break e}throw Error(C(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ut(r,i),su(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ut(r,i),uh(e,t,r,i,n);case 3:e:{if(ug(t),e===null)throw Error(C(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Dm(e,t),ja(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Er(Error(C(423)),t),t=ch(e,t,r,n,i);break e}else if(r!==i){i=Er(Error(C(424)),t),t=ch(e,t,r,n,i);break e}else for(Be=rn(t.stateNode.containerInfo.firstChild),Ue=t,Q=!0,dt=null,n=Mm(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(br(),r===i){t=zt(e,t,n);break e}_e(e,t,r,n)}t=t.child}return t;case 5:return Lm(t),e===null&&nu(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,Ql(r,i)?a=null:o!==null&&Ql(r,o)&&(t.flags|=32),lg(e,t),_e(e,t,a,n),t.child;case 6:return e===null&&nu(t),null;case 13:return cg(e,t,n);case 4:return _c(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=kr(t,null,r,n):_e(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ut(r,i),sh(e,t,r,i,n);case 7:return _e(e,t,t.pendingProps,n),t.child;case 8:return _e(e,t,t.pendingProps.children,n),t.child;case 12:return _e(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,G(Ea,r._currentValue),r._currentValue=a,o!==null)if(mt(o.value,a)){if(o.children===i.children&&!Ie.current){t=zt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){a=o.child;for(var u=s.firstContext;u!==null;){if(u.context===r){if(o.tag===1){u=Ot(-1,n&-n),u.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),ru(o.return,n,t),s.lanes|=n;break}u=u.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(C(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),ru(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}_e(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,gr(t,n),i=tt(i),r=r(i),t.flags|=1,_e(e,t,r,n),t.child;case 14:return r=t.type,i=ut(r,t.pendingProps),i=ut(r.type,i),lh(e,t,r,i,n);case 15:return ag(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ut(r,i),Jo(e,t),t.tag=1,De(r)?(e=!0,ba(t)):e=!1,gr(t,n),rg(t,r,i),ou(t,r,i,n),lu(null,t,r,!0,e,n);case 19:return dg(e,t,n);case 22:return sg(e,t,n)}throw Error(C(156,t.tag))};function Cg(e,t){return em(e,t)}function Mw(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Qe(e,t,n,r){return new Mw(e,t,n,r)}function Vc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Iw(e){if(typeof e=="function")return Vc(e)?1:0;if(e!=null){if(e=e.$$typeof,e===oc)return 11;if(e===ac)return 14}return 2}function ln(e,t){var n=e.alternate;return n===null?(n=Qe(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ta(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")Vc(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case qn:return Tn(n.children,i,o,t);case ic:a=8,i|=8;break;case Nl:return e=Qe(12,n,t,i|2),e.elementType=Nl,e.lanes=o,e;case Tl:return e=Qe(13,n,t,i),e.elementType=Tl,e.lanes=o,e;case Rl:return e=Qe(19,n,t,i),e.elementType=Rl,e.lanes=o,e;case L0:return ts(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case I0:a=10;break e;case D0:a=9;break e;case oc:a=11;break e;case ac:a=14;break e;case Xt:a=16,r=null;break e}throw Error(C(130,e==null?e:typeof e,""))}return t=Qe(a,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Tn(e,t,n,r){return e=Qe(7,e,r,t),e.lanes=n,e}function ts(e,t,n,r){return e=Qe(22,e,r,t),e.elementType=L0,e.lanes=n,e.stateNode={isHidden:!1},e}function Js(e,t,n){return e=Qe(6,e,null,t),e.lanes=n,e}function Zs(e,t,n){return t=Qe(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Dw(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=As(0),this.expirationTimes=As(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=As(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Fc(e,t,n,r,i,o,a,s,u){return e=new Dw(e,t,n,s,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Qe(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ec(o),e}function Lw(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Rg)}catch(e){console.error(e)}}Rg(),R0.exports=We;var Bw=R0.exports,Og,kh=Bw;Og=kh.createRoot,kh.hydrateRoot;/** * react-router v7.13.0 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */var Sh="popstate";function Uw(e={}){function t(r,i){let{pathname:o,search:a,hash:s}=r.location;return wu("",{pathname:o,search:a,hash:s},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:Fi(i)}return Ww(t,n,null,e)}function J(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function rt(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Hw(){return Math.random().toString(36).substring(2,10)}function Eh(e,t){return{usr:e.state,key:e.key,idx:t}}function wu(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Mr(t):t,state:n,key:t&&t.key||r||Hw()}}function Fi({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 Mr(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 Ww(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:o=!1}=r,a=i.history,s="POP",u=null,c=d();c==null&&(c=0,a.replaceState({...a.state,idx:c},""));function d(){return(a.state||{idx:null}).idx}function f(){s="POP";let k=d(),p=k==null?null:k-c;c=k,u&&u({action:s,location:w.location,delta:p})}function h(k,p){s="PUSH";let m=wu(w.location,k,p);c=d()+1;let g=Eh(m,c),b=w.createHref(m);try{a.pushState(g,"",b)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;i.location.assign(b)}o&&u&&u({action:s,location:w.location,delta:1})}function y(k,p){s="REPLACE";let m=wu(w.location,k,p);c=d();let g=Eh(m,c),b=w.createHref(m);a.replaceState(g,"",b),o&&u&&u({action:s,location:w.location,delta:0})}function x(k){return Gw(k)}let w={get action(){return s},get location(){return e(i,a)},listen(k){if(u)throw new Error("A history only accepts one active listener");return i.addEventListener(Sh,f),u=k,()=>{i.removeEventListener(Sh,f),u=null}},createHref(k){return t(i,k)},createURL:x,encodeLocation(k){let p=x(k);return{pathname:p.pathname,search:p.search,hash:p.hash}},push:h,replace:y,go(k){return a.go(k)}};return w}function Gw(e,t=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),J(n,"No window.location.(origin|href) available to create URL");let r=typeof e=="string"?e:Fi(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}function Ag(e,t,n="/"){return Xw(e,t,n,!1)}function Xw(e,t,n,r){let i=typeof t=="string"?Mr(t):t,o=Vt(i.pathname||"/",n);if(o==null)return null;let a=Mg(e);Kw(a);let s=null;for(let u=0;s==null&&u{let d={relativePath:c===void 0?a.path||"":c,caseSensitive:a.caseSensitive===!0,childrenIndex:s,route:a};if(d.relativePath.startsWith("/")){if(!d.relativePath.startsWith(r)&&u)return;J(d.relativePath.startsWith(r),`Absolute route path "${d.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),d.relativePath=d.relativePath.slice(r.length)}let f=At([r,d.relativePath]),h=n.concat(d);a.children&&a.children.length>0&&(J(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${f}".`),Mg(a.children,t,h,f,u)),!(a.path==null&&!a.index)&&t.push({path:f,score:tb(f,a.index),routesMeta:h})};return e.forEach((a,s)=>{var u;if(a.path===""||!((u=a.path)!=null&&u.includes("?")))o(a,s);else for(let c of Ig(a.path))o(a,s,!0,c)}),t}function Ig(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let a=Ig(r.join("/")),s=[];return s.push(...a.map(u=>u===""?o:[o,u].join("/"))),i&&s.push(...a),s.map(u=>e.startsWith("/")&&u===""?"/":u)}function Kw(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:nb(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var Yw=/^:[\w-]+$/,qw=3,Qw=2,Jw=1,Zw=10,eb=-2,_h=e=>e==="*";function tb(e,t){let n=e.split("/"),r=n.length;return n.some(_h)&&(r+=eb),t&&(r+=Qw),n.filter(i=>!_h(i)).reduce((i,o)=>i+(Yw.test(o)?qw:o===""?Jw:Zw),r)}function nb(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 rb(e,t,n=!1){let{routesMeta:r}=e,i={},o="/",a=[];for(let s=0;s{if(d==="*"){let x=s[h]||"";a=o.slice(0,o.length-x.length).replace(/(.)\/+$/,"$1")}const y=s[h];return f&&!y?c[d]=void 0:c[d]=(y||"").replace(/%2F/g,"/"),c},{}),pathname:o,pathnameBase:a,pattern:e}}function ib(e,t=!1,n=!0){rt(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,(a,s,u)=>(r.push({paramName:s,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)")).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 ob(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return rt(!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 Vt(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)||"/"}var ab=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function sb(e,t="/"){let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Mr(e):e,o;return n?(n=n.replace(/\/\/+/g,"/"),n.startsWith("/")?o=jh(n.substring(1),"/"):o=jh(n,t)):o=t,{pathname:o,search:cb(r),hash:db(i)}}function jh(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function el(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 lb(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Wc(e){let t=lb(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function Gc(e,t,n,r=!1){let i;typeof e=="string"?i=Mr(e):(i={...e},J(!i.pathname||!i.pathname.includes("?"),el("?","pathname","search",i)),J(!i.pathname||!i.pathname.includes("#"),el("#","pathname","hash",i)),J(!i.search||!i.search.includes("#"),el("#","search","hash",i)));let o=e===""||i.pathname==="",a=o?"/":i.pathname,s;if(a==null)s=n;else{let f=t.length-1;if(!r&&a.startsWith("..")){let h=a.split("/");for(;h[0]==="..";)h.shift(),f-=1;i.pathname=h.join("/")}s=f>=0?t[f]:"/"}let u=sb(i,s),c=a&&a!=="/"&&a.endsWith("/"),d=(o||a===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(c||d)&&(u.pathname+="/"),u}var At=e=>e.join("/").replace(/\/\/+/g,"/"),ub=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),cb=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,db=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,fb=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 hb(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function pb(e){return e.map(t=>t.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Dg=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Lg(e,t){let n=e;if(typeof n!="string"||!ab.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,i=!1;if(Dg)try{let o=new URL(window.location.href),a=n.startsWith("//")?new URL(o.protocol+n):new URL(n),s=Vt(a.pathname,t);a.origin===o.origin&&s!=null?n=s+a.search+a.hash:i=!0}catch{rt(!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 $g=["POST","PUT","PATCH","DELETE"];new Set($g);var mb=["GET",...$g];new Set(mb);var Ir=v.createContext(null);Ir.displayName="DataRouter";var as=v.createContext(null);as.displayName="DataRouterState";var gb=v.createContext(!1),zg=v.createContext({isTransitioning:!1});zg.displayName="ViewTransition";var yb=v.createContext(new Map);yb.displayName="Fetchers";var vb=v.createContext(null);vb.displayName="Await";var Xe=v.createContext(null);Xe.displayName="Navigation";var no=v.createContext(null);no.displayName="Location";var _t=v.createContext({outlet:null,matches:[],isDataRoute:!1});_t.displayName="Route";var Xc=v.createContext(null);Xc.displayName="RouteError";var Vg="REACT_ROUTER_ERROR",xb="REDIRECT",wb="ROUTE_ERROR_RESPONSE";function bb(e){if(e.startsWith(`${Vg}:${xb}:{`))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 kb(e){if(e.startsWith(`${Vg}:${wb}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new fb(t.status,t.statusText,t.data)}catch{}}function Sb(e,{relative:t}={}){J(Dr(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=v.useContext(Xe),{hash:i,pathname:o,search:a}=ro(e,{relative:t}),s=o;return n!=="/"&&(s=o==="/"?n:At([n,o])),r.createHref({pathname:s,search:a,hash:i})}function Dr(){return v.useContext(no)!=null}function jt(){return J(Dr(),"useLocation() may be used only in the context of a component."),v.useContext(no).location}var Fg="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Bg(e){v.useContext(Xe).static||v.useLayoutEffect(e)}function Vn(){let{isDataRoute:e}=v.useContext(_t);return e?Db():Eb()}function Eb(){J(Dr(),"useNavigate() may be used only in the context of a component.");let e=v.useContext(Ir),{basename:t,navigator:n}=v.useContext(Xe),{matches:r}=v.useContext(_t),{pathname:i}=jt(),o=JSON.stringify(Wc(r)),a=v.useRef(!1);return Bg(()=>{a.current=!0}),v.useCallback((u,c={})=>{if(rt(a.current,Fg),!a.current)return;if(typeof u=="number"){n.go(u);return}let d=Gc(u,JSON.parse(o),i,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:At([t,d.pathname])),(c.replace?n.replace:n.push)(d,c.state,c)},[t,n,o,i,e])}v.createContext(null);function ro(e,{relative:t}={}){let{matches:n}=v.useContext(_t),{pathname:r}=jt(),i=JSON.stringify(Wc(n));return v.useMemo(()=>Gc(e,JSON.parse(i),r,t==="path"),[e,i,r,t])}function _b(e,t){return Ug(e,t)}function Ug(e,t,n,r,i){var m;J(Dr(),"useRoutes() may be used only in the context of a component.");let{navigator:o}=v.useContext(Xe),{matches:a}=v.useContext(_t),s=a[a.length-1],u=s?s.params:{},c=s?s.pathname:"/",d=s?s.pathnameBase:"/",f=s&&s.route;{let g=f&&f.path||"";Wg(c,!f||g.endsWith("*")||g.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${c}" (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 h=jt(),y;if(t){let g=typeof t=="string"?Mr(t):t;J(d==="/"||((m=g.pathname)==null?void 0:m.startsWith(d)),`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 "${d}" but pathname "${g.pathname}" was given in the \`location\` prop.`),y=g}else y=h;let x=y.pathname||"/",w=x;if(d!=="/"){let g=d.replace(/^\//,"").split("/");w="/"+x.replace(/^\//,"").split("/").slice(g.length).join("/")}let k=Ag(e,{pathname:w});rt(f||k!=null,`No routes matched location "${y.pathname}${y.search}${y.hash}" `),rt(k==null||k[k.length-1].route.element!==void 0||k[k.length-1].route.Component!==void 0||k[k.length-1].route.lazy!==void 0,`Matched leaf route at location "${y.pathname}${y.search}${y.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 p=Tb(k&&k.map(g=>Object.assign({},g,{params:Object.assign({},u,g.params),pathname:At([d,o.encodeLocation?o.encodeLocation(g.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:g.pathname]),pathnameBase:g.pathnameBase==="/"?d:At([d,o.encodeLocation?o.encodeLocation(g.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:g.pathnameBase])})),a,n,r,i);return t&&p?v.createElement(no.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...y},navigationType:"POP"}},p):p}function jb(){let e=Ib(),t=hb(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r},o={padding:"2px 4px",backgroundColor:r},a=null;return console.error("Error handled by React Router default ErrorBoundary:",e),a=v.createElement(v.Fragment,null,v.createElement("p",null,"💿 Hey developer 👋"),v.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",v.createElement("code",{style:o},"ErrorBoundary")," or"," ",v.createElement("code",{style:o},"errorElement")," prop on your route.")),v.createElement(v.Fragment,null,v.createElement("h2",null,"Unexpected Application Error!"),v.createElement("h3",{style:{fontStyle:"italic"}},t),n?v.createElement("pre",{style:i},n):null,a)}var Cb=v.createElement(jb,null),Hg=class extends v.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=kb(e.digest);n&&(e=n)}let t=e!==void 0?v.createElement(_t.Provider,{value:this.props.routeContext},v.createElement(Xc.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?v.createElement(Pb,{error:e},t):t}};Hg.contextType=gb;var tl=new WeakMap;function Pb({children:e,error:t}){let{basename:n}=v.useContext(Xe);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let r=bb(t.digest);if(r){let i=tl.get(t);if(i)throw i;let o=Lg(r.location,n);if(Dg&&!tl.get(t))if(o.isExternal||r.reloadDocument)window.location.href=o.absoluteURL||o.to;else{const a=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(o.to,{replace:r.replace}));throw tl.set(t,a),a}return v.createElement("meta",{httpEquiv:"refresh",content:`0;url=${o.absoluteURL||o.to}`})}}return e}function Nb({routeContext:e,match:t,children:n}){let r=v.useContext(Ir);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),v.createElement(_t.Provider,{value:e},n)}function Tb(e,t=[],n=null,r=null,i=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,a=n==null?void 0:n.errors;if(a!=null){let d=o.findIndex(f=>f.route.id&&(a==null?void 0:a[f.route.id])!==void 0);J(d>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),o=o.slice(0,Math.min(o.length,d+1))}let s=!1,u=-1;if(n)for(let d=0;d=0?o=o.slice(0,u+1):o=[o[0]];break}}}let c=n&&r?(d,f)=>{var h,y;r(d,{location:n.location,params:((y=(h=n.matches)==null?void 0:h[0])==null?void 0:y.params)??{},unstable_pattern:pb(n.matches),errorInfo:f})}:void 0;return o.reduceRight((d,f,h)=>{let y,x=!1,w=null,k=null;n&&(y=a&&f.route.id?a[f.route.id]:void 0,w=f.route.errorElement||Cb,s&&(u<0&&h===0?(Wg("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),x=!0,k=null):u===h&&(x=!0,k=f.route.hydrateFallbackElement||null)));let p=t.concat(o.slice(0,h+1)),m=()=>{let g;return y?g=w:x?g=k:f.route.Component?g=v.createElement(f.route.Component,null):f.route.element?g=f.route.element:g=d,v.createElement(Nb,{match:f,routeContext:{outlet:d,matches:p,isDataRoute:n!=null},children:g})};return n&&(f.route.ErrorBoundary||f.route.errorElement||h===0)?v.createElement(Hg,{location:n.location,revalidation:n.revalidation,component:w,error:y,children:m(),routeContext:{outlet:null,matches:p,isDataRoute:!0},onError:c}):m()},null)}function Kc(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Rb(e){let t=v.useContext(Ir);return J(t,Kc(e)),t}function Ob(e){let t=v.useContext(as);return J(t,Kc(e)),t}function Ab(e){let t=v.useContext(_t);return J(t,Kc(e)),t}function Yc(e){let t=Ab(e),n=t.matches[t.matches.length-1];return J(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function Mb(){return Yc("useRouteId")}function Ib(){var r;let e=v.useContext(Xc),t=Ob("useRouteError"),n=Yc("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function Db(){let{router:e}=Rb("useNavigate"),t=Yc("useNavigate"),n=v.useRef(!1);return Bg(()=>{n.current=!0}),v.useCallback(async(i,o={})=>{rt(n.current,Fg),n.current&&(typeof i=="number"?await e.navigate(i):await e.navigate(i,{fromRouteId:t,...o}))},[e,t])}var Ch={};function Wg(e,t,n){!t&&!Ch[e]&&(Ch[e]=!0,rt(!1,n))}v.memo(Lb);function Lb({routes:e,future:t,state:n,onError:r}){return Ug(e,void 0,n,r,t)}function $b({to:e,replace:t,state:n,relative:r}){J(Dr()," may be used only in the context of a component.");let{static:i}=v.useContext(Xe);rt(!i," must not be used on the initial render in a . This is a no-op, but you should modify your code so the is only ever rendered in response to some user interaction or state change.");let{matches:o}=v.useContext(_t),{pathname:a}=jt(),s=Vn(),u=Gc(e,Wc(o),a,r==="path"),c=JSON.stringify(u);return v.useEffect(()=>{s(JSON.parse(c),{replace:t,state:n,relative:r})},[s,c,r,t,n]),null}function Ct(e){J(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function zb({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:i,static:o=!1,unstable_useTransitions:a}){J(!Dr(),"You cannot render a inside another . You should never have more than one in your app.");let s=e.replace(/^\/*/,"/"),u=v.useMemo(()=>({basename:s,navigator:i,static:o,unstable_useTransitions:a,future:{}}),[s,i,o,a]);typeof n=="string"&&(n=Mr(n));let{pathname:c="/",search:d="",hash:f="",state:h=null,key:y="default"}=n,x=v.useMemo(()=>{let w=Vt(c,s);return w==null?null:{location:{pathname:w,search:d,hash:f,state:h,key:y},navigationType:r}},[s,c,d,f,h,y,r]);return rt(x!=null,` is not able to match the URL "${c}${d}${f}" because it does not start with the basename, so the won't render anything.`),x==null?null:v.createElement(Xe.Provider,{value:u},v.createElement(no.Provider,{children:t,value:x}))}function Vb({children:e,location:t}){return _b(bu(e),t)}function bu(e,t=[]){let n=[];return v.Children.forEach(e,(r,i)=>{if(!v.isValidElement(r))return;let o=[...t,i];if(r.type===v.Fragment){n.push.apply(n,bu(r.props.children,o));return}J(r.type===Ct,`[${typeof r.type=="string"?r.type:r.type.name}] is not a component. All component children of must be a or `),J(!r.props.index||!r.props.children,"An index route cannot have child routes.");let a={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(a.children=bu(r.props.children,o)),n.push(a)}),n}var na="get",ra="application/x-www-form-urlencoded";function ss(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function Fb(e){return ss(e)&&e.tagName.toLowerCase()==="button"}function Bb(e){return ss(e)&&e.tagName.toLowerCase()==="form"}function Ub(e){return ss(e)&&e.tagName.toLowerCase()==="input"}function Hb(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Wb(e,t){return e.button===0&&(!t||t==="_self")&&!Hb(e)}function ku(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 Gb(e,t){let n=ku(e);return t&&t.forEach((r,i)=>{n.has(i)||t.getAll(i).forEach(o=>{n.append(i,o)})}),n}var Oo=null;function Xb(){if(Oo===null)try{new FormData(document.createElement("form"),0),Oo=!1}catch{Oo=!0}return Oo}var Kb=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function nl(e){return e!=null&&!Kb.has(e)?(rt(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${ra}"`),null):e}function Yb(e,t){let n,r,i,o,a;if(Bb(e)){let s=e.getAttribute("action");r=s?Vt(s,t):null,n=e.getAttribute("method")||na,i=nl(e.getAttribute("enctype"))||ra,o=new FormData(e)}else if(Fb(e)||Ub(e)&&(e.type==="submit"||e.type==="image")){let s=e.form;if(s==null)throw new Error('Cannot submit a