const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/BlogPage-CPMgO1q2.js","assets/allBlogPosts-CJIa35By.js","assets/book-open-CEur_MWx.js","assets/BlogPostPage-D06KZjAF.js","assets/index-CrcJ6Rlk.js","assets/Breadcrumbs-DyTBSsKY.js","assets/arrow-left-CV14AyUs.js","assets/EnhancedAboutPage-MB50LmxU.js","assets/zap-CDFi0FIE.js","assets/dollar-sign-DoTvm5wk.js","assets/headphones-CT30Z3Z9.js","assets/TermsPage-87tCmbPr.js","assets/file-text-arCgx_YP.js","assets/PrivacyPage-CIThLEiZ.js","assets/RefundPolicyPage-8q4dGsH1.js","assets/AirlineDealsPage-dLWhK_1q.js","assets/generatePageSchema-C4WYWTZL.js","assets/ContactPage-XbF88oMB.js","assets/textarea-BCgiTF9H.js","assets/message-square-BJ_awZHJ.js","assets/send-CGVQB55A.js","assets/NotFoundPage-BNLChiUj.js","assets/routes-TcQzwufy.js","assets/cities-D9IZif9B.js","assets/CityDealsPage-CuGTcnB4.js","assets/LeadCaptureForm-DYEjn6fv.js","assets/user-Ciwnoh0g.js","assets/RoutePage-DfRQa10G.js","assets/AirlineCallPage-Dg7YEDrD.js","assets/RegionalDealsPage-Dj8LhJaf.js","assets/EnhancedLeadForm-0z1I0Bmi.js","assets/DealsOverviewPage-_Ek4sOYp.js","assets/ParserPage-DU-9-IC2.js"])))=>i.map(i=>d[i]); function If(a,o){for(var s=0;sc[d]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const d of document.querySelectorAll('link[rel="modulepreload"]'))c(d);new MutationObserver(d=>{for(const p of d)if(p.type==="childList")for(const f of p.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&c(f)}).observe(document,{childList:!0,subtree:!0});function s(d){const p={};return d.integrity&&(p.integrity=d.integrity),d.referrerPolicy&&(p.referrerPolicy=d.referrerPolicy),d.crossOrigin==="use-credentials"?p.credentials="include":d.crossOrigin==="anonymous"?p.credentials="omit":p.credentials="same-origin",p}function c(d){if(d.ep)return;d.ep=!0;const p=s(d);fetch(d.href,p)}})();function Xd(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var sl={exports:{}},Ha={},ll={exports:{}},ye={};/** * @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 hd;function Tf(){if(hd)return ye;hd=1;var a=Symbol.for("react.element"),o=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),p=Symbol.for("react.provider"),f=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),b=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),h=Symbol.iterator;function C(_){return _===null||typeof _!="object"?null:(_=h&&_[h]||_["@@iterator"],typeof _=="function"?_:null)}var R={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},M=Object.assign,I={};function F(_,P,V){this.props=_,this.context=P,this.refs=I,this.updater=V||R}F.prototype.isReactComponent={},F.prototype.setState=function(_,P){if(typeof _!="object"&&typeof _!="function"&&_!=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,_,P,"setState")},F.prototype.forceUpdate=function(_){this.updater.enqueueForceUpdate(this,_,"forceUpdate")};function D(){}D.prototype=F.prototype;function ae(_,P,V){this.props=_,this.context=P,this.refs=I,this.updater=V||R}var G=ae.prototype=new D;G.constructor=ae,M(G,F.prototype),G.isPureReactComponent=!0;var oe=Array.isArray,me=Object.prototype.hasOwnProperty,se={current:null},xe={key:!0,ref:!0,__self:!0,__source:!0};function U(_,P,V){var Y,$={},J=null,fe=null;if(P!=null)for(Y in P.ref!==void 0&&(fe=P.ref),P.key!==void 0&&(J=""+P.key),P)me.call(P,Y)&&!xe.hasOwnProperty(Y)&&($[Y]=P[Y]);var Z=arguments.length-2;if(Z===1)$.children=V;else if(1>>1,P=B[_];if(0>>1;_d($,E))Jd(fe,$)?(B[_]=fe,B[J]=E,_=J):(B[_]=$,B[Y]=E,_=Y);else if(Jd(fe,E))B[_]=fe,B[J]=E,_=J;else break e}}return W}function d(B,W){var E=B.sortIndex-W.sortIndex;return E!==0?E:B.id-W.id}if(typeof performance=="object"&&typeof performance.now=="function"){var p=performance;a.unstable_now=function(){return p.now()}}else{var f=Date,g=f.now();a.unstable_now=function(){return f.now()-g}}var y=[],b=[],w=1,h=null,C=3,R=!1,M=!1,I=!1,F=typeof setTimeout=="function"?setTimeout:null,D=typeof clearTimeout=="function"?clearTimeout:null,ae=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(B){for(var W=s(b);W!==null;){if(W.callback===null)c(b);else if(W.startTime<=B)c(b),W.sortIndex=W.expirationTime,o(y,W);else break;W=s(b)}}function oe(B){if(I=!1,G(B),!M)if(s(y)!==null)M=!0,ie(me);else{var W=s(b);W!==null&&ne(oe,W.startTime-B)}}function me(B,W){M=!1,I&&(I=!1,D(U),U=-1),R=!0;var E=C;try{for(G(W),h=s(y);h!==null&&(!(h.expirationTime>W)||B&&!Ge());){var _=h.callback;if(typeof _=="function"){h.callback=null,C=h.priorityLevel;var P=_(h.expirationTime<=W);W=a.unstable_now(),typeof P=="function"?h.callback=P:h===s(y)&&c(y),G(W)}else c(y);h=s(y)}if(h!==null)var V=!0;else{var Y=s(b);Y!==null&&ne(oe,Y.startTime-W),V=!1}return V}finally{h=null,C=E,R=!1}}var se=!1,xe=null,U=-1,ve=5,je=-1;function Ge(){return!(a.unstable_now()-jeB||125_?(B.sortIndex=E,o(b,B),s(y)===null&&B===s(b)&&(I?(D(U),U=-1):I=!0,ne(oe,E-_))):(B.sortIndex=P,o(y,B),M||R||(M=!0,ie(me))),B},a.unstable_shouldYield=Ge,a.unstable_wrapCallback=function(B){var W=C;return function(){var E=C;C=W;try{return B.apply(this,arguments)}finally{C=E}}}})(dl)),dl}var wd;function Mf(){return wd||(wd=1,ul.exports=zf()),ul.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 bd;function Bf(){if(bd)return _t;bd=1;var a=Cl(),o=Mf();function s(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"),y=Object.prototype.hasOwnProperty,b=/^[: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]*$/,w={},h={};function C(e){return y.call(h,e)?!0:y.call(w,e)?!1:b.test(e)?h[e]=!0:(w[e]=!0,!1)}function R(e,t,n,i){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return i?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function M(e,t,n,i){if(t===null||typeof t>"u"||R(e,t,n,i))return!0;if(i)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 I(e,t,n,i,l,u,m){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=i,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=u,this.removeEmptyString=m}var F={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){F[e]=new I(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];F[t]=new I(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){F[e]=new I(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){F[e]=new I(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){F[e]=new I(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){F[e]=new I(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){F[e]=new I(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){F[e]=new I(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){F[e]=new I(e,5,!1,e.toLowerCase(),null,!1,!1)});var D=/[\-:]([a-z])/g;function ae(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(D,ae);F[t]=new I(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(D,ae);F[t]=new I(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(D,ae);F[t]=new I(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){F[e]=new I(e,1,!1,e.toLowerCase(),null,!1,!1)}),F.xlinkHref=new I("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){F[e]=new I(e,1,!1,e.toLowerCase(),null,!0,!0)});function G(e,t,n,i){var l=F.hasOwnProperty(t)?F[t]:null;(l!==null?l.type!==0:i||!(2v||l[m]!==u[v]){var A=` `+l[m].replace(" at new "," at ");return e.displayName&&A.includes("")&&(A=A.replace("",e.displayName)),A}while(1<=m&&0<=v);break}}}finally{V=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?P(e):""}function $(e){switch(e.tag){case 5:return P(e.type);case 16:return P("Lazy");case 13:return P("Suspense");case 19:return P("SuspenseList");case 0:case 2:case 15:return e=Y(e.type,!1),e;case 11:return e=Y(e.type.render,!1),e;case 1:return e=Y(e.type,!0),e;default:return""}}function J(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 xe:return"Fragment";case se:return"Portal";case ve:return"Profiler";case U:return"StrictMode";case be:return"Suspense";case Ee:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ge:return(e.displayName||"Context")+".Consumer";case je:return(e._context.displayName||"Context")+".Provider";case ke:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case we:return t=e.displayName||null,t!==null?t:J(e.type)||"Memo";case ie:t=e._payload,e=e._init;try{return J(e(t))}catch{}}return null}function fe(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 J(t);case 8:return t===U?"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 Z(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function le(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ze(e){var t=le(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),i=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,u=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(m){i=""+m,u.call(this,m)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return i},setValue:function(m){i=""+m},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ot(e){e._valueTracker||(e._valueTracker=ze(e))}function st(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),i="";return e&&(i=le(e)?e.checked?"true":"false":e.value),e=i,e!==n?(t.setValue(e),!0):!1}function It(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 gt(e,t){var n=t.checked;return E({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function _r(e,t){var n=t.defaultValue==null?"":t.defaultValue,i=t.checked!=null?t.checked:t.defaultChecked;n=Z(t.value!=null?t.value:n),e._wrapperState={initialChecked:i,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function ce(e,t){t=t.checked,t!=null&&G(e,"checked",t,!1)}function Pe(e,t){ce(e,t);var n=Z(t.value),i=t.type;if(n!=null)i==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(i==="submit"||i==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?lt(e,t.type,n):t.hasOwnProperty("defaultValue")&<(e,t.type,Z(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Nn(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var i=t.type;if(!(i!=="submit"&&i!=="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 lt(e,t,n){(t!=="number"||It(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var cn=Array.isArray;function Zt(e,t,n,i){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=tr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Tt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var _n={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},kn=["Webkit","ms","Moz","O"];Object.keys(_n).forEach(function(e){kn.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),_n[t]=_n[e]})});function ei(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||_n.hasOwnProperty(e)&&_n[e]?(""+t).trim():t+"px"}function ti(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var i=n.indexOf("--")===0,l=ei(n,t[n],i);n==="float"&&(n="cssFloat"),i?e.setProperty(n,l):e[n]=l}}var ni=E({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 Sr(e,t){if(t){if(ni[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(s(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(s(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(s(61))}if(t.style!=null&&typeof t.style!="object")throw Error(s(62))}}function ia(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 nr=null;function Rt(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var oa=null,Sn=null,dn=null;function sa(e){if(e=ja(e)){if(typeof oa!="function")throw Error(s(280));var t=e.stateNode;t&&(t=Ni(t),oa(e.stateNode,e.type,t))}}function he(e){Sn?dn?dn.push(e):dn=[e]:Sn=e}function He(){if(Sn){var e=Sn,t=dn;if(dn=Sn=null,sa(e),t)for(e=0;e>>=0,e===0?32:31-(Ym(e)/Qm|0)|0}var ii=64,oi=4194304;function ca(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 si(e,t){var n=e.pendingLanes;if(n===0)return 0;var i=0,l=e.suspendedLanes,u=e.pingedLanes,m=n&268435455;if(m!==0){var v=m&~l;v!==0?i=ca(v):(u&=m,u!==0&&(i=ca(u)))}else m=n&~l,m!==0?i=ca(m):u!==0&&(i=ca(u));if(i===0)return 0;if(t!==0&&t!==i&&(t&l)===0&&(l=i&-i,u=t&-t,l>=u||l===16&&(u&4194240)!==0))return t;if((i&4)!==0&&(i|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=i;0n;n++)t.push(e);return t}function ua(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-$t(t),e[t]=n}function Zm(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 i=e.eventTimes;for(e=e.expirationTimes;0=ya),lc=" ",cc=!1;function uc(e,t){switch(e){case"keyup":return jp.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function dc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Er=!1;function Ep(e,t){switch(e){case"compositionend":return dc(t);case"keypress":return t.which!==32?null:(cc=!0,lc);case"textInput":return e=t.data,e===lc&&cc?null:e;default:return null}}function Fp(e,t){if(Er)return e==="compositionend"||!Uo&&uc(e,t)?(e=nc(),mi=Ro=Tn=null,Er=!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=i}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=yc(n)}}function wc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?wc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function bc(){for(var e=window,t=It();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=It(e.document)}return t}function $o(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 Bp(e){var t=bc(),n=e.focusedElem,i=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&wc(n.ownerDocument.documentElement,n)){if(i!==null&&$o(n)){if(t=i.start,e=i.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 l=n.textContent.length,u=Math.min(i.start,l);i=i.end===void 0?u:Math.min(i.end,l),!e.extend&&u>i&&(l=i,i=u,u=l),l=vc(n,u);var m=vc(n,i);l&&m&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==m.node||e.focusOffset!==m.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),u>i?(e.addRange(t),e.extend(m.node,m.offset)):(t.setEnd(m.node,m.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,Fr=null,Wo=null,Aa=null,Ko=!1;function Ac(e,t,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ko||Fr==null||Fr!==It(i)||(i=Fr,"selectionStart"in i&&$o(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),Aa&&ba(Aa,i)||(Aa=i,i=wi(Wo,"onSelect"),0Rr||(e.current=as[Rr],as[Rr]=null,Rr--)}function Fe(e,t){Rr++,as[Rr]=e.current,e.current=t}var Mn={},ut=zn(Mn),vt=zn(!1),ir=Mn;function Lr(e,t){var n=e.type.contextTypes;if(!n)return Mn;var i=e.stateNode;if(i&&i.__reactInternalMemoizedUnmaskedChildContext===t)return i.__reactInternalMemoizedMaskedChildContext;var l={},u;for(u in n)l[u]=t[u];return i&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function wt(e){return e=e.childContextTypes,e!=null}function _i(){Te(vt),Te(ut)}function zc(e,t,n){if(ut.current!==Mn)throw Error(s(168));Fe(ut,t),Fe(vt,n)}function Mc(e,t,n){var i=e.stateNode;if(t=t.childContextTypes,typeof i.getChildContext!="function")return n;i=i.getChildContext();for(var l in i)if(!(l in t))throw Error(s(108,fe(e)||"Unknown",l));return E({},n,i)}function ki(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Mn,ir=ut.current,Fe(ut,e),Fe(vt,vt.current),!0}function Bc(e,t,n){var i=e.stateNode;if(!i)throw Error(s(169));n?(e=Mc(e,t,ir),i.__reactInternalMemoizedMergedChildContext=e,Te(vt),Te(ut),Fe(ut,e)):Te(vt),Fe(vt,n)}var pn=null,Si=!1,is=!1;function Oc(e){pn===null?pn=[e]:pn.push(e)}function qp(e){Si=!0,Oc(e)}function Bn(){if(!is&&pn!==null){is=!0;var e=0,t=Se;try{var n=pn;for(Se=1;e>=m,l-=m,fn=1<<32-$t(t)+l|n<pe?(nt=de,de=null):nt=de.sibling;var _e=T(k,de,S[pe],O);if(_e===null){de===null&&(de=nt);break}e&&de&&_e.alternate===null&&t(k,de),N=u(_e,N,pe),ue===null?re=_e:ue.sibling=_e,ue=_e,de=nt}if(pe===S.length)return n(k,de),Re&&sr(k,pe),re;if(de===null){for(;pepe?(nt=de,de=null):nt=de.sibling;var Yn=T(k,de,_e.value,O);if(Yn===null){de===null&&(de=nt);break}e&&de&&Yn.alternate===null&&t(k,de),N=u(Yn,N,pe),ue===null?re=Yn:ue.sibling=Yn,ue=Yn,de=nt}if(_e.done)return n(k,de),Re&&sr(k,pe),re;if(de===null){for(;!_e.done;pe++,_e=S.next())_e=z(k,_e.value,O),_e!==null&&(N=u(_e,N,pe),ue===null?re=_e:ue.sibling=_e,ue=_e);return Re&&sr(k,pe),re}for(de=i(k,de);!_e.done;pe++,_e=S.next())_e=K(de,k,pe,_e.value,O),_e!==null&&(e&&_e.alternate!==null&&de.delete(_e.key===null?pe:_e.key),N=u(_e,N,pe),ue===null?re=_e:ue.sibling=_e,ue=_e);return e&&de.forEach(function(Pf){return t(k,Pf)}),Re&&sr(k,pe),re}function $e(k,N,S,O){if(typeof S=="object"&&S!==null&&S.type===xe&&S.key===null&&(S=S.props.children),typeof S=="object"&&S!==null){switch(S.$$typeof){case me:e:{for(var re=S.key,ue=N;ue!==null;){if(ue.key===re){if(re=S.type,re===xe){if(ue.tag===7){n(k,ue.sibling),N=l(ue,S.props.children),N.return=k,k=N;break e}}else if(ue.elementType===re||typeof re=="object"&&re!==null&&re.$$typeof===ie&&Kc(re)===ue.type){n(k,ue.sibling),N=l(ue,S.props),N.ref=Ca(k,ue,S),N.return=k,k=N;break e}n(k,ue);break}else t(k,ue);ue=ue.sibling}S.type===xe?(N=hr(S.props.children,k.mode,O,S.key),N.return=k,k=N):(O=eo(S.type,S.key,S.props,null,k.mode,O),O.ref=Ca(k,N,S),O.return=k,k=O)}return m(k);case se:e:{for(ue=S.key;N!==null;){if(N.key===ue)if(N.tag===4&&N.stateNode.containerInfo===S.containerInfo&&N.stateNode.implementation===S.implementation){n(k,N.sibling),N=l(N,S.children||[]),N.return=k,k=N;break e}else{n(k,N);break}else t(k,N);N=N.sibling}N=nl(S,k.mode,O),N.return=k,k=N}return m(k);case ie:return ue=S._init,$e(k,N,ue(S._payload),O)}if(cn(S))return q(k,N,S,O);if(W(S))return te(k,N,S,O);Fi(k,S)}return typeof S=="string"&&S!==""||typeof S=="number"?(S=""+S,N!==null&&N.tag===6?(n(k,N.sibling),N=l(N,S),N.return=k,k=N):(n(k,N),N=tl(S,k.mode,O),N.return=k,k=N),m(k)):n(k,N)}return $e}var Or=Gc(!0),Yc=Gc(!1),Di=zn(null),Pi=null,Ur=null,ds=null;function ms(){ds=Ur=Pi=null}function ps(e){var t=Di.current;Te(Di),e._currentValue=t}function fs(e,t,n){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===n)break;e=e.return}}function Hr(e,t){Pi=e,ds=Ur=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(bt=!0),e.firstContext=null)}function Bt(e){var t=e._currentValue;if(ds!==e)if(e={context:e,memoizedValue:t,next:null},Ur===null){if(Pi===null)throw Error(s(308));Ur=e,Pi.dependencies={lanes:0,firstContext:e}}else Ur=Ur.next=e;return t}var lr=null;function hs(e){lr===null?lr=[e]:lr.push(e)}function Qc(e,t,n,i){var l=t.interleaved;return l===null?(n.next=n,hs(t)):(n.next=l.next,l.next=n),t.interleaved=n,gn(e,i)}function gn(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 On=!1;function gs(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Jc(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 xn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Un(e,t,n){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,(Ae&2)!==0){var l=i.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),i.pending=t,gn(e,n)}return l=i.interleaved,l===null?(t.next=t,hs(i)):(t.next=l.next,l.next=t),i.interleaved=t,gn(e,n)}function Ii(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,Fo(e,n)}}function qc(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,n===i)){var l=null,u=null;if(n=n.firstBaseUpdate,n!==null){do{var m={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};u===null?l=u=m:u=u.next=m,n=n.next}while(n!==null);u===null?l=u=t:u=u.next=t}else l=u=t;n={baseState:i.baseState,firstBaseUpdate:l,lastBaseUpdate:u,shared:i.shared,effects:i.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ti(e,t,n,i){var l=e.updateQueue;On=!1;var u=l.firstBaseUpdate,m=l.lastBaseUpdate,v=l.shared.pending;if(v!==null){l.shared.pending=null;var A=v,j=A.next;A.next=null,m===null?u=j:m.next=j,m=A;var L=e.alternate;L!==null&&(L=L.updateQueue,v=L.lastBaseUpdate,v!==m&&(v===null?L.firstBaseUpdate=j:v.next=j,L.lastBaseUpdate=A))}if(u!==null){var z=l.baseState;m=0,L=j=A=null,v=u;do{var T=v.lane,K=v.eventTime;if((i&T)===T){L!==null&&(L=L.next={eventTime:K,lane:0,tag:v.tag,payload:v.payload,callback:v.callback,next:null});e:{var q=e,te=v;switch(T=t,K=n,te.tag){case 1:if(q=te.payload,typeof q=="function"){z=q.call(K,z,T);break e}z=q;break e;case 3:q.flags=q.flags&-65537|128;case 0:if(q=te.payload,T=typeof q=="function"?q.call(K,z,T):q,T==null)break e;z=E({},z,T);break e;case 2:On=!0}}v.callback!==null&&v.lane!==0&&(e.flags|=64,T=l.effects,T===null?l.effects=[v]:T.push(v))}else K={eventTime:K,lane:T,tag:v.tag,payload:v.payload,callback:v.callback,next:null},L===null?(j=L=K,A=z):L=L.next=K,m|=T;if(v=v.next,v===null){if(v=l.shared.pending,v===null)break;T=v,v=T.next,T.next=null,l.lastBaseUpdate=T,l.shared.pending=null}}while(!0);if(L===null&&(A=z),l.baseState=A,l.firstBaseUpdate=j,l.lastBaseUpdate=L,t=l.shared.interleaved,t!==null){l=t;do m|=l.lane,l=l.next;while(l!==t)}else u===null&&(l.shared.lanes=0);dr|=m,e.lanes=m,e.memoizedState=z}}function Xc(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var i=bs.transition;bs.transition={};try{e(!1),t()}finally{Se=n,bs.transition=i}}function xu(){return Ot().memoizedState}function tf(e,t,n){var i=Wn(e);if(n={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null},yu(e))vu(t,n);else if(n=Qc(e,t,n,i),n!==null){var l=yt();Jt(n,e,i,l),wu(n,t,i)}}function nf(e,t,n){var i=Wn(e),l={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(yu(e))vu(t,l);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var m=t.lastRenderedState,v=u(m,n);if(l.hasEagerState=!0,l.eagerState=v,Wt(v,m)){var A=t.interleaved;A===null?(l.next=l,hs(t)):(l.next=A.next,A.next=l),t.interleaved=l;return}}catch{}finally{}n=Qc(e,t,l,i),n!==null&&(l=yt(),Jt(n,e,i,l),wu(n,t,i))}}function yu(e){var t=e.alternate;return e===Be||t!==null&&t===Be}function vu(e,t){Pa=zi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function wu(e,t,n){if((n&4194240)!==0){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,Fo(e,n)}}var Oi={readContext:Bt,useCallback:dt,useContext:dt,useEffect:dt,useImperativeHandle:dt,useInsertionEffect:dt,useLayoutEffect:dt,useMemo:dt,useReducer:dt,useRef:dt,useState:dt,useDebugValue:dt,useDeferredValue:dt,useTransition:dt,useMutableSource:dt,useSyncExternalStore:dt,useId:dt,unstable_isNewReconciler:!1},rf={readContext:Bt,useCallback:function(e,t){return rn().memoizedState=[e,t===void 0?null:t],e},useContext:Bt,useEffect:cu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Mi(4194308,4,mu.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Mi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Mi(4,2,e,t)},useMemo:function(e,t){var n=rn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var i=rn();return t=n!==void 0?n(t):t,i.memoizedState=i.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},i.queue=e,e=e.dispatch=tf.bind(null,Be,e),[i.memoizedState,e]},useRef:function(e){var t=rn();return e={current:e},t.memoizedState=e},useState:su,useDebugValue:Cs,useDeferredValue:function(e){return rn().memoizedState=e},useTransition:function(){var e=su(!1),t=e[0];return e=ef.bind(null,e[1]),rn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var i=Be,l=rn();if(Re){if(n===void 0)throw Error(s(407));n=n()}else{if(n=t(),tt===null)throw Error(s(349));(ur&30)!==0||nu(i,t,n)}l.memoizedState=n;var u={value:n,getSnapshot:t};return l.queue=u,cu(au.bind(null,i,u,e),[e]),i.flags|=2048,Ra(9,ru.bind(null,i,u,n,t),void 0,null),n},useId:function(){var e=rn(),t=tt.identifierPrefix;if(Re){var n=hn,i=fn;n=(i&~(1<<32-$t(i)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ia++,0<\/script>",e=e.removeChild(e.firstChild)):typeof i.is=="string"?e=m.createElement(n,{is:i.is}):(e=m.createElement(n),n==="select"&&(m=e,i.multiple?m.multiple=!0:i.size&&(m.size=i.size))):e=m.createElementNS(e,n),e[tn]=t,e[Sa]=i,Ou(e,t,!1,!1),t.stateNode=e;e:{switch(m=ia(n,i),n){case"dialog":Ie("cancel",e),Ie("close",e),l=i;break;case"iframe":case"object":case"embed":Ie("load",e),l=i;break;case"video":case"audio":for(l=0;lGr&&(t.flags|=128,i=!0,La(u,!1),t.lanes=4194304)}else{if(!i)if(e=Ri(m),e!==null){if(t.flags|=128,i=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),La(u,!0),u.tail===null&&u.tailMode==="hidden"&&!m.alternate&&!Re)return mt(t),null}else 2*Ve()-u.renderingStartTime>Gr&&n!==1073741824&&(t.flags|=128,i=!0,La(u,!1),t.lanes=4194304);u.isBackwards?(m.sibling=t.child,t.child=m):(n=u.last,n!==null?n.sibling=m:t.child=m,u.last=m)}return u.tail!==null?(t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=Ve(),t.sibling=null,n=Me.current,Fe(Me,i?n&1|2:n&1),t):(mt(t),null);case 22:case 23:return Xs(),i=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==i&&(t.flags|=8192),i&&(t.mode&1)!==0?(Dt&1073741824)!==0&&(mt(t),t.subtreeFlags&6&&(t.flags|=8192)):mt(t),null;case 24:return null;case 25:return null}throw Error(s(156,t.tag))}function mf(e,t){switch(ss(t),t.tag){case 1:return wt(t.type)&&_i(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Vr(),Te(vt),Te(ut),ws(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return ys(t),null;case 13:if(Te(Me),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(s(340));Br()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Te(Me),null;case 4:return Vr(),null;case 10:return ps(t.type._context),null;case 22:case 23:return Xs(),null;case 24:return null;default:return null}}var $i=!1,pt=!1,pf=typeof WeakSet=="function"?WeakSet:Set,Q=null;function Wr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(i){Ue(e,t,i)}else n.current=null}function Os(e,t,n){try{n()}catch(i){Ue(e,t,i)}}var Vu=!1;function ff(e,t){if(Xo=ui,e=bc(),$o(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var l=i.anchorOffset,u=i.focusNode;i=i.focusOffset;try{n.nodeType,u.nodeType}catch{n=null;break e}var m=0,v=-1,A=-1,j=0,L=0,z=e,T=null;t:for(;;){for(var K;z!==n||l!==0&&z.nodeType!==3||(v=m+l),z!==u||i!==0&&z.nodeType!==3||(A=m+i),z.nodeType===3&&(m+=z.nodeValue.length),(K=z.firstChild)!==null;)T=z,z=K;for(;;){if(z===e)break t;if(T===n&&++j===l&&(v=m),T===u&&++L===i&&(A=m),(K=z.nextSibling)!==null)break;z=T,T=z.parentNode}z=K}n=v===-1||A===-1?null:{start:v,end:A}}else n=null}n=n||{start:0,end:0}}else n=null;for(Zo={focusedElem:e,selectionRange:n},ui=!1,Q=t;Q!==null;)if(t=Q,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Q=e;else for(;Q!==null;){t=Q;try{var q=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(q!==null){var te=q.memoizedProps,$e=q.memoizedState,k=t.stateNode,N=k.getSnapshotBeforeUpdate(t.elementType===t.type?te:Gt(t.type,te),$e);k.__reactInternalSnapshotBeforeUpdate=N}break;case 3:var S=t.stateNode.containerInfo;S.nodeType===1?S.textContent="":S.nodeType===9&&S.documentElement&&S.removeChild(S.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(s(163))}}catch(O){Ue(t,t.return,O)}if(e=t.sibling,e!==null){e.return=t.return,Q=e;break}Q=t.return}return q=Vu,Vu=!1,q}function za(e,t,n){var i=t.updateQueue;if(i=i!==null?i.lastEffect:null,i!==null){var l=i=i.next;do{if((l.tag&e)===e){var u=l.destroy;l.destroy=void 0,u!==void 0&&Os(t,n,u)}l=l.next}while(l!==i)}}function Wi(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 i=n.create;n.destroy=i()}n=n.next}while(n!==t)}}function Us(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 $u(e){var t=e.alternate;t!==null&&(e.alternate=null,$u(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[tn],delete t[Sa],delete t[rs],delete t[Qp],delete t[Jp])),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 Wu(e){return e.tag===5||e.tag===3||e.tag===4}function Ku(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Wu(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 Hs(e,t,n){var i=e.tag;if(i===5||i===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=Ai));else if(i!==4&&(e=e.child,e!==null))for(Hs(e,t,n),e=e.sibling;e!==null;)Hs(e,t,n),e=e.sibling}function Vs(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(i!==4&&(e=e.child,e!==null))for(Vs(e,t,n),e=e.sibling;e!==null;)Vs(e,t,n),e=e.sibling}var at=null,Yt=!1;function Hn(e,t,n){for(n=n.child;n!==null;)Gu(e,t,n),n=n.sibling}function Gu(e,t,n){if(en&&typeof en.onCommitFiberUnmount=="function")try{en.onCommitFiberUnmount(ai,n)}catch{}switch(n.tag){case 5:pt||Wr(n,t);case 6:var i=at,l=Yt;at=null,Hn(e,t,n),at=i,Yt=l,at!==null&&(Yt?(e=at,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):at.removeChild(n.stateNode));break;case 18:at!==null&&(Yt?(e=at,n=n.stateNode,e.nodeType===8?ns(e.parentNode,n):e.nodeType===1&&ns(e,n),ha(e)):ns(at,n.stateNode));break;case 4:i=at,l=Yt,at=n.stateNode.containerInfo,Yt=!0,Hn(e,t,n),at=i,Yt=l;break;case 0:case 11:case 14:case 15:if(!pt&&(i=n.updateQueue,i!==null&&(i=i.lastEffect,i!==null))){l=i=i.next;do{var u=l,m=u.destroy;u=u.tag,m!==void 0&&((u&2)!==0||(u&4)!==0)&&Os(n,t,m),l=l.next}while(l!==i)}Hn(e,t,n);break;case 1:if(!pt&&(Wr(n,t),i=n.stateNode,typeof i.componentWillUnmount=="function"))try{i.props=n.memoizedProps,i.state=n.memoizedState,i.componentWillUnmount()}catch(v){Ue(n,t,v)}Hn(e,t,n);break;case 21:Hn(e,t,n);break;case 22:n.mode&1?(pt=(i=pt)||n.memoizedState!==null,Hn(e,t,n),pt=i):Hn(e,t,n);break;default:Hn(e,t,n)}}function Yu(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new pf),t.forEach(function(i){var l=Nf.bind(null,e,i);n.has(i)||(n.add(i),i.then(l,l))})}}function Qt(e,t){var n=t.deletions;if(n!==null)for(var i=0;il&&(l=m),i&=~u}if(i=l,i=Ve()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*gf(i/1960))-i,10e?16:e,$n===null)var i=!1;else{if(e=$n,$n=null,Ji=0,(Ae&6)!==0)throw Error(s(331));var l=Ae;for(Ae|=4,Q=e.current;Q!==null;){var u=Q,m=u.child;if((Q.flags&16)!==0){var v=u.deletions;if(v!==null){for(var A=0;AVe()-Ks?pr(e,0):Ws|=n),Nt(e,t)}function sd(e,t){t===0&&((e.mode&1)===0?t=1:(t=oi,oi<<=1,(oi&130023424)===0&&(oi=4194304)));var n=yt();e=gn(e,t),e!==null&&(ua(e,t,n),Nt(e,n))}function Af(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),sd(e,n)}function Nf(e,t){var n=0;switch(e.tag){case 13:var i=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(s(314))}i!==null&&i.delete(t),sd(e,n)}var ld;ld=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||vt.current)bt=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return bt=!1,uf(e,t,n);bt=(e.flags&131072)!==0}else bt=!1,Re&&(t.flags&1048576)!==0&&Uc(t,Ci,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;Vi(e,t),e=t.pendingProps;var l=Lr(t,ut.current);Hr(t,n),l=Ns(null,t,i,e,l,n);var u=_s();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,wt(i)?(u=!0,ki(t)):u=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,gs(t),l.updater=Ui,t.stateNode=l,l._reactInternals=t,Fs(t,i,e,n),t=Ts(null,t,i,!0,u,n)):(t.tag=0,Re&&u&&os(t),xt(null,t,l,n),t=t.child),t;case 16:i=t.elementType;e:{switch(Vi(e,t),e=t.pendingProps,l=i._init,i=l(i._payload),t.type=i,l=t.tag=kf(i),e=Gt(i,e),l){case 0:t=Is(null,t,i,e,n);break e;case 1:t=Tu(null,t,i,e,n);break e;case 11:t=Eu(null,t,i,e,n);break e;case 14:t=Fu(null,t,i,Gt(i.type,e),n);break e}throw Error(s(306,i,""))}return t;case 0:return i=t.type,l=t.pendingProps,l=t.elementType===i?l:Gt(i,l),Is(e,t,i,l,n);case 1:return i=t.type,l=t.pendingProps,l=t.elementType===i?l:Gt(i,l),Tu(e,t,i,l,n);case 3:e:{if(Ru(t),e===null)throw Error(s(387));i=t.pendingProps,u=t.memoizedState,l=u.element,Jc(e,t),Ti(t,i,null,n);var m=t.memoizedState;if(i=m.element,u.isDehydrated)if(u={element:i,isDehydrated:!1,cache:m.cache,pendingSuspenseBoundaries:m.pendingSuspenseBoundaries,transitions:m.transitions},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){l=$r(Error(s(423)),t),t=Lu(e,t,i,n,l);break e}else if(i!==l){l=$r(Error(s(424)),t),t=Lu(e,t,i,n,l);break e}else for(Ft=Ln(t.stateNode.containerInfo.firstChild),Et=t,Re=!0,Kt=null,n=Yc(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Br(),i===l){t=yn(e,t,n);break e}xt(e,t,i,n)}t=t.child}return t;case 5:return Zc(t),e===null&&cs(t),i=t.type,l=t.pendingProps,u=e!==null?e.memoizedProps:null,m=l.children,es(i,l)?m=null:u!==null&&es(i,u)&&(t.flags|=32),Iu(e,t),xt(e,t,m,n),t.child;case 6:return e===null&&cs(t),null;case 13:return zu(e,t,n);case 4:return xs(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=Or(t,null,i,n):xt(e,t,i,n),t.child;case 11:return i=t.type,l=t.pendingProps,l=t.elementType===i?l:Gt(i,l),Eu(e,t,i,l,n);case 7:return xt(e,t,t.pendingProps,n),t.child;case 8:return xt(e,t,t.pendingProps.children,n),t.child;case 12:return xt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(i=t.type._context,l=t.pendingProps,u=t.memoizedProps,m=l.value,Fe(Di,i._currentValue),i._currentValue=m,u!==null)if(Wt(u.value,m)){if(u.children===l.children&&!vt.current){t=yn(e,t,n);break e}}else for(u=t.child,u!==null&&(u.return=t);u!==null;){var v=u.dependencies;if(v!==null){m=u.child;for(var A=v.firstContext;A!==null;){if(A.context===i){if(u.tag===1){A=xn(-1,n&-n),A.tag=2;var j=u.updateQueue;if(j!==null){j=j.shared;var L=j.pending;L===null?A.next=A:(A.next=L.next,L.next=A),j.pending=A}}u.lanes|=n,A=u.alternate,A!==null&&(A.lanes|=n),fs(u.return,n,t),v.lanes|=n;break}A=A.next}}else if(u.tag===10)m=u.type===t.type?null:u.child;else if(u.tag===18){if(m=u.return,m===null)throw Error(s(341));m.lanes|=n,v=m.alternate,v!==null&&(v.lanes|=n),fs(m,n,t),m=u.sibling}else m=u.child;if(m!==null)m.return=u;else for(m=u;m!==null;){if(m===t){m=null;break}if(u=m.sibling,u!==null){u.return=m.return,m=u;break}m=m.return}u=m}xt(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,i=t.pendingProps.children,Hr(t,n),l=Bt(l),i=i(l),t.flags|=1,xt(e,t,i,n),t.child;case 14:return i=t.type,l=Gt(i,t.pendingProps),l=Gt(i.type,l),Fu(e,t,i,l,n);case 15:return Du(e,t,t.type,t.pendingProps,n);case 17:return i=t.type,l=t.pendingProps,l=t.elementType===i?l:Gt(i,l),Vi(e,t),t.tag=1,wt(i)?(e=!0,ki(t)):e=!1,Hr(t,n),Au(t,i,l),Fs(t,i,l,n),Ts(null,t,i,!0,e,n);case 19:return Bu(e,t,n);case 22:return Pu(e,t,n)}throw Error(s(156,t.tag))};function cd(e,t){return Hl(e,t)}function _f(e,t,n,i){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=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ht(e,t,n,i){return new _f(e,t,n,i)}function el(e){return e=e.prototype,!(!e||!e.isReactComponent)}function kf(e){if(typeof e=="function")return el(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ke)return 11;if(e===we)return 14}return 2}function Gn(e,t){var n=e.alternate;return n===null?(n=Ht(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 eo(e,t,n,i,l,u){var m=2;if(i=e,typeof e=="function")el(e)&&(m=1);else if(typeof e=="string")m=5;else e:switch(e){case xe:return hr(n.children,l,u,t);case U:m=8,l|=8;break;case ve:return e=Ht(12,n,t,l|2),e.elementType=ve,e.lanes=u,e;case be:return e=Ht(13,n,t,l),e.elementType=be,e.lanes=u,e;case Ee:return e=Ht(19,n,t,l),e.elementType=Ee,e.lanes=u,e;case ne:return to(n,l,u,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case je:m=10;break e;case Ge:m=9;break e;case ke:m=11;break e;case we:m=14;break e;case ie:m=16,i=null;break e}throw Error(s(130,e==null?e:typeof e,""))}return t=Ht(m,n,t,l),t.elementType=e,t.type=i,t.lanes=u,t}function hr(e,t,n,i){return e=Ht(7,e,i,t),e.lanes=n,e}function to(e,t,n,i){return e=Ht(22,e,i,t),e.elementType=ne,e.lanes=n,e.stateNode={isHidden:!1},e}function tl(e,t,n){return e=Ht(6,e,null,t),e.lanes=n,e}function nl(e,t,n){return t=Ht(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Sf(e,t,n,i,l){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=Eo(0),this.expirationTimes=Eo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Eo(0),this.identifierPrefix=i,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function rl(e,t,n,i,l,u,m,v,A){return e=new Sf(e,t,n,v,A),t===1?(t=1,u===!0&&(t|=8)):t=0,u=Ht(3,null,null,t),e.current=u,u.stateNode=e,u.memoizedState={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},gs(u),e}function jf(e,t,n){var i=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(o){console.error(o)}}return a(),cl.exports=Bf(),cl.exports}var Nd;function Of(){if(Nd)return lo;Nd=1;var a=Zd();return lo.createRoot=a.createRoot,lo.hydrateRoot=a.hydrateRoot,lo}var Uf=Of();const Hf="modulepreload",Vf=function(a){return"/"+a},_d={},De=function(o,s,c){let d=Promise.resolve();if(s&&s.length>0){let f=function(b){return Promise.all(b.map(w=>Promise.resolve(w).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};document.getElementsByTagName("link");const g=document.querySelector("meta[property=csp-nonce]"),y=g?.nonce||g?.getAttribute("nonce");d=f(s.map(b=>{if(b=Vf(b),b in _d)return;_d[b]=!0;const w=b.endsWith(".css"),h=w?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${b}"]${h}`))return;const C=document.createElement("link");if(C.rel=w?"stylesheet":Hf,w||(C.as="script"),C.crossOrigin="",C.href=b,y&&C.setAttribute("nonce",y),document.head.appendChild(C),w)return new Promise((R,M)=>{C.addEventListener("load",R),C.addEventListener("error",()=>M(new Error(`Unable to preload CSS for ${b}`)))})}))}function p(f){const g=new Event("vite:preloadError",{cancelable:!0});if(g.payload=f,window.dispatchEvent(g),!g.defaultPrevented)throw f}return d.then(f=>{for(const g of f||[])g.status==="rejected"&&p(g.reason);return o().catch(p)})};var x=Cl();const H=Xd(x),$f=If({__proto__:null,default:H},[x]);/** * react-router v7.13.1 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */var kd="popstate";function Sd(a){return typeof a=="object"&&a!=null&&"pathname"in a&&"search"in a&&"hash"in a&&"state"in a&&"key"in a}function Wf(a={}){function o(c,d){let p=d.state?.masked,{pathname:f,search:g,hash:y}=p||c.location;return bl("",{pathname:f,search:g,hash:y},d.state&&d.state.usr||null,d.state&&d.state.key||"default",p?{pathname:c.location.pathname,search:c.location.search,hash:c.location.hash}:void 0)}function s(c,d){return typeof d=="string"?d:Ya(d)}return Gf(o,s,null,a)}function Le(a,o){if(a===!1||a===null||typeof a>"u")throw new Error(o)}function Vt(a,o){if(!a){typeof console<"u"&&console.warn(o);try{throw new Error(o)}catch{}}}function Kf(){return Math.random().toString(36).substring(2,10)}function jd(a,o){return{usr:a.state,key:a.key,idx:o,masked:a.unstable_mask?{pathname:a.pathname,search:a.search,hash:a.hash}:void 0}}function bl(a,o,s=null,c,d){return{pathname:typeof a=="string"?a:a.pathname,search:"",hash:"",...typeof o=="string"?ea(o):o,state:s,key:o&&o.key||c||Kf(),unstable_mask:d}}function Ya({pathname:a="/",search:o="",hash:s=""}){return o&&o!=="?"&&(a+=o.charAt(0)==="?"?o:"?"+o),s&&s!=="#"&&(a+=s.charAt(0)==="#"?s:"#"+s),a}function ea(a){let o={};if(a){let s=a.indexOf("#");s>=0&&(o.hash=a.substring(s),a=a.substring(0,s));let c=a.indexOf("?");c>=0&&(o.search=a.substring(c),a=a.substring(0,c)),a&&(o.pathname=a)}return o}function Gf(a,o,s,c={}){let{window:d=document.defaultView,v5Compat:p=!1}=c,f=d.history,g="POP",y=null,b=w();b==null&&(b=0,f.replaceState({...f.state,idx:b},""));function w(){return(f.state||{idx:null}).idx}function h(){g="POP";let F=w(),D=F==null?null:F-b;b=F,y&&y({action:g,location:I.location,delta:D})}function C(F,D){g="PUSH";let ae=Sd(F)?F:bl(I.location,F,D);b=w()+1;let G=jd(ae,b),oe=I.createHref(ae.unstable_mask||ae);try{f.pushState(G,"",oe)}catch(me){if(me instanceof DOMException&&me.name==="DataCloneError")throw me;d.location.assign(oe)}p&&y&&y({action:g,location:I.location,delta:1})}function R(F,D){g="REPLACE";let ae=Sd(F)?F:bl(I.location,F,D);b=w();let G=jd(ae,b),oe=I.createHref(ae.unstable_mask||ae);f.replaceState(G,"",oe),p&&y&&y({action:g,location:I.location,delta:0})}function M(F){return Yf(F)}let I={get action(){return g},get location(){return a(d,f)},listen(F){if(y)throw new Error("A history only accepts one active listener");return d.addEventListener(kd,h),y=F,()=>{d.removeEventListener(kd,h),y=null}},createHref(F){return o(d,F)},createURL:M,encodeLocation(F){let D=M(F);return{pathname:D.pathname,search:D.search,hash:D.hash}},push:C,replace:R,go(F){return f.go(F)}};return I}function Yf(a,o=!1){let s="http://localhost";typeof window<"u"&&(s=window.location.origin!=="null"?window.location.origin:window.location.href),Le(s,"No window.location.(origin|href) available to create URL");let c=typeof a=="string"?a:Ya(a);return c=c.replace(/ $/,"%20"),!o&&c.startsWith("//")&&(c=s+c),new URL(c,s)}function em(a,o,s="/"){return Qf(a,o,s,!1)}function Qf(a,o,s,c){let d=typeof o=="string"?ea(o):o,p=An(d.pathname||"/",s);if(p==null)return null;let f=tm(a);Jf(f);let g=null;for(let y=0;g==null&&y{let w={relativePath:b===void 0?f.path||"":b,caseSensitive:f.caseSensitive===!0,childrenIndex:g,route:f};if(w.relativePath.startsWith("/")){if(!w.relativePath.startsWith(c)&&y)return;Le(w.relativePath.startsWith(c),`Absolute route path "${w.relativePath}" nested under path "${c}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),w.relativePath=w.relativePath.slice(c.length)}let h=ln([c,w.relativePath]),C=s.concat(w);f.children&&f.children.length>0&&(Le(f.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${h}".`),tm(f.children,o,C,h,y)),!(f.path==null&&!f.index)&&o.push({path:h,score:rh(h,f.index),routesMeta:C})};return a.forEach((f,g)=>{if(f.path===""||!f.path?.includes("?"))p(f,g);else for(let y of nm(f.path))p(f,g,!0,y)}),o}function nm(a){let o=a.split("/");if(o.length===0)return[];let[s,...c]=o,d=s.endsWith("?"),p=s.replace(/\?$/,"");if(c.length===0)return d?[p,""]:[p];let f=nm(c.join("/")),g=[];return g.push(...f.map(y=>y===""?p:[p,y].join("/"))),d&&g.push(...f),g.map(y=>a.startsWith("/")&&y===""?"/":y)}function Jf(a){a.sort((o,s)=>o.score!==s.score?s.score-o.score:ah(o.routesMeta.map(c=>c.childrenIndex),s.routesMeta.map(c=>c.childrenIndex)))}var qf=/^:[\w-]+$/,Xf=3,Zf=2,eh=1,th=10,nh=-2,Cd=a=>a==="*";function rh(a,o){let s=a.split("/"),c=s.length;return s.some(Cd)&&(c+=nh),o&&(c+=Zf),s.filter(d=>!Cd(d)).reduce((d,p)=>d+(qf.test(p)?Xf:p===""?eh:th),c)}function ah(a,o){return a.length===o.length&&a.slice(0,-1).every((c,d)=>c===o[d])?a[a.length-1]-o[o.length-1]:0}function ih(a,o,s=!1){let{routesMeta:c}=a,d={},p="/",f=[];for(let g=0;g{if(w==="*"){let M=g[C]||"";f=p.slice(0,p.length-M.length).replace(/(.)\/+$/,"$1")}const R=g[C];return h&&!R?b[w]=void 0:b[w]=(R||"").replace(/%2F/g,"/"),b},{}),pathname:p,pathnameBase:f,pattern:a}}function oh(a,o=!1,s=!0){Vt(a==="*"||!a.endsWith("*")||a.endsWith("/*"),`Route path "${a}" will be treated as if it were "${a.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${a.replace(/\*$/,"/*")}".`);let c=[],d="^"+a.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(f,g,y,b,w)=>{if(c.push({paramName:g,isOptional:y!=null}),y){let h=w.charAt(b+f.length);return h&&h!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return a.endsWith("*")?(c.push({paramName:"*"}),d+=a==="*"||a==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):s?d+="\\/*$":a!==""&&a!=="/"&&(d+="(?:(?=\\/|$))"),[new RegExp(d,o?void 0:"i"),c]}function sh(a){try{return a.split("/").map(o=>decodeURIComponent(o).replace(/\//g,"%2F")).join("/")}catch(o){return Vt(!1,`The URL path "${a}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${o}).`),a}}function An(a,o){if(o==="/")return a;if(!a.toLowerCase().startsWith(o.toLowerCase()))return null;let s=o.endsWith("/")?o.length-1:o.length,c=a.charAt(s);return c&&c!=="/"?null:a.slice(s)||"/"}var lh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function ch(a,o="/"){let{pathname:s,search:c="",hash:d=""}=typeof a=="string"?ea(a):a,p;return s?(s=s.replace(/\/\/+/g,"/"),s.startsWith("/")?p=Ed(s.substring(1),"/"):p=Ed(s,o)):p=o,{pathname:p,search:mh(c),hash:ph(d)}}function Ed(a,o){let s=o.replace(/\/+$/,"").split("/");return a.split("/").forEach(d=>{d===".."?s.length>1&&s.pop():d!=="."&&s.push(d)}),s.length>1?s.join("/"):"/"}function ml(a,o,s,c){return`Cannot include a '${a}' character in a manually specified \`to.${o}\` field [${JSON.stringify(c)}]. Please separate it out to the \`to.${s}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function uh(a){return a.filter((o,s)=>s===0||o.route.path&&o.route.path.length>0)}function El(a){let o=uh(a);return o.map((s,c)=>c===o.length-1?s.pathname:s.pathnameBase)}function No(a,o,s,c=!1){let d;typeof a=="string"?d=ea(a):(d={...a},Le(!d.pathname||!d.pathname.includes("?"),ml("?","pathname","search",d)),Le(!d.pathname||!d.pathname.includes("#"),ml("#","pathname","hash",d)),Le(!d.search||!d.search.includes("#"),ml("#","search","hash",d)));let p=a===""||d.pathname==="",f=p?"/":d.pathname,g;if(f==null)g=s;else{let h=o.length-1;if(!c&&f.startsWith("..")){let C=f.split("/");for(;C[0]==="..";)C.shift(),h-=1;d.pathname=C.join("/")}g=h>=0?o[h]:"/"}let y=ch(d,g),b=f&&f!=="/"&&f.endsWith("/"),w=(p||f===".")&&s.endsWith("/");return!y.pathname.endsWith("/")&&(b||w)&&(y.pathname+="/"),y}var ln=a=>a.join("/").replace(/\/\/+/g,"/"),dh=a=>a.replace(/\/+$/,"").replace(/^\/*/,"/"),mh=a=>!a||a==="?"?"":a.startsWith("?")?a:"?"+a,ph=a=>!a||a==="#"?"":a.startsWith("#")?a:"#"+a,fh=class{constructor(a,o,s,c=!1){this.status=a,this.statusText=o||"",this.internal=c,s instanceof Error?(this.data=s.toString(),this.error=s):this.data=s}};function hh(a){return a!=null&&typeof a.status=="number"&&typeof a.statusText=="string"&&typeof a.internal=="boolean"&&"data"in a}function gh(a){return a.map(o=>o.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var rm=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function am(a,o){let s=a;if(typeof s!="string"||!lh.test(s))return{absoluteURL:void 0,isExternal:!1,to:s};let c=s,d=!1;if(rm)try{let p=new URL(window.location.href),f=s.startsWith("//")?new URL(p.protocol+s):new URL(s),g=An(f.pathname,o);f.origin===p.origin&&g!=null?s=g+f.search+f.hash:d=!0}catch{Vt(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:c,isExternal:d,to:s}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var im=["POST","PUT","PATCH","DELETE"];new Set(im);var xh=["GET",...im];new Set(xh);var ta=x.createContext(null);ta.displayName="DataRouter";var _o=x.createContext(null);_o.displayName="DataRouterState";var yh=x.createContext(!1),om=x.createContext({isTransitioning:!1});om.displayName="ViewTransition";var vh=x.createContext(new Map);vh.displayName="Fetchers";var wh=x.createContext(null);wh.displayName="Await";var Pt=x.createContext(null);Pt.displayName="Navigation";var Qa=x.createContext(null);Qa.displayName="Location";var Xt=x.createContext({outlet:null,matches:[],isDataRoute:!1});Xt.displayName="Route";var Fl=x.createContext(null);Fl.displayName="RouteError";var sm="REACT_ROUTER_ERROR",bh="REDIRECT",Ah="ROUTE_ERROR_RESPONSE";function Nh(a){if(a.startsWith(`${sm}:${bh}:{`))try{let o=JSON.parse(a.slice(28));if(typeof o=="object"&&o&&typeof o.status=="number"&&typeof o.statusText=="string"&&typeof o.location=="string"&&typeof o.reloadDocument=="boolean"&&typeof o.replace=="boolean")return o}catch{}}function _h(a){if(a.startsWith(`${sm}:${Ah}:{`))try{let o=JSON.parse(a.slice(40));if(typeof o=="object"&&o&&typeof o.status=="number"&&typeof o.statusText=="string")return new fh(o.status,o.statusText,o.data)}catch{}}function kh(a,{relative:o}={}){Le(na(),"useHref() may be used only in the context of a component.");let{basename:s,navigator:c}=x.useContext(Pt),{hash:d,pathname:p,search:f}=Ja(a,{relative:o}),g=p;return s!=="/"&&(g=p==="/"?s:ln([s,p])),c.createHref({pathname:g,search:f,hash:d})}function na(){return x.useContext(Qa)!=null}function Oe(){return Le(na(),"useLocation() may be used only in the context of a component."),x.useContext(Qa).location}var lm="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function cm(a){x.useContext(Pt).static||x.useLayoutEffect(a)}function ra(){let{isDataRoute:a}=x.useContext(Xt);return a?Mh():Sh()}function Sh(){Le(na(),"useNavigate() may be used only in the context of a component.");let a=x.useContext(ta),{basename:o,navigator:s}=x.useContext(Pt),{matches:c}=x.useContext(Xt),{pathname:d}=Oe(),p=JSON.stringify(El(c)),f=x.useRef(!1);return cm(()=>{f.current=!0}),x.useCallback((y,b={})=>{if(Vt(f.current,lm),!f.current)return;if(typeof y=="number"){s.go(y);return}let w=No(y,JSON.parse(p),d,b.relative==="path");a==null&&o!=="/"&&(w.pathname=w.pathname==="/"?o:ln([o,w.pathname])),(b.replace?s.replace:s.push)(w,b.state,b)},[o,s,p,d,a])}x.createContext(null);function kv(){let{matches:a}=x.useContext(Xt),o=a[a.length-1];return o?o.params:{}}function Ja(a,{relative:o}={}){let{matches:s}=x.useContext(Xt),{pathname:c}=Oe(),d=JSON.stringify(El(s));return x.useMemo(()=>No(a,JSON.parse(d),c,o==="path"),[a,d,c,o])}function jh(a,o){return um(a,o)}function um(a,o,s){Le(na(),"useRoutes() may be used only in the context of a component.");let{navigator:c}=x.useContext(Pt),{matches:d}=x.useContext(Xt),p=d[d.length-1],f=p?p.params:{},g=p?p.pathname:"/",y=p?p.pathnameBase:"/",b=p&&p.route;{let F=b&&b.path||"";mm(g,!b||F.endsWith("*")||F.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${g}" (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 w=Oe(),h;if(o){let F=typeof o=="string"?ea(o):o;Le(y==="/"||F.pathname?.startsWith(y),`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 "${y}" but pathname "${F.pathname}" was given in the \`location\` prop.`),h=F}else h=w;let C=h.pathname||"/",R=C;if(y!=="/"){let F=y.replace(/^\//,"").split("/");R="/"+C.replace(/^\//,"").split("/").slice(F.length).join("/")}let M=em(a,{pathname:R});Vt(b||M!=null,`No routes matched location "${h.pathname}${h.search}${h.hash}" `),Vt(M==null||M[M.length-1].route.element!==void 0||M[M.length-1].route.Component!==void 0||M[M.length-1].route.lazy!==void 0,`Matched leaf route at location "${h.pathname}${h.search}${h.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 I=Ph(M&&M.map(F=>Object.assign({},F,{params:Object.assign({},f,F.params),pathname:ln([y,c.encodeLocation?c.encodeLocation(F.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:F.pathname]),pathnameBase:F.pathnameBase==="/"?y:ln([y,c.encodeLocation?c.encodeLocation(F.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:F.pathnameBase])})),d,s);return o&&I?x.createElement(Qa.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...h},navigationType:"POP"}},I):I}function Ch(){let a=zh(),o=hh(a)?`${a.status} ${a.statusText}`:a instanceof Error?a.message:JSON.stringify(a),s=a instanceof Error?a.stack:null,c="rgba(200,200,200, 0.5)",d={padding:"0.5rem",backgroundColor:c},p={padding:"2px 4px",backgroundColor:c},f=null;return console.error("Error handled by React Router default ErrorBoundary:",a),f=x.createElement(x.Fragment,null,x.createElement("p",null,"💿 Hey developer 👋"),x.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",x.createElement("code",{style:p},"ErrorBoundary")," or"," ",x.createElement("code",{style:p},"errorElement")," prop on your route.")),x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},o),s?x.createElement("pre",{style:d},s):null,f)}var Eh=x.createElement(Ch,null),dm=class extends x.Component{constructor(a){super(a),this.state={location:a.location,revalidation:a.revalidation,error:a.error}}static getDerivedStateFromError(a){return{error:a}}static getDerivedStateFromProps(a,o){return o.location!==a.location||o.revalidation!=="idle"&&a.revalidation==="idle"?{error:a.error,location:a.location,revalidation:a.revalidation}:{error:a.error!==void 0?a.error:o.error,location:o.location,revalidation:a.revalidation||o.revalidation}}componentDidCatch(a,o){this.props.onError?this.props.onError(a,o):console.error("React Router caught the following error during render",a)}render(){let a=this.state.error;if(this.context&&typeof a=="object"&&a&&"digest"in a&&typeof a.digest=="string"){const s=_h(a.digest);s&&(a=s)}let o=a!==void 0?x.createElement(Xt.Provider,{value:this.props.routeContext},x.createElement(Fl.Provider,{value:a,children:this.props.component})):this.props.children;return this.context?x.createElement(Fh,{error:a},o):o}};dm.contextType=yh;var pl=new WeakMap;function Fh({children:a,error:o}){let{basename:s}=x.useContext(Pt);if(typeof o=="object"&&o&&"digest"in o&&typeof o.digest=="string"){let c=Nh(o.digest);if(c){let d=pl.get(o);if(d)throw d;let p=am(c.location,s);if(rm&&!pl.get(o))if(p.isExternal||c.reloadDocument)window.location.href=p.absoluteURL||p.to;else{const f=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(p.to,{replace:c.replace}));throw pl.set(o,f),f}return x.createElement("meta",{httpEquiv:"refresh",content:`0;url=${p.absoluteURL||p.to}`})}}return a}function Dh({routeContext:a,match:o,children:s}){let c=x.useContext(ta);return c&&c.static&&c.staticContext&&(o.route.errorElement||o.route.ErrorBoundary)&&(c.staticContext._deepestRenderedBoundaryId=o.route.id),x.createElement(Xt.Provider,{value:a},s)}function Ph(a,o=[],s){let c=s?.state;if(a==null){if(!c)return null;if(c.errors)a=c.matches;else if(o.length===0&&!c.initialized&&c.matches.length>0)a=c.matches;else return null}let d=a,p=c?.errors;if(p!=null){let w=d.findIndex(h=>h.route.id&&p?.[h.route.id]!==void 0);Le(w>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(p).join(",")}`),d=d.slice(0,Math.min(d.length,w+1))}let f=!1,g=-1;if(s&&c){f=c.renderFallback;for(let w=0;w=0?d=d.slice(0,g+1):d=[d[0]];break}}}}let y=s?.onError,b=c&&y?(w,h)=>{y(w,{location:c.location,params:c.matches?.[0]?.params??{},unstable_pattern:gh(c.matches),errorInfo:h})}:void 0;return d.reduceRight((w,h,C)=>{let R,M=!1,I=null,F=null;c&&(R=p&&h.route.id?p[h.route.id]:void 0,I=h.route.errorElement||Eh,f&&(g<0&&C===0?(mm("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),M=!0,F=null):g===C&&(M=!0,F=h.route.hydrateFallbackElement||null)));let D=o.concat(d.slice(0,C+1)),ae=()=>{let G;return R?G=I:M?G=F:h.route.Component?G=x.createElement(h.route.Component,null):h.route.element?G=h.route.element:G=w,x.createElement(Dh,{match:h,routeContext:{outlet:w,matches:D,isDataRoute:c!=null},children:G})};return c&&(h.route.ErrorBoundary||h.route.errorElement||C===0)?x.createElement(dm,{location:c.location,revalidation:c.revalidation,component:I,error:R,children:ae(),routeContext:{outlet:null,matches:D,isDataRoute:!0},onError:b}):ae()},null)}function Dl(a){return`${a} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Ih(a){let o=x.useContext(ta);return Le(o,Dl(a)),o}function Th(a){let o=x.useContext(_o);return Le(o,Dl(a)),o}function Rh(a){let o=x.useContext(Xt);return Le(o,Dl(a)),o}function Pl(a){let o=Rh(a),s=o.matches[o.matches.length-1];return Le(s.route.id,`${a} can only be used on routes that contain a unique "id"`),s.route.id}function Lh(){return Pl("useRouteId")}function zh(){let a=x.useContext(Fl),o=Th("useRouteError"),s=Pl("useRouteError");return a!==void 0?a:o.errors?.[s]}function Mh(){let{router:a}=Ih("useNavigate"),o=Pl("useNavigate"),s=x.useRef(!1);return cm(()=>{s.current=!0}),x.useCallback(async(d,p={})=>{Vt(s.current,lm),s.current&&(typeof d=="number"?await a.navigate(d):await a.navigate(d,{fromRouteId:o,...p}))},[a,o])}var Fd={};function mm(a,o,s){!o&&!Fd[a]&&(Fd[a]=!0,Vt(!1,s))}x.memo(Bh);function Bh({routes:a,future:o,state:s,isStatic:c,onError:d}){return um(a,void 0,{state:s,isStatic:c,onError:d})}function Sv({to:a,replace:o,state:s,relative:c}){Le(na()," may be used only in the context of a component.");let{static:d}=x.useContext(Pt);Vt(!d," 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:p}=x.useContext(Xt),{pathname:f}=Oe(),g=ra(),y=No(a,El(p),f,c==="path"),b=JSON.stringify(y);return x.useEffect(()=>{g(JSON.parse(b),{replace:o,state:s,relative:c})},[g,b,c,o,s]),null}function Ce(a){Le(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function Oh({basename:a="/",children:o=null,location:s,navigationType:c="POP",navigator:d,static:p=!1,unstable_useTransitions:f}){Le(!na(),"You cannot render a inside another . You should never have more than one in your app.");let g=a.replace(/^\/*/,"/"),y=x.useMemo(()=>({basename:g,navigator:d,static:p,unstable_useTransitions:f,future:{}}),[g,d,p,f]);typeof s=="string"&&(s=ea(s));let{pathname:b="/",search:w="",hash:h="",state:C=null,key:R="default",unstable_mask:M}=s,I=x.useMemo(()=>{let F=An(b,g);return F==null?null:{location:{pathname:F,search:w,hash:h,state:C,key:R,unstable_mask:M},navigationType:c}},[g,b,w,h,C,R,c,M]);return Vt(I!=null,` is not able to match the URL "${b}${w}${h}" because it does not start with the basename, so the won't render anything.`),I==null?null:x.createElement(Pt.Provider,{value:y},x.createElement(Qa.Provider,{children:o,value:I}))}function Uh({children:a,location:o}){return jh(Al(a),o)}function Al(a,o=[]){let s=[];return x.Children.forEach(a,(c,d)=>{if(!x.isValidElement(c))return;let p=[...o,d];if(c.type===x.Fragment){s.push.apply(s,Al(c.props.children,p));return}Le(c.type===Ce,`[${typeof c.type=="string"?c.type:c.type.name}] is not a component. All component children of must be a or `),Le(!c.props.index||!c.props.children,"An index route cannot have child routes.");let f={id:c.props.id||p.join("-"),caseSensitive:c.props.caseSensitive,element:c.props.element,Component:c.props.Component,index:c.props.index,path:c.props.path,middleware:c.props.middleware,loader:c.props.loader,action:c.props.action,hydrateFallbackElement:c.props.hydrateFallbackElement,HydrateFallback:c.props.HydrateFallback,errorElement:c.props.errorElement,ErrorBoundary:c.props.ErrorBoundary,hasErrorBoundary:c.props.hasErrorBoundary===!0||c.props.ErrorBoundary!=null||c.props.errorElement!=null,shouldRevalidate:c.props.shouldRevalidate,handle:c.props.handle,lazy:c.props.lazy};c.props.children&&(f.children=Al(c.props.children,p)),s.push(f)}),s}var go="get",xo="application/x-www-form-urlencoded";function ko(a){return typeof HTMLElement<"u"&&a instanceof HTMLElement}function Hh(a){return ko(a)&&a.tagName.toLowerCase()==="button"}function Vh(a){return ko(a)&&a.tagName.toLowerCase()==="form"}function $h(a){return ko(a)&&a.tagName.toLowerCase()==="input"}function Wh(a){return!!(a.metaKey||a.altKey||a.ctrlKey||a.shiftKey)}function Kh(a,o){return a.button===0&&(!o||o==="_self")&&!Wh(a)}function Nl(a=""){return new URLSearchParams(typeof a=="string"||Array.isArray(a)||a instanceof URLSearchParams?a:Object.keys(a).reduce((o,s)=>{let c=a[s];return o.concat(Array.isArray(c)?c.map(d=>[s,d]):[[s,c]])},[]))}function Gh(a,o){let s=Nl(a);return o&&o.forEach((c,d)=>{s.has(d)||o.getAll(d).forEach(p=>{s.append(d,p)})}),s}var co=null;function Yh(){if(co===null)try{new FormData(document.createElement("form"),0),co=!1}catch{co=!0}return co}var Qh=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function fl(a){return a!=null&&!Qh.has(a)?(Vt(!1,`"${a}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${xo}"`),null):a}function Jh(a,o){let s,c,d,p,f;if(Vh(a)){let g=a.getAttribute("action");c=g?An(g,o):null,s=a.getAttribute("method")||go,d=fl(a.getAttribute("enctype"))||xo,p=new FormData(a)}else if(Hh(a)||$h(a)&&(a.type==="submit"||a.type==="image")){let g=a.form;if(g==null)throw new Error('Cannot submit a