(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const c of l)if(c.type==="childList")for(const d of c.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&r(d)}).observe(document,{childList:!0,subtree:!0});function a(l){const c={};return l.integrity&&(c.integrity=l.integrity),l.referrerPolicy&&(c.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?c.credentials="include":l.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function r(l){if(l.ep)return;l.ep=!0;const c=a(l);fetch(l.href,c)}})();function oa(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var Iu={exports:{}},or={},Eu={exports:{}},qe={};/** * @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 gA;function lw(){if(gA)return qe;gA=1;var s=Symbol.for("react.element"),n=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),d=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),A=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),v=Symbol.iterator;function y(I){return I===null||typeof I!="object"?null:(I=v&&I[v]||I["@@iterator"],typeof I=="function"?I:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},j=Object.assign,C={};function N(I,H,X){this.props=I,this.context=H,this.refs=C,this.updater=X||w}N.prototype.isReactComponent={},N.prototype.setState=function(I,H){if(typeof I!="object"&&typeof I!="function"&&I!=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,I,H,"setState")},N.prototype.forceUpdate=function(I){this.updater.enqueueForceUpdate(this,I,"forceUpdate")};function R(){}R.prototype=N.prototype;function B(I,H,X){this.props=I,this.context=H,this.refs=C,this.updater=X||w}var E=B.prototype=new R;E.constructor=B,j(E,N.prototype),E.isPureReactComponent=!0;var S=Array.isArray,D=Object.prototype.hasOwnProperty,L={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function M(I,H,X){var le,ge={},de=null,Ee=null;if(H!=null)for(le in H.ref!==void 0&&(Ee=H.ref),H.key!==void 0&&(de=""+H.key),H)D.call(H,le)&&!k.hasOwnProperty(le)&&(ge[le]=H[le]);var We=arguments.length-2;if(We===1)ge.children=X;else if(1>>1,H=Y[I];if(0>>1;Il(ge,K))del(Ee,ge)?(Y[I]=Ee,Y[de]=K,I=de):(Y[I]=ge,Y[le]=K,I=le);else if(del(Ee,K))Y[I]=Ee,Y[de]=K,I=de;else break e}}return q}function l(Y,q){var K=Y.sortIndex-q.sortIndex;return K!==0?K:Y.id-q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;s.unstable_now=function(){return c.now()}}else{var d=Date,u=d.now();s.unstable_now=function(){return d.now()-u}}var h=[],A=[],f=1,v=null,y=3,w=!1,j=!1,C=!1,N=typeof setTimeout=="function"?setTimeout:null,R=typeof clearTimeout=="function"?clearTimeout:null,B=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function E(Y){for(var q=a(A);q!==null;){if(q.callback===null)r(A);else if(q.startTime<=Y)r(A),q.sortIndex=q.expirationTime,n(h,q);else break;q=a(A)}}function S(Y){if(C=!1,E(Y),!j)if(a(h)!==null)j=!0,Se(D);else{var q=a(A);q!==null&&te(S,q.startTime-Y)}}function D(Y,q){j=!1,C&&(C=!1,R(M),M=-1),w=!0;var K=y;try{for(E(q),v=a(h);v!==null&&(!(v.expirationTime>q)||Y&&!ee());){var I=v.callback;if(typeof I=="function"){v.callback=null,y=v.priorityLevel;var H=I(v.expirationTime<=q);q=s.unstable_now(),typeof H=="function"?v.callback=H:v===a(h)&&r(h),E(q)}else r(h);v=a(h)}if(v!==null)var X=!0;else{var le=a(A);le!==null&&te(S,le.startTime-q),X=!1}return X}finally{v=null,y=K,w=!1}}var L=!1,k=null,M=-1,F=5,W=-1;function ee(){return!(s.unstable_now()-WY||125I?(Y.sortIndex=K,n(A,Y),a(h)===null&&Y===a(A)&&(C?(R(M),M=-1):C=!0,te(S,K-I))):(Y.sortIndex=H,n(h,Y),j||w||(j=!0,Se(D))),Y},s.unstable_shouldYield=ee,s.unstable_wrapCallback=function(Y){var q=y;return function(){var K=y;y=q;try{return Y.apply(this,arguments)}finally{y=K}}}}(Mu)),Mu}var xA;function mw(){return xA||(xA=1,Du.exports=uw()),Du.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 yA;function hw(){if(yA)return es;yA=1;var s=ql(),n=mw();function a(t){for(var i="https://reactjs.org/docs/error-decoder.html?invariant="+t,o=1;o"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),h=Object.prototype.hasOwnProperty,A=/^[: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]*$/,f={},v={};function y(t){return h.call(v,t)?!0:h.call(f,t)?!1:A.test(t)?v[t]=!0:(f[t]=!0,!1)}function w(t,i,o,m){if(o!==null&&o.type===0)return!1;switch(typeof i){case"function":case"symbol":return!0;case"boolean":return m?!1:o!==null?!o.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function j(t,i,o,m){if(i===null||typeof i>"u"||w(t,i,o,m))return!0;if(m)return!1;if(o!==null)switch(o.type){case 3:return!i;case 4:return i===!1;case 5:return isNaN(i);case 6:return isNaN(i)||1>i}return!1}function C(t,i,o,m,g,x,b){this.acceptsBooleans=i===2||i===3||i===4,this.attributeName=m,this.attributeNamespace=g,this.mustUseProperty=o,this.propertyName=t,this.type=i,this.sanitizeURL=x,this.removeEmptyString=b}var N={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){N[t]=new C(t,0,!1,t,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var i=t[0];N[i]=new C(i,1,!1,t[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){N[t]=new C(t,2,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){N[t]=new C(t,2,!1,t,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(t){N[t]=new C(t,3,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){N[t]=new C(t,3,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){N[t]=new C(t,4,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){N[t]=new C(t,6,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){N[t]=new C(t,5,!1,t.toLowerCase(),null,!1,!1)});var R=/[\-:]([a-z])/g;function B(t){return t[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(t){var i=t.replace(R,B);N[i]=new C(i,1,!1,t,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var i=t.replace(R,B);N[i]=new C(i,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var i=t.replace(R,B);N[i]=new C(i,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){N[t]=new C(t,1,!1,t.toLowerCase(),null,!1,!1)}),N.xlinkHref=new C("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){N[t]=new C(t,1,!1,t.toLowerCase(),null,!0,!0)});function E(t,i,o,m){var g=N.hasOwnProperty(i)?N[i]:null;(g!==null?g.type!==0:m||!(2P||g[b]!==x[P]){var O=` `+g[b].replace(" at new "," at ");return t.displayName&&O.includes("")&&(O=O.replace("",t.displayName)),O}while(1<=b&&0<=P);break}}}finally{X=!1,Error.prepareStackTrace=o}return(t=t?t.displayName||t.name:"")?H(t):""}function ge(t){switch(t.tag){case 5:return H(t.type);case 16:return H("Lazy");case 13:return H("Suspense");case 19:return H("SuspenseList");case 0:case 2:case 15:return t=le(t.type,!1),t;case 11:return t=le(t.type.render,!1),t;case 1:return t=le(t.type,!0),t;default:return""}}function de(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case k:return"Fragment";case L:return"Portal";case F:return"Profiler";case M:return"StrictMode";case ae:return"Suspense";case oe:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case ee:return(t.displayName||"Context")+".Consumer";case W:return(t._context.displayName||"Context")+".Provider";case z:var i=t.render;return t=t.displayName,t||(t=i.displayName||i.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Qe:return i=t.displayName||null,i!==null?i:de(t.type)||"Memo";case Se:i=t._payload,t=t._init;try{return de(t(i))}catch{}}return null}function Ee(t){var i=t.type;switch(t.tag){case 24:return"Cache";case 9:return(i.displayName||"Context")+".Consumer";case 10:return(i._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=i.render,t=t.displayName||t.name||"",i.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return i;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return de(i);case 8:return i===M?"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 i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i}return null}function We(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Xe(t){var i=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function jt(t){var i=Xe(t)?"checked":"value",o=Object.getOwnPropertyDescriptor(t.constructor.prototype,i),m=""+t[i];if(!t.hasOwnProperty(i)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var g=o.get,x=o.set;return Object.defineProperty(t,i,{configurable:!0,get:function(){return g.call(this)},set:function(b){m=""+b,x.call(this,b)}}),Object.defineProperty(t,i,{enumerable:o.enumerable}),{getValue:function(){return m},setValue:function(b){m=""+b},stopTracking:function(){t._valueTracker=null,delete t[i]}}}}function Ht(t){t._valueTracker||(t._valueTracker=jt(t))}function ht(t){if(!t)return!1;var i=t._valueTracker;if(!i)return!0;var o=i.getValue(),m="";return t&&(m=Xe(t)?t.checked?"true":"false":t.value),t=m,t!==o?(i.setValue(t),!0):!1}function ps(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function Fn(t,i){var o=i.checked;return K({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:o??t._wrapperState.initialChecked})}function Qt(t,i){var o=i.defaultValue==null?"":i.defaultValue,m=i.checked!=null?i.checked:i.defaultChecked;o=We(i.value!=null?i.value:o),t._wrapperState={initialChecked:m,initialValue:o,controlled:i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null}}function yi(t,i){i=i.checked,i!=null&&E(t,"checked",i,!1)}function ja(t,i){yi(t,i);var o=We(i.value),m=i.type;if(o!=null)m==="number"?(o===0&&t.value===""||t.value!=o)&&(t.value=""+o):t.value!==""+o&&(t.value=""+o);else if(m==="submit"||m==="reset"){t.removeAttribute("value");return}i.hasOwnProperty("value")?Oc(t,i.type,o):i.hasOwnProperty("defaultValue")&&Oc(t,i.type,We(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(t.defaultChecked=!!i.defaultChecked)}function wh(t,i,o){if(i.hasOwnProperty("value")||i.hasOwnProperty("defaultValue")){var m=i.type;if(!(m!=="submit"&&m!=="reset"||i.value!==void 0&&i.value!==null))return;i=""+t._wrapperState.initialValue,o||i===t.value||(t.value=i),t.defaultValue=i}o=t.name,o!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,o!==""&&(t.name=o)}function Oc(t,i,o){(i!=="number"||ps(t.ownerDocument)!==t)&&(o==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+o&&(t.defaultValue=""+o))}var Ca=Array.isArray;function ji(t,i,o,m){if(t=t.options,i){i={};for(var g=0;g"+i.valueOf().toString()+"",i=Jr.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;i.firstChild;)t.appendChild(i.firstChild)}});function wa(t,i){if(i){var o=t.firstChild;if(o&&o===t.lastChild&&o.nodeType===3){o.nodeValue=i;return}}t.textContent=i}var Na={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},mj=["Webkit","ms","Moz","O"];Object.keys(Na).forEach(function(t){mj.forEach(function(i){i=i+t.charAt(0).toUpperCase()+t.substring(1),Na[i]=Na[t]})});function kh(t,i,o){return i==null||typeof i=="boolean"||i===""?"":o||typeof i!="number"||i===0||Na.hasOwnProperty(t)&&Na[t]?(""+i).trim():i+"px"}function Dh(t,i){t=t.style;for(var o in i)if(i.hasOwnProperty(o)){var m=o.indexOf("--")===0,g=kh(o,i[o],m);o==="float"&&(o="cssFloat"),m?t.setProperty(o,g):t[o]=g}}var hj=K({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 Uc(t,i){if(i){if(hj[t]&&(i.children!=null||i.dangerouslySetInnerHTML!=null))throw Error(a(137,t));if(i.dangerouslySetInnerHTML!=null){if(i.children!=null)throw Error(a(60));if(typeof i.dangerouslySetInnerHTML!="object"||!("__html"in i.dangerouslySetInnerHTML))throw Error(a(61))}if(i.style!=null&&typeof i.style!="object")throw Error(a(62))}}function Fc(t,i){if(t.indexOf("-")===-1)return typeof i.is=="string";switch(t){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 Vc=null;function Gc(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Kc=null,Ci=null,wi=null;function Mh(t){if(t=Ya(t)){if(typeof Kc!="function")throw Error(a(280));var i=t.stateNode;i&&(i=po(i),Kc(t.stateNode,t.type,i))}}function Ph(t){Ci?wi?wi.push(t):wi=[t]:Ci=t}function Rh(){if(Ci){var t=Ci,i=wi;if(wi=Ci=null,Mh(t),i)for(t=0;t>>=0,t===0?32:31-(Nj(t)/bj|0)|0}var qr=64,Zr=4194304;function Ea(t){switch(t&-t){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 t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function _r(t,i){var o=t.pendingLanes;if(o===0)return 0;var m=0,g=t.suspendedLanes,x=t.pingedLanes,b=o&268435455;if(b!==0){var P=b&~g;P!==0?m=Ea(P):(x&=b,x!==0&&(m=Ea(x)))}else b=o&~g,b!==0?m=Ea(b):x!==0&&(m=Ea(x));if(m===0)return 0;if(i!==0&&i!==m&&(i&g)===0&&(g=m&-m,x=i&-i,g>=x||g===16&&(x&4194240)!==0))return i;if((m&4)!==0&&(m|=o&16),i=t.entangledLanes,i!==0)for(t=t.entanglements,i&=m;0o;o++)i.push(t);return i}function ka(t,i,o){t.pendingLanes|=i,i!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,i=31-Is(i),t[i]=o}function kj(t,i){var o=t.pendingLanes&~i;t.pendingLanes=i,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=i,t.mutableReadLanes&=i,t.entangledLanes&=i,i=t.entanglements;var m=t.eventTimes;for(t=t.expirationTimes;0=La),og=" ",lg=!1;function cg(t,i){switch(t){case"keyup":return nC.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function dg(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Si=!1;function aC(t,i){switch(t){case"compositionend":return dg(i);case"keypress":return i.which!==32?null:(lg=!0,og);case"textInput":return t=i.data,t===og&&lg?null:t;default:return null}}function rC(t,i){if(Si)return t==="compositionend"||!od&&cg(t,i)?(t=tg(),no=td=fn=null,Si=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1=i)return{node:o,offset:i-t};t=m}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=fg(o)}}function xg(t,i){return t&&i?t===i?!0:t&&t.nodeType===3?!1:i&&i.nodeType===3?xg(t,i.parentNode):"contains"in t?t.contains(i):t.compareDocumentPosition?!!(t.compareDocumentPosition(i)&16):!1:!1}function yg(){for(var t=window,i=ps();i instanceof t.HTMLIFrameElement;){try{var o=typeof i.contentWindow.location.href=="string"}catch{o=!1}if(o)t=i.contentWindow;else break;i=ps(t.document)}return i}function dd(t){var i=t&&t.nodeName&&t.nodeName.toLowerCase();return i&&(i==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||i==="textarea"||t.contentEditable==="true")}function pC(t){var i=yg(),o=t.focusedElem,m=t.selectionRange;if(i!==o&&o&&o.ownerDocument&&xg(o.ownerDocument.documentElement,o)){if(m!==null&&dd(o)){if(i=m.start,t=m.end,t===void 0&&(t=i),"selectionStart"in o)o.selectionStart=i,o.selectionEnd=Math.min(t,o.value.length);else if(t=(i=o.ownerDocument||document)&&i.defaultView||window,t.getSelection){t=t.getSelection();var g=o.textContent.length,x=Math.min(m.start,g);m=m.end===void 0?x:Math.min(m.end,g),!t.extend&&x>m&&(g=m,m=x,x=g),g=vg(o,x);var b=vg(o,m);g&&b&&(t.rangeCount!==1||t.anchorNode!==g.node||t.anchorOffset!==g.offset||t.focusNode!==b.node||t.focusOffset!==b.offset)&&(i=i.createRange(),i.setStart(g.node,g.offset),t.removeAllRanges(),x>m?(t.addRange(i),t.extend(b.node,b.offset)):(i.setEnd(b.node,b.offset),t.addRange(i)))}}for(i=[],t=o;t=t.parentNode;)t.nodeType===1&&i.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof o.focus=="function"&&o.focus(),o=0;o=document.documentMode,Ii=null,ud=null,Va=null,md=!1;function jg(t,i,o){var m=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;md||Ii==null||Ii!==ps(m)||(m=Ii,"selectionStart"in m&&dd(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}),Va&&Fa(Va,m)||(Va=m,m=mo(ud,"onSelect"),0Pi||(t.current=Nd[Pi],Nd[Pi]=null,Pi--)}function at(t,i){Pi++,Nd[Pi]=t.current,t.current=i}var jn={},Ut=yn(jn),zt=yn(!1),Kn=jn;function Ri(t,i){var o=t.type.contextTypes;if(!o)return jn;var m=t.stateNode;if(m&&m.__reactInternalMemoizedUnmaskedChildContext===i)return m.__reactInternalMemoizedMaskedChildContext;var g={},x;for(x in o)g[x]=i[x];return m&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=i,t.__reactInternalMemoizedMaskedChildContext=g),g}function qt(t){return t=t.childContextTypes,t!=null}function Ao(){ot(zt),ot(Ut)}function Og(t,i,o){if(Ut.current!==jn)throw Error(a(168));at(Ut,i),at(zt,o)}function Lg(t,i,o){var m=t.stateNode;if(i=i.childContextTypes,typeof m.getChildContext!="function")return o;m=m.getChildContext();for(var g in m)if(!(g in i))throw Error(a(108,Ee(t)||"Unknown",g));return K({},o,m)}function fo(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||jn,Kn=Ut.current,at(Ut,t),at(zt,zt.current),!0}function Hg(t,i,o){var m=t.stateNode;if(!m)throw Error(a(169));o?(t=Lg(t,i,Kn),m.__reactInternalMemoizedMergedChildContext=t,ot(zt),ot(Ut),at(Ut,t)):ot(zt),at(zt,o)}var qs=null,vo=!1,bd=!1;function Ug(t){qs===null?qs=[t]:qs.push(t)}function IC(t){vo=!0,Ug(t)}function Cn(){if(!bd&&qs!==null){bd=!0;var t=0,i=st;try{var o=qs;for(st=1;t>=b,g-=b,Zs=1<<32-Is(i)+g|o<we?(Mt=ye,ye=null):Mt=ye.sibling;var et=Z(V,ye,G[we],se);if(et===null){ye===null&&(ye=Mt);break}t&&ye&&et.alternate===null&&i(V,ye),U=x(et,U,we),xe===null?fe=et:xe.sibling=et,xe=et,ye=Mt}if(we===G.length)return o(V,ye),ct&&Jn(V,we),fe;if(ye===null){for(;wewe?(Mt=ye,ye=null):Mt=ye.sibling;var Mn=Z(V,ye,et.value,se);if(Mn===null){ye===null&&(ye=Mt);break}t&&ye&&Mn.alternate===null&&i(V,ye),U=x(Mn,U,we),xe===null?fe=Mn:xe.sibling=Mn,xe=Mn,ye=Mt}if(et.done)return o(V,ye),ct&&Jn(V,we),fe;if(ye===null){for(;!et.done;we++,et=G.next())et=$(V,et.value,se),et!==null&&(U=x(et,U,we),xe===null?fe=et:xe.sibling=et,xe=et);return ct&&Jn(V,we),fe}for(ye=m(V,ye);!et.done;we++,et=G.next())et=ce(ye,V,we,et.value,se),et!==null&&(t&&et.alternate!==null&&ye.delete(et.key===null?we:et.key),U=x(et,U,we),xe===null?fe=et:xe.sibling=et,xe=et);return t&&ye.forEach(function(ow){return i(V,ow)}),ct&&Jn(V,we),fe}function yt(V,U,G,se){if(typeof G=="object"&&G!==null&&G.type===k&&G.key===null&&(G=G.props.children),typeof G=="object"&&G!==null){switch(G.$$typeof){case D:e:{for(var fe=G.key,xe=U;xe!==null;){if(xe.key===fe){if(fe=G.type,fe===k){if(xe.tag===7){o(V,xe.sibling),U=g(xe,G.props.children),U.return=V,V=U;break e}}else if(xe.elementType===fe||typeof fe=="object"&&fe!==null&&fe.$$typeof===Se&&Jg(fe)===xe.type){o(V,xe.sibling),U=g(xe,G.props),U.ref=Wa(V,xe,G),U.return=V,V=U;break e}o(V,xe);break}else i(V,xe);xe=xe.sibling}G.type===k?(U=$n(G.props.children,V.mode,se,G.key),U.return=V,V=U):(se=Yo(G.type,G.key,G.props,null,V.mode,se),se.ref=Wa(V,U,G),se.return=V,V=se)}return b(V);case L:e:{for(xe=G.key;U!==null;){if(U.key===xe)if(U.tag===4&&U.stateNode.containerInfo===G.containerInfo&&U.stateNode.implementation===G.implementation){o(V,U.sibling),U=g(U,G.children||[]),U.return=V,V=U;break e}else{o(V,U);break}else i(V,U);U=U.sibling}U=Cu(G,V.mode,se),U.return=V,V=U}return b(V);case Se:return xe=G._init,yt(V,U,xe(G._payload),se)}if(Ca(G))return he(V,U,G,se);if(q(G))return Ae(V,U,G,se);Co(V,G)}return typeof G=="string"&&G!==""||typeof G=="number"?(G=""+G,U!==null&&U.tag===6?(o(V,U.sibling),U=g(U,G),U.return=V,V=U):(o(V,U),U=ju(G,V.mode,se),U.return=V,V=U),b(V)):o(V,U)}return yt}var Li=Yg(!0),Wg=Yg(!1),wo=yn(null),No=null,Hi=null,Md=null;function Pd(){Md=Hi=No=null}function Rd(t){var i=wo.current;ot(wo),t._currentValue=i}function Td(t,i,o){for(;t!==null;){var m=t.alternate;if((t.childLanes&i)!==i?(t.childLanes|=i,m!==null&&(m.childLanes|=i)):m!==null&&(m.childLanes&i)!==i&&(m.childLanes|=i),t===o)break;t=t.return}}function Ui(t,i){No=t,Md=Hi=null,t=t.dependencies,t!==null&&t.firstContext!==null&&((t.lanes&i)!==0&&(Zt=!0),t.firstContext=null)}function vs(t){var i=t._currentValue;if(Md!==t)if(t={context:t,memoizedValue:i,next:null},Hi===null){if(No===null)throw Error(a(308));Hi=t,No.dependencies={lanes:0,firstContext:t}}else Hi=Hi.next=t;return i}var Yn=null;function Bd(t){Yn===null?Yn=[t]:Yn.push(t)}function Xg(t,i,o,m){var g=i.interleaved;return g===null?(o.next=o,Bd(i)):(o.next=g.next,g.next=o),i.interleaved=o,$s(t,m)}function $s(t,i){t.lanes|=i;var o=t.alternate;for(o!==null&&(o.lanes|=i),o=t,t=t.return;t!==null;)t.childLanes|=i,o=t.alternate,o!==null&&(o.childLanes|=i),o=t,t=t.return;return o.tag===3?o.stateNode:null}var wn=!1;function Od(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function zg(t,i){t=t.updateQueue,i.updateQueue===t&&(i.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function en(t,i){return{eventTime:t,lane:i,tag:0,payload:null,callback:null,next:null}}function Nn(t,i,o){var m=t.updateQueue;if(m===null)return null;if(m=m.shared,($e&2)!==0){var g=m.pending;return g===null?i.next=i:(i.next=g.next,g.next=i),m.pending=i,$s(t,o)}return g=m.interleaved,g===null?(i.next=i,Bd(m)):(i.next=g.next,g.next=i),m.interleaved=i,$s(t,o)}function bo(t,i,o){if(i=i.updateQueue,i!==null&&(i=i.shared,(o&4194240)!==0)){var m=i.lanes;m&=t.pendingLanes,o|=m,i.lanes=o,qc(t,o)}}function qg(t,i){var o=t.updateQueue,m=t.alternate;if(m!==null&&(m=m.updateQueue,o===m)){var g=null,x=null;if(o=o.firstBaseUpdate,o!==null){do{var b={eventTime:o.eventTime,lane:o.lane,tag:o.tag,payload:o.payload,callback:o.callback,next:null};x===null?g=x=b:x=x.next=b,o=o.next}while(o!==null);x===null?g=x=i:x=x.next=i}else g=x=i;o={baseState:m.baseState,firstBaseUpdate:g,lastBaseUpdate:x,shared:m.shared,effects:m.effects},t.updateQueue=o;return}t=o.lastBaseUpdate,t===null?o.firstBaseUpdate=i:t.next=i,o.lastBaseUpdate=i}function So(t,i,o,m){var g=t.updateQueue;wn=!1;var x=g.firstBaseUpdate,b=g.lastBaseUpdate,P=g.shared.pending;if(P!==null){g.shared.pending=null;var O=P,Q=O.next;O.next=null,b===null?x=Q:b.next=Q,b=O;var _=t.alternate;_!==null&&(_=_.updateQueue,P=_.lastBaseUpdate,P!==b&&(P===null?_.firstBaseUpdate=Q:P.next=Q,_.lastBaseUpdate=O))}if(x!==null){var $=g.baseState;b=0,_=Q=O=null,P=x;do{var Z=P.lane,ce=P.eventTime;if((m&Z)===Z){_!==null&&(_=_.next={eventTime:ce,lane:0,tag:P.tag,payload:P.payload,callback:P.callback,next:null});e:{var he=t,Ae=P;switch(Z=i,ce=o,Ae.tag){case 1:if(he=Ae.payload,typeof he=="function"){$=he.call(ce,$,Z);break e}$=he;break e;case 3:he.flags=he.flags&-65537|128;case 0:if(he=Ae.payload,Z=typeof he=="function"?he.call(ce,$,Z):he,Z==null)break e;$=K({},$,Z);break e;case 2:wn=!0}}P.callback!==null&&P.lane!==0&&(t.flags|=64,Z=g.effects,Z===null?g.effects=[P]:Z.push(P))}else ce={eventTime:ce,lane:Z,tag:P.tag,payload:P.payload,callback:P.callback,next:null},_===null?(Q=_=ce,O=$):_=_.next=ce,b|=Z;if(P=P.next,P===null){if(P=g.shared.pending,P===null)break;Z=P,P=Z.next,Z.next=null,g.lastBaseUpdate=Z,g.shared.pending=null}}while(!0);if(_===null&&(O=$),g.baseState=O,g.firstBaseUpdate=Q,g.lastBaseUpdate=_,i=g.shared.interleaved,i!==null){g=i;do b|=g.lane,g=g.next;while(g!==i)}else x===null&&(g.shared.lanes=0);zn|=b,t.lanes=b,t.memoizedState=$}}function Zg(t,i,o){if(t=i.effects,i.effects=null,t!==null)for(i=0;io?o:4,t(!0);var m=Vd.transition;Vd.transition={};try{t(!1),i()}finally{st=o,Vd.transition=m}}function Ap(){return xs().memoizedState}function MC(t,i,o){var m=En(t);if(o={lane:m,action:o,hasEagerState:!1,eagerState:null,next:null},fp(t))vp(i,o);else if(o=Xg(t,i,o,m),o!==null){var g=Yt();Rs(o,t,m,g),xp(o,i,m)}}function PC(t,i,o){var m=En(t),g={lane:m,action:o,hasEagerState:!1,eagerState:null,next:null};if(fp(t))vp(i,g);else{var x=t.alternate;if(t.lanes===0&&(x===null||x.lanes===0)&&(x=i.lastRenderedReducer,x!==null))try{var b=i.lastRenderedState,P=x(b,o);if(g.hasEagerState=!0,g.eagerState=P,Es(P,b)){var O=i.interleaved;O===null?(g.next=g,Bd(i)):(g.next=O.next,O.next=g),i.interleaved=g;return}}catch{}finally{}o=Xg(t,i,g,m),o!==null&&(g=Yt(),Rs(o,t,m,g),xp(o,i,m))}}function fp(t){var i=t.alternate;return t===pt||i!==null&&i===pt}function vp(t,i){Za=ko=!0;var o=t.pending;o===null?i.next=i:(i.next=o.next,o.next=i),t.pending=i}function xp(t,i,o){if((o&4194240)!==0){var m=i.lanes;m&=t.pendingLanes,o|=m,i.lanes=o,qc(t,o)}}var Po={readContext:vs,useCallback:Ft,useContext:Ft,useEffect:Ft,useImperativeHandle:Ft,useInsertionEffect:Ft,useLayoutEffect:Ft,useMemo:Ft,useReducer:Ft,useRef:Ft,useState:Ft,useDebugValue:Ft,useDeferredValue:Ft,useTransition:Ft,useMutableSource:Ft,useSyncExternalStore:Ft,useId:Ft,unstable_isNewReconciler:!1},RC={readContext:vs,useCallback:function(t,i){return Qs().memoizedState=[t,i===void 0?null:i],t},useContext:vs,useEffect:lp,useImperativeHandle:function(t,i,o){return o=o!=null?o.concat([t]):null,Do(4194308,4,up.bind(null,i,t),o)},useLayoutEffect:function(t,i){return Do(4194308,4,t,i)},useInsertionEffect:function(t,i){return Do(4,2,t,i)},useMemo:function(t,i){var o=Qs();return i=i===void 0?null:i,t=t(),o.memoizedState=[t,i],t},useReducer:function(t,i,o){var m=Qs();return i=o!==void 0?o(i):i,m.memoizedState=m.baseState=i,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:i},m.queue=t,t=t.dispatch=MC.bind(null,pt,t),[m.memoizedState,t]},useRef:function(t){var i=Qs();return t={current:t},i.memoizedState=t},useState:rp,useDebugValue:Xd,useDeferredValue:function(t){return Qs().memoizedState=t},useTransition:function(){var t=rp(!1),i=t[0];return t=DC.bind(null,t[1]),Qs().memoizedState=t,[i,t]},useMutableSource:function(){},useSyncExternalStore:function(t,i,o){var m=pt,g=Qs();if(ct){if(o===void 0)throw Error(a(407));o=o()}else{if(o=i(),Dt===null)throw Error(a(349));(Xn&30)!==0||tp(m,i,o)}g.memoizedState=o;var x={value:o,getSnapshot:i};return g.queue=x,lp(np.bind(null,m,x,t),[t]),m.flags|=2048,er(9,sp.bind(null,m,x,o,i),void 0,null),o},useId:function(){var t=Qs(),i=Dt.identifierPrefix;if(ct){var o=_s,m=Zs;o=(m&~(1<<32-Is(m)-1)).toString(32)+o,i=":"+i+"R"+o,o=_a++,0<\/script>",t=t.removeChild(t.firstChild)):typeof m.is=="string"?t=b.createElement(o,{is:m.is}):(t=b.createElement(o),o==="select"&&(b=t,m.multiple?b.multiple=!0:m.size&&(b.size=m.size))):t=b.createElementNS(t,o),t[Gs]=i,t[Ja]=m,Up(t,i,!1,!1),i.stateNode=t;e:{switch(b=Fc(o,m),o){case"dialog":rt("cancel",t),rt("close",t),g=m;break;case"iframe":case"object":case"embed":rt("load",t),g=m;break;case"video":case"audio":for(g=0;gQi&&(i.flags|=128,m=!0,tr(x,!1),i.lanes=4194304)}else{if(!m)if(t=Io(b),t!==null){if(i.flags|=128,m=!0,o=t.updateQueue,o!==null&&(i.updateQueue=o,i.flags|=4),tr(x,!0),x.tail===null&&x.tailMode==="hidden"&&!b.alternate&&!ct)return Vt(i),null}else 2*xt()-x.renderingStartTime>Qi&&o!==1073741824&&(i.flags|=128,m=!0,tr(x,!1),i.lanes=4194304);x.isBackwards?(b.sibling=i.child,i.child=b):(o=x.last,o!==null?o.sibling=b:i.child=b,x.last=b)}return x.tail!==null?(i=x.tail,x.rendering=i,x.tail=i.sibling,x.renderingStartTime=xt(),i.sibling=null,o=gt.current,at(gt,m?o&1|2:o&1),i):(Vt(i),null);case 22:case 23:return vu(),m=i.memoizedState!==null,t!==null&&t.memoizedState!==null!==m&&(i.flags|=8192),m&&(i.mode&1)!==0?(ls&1073741824)!==0&&(Vt(i),i.subtreeFlags&6&&(i.flags|=8192)):Vt(i),null;case 24:return null;case 25:return null}throw Error(a(156,i.tag))}function VC(t,i){switch(Id(i),i.tag){case 1:return qt(i.type)&&Ao(),t=i.flags,t&65536?(i.flags=t&-65537|128,i):null;case 3:return Fi(),ot(zt),ot(Ut),Fd(),t=i.flags,(t&65536)!==0&&(t&128)===0?(i.flags=t&-65537|128,i):null;case 5:return Hd(i),null;case 13:if(ot(gt),t=i.memoizedState,t!==null&&t.dehydrated!==null){if(i.alternate===null)throw Error(a(340));Oi()}return t=i.flags,t&65536?(i.flags=t&-65537|128,i):null;case 19:return ot(gt),null;case 4:return Fi(),null;case 10:return Rd(i.type._context),null;case 22:case 23:return vu(),null;case 24:return null;default:return null}}var Oo=!1,Gt=!1,GC=typeof WeakSet=="function"?WeakSet:Set,me=null;function Gi(t,i){var o=t.ref;if(o!==null)if(typeof o=="function")try{o(null)}catch(m){vt(t,i,m)}else o.current=null}function ru(t,i,o){try{o()}catch(m){vt(t,i,m)}}var Gp=!1;function KC(t,i){if(vd=to,t=yg(),dd(t)){if("selectionStart"in t)var o={start:t.selectionStart,end:t.selectionEnd};else e:{o=(o=t.ownerDocument)&&o.defaultView||window;var m=o.getSelection&&o.getSelection();if(m&&m.rangeCount!==0){o=m.anchorNode;var g=m.anchorOffset,x=m.focusNode;m=m.focusOffset;try{o.nodeType,x.nodeType}catch{o=null;break e}var b=0,P=-1,O=-1,Q=0,_=0,$=t,Z=null;t:for(;;){for(var ce;$!==o||g!==0&&$.nodeType!==3||(P=b+g),$!==x||m!==0&&$.nodeType!==3||(O=b+m),$.nodeType===3&&(b+=$.nodeValue.length),(ce=$.firstChild)!==null;)Z=$,$=ce;for(;;){if($===t)break t;if(Z===o&&++Q===g&&(P=b),Z===x&&++_===m&&(O=b),(ce=$.nextSibling)!==null)break;$=Z,Z=$.parentNode}$=ce}o=P===-1||O===-1?null:{start:P,end:O}}else o=null}o=o||{start:0,end:0}}else o=null;for(xd={focusedElem:t,selectionRange:o},to=!1,me=i;me!==null;)if(i=me,t=i.child,(i.subtreeFlags&1028)!==0&&t!==null)t.return=i,me=t;else for(;me!==null;){i=me;try{var he=i.alternate;if((i.flags&1024)!==0)switch(i.tag){case 0:case 11:case 15:break;case 1:if(he!==null){var Ae=he.memoizedProps,yt=he.memoizedState,V=i.stateNode,U=V.getSnapshotBeforeUpdate(i.elementType===i.type?Ae:Ds(i.type,Ae),yt);V.__reactInternalSnapshotBeforeUpdate=U}break;case 3:var G=i.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(a(163))}}catch(se){vt(i,i.return,se)}if(t=i.sibling,t!==null){t.return=i.return,me=t;break}me=i.return}return he=Gp,Gp=!1,he}function sr(t,i,o){var m=i.updateQueue;if(m=m!==null?m.lastEffect:null,m!==null){var g=m=m.next;do{if((g.tag&t)===t){var x=g.destroy;g.destroy=void 0,x!==void 0&&ru(i,o,x)}g=g.next}while(g!==m)}}function Lo(t,i){if(i=i.updateQueue,i=i!==null?i.lastEffect:null,i!==null){var o=i=i.next;do{if((o.tag&t)===t){var m=o.create;o.destroy=m()}o=o.next}while(o!==i)}}function ou(t){var i=t.ref;if(i!==null){var o=t.stateNode;switch(t.tag){case 5:t=o;break;default:t=o}typeof i=="function"?i(t):i.current=t}}function Kp(t){var i=t.alternate;i!==null&&(t.alternate=null,Kp(i)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(i=t.stateNode,i!==null&&(delete i[Gs],delete i[Ja],delete i[wd],delete i[bC],delete i[SC])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function Qp(t){return t.tag===5||t.tag===3||t.tag===4}function Jp(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||Qp(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function lu(t,i,o){var m=t.tag;if(m===5||m===6)t=t.stateNode,i?o.nodeType===8?o.parentNode.insertBefore(t,i):o.insertBefore(t,i):(o.nodeType===8?(i=o.parentNode,i.insertBefore(t,o)):(i=o,i.appendChild(t)),o=o._reactRootContainer,o!=null||i.onclick!==null||(i.onclick=go));else if(m!==4&&(t=t.child,t!==null))for(lu(t,i,o),t=t.sibling;t!==null;)lu(t,i,o),t=t.sibling}function cu(t,i,o){var m=t.tag;if(m===5||m===6)t=t.stateNode,i?o.insertBefore(t,i):o.appendChild(t);else if(m!==4&&(t=t.child,t!==null))for(cu(t,i,o),t=t.sibling;t!==null;)cu(t,i,o),t=t.sibling}var Ot=null,Ms=!1;function bn(t,i,o){for(o=o.child;o!==null;)Yp(t,i,o),o=o.sibling}function Yp(t,i,o){if(Vs&&typeof Vs.onCommitFiberUnmount=="function")try{Vs.onCommitFiberUnmount(zr,o)}catch{}switch(o.tag){case 5:Gt||Gi(o,i);case 6:var m=Ot,g=Ms;Ot=null,bn(t,i,o),Ot=m,Ms=g,Ot!==null&&(Ms?(t=Ot,o=o.stateNode,t.nodeType===8?t.parentNode.removeChild(o):t.removeChild(o)):Ot.removeChild(o.stateNode));break;case 18:Ot!==null&&(Ms?(t=Ot,o=o.stateNode,t.nodeType===8?Cd(t.parentNode,o):t.nodeType===1&&Cd(t,o),Ta(t)):Cd(Ot,o.stateNode));break;case 4:m=Ot,g=Ms,Ot=o.stateNode.containerInfo,Ms=!0,bn(t,i,o),Ot=m,Ms=g;break;case 0:case 11:case 14:case 15:if(!Gt&&(m=o.updateQueue,m!==null&&(m=m.lastEffect,m!==null))){g=m=m.next;do{var x=g,b=x.destroy;x=x.tag,b!==void 0&&((x&2)!==0||(x&4)!==0)&&ru(o,i,b),g=g.next}while(g!==m)}bn(t,i,o);break;case 1:if(!Gt&&(Gi(o,i),m=o.stateNode,typeof m.componentWillUnmount=="function"))try{m.props=o.memoizedProps,m.state=o.memoizedState,m.componentWillUnmount()}catch(P){vt(o,i,P)}bn(t,i,o);break;case 21:bn(t,i,o);break;case 22:o.mode&1?(Gt=(m=Gt)||o.memoizedState!==null,bn(t,i,o),Gt=m):bn(t,i,o);break;default:bn(t,i,o)}}function Wp(t){var i=t.updateQueue;if(i!==null){t.updateQueue=null;var o=t.stateNode;o===null&&(o=t.stateNode=new GC),i.forEach(function(m){var g=_C.bind(null,t,m);o.has(m)||(o.add(m),m.then(g,g))})}}function Ps(t,i){var o=i.deletions;if(o!==null)for(var m=0;mg&&(g=b),m&=~x}if(m=g,m=xt()-m,m=(120>m?120:480>m?480:1080>m?1080:1920>m?1920:3e3>m?3e3:4320>m?4320:1960*JC(m/1960))-m,10t?16:t,In===null)var m=!1;else{if(t=In,In=null,Go=0,($e&6)!==0)throw Error(a(331));var g=$e;for($e|=4,me=t.current;me!==null;){var x=me,b=x.child;if((me.flags&16)!==0){var P=x.deletions;if(P!==null){for(var O=0;Oxt()-mu?Zn(t,0):uu|=o),$t(t,i)}function rA(t,i){i===0&&((t.mode&1)===0?i=1:(i=Zr,Zr<<=1,(Zr&130023424)===0&&(Zr=4194304)));var o=Yt();t=$s(t,i),t!==null&&(ka(t,i,o),$t(t,o))}function ZC(t){var i=t.memoizedState,o=0;i!==null&&(o=i.retryLane),rA(t,o)}function _C(t,i){var o=0;switch(t.tag){case 13:var m=t.stateNode,g=t.memoizedState;g!==null&&(o=g.retryLane);break;case 19:m=t.stateNode;break;default:throw Error(a(314))}m!==null&&m.delete(i),rA(t,o)}var oA;oA=function(t,i,o){if(t!==null)if(t.memoizedProps!==i.pendingProps||zt.current)Zt=!0;else{if((t.lanes&o)===0&&(i.flags&128)===0)return Zt=!1,UC(t,i,o);Zt=(t.flags&131072)!==0}else Zt=!1,ct&&(i.flags&1048576)!==0&&Fg(i,yo,i.index);switch(i.lanes=0,i.tag){case 2:var m=i.type;Bo(t,i),t=i.pendingProps;var g=Ri(i,Ut.current);Ui(i,o),g=Kd(null,i,m,t,g,o);var x=Qd();return i.flags|=1,typeof g=="object"&&g!==null&&typeof g.render=="function"&&g.$$typeof===void 0?(i.tag=1,i.memoizedState=null,i.updateQueue=null,qt(m)?(x=!0,fo(i)):x=!1,i.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,Od(i),g.updater=Ro,i.stateNode=g,g._reactInternals=i,qd(i,m,t,o),i=eu(null,i,m,!0,x,o)):(i.tag=0,ct&&x&&Sd(i),Jt(null,i,g,o),i=i.child),i;case 16:m=i.elementType;e:{switch(Bo(t,i),t=i.pendingProps,g=m._init,m=g(m._payload),i.type=m,g=i.tag=ew(m),t=Ds(m,t),g){case 0:i=$d(null,i,m,t,o);break e;case 1:i=Rp(null,i,m,t,o);break e;case 11:i=Ep(null,i,m,t,o);break e;case 14:i=kp(null,i,m,Ds(m.type,t),o);break e}throw Error(a(306,m,""))}return i;case 0:return m=i.type,g=i.pendingProps,g=i.elementType===m?g:Ds(m,g),$d(t,i,m,g,o);case 1:return m=i.type,g=i.pendingProps,g=i.elementType===m?g:Ds(m,g),Rp(t,i,m,g,o);case 3:e:{if(Tp(i),t===null)throw Error(a(387));m=i.pendingProps,x=i.memoizedState,g=x.element,zg(t,i),So(i,m,null,o);var b=i.memoizedState;if(m=b.element,x.isDehydrated)if(x={element:m,isDehydrated:!1,cache:b.cache,pendingSuspenseBoundaries:b.pendingSuspenseBoundaries,transitions:b.transitions},i.updateQueue.baseState=x,i.memoizedState=x,i.flags&256){g=Vi(Error(a(423)),i),i=Bp(t,i,m,o,g);break e}else if(m!==g){g=Vi(Error(a(424)),i),i=Bp(t,i,m,o,g);break e}else for(os=xn(i.stateNode.containerInfo.firstChild),rs=i,ct=!0,ks=null,o=Wg(i,null,m,o),i.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(Oi(),m===g){i=tn(t,i,o);break e}Jt(t,i,m,o)}i=i.child}return i;case 5:return _g(i),t===null&&kd(i),m=i.type,g=i.pendingProps,x=t!==null?t.memoizedProps:null,b=g.children,yd(m,g)?b=null:x!==null&&yd(m,x)&&(i.flags|=32),Pp(t,i),Jt(t,i,b,o),i.child;case 6:return t===null&&kd(i),null;case 13:return Op(t,i,o);case 4:return Ld(i,i.stateNode.containerInfo),m=i.pendingProps,t===null?i.child=Li(i,null,m,o):Jt(t,i,m,o),i.child;case 11:return m=i.type,g=i.pendingProps,g=i.elementType===m?g:Ds(m,g),Ep(t,i,m,g,o);case 7:return Jt(t,i,i.pendingProps,o),i.child;case 8:return Jt(t,i,i.pendingProps.children,o),i.child;case 12:return Jt(t,i,i.pendingProps.children,o),i.child;case 10:e:{if(m=i.type._context,g=i.pendingProps,x=i.memoizedProps,b=g.value,at(wo,m._currentValue),m._currentValue=b,x!==null)if(Es(x.value,b)){if(x.children===g.children&&!zt.current){i=tn(t,i,o);break e}}else for(x=i.child,x!==null&&(x.return=i);x!==null;){var P=x.dependencies;if(P!==null){b=x.child;for(var O=P.firstContext;O!==null;){if(O.context===m){if(x.tag===1){O=en(-1,o&-o),O.tag=2;var Q=x.updateQueue;if(Q!==null){Q=Q.shared;var _=Q.pending;_===null?O.next=O:(O.next=_.next,_.next=O),Q.pending=O}}x.lanes|=o,O=x.alternate,O!==null&&(O.lanes|=o),Td(x.return,o,i),P.lanes|=o;break}O=O.next}}else if(x.tag===10)b=x.type===i.type?null:x.child;else if(x.tag===18){if(b=x.return,b===null)throw Error(a(341));b.lanes|=o,P=b.alternate,P!==null&&(P.lanes|=o),Td(b,o,i),b=x.sibling}else b=x.child;if(b!==null)b.return=x;else for(b=x;b!==null;){if(b===i){b=null;break}if(x=b.sibling,x!==null){x.return=b.return,b=x;break}b=b.return}x=b}Jt(t,i,g.children,o),i=i.child}return i;case 9:return g=i.type,m=i.pendingProps.children,Ui(i,o),g=vs(g),m=m(g),i.flags|=1,Jt(t,i,m,o),i.child;case 14:return m=i.type,g=Ds(m,i.pendingProps),g=Ds(m.type,g),kp(t,i,m,g,o);case 15:return Dp(t,i,i.type,i.pendingProps,o);case 17:return m=i.type,g=i.pendingProps,g=i.elementType===m?g:Ds(m,g),Bo(t,i),i.tag=1,qt(m)?(t=!0,fo(i)):t=!1,Ui(i,o),jp(i,m,g),qd(i,m,g,o),eu(null,i,m,!0,t,o);case 19:return Hp(t,i,o);case 22:return Mp(t,i,o)}throw Error(a(156,i.tag))};function lA(t,i){return Vh(t,i)}function $C(t,i,o,m){this.tag=t,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=m,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function js(t,i,o,m){return new $C(t,i,o,m)}function yu(t){return t=t.prototype,!(!t||!t.isReactComponent)}function ew(t){if(typeof t=="function")return yu(t)?1:0;if(t!=null){if(t=t.$$typeof,t===z)return 11;if(t===Qe)return 14}return 2}function Dn(t,i){var o=t.alternate;return o===null?(o=js(t.tag,i,t.key,t.mode),o.elementType=t.elementType,o.type=t.type,o.stateNode=t.stateNode,o.alternate=t,t.alternate=o):(o.pendingProps=i,o.type=t.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=t.flags&14680064,o.childLanes=t.childLanes,o.lanes=t.lanes,o.child=t.child,o.memoizedProps=t.memoizedProps,o.memoizedState=t.memoizedState,o.updateQueue=t.updateQueue,i=t.dependencies,o.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},o.sibling=t.sibling,o.index=t.index,o.ref=t.ref,o}function Yo(t,i,o,m,g,x){var b=2;if(m=t,typeof t=="function")yu(t)&&(b=1);else if(typeof t=="string")b=5;else e:switch(t){case k:return $n(o.children,g,x,i);case M:b=8,g|=8;break;case F:return t=js(12,o,i,g|2),t.elementType=F,t.lanes=x,t;case ae:return t=js(13,o,i,g),t.elementType=ae,t.lanes=x,t;case oe:return t=js(19,o,i,g),t.elementType=oe,t.lanes=x,t;case te:return Wo(o,g,x,i);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case W:b=10;break e;case ee:b=9;break e;case z:b=11;break e;case Qe:b=14;break e;case Se:b=16,m=null;break e}throw Error(a(130,t==null?t:typeof t,""))}return i=js(b,o,i,g),i.elementType=t,i.type=m,i.lanes=x,i}function $n(t,i,o,m){return t=js(7,t,m,i),t.lanes=o,t}function Wo(t,i,o,m){return t=js(22,t,m,i),t.elementType=te,t.lanes=o,t.stateNode={isHidden:!1},t}function ju(t,i,o){return t=js(6,t,null,i),t.lanes=o,t}function Cu(t,i,o){return i=js(4,t.children!==null?t.children:[],t.key,i),i.lanes=o,i.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},i}function tw(t,i,o,m,g){this.tag=i,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=zc(0),this.expirationTimes=zc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zc(0),this.identifierPrefix=m,this.onRecoverableError=g,this.mutableSourceEagerHydrationData=null}function wu(t,i,o,m,g,x,b,P,O){return t=new tw(t,i,o,P,O),i===1?(i=1,x===!0&&(i|=8)):i=0,x=js(3,null,null,i),t.current=x,x.stateNode=t,x.memoizedState={element:m,isDehydrated:o,cache:null,transitions:null,pendingSuspenseBoundaries:null},Od(x),t}function sw(t,i,o){var m=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s)}catch(n){console.error(n)}}return s(),ku.exports=hw(),ku.exports}var CA;function pw(){if(CA)return el;CA=1;var s=gw();return el.createRoot=s.createRoot,el.hydrateRoot=s.hydrateRoot,el}var Aw=pw();/** * 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 wA="popstate";function fw(s={}){function n(r,l){let{pathname:c,search:d,hash:u}=r.location;return sm("",{pathname:c,search:d,hash:u},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function a(r,l){return typeof l=="string"?l:gr(l)}return xw(n,a,null,s)}function At(s,n){if(s===!1||s===null||typeof s>"u")throw new Error(n)}function Ls(s,n){if(!s){typeof console<"u"&&console.warn(n);try{throw new Error(n)}catch{}}}function vw(){return Math.random().toString(36).substring(2,10)}function NA(s,n){return{usr:s.state,key:s.key,idx:n}}function sm(s,n,a=null,r){return{pathname:typeof s=="string"?s:s.pathname,search:"",hash:"",...typeof n=="string"?la(n):n,state:a,key:n&&n.key||r||vw()}}function gr({pathname:s="/",search:n="",hash:a=""}){return n&&n!=="?"&&(s+=n.charAt(0)==="?"?n:"?"+n),a&&a!=="#"&&(s+=a.charAt(0)==="#"?a:"#"+a),s}function la(s){let n={};if(s){let a=s.indexOf("#");a>=0&&(n.hash=s.substring(a),s=s.substring(0,a));let r=s.indexOf("?");r>=0&&(n.search=s.substring(r),s=s.substring(0,r)),s&&(n.pathname=s)}return n}function xw(s,n,a,r={}){let{window:l=document.defaultView,v5Compat:c=!1}=r,d=l.history,u="POP",h=null,A=f();A==null&&(A=0,d.replaceState({...d.state,idx:A},""));function f(){return(d.state||{idx:null}).idx}function v(){u="POP";let N=f(),R=N==null?null:N-A;A=N,h&&h({action:u,location:C.location,delta:R})}function y(N,R){u="PUSH";let B=sm(C.location,N,R);A=f()+1;let E=NA(B,A),S=C.createHref(B);try{d.pushState(E,"",S)}catch(D){if(D instanceof DOMException&&D.name==="DataCloneError")throw D;l.location.assign(S)}c&&h&&h({action:u,location:C.location,delta:1})}function w(N,R){u="REPLACE";let B=sm(C.location,N,R);A=f();let E=NA(B,A),S=C.createHref(B);d.replaceState(E,"",S),c&&h&&h({action:u,location:C.location,delta:0})}function j(N){return yw(N)}let C={get action(){return u},get location(){return s(l,d)},listen(N){if(h)throw new Error("A history only accepts one active listener");return l.addEventListener(wA,v),h=N,()=>{l.removeEventListener(wA,v),h=null}},createHref(N){return n(l,N)},createURL:j,encodeLocation(N){let R=j(N);return{pathname:R.pathname,search:R.search,hash:R.hash}},push:y,replace:w,go(N){return d.go(N)}};return C}function yw(s,n=!1){let a="http://localhost";typeof window<"u"&&(a=window.location.origin!=="null"?window.location.origin:window.location.href),At(a,"No window.location.(origin|href) available to create URL");let r=typeof s=="string"?s:gr(s);return r=r.replace(/ $/,"%20"),!n&&r.startsWith("//")&&(r=a+r),new URL(r,a)}function qf(s,n,a="/"){return jw(s,n,a,!1)}function jw(s,n,a,r){let l=typeof n=="string"?la(n):n,c=on(l.pathname||"/",a);if(c==null)return null;let d=Zf(s);Cw(d);let u=null;for(let h=0;u==null&&h{let f={relativePath:A===void 0?d.path||"":A,caseSensitive:d.caseSensitive===!0,childrenIndex:u,route:d};if(f.relativePath.startsWith("/")){if(!f.relativePath.startsWith(r)&&h)return;At(f.relativePath.startsWith(r),`Absolute route path "${f.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),f.relativePath=f.relativePath.slice(r.length)}let v=rn([r,f.relativePath]),y=a.concat(f);d.children&&d.children.length>0&&(At(d.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),Zf(d.children,n,y,v,h)),!(d.path==null&&!d.index)&&n.push({path:v,score:kw(v,d.index),routesMeta:y})};return s.forEach((d,u)=>{var h;if(d.path===""||!((h=d.path)!=null&&h.includes("?")))c(d,u);else for(let A of _f(d.path))c(d,u,!0,A)}),n}function _f(s){let n=s.split("/");if(n.length===0)return[];let[a,...r]=n,l=a.endsWith("?"),c=a.replace(/\?$/,"");if(r.length===0)return l?[c,""]:[c];let d=_f(r.join("/")),u=[];return u.push(...d.map(h=>h===""?c:[c,h].join("/"))),l&&u.push(...d),u.map(h=>s.startsWith("/")&&h===""?"/":h)}function Cw(s){s.sort((n,a)=>n.score!==a.score?a.score-n.score:Dw(n.routesMeta.map(r=>r.childrenIndex),a.routesMeta.map(r=>r.childrenIndex)))}var ww=/^:[\w-]+$/,Nw=3,bw=2,Sw=1,Iw=10,Ew=-2,bA=s=>s==="*";function kw(s,n){let a=s.split("/"),r=a.length;return a.some(bA)&&(r+=Ew),n&&(r+=bw),a.filter(l=>!bA(l)).reduce((l,c)=>l+(ww.test(c)?Nw:c===""?Sw:Iw),r)}function Dw(s,n){return s.length===n.length&&s.slice(0,-1).every((r,l)=>r===n[l])?s[s.length-1]-n[n.length-1]:0}function Mw(s,n,a=!1){let{routesMeta:r}=s,l={},c="/",d=[];for(let u=0;u{if(f==="*"){let j=u[y]||"";d=c.slice(0,c.length-j.length).replace(/(.)\/+$/,"$1")}const w=u[y];return v&&!w?A[f]=void 0:A[f]=(w||"").replace(/%2F/g,"/"),A},{}),pathname:c,pathnameBase:d,pattern:s}}function Pw(s,n=!1,a=!0){Ls(s==="*"||!s.endsWith("*")||s.endsWith("/*"),`Route path "${s}" will be treated as if it were "${s.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${s.replace(/\*$/,"/*")}".`);let r=[],l="^"+s.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(d,u,h)=>(r.push({paramName:u,isOptional:h!=null}),h?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return s.endsWith("*")?(r.push({paramName:"*"}),l+=s==="*"||s==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):a?l+="\\/*$":s!==""&&s!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,n?void 0:"i"),r]}function Rw(s){try{return s.split("/").map(n=>decodeURIComponent(n).replace(/\//g,"%2F")).join("/")}catch(n){return Ls(!1,`The URL path "${s}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${n}).`),s}}function on(s,n){if(n==="/")return s;if(!s.toLowerCase().startsWith(n.toLowerCase()))return null;let a=n.endsWith("/")?n.length-1:n.length,r=s.charAt(a);return r&&r!=="/"?null:s.slice(a)||"/"}var Tw=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function Bw(s,n="/"){let{pathname:a,search:r="",hash:l=""}=typeof s=="string"?la(s):s,c;return a?(a=a.replace(/\/\/+/g,"/"),a.startsWith("/")?c=SA(a.substring(1),"/"):c=SA(a,n)):c=n,{pathname:c,search:Hw(r),hash:Uw(l)}}function SA(s,n){let a=n.replace(/\/+$/,"").split("/");return s.split("/").forEach(l=>{l===".."?a.length>1&&a.pop():l!=="."&&a.push(l)}),a.length>1?a.join("/"):"/"}function Pu(s,n,a,r){return`Cannot include a '${s}' character in a manually specified \`to.${n}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${a}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function Ow(s){return s.filter((n,a)=>a===0||n.route.path&&n.route.path.length>0)}function $f(s){let n=Ow(s);return n.map((a,r)=>r===n.length-1?a.pathname:a.pathnameBase)}function ev(s,n,a,r=!1){let l;typeof s=="string"?l=la(s):(l={...s},At(!l.pathname||!l.pathname.includes("?"),Pu("?","pathname","search",l)),At(!l.pathname||!l.pathname.includes("#"),Pu("#","pathname","hash",l)),At(!l.search||!l.search.includes("#"),Pu("#","search","hash",l)));let c=s===""||l.pathname==="",d=c?"/":l.pathname,u;if(d==null)u=a;else{let v=n.length-1;if(!r&&d.startsWith("..")){let y=d.split("/");for(;y[0]==="..";)y.shift(),v-=1;l.pathname=y.join("/")}u=v>=0?n[v]:"/"}let h=Bw(l,u),A=d&&d!=="/"&&d.endsWith("/"),f=(c||d===".")&&a.endsWith("/");return!h.pathname.endsWith("/")&&(A||f)&&(h.pathname+="/"),h}var rn=s=>s.join("/").replace(/\/\/+/g,"/"),Lw=s=>s.replace(/\/+$/,"").replace(/^\/*/,"/"),Hw=s=>!s||s==="?"?"":s.startsWith("?")?s:"?"+s,Uw=s=>!s||s==="#"?"":s.startsWith("#")?s:"#"+s,Fw=class{constructor(s,n,a,r=!1){this.status=s,this.statusText=n||"",this.internal=r,a instanceof Error?(this.data=a.toString(),this.error=a):this.data=a}};function Vw(s){return s!=null&&typeof s.status=="number"&&typeof s.statusText=="string"&&typeof s.internal=="boolean"&&"data"in s}function Gw(s){return s.map(n=>n.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var tv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function sv(s,n){let a=s;if(typeof a!="string"||!Tw.test(a))return{absoluteURL:void 0,isExternal:!1,to:a};let r=a,l=!1;if(tv)try{let c=new URL(window.location.href),d=a.startsWith("//")?new URL(c.protocol+a):new URL(a),u=on(d.pathname,n);d.origin===c.origin&&u!=null?a=u+d.search+d.hash:l=!0}catch{Ls(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:l,to:a}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var nv=["POST","PUT","PATCH","DELETE"];new Set(nv);var Kw=["GET",...nv];new Set(Kw);var ca=p.createContext(null);ca.displayName="DataRouter";var Zl=p.createContext(null);Zl.displayName="DataRouterState";var Qw=p.createContext(!1),iv=p.createContext({isTransitioning:!1});iv.displayName="ViewTransition";var Jw=p.createContext(new Map);Jw.displayName="Fetchers";var Yw=p.createContext(null);Yw.displayName="Await";var bs=p.createContext(null);bs.displayName="Navigation";var jr=p.createContext(null);jr.displayName="Location";var Ws=p.createContext({outlet:null,matches:[],isDataRoute:!1});Ws.displayName="Route";var Em=p.createContext(null);Em.displayName="RouteError";var av="REACT_ROUTER_ERROR",Ww="REDIRECT",Xw="ROUTE_ERROR_RESPONSE";function zw(s){if(s.startsWith(`${av}:${Ww}:{`))try{let n=JSON.parse(s.slice(28));if(typeof n=="object"&&n&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.location=="string"&&typeof n.reloadDocument=="boolean"&&typeof n.replace=="boolean")return n}catch{}}function qw(s){if(s.startsWith(`${av}:${Xw}:{`))try{let n=JSON.parse(s.slice(40));if(typeof n=="object"&&n&&typeof n.status=="number"&&typeof n.statusText=="string")return new Fw(n.status,n.statusText,n.data)}catch{}}function Zw(s,{relative:n}={}){At(Cr(),"useHref() may be used only in the context of a component.");let{basename:a,navigator:r}=p.useContext(bs),{hash:l,pathname:c,search:d}=wr(s,{relative:n}),u=c;return a!=="/"&&(u=c==="/"?a:rn([a,c])),r.createHref({pathname:u,search:d,hash:l})}function Cr(){return p.useContext(jr)!=null}function St(){return At(Cr(),"useLocation() may be used only in the context of a component."),p.useContext(jr).location}var rv="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function ov(s){p.useContext(bs).static||p.useLayoutEffect(s)}function ue(){let{isDataRoute:s}=p.useContext(Ws);return s?dN():_w()}function _w(){At(Cr(),"useNavigate() may be used only in the context of a component.");let s=p.useContext(ca),{basename:n,navigator:a}=p.useContext(bs),{matches:r}=p.useContext(Ws),{pathname:l}=St(),c=JSON.stringify($f(r)),d=p.useRef(!1);return ov(()=>{d.current=!0}),p.useCallback((h,A={})=>{if(Ls(d.current,rv),!d.current)return;if(typeof h=="number"){a.go(h);return}let f=ev(h,JSON.parse(c),l,A.relative==="path");s==null&&n!=="/"&&(f.pathname=f.pathname==="/"?n:rn([n,f.pathname])),(A.replace?a.replace:a.push)(f,A.state,A)},[n,a,c,l,s])}p.createContext(null);function us(){let{matches:s}=p.useContext(Ws),n=s[s.length-1];return n?n.params:{}}function wr(s,{relative:n}={}){let{matches:a}=p.useContext(Ws),{pathname:r}=St(),l=JSON.stringify($f(a));return p.useMemo(()=>ev(s,JSON.parse(l),r,n==="path"),[s,l,r,n])}function $w(s,n){return lv(s,n)}function lv(s,n,a,r,l){var B;At(Cr(),"useRoutes() may be used only in the context of a component.");let{navigator:c}=p.useContext(bs),{matches:d}=p.useContext(Ws),u=d[d.length-1],h=u?u.params:{},A=u?u.pathname:"/",f=u?u.pathnameBase:"/",v=u&&u.route;{let E=v&&v.path||"";dv(A,!v||E.endsWith("*")||E.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${A}" (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 y=St(),w;if(n){let E=typeof n=="string"?la(n):n;At(f==="/"||((B=E.pathname)==null?void 0:B.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 "${E.pathname}" was given in the \`location\` prop.`),w=E}else w=y;let j=w.pathname||"/",C=j;if(f!=="/"){let E=f.replace(/^\//,"").split("/");C="/"+j.replace(/^\//,"").split("/").slice(E.length).join("/")}let N=qf(s,{pathname:C});Ls(v||N!=null,`No routes matched location "${w.pathname}${w.search}${w.hash}" `),Ls(N==null||N[N.length-1].route.element!==void 0||N[N.length-1].route.Component!==void 0||N[N.length-1].route.lazy!==void 0,`Matched leaf route at location "${w.pathname}${w.search}${w.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 R=iN(N&&N.map(E=>Object.assign({},E,{params:Object.assign({},h,E.params),pathname:rn([f,c.encodeLocation?c.encodeLocation(E.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:E.pathname]),pathnameBase:E.pathnameBase==="/"?f:rn([f,c.encodeLocation?c.encodeLocation(E.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:E.pathnameBase])})),d,a,r,l);return n&&R?p.createElement(jr.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...w},navigationType:"POP"}},R):R}function eN(){let s=cN(),n=Vw(s)?`${s.status} ${s.statusText}`:s instanceof Error?s.message:JSON.stringify(s),a=s instanceof Error?s.stack:null,r="rgba(200,200,200, 0.5)",l={padding:"0.5rem",backgroundColor:r},c={padding:"2px 4px",backgroundColor:r},d=null;return console.error("Error handled by React Router default ErrorBoundary:",s),d=p.createElement(p.Fragment,null,p.createElement("p",null,"💿 Hey developer 👋"),p.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",p.createElement("code",{style:c},"ErrorBoundary")," or"," ",p.createElement("code",{style:c},"errorElement")," prop on your route.")),p.createElement(p.Fragment,null,p.createElement("h2",null,"Unexpected Application Error!"),p.createElement("h3",{style:{fontStyle:"italic"}},n),a?p.createElement("pre",{style:l},a):null,d)}var tN=p.createElement(eN,null),cv=class extends p.Component{constructor(s){super(s),this.state={location:s.location,revalidation:s.revalidation,error:s.error}}static getDerivedStateFromError(s){return{error:s}}static getDerivedStateFromProps(s,n){return n.location!==s.location||n.revalidation!=="idle"&&s.revalidation==="idle"?{error:s.error,location:s.location,revalidation:s.revalidation}:{error:s.error!==void 0?s.error:n.error,location:n.location,revalidation:s.revalidation||n.revalidation}}componentDidCatch(s,n){this.props.onError?this.props.onError(s,n):console.error("React Router caught the following error during render",s)}render(){let s=this.state.error;if(this.context&&typeof s=="object"&&s&&"digest"in s&&typeof s.digest=="string"){const a=qw(s.digest);a&&(s=a)}let n=s!==void 0?p.createElement(Ws.Provider,{value:this.props.routeContext},p.createElement(Em.Provider,{value:s,children:this.props.component})):this.props.children;return this.context?p.createElement(sN,{error:s},n):n}};cv.contextType=Qw;var Ru=new WeakMap;function sN({children:s,error:n}){let{basename:a}=p.useContext(bs);if(typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){let r=zw(n.digest);if(r){let l=Ru.get(n);if(l)throw l;let c=sv(r.location,a);if(tv&&!Ru.get(n))if(c.isExternal||r.reloadDocument)window.location.href=c.absoluteURL||c.to;else{const d=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(c.to,{replace:r.replace}));throw Ru.set(n,d),d}return p.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c.absoluteURL||c.to}`})}}return s}function nN({routeContext:s,match:n,children:a}){let r=p.useContext(ca);return r&&r.static&&r.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=n.route.id),p.createElement(Ws.Provider,{value:s},a)}function iN(s,n=[],a=null,r=null,l=null){if(s==null){if(!a)return null;if(a.errors)s=a.matches;else if(n.length===0&&!a.initialized&&a.matches.length>0)s=a.matches;else return null}let c=s,d=a==null?void 0:a.errors;if(d!=null){let f=c.findIndex(v=>v.route.id&&(d==null?void 0:d[v.route.id])!==void 0);At(f>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(d).join(",")}`),c=c.slice(0,Math.min(c.length,f+1))}let u=!1,h=-1;if(a)for(let f=0;f=0?c=c.slice(0,h+1):c=[c[0]];break}}}let A=a&&r?(f,v)=>{var y,w;r(f,{location:a.location,params:((w=(y=a.matches)==null?void 0:y[0])==null?void 0:w.params)??{},unstable_pattern:Gw(a.matches),errorInfo:v})}:void 0;return c.reduceRight((f,v,y)=>{let w,j=!1,C=null,N=null;a&&(w=d&&v.route.id?d[v.route.id]:void 0,C=v.route.errorElement||tN,u&&(h<0&&y===0?(dv("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),j=!0,N=null):h===y&&(j=!0,N=v.route.hydrateFallbackElement||null)));let R=n.concat(c.slice(0,y+1)),B=()=>{let E;return w?E=C:j?E=N:v.route.Component?E=p.createElement(v.route.Component,null):v.route.element?E=v.route.element:E=f,p.createElement(nN,{match:v,routeContext:{outlet:f,matches:R,isDataRoute:a!=null},children:E})};return a&&(v.route.ErrorBoundary||v.route.errorElement||y===0)?p.createElement(cv,{location:a.location,revalidation:a.revalidation,component:C,error:w,children:B(),routeContext:{outlet:null,matches:R,isDataRoute:!0},onError:A}):B()},null)}function km(s){return`${s} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function aN(s){let n=p.useContext(ca);return At(n,km(s)),n}function rN(s){let n=p.useContext(Zl);return At(n,km(s)),n}function oN(s){let n=p.useContext(Ws);return At(n,km(s)),n}function Dm(s){let n=oN(s),a=n.matches[n.matches.length-1];return At(a.route.id,`${s} can only be used on routes that contain a unique "id"`),a.route.id}function lN(){return Dm("useRouteId")}function cN(){var r;let s=p.useContext(Em),n=rN("useRouteError"),a=Dm("useRouteError");return s!==void 0?s:(r=n.errors)==null?void 0:r[a]}function dN(){let{router:s}=aN("useNavigate"),n=Dm("useNavigate"),a=p.useRef(!1);return ov(()=>{a.current=!0}),p.useCallback(async(l,c={})=>{Ls(a.current,rv),a.current&&(typeof l=="number"?await s.navigate(l):await s.navigate(l,{fromRouteId:n,...c}))},[s,n])}var IA={};function dv(s,n,a){!n&&!IA[s]&&(IA[s]=!0,Ls(!1,a))}p.memo(uN);function uN({routes:s,future:n,state:a,onError:r}){return lv(s,void 0,a,r,n)}function ie(s){At(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function mN({basename:s="/",children:n=null,location:a,navigationType:r="POP",navigator:l,static:c=!1,unstable_useTransitions:d}){At(!Cr(),"You cannot render a inside another . You should never have more than one in your app.");let u=s.replace(/^\/*/,"/"),h=p.useMemo(()=>({basename:u,navigator:l,static:c,unstable_useTransitions:d,future:{}}),[u,l,c,d]);typeof a=="string"&&(a=la(a));let{pathname:A="/",search:f="",hash:v="",state:y=null,key:w="default"}=a,j=p.useMemo(()=>{let C=on(A,u);return C==null?null:{location:{pathname:C,search:f,hash:v,state:y,key:w},navigationType:r}},[u,A,f,v,y,w,r]);return Ls(j!=null,` is not able to match the URL "${A}${f}${v}" because it does not start with the basename, so the won't render anything.`),j==null?null:p.createElement(bs.Provider,{value:h},p.createElement(jr.Provider,{children:n,value:j}))}function hN({children:s,location:n}){return $w(nm(s),n)}function nm(s,n=[]){let a=[];return p.Children.forEach(s,(r,l)=>{if(!p.isValidElement(r))return;let c=[...n,l];if(r.type===p.Fragment){a.push.apply(a,nm(r.props.children,c));return}At(r.type===ie,`[${typeof r.type=="string"?r.type:r.type.name}] is not a component. All component children of must be a or `),At(!r.props.index||!r.props.children,"An index route cannot have child routes.");let d={id:r.props.id||c.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&&(d.children=nm(r.props.children,c)),a.push(d)}),a}var pl="get",Al="application/x-www-form-urlencoded";function _l(s){return typeof HTMLElement<"u"&&s instanceof HTMLElement}function gN(s){return _l(s)&&s.tagName.toLowerCase()==="button"}function pN(s){return _l(s)&&s.tagName.toLowerCase()==="form"}function AN(s){return _l(s)&&s.tagName.toLowerCase()==="input"}function fN(s){return!!(s.metaKey||s.altKey||s.ctrlKey||s.shiftKey)}function vN(s,n){return s.button===0&&(!n||n==="_self")&&!fN(s)}function im(s=""){return new URLSearchParams(typeof s=="string"||Array.isArray(s)||s instanceof URLSearchParams?s:Object.keys(s).reduce((n,a)=>{let r=s[a];return n.concat(Array.isArray(r)?r.map(l=>[a,l]):[[a,r]])},[]))}function xN(s,n){let a=im(s);return n&&n.forEach((r,l)=>{a.has(l)||n.getAll(l).forEach(c=>{a.append(l,c)})}),a}var tl=null;function yN(){if(tl===null)try{new FormData(document.createElement("form"),0),tl=!1}catch{tl=!0}return tl}var jN=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Tu(s){return s!=null&&!jN.has(s)?(Ls(!1,`"${s}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Al}"`),null):s}function CN(s,n){let a,r,l,c,d;if(pN(s)){let u=s.getAttribute("action");r=u?on(u,n):null,a=s.getAttribute("method")||pl,l=Tu(s.getAttribute("enctype"))||Al,c=new FormData(s)}else if(gN(s)||AN(s)&&(s.type==="submit"||s.type==="image")){let u=s.form;if(u==null)throw new Error('Cannot submit a