diff --git a/ui/dist/assets/index-DOR0Uh6g.js b/ui/dist/assets/index-DOR0Uh6g.js deleted file mode 100644 index f99cb822..00000000 --- a/ui/dist/assets/index-DOR0Uh6g.js +++ /dev/null @@ -1,332 +0,0 @@ -var gT=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var TH=gT((BH,md)=>{function N1(e,t){for(var n=0;nr[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();var hu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Sf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var T1={exports:{}},kf={},R1={exports:{}},tt={};/** - * @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 Oc=Symbol.for("react.element"),yT=Symbol.for("react.portal"),vT=Symbol.for("react.fragment"),xT=Symbol.for("react.strict_mode"),wT=Symbol.for("react.profiler"),bT=Symbol.for("react.provider"),_T=Symbol.for("react.context"),ST=Symbol.for("react.forward_ref"),kT=Symbol.for("react.suspense"),CT=Symbol.for("react.memo"),jT=Symbol.for("react.lazy"),Ex=Symbol.iterator;function ET(e){return e===null||typeof e!="object"?null:(e=Ex&&e[Ex]||e["@@iterator"],typeof e=="function"?e:null)}var P1={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A1=Object.assign,O1={};function Da(e,t,n){this.props=e,this.context=t,this.refs=O1,this.updater=n||P1}Da.prototype.isReactComponent={};Da.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Da.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function D1(){}D1.prototype=Da.prototype;function kg(e,t,n){this.props=e,this.context=t,this.refs=O1,this.updater=n||P1}var Cg=kg.prototype=new D1;Cg.constructor=kg;A1(Cg,Da.prototype);Cg.isPureReactComponent=!0;var Nx=Array.isArray,I1=Object.prototype.hasOwnProperty,jg={current:null},M1={key:!0,ref:!0,__self:!0,__source:!0};function L1(e,t,n){var r,s={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)I1.call(t,r)&&!M1.hasOwnProperty(r)&&(s[r]=t[r]);var a=arguments.length-2;if(a===1)s.children=n;else if(1>>1,B=W[$];if(0>>1;$s(ie,X))Des(pe,ie)?(W[$]=pe,W[De]=X,$=De):(W[$]=ie,W[re]=X,$=re);else if(Des(pe,X))W[$]=pe,W[De]=X,$=De;else break e}}return I}function s(W,I){var X=W.sortIndex-I.sortIndex;return X!==0?X:W.id-I.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var c=[],u=[],d=1,f=null,h=3,y=!1,x=!1,g=!1,w=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function b(W){for(var I=n(u);I!==null;){if(I.callback===null)r(u);else if(I.startTime<=W)r(u),I.sortIndex=I.expirationTime,t(c,I);else break;I=n(u)}}function _(W){if(g=!1,b(W),!x)if(n(c)!==null)x=!0,J(C);else{var I=n(u);I!==null&&z(_,I.startTime-W)}}function C(W,I){x=!1,g&&(g=!1,m(P),P=-1),y=!0;var X=h;try{for(b(I),f=n(c);f!==null&&(!(f.expirationTime>I)||W&&!G());){var $=f.callback;if(typeof $=="function"){f.callback=null,h=f.priorityLevel;var B=$(f.expirationTime<=I);I=e.unstable_now(),typeof B=="function"?f.callback=B:f===n(c)&&r(c),b(I)}else r(c);f=n(c)}if(f!==null)var he=!0;else{var re=n(u);re!==null&&z(_,re.startTime-I),he=!1}return he}finally{f=null,h=X,y=!1}}var j=!1,T=null,P=-1,A=5,D=-1;function G(){return!(e.unstable_now()-DW||125$?(W.sortIndex=X,t(u,W),n(c)===null&&W===n(u)&&(g?(m(P),P=-1):g=!0,z(_,X-$))):(W.sortIndex=B,t(c,W),x||y||(x=!0,J(C))),W},e.unstable_shouldYield=G,e.unstable_wrapCallback=function(W){var I=h;return function(){var X=h;h=I;try{return W.apply(this,arguments)}finally{h=X}}}})(B1);V1.exports=B1;var FT=V1.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 zT=v,Gn=FT;function oe(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"),Hp=Object.prototype.hasOwnProperty,$T=/^[: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]*$/,Rx={},Px={};function UT(e){return Hp.call(Px,e)?!0:Hp.call(Rx,e)?!1:$T.test(e)?Px[e]=!0:(Rx[e]=!0,!1)}function VT(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function BT(e,t,n,r){if(t===null||typeof t>"u"||VT(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Cn(e,t,n,r,s,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var sn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){sn[e]=new Cn(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];sn[t]=new Cn(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){sn[e]=new Cn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){sn[e]=new Cn(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){sn[e]=new Cn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){sn[e]=new Cn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){sn[e]=new Cn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){sn[e]=new Cn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){sn[e]=new Cn(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ng=/[\-:]([a-z])/g;function Tg(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(Ng,Tg);sn[t]=new Cn(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(Ng,Tg);sn[t]=new Cn(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(Ng,Tg);sn[t]=new Cn(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){sn[e]=new Cn(e,1,!1,e.toLowerCase(),null,!1,!1)});sn.xlinkHref=new Cn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){sn[e]=new Cn(e,1,!1,e.toLowerCase(),null,!0,!0)});function Rg(e,t,n,r){var s=sn.hasOwnProperty(t)?sn[t]:null;(s!==null?s.type!==0:r||!(2a||s[o]!==i[a]){var c=` -`+s[o].replace(" at new "," at ");return e.displayName&&c.includes("")&&(c=c.replace("",e.displayName)),c}while(1<=o&&0<=a);break}}}finally{Hh=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?gl(e):""}function WT(e){switch(e.tag){case 5:return gl(e.type);case 16:return gl("Lazy");case 13:return gl("Suspense");case 19:return gl("SuspenseList");case 0:case 2:case 15:return e=Yh(e.type,!1),e;case 11:return e=Yh(e.type.render,!1),e;case 1:return e=Yh(e.type,!0),e;default:return""}}function Zp(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 Uo:return"Fragment";case $o:return"Portal";case Yp:return"Profiler";case Pg:return"StrictMode";case Kp:return"Suspense";case Gp:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Y1:return(e.displayName||"Context")+".Consumer";case H1:return(e._context.displayName||"Context")+".Provider";case Ag:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Og:return t=e.displayName||null,t!==null?t:Zp(e.type)||"Memo";case Js:t=e._payload,e=e._init;try{return Zp(e(t))}catch{}}return null}function HT(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 Zp(t);case 8:return t===Pg?"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 bi(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function G1(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function YT(e){var t=G1(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var s=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function gu(e){e._valueTracker||(e._valueTracker=YT(e))}function Z1(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=G1(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function gd(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 qp(e,t){var n=t.checked;return Lt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ox(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=bi(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function q1(e,t){t=t.checked,t!=null&&Rg(e,"checked",t,!1)}function Xp(e,t){q1(e,t);var n=bi(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Qp(e,t.type,n):t.hasOwnProperty("defaultValue")&&Qp(e,t.type,bi(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Dx(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Qp(e,t,n){(t!=="number"||gd(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var yl=Array.isArray;function oa(e,t,n,r){if(e=e.options,t){t={};for(var s=0;s"+t.valueOf().toString()+"",t=yu.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Hl(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Tl={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},KT=["Webkit","ms","Moz","O"];Object.keys(Tl).forEach(function(e){KT.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Tl[t]=Tl[e]})});function eb(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Tl.hasOwnProperty(e)&&Tl[e]?(""+t).trim():t+"px"}function tb(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,s=eb(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,s):e[n]=s}}var GT=Lt({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 tm(e,t){if(t){if(GT[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(oe(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(oe(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(oe(61))}if(t.style!=null&&typeof t.style!="object")throw Error(oe(62))}}function nm(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 rm=null;function Dg(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var sm=null,aa=null,la=null;function Lx(e){if(e=Mc(e)){if(typeof sm!="function")throw Error(oe(280));var t=e.stateNode;t&&(t=Tf(t),sm(e.stateNode,e.type,t))}}function nb(e){aa?la?la.push(e):la=[e]:aa=e}function rb(){if(aa){var e=aa,t=la;if(la=aa=null,Lx(e),t)for(e=0;e>>=0,e===0?32:31-(iR(e)/oR|0)|0}var vu=64,xu=4194304;function vl(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 wd(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,s=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~s;a!==0?r=vl(a):(i&=o,i!==0&&(r=vl(i)))}else o=n&~s,o!==0?r=vl(o):i!==0&&(r=vl(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&s)&&(s=r&-r,i=t&-t,s>=i||s===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Dc(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Sr(t),e[t]=n}function uR(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Pl),Yx=" ",Kx=!1;function Sb(e,t){switch(e){case"keyup":return FR.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function kb(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Vo=!1;function $R(e,t){switch(e){case"compositionend":return kb(t);case"keypress":return t.which!==32?null:(Kx=!0,Yx);case"textInput":return e=t.data,e===Yx&&Kx?null:e;default:return null}}function UR(e,t){if(Vo)return e==="compositionend"||!Vg&&Sb(e,t)?(e=bb(),Zu=zg=oi=null,Vo=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Xx(n)}}function Nb(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Nb(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Tb(){for(var e=window,t=gd();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=gd(e.document)}return t}function Bg(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 qR(e){var t=Tb(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Nb(n.ownerDocument.documentElement,n)){if(r!==null&&Bg(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var s=n.textContent.length,i=Math.min(r.start,s);r=r.end===void 0?i:Math.min(r.end,s),!e.extend&&i>r&&(s=r,r=i,i=s),s=Qx(n,i);var o=Qx(n,r);s&&o&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(s.node,s.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.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,Bo=null,um=null,Ol=null,dm=!1;function Jx(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;dm||Bo==null||Bo!==gd(r)||(r=Bo,"selectionStart"in r&&Bg(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ol&&Xl(Ol,r)||(Ol=r,r=Sd(um,"onSelect"),0Yo||(e.current=ym[Yo],ym[Yo]=null,Yo--)}function bt(e,t){Yo++,ym[Yo]=e.current,e.current=t}var _i={},fn=Ai(_i),Pn=Ai(!1),ro=_i;function ba(e,t){var n=e.type.contextTypes;if(!n)return _i;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var s={},i;for(i in n)s[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function An(e){return e=e.childContextTypes,e!=null}function Cd(){kt(Pn),kt(fn)}function o0(e,t,n){if(fn.current!==_i)throw Error(oe(168));bt(fn,t),bt(Pn,n)}function Fb(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var s in r)if(!(s in t))throw Error(oe(108,HT(e)||"Unknown",s));return Lt({},n,r)}function jd(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||_i,ro=fn.current,bt(fn,e),bt(Pn,Pn.current),!0}function a0(e,t,n){var r=e.stateNode;if(!r)throw Error(oe(169));n?(e=Fb(e,t,ro),r.__reactInternalMemoizedMergedChildContext=e,kt(Pn),kt(fn),bt(fn,e)):kt(Pn),bt(Pn,n)}var ps=null,Rf=!1,op=!1;function zb(e){ps===null?ps=[e]:ps.push(e)}function lP(e){Rf=!0,zb(e)}function Oi(){if(!op&&ps!==null){op=!0;var e=0,t=gt;try{var n=ps;for(gt=1;e>=o,s-=o,ms=1<<32-Sr(t)+s|n<P?(A=T,T=null):A=T.sibling;var D=h(m,T,b[P],_);if(D===null){T===null&&(T=A);break}e&&T&&D.alternate===null&&t(m,T),p=i(D,p,P),j===null?C=D:j.sibling=D,j=D,T=A}if(P===b.length)return n(m,T),Rt&&Fi(m,P),C;if(T===null){for(;PP?(A=T,T=null):A=T.sibling;var G=h(m,T,D.value,_);if(G===null){T===null&&(T=A);break}e&&T&&G.alternate===null&&t(m,T),p=i(G,p,P),j===null?C=G:j.sibling=G,j=G,T=A}if(D.done)return n(m,T),Rt&&Fi(m,P),C;if(T===null){for(;!D.done;P++,D=b.next())D=f(m,D.value,_),D!==null&&(p=i(D,p,P),j===null?C=D:j.sibling=D,j=D);return Rt&&Fi(m,P),C}for(T=r(m,T);!D.done;P++,D=b.next())D=y(T,m,P,D.value,_),D!==null&&(e&&D.alternate!==null&&T.delete(D.key===null?P:D.key),p=i(D,p,P),j===null?C=D:j.sibling=D,j=D);return e&&T.forEach(function(N){return t(m,N)}),Rt&&Fi(m,P),C}function w(m,p,b,_){if(typeof b=="object"&&b!==null&&b.type===Uo&&b.key===null&&(b=b.props.children),typeof b=="object"&&b!==null){switch(b.$$typeof){case mu:e:{for(var C=b.key,j=p;j!==null;){if(j.key===C){if(C=b.type,C===Uo){if(j.tag===7){n(m,j.sibling),p=s(j,b.props.children),p.return=m,m=p;break e}}else if(j.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Js&&u0(C)===j.type){n(m,j.sibling),p=s(j,b.props),p.ref=nl(m,j,b),p.return=m,m=p;break e}n(m,j);break}else t(m,j);j=j.sibling}b.type===Uo?(p=Ji(b.props.children,m.mode,_,b.key),p.return=m,m=p):(_=rd(b.type,b.key,b.props,null,m.mode,_),_.ref=nl(m,p,b),_.return=m,m=_)}return o(m);case $o:e:{for(j=b.key;p!==null;){if(p.key===j)if(p.tag===4&&p.stateNode.containerInfo===b.containerInfo&&p.stateNode.implementation===b.implementation){n(m,p.sibling),p=s(p,b.children||[]),p.return=m,m=p;break e}else{n(m,p);break}else t(m,p);p=p.sibling}p=pp(b,m.mode,_),p.return=m,m=p}return o(m);case Js:return j=b._init,w(m,p,j(b._payload),_)}if(yl(b))return x(m,p,b,_);if(Xa(b))return g(m,p,b,_);ju(m,b)}return typeof b=="string"&&b!==""||typeof b=="number"?(b=""+b,p!==null&&p.tag===6?(n(m,p.sibling),p=s(p,b),p.return=m,m=p):(n(m,p),p=hp(b,m.mode,_),p.return=m,m=p),o(m)):n(m,p)}return w}var Sa=Bb(!0),Wb=Bb(!1),Td=Ai(null),Rd=null,Zo=null,Kg=null;function Gg(){Kg=Zo=Rd=null}function Zg(e){var t=Td.current;kt(Td),e._currentValue=t}function wm(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function ua(e,t){Rd=e,Kg=Zo=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Rn=!0),e.firstContext=null)}function lr(e){var t=e._currentValue;if(Kg!==e)if(e={context:e,memoizedValue:t,next:null},Zo===null){if(Rd===null)throw Error(oe(308));Zo=e,Rd.dependencies={lanes:0,firstContext:e}}else Zo=Zo.next=e;return t}var Wi=null;function qg(e){Wi===null?Wi=[e]:Wi.push(e)}function Hb(e,t,n,r){var s=t.interleaved;return s===null?(n.next=n,qg(t)):(n.next=s.next,s.next=n),t.interleaved=n,js(e,r)}function js(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 ei=!1;function Xg(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Yb(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 xs(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function mi(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ct&2){var s=r.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),r.pending=t,js(e,n)}return s=r.interleaved,s===null?(t.next=t,qg(r)):(t.next=s.next,s.next=t),r.interleaved=t,js(e,n)}function Xu(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Mg(e,n)}}function d0(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var s=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?s=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?s=i=t:i=i.next=t}else s=i=t;n={baseState:r.baseState,firstBaseUpdate:s,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Pd(e,t,n,r){var s=e.updateQueue;ei=!1;var i=s.firstBaseUpdate,o=s.lastBaseUpdate,a=s.shared.pending;if(a!==null){s.shared.pending=null;var c=a,u=c.next;c.next=null,o===null?i=u:o.next=u,o=c;var d=e.alternate;d!==null&&(d=d.updateQueue,a=d.lastBaseUpdate,a!==o&&(a===null?d.firstBaseUpdate=u:a.next=u,d.lastBaseUpdate=c))}if(i!==null){var f=s.baseState;o=0,d=u=c=null,a=i;do{var h=a.lane,y=a.eventTime;if((r&h)===h){d!==null&&(d=d.next={eventTime:y,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var x=e,g=a;switch(h=t,y=n,g.tag){case 1:if(x=g.payload,typeof x=="function"){f=x.call(y,f,h);break e}f=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=g.payload,h=typeof x=="function"?x.call(y,f,h):x,h==null)break e;f=Lt({},f,h);break e;case 2:ei=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,h=s.effects,h===null?s.effects=[a]:h.push(a))}else y={eventTime:y,lane:h,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(u=d=y,c=f):d=d.next=y,o|=h;if(a=a.next,a===null){if(a=s.shared.pending,a===null)break;h=a,a=h.next,h.next=null,s.lastBaseUpdate=h,s.shared.pending=null}}while(!0);if(d===null&&(c=f),s.baseState=c,s.firstBaseUpdate=u,s.lastBaseUpdate=d,t=s.shared.interleaved,t!==null){s=t;do o|=s.lane,s=s.next;while(s!==t)}else i===null&&(s.shared.lanes=0);oo|=o,e.lanes=o,e.memoizedState=f}}function f0(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=lp.transition;lp.transition={};try{e(!1),t()}finally{gt=n,lp.transition=r}}function c_(){return cr().memoizedState}function fP(e,t,n){var r=yi(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},u_(e))d_(t,n);else if(n=Hb(e,t,n,r),n!==null){var s=_n();kr(n,e,r,s),f_(n,t,r)}}function hP(e,t,n){var r=yi(e),s={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(u_(e))d_(t,s);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,a=i(o,n);if(s.hasEagerState=!0,s.eagerState=a,jr(a,o)){var c=t.interleaved;c===null?(s.next=s,qg(t)):(s.next=c.next,c.next=s),t.interleaved=s;return}}catch{}finally{}n=Hb(e,t,s,r),n!==null&&(s=_n(),kr(n,e,r,s),f_(n,t,r))}}function u_(e){var t=e.alternate;return e===Mt||t!==null&&t===Mt}function d_(e,t){Dl=Od=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function f_(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Mg(e,n)}}var Dd={readContext:lr,useCallback:ln,useContext:ln,useEffect:ln,useImperativeHandle:ln,useInsertionEffect:ln,useLayoutEffect:ln,useMemo:ln,useReducer:ln,useRef:ln,useState:ln,useDebugValue:ln,useDeferredValue:ln,useTransition:ln,useMutableSource:ln,useSyncExternalStore:ln,useId:ln,unstable_isNewReconciler:!1},pP={readContext:lr,useCallback:function(e,t){return zr().memoizedState=[e,t===void 0?null:t],e},useContext:lr,useEffect:p0,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ju(4194308,4,s_.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ju(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ju(4,2,e,t)},useMemo:function(e,t){var n=zr();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=zr();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=fP.bind(null,Mt,e),[r.memoizedState,e]},useRef:function(e){var t=zr();return e={current:e},t.memoizedState=e},useState:h0,useDebugValue:iy,useDeferredValue:function(e){return zr().memoizedState=e},useTransition:function(){var e=h0(!1),t=e[0];return e=dP.bind(null,e[1]),zr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Mt,s=zr();if(Rt){if(n===void 0)throw Error(oe(407));n=n()}else{if(n=t(),Jt===null)throw Error(oe(349));io&30||qb(r,t,n)}s.memoizedState=n;var i={value:n,getSnapshot:t};return s.queue=i,p0(Qb.bind(null,r,i,e),[e]),r.flags|=2048,ic(9,Xb.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=zr(),t=Jt.identifierPrefix;if(Rt){var n=gs,r=ms;n=(r&~(1<<32-Sr(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=rc++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[$r]=t,e[ec]=r,__(e,t,!1,!1),t.stateNode=e;e:{switch(o=nm(n,r),n){case"dialog":St("cancel",e),St("close",e),s=r;break;case"iframe":case"object":case"embed":St("load",e),s=r;break;case"video":case"audio":for(s=0;sja&&(t.flags|=128,r=!0,rl(i,!1),t.lanes=4194304)}else{if(!r)if(e=Ad(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),rl(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!Rt)return cn(t),null}else 2*Vt()-i.renderingStartTime>ja&&n!==1073741824&&(t.flags|=128,r=!0,rl(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Vt(),t.sibling=null,n=Dt.current,bt(Dt,r?n&1|2:n&1),t):(cn(t),null);case 22:case 23:return dy(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?zn&1073741824&&(cn(t),t.subtreeFlags&6&&(t.flags|=8192)):cn(t),null;case 24:return null;case 25:return null}throw Error(oe(156,t.tag))}function _P(e,t){switch(Hg(t),t.tag){case 1:return An(t.type)&&Cd(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ka(),kt(Pn),kt(fn),ey(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Jg(t),null;case 13:if(kt(Dt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(oe(340));_a()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return kt(Dt),null;case 4:return ka(),null;case 10:return Zg(t.type._context),null;case 22:case 23:return dy(),null;case 24:return null;default:return null}}var Nu=!1,un=!1,SP=typeof WeakSet=="function"?WeakSet:Set,Ee=null;function qo(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){zt(e,t,r)}else n.current=null}function Tm(e,t,n){try{n()}catch(r){zt(e,t,r)}}var C0=!1;function kP(e,t){if(fm=bd,e=Tb(),Bg(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var s=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,a=-1,c=-1,u=0,d=0,f=e,h=null;t:for(;;){for(var y;f!==n||s!==0&&f.nodeType!==3||(a=o+s),f!==i||r!==0&&f.nodeType!==3||(c=o+r),f.nodeType===3&&(o+=f.nodeValue.length),(y=f.firstChild)!==null;)h=f,f=y;for(;;){if(f===e)break t;if(h===n&&++u===s&&(a=o),h===i&&++d===r&&(c=o),(y=f.nextSibling)!==null)break;f=h,h=f.parentNode}f=y}n=a===-1||c===-1?null:{start:a,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(hm={focusedElem:e,selectionRange:n},bd=!1,Ee=t;Ee!==null;)if(t=Ee,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Ee=e;else for(;Ee!==null;){t=Ee;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var g=x.memoizedProps,w=x.memoizedState,m=t.stateNode,p=m.getSnapshotBeforeUpdate(t.elementType===t.type?g:pr(t.type,g),w);m.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var b=t.stateNode.containerInfo;b.nodeType===1?b.textContent="":b.nodeType===9&&b.documentElement&&b.removeChild(b.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(oe(163))}}catch(_){zt(t,t.return,_)}if(e=t.sibling,e!==null){e.return=t.return,Ee=e;break}Ee=t.return}return x=C0,C0=!1,x}function Il(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var s=r=r.next;do{if((s.tag&e)===e){var i=s.destroy;s.destroy=void 0,i!==void 0&&Tm(t,n,i)}s=s.next}while(s!==r)}}function Of(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Rm(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 C_(e){var t=e.alternate;t!==null&&(e.alternate=null,C_(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[$r],delete t[ec],delete t[gm],delete t[oP],delete t[aP])),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 j_(e){return e.tag===5||e.tag===3||e.tag===4}function j0(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||j_(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 Pm(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=kd));else if(r!==4&&(e=e.child,e!==null))for(Pm(e,t,n),e=e.sibling;e!==null;)Pm(e,t,n),e=e.sibling}function Am(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Am(e,t,n),e=e.sibling;e!==null;)Am(e,t,n),e=e.sibling}var nn=null,mr=!1;function Gs(e,t,n){for(n=n.child;n!==null;)E_(e,t,n),n=n.sibling}function E_(e,t,n){if(Kr&&typeof Kr.onCommitFiberUnmount=="function")try{Kr.onCommitFiberUnmount(Cf,n)}catch{}switch(n.tag){case 5:un||qo(n,t);case 6:var r=nn,s=mr;nn=null,Gs(e,t,n),nn=r,mr=s,nn!==null&&(mr?(e=nn,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):nn.removeChild(n.stateNode));break;case 18:nn!==null&&(mr?(e=nn,n=n.stateNode,e.nodeType===8?ip(e.parentNode,n):e.nodeType===1&&ip(e,n),Zl(e)):ip(nn,n.stateNode));break;case 4:r=nn,s=mr,nn=n.stateNode.containerInfo,mr=!0,Gs(e,t,n),nn=r,mr=s;break;case 0:case 11:case 14:case 15:if(!un&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){s=r=r.next;do{var i=s,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&Tm(n,t,o),s=s.next}while(s!==r)}Gs(e,t,n);break;case 1:if(!un&&(qo(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){zt(n,t,a)}Gs(e,t,n);break;case 21:Gs(e,t,n);break;case 22:n.mode&1?(un=(r=un)||n.memoizedState!==null,Gs(e,t,n),un=r):Gs(e,t,n);break;default:Gs(e,t,n)}}function E0(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new SP),t.forEach(function(r){var s=OP.bind(null,e,r);n.has(r)||(n.add(r),r.then(s,s))})}}function hr(e,t){var n=t.deletions;if(n!==null)for(var r=0;rs&&(s=o),r&=~i}if(r=s,r=Vt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*jP(r/1960))-r,10e?16:e,ai===null)var r=!1;else{if(e=ai,ai=null,Ld=0,ct&6)throw Error(oe(331));var s=ct;for(ct|=4,Ee=e.current;Ee!==null;){var i=Ee,o=i.child;if(Ee.flags&16){var a=i.deletions;if(a!==null){for(var c=0;cVt()-cy?Qi(e,0):ly|=n),On(e,t)}function I_(e,t){t===0&&(e.mode&1?(t=xu,xu<<=1,!(xu&130023424)&&(xu=4194304)):t=1);var n=_n();e=js(e,t),e!==null&&(Dc(e,t,n),On(e,n))}function AP(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),I_(e,n)}function OP(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,s=e.memoizedState;s!==null&&(n=s.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(oe(314))}r!==null&&r.delete(t),I_(e,n)}var M_;M_=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Pn.current)Rn=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Rn=!1,wP(e,t,n);Rn=!!(e.flags&131072)}else Rn=!1,Rt&&t.flags&1048576&&$b(t,Nd,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ed(e,t),e=t.pendingProps;var s=ba(t,fn.current);ua(t,n),s=ny(null,t,r,e,s,n);var i=ry();return t.flags|=1,typeof s=="object"&&s!==null&&typeof s.render=="function"&&s.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,An(r)?(i=!0,jd(t)):i=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,Xg(t),s.updater=Af,t.stateNode=s,s._reactInternals=t,_m(t,r,e,n),t=Cm(null,t,r,!0,i,n)):(t.tag=0,Rt&&i&&Wg(t),wn(null,t,s,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ed(e,t),e=t.pendingProps,s=r._init,r=s(r._payload),t.type=r,s=t.tag=IP(r),e=pr(r,e),s){case 0:t=km(null,t,r,e,n);break e;case 1:t=_0(null,t,r,e,n);break e;case 11:t=w0(null,t,r,e,n);break e;case 14:t=b0(null,t,r,pr(r.type,e),n);break e}throw Error(oe(306,r,""))}return t;case 0:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:pr(r,s),km(e,t,r,s,n);case 1:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:pr(r,s),_0(e,t,r,s,n);case 3:e:{if(x_(t),e===null)throw Error(oe(387));r=t.pendingProps,i=t.memoizedState,s=i.element,Yb(e,t),Pd(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){s=Ca(Error(oe(423)),t),t=S0(e,t,r,n,s);break e}else if(r!==s){s=Ca(Error(oe(424)),t),t=S0(e,t,r,n,s);break e}else for(Vn=pi(t.stateNode.containerInfo.firstChild),Bn=t,Rt=!0,vr=null,n=Wb(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(_a(),r===s){t=Es(e,t,n);break e}wn(e,t,r,n)}t=t.child}return t;case 5:return Kb(t),e===null&&xm(t),r=t.type,s=t.pendingProps,i=e!==null?e.memoizedProps:null,o=s.children,pm(r,s)?o=null:i!==null&&pm(r,i)&&(t.flags|=32),v_(e,t),wn(e,t,o,n),t.child;case 6:return e===null&&xm(t),null;case 13:return w_(e,t,n);case 4:return Qg(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Sa(t,null,r,n):wn(e,t,r,n),t.child;case 11:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:pr(r,s),w0(e,t,r,s,n);case 7:return wn(e,t,t.pendingProps,n),t.child;case 8:return wn(e,t,t.pendingProps.children,n),t.child;case 12:return wn(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,s=t.pendingProps,i=t.memoizedProps,o=s.value,bt(Td,r._currentValue),r._currentValue=o,i!==null)if(jr(i.value,o)){if(i.children===s.children&&!Pn.current){t=Es(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){o=i.child;for(var c=a.firstContext;c!==null;){if(c.context===r){if(i.tag===1){c=xs(-1,n&-n),c.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}i.lanes|=n,c=i.alternate,c!==null&&(c.lanes|=n),wm(i.return,n,t),a.lanes|=n;break}c=c.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(oe(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),wm(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}wn(e,t,s.children,n),t=t.child}return t;case 9:return s=t.type,r=t.pendingProps.children,ua(t,n),s=lr(s),r=r(s),t.flags|=1,wn(e,t,r,n),t.child;case 14:return r=t.type,s=pr(r,t.pendingProps),s=pr(r.type,s),b0(e,t,r,s,n);case 15:return g_(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:pr(r,s),ed(e,t),t.tag=1,An(r)?(e=!0,jd(t)):e=!1,ua(t,n),h_(t,r,s),_m(t,r,s,n),Cm(null,t,r,!0,e,n);case 19:return b_(e,t,n);case 22:return y_(e,t,n)}throw Error(oe(156,t.tag))};function L_(e,t){return ub(e,t)}function DP(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function sr(e,t,n,r){return new DP(e,t,n,r)}function hy(e){return e=e.prototype,!(!e||!e.isReactComponent)}function IP(e){if(typeof e=="function")return hy(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ag)return 11;if(e===Og)return 14}return 2}function vi(e,t){var n=e.alternate;return n===null?(n=sr(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 rd(e,t,n,r,s,i){var o=2;if(r=e,typeof e=="function")hy(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Uo:return Ji(n.children,s,i,t);case Pg:o=8,s|=8;break;case Yp:return e=sr(12,n,t,s|2),e.elementType=Yp,e.lanes=i,e;case Kp:return e=sr(13,n,t,s),e.elementType=Kp,e.lanes=i,e;case Gp:return e=sr(19,n,t,s),e.elementType=Gp,e.lanes=i,e;case K1:return If(n,s,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case H1:o=10;break e;case Y1:o=9;break e;case Ag:o=11;break e;case Og:o=14;break e;case Js:o=16,r=null;break e}throw Error(oe(130,e==null?e:typeof e,""))}return t=sr(o,n,t,s),t.elementType=e,t.type=r,t.lanes=i,t}function Ji(e,t,n,r){return e=sr(7,e,r,t),e.lanes=n,e}function If(e,t,n,r){return e=sr(22,e,r,t),e.elementType=K1,e.lanes=n,e.stateNode={isHidden:!1},e}function hp(e,t,n){return e=sr(6,e,null,t),e.lanes=n,e}function pp(e,t,n){return t=sr(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function MP(e,t,n,r,s){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=Gh(0),this.expirationTimes=Gh(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Gh(0),this.identifierPrefix=r,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function py(e,t,n,r,s,i,o,a,c){return e=new MP(e,t,n,a,c),t===1?(t=1,i===!0&&(t|=8)):t=0,i=sr(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Xg(i),e}function LP(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(U_)}catch(e){console.error(e)}}U_(),U1.exports=qn;var Is=U1.exports;const V_=Sf(Is),VP=N1({__proto__:null,default:V_},[Is]);var I0=Is;Wp.createRoot=I0.createRoot,Wp.hydrateRoot=I0.hydrateRoot;/** - * @remix-run/router v1.18.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 - */function Ot(){return Ot=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function lo(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function WP(){return Math.random().toString(36).substr(2,8)}function L0(e,t){return{usr:e.state,key:e.key,idx:t}}function ac(e,t,n,r){return n===void 0&&(n=null),Ot({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Ms(t):t,{state:n,key:t&&t.key||r||WP()})}function co(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Ms(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function HP(e,t,n,r){r===void 0&&(r={});let{window:s=document.defaultView,v5Compat:i=!1}=r,o=s.history,a=Wt.Pop,c=null,u=d();u==null&&(u=0,o.replaceState(Ot({},o.state,{idx:u}),""));function d(){return(o.state||{idx:null}).idx}function f(){a=Wt.Pop;let w=d(),m=w==null?null:w-u;u=w,c&&c({action:a,location:g.location,delta:m})}function h(w,m){a=Wt.Push;let p=ac(g.location,w,m);n&&n(p,w),u=d()+1;let b=L0(p,u),_=g.createHref(p);try{o.pushState(b,"",_)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;s.location.assign(_)}i&&c&&c({action:a,location:g.location,delta:1})}function y(w,m){a=Wt.Replace;let p=ac(g.location,w,m);n&&n(p,w),u=d();let b=L0(p,u),_=g.createHref(p);o.replaceState(b,"",_),i&&c&&c({action:a,location:g.location,delta:0})}function x(w){let m=s.location.origin!=="null"?s.location.origin:s.location.href,p=typeof w=="string"?w:co(w);return p=p.replace(/ $/,"%20"),et(m,"No window.location.(origin|href) available to create URL for href: "+p),new URL(p,m)}let g={get action(){return a},get location(){return e(s,o)},listen(w){if(c)throw new Error("A history only accepts one active listener");return s.addEventListener(M0,f),c=w,()=>{s.removeEventListener(M0,f),c=null}},createHref(w){return t(s,w)},createURL:x,encodeLocation(w){let m=x(w);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:h,replace:y,go(w){return o.go(w)}};return g}var wt;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(wt||(wt={}));const YP=new Set(["lazy","caseSensitive","path","id","index","children"]);function KP(e){return e.index===!0}function lc(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((s,i)=>{let o=[...n,String(i)],a=typeof s.id=="string"?s.id:o.join("-");if(et(s.index!==!0||!s.children,"Cannot specify children on an index route"),et(!r[a],'Found a route id collision on id "'+a+`". Route id's must be globally unique within Data Router usages`),KP(s)){let c=Ot({},s,t(s),{id:a});return r[a]=c,c}else{let c=Ot({},s,t(s),{id:a,children:void 0});return r[a]=c,s.children&&(c.children=lc(s.children,t,o,r)),c}})}function $i(e,t,n){return n===void 0&&(n="/"),sd(e,t,n,!1)}function sd(e,t,n,r){let s=typeof t=="string"?Ms(t):t,i=La(s.pathname||"/",n);if(i==null)return null;let o=B_(e);ZP(o);let a=null;for(let c=0;a==null&&c{let c={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};c.relativePath.startsWith("/")&&(et(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let u=ws([r,c.relativePath]),d=n.concat(c);i.children&&i.children.length>0&&(et(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),B_(i.children,t,d,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:nA(u,i.index),routesMeta:d})};return e.forEach((i,o)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))s(i,o);else for(let c of W_(i.path))s(i,o,c)}),t}function W_(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,s=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return s?[i,""]:[i];let o=W_(r.join("/")),a=[];return a.push(...o.map(c=>c===""?i:[i,c].join("/"))),s&&a.push(...o),a.map(c=>e.startsWith("/")&&c===""?"/":c)}function ZP(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:rA(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const qP=/^:[\w-]+$/,XP=3,QP=2,JP=1,eA=10,tA=-2,F0=e=>e==="*";function nA(e,t){let n=e.split("/"),r=n.length;return n.some(F0)&&(r+=tA),t&&(r+=QP),n.filter(s=>!F0(s)).reduce((s,i)=>s+(qP.test(i)?XP:i===""?JP:eA),r)}function rA(e,t){return e.length===t.length&&e.slice(0,-1).every((r,s)=>r===t[s])?e[e.length-1]-t[t.length-1]:0}function sA(e,t,n){n===void 0&&(n=!1);let{routesMeta:r}=e,s={},i="/",o=[];for(let a=0;a{let{paramName:h,isOptional:y}=d;if(h==="*"){let g=a[f]||"";o=i.slice(0,i.length-g.length).replace(/(.)\/+$/,"$1")}const x=a[f];return y&&!x?u[h]=void 0:u[h]=(x||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:o,pattern:e}}function iA(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),lo(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,a,c)=>(r.push({paramName:a,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),r]}function oA(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return lo(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function La(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function aA(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:s=""}=typeof e=="string"?Ms(e):e;return{pathname:n?n.startsWith("/")?n:lA(n,t):t,search:uA(r),hash:dA(s)}}function lA(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function mp(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function H_(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function $f(e,t){let n=H_(e);return t?n.map((r,s)=>s===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Uf(e,t,n,r){r===void 0&&(r=!1);let s;typeof e=="string"?s=Ms(e):(s=Ot({},e),et(!s.pathname||!s.pathname.includes("?"),mp("?","pathname","search",s)),et(!s.pathname||!s.pathname.includes("#"),mp("#","pathname","hash",s)),et(!s.search||!s.search.includes("#"),mp("#","search","hash",s)));let i=e===""||s.pathname==="",o=i?"/":s.pathname,a;if(o==null)a=n;else{let f=t.length-1;if(!r&&o.startsWith("..")){let h=o.split("/");for(;h[0]==="..";)h.shift(),f-=1;s.pathname=h.join("/")}a=f>=0?t[f]:"/"}let c=aA(s,a),u=o&&o!=="/"&&o.endsWith("/"),d=(i||o===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||d)&&(c.pathname+="/"),c}const ws=e=>e.join("/").replace(/\/\/+/g,"/"),cA=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),uA=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,dA=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class vy{constructor(t,n,r,s){s===void 0&&(s=!1),this.status=t,this.statusText=n||"",this.internal=s,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function Vf(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Y_=["post","put","patch","delete"],fA=new Set(Y_),hA=["get",...Y_],pA=new Set(hA),mA=new Set([301,302,303,307,308]),gA=new Set([307,308]),gp={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},yA={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},il={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},xy=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,vA=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),K_="remix-router-transitions";function xA(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",r=!n;et(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let s;if(e.mapRouteProperties)s=e.mapRouteProperties;else if(e.detectErrorBoundary){let V=e.detectErrorBoundary;s=H=>({hasErrorBoundary:V(H)})}else s=vA;let i={},o=lc(e.routes,s,void 0,i),a,c=e.basename||"/",u=e.unstable_dataStrategy||kA,d=e.unstable_patchRoutesOnMiss,f=Ot({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),h=null,y=new Set,x=null,g=null,w=null,m=e.hydrationData!=null,p=$i(o,e.history.location,c),b=null;if(p==null&&!d){let V=vn(404,{pathname:e.history.location.pathname}),{matches:H,route:q}=Z0(o);p=H,b={[q.id]:V}}p&&d&&!e.hydrationData&&Vh(p,o,e.history.location.pathname).active&&(p=null);let _;if(!p)_=!1,p=[];else if(p.some(V=>V.route.lazy))_=!1;else if(!p.some(V=>V.route.loader))_=!0;else if(f.v7_partialHydration){let V=e.hydrationData?e.hydrationData.loaderData:null,H=e.hydrationData?e.hydrationData.errors:null,q=ne=>ne.route.loader?typeof ne.route.loader=="function"&&ne.route.loader.hydrate===!0?!1:V&&V[ne.route.id]!==void 0||H&&H[ne.route.id]!==void 0:!0;if(H){let ne=p.findIndex(ke=>H[ke.route.id]!==void 0);_=p.slice(0,ne+1).every(q)}else _=p.every(q)}else _=e.hydrationData!=null;let C,j={historyAction:e.history.action,location:e.history.location,matches:p,initialized:_,navigation:gp,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||b,fetchers:new Map,blockers:new Map},T=Wt.Pop,P=!1,A,D=!1,G=new Map,N=null,F=!1,S=!1,U=[],J=[],z=new Map,W=0,I=-1,X=new Map,$=new Set,B=new Map,he=new Map,re=new Set,ie=new Map,De=new Map,pe=new Map,_e=!1;function Te(){if(h=e.history.listen(V=>{let{action:H,location:q,delta:ne}=V;if(_e){_e=!1;return}lo(De.size===0||ne!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let ke=lu({currentLocation:j.location,nextLocation:q,historyAction:H});if(ke&&ne!=null){_e=!0,e.history.go(ne*-1),ko(ke,{state:"blocked",location:q,proceed(){ko(ke,{state:"proceeding",proceed:void 0,reset:void 0,location:q}),e.history.go(ne)},reset(){let Ae=new Map(j.blockers);Ae.set(ke,il),Pe({blockers:Ae})}});return}return Z(H,q)}),n){LA(t,G);let V=()=>FA(t,G);t.addEventListener("pagehide",V),N=()=>t.removeEventListener("pagehide",V)}return j.initialized||Z(Wt.Pop,j.location,{initialHydration:!0}),C}function Fe(){h&&h(),N&&N(),y.clear(),A&&A.abort(),j.fetchers.forEach((V,H)=>Yt(H)),j.blockers.forEach((V,H)=>au(H))}function Ie(V){return y.add(V),()=>y.delete(V)}function Pe(V,H){H===void 0&&(H={}),j=Ot({},j,V);let q=[],ne=[];f.v7_fetcherPersist&&j.fetchers.forEach((ke,Ae)=>{ke.state==="idle"&&(re.has(Ae)?ne.push(Ae):q.push(Ae))}),[...y].forEach(ke=>ke(j,{deletedFetchers:ne,unstable_viewTransitionOpts:H.viewTransitionOpts,unstable_flushSync:H.flushSync===!0})),f.v7_fetcherPersist&&(q.forEach(ke=>j.fetchers.delete(ke)),ne.forEach(ke=>Yt(ke)))}function rt(V,H,q){var ne,ke;let{flushSync:Ae}=q===void 0?{}:q,Be=j.actionData!=null&&j.navigation.formMethod!=null&&gr(j.navigation.formMethod)&&j.navigation.state==="loading"&&((ne=V.state)==null?void 0:ne._isRedirect)!==!0,fe;H.actionData?Object.keys(H.actionData).length>0?fe=H.actionData:fe=null:Be?fe=j.actionData:fe=null;let Ze=H.loaderData?K0(j.loaderData,H.loaderData,H.matches||[],H.errors):j.loaderData,Le=j.blockers;Le.size>0&&(Le=new Map(Le),Le.forEach((mt,xt)=>Le.set(xt,il)));let ze=P===!0||j.navigation.formMethod!=null&&gr(j.navigation.formMethod)&&((ke=V.state)==null?void 0:ke._isRedirect)!==!0;a&&(o=a,a=void 0),F||T===Wt.Pop||(T===Wt.Push?e.history.push(V,V.state):T===Wt.Replace&&e.history.replace(V,V.state));let yt;if(T===Wt.Pop){let mt=G.get(j.location.pathname);mt&&mt.has(V.pathname)?yt={currentLocation:j.location,nextLocation:V}:G.has(V.pathname)&&(yt={currentLocation:V,nextLocation:j.location})}else if(D){let mt=G.get(j.location.pathname);mt?mt.add(V.pathname):(mt=new Set([V.pathname]),G.set(j.location.pathname,mt)),yt={currentLocation:j.location,nextLocation:V}}Pe(Ot({},H,{actionData:fe,loaderData:Ze,historyAction:T,location:V,initialized:!0,navigation:gp,revalidation:"idle",restoreScrollPosition:Cx(V,H.matches||j.matches),preventScrollReset:ze,blockers:Le}),{viewTransitionOpts:yt,flushSync:Ae===!0}),T=Wt.Pop,P=!1,D=!1,F=!1,S=!1,U=[],J=[]}async function E(V,H){if(typeof V=="number"){e.history.go(V);return}let q=Lm(j.location,j.matches,c,f.v7_prependBasename,V,f.v7_relativeSplatPath,H==null?void 0:H.fromRouteId,H==null?void 0:H.relative),{path:ne,submission:ke,error:Ae}=$0(f.v7_normalizeFormMethod,!1,q,H),Be=j.location,fe=ac(j.location,ne,H&&H.state);fe=Ot({},fe,e.history.encodeLocation(fe));let Ze=H&&H.replace!=null?H.replace:void 0,Le=Wt.Push;Ze===!0?Le=Wt.Replace:Ze===!1||ke!=null&&gr(ke.formMethod)&&ke.formAction===j.location.pathname+j.location.search&&(Le=Wt.Replace);let ze=H&&"preventScrollReset"in H?H.preventScrollReset===!0:void 0,yt=(H&&H.unstable_flushSync)===!0,mt=lu({currentLocation:Be,nextLocation:fe,historyAction:Le});if(mt){ko(mt,{state:"blocked",location:fe,proceed(){ko(mt,{state:"proceeding",proceed:void 0,reset:void 0,location:fe}),E(V,H)},reset(){let xt=new Map(j.blockers);xt.set(mt,il),Pe({blockers:xt})}});return}return await Z(Le,fe,{submission:ke,pendingError:Ae,preventScrollReset:ze,replace:H&&H.replace,enableViewTransition:H&&H.unstable_viewTransition,flushSync:yt})}function ee(){if(Ye(),Pe({revalidation:"loading"}),j.navigation.state!=="submitting"){if(j.navigation.state==="idle"){Z(j.historyAction,j.location,{startUninterruptedRevalidation:!0});return}Z(T||j.historyAction,j.navigation.location,{overrideNavigation:j.navigation})}}async function Z(V,H,q){A&&A.abort(),A=null,T=V,F=(q&&q.startUninterruptedRevalidation)===!0,fT(j.location,j.matches),P=(q&&q.preventScrollReset)===!0,D=(q&&q.enableViewTransition)===!0;let ne=a||o,ke=q&&q.overrideNavigation,Ae=$i(ne,H,c),Be=(q&&q.flushSync)===!0,fe=Vh(Ae,ne,H.pathname);if(fe.active&&fe.matches&&(Ae=fe.matches),!Ae){let{error:ht,notFoundMatches:tn,route:Bt}=Co(H.pathname);rt(H,{matches:tn,loaderData:{},errors:{[Bt.id]:ht}},{flushSync:Be});return}if(j.initialized&&!S&&RA(j.location,H)&&!(q&&q.submission&&gr(q.submission.formMethod))){rt(H,{matches:Ae},{flushSync:Be});return}A=new AbortController;let Ze=Ro(e.history,H,A.signal,q&&q.submission),Le;if(q&&q.pendingError)Le=[Qo(Ae).route.id,{type:wt.error,error:q.pendingError}];else if(q&&q.submission&&gr(q.submission.formMethod)){let ht=await O(Ze,H,q.submission,Ae,fe.active,{replace:q.replace,flushSync:Be});if(ht.shortCircuited)return;if(ht.pendingActionResult){let[tn,Bt]=ht.pendingActionResult;if($n(Bt)&&Vf(Bt.error)&&Bt.error.status===404){A=null,rt(H,{matches:ht.matches,loaderData:{},errors:{[tn]:Bt.error}});return}}Ae=ht.matches||Ae,Le=ht.pendingActionResult,ke=yp(H,q.submission),Be=!1,fe.active=!1,Ze=Ro(e.history,Ze.url,Ze.signal)}let{shortCircuited:ze,matches:yt,loaderData:mt,errors:xt}=await k(Ze,H,Ae,fe.active,ke,q&&q.submission,q&&q.fetcherSubmission,q&&q.replace,q&&q.initialHydration===!0,Be,Le);ze||(A=null,rt(H,Ot({matches:yt||Ae},G0(Le),{loaderData:mt,errors:xt})))}async function O(V,H,q,ne,ke,Ae){Ae===void 0&&(Ae={}),Ye();let Be=IA(H,q);if(Pe({navigation:Be},{flushSync:Ae.flushSync===!0}),ke){let Le=await cu(ne,H.pathname,V.signal);if(Le.type==="aborted")return{shortCircuited:!0};if(Le.type==="error"){let{boundaryId:ze,error:yt}=Mr(H.pathname,Le);return{matches:Le.partialMatches,pendingActionResult:[ze,{type:wt.error,error:yt}]}}else if(Le.matches)ne=Le.matches;else{let{notFoundMatches:ze,error:yt,route:mt}=Co(H.pathname);return{matches:ze,pendingActionResult:[mt.id,{type:wt.error,error:yt}]}}}let fe,Ze=wl(ne,H);if(!Ze.route.action&&!Ze.route.lazy)fe={type:wt.error,error:vn(405,{method:V.method,pathname:H.pathname,routeId:Ze.route.id})};else if(fe=(await te("action",V,[Ze],ne))[0],V.signal.aborted)return{shortCircuited:!0};if(Ki(fe)){let Le;return Ae&&Ae.replace!=null?Le=Ae.replace:Le=W0(fe.response.headers.get("Location"),new URL(V.url),c)===j.location.pathname+j.location.search,await Q(V,fe,{submission:q,replace:Le}),{shortCircuited:!0}}if(Yi(fe))throw vn(400,{type:"defer-action"});if($n(fe)){let Le=Qo(ne,Ze.route.id);return(Ae&&Ae.replace)!==!0&&(T=Wt.Push),{matches:ne,pendingActionResult:[Le.route.id,fe]}}return{matches:ne,pendingActionResult:[Ze.route.id,fe]}}async function k(V,H,q,ne,ke,Ae,Be,fe,Ze,Le,ze){let yt=ke||yp(H,Ae),mt=Ae||Be||Q0(yt),xt=!F&&(!f.v7_partialHydration||!Ze);if(ne){if(xt){let Ft=R(ze);Pe(Ot({navigation:yt},Ft!==void 0?{actionData:Ft}:{}),{flushSync:Le})}let Qe=await cu(q,H.pathname,V.signal);if(Qe.type==="aborted")return{shortCircuited:!0};if(Qe.type==="error"){let{boundaryId:Ft,error:Mn}=Mr(H.pathname,Qe);return{matches:Qe.partialMatches,loaderData:{},errors:{[Ft]:Mn}}}else if(Qe.matches)q=Qe.matches;else{let{error:Ft,notFoundMatches:Mn,route:Nt}=Co(H.pathname);return{matches:Mn,loaderData:{},errors:{[Nt.id]:Ft}}}}let ht=a||o,[tn,Bt]=U0(e.history,j,q,mt,H,f.v7_partialHydration&&Ze===!0,f.v7_skipActionErrorRevalidation,S,U,J,re,B,$,ht,c,ze);if(Ys(Qe=>!(q&&q.some(Ft=>Ft.route.id===Qe))||tn&&tn.some(Ft=>Ft.route.id===Qe)),I=++W,tn.length===0&&Bt.length===0){let Qe=is();return rt(H,Ot({matches:q,loaderData:{},errors:ze&&$n(ze[1])?{[ze[0]]:ze[1].error}:null},G0(ze),Qe?{fetchers:new Map(j.fetchers)}:{}),{flushSync:Le}),{shortCircuited:!0}}if(xt){let Qe={};if(!ne){Qe.navigation=yt;let Ft=R(ze);Ft!==void 0&&(Qe.actionData=Ft)}Bt.length>0&&(Qe.fetchers=M(Bt)),Pe(Qe,{flushSync:Le})}Bt.forEach(Qe=>{z.has(Qe.key)&<(Qe.key),Qe.controller&&z.set(Qe.key,Qe.controller)});let qa=()=>Bt.forEach(Qe=>lt(Qe.key));A&&A.signal.addEventListener("abort",qa);let{loaderResults:Ks,fetcherResults:jo}=await me(j.matches,q,tn,Bt,V);if(V.signal.aborted)return{shortCircuited:!0};A&&A.signal.removeEventListener("abort",qa),Bt.forEach(Qe=>z.delete(Qe.key));let Eo=q0([...Ks,...jo]);if(Eo){if(Eo.idx>=tn.length){let Qe=Bt[Eo.idx-tn.length].key;$.add(Qe)}return await Q(V,Eo.result,{replace:fe}),{shortCircuited:!0}}let{loaderData:No,errors:Lr}=Y0(j,q,tn,Ks,ze,Bt,jo,ie);ie.forEach((Qe,Ft)=>{Qe.subscribe(Mn=>{(Mn||Qe.done)&&ie.delete(Ft)})}),f.v7_partialHydration&&Ze&&j.errors&&Object.entries(j.errors).filter(Qe=>{let[Ft]=Qe;return!tn.some(Mn=>Mn.route.id===Ft)}).forEach(Qe=>{let[Ft,Mn]=Qe;Lr=Object.assign(Lr||{},{[Ft]:Mn})});let uu=is(),du=er(I),fu=uu||du||Bt.length>0;return Ot({matches:q,loaderData:No,errors:Lr},fu?{fetchers:new Map(j.fetchers)}:{})}function R(V){if(V&&!$n(V[1]))return{[V[0]]:V[1].data};if(j.actionData)return Object.keys(j.actionData).length===0?null:j.actionData}function M(V){return V.forEach(H=>{let q=j.fetchers.get(H.key),ne=ol(void 0,q?q.data:void 0);j.fetchers.set(H.key,ne)}),new Map(j.fetchers)}function K(V,H,q,ne){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");z.has(V)&<(V);let ke=(ne&&ne.unstable_flushSync)===!0,Ae=a||o,Be=Lm(j.location,j.matches,c,f.v7_prependBasename,q,f.v7_relativeSplatPath,H,ne==null?void 0:ne.relative),fe=$i(Ae,Be,c),Ze=Vh(fe,Ae,Be);if(Ze.active&&Ze.matches&&(fe=Ze.matches),!fe){Et(V,H,vn(404,{pathname:Be}),{flushSync:ke});return}let{path:Le,submission:ze,error:yt}=$0(f.v7_normalizeFormMethod,!0,Be,ne);if(yt){Et(V,H,yt,{flushSync:ke});return}let mt=wl(fe,Le);if(P=(ne&&ne.preventScrollReset)===!0,ze&&gr(ze.formMethod)){L(V,H,Le,mt,fe,Ze.active,ke,ze);return}B.set(V,{routeId:H,path:Le}),Y(V,H,Le,mt,fe,Ze.active,ke,ze)}async function L(V,H,q,ne,ke,Ae,Be,fe){Ye(),B.delete(V);function Ze(Nt){if(!Nt.route.action&&!Nt.route.lazy){let os=vn(405,{method:fe.formMethod,pathname:q,routeId:H});return Et(V,H,os,{flushSync:Be}),!0}return!1}if(!Ae&&Ze(ne))return;let Le=j.fetchers.get(V);$e(V,MA(fe,Le),{flushSync:Be});let ze=new AbortController,yt=Ro(e.history,q,ze.signal,fe);if(Ae){let Nt=await cu(ke,q,yt.signal);if(Nt.type==="aborted")return;if(Nt.type==="error"){let{error:os}=Mr(q,Nt);Et(V,H,os,{flushSync:Be});return}else if(Nt.matches){if(ke=Nt.matches,ne=wl(ke,q),Ze(ne))return}else{Et(V,H,vn(404,{pathname:q}),{flushSync:Be});return}}z.set(V,ze);let mt=W,ht=(await te("action",yt,[ne],ke))[0];if(yt.signal.aborted){z.get(V)===ze&&z.delete(V);return}if(f.v7_fetcherPersist&&re.has(V)){if(Ki(ht)||$n(ht)){$e(V,Xs(void 0));return}}else{if(Ki(ht))if(z.delete(V),I>mt){$e(V,Xs(void 0));return}else return $.add(V),$e(V,ol(fe)),Q(yt,ht,{fetcherSubmission:fe});if($n(ht)){Et(V,H,ht.error);return}}if(Yi(ht))throw vn(400,{type:"defer-action"});let tn=j.navigation.location||j.location,Bt=Ro(e.history,tn,ze.signal),qa=a||o,Ks=j.navigation.state!=="idle"?$i(qa,j.navigation.location,c):j.matches;et(Ks,"Didn't find any matches after fetcher action");let jo=++W;X.set(V,jo);let Eo=ol(fe,ht.data);j.fetchers.set(V,Eo);let[No,Lr]=U0(e.history,j,Ks,fe,tn,!1,f.v7_skipActionErrorRevalidation,S,U,J,re,B,$,qa,c,[ne.route.id,ht]);Lr.filter(Nt=>Nt.key!==V).forEach(Nt=>{let os=Nt.key,jx=j.fetchers.get(os),mT=ol(void 0,jx?jx.data:void 0);j.fetchers.set(os,mT),z.has(os)&<(os),Nt.controller&&z.set(os,Nt.controller)}),Pe({fetchers:new Map(j.fetchers)});let uu=()=>Lr.forEach(Nt=>lt(Nt.key));ze.signal.addEventListener("abort",uu);let{loaderResults:du,fetcherResults:fu}=await me(j.matches,Ks,No,Lr,Bt);if(ze.signal.aborted)return;ze.signal.removeEventListener("abort",uu),X.delete(V),z.delete(V),Lr.forEach(Nt=>z.delete(Nt.key));let Qe=q0([...du,...fu]);if(Qe){if(Qe.idx>=No.length){let Nt=Lr[Qe.idx-No.length].key;$.add(Nt)}return Q(Bt,Qe.result)}let{loaderData:Ft,errors:Mn}=Y0(j,j.matches,No,du,void 0,Lr,fu,ie);if(j.fetchers.has(V)){let Nt=Xs(ht.data);j.fetchers.set(V,Nt)}er(jo),j.navigation.state==="loading"&&jo>I?(et(T,"Expected pending action"),A&&A.abort(),rt(j.navigation.location,{matches:Ks,loaderData:Ft,errors:Mn,fetchers:new Map(j.fetchers)})):(Pe({errors:Mn,loaderData:K0(j.loaderData,Ft,Ks,Mn),fetchers:new Map(j.fetchers)}),S=!1)}async function Y(V,H,q,ne,ke,Ae,Be,fe){let Ze=j.fetchers.get(V);$e(V,ol(fe,Ze?Ze.data:void 0),{flushSync:Be});let Le=new AbortController,ze=Ro(e.history,q,Le.signal);if(Ae){let ht=await cu(ke,q,ze.signal);if(ht.type==="aborted")return;if(ht.type==="error"){let{error:tn}=Mr(q,ht);Et(V,H,tn,{flushSync:Be});return}else if(ht.matches)ke=ht.matches,ne=wl(ke,q);else{Et(V,H,vn(404,{pathname:q}),{flushSync:Be});return}}z.set(V,Le);let yt=W,xt=(await te("loader",ze,[ne],ke))[0];if(Yi(xt)&&(xt=await Q_(xt,ze.signal,!0)||xt),z.get(V)===Le&&z.delete(V),!ze.signal.aborted){if(re.has(V)){$e(V,Xs(void 0));return}if(Ki(xt))if(I>yt){$e(V,Xs(void 0));return}else{$.add(V),await Q(ze,xt);return}if($n(xt)){Et(V,H,xt.error);return}et(!Yi(xt),"Unhandled fetcher deferred data"),$e(V,Xs(xt.data))}}async function Q(V,H,q){let{submission:ne,fetcherSubmission:ke,replace:Ae}=q===void 0?{}:q;H.response.headers.has("X-Remix-Revalidate")&&(S=!0);let Be=H.response.headers.get("Location");et(Be,"Expected a Location header on the redirect Response"),Be=W0(Be,new URL(V.url),c);let fe=ac(j.location,Be,{_isRedirect:!0});if(n){let xt=!1;if(H.response.headers.has("X-Remix-Reload-Document"))xt=!0;else if(xy.test(Be)){const ht=e.history.createURL(Be);xt=ht.origin!==t.location.origin||La(ht.pathname,c)==null}if(xt){Ae?t.location.replace(Be):t.location.assign(Be);return}}A=null;let Ze=Ae===!0?Wt.Replace:Wt.Push,{formMethod:Le,formAction:ze,formEncType:yt}=j.navigation;!ne&&!ke&&Le&&ze&&yt&&(ne=Q0(j.navigation));let mt=ne||ke;if(gA.has(H.response.status)&&mt&&gr(mt.formMethod))await Z(Ze,fe,{submission:Ot({},mt,{formAction:Be}),preventScrollReset:P});else{let xt=yp(fe,ne);await Z(Ze,fe,{overrideNavigation:xt,fetcherSubmission:ke,preventScrollReset:P})}}async function te(V,H,q,ne){try{let ke=await CA(u,V,H,q,ne,i,s);return await Promise.all(ke.map((Ae,Be)=>{if(AA(Ae)){let fe=Ae.result;return{type:wt.redirect,response:NA(fe,H,q[Be].route.id,ne,c,f.v7_relativeSplatPath)}}return EA(Ae)}))}catch(ke){return q.map(()=>({type:wt.error,error:ke}))}}async function me(V,H,q,ne,ke){let[Ae,...Be]=await Promise.all([q.length?te("loader",ke,q,H):[],...ne.map(fe=>{if(fe.matches&&fe.match&&fe.controller){let Ze=Ro(e.history,fe.path,fe.controller.signal);return te("loader",Ze,[fe.match],fe.matches).then(Le=>Le[0])}else return Promise.resolve({type:wt.error,error:vn(404,{pathname:fe.path})})})]);return await Promise.all([X0(V,q,Ae,Ae.map(()=>ke.signal),!1,j.loaderData),X0(V,ne.map(fe=>fe.match),Be,ne.map(fe=>fe.controller?fe.controller.signal:null),!0)]),{loaderResults:Ae,fetcherResults:Be}}function Ye(){S=!0,U.push(...Ys()),B.forEach((V,H)=>{z.has(H)&&(J.push(H),lt(H))})}function $e(V,H,q){q===void 0&&(q={}),j.fetchers.set(V,H),Pe({fetchers:new Map(j.fetchers)},{flushSync:(q&&q.flushSync)===!0})}function Et(V,H,q,ne){ne===void 0&&(ne={});let ke=Qo(j.matches,H);Yt(V),Pe({errors:{[ke.route.id]:q},fetchers:new Map(j.fetchers)},{flushSync:(ne&&ne.flushSync)===!0})}function Jn(V){return f.v7_fetcherPersist&&(he.set(V,(he.get(V)||0)+1),re.has(V)&&re.delete(V)),j.fetchers.get(V)||yA}function Yt(V){let H=j.fetchers.get(V);z.has(V)&&!(H&&H.state==="loading"&&X.has(V))&<(V),B.delete(V),X.delete(V),$.delete(V),re.delete(V),j.fetchers.delete(V)}function rs(V){if(f.v7_fetcherPersist){let H=(he.get(V)||0)-1;H<=0?(he.delete(V),re.add(V)):he.set(V,H)}else Yt(V);Pe({fetchers:new Map(j.fetchers)})}function lt(V){let H=z.get(V);et(H,"Expected fetch controller: "+V),H.abort(),z.delete(V)}function ss(V){for(let H of V){let q=Jn(H),ne=Xs(q.data);j.fetchers.set(H,ne)}}function is(){let V=[],H=!1;for(let q of $){let ne=j.fetchers.get(q);et(ne,"Expected fetcher: "+q),ne.state==="loading"&&($.delete(q),V.push(q),H=!0)}return ss(V),H}function er(V){let H=[];for(let[q,ne]of X)if(ne0}function ou(V,H){let q=j.blockers.get(V)||il;return De.get(V)!==H&&De.set(V,H),q}function au(V){j.blockers.delete(V),De.delete(V)}function ko(V,H){let q=j.blockers.get(V)||il;et(q.state==="unblocked"&&H.state==="blocked"||q.state==="blocked"&&H.state==="blocked"||q.state==="blocked"&&H.state==="proceeding"||q.state==="blocked"&&H.state==="unblocked"||q.state==="proceeding"&&H.state==="unblocked","Invalid blocker state transition: "+q.state+" -> "+H.state);let ne=new Map(j.blockers);ne.set(V,H),Pe({blockers:ne})}function lu(V){let{currentLocation:H,nextLocation:q,historyAction:ne}=V;if(De.size===0)return;De.size>1&&lo(!1,"A router only supports one blocker at a time");let ke=Array.from(De.entries()),[Ae,Be]=ke[ke.length-1],fe=j.blockers.get(Ae);if(!(fe&&fe.state==="proceeding")&&Be({currentLocation:H,nextLocation:q,historyAction:ne}))return Ae}function Co(V){let H=vn(404,{pathname:V}),q=a||o,{matches:ne,route:ke}=Z0(q);return Ys(),{notFoundMatches:ne,route:ke,error:H}}function Mr(V,H){return{boundaryId:Qo(H.partialMatches).route.id,error:vn(400,{type:"route-discovery",pathname:V,message:H.error!=null&&"message"in H.error?H.error:String(H.error)})}}function Ys(V){let H=[];return ie.forEach((q,ne)=>{(!V||V(ne))&&(q.cancel(),H.push(ne),ie.delete(ne))}),H}function dT(V,H,q){if(x=V,w=H,g=q||null,!m&&j.navigation===gp){m=!0;let ne=Cx(j.location,j.matches);ne!=null&&Pe({restoreScrollPosition:ne})}return()=>{x=null,w=null,g=null}}function kx(V,H){return g&&g(V,H.map(ne=>GP(ne,j.loaderData)))||V.key}function fT(V,H){if(x&&w){let q=kx(V,H);x[q]=w()}}function Cx(V,H){if(x){let q=kx(V,H),ne=x[q];if(typeof ne=="number")return ne}return null}function Vh(V,H,q){if(d)if(V){let ne=V[V.length-1].route;if(ne.path&&(ne.path==="*"||ne.path.endsWith("/*")))return{active:!0,matches:sd(H,q,c,!0)}}else return{active:!0,matches:sd(H,q,c,!0)||[]};return{active:!1,matches:null}}async function cu(V,H,q){let ne=V,ke=ne.length>0?ne[ne.length-1].route:null;for(;;){let Ae=a==null,Be=a||o;try{await SA(d,H,ne,Be,i,s,pe,q)}catch(ze){return{type:"error",error:ze,partialMatches:ne}}finally{Ae&&(o=[...o])}if(q.aborted)return{type:"aborted"};let fe=$i(Be,H,c),Ze=!1;if(fe){let ze=fe[fe.length-1].route;if(ze.index)return{type:"success",matches:fe};if(ze.path&&ze.path.length>0)if(ze.path==="*")Ze=!0;else return{type:"success",matches:fe}}let Le=sd(Be,H,c,!0);if(!Le||ne.map(ze=>ze.route.id).join("-")===Le.map(ze=>ze.route.id).join("-"))return{type:"success",matches:Ze?fe:null};if(ne=Le,ke=ne[ne.length-1].route,ke.path==="*")return{type:"success",matches:ne}}}function hT(V){i={},a=lc(V,s,void 0,i)}function pT(V,H){let q=a==null;Z_(V,H,a||o,i,s),q&&(o=[...o],Pe({}))}return C={get basename(){return c},get future(){return f},get state(){return j},get routes(){return o},get window(){return t},initialize:Te,subscribe:Ie,enableScrollRestoration:dT,navigate:E,fetch:K,revalidate:ee,createHref:V=>e.history.createHref(V),encodeLocation:V=>e.history.encodeLocation(V),getFetcher:Jn,deleteFetcher:rs,dispose:Fe,getBlocker:ou,deleteBlocker:au,patchRoutes:pT,_internalFetchControllers:z,_internalActiveDeferreds:ie,_internalSetRoutes:hT},C}function wA(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function Lm(e,t,n,r,s,i,o,a){let c,u;if(o){c=[];for(let f of t)if(c.push(f),f.route.id===o){u=f;break}}else c=t,u=t[t.length-1];let d=Uf(s||".",$f(c,i),La(e.pathname,n)||e.pathname,a==="path");return s==null&&(d.search=e.search,d.hash=e.hash),(s==null||s===""||s===".")&&u&&u.route.index&&!wy(d.search)&&(d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(d.pathname=d.pathname==="/"?n:ws([n,d.pathname])),co(d)}function $0(e,t,n,r){if(!r||!wA(r))return{path:n};if(r.formMethod&&!DA(r.formMethod))return{path:n,error:vn(405,{method:r.formMethod})};let s=()=>({path:n,error:vn(400,{type:"invalid-body"})}),i=r.formMethod||"get",o=e?i.toUpperCase():i.toLowerCase(),a=q_(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!gr(o))return s();let h=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((y,x)=>{let[g,w]=x;return""+y+g+"="+w+` -`},""):String(r.body);return{path:n,submission:{formMethod:o,formAction:a,formEncType:r.formEncType,formData:void 0,json:void 0,text:h}}}else if(r.formEncType==="application/json"){if(!gr(o))return s();try{let h=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:o,formAction:a,formEncType:r.formEncType,formData:void 0,json:h,text:void 0}}}catch{return s()}}}et(typeof FormData=="function","FormData is not available in this environment");let c,u;if(r.formData)c=Fm(r.formData),u=r.formData;else if(r.body instanceof FormData)c=Fm(r.body),u=r.body;else if(r.body instanceof URLSearchParams)c=r.body,u=H0(c);else if(r.body==null)c=new URLSearchParams,u=new FormData;else try{c=new URLSearchParams(r.body),u=H0(c)}catch{return s()}let d={formMethod:o,formAction:a,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(gr(d.formMethod))return{path:n,submission:d};let f=Ms(n);return t&&f.search&&wy(f.search)&&c.append("index",""),f.search="?"+c,{path:co(f),submission:d}}function bA(e,t){let n=e;if(t){let r=e.findIndex(s=>s.route.id===t);r>=0&&(n=e.slice(0,r))}return n}function U0(e,t,n,r,s,i,o,a,c,u,d,f,h,y,x,g){let w=g?$n(g[1])?g[1].error:g[1].data:void 0,m=e.createURL(t.location),p=e.createURL(s),b=g&&$n(g[1])?g[0]:void 0,_=b?bA(n,b):n,C=g?g[1].statusCode:void 0,j=o&&C&&C>=400,T=_.filter((A,D)=>{let{route:G}=A;if(G.lazy)return!0;if(G.loader==null)return!1;if(i)return typeof G.loader!="function"||G.loader.hydrate?!0:t.loaderData[G.id]===void 0&&(!t.errors||t.errors[G.id]===void 0);if(_A(t.loaderData,t.matches[D],A)||c.some(S=>S===A.route.id))return!0;let N=t.matches[D],F=A;return V0(A,Ot({currentUrl:m,currentParams:N.params,nextUrl:p,nextParams:F.params},r,{actionResult:w,actionStatus:C,defaultShouldRevalidate:j?!1:a||m.pathname+m.search===p.pathname+p.search||m.search!==p.search||G_(N,F)}))}),P=[];return f.forEach((A,D)=>{if(i||!n.some(U=>U.route.id===A.routeId)||d.has(D))return;let G=$i(y,A.path,x);if(!G){P.push({key:D,routeId:A.routeId,path:A.path,matches:null,match:null,controller:null});return}let N=t.fetchers.get(D),F=wl(G,A.path),S=!1;h.has(D)?S=!1:u.includes(D)?S=!0:N&&N.state!=="idle"&&N.data===void 0?S=a:S=V0(F,Ot({currentUrl:m,currentParams:t.matches[t.matches.length-1].params,nextUrl:p,nextParams:n[n.length-1].params},r,{actionResult:w,actionStatus:C,defaultShouldRevalidate:j?!1:a})),S&&P.push({key:D,routeId:A.routeId,path:A.path,matches:G,match:F,controller:new AbortController})}),[T,P]}function _A(e,t,n){let r=!t||n.route.id!==t.route.id,s=e[n.route.id]===void 0;return r||s}function G_(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function V0(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function SA(e,t,n,r,s,i,o,a){let c=[t,...n.map(u=>u.route.id)].join("-");try{let u=o.get(c);u||(u=e({path:t,matches:n,patch:(d,f)=>{a.aborted||Z_(d,f,r,s,i)}}),o.set(c,u)),u&&PA(u)&&await u}finally{o.delete(c)}}function Z_(e,t,n,r,s){if(e){var i;let o=r[e];et(o,"No route found to patch children into: routeId = "+e);let a=lc(t,s,[e,"patch",String(((i=o.children)==null?void 0:i.length)||"0")],r);o.children?o.children.push(...a):o.children=a}else{let o=lc(t,s,["patch",String(n.length||"0")],r);n.push(...o)}}async function B0(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let s=n[e.id];et(s,"No route found in manifest");let i={};for(let o in r){let c=s[o]!==void 0&&o!=="hasErrorBoundary";lo(!c,'Route "'+s.id+'" has a static property "'+o+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+o+'" will be ignored.')),!c&&!YP.has(o)&&(i[o]=r[o])}Object.assign(s,i),Object.assign(s,Ot({},t(s),{lazy:void 0}))}function kA(e){return Promise.all(e.matches.map(t=>t.resolve()))}async function CA(e,t,n,r,s,i,o,a){let c=r.reduce((f,h)=>f.add(h.route.id),new Set),u=new Set,d=await e({matches:s.map(f=>{let h=c.has(f.route.id);return Ot({},f,{shouldLoad:h,resolve:x=>(u.add(f.route.id),h?jA(t,n,f,i,o,x,a):Promise.resolve({type:wt.data,result:void 0}))})}),request:n,params:s[0].params,context:a});return s.forEach(f=>et(u.has(f.route.id),'`match.resolve()` was not called for route id "'+f.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),d.filter((f,h)=>c.has(s[h].route.id))}async function jA(e,t,n,r,s,i,o){let a,c,u=d=>{let f,h=new Promise((g,w)=>f=w);c=()=>f(),t.signal.addEventListener("abort",c);let y=g=>typeof d!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: '+n.route.id+"]"))):d({request:t,params:n.params,context:o},...g!==void 0?[g]:[]),x;return i?x=i(g=>y(g)):x=(async()=>{try{return{type:"data",result:await y()}}catch(g){return{type:"error",result:g}}})(),Promise.race([x,h])};try{let d=n.route[e];if(n.route.lazy)if(d){let f,[h]=await Promise.all([u(d).catch(y=>{f=y}),B0(n.route,s,r)]);if(f!==void 0)throw f;a=h}else if(await B0(n.route,s,r),d=n.route[e],d)a=await u(d);else if(e==="action"){let f=new URL(t.url),h=f.pathname+f.search;throw vn(405,{method:t.method,pathname:h,routeId:n.route.id})}else return{type:wt.data,result:void 0};else if(d)a=await u(d);else{let f=new URL(t.url),h=f.pathname+f.search;throw vn(404,{pathname:h})}et(a.result!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(d){return{type:wt.error,result:d}}finally{c&&t.signal.removeEventListener("abort",c)}return a}async function EA(e){let{result:t,type:n,status:r}=e;if(X_(t)){let o;try{let a=t.headers.get("Content-Type");a&&/\bapplication\/json\b/.test(a)?t.body==null?o=null:o=await t.json():o=await t.text()}catch(a){return{type:wt.error,error:a}}return n===wt.error?{type:wt.error,error:new vy(t.status,t.statusText,o),statusCode:t.status,headers:t.headers}:{type:wt.data,data:o,statusCode:t.status,headers:t.headers}}if(n===wt.error)return{type:wt.error,error:t,statusCode:Vf(t)?t.status:r};if(OA(t)){var s,i;return{type:wt.deferred,deferredData:t,statusCode:(s=t.init)==null?void 0:s.status,headers:((i=t.init)==null?void 0:i.headers)&&new Headers(t.init.headers)}}return{type:wt.data,data:t,statusCode:r}}function NA(e,t,n,r,s,i){let o=e.headers.get("Location");if(et(o,"Redirects returned/thrown from loaders/actions must have a Location header"),!xy.test(o)){let a=r.slice(0,r.findIndex(c=>c.route.id===n)+1);o=Lm(new URL(t.url),a,s,!0,o,i),e.headers.set("Location",o)}return e}function W0(e,t,n){if(xy.test(e)){let r=e,s=r.startsWith("//")?new URL(t.protocol+r):new URL(r),i=La(s.pathname,n)!=null;if(s.origin===t.origin&&i)return s.pathname+s.search+s.hash}return e}function Ro(e,t,n,r){let s=e.createURL(q_(t)).toString(),i={signal:n};if(r&&gr(r.formMethod)){let{formMethod:o,formEncType:a}=r;i.method=o.toUpperCase(),a==="application/json"?(i.headers=new Headers({"Content-Type":a}),i.body=JSON.stringify(r.json)):a==="text/plain"?i.body=r.text:a==="application/x-www-form-urlencoded"&&r.formData?i.body=Fm(r.formData):i.body=r.formData}return new Request(s,i)}function Fm(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r=="string"?r:r.name);return t}function H0(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function TA(e,t,n,r,s,i){let o={},a=null,c,u=!1,d={},f=r&&$n(r[1])?r[1].error:void 0;return n.forEach((h,y)=>{let x=t[y].route.id;if(et(!Ki(h),"Cannot handle redirect results in processLoaderData"),$n(h)){let g=h.error;f!==void 0&&(g=f,f=void 0),a=a||{};{let w=Qo(e,x);a[w.route.id]==null&&(a[w.route.id]=g)}o[x]=void 0,u||(u=!0,c=Vf(h.error)?h.error.status:500),h.headers&&(d[x]=h.headers)}else Yi(h)?(s.set(x,h.deferredData),o[x]=h.deferredData.data,h.statusCode!=null&&h.statusCode!==200&&!u&&(c=h.statusCode),h.headers&&(d[x]=h.headers)):(o[x]=h.data,h.statusCode&&h.statusCode!==200&&!u&&(c=h.statusCode),h.headers&&(d[x]=h.headers))}),f!==void 0&&r&&(a={[r[0]]:f},o[r[0]]=void 0),{loaderData:o,errors:a,statusCode:c||200,loaderHeaders:d}}function Y0(e,t,n,r,s,i,o,a){let{loaderData:c,errors:u}=TA(t,n,r,s,a);for(let d=0;dr.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function Z0(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function vn(e,t){let{pathname:n,routeId:r,method:s,type:i,message:o}=t===void 0?{}:t,a="Unknown Server Error",c="Unknown @remix-run/router error";return e===400?(a="Bad Request",i==="route-discovery"?c='Unable to match URL "'+n+'" - the `unstable_patchRoutesOnMiss()` '+(`function threw the following error: -`+o):s&&n&&r?c="You made a "+s+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":i==="defer-action"?c="defer() is not supported in actions":i==="invalid-body"&&(c="Unable to encode submission body")):e===403?(a="Forbidden",c='Route "'+r+'" does not match URL "'+n+'"'):e===404?(a="Not Found",c='No route matches URL "'+n+'"'):e===405&&(a="Method Not Allowed",s&&n&&r?c="You made a "+s.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":s&&(c='Invalid request method "'+s.toUpperCase()+'"')),new vy(e||500,a,new Error(c),!0)}function q0(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(Ki(n))return{result:n,idx:t}}}function q_(e){let t=typeof e=="string"?Ms(e):e;return co(Ot({},t,{hash:""}))}function RA(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function PA(e){return typeof e=="object"&&e!=null&&"then"in e}function AA(e){return X_(e.result)&&mA.has(e.result.status)}function Yi(e){return e.type===wt.deferred}function $n(e){return e.type===wt.error}function Ki(e){return(e&&e.type)===wt.redirect}function OA(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function X_(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function DA(e){return pA.has(e.toLowerCase())}function gr(e){return fA.has(e.toLowerCase())}async function X0(e,t,n,r,s,i){for(let o=0;of.route.id===c.route.id),d=u!=null&&!G_(u,c)&&(i&&i[c.route.id])!==void 0;if(Yi(a)&&(s||d)){let f=r[o];et(f,"Expected an AbortSignal for revalidating fetcher deferred result"),await Q_(a,f,s).then(h=>{h&&(n[o]=h||n[o])})}}}async function Q_(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:wt.data,data:e.deferredData.unwrappedData}}catch(s){return{type:wt.error,error:s}}return{type:wt.data,data:e.deferredData.data}}}function wy(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function wl(e,t){let n=typeof t=="string"?Ms(t).search:t.search;if(e[e.length-1].route.index&&wy(n||""))return e[e.length-1];let r=H_(e);return r[r.length-1]}function Q0(e){let{formMethod:t,formAction:n,formEncType:r,text:s,formData:i,json:o}=e;if(!(!t||!n||!r)){if(s!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:s};if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:i,json:void 0,text:void 0};if(o!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:o,text:void 0}}}function yp(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function IA(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function ol(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function MA(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function Xs(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function LA(e,t){try{let n=e.sessionStorage.getItem(K_);if(n){let r=JSON.parse(n);for(let[s,i]of Object.entries(r||{}))i&&Array.isArray(i)&&t.set(s,new Set(i||[]))}}catch{}}function FA(e,t){if(t.size>0){let n={};for(let[r,s]of t)n[r]=[...s];try{e.sessionStorage.setItem(K_,JSON.stringify(n))}catch(r){lo(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/** - * React Router v6.25.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 - */function $d(){return $d=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),v.useCallback(function(u,d){if(d===void 0&&(d={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let f=Uf(u,JSON.parse(o),i,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:ws([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,o,i,e])}const UA=v.createContext(null);function VA(e){let t=v.useContext(Ls).outlet;return t&&v.createElement(UA.Provider,{value:e},t)}function nS(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=v.useContext(Di),{matches:s}=v.useContext(Ls),{pathname:i}=Ar(),o=JSON.stringify($f(s,r.v7_relativeSplatPath));return v.useMemo(()=>Uf(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function BA(e,t,n,r){Fa()||et(!1);let{navigator:s}=v.useContext(Di),{matches:i}=v.useContext(Ls),o=i[i.length-1],a=o?o.params:{};o&&o.pathname;let c=o?o.pathnameBase:"/";o&&o.route;let u=Ar(),d;d=u;let f=d.pathname||"/",h=f;if(c!=="/"){let g=c.replace(/^\//,"").split("/");h="/"+f.replace(/^\//,"").split("/").slice(g.length).join("/")}let y=$i(e,{pathname:h});return GA(y&&y.map(g=>Object.assign({},g,{params:Object.assign({},a,g.params),pathname:ws([c,s.encodeLocation?s.encodeLocation(g.pathname).pathname:g.pathname]),pathnameBase:g.pathnameBase==="/"?c:ws([c,s.encodeLocation?s.encodeLocation(g.pathnameBase).pathname:g.pathnameBase])})),i,n,r)}function WA(){let e=QA(),t=Vf(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return v.createElement(v.Fragment,null,v.createElement("h2",null,"Unexpected Application Error!"),v.createElement("h3",{style:{fontStyle:"italic"}},t),n?v.createElement("pre",{style:s},n):null,null)}const HA=v.createElement(WA,null);class YA extends v.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?v.createElement(Ls.Provider,{value:this.props.routeContext},v.createElement(eS.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function KA(e){let{routeContext:t,match:n,children:r}=e,s=v.useContext(Bf);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),v.createElement(Ls.Provider,{value:t},r)}function GA(e,t,n,r){var s;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if((i=n)!=null&&i.errors)e=n.matches;else return null}let o=e,a=(s=n)==null?void 0:s.errors;if(a!=null){let d=o.findIndex(f=>f.route.id&&(a==null?void 0:a[f.route.id])!==void 0);d>=0||et(!1),o=o.slice(0,Math.min(o.length,d+1))}let c=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((d,f,h)=>{let y,x=!1,g=null,w=null;n&&(y=a&&f.route.id?a[f.route.id]:void 0,g=f.route.errorElement||HA,c&&(u<0&&h===0?(eO("route-fallback"),x=!0,w=null):u===h&&(x=!0,w=f.route.hydrateFallbackElement||null)));let m=t.concat(o.slice(0,h+1)),p=()=>{let b;return y?b=g:x?b=w:f.route.Component?b=v.createElement(f.route.Component,null):f.route.element?b=f.route.element:b=d,v.createElement(KA,{match:f,routeContext:{outlet:d,matches:m,isDataRoute:n!=null},children:b})};return n&&(f.route.ErrorBoundary||f.route.errorElement||h===0)?v.createElement(YA,{location:n.location,revalidation:n.revalidation,component:g,error:y,children:p(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):p()},null)}var rS=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(rS||{}),Ud=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Ud||{});function ZA(e){let t=v.useContext(Bf);return t||et(!1),t}function qA(e){let t=v.useContext(J_);return t||et(!1),t}function XA(e){let t=v.useContext(Ls);return t||et(!1),t}function sS(e){let t=XA(),n=t.matches[t.matches.length-1];return n.route.id||et(!1),n.route.id}function QA(){var e;let t=v.useContext(eS),n=qA(Ud.UseRouteError),r=sS(Ud.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function JA(){let{router:e}=ZA(rS.UseNavigateStable),t=sS(Ud.UseNavigateStable),n=v.useRef(!1);return tS(()=>{n.current=!0}),v.useCallback(function(s,i){i===void 0&&(i={}),n.current&&(typeof s=="number"?e.navigate(s):e.navigate(s,$d({fromRouteId:t},i)))},[e,t])}const J0={};function eO(e,t,n){J0[e]||(J0[e]=!0)}function iS(e){let{to:t,replace:n,state:r,relative:s}=e;Fa()||et(!1);let{future:i,static:o}=v.useContext(Di),{matches:a}=v.useContext(Ls),{pathname:c}=Ar(),u=Dn(),d=Uf(t,$f(a,i.v7_relativeSplatPath),c,s==="path"),f=JSON.stringify(d);return v.useEffect(()=>u(JSON.parse(f),{replace:n,state:r,relative:s}),[u,f,s,n,r]),null}function _y(e){return VA(e.context)}function tO(e){let{basename:t="/",children:n=null,location:r,navigationType:s=Wt.Pop,navigator:i,static:o=!1,future:a}=e;Fa()&&et(!1);let c=t.replace(/^\/*/,"/"),u=v.useMemo(()=>({basename:c,navigator:i,static:o,future:$d({v7_relativeSplatPath:!1},a)}),[c,a,i,o]);typeof r=="string"&&(r=Ms(r));let{pathname:d="/",search:f="",hash:h="",state:y=null,key:x="default"}=r,g=v.useMemo(()=>{let w=La(d,c);return w==null?null:{location:{pathname:w,search:f,hash:h,state:y,key:x},navigationType:s}},[c,d,f,h,y,x,s]);return g==null?null:v.createElement(Di.Provider,{value:u},v.createElement(by.Provider,{children:n,value:g}))}new Promise(()=>{});function nO(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:v.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:v.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:v.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** - * React Router DOM v6.25.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 - */function cc(){return cc=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[s]=e[s]);return n}function sO(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function iO(e,t){return e.button===0&&(!t||t==="_self")&&!sO(e)}function zm(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(s=>[n,s]):[[n,r]])},[]))}function oO(e,t){let n=zm(e);return t&&t.forEach((r,s)=>{n.has(s)||t.getAll(s).forEach(i=>{n.append(s,i)})}),n}const aO=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],lO="6";try{window.__reactRouterVersion=lO}catch{}function cO(e,t){return xA({basename:void 0,future:cc({},void 0,{v7_prependBasename:!0}),history:BP({window:void 0}),hydrationData:uO(),routes:e,mapRouteProperties:nO,unstable_dataStrategy:void 0,unstable_patchRoutesOnMiss:void 0,window:void 0}).initialize()}function uO(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=cc({},t,{errors:dO(t.errors)})),t}function dO(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,s]of t)if(s&&s.__type==="RouteErrorResponse")n[r]=new vy(s.status,s.statusText,s.data,s.internal===!0);else if(s&&s.__type==="Error"){if(s.__subType){let i=window[s.__subType];if(typeof i=="function")try{let o=new i(s.message);o.stack="",n[r]=o}catch{}}if(n[r]==null){let i=new Error(s.message);i.stack="",n[r]=i}}else n[r]=s;return n}const fO=v.createContext({isTransitioning:!1}),hO=v.createContext(new Map),pO="startTransition",ew=z1[pO],mO="flushSync",tw=VP[mO];function gO(e){ew?ew(e):e()}function al(e){tw?tw(e):e()}class yO{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function vO(e){let{fallbackElement:t,router:n,future:r}=e,[s,i]=v.useState(n.state),[o,a]=v.useState(),[c,u]=v.useState({isTransitioning:!1}),[d,f]=v.useState(),[h,y]=v.useState(),[x,g]=v.useState(),w=v.useRef(new Map),{v7_startTransition:m}=r||{},p=v.useCallback(P=>{m?gO(P):P()},[m]),b=v.useCallback((P,A)=>{let{deletedFetchers:D,unstable_flushSync:G,unstable_viewTransitionOpts:N}=A;D.forEach(S=>w.current.delete(S)),P.fetchers.forEach((S,U)=>{S.data!==void 0&&w.current.set(U,S.data)});let F=n.window==null||n.window.document==null||typeof n.window.document.startViewTransition!="function";if(!N||F){G?al(()=>i(P)):p(()=>i(P));return}if(G){al(()=>{h&&(d&&d.resolve(),h.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:N.currentLocation,nextLocation:N.nextLocation})});let S=n.window.document.startViewTransition(()=>{al(()=>i(P))});S.finished.finally(()=>{al(()=>{f(void 0),y(void 0),a(void 0),u({isTransitioning:!1})})}),al(()=>y(S));return}h?(d&&d.resolve(),h.skipTransition(),g({state:P,currentLocation:N.currentLocation,nextLocation:N.nextLocation})):(a(P),u({isTransitioning:!0,flushSync:!1,currentLocation:N.currentLocation,nextLocation:N.nextLocation}))},[n.window,h,d,w,p]);v.useLayoutEffect(()=>n.subscribe(b),[n,b]),v.useEffect(()=>{c.isTransitioning&&!c.flushSync&&f(new yO)},[c]),v.useEffect(()=>{if(d&&o&&n.window){let P=o,A=d.promise,D=n.window.document.startViewTransition(async()=>{p(()=>i(P)),await A});D.finished.finally(()=>{f(void 0),y(void 0),a(void 0),u({isTransitioning:!1})}),y(D)}},[p,o,d,n.window]),v.useEffect(()=>{d&&o&&s.location.key===o.location.key&&d.resolve()},[d,h,s.location,o]),v.useEffect(()=>{!c.isTransitioning&&x&&(a(x.state),u({isTransitioning:!0,flushSync:!1,currentLocation:x.currentLocation,nextLocation:x.nextLocation}),g(void 0))},[c.isTransitioning,x]),v.useEffect(()=>{},[]);let _=v.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:P=>n.navigate(P),push:(P,A,D)=>n.navigate(P,{state:A,preventScrollReset:D==null?void 0:D.preventScrollReset}),replace:(P,A,D)=>n.navigate(P,{replace:!0,state:A,preventScrollReset:D==null?void 0:D.preventScrollReset})}),[n]),C=n.basename||"/",j=v.useMemo(()=>({router:n,navigator:_,static:!1,basename:C}),[n,_,C]),T=v.useMemo(()=>({v7_relativeSplatPath:n.future.v7_relativeSplatPath}),[n.future.v7_relativeSplatPath]);return v.createElement(v.Fragment,null,v.createElement(Bf.Provider,{value:j},v.createElement(J_.Provider,{value:s},v.createElement(hO.Provider,{value:w.current},v.createElement(fO.Provider,{value:c},v.createElement(tO,{basename:C,location:s.location,navigationType:s.historyAction,navigator:_,future:T},s.initialized||n.future.v7_partialHydration?v.createElement(xO,{routes:n.routes,future:n.future,state:s}):t))))),null)}const xO=v.memo(wO);function wO(e){let{routes:t,future:n,state:r}=e;return BA(t,void 0,r,n)}const bO=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",_O=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,xn=v.forwardRef(function(t,n){let{onClick:r,relative:s,reloadDocument:i,replace:o,state:a,target:c,to:u,preventScrollReset:d,unstable_viewTransition:f}=t,h=rO(t,aO),{basename:y}=v.useContext(Di),x,g=!1;if(typeof u=="string"&&_O.test(u)&&(x=u,bO))try{let b=new URL(window.location.href),_=u.startsWith("//")?new URL(b.protocol+u):new URL(u),C=La(_.pathname,y);_.origin===b.origin&&C!=null?u=C+_.search+_.hash:g=!0}catch{}let w=zA(u,{relative:s}),m=SO(u,{replace:o,state:a,target:c,preventScrollReset:d,relative:s,unstable_viewTransition:f});function p(b){r&&r(b),b.defaultPrevented||m(b)}return v.createElement("a",cc({},h,{href:x||w,onClick:g||i?r:p,ref:n,target:c}))});var nw;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(nw||(nw={}));var rw;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(rw||(rw={}));function SO(e,t){let{target:n,replace:r,state:s,preventScrollReset:i,relative:o,unstable_viewTransition:a}=t===void 0?{}:t,c=Dn(),u=Ar(),d=nS(e,{relative:o});return v.useCallback(f=>{if(iO(f,n)){f.preventDefault();let h=r!==void 0?r:co(u)===co(d);c(e,{replace:h,state:s,preventScrollReset:i,relative:o,unstable_viewTransition:a})}},[u,c,d,r,s,n,e,i,o,a])}function kO(e){let t=v.useRef(zm(e)),n=v.useRef(!1),r=Ar(),s=v.useMemo(()=>oO(r.search,n.current?null:t.current),[r.search]),i=Dn(),o=v.useCallback((a,c)=>{const u=zm(typeof a=="function"?a(s):a);n.current=!0,i("?"+u,c)},[i,s]);return[s,o]}/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const CO=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),oS=(...e)=>e.filter((t,n,r)=>!!t&&r.indexOf(t)===n).join(" ");/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */var jO={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const EO=v.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:s="",children:i,iconNode:o,...a},c)=>v.createElement("svg",{ref:c,...jO,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:oS("lucide",s),...a},[...o.map(([u,d])=>v.createElement(u,d)),...Array.isArray(i)?i:[i]]));/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const ut=(e,t)=>{const n=v.forwardRef(({className:r,...s},i)=>v.createElement(EO,{ref:i,iconNode:t,className:oS(`lucide-${CO(e)}`,r),...s}));return n.displayName=`${e}`,n};/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const NO=ut("Ban",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m4.9 4.9 14.2 14.2",key:"1m5liu"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const TO=ut("BookOpen",[["path",{d:"M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z",key:"vv98re"}],["path",{d:"M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z",key:"1cyq3y"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const RO=ut("CalendarX2",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M21 13V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8",key:"3spt84"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"m17 22 5-5",key:"1k6ppv"}],["path",{d:"m17 17 5 5",key:"p7ous7"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const aS=ut("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Sy=ut("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const PO=ut("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const AO=ut("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const OO=ut("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const DO=ut("CircleUser",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662",key:"154egf"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const sw=ut("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const lS=ut("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const $m=ut("Earth",[["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17",key:"1tzkfa"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"14pb5j"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const IO=ut("Ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const iw=ut("Group",[["path",{d:"M3 7V5c0-1.1.9-2 2-2h2",key:"adw53z"}],["path",{d:"M17 3h2c1.1 0 2 .9 2 2v2",key:"an4l38"}],["path",{d:"M21 17v2c0 1.1-.9 2-2 2h-2",key:"144t0e"}],["path",{d:"M7 21H5c-1.1 0-2-.9-2-2v-2",key:"rtnfgi"}],["rect",{width:"7",height:"5",x:"7",y:"7",rx:"1",key:"1eyiv7"}],["rect",{width:"7",height:"5",x:"10",y:"12",rx:"1",key:"1qlmkx"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const ow=ut("History",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const aw=ut("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const MO=ut("KeyRound",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const LO=ut("Key",[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const FO=ut("Languages",[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const zO=ut("LoaderPinwheel",[["path",{d:"M2 12c0-2.8 2.2-5 5-5s5 2.2 5 5 2.2 5 5 5 5-2.2 5-5",key:"1cg5zf"}],["path",{d:"M7 20.7a1 1 0 1 1 5-8.7 1 1 0 1 0 5-8.6",key:"1gnrpi"}],["path",{d:"M7 3.3a1 1 0 1 1 5 8.6 1 1 0 1 0 5 8.6",key:"u9yy5q"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const $O=ut("Megaphone",[["path",{d:"m3 11 18-5v12L3 14v-3z",key:"n962bs"}],["path",{d:"M11.6 16.8a3 3 0 1 1-5.8-1.6",key:"1yl0tm"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const UO=ut("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const VO=ut("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Fl=ut("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const lw=ut("Server",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const BO=ut("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const cS=ut("Smile",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const WO=ut("SquarePen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const HO=ut("SquareSigma",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M16 8.9V7H8l4 5-4 5h8v-1.9",key:"9nih0i"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const YO=ut("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const KO=ut("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const GO=ut("UserRound",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]]);/** - * @license lucide-react v0.417.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const ky=ut("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);var ZO={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};const qO=Sf(ZO);var XO=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function cw(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(qO[n[1]]||e.charAt(e.length-2)==="/")&&(t.voidElement=!0),t.name.startsWith("!--"))){var r=e.indexOf("-->");return{type:"comment",comment:r!==-1?e.slice(4,r):""}}for(var s=new RegExp(XO),i=null;(i=s.exec(e))!==null;)if(i[0].trim())if(i[1]){var o=i[1].trim(),a=[o,""];o.indexOf("=")>-1&&(a=o.split("=")),t.attrs[a[0]]=a[1],s.lastIndex--}else i[2]&&(t.attrs[i[2]]=i[3].trim().substring(1,i[3].length-1));return t}var QO=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,JO=/^\s*$/,eD=Object.create(null);function uS(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(n){var r=[];for(var s in n)r.push(s+'="'+n[s]+'"');return r.length?" "+r.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(uS,"")+"";case"comment":return e+""}}var tD={parse:function(e,t){t||(t={}),t.components||(t.components=eD);var n,r=[],s=[],i=-1,o=!1;if(e.indexOf("<")!==0){var a=e.indexOf("<");r.push({type:"text",content:a===-1?e:e.substring(0,a)})}return e.replace(QO,function(c,u){if(o){if(c!=="")return;o=!1}var d,f=c.charAt(1)!=="/",h=c.startsWith("