From f9bf68bd2ad4c734cd22ea38dd6428959a8b22ae Mon Sep 17 00:00:00 2001 From: enesctnn Date: Wed, 22 May 2024 14:08:38 +0300 Subject: [PATCH] Updates --- .../{index-AzzvLzMz.js => index-mvA6Aqtv.js} | 106 +++++++++--------- index.html | 2 +- 2 files changed, 54 insertions(+), 54 deletions(-) rename assets/{index-AzzvLzMz.js => index-mvA6Aqtv.js} (56%) diff --git a/assets/index-AzzvLzMz.js b/assets/index-mvA6Aqtv.js similarity index 56% rename from assets/index-AzzvLzMz.js rename to assets/index-mvA6Aqtv.js index 353561c..fea626d 100644 --- a/assets/index-AzzvLzMz.js +++ b/assets/index-mvA6Aqtv.js @@ -1,4 +1,4 @@ -var Ep=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var $=(e,t,r)=>(Ep(e,t,"read from private field"),r?r.call(e):t.get(e)),ie=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},ne=(e,t,r,n)=>(Ep(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var Wc=(e,t,r,n)=>({set _(i){ne(e,t,i,r)},get _(){return $(e,t,n)}}),Se=(e,t,r)=>(Ep(e,t,"access private method"),r);function rE(e,t){for(var r=0;rn[i]})}}}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 i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function r(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(i){if(i.ep)return;i.ep=!0;const a=r(i);fetch(i.href,a)}})();var Hc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ke(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var nE={exports:{}},lh={},iE={exports:{}},we={};/** +var _p=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var $=(e,t,r)=>(_p(e,t,"read from private field"),r?r.call(e):t.get(e)),ie=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},ne=(e,t,r,n)=>(_p(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var Wc=(e,t,r,n)=>({set _(i){ne(e,t,i,r)},get _(){return $(e,t,n)}}),Se=(e,t,r)=>(_p(e,t,"access private method"),r);function rE(e,t){for(var r=0;rn[i]})}}}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 i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function r(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(i){if(i.ep)return;i.ep=!0;const a=r(i);fetch(i.href,a)}})();var Hc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ke(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var nE={exports:{}},uh={},iE={exports:{}},we={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ var Ep=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var $=(e,t,r)=>(Ep(e * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var dc=Symbol.for("react.element"),oC=Symbol.for("react.portal"),sC=Symbol.for("react.fragment"),lC=Symbol.for("react.strict_mode"),uC=Symbol.for("react.profiler"),cC=Symbol.for("react.provider"),fC=Symbol.for("react.context"),dC=Symbol.for("react.forward_ref"),hC=Symbol.for("react.suspense"),pC=Symbol.for("react.memo"),mC=Symbol.for("react.lazy"),Yb=Symbol.iterator;function yC(e){return e===null||typeof e!="object"?null:(e=Yb&&e[Yb]||e["@@iterator"],typeof e=="function"?e:null)}var aE={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},oE=Object.assign,sE={};function As(e,t,r){this.props=e,this.context=t,this.refs=sE,this.updater=r||aE}As.prototype.isReactComponent={};As.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")};As.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function lE(){}lE.prototype=As.prototype;function Og(e,t,r){this.props=e,this.context=t,this.refs=sE,this.updater=r||aE}var Pg=Og.prototype=new lE;Pg.constructor=Og;oE(Pg,As.prototype);Pg.isPureReactComponent=!0;var Qb=Array.isArray,uE=Object.prototype.hasOwnProperty,Eg={current:null},cE={key:!0,ref:!0,__self:!0,__source:!0};function fE(e,t,r){var n,i={},a=null,o=null;if(t!=null)for(n in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(a=""+t.key),t)uE.call(t,n)&&!cE.hasOwnProperty(n)&&(i[n]=t[n]);var s=arguments.length-2;if(s===1)i.children=r;else if(1{if(!t.has(e))throw TypeError("Cannot "+r)};var $=(e,t,r)=>(Ep(e * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var SC=A,OC=Symbol.for("react.element"),PC=Symbol.for("react.fragment"),EC=Object.prototype.hasOwnProperty,_C=SC.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,AC={key:!0,ref:!0,__self:!0,__source:!0};function hE(e,t,r){var n,i={},a=null,o=null;r!==void 0&&(a=""+r),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(o=t.ref);for(n in t)EC.call(t,n)&&!AC.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)i[n]===void 0&&(i[n]=t[n]);return{$$typeof:OC,type:e,key:a,ref:o,props:i,_owner:_C.current}}lh.Fragment=PC;lh.jsx=hE;lh.jsxs=hE;nE.exports=lh;var E=nE.exports,Lm={},pE={exports:{}},br={},mE={exports:{}},yE={};/** + */var PC=A,EC=Symbol.for("react.element"),_C=Symbol.for("react.fragment"),AC=Object.prototype.hasOwnProperty,TC=PC.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,jC={key:!0,ref:!0,__self:!0,__source:!0};function hE(e,t,r){var n,i={},a=null,o=null;r!==void 0&&(a=""+r),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(o=t.ref);for(n in t)AC.call(t,n)&&!jC.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)i[n]===void 0&&(i[n]=t[n]);return{$$typeof:EC,type:e,key:a,ref:o,props:i,_owner:TC.current}}uh.Fragment=_C;uh.jsx=hE;uh.jsxs=hE;nE.exports=uh;var E=nE.exports,Fm={},pE={exports:{}},br={},mE={exports:{}},yE={};/** * @license React * scheduler.production.min.js * @@ -22,7 +22,7 @@ var Ep=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var $=(e,t,r)=>(Ep(e * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */(function(e){function t(N,W){var q=N.length;N.push(W);e:for(;0>>1,X=N[Q];if(0>>1;Qi(Me,q))eti(De,Me)?(N[Q]=De,N[et]=q,Q=et):(N[Q]=Me,N[je]=q,Q=je);else if(eti(De,q))N[Q]=De,N[et]=q,Q=et;else break e}}return W}function i(N,W){var q=N.sortIndex-W.sortIndex;return q!==0?q:N.id-W.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var l=[],u=[],f=1,c=null,d=3,h=!1,y=!1,p=!1,g=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function b(N){for(var W=r(u);W!==null;){if(W.callback===null)n(u);else if(W.startTime<=N)n(u),W.sortIndex=W.expirationTime,t(l,W);else break;W=r(u)}}function w(N){if(p=!1,b(N),!y)if(r(l)!==null)y=!0,F(x);else{var W=r(u);W!==null&&K(w,W.startTime-N)}}function x(N,W){y=!1,p&&(p=!1,v(P),P=-1),h=!0;var q=d;try{for(b(W),c=r(l);c!==null&&(!(c.expirationTime>W)||N&&!M());){var Q=c.callback;if(typeof Q=="function"){c.callback=null,d=c.priorityLevel;var X=Q(c.expirationTime<=W);W=e.unstable_now(),typeof X=="function"?c.callback=X:c===r(l)&&n(l),b(W)}else n(l);c=r(l)}if(c!==null)var le=!0;else{var je=r(u);je!==null&&K(w,je.startTime-W),le=!1}return le}finally{c=null,d=q,h=!1}}var O=!1,S=null,P=-1,j=5,T=-1;function M(){return!(e.unstable_now()-TN||125Q?(N.sortIndex=q,t(u,N),r(l)===null&&N===r(u)&&(p?(v(P),P=-1):p=!0,K(w,q-Q))):(N.sortIndex=X,t(l,N),y||h||(y=!0,F(x))),N},e.unstable_shouldYield=M,e.unstable_wrapCallback=function(N){var W=d;return function(){var q=d;d=W;try{return N.apply(this,arguments)}finally{d=q}}}})(yE);mE.exports=yE;var TC=mE.exports;/** + */(function(e){function t(N,W){var q=N.length;N.push(W);e:for(;0>>1,X=N[Q];if(0>>1;Qi(Me,q))eti(De,Me)?(N[Q]=De,N[et]=q,Q=et):(N[Q]=Me,N[je]=q,Q=je);else if(eti(De,q))N[Q]=De,N[et]=q,Q=et;else break e}}return W}function i(N,W){var q=N.sortIndex-W.sortIndex;return q!==0?q:N.id-W.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var l=[],u=[],f=1,c=null,d=3,h=!1,y=!1,p=!1,g=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function b(N){for(var W=r(u);W!==null;){if(W.callback===null)n(u);else if(W.startTime<=N)n(u),W.sortIndex=W.expirationTime,t(l,W);else break;W=r(u)}}function w(N){if(p=!1,b(N),!y)if(r(l)!==null)y=!0,F(x);else{var W=r(u);W!==null&&K(w,W.startTime-N)}}function x(N,W){y=!1,p&&(p=!1,v(P),P=-1),h=!0;var q=d;try{for(b(W),c=r(l);c!==null&&(!(c.expirationTime>W)||N&&!M());){var Q=c.callback;if(typeof Q=="function"){c.callback=null,d=c.priorityLevel;var X=Q(c.expirationTime<=W);W=e.unstable_now(),typeof X=="function"?c.callback=X:c===r(l)&&n(l),b(W)}else n(l);c=r(l)}if(c!==null)var le=!0;else{var je=r(u);je!==null&&K(w,je.startTime-W),le=!1}return le}finally{c=null,d=q,h=!1}}var O=!1,S=null,P=-1,j=5,T=-1;function M(){return!(e.unstable_now()-TN||125Q?(N.sortIndex=q,t(u,N),r(l)===null&&N===r(u)&&(p?(v(P),P=-1):p=!0,K(w,q-Q))):(N.sortIndex=X,t(l,N),y||h||(y=!0,F(x))),N},e.unstable_shouldYield=M,e.unstable_wrapCallback=function(N){var W=d;return function(){var q=d;d=W;try{return N.apply(this,arguments)}finally{d=q}}}})(yE);mE.exports=yE;var kC=mE.exports;/** * @license React * react-dom.production.min.js * @@ -30,14 +30,14 @@ var Ep=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var $=(e,t,r)=>(Ep(e * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var jC=A,gr=TC;function V(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Fm=Object.prototype.hasOwnProperty,kC=/^[: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]*$/,Jb={},e1={};function CC(e){return Fm.call(e1,e)?!0:Fm.call(Jb,e)?!1:kC.test(e)?e1[e]=!0:(Jb[e]=!0,!1)}function $C(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function MC(e,t,r,n){if(t===null||typeof t>"u"||$C(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.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 Qt(e,t,r,n,i,a,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var $t={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){$t[e]=new Qt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];$t[t]=new Qt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){$t[e]=new Qt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){$t[e]=new Qt(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){$t[e]=new Qt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){$t[e]=new Qt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){$t[e]=new Qt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){$t[e]=new Qt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){$t[e]=new Qt(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ag=/[\-:]([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(Ag,Tg);$t[t]=new Qt(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(Ag,Tg);$t[t]=new Qt(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(Ag,Tg);$t[t]=new Qt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){$t[e]=new Qt(e,1,!1,e.toLowerCase(),null,!1,!1)});$t.xlinkHref=new Qt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){$t[e]=new Qt(e,1,!1,e.toLowerCase(),null,!0,!0)});function jg(e,t,r,n){var i=$t.hasOwnProperty(t)?$t[t]:null;(i!==null?i.type!==0:n||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Bm=Object.prototype.hasOwnProperty,$C=/^[: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]*$/,e1={},t1={};function MC(e){return Bm.call(t1,e)?!0:Bm.call(e1,e)?!1:$C.test(e)?t1[e]=!0:(e1[e]=!0,!1)}function NC(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function RC(e,t,r,n){if(t===null||typeof t>"u"||NC(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.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 Qt(e,t,r,n,i,a,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var $t={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){$t[e]=new Qt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];$t[t]=new Qt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){$t[e]=new Qt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){$t[e]=new Qt(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){$t[e]=new Qt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){$t[e]=new Qt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){$t[e]=new Qt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){$t[e]=new Qt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){$t[e]=new Qt(e,5,!1,e.toLowerCase(),null,!1,!1)});var Tg=/[\-:]([a-z])/g;function jg(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(Tg,jg);$t[t]=new Qt(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(Tg,jg);$t[t]=new Qt(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(Tg,jg);$t[t]=new Qt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){$t[e]=new Qt(e,1,!1,e.toLowerCase(),null,!1,!1)});$t.xlinkHref=new Qt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){$t[e]=new Qt(e,1,!1,e.toLowerCase(),null,!0,!0)});function kg(e,t,r,n){var i=$t.hasOwnProperty(t)?$t[t]:null;(i!==null?i.type!==0:n||!(2s||i[o]!==a[s]){var l=` -`+i[o].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=o&&0<=s);break}}}finally{Tp=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?xl(e):""}function NC(e){switch(e.tag){case 5:return xl(e.type);case 16:return xl("Lazy");case 13:return xl("Suspense");case 19:return xl("SuspenseList");case 0:case 2:case 15:return e=jp(e.type,!1),e;case 11:return e=jp(e.type.render,!1),e;case 1:return e=jp(e.type,!0),e;default:return""}}function Wm(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 ho:return"Fragment";case fo:return"Portal";case Bm:return"Profiler";case kg:return"StrictMode";case zm:return"Suspense";case Um:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case bE:return(e.displayName||"Context")+".Consumer";case gE:return(e._context.displayName||"Context")+".Provider";case Cg:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case $g:return t=e.displayName||null,t!==null?t:Wm(e.type)||"Memo";case Pi:t=e._payload,e=e._init;try{return Wm(e(t))}catch{}}return null}function RC(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 Wm(t);case 8:return t===kg?"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 Xi(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function xE(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function IC(e){var t=xE(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){n=""+o,a.call(this,o)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(o){n=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function qc(e){e._valueTracker||(e._valueTracker=IC(e))}function SE(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=xE(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function Bf(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 Hm(e,t){var r=t.checked;return nt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function r1(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=Xi(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function OE(e,t){t=t.checked,t!=null&&jg(e,"checked",t,!1)}function Km(e,t){OE(e,t);var r=Xi(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Vm(e,t.type,r):t.hasOwnProperty("defaultValue")&&Vm(e,t.type,Xi(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function n1(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Vm(e,t,r){(t!=="number"||Bf(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Sl=Array.isArray;function To(e,t,r,n){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Gc.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Vl(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.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},DC=["Webkit","ms","Moz","O"];Object.keys(Tl).forEach(function(e){DC.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Tl[t]=Tl[e]})});function AE(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Tl.hasOwnProperty(e)&&Tl[e]?(""+t).trim():t+"px"}function TE(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=AE(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}var LC=nt({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 Xm(e,t){if(t){if(LC[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(V(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(V(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(V(61))}if(t.style!=null&&typeof t.style!="object")throw Error(V(62))}}function Ym(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 Qm=null;function Mg(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Zm=null,jo=null,ko=null;function o1(e){if(e=mc(e)){if(typeof Zm!="function")throw Error(V(280));var t=e.stateNode;t&&(t=hh(t),Zm(e.stateNode,e.type,t))}}function jE(e){jo?ko?ko.push(e):ko=[e]:jo=e}function kE(){if(jo){var e=jo,t=ko;if(ko=jo=null,o1(e),t)for(e=0;e>>=0,e===0?32:31-(XC(e)/YC|0)|0}var Xc=64,Yc=4194304;function Ol(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 Hf(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,i=e.suspendedLanes,a=e.pingedLanes,o=r&268435455;if(o!==0){var s=o&~i;s!==0?n=Ol(s):(a&=o,a!==0&&(n=Ol(a)))}else o=r&~i,o!==0?n=Ol(o):a!==0&&(n=Ol(a));if(n===0)return 0;if(t!==0&&t!==n&&!(t&i)&&(i=n&-n,a=t&-t,i>=a||i===16&&(a&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function hc(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-on(t),e[t]=r}function e$(e,t){var r=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 n=e.eventTimes;for(e=e.expirationTimes;0=kl),m1=" ",y1=!1;function YE(e,t){switch(e){case"keyup":return T$.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function QE(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var po=!1;function k$(e,t){switch(e){case"compositionend":return QE(t);case"keypress":return t.which!==32?null:(y1=!0,m1);case"textInput":return e=t.data,e===m1&&y1?null:e;default:return null}}function C$(e,t){if(po)return e==="compositionend"||!zg&&YE(e,t)?(e=GE(),jf=Lg=Ii=null,po=!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:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=w1(r)}}function t_(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?t_(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function r_(){for(var e=window,t=Bf();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Bf(e.document)}return t}function Ug(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 B$(e){var t=r_(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&t_(r.ownerDocument.documentElement,r)){if(n!==null&&Ug(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=r.textContent.length,a=Math.min(n.start,i);n=n.end===void 0?a:Math.min(n.end,i),!e.extend&&a>n&&(i=n,n=a,a=i),i=x1(r,a);var o=x1(r,n);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),a>n?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,mo=null,iy=null,$l=null,ay=!1;function S1(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;ay||mo==null||mo!==Bf(n)||(n=mo,"selectionStart"in n&&Ug(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),$l&&Zl($l,n)||($l=n,n=qf(iy,"onSelect"),0go||(e.current=fy[go],fy[go]=null,go--)}function We(e,t){go++,fy[go]=e.current,e.current=t}var Yi={},Ft=Ji(Yi),ir=Ji(!1),Ba=Yi;function Qo(e,t){var r=e.type.contextTypes;if(!r)return Yi;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in r)i[a]=t[a];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ar(e){return e=e.childContextTypes,e!=null}function Xf(){Ge(ir),Ge(Ft)}function j1(e,t,r){if(Ft.current!==Yi)throw Error(V(168));We(Ft,t),We(ir,r)}function f_(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var i in n)if(!(i in t))throw Error(V(108,RC(e)||"Unknown",i));return nt({},r,n)}function Yf(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Yi,Ba=Ft.current,We(Ft,e),We(ir,ir.current),!0}function k1(e,t,r){var n=e.stateNode;if(!n)throw Error(V(169));r?(e=f_(e,t,Ba),n.__reactInternalMemoizedMergedChildContext=e,Ge(ir),Ge(Ft),We(Ft,e)):Ge(ir),We(ir,r)}var zn=null,ph=!1,Wp=!1;function d_(e){zn===null?zn=[e]:zn.push(e)}function Z$(e){ph=!0,d_(e)}function ea(){if(!Wp&&zn!==null){Wp=!0;var e=0,t=Ce;try{var r=zn;for(Ce=1;e>=o,i-=o,Wn=1<<32-on(t)+i|r<P?(j=S,S=null):j=S.sibling;var T=d(v,S,b[P],w);if(T===null){S===null&&(S=j);break}e&&S&&T.alternate===null&&t(v,S),m=a(T,m,P),O===null?x=T:O.sibling=T,O=T,S=j}if(P===b.length)return r(v,S),Ze&&fa(v,P),x;if(S===null){for(;PP?(j=S,S=null):j=S.sibling;var M=d(v,S,T.value,w);if(M===null){S===null&&(S=j);break}e&&S&&M.alternate===null&&t(v,S),m=a(M,m,P),O===null?x=M:O.sibling=M,O=M,S=j}if(T.done)return r(v,S),Ze&&fa(v,P),x;if(S===null){for(;!T.done;P++,T=b.next())T=c(v,T.value,w),T!==null&&(m=a(T,m,P),O===null?x=T:O.sibling=T,O=T);return Ze&&fa(v,P),x}for(S=n(v,S);!T.done;P++,T=b.next())T=h(S,v,P,T.value,w),T!==null&&(e&&T.alternate!==null&&S.delete(T.key===null?P:T.key),m=a(T,m,P),O===null?x=T:O.sibling=T,O=T);return e&&S.forEach(function(k){return t(v,k)}),Ze&&fa(v,P),x}function g(v,m,b,w){if(typeof b=="object"&&b!==null&&b.type===ho&&b.key===null&&(b=b.props.children),typeof b=="object"&&b!==null){switch(b.$$typeof){case Vc:e:{for(var x=b.key,O=m;O!==null;){if(O.key===x){if(x=b.type,x===ho){if(O.tag===7){r(v,O.sibling),m=i(O,b.props.children),m.return=v,v=m;break e}}else if(O.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Pi&&M1(x)===O.type){r(v,O.sibling),m=i(O,b.props),m.ref=rl(v,O,b),m.return=v,v=m;break e}r(v,O);break}else t(v,O);O=O.sibling}b.type===ho?(m=Ia(b.props.children,v.mode,w,b.key),m.return=v,v=m):(w=Df(b.type,b.key,b.props,null,v.mode,w),w.ref=rl(v,m,b),w.return=v,v=w)}return o(v);case fo:e:{for(O=b.key;m!==null;){if(m.key===O)if(m.tag===4&&m.stateNode.containerInfo===b.containerInfo&&m.stateNode.implementation===b.implementation){r(v,m.sibling),m=i(m,b.children||[]),m.return=v,v=m;break e}else{r(v,m);break}else t(v,m);m=m.sibling}m=Qp(b,v.mode,w),m.return=v,v=m}return o(v);case Pi:return O=b._init,g(v,m,O(b._payload),w)}if(Sl(b))return y(v,m,b,w);if(Qs(b))return p(v,m,b,w);nf(v,b)}return typeof b=="string"&&b!==""||typeof b=="number"?(b=""+b,m!==null&&m.tag===6?(r(v,m.sibling),m=i(m,b),m.return=v,v=m):(r(v,m),m=Yp(b,v.mode,w),m.return=v,v=m),o(v)):r(v,m)}return g}var Jo=y_(!0),v_=y_(!1),Jf=Ji(null),ed=null,xo=null,Vg=null;function qg(){Vg=xo=ed=null}function Gg(e){var t=Jf.current;Ge(Jf),e._currentValue=t}function py(e,t,r){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function $o(e,t){ed=e,Vg=xo=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(rr=!0),e.firstContext=null)}function Br(e){var t=e._currentValue;if(Vg!==e)if(e={context:e,memoizedValue:t,next:null},xo===null){if(ed===null)throw Error(V(308));xo=e,ed.dependencies={lanes:0,firstContext:e}}else xo=xo.next=e;return t}var ga=null;function Xg(e){ga===null?ga=[e]:ga.push(e)}function g_(e,t,r,n){var i=t.interleaved;return i===null?(r.next=r,Xg(t)):(r.next=i.next,i.next=r),t.interleaved=r,ri(e,n)}function ri(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var Ei=!1;function Yg(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function b_(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 Gn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Wi(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,_e&2){var i=n.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),n.pending=t,ri(e,r)}return i=n.interleaved,i===null?(t.next=t,Xg(n)):(t.next=i.next,i.next=t),n.interleaved=t,ri(e,r)}function Cf(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Rg(e,r)}}function N1(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var i=null,a=null;if(r=r.firstBaseUpdate,r!==null){do{var o={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};a===null?i=a=o:a=a.next=o,r=r.next}while(r!==null);a===null?i=a=t:a=a.next=t}else i=a=t;r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function td(e,t,r,n){var i=e.updateQueue;Ei=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var l=s,u=l.next;l.next=null,o===null?a=u:o.next=u,o=l;var f=e.alternate;f!==null&&(f=f.updateQueue,s=f.lastBaseUpdate,s!==o&&(s===null?f.firstBaseUpdate=u:s.next=u,f.lastBaseUpdate=l))}if(a!==null){var c=i.baseState;o=0,f=u=l=null,s=a;do{var d=s.lane,h=s.eventTime;if((n&d)===d){f!==null&&(f=f.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var y=e,p=s;switch(d=t,h=r,p.tag){case 1:if(y=p.payload,typeof y=="function"){c=y.call(h,c,d);break e}c=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=p.payload,d=typeof y=="function"?y.call(h,c,d):y,d==null)break e;c=nt({},c,d);break e;case 2:Ei=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,d=i.effects,d===null?i.effects=[s]:d.push(s))}else h={eventTime:h,lane:d,tag:s.tag,payload:s.payload,callback:s.callback,next:null},f===null?(u=f=h,l=c):f=f.next=h,o|=d;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;d=s,s=d.next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}while(!0);if(f===null&&(l=c),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=f,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else a===null&&(i.shared.lanes=0);Wa|=o,e.lanes=o,e.memoizedState=c}}function R1(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;tr?r:4,e(!0);var n=Kp.transition;Kp.transition={};try{e(!1),t()}finally{Ce=r,Kp.transition=n}}function I_(){return zr().memoizedState}function rM(e,t,r){var n=Ki(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},D_(e))L_(t,r);else if(r=g_(e,t,r,n),r!==null){var i=Xt();sn(r,e,n,i),F_(r,t,n)}}function nM(e,t,r){var n=Ki(e),i={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(D_(e))L_(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,r);if(i.hasEagerState=!0,i.eagerState=s,un(s,o)){var l=t.interleaved;l===null?(i.next=i,Xg(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}r=g_(e,t,i,n),r!==null&&(i=Xt(),sn(r,e,n,i),F_(r,t,n))}}function D_(e){var t=e.alternate;return e===rt||t!==null&&t===rt}function L_(e,t){Ml=nd=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function F_(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Rg(e,r)}}var id={readContext:Br,useCallback:Mt,useContext:Mt,useEffect:Mt,useImperativeHandle:Mt,useInsertionEffect:Mt,useLayoutEffect:Mt,useMemo:Mt,useReducer:Mt,useRef:Mt,useState:Mt,useDebugValue:Mt,useDeferredValue:Mt,useTransition:Mt,useMutableSource:Mt,useSyncExternalStore:Mt,useId:Mt,unstable_isNewReconciler:!1},iM={readContext:Br,useCallback:function(e,t){return mn().memoizedState=[e,t===void 0?null:t],e},useContext:Br,useEffect:D1,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Mf(4194308,4,C_.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Mf(4194308,4,e,t)},useInsertionEffect:function(e,t){return Mf(4,2,e,t)},useMemo:function(e,t){var r=mn();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=mn();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=rM.bind(null,rt,e),[n.memoizedState,e]},useRef:function(e){var t=mn();return e={current:e},t.memoizedState=e},useState:I1,useDebugValue:i0,useDeferredValue:function(e){return mn().memoizedState=e},useTransition:function(){var e=I1(!1),t=e[0];return e=tM.bind(null,e[1]),mn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=rt,i=mn();if(Ze){if(r===void 0)throw Error(V(407));r=r()}else{if(r=t(),xt===null)throw Error(V(349));Ua&30||O_(n,t,r)}i.memoizedState=r;var a={value:r,getSnapshot:t};return i.queue=a,D1(E_.bind(null,n,a,e),[e]),n.flags|=2048,ou(9,P_.bind(null,n,a,r,t),void 0,null),r},useId:function(){var e=mn(),t=xt.identifierPrefix;if(Ze){var r=Hn,n=Wn;r=(n&~(1<<32-on(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=iu++,0")&&(l=l.replace("",e.displayName)),l}while(1<=o&&0<=s);break}}}finally{jp=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Sl(e):""}function IC(e){switch(e.tag){case 5:return Sl(e.type);case 16:return Sl("Lazy");case 13:return Sl("Suspense");case 19:return Sl("SuspenseList");case 0:case 2:case 15:return e=kp(e.type,!1),e;case 11:return e=kp(e.type.render,!1),e;case 1:return e=kp(e.type,!0),e;default:return""}}function Hm(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 po:return"Fragment";case ho:return"Portal";case zm:return"Profiler";case Cg:return"StrictMode";case Um:return"Suspense";case Wm:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case bE:return(e.displayName||"Context")+".Consumer";case gE:return(e._context.displayName||"Context")+".Provider";case $g:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Mg:return t=e.displayName||null,t!==null?t:Hm(e.type)||"Memo";case Ei:t=e._payload,e=e._init;try{return Hm(e(t))}catch{}}return null}function DC(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 Hm(t);case 8:return t===Cg?"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 Yi(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function xE(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function LC(e){var t=xE(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){n=""+o,a.call(this,o)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(o){n=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function qc(e){e._valueTracker||(e._valueTracker=LC(e))}function SE(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=xE(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function Bf(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 Km(e,t){var r=t.checked;return nt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function n1(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=Yi(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function OE(e,t){t=t.checked,t!=null&&kg(e,"checked",t,!1)}function Vm(e,t){OE(e,t);var r=Yi(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?qm(e,t.type,r):t.hasOwnProperty("defaultValue")&&qm(e,t.type,Yi(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function i1(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function qm(e,t,r){(t!=="number"||Bf(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Ol=Array.isArray;function jo(e,t,r,n){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Gc.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ql(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var jl={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},FC=["Webkit","ms","Moz","O"];Object.keys(jl).forEach(function(e){FC.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),jl[t]=jl[e]})});function AE(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||jl.hasOwnProperty(e)&&jl[e]?(""+t).trim():t+"px"}function TE(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=AE(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}var BC=nt({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 Ym(e,t){if(t){if(BC[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(V(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(V(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(V(61))}if(t.style!=null&&typeof t.style!="object")throw Error(V(62))}}function Qm(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 Zm=null;function Ng(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Jm=null,ko=null,Co=null;function s1(e){if(e=mc(e)){if(typeof Jm!="function")throw Error(V(280));var t=e.stateNode;t&&(t=ph(t),Jm(e.stateNode,e.type,t))}}function jE(e){ko?Co?Co.push(e):Co=[e]:ko=e}function kE(){if(ko){var e=ko,t=Co;if(Co=ko=null,s1(e),t)for(e=0;e>>=0,e===0?32:31-(QC(e)/ZC|0)|0}var Xc=64,Yc=4194304;function Pl(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 Hf(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,i=e.suspendedLanes,a=e.pingedLanes,o=r&268435455;if(o!==0){var s=o&~i;s!==0?n=Pl(s):(a&=o,a!==0&&(n=Pl(a)))}else o=r&~i,o!==0?n=Pl(o):a!==0&&(n=Pl(a));if(n===0)return 0;if(t!==0&&t!==n&&!(t&i)&&(i=n&-n,a=t&-t,i>=a||i===16&&(a&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function hc(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-on(t),e[t]=r}function r$(e,t){var r=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 n=e.eventTimes;for(e=e.expirationTimes;0=Cl),y1=" ",v1=!1;function YE(e,t){switch(e){case"keyup":return k$.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function QE(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var mo=!1;function $$(e,t){switch(e){case"compositionend":return QE(t);case"keypress":return t.which!==32?null:(v1=!0,y1);case"textInput":return e=t.data,e===y1&&v1?null:e;default:return null}}function M$(e,t){if(mo)return e==="compositionend"||!Ug&&YE(e,t)?(e=GE(),jf=Fg=Di=null,mo=!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:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=x1(r)}}function t_(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?t_(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function r_(){for(var e=window,t=Bf();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Bf(e.document)}return t}function Wg(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 U$(e){var t=r_(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&t_(r.ownerDocument.documentElement,r)){if(n!==null&&Wg(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=r.textContent.length,a=Math.min(n.start,i);n=n.end===void 0?a:Math.min(n.end,i),!e.extend&&a>n&&(i=n,n=a,a=i),i=S1(r,a);var o=S1(r,n);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),a>n?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,yo=null,ay=null,Ml=null,oy=!1;function O1(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;oy||yo==null||yo!==Bf(n)||(n=yo,"selectionStart"in n&&Wg(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Ml&&Jl(Ml,n)||(Ml=n,n=qf(ay,"onSelect"),0bo||(e.current=dy[bo],dy[bo]=null,bo--)}function We(e,t){bo++,dy[bo]=e.current,e.current=t}var Qi={},Ft=ta(Qi),ir=ta(!1),za=Qi;function Zo(e,t){var r=e.type.contextTypes;if(!r)return Qi;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in r)i[a]=t[a];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ar(e){return e=e.childContextTypes,e!=null}function Xf(){Ge(ir),Ge(Ft)}function k1(e,t,r){if(Ft.current!==Qi)throw Error(V(168));We(Ft,t),We(ir,r)}function f_(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var i in n)if(!(i in t))throw Error(V(108,DC(e)||"Unknown",i));return nt({},r,n)}function Yf(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Qi,za=Ft.current,We(Ft,e),We(ir,ir.current),!0}function C1(e,t,r){var n=e.stateNode;if(!n)throw Error(V(169));r?(e=f_(e,t,za),n.__reactInternalMemoizedMergedChildContext=e,Ge(ir),Ge(Ft),We(Ft,e)):Ge(ir),We(ir,r)}var zn=null,mh=!1,Hp=!1;function d_(e){zn===null?zn=[e]:zn.push(e)}function eM(e){mh=!0,d_(e)}function ra(){if(!Hp&&zn!==null){Hp=!0;var e=0,t=Ce;try{var r=zn;for(Ce=1;e>=o,i-=o,Wn=1<<32-on(t)+i|r<P?(j=S,S=null):j=S.sibling;var T=d(v,S,b[P],w);if(T===null){S===null&&(S=j);break}e&&S&&T.alternate===null&&t(v,S),m=a(T,m,P),O===null?x=T:O.sibling=T,O=T,S=j}if(P===b.length)return r(v,S),Ze&&da(v,P),x;if(S===null){for(;PP?(j=S,S=null):j=S.sibling;var M=d(v,S,T.value,w);if(M===null){S===null&&(S=j);break}e&&S&&M.alternate===null&&t(v,S),m=a(M,m,P),O===null?x=M:O.sibling=M,O=M,S=j}if(T.done)return r(v,S),Ze&&da(v,P),x;if(S===null){for(;!T.done;P++,T=b.next())T=c(v,T.value,w),T!==null&&(m=a(T,m,P),O===null?x=T:O.sibling=T,O=T);return Ze&&da(v,P),x}for(S=n(v,S);!T.done;P++,T=b.next())T=h(S,v,P,T.value,w),T!==null&&(e&&T.alternate!==null&&S.delete(T.key===null?P:T.key),m=a(T,m,P),O===null?x=T:O.sibling=T,O=T);return e&&S.forEach(function(k){return t(v,k)}),Ze&&da(v,P),x}function g(v,m,b,w){if(typeof b=="object"&&b!==null&&b.type===po&&b.key===null&&(b=b.props.children),typeof b=="object"&&b!==null){switch(b.$$typeof){case Vc:e:{for(var x=b.key,O=m;O!==null;){if(O.key===x){if(x=b.type,x===po){if(O.tag===7){r(v,O.sibling),m=i(O,b.props.children),m.return=v,v=m;break e}}else if(O.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Ei&&N1(x)===O.type){r(v,O.sibling),m=i(O,b.props),m.ref=nl(v,O,b),m.return=v,v=m;break e}r(v,O);break}else t(v,O);O=O.sibling}b.type===po?(m=Da(b.props.children,v.mode,w,b.key),m.return=v,v=m):(w=Df(b.type,b.key,b.props,null,v.mode,w),w.ref=nl(v,m,b),w.return=v,v=w)}return o(v);case ho:e:{for(O=b.key;m!==null;){if(m.key===O)if(m.tag===4&&m.stateNode.containerInfo===b.containerInfo&&m.stateNode.implementation===b.implementation){r(v,m.sibling),m=i(m,b.children||[]),m.return=v,v=m;break e}else{r(v,m);break}else t(v,m);m=m.sibling}m=Zp(b,v.mode,w),m.return=v,v=m}return o(v);case Ei:return O=b._init,g(v,m,O(b._payload),w)}if(Ol(b))return y(v,m,b,w);if(Zs(b))return p(v,m,b,w);nf(v,b)}return typeof b=="string"&&b!==""||typeof b=="number"?(b=""+b,m!==null&&m.tag===6?(r(v,m.sibling),m=i(m,b),m.return=v,v=m):(r(v,m),m=Qp(b,v.mode,w),m.return=v,v=m),o(v)):r(v,m)}return g}var es=y_(!0),v_=y_(!1),Jf=ta(null),ed=null,So=null,qg=null;function Gg(){qg=So=ed=null}function Xg(e){var t=Jf.current;Ge(Jf),e._currentValue=t}function my(e,t,r){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function Mo(e,t){ed=e,qg=So=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(rr=!0),e.firstContext=null)}function Br(e){var t=e._currentValue;if(qg!==e)if(e={context:e,memoizedValue:t,next:null},So===null){if(ed===null)throw Error(V(308));So=e,ed.dependencies={lanes:0,firstContext:e}}else So=So.next=e;return t}var ba=null;function Yg(e){ba===null?ba=[e]:ba.push(e)}function g_(e,t,r,n){var i=t.interleaved;return i===null?(r.next=r,Yg(t)):(r.next=i.next,i.next=r),t.interleaved=r,ri(e,n)}function ri(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var _i=!1;function Qg(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function b_(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 Gn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Hi(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,_e&2){var i=n.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),n.pending=t,ri(e,r)}return i=n.interleaved,i===null?(t.next=t,Yg(n)):(t.next=i.next,i.next=t),n.interleaved=t,ri(e,r)}function Cf(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Ig(e,r)}}function R1(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var i=null,a=null;if(r=r.firstBaseUpdate,r!==null){do{var o={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};a===null?i=a=o:a=a.next=o,r=r.next}while(r!==null);a===null?i=a=t:a=a.next=t}else i=a=t;r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function td(e,t,r,n){var i=e.updateQueue;_i=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var l=s,u=l.next;l.next=null,o===null?a=u:o.next=u,o=l;var f=e.alternate;f!==null&&(f=f.updateQueue,s=f.lastBaseUpdate,s!==o&&(s===null?f.firstBaseUpdate=u:s.next=u,f.lastBaseUpdate=l))}if(a!==null){var c=i.baseState;o=0,f=u=l=null,s=a;do{var d=s.lane,h=s.eventTime;if((n&d)===d){f!==null&&(f=f.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var y=e,p=s;switch(d=t,h=r,p.tag){case 1:if(y=p.payload,typeof y=="function"){c=y.call(h,c,d);break e}c=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=p.payload,d=typeof y=="function"?y.call(h,c,d):y,d==null)break e;c=nt({},c,d);break e;case 2:_i=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,d=i.effects,d===null?i.effects=[s]:d.push(s))}else h={eventTime:h,lane:d,tag:s.tag,payload:s.payload,callback:s.callback,next:null},f===null?(u=f=h,l=c):f=f.next=h,o|=d;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;d=s,s=d.next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}while(!0);if(f===null&&(l=c),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=f,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else a===null&&(i.shared.lanes=0);Ha|=o,e.lanes=o,e.memoizedState=c}}function I1(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;tr?r:4,e(!0);var n=Vp.transition;Vp.transition={};try{e(!1),t()}finally{Ce=r,Vp.transition=n}}function I_(){return zr().memoizedState}function iM(e,t,r){var n=Vi(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},D_(e))L_(t,r);else if(r=g_(e,t,r,n),r!==null){var i=Xt();sn(r,e,n,i),F_(r,t,n)}}function aM(e,t,r){var n=Vi(e),i={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(D_(e))L_(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,r);if(i.hasEagerState=!0,i.eagerState=s,un(s,o)){var l=t.interleaved;l===null?(i.next=i,Yg(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}r=g_(e,t,i,n),r!==null&&(i=Xt(),sn(r,e,n,i),F_(r,t,n))}}function D_(e){var t=e.alternate;return e===rt||t!==null&&t===rt}function L_(e,t){Nl=nd=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function F_(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Ig(e,r)}}var id={readContext:Br,useCallback:Mt,useContext:Mt,useEffect:Mt,useImperativeHandle:Mt,useInsertionEffect:Mt,useLayoutEffect:Mt,useMemo:Mt,useReducer:Mt,useRef:Mt,useState:Mt,useDebugValue:Mt,useDeferredValue:Mt,useTransition:Mt,useMutableSource:Mt,useSyncExternalStore:Mt,useId:Mt,unstable_isNewReconciler:!1},oM={readContext:Br,useCallback:function(e,t){return mn().memoizedState=[e,t===void 0?null:t],e},useContext:Br,useEffect:L1,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Mf(4194308,4,C_.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Mf(4194308,4,e,t)},useInsertionEffect:function(e,t){return Mf(4,2,e,t)},useMemo:function(e,t){var r=mn();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=mn();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=iM.bind(null,rt,e),[n.memoizedState,e]},useRef:function(e){var t=mn();return e={current:e},t.memoizedState=e},useState:D1,useDebugValue:a0,useDeferredValue:function(e){return mn().memoizedState=e},useTransition:function(){var e=D1(!1),t=e[0];return e=nM.bind(null,e[1]),mn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=rt,i=mn();if(Ze){if(r===void 0)throw Error(V(407));r=r()}else{if(r=t(),xt===null)throw Error(V(349));Wa&30||O_(n,t,r)}i.memoizedState=r;var a={value:r,getSnapshot:t};return i.queue=a,L1(E_.bind(null,n,a,e),[e]),n.flags|=2048,su(9,P_.bind(null,n,a,r,t),void 0,null),r},useId:function(){var e=mn(),t=xt.identifierPrefix;if(Ze){var r=Hn,n=Wn;r=(n&~(1<<32-on(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=au++,0<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=o.createElement(r,{is:n.is}):(e=o.createElement(r),r==="select"&&(o=e,n.multiple?o.multiple=!0:n.size&&(o.size=n.size))):e=o.createElementNS(e,r),e[xn]=t,e[tu]=n,X_(e,t,!1,!1),t.stateNode=e;e:{switch(o=Ym(r,n),r){case"dialog":Ke("cancel",e),Ke("close",e),i=n;break;case"iframe":case"object":case"embed":Ke("load",e),i=n;break;case"video":case"audio":for(i=0;irs&&(t.flags|=128,n=!0,nl(a,!1),t.lanes=4194304)}else{if(!n)if(e=rd(o),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),nl(a,!0),a.tail===null&&a.tailMode==="hidden"&&!o.alternate&&!Ze)return Nt(t),null}else 2*st()-a.renderingStartTime>rs&&r!==1073741824&&(t.flags|=128,n=!0,nl(a,!1),t.lanes=4194304);a.isBackwards?(o.sibling=t.child,t.child=o):(r=a.last,r!==null?r.sibling=o:t.child=o,a.last=o)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=st(),t.sibling=null,r=tt.current,We(tt,n?r&1|2:r&1),t):(Nt(t),null);case 22:case 23:return c0(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?hr&1073741824&&(Nt(t),t.subtreeFlags&6&&(t.flags|=8192)):Nt(t),null;case 24:return null;case 25:return null}throw Error(V(156,t.tag))}function dM(e,t){switch(Hg(t),t.tag){case 1:return ar(t.type)&&Xf(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return es(),Ge(ir),Ge(Ft),Jg(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Zg(t),null;case 13:if(Ge(tt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(V(340));Zo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ge(tt),null;case 4:return es(),null;case 10:return Gg(t.type._context),null;case 22:case 23:return c0(),null;case 24:return null;default:return null}}var of=!1,Dt=!1,hM=typeof WeakSet=="function"?WeakSet:Set,J=null;function So(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){at(e,t,n)}else r.current=null}function Oy(e,t,r){try{r()}catch(n){at(e,t,n)}}var G1=!1;function pM(e,t){if(oy=Kf,e=r_(),Ug(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var i=n.anchorOffset,a=n.focusNode;n=n.focusOffset;try{r.nodeType,a.nodeType}catch{r=null;break e}var o=0,s=-1,l=-1,u=0,f=0,c=e,d=null;t:for(;;){for(var h;c!==r||i!==0&&c.nodeType!==3||(s=o+i),c!==a||n!==0&&c.nodeType!==3||(l=o+n),c.nodeType===3&&(o+=c.nodeValue.length),(h=c.firstChild)!==null;)d=c,c=h;for(;;){if(c===e)break t;if(d===r&&++u===i&&(s=o),d===a&&++f===n&&(l=o),(h=c.nextSibling)!==null)break;c=d,d=c.parentNode}c=h}r=s===-1||l===-1?null:{start:s,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(sy={focusedElem:e,selectionRange:r},Kf=!1,J=t;J!==null;)if(t=J,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,J=e;else for(;J!==null;){t=J;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var p=y.memoizedProps,g=y.memoizedState,v=t.stateNode,m=v.getSnapshotBeforeUpdate(t.elementType===t.type?p:Xr(t.type,p),g);v.__reactInternalSnapshotBeforeUpdate=m}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(V(163))}}catch(w){at(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,J=e;break}J=t.return}return y=G1,G1=!1,y}function Nl(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var i=n=n.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,a!==void 0&&Oy(t,r,a)}i=i.next}while(i!==n)}}function vh(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function Py(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function Z_(e){var t=e.alternate;t!==null&&(e.alternate=null,Z_(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[xn],delete t[tu],delete t[cy],delete t[Y$],delete t[Q$])),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 X1(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 Ey(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Gf));else if(n!==4&&(e=e.child,e!==null))for(Ey(e,t,r),e=e.sibling;e!==null;)Ey(e,t,r),e=e.sibling}function _y(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(_y(e,t,r),e=e.sibling;e!==null;)_y(e,t,r),e=e.sibling}var Tt=null,Qr=!1;function gi(e,t,r){for(r=r.child;r!==null;)eA(e,t,r),r=r.sibling}function eA(e,t,r){if(En&&typeof En.onCommitFiberUnmount=="function")try{En.onCommitFiberUnmount(uh,r)}catch{}switch(r.tag){case 5:Dt||So(r,t);case 6:var n=Tt,i=Qr;Tt=null,gi(e,t,r),Tt=n,Qr=i,Tt!==null&&(Qr?(e=Tt,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Tt.removeChild(r.stateNode));break;case 18:Tt!==null&&(Qr?(e=Tt,r=r.stateNode,e.nodeType===8?Up(e.parentNode,r):e.nodeType===1&&Up(e,r),Yl(e)):Up(Tt,r.stateNode));break;case 4:n=Tt,i=Qr,Tt=r.stateNode.containerInfo,Qr=!0,gi(e,t,r),Tt=n,Qr=i;break;case 0:case 11:case 14:case 15:if(!Dt&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){i=n=n.next;do{var a=i,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&Oy(r,t,o),i=i.next}while(i!==n)}gi(e,t,r);break;case 1:if(!Dt&&(So(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(s){at(r,t,s)}gi(e,t,r);break;case 21:gi(e,t,r);break;case 22:r.mode&1?(Dt=(n=Dt)||r.memoizedState!==null,gi(e,t,r),Dt=n):gi(e,t,r);break;default:gi(e,t,r)}}function Y1(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new hM),t.forEach(function(n){var i=OM.bind(null,e,n);r.has(n)||(r.add(n),n.then(i,i))})}}function qr(e,t){var r=t.deletions;if(r!==null)for(var n=0;ni&&(i=o),n&=~a}if(n=i,n=st()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*yM(n/1960))-n,10e?16:e,Di===null)var n=!1;else{if(e=Di,Di=null,sd=0,_e&6)throw Error(V(331));var i=_e;for(_e|=4,J=e.current;J!==null;){var a=J,o=a.child;if(J.flags&16){var s=a.deletions;if(s!==null){for(var l=0;lst()-l0?Ra(e,0):s0|=r),or(e,t)}function lA(e,t){t===0&&(e.mode&1?(t=Yc,Yc<<=1,!(Yc&130023424)&&(Yc=4194304)):t=1);var r=Xt();e=ri(e,t),e!==null&&(hc(e,t,r),or(e,r))}function SM(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),lA(e,r)}function OM(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,i=e.memoizedState;i!==null&&(r=i.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(V(314))}n!==null&&n.delete(t),lA(e,r)}var uA;uA=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||ir.current)rr=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return rr=!1,cM(e,t,r);rr=!!(e.flags&131072)}else rr=!1,Ze&&t.flags&1048576&&h_(t,Zf,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Nf(e,t),e=t.pendingProps;var i=Qo(t,Ft.current);$o(t,r),i=t0(null,t,n,e,i,r);var a=r0();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ar(n)?(a=!0,Yf(t)):a=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Yg(t),i.updater=yh,t.stateNode=i,i._reactInternals=t,yy(t,n,e,r),t=by(null,t,n,!0,a,r)):(t.tag=0,Ze&&a&&Wg(t),qt(null,t,i,r),t=t.child),t;case 16:n=t.elementType;e:{switch(Nf(e,t),e=t.pendingProps,i=n._init,n=i(n._payload),t.type=n,i=t.tag=EM(n),e=Xr(n,e),i){case 0:t=gy(null,t,n,e,r);break e;case 1:t=K1(null,t,n,e,r);break e;case 11:t=W1(null,t,n,e,r);break e;case 14:t=H1(null,t,n,Xr(n.type,e),r);break e}throw Error(V(306,n,""))}return t;case 0:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Xr(n,i),gy(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Xr(n,i),K1(e,t,n,i,r);case 3:e:{if(V_(t),e===null)throw Error(V(387));n=t.pendingProps,a=t.memoizedState,i=a.element,b_(e,t),td(t,n,null,r);var o=t.memoizedState;if(n=o.element,a.isDehydrated)if(a={element:n,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){i=ts(Error(V(423)),t),t=V1(e,t,n,r,i);break e}else if(n!==i){i=ts(Error(V(424)),t),t=V1(e,t,n,r,i);break e}else for(yr=Ui(t.stateNode.containerInfo.firstChild),vr=t,Ze=!0,tn=null,r=v_(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Zo(),n===i){t=ni(e,t,r);break e}qt(e,t,n,r)}t=t.child}return t;case 5:return w_(t),e===null&&hy(t),n=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,o=i.children,ly(n,i)?o=null:a!==null&&ly(n,a)&&(t.flags|=32),K_(e,t),qt(e,t,o,r),t.child;case 6:return e===null&&hy(t),null;case 13:return q_(e,t,r);case 4:return Qg(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Jo(t,null,n,r):qt(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Xr(n,i),W1(e,t,n,i,r);case 7:return qt(e,t,t.pendingProps,r),t.child;case 8:return qt(e,t,t.pendingProps.children,r),t.child;case 12:return qt(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,i=t.pendingProps,a=t.memoizedProps,o=i.value,We(Jf,n._currentValue),n._currentValue=o,a!==null)if(un(a.value,o)){if(a.children===i.children&&!ir.current){t=ni(e,t,r);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var s=a.dependencies;if(s!==null){o=a.child;for(var l=s.firstContext;l!==null;){if(l.context===n){if(a.tag===1){l=Gn(-1,r&-r),l.tag=2;var u=a.updateQueue;if(u!==null){u=u.shared;var f=u.pending;f===null?l.next=l:(l.next=f.next,f.next=l),u.pending=l}}a.lanes|=r,l=a.alternate,l!==null&&(l.lanes|=r),py(a.return,r,t),s.lanes|=r;break}l=l.next}}else if(a.tag===10)o=a.type===t.type?null:a.child;else if(a.tag===18){if(o=a.return,o===null)throw Error(V(341));o.lanes|=r,s=o.alternate,s!==null&&(s.lanes|=r),py(o,r,t),o=a.sibling}else o=a.child;if(o!==null)o.return=a;else for(o=a;o!==null;){if(o===t){o=null;break}if(a=o.sibling,a!==null){a.return=o.return,o=a;break}o=o.return}a=o}qt(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,n=t.pendingProps.children,$o(t,r),i=Br(i),n=n(i),t.flags|=1,qt(e,t,n,r),t.child;case 14:return n=t.type,i=Xr(n,t.pendingProps),i=Xr(n.type,i),H1(e,t,n,i,r);case 15:return W_(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Xr(n,i),Nf(e,t),t.tag=1,ar(n)?(e=!0,Yf(t)):e=!1,$o(t,r),B_(t,n,i),yy(t,n,i,r),by(null,t,n,!0,e,r);case 19:return G_(e,t,r);case 22:return H_(e,t,r)}throw Error(V(156,t.tag))};function cA(e,t){return DE(e,t)}function PM(e,t,r,n){this.tag=e,this.key=r,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=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Nr(e,t,r,n){return new PM(e,t,r,n)}function d0(e){return e=e.prototype,!(!e||!e.isReactComponent)}function EM(e){if(typeof e=="function")return d0(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Cg)return 11;if(e===$g)return 14}return 2}function Vi(e,t){var r=e.alternate;return r===null?(r=Nr(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Df(e,t,r,n,i,a){var o=2;if(n=e,typeof e=="function")d0(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case ho:return Ia(r.children,i,a,t);case kg:o=8,i|=8;break;case Bm:return e=Nr(12,r,t,i|2),e.elementType=Bm,e.lanes=a,e;case zm:return e=Nr(13,r,t,i),e.elementType=zm,e.lanes=a,e;case Um:return e=Nr(19,r,t,i),e.elementType=Um,e.lanes=a,e;case wE:return bh(r,i,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case gE:o=10;break e;case bE:o=9;break e;case Cg:o=11;break e;case $g:o=14;break e;case Pi:o=16,n=null;break e}throw Error(V(130,e==null?e:typeof e,""))}return t=Nr(o,r,t,i),t.elementType=e,t.type=n,t.lanes=a,t}function Ia(e,t,r,n){return e=Nr(7,e,n,t),e.lanes=r,e}function bh(e,t,r,n){return e=Nr(22,e,n,t),e.elementType=wE,e.lanes=r,e.stateNode={isHidden:!1},e}function Yp(e,t,r){return e=Nr(6,e,null,t),e.lanes=r,e}function Qp(e,t,r){return t=Nr(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function _M(e,t,r,n,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Cp(0),this.expirationTimes=Cp(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Cp(0),this.identifierPrefix=n,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function h0(e,t,r,n,i,a,o,s,l){return e=new _M(e,t,r,s,l),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Nr(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Yg(a),e}function AM(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(pA)}catch(e){console.error(e)}}pA(),pE.exports=br;var Ph=pE.exports;const $M=ke(Ph),MM=rE({__proto__:null,default:$M},[Ph]);var iw=Ph;Lm.createRoot=iw.createRoot,Lm.hydrateRoot=iw.hydrateRoot;/** +`+a.stack}return{value:e,source:t,stack:i,digest:null}}function Xp(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function gy(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var uM=typeof WeakMap=="function"?WeakMap:Map;function z_(e,t,r){r=Gn(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){od||(od=!0,Ty=n),gy(e,t)},r}function U_(e,t,r){r=Gn(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var i=t.value;r.payload=function(){return n(i)},r.callback=function(){gy(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(r.callback=function(){gy(e,t),typeof n!="function"&&(Ki===null?Ki=new Set([this]):Ki.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),r}function z1(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new uM;var i=new Set;n.set(t,i)}else i=n.get(t),i===void 0&&(i=new Set,n.set(t,i));i.has(r)||(i.add(r),e=OM.bind(null,e,t,r),t.then(e,e))}function U1(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function W1(e,t,r,n,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=Gn(-1,1),t.tag=2,Hi(r,t,1))),r.lanes|=1),e)}var cM=ui.ReactCurrentOwner,rr=!1;function qt(e,t,r,n){t.child=e===null?v_(t,null,r,n):es(t,e.child,r,n)}function H1(e,t,r,n,i){r=r.render;var a=t.ref;return Mo(t,i),n=r0(e,t,r,n,a,i),r=n0(),e!==null&&!rr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,ni(e,t,i)):(Ze&&r&&Hg(t),t.flags|=1,qt(e,t,n,i),t.child)}function K1(e,t,r,n,i){if(e===null){var a=r.type;return typeof a=="function"&&!h0(a)&&a.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=a,W_(e,t,a,n,i)):(e=Df(r.type,null,n,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!(e.lanes&i)){var o=a.memoizedProps;if(r=r.compare,r=r!==null?r:Jl,r(o,n)&&e.ref===t.ref)return ni(e,t,i)}return t.flags|=1,e=qi(a,n),e.ref=t.ref,e.return=t,t.child=e}function W_(e,t,r,n,i){if(e!==null){var a=e.memoizedProps;if(Jl(a,n)&&e.ref===t.ref)if(rr=!1,t.pendingProps=n=a,(e.lanes&i)!==0)e.flags&131072&&(rr=!0);else return t.lanes=e.lanes,ni(e,t,i)}return by(e,t,r,n,i)}function H_(e,t,r){var n=t.pendingProps,i=n.children,a=e!==null?e.memoizedState:null;if(n.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},We(Po,hr),hr|=r;else{if(!(r&1073741824))return e=a!==null?a.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,We(Po,hr),hr|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=a!==null?a.baseLanes:r,We(Po,hr),hr|=n}else a!==null?(n=a.baseLanes|r,t.memoizedState=null):n=r,We(Po,hr),hr|=n;return qt(e,t,i,r),t.child}function K_(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function by(e,t,r,n,i){var a=ar(r)?za:Ft.current;return a=Zo(t,a),Mo(t,i),r=r0(e,t,r,n,a,i),n=n0(),e!==null&&!rr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,ni(e,t,i)):(Ze&&n&&Hg(t),t.flags|=1,qt(e,t,r,i),t.child)}function V1(e,t,r,n,i){if(ar(r)){var a=!0;Yf(t)}else a=!1;if(Mo(t,i),t.stateNode===null)Nf(e,t),B_(t,r,n),vy(t,r,n,i),n=!0;else if(e===null){var o=t.stateNode,s=t.memoizedProps;o.props=s;var l=o.context,u=r.contextType;typeof u=="object"&&u!==null?u=Br(u):(u=ar(r)?za:Ft.current,u=Zo(t,u));var f=r.getDerivedStateFromProps,c=typeof f=="function"||typeof o.getSnapshotBeforeUpdate=="function";c||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(s!==n||l!==u)&&B1(t,o,n,u),_i=!1;var d=t.memoizedState;o.state=d,td(t,n,o,i),l=t.memoizedState,s!==n||d!==l||ir.current||_i?(typeof f=="function"&&(yy(t,r,f,n),l=t.memoizedState),(s=_i||F1(t,r,s,n,d,l,u))?(c||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=l),o.props=n,o.state=l,o.context=u,n=s):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{o=t.stateNode,b_(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:Xr(t.type,s),o.props=u,c=t.pendingProps,d=o.context,l=r.contextType,typeof l=="object"&&l!==null?l=Br(l):(l=ar(r)?za:Ft.current,l=Zo(t,l));var h=r.getDerivedStateFromProps;(f=typeof h=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(s!==c||d!==l)&&B1(t,o,n,l),_i=!1,d=t.memoizedState,o.state=d,td(t,n,o,i);var y=t.memoizedState;s!==c||d!==y||ir.current||_i?(typeof h=="function"&&(yy(t,r,h,n),y=t.memoizedState),(u=_i||F1(t,r,u,n,d,y,l)||!1)?(f||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(n,y,l),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(n,y,l)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=y),o.props=n,o.state=y,o.context=l,n=u):(typeof o.componentDidUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),n=!1)}return wy(e,t,r,n,a,i)}function wy(e,t,r,n,i,a){K_(e,t);var o=(t.flags&128)!==0;if(!n&&!o)return i&&C1(t,r,!1),ni(e,t,a);n=t.stateNode,cM.current=t;var s=o&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&o?(t.child=es(t,e.child,null,a),t.child=es(t,null,s,a)):qt(e,t,s,a),t.memoizedState=n.state,i&&C1(t,r,!0),t.child}function V_(e){var t=e.stateNode;t.pendingContext?k1(e,t.pendingContext,t.pendingContext!==t.context):t.context&&k1(e,t.context,!1),Zg(e,t.containerInfo)}function q1(e,t,r,n,i){return Jo(),Vg(i),t.flags|=256,qt(e,t,r,n),t.child}var xy={dehydrated:null,treeContext:null,retryLane:0};function Sy(e){return{baseLanes:e,cachePool:null,transitions:null}}function q_(e,t,r){var n=t.pendingProps,i=tt.current,a=!1,o=(t.flags&128)!==0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!==0),s?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),We(tt,i&1),e===null)return py(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=n.children,e=n.fallback,a?(n=t.mode,a=t.child,o={mode:"hidden",children:o},!(n&1)&&a!==null?(a.childLanes=0,a.pendingProps=o):a=wh(o,n,0,null),e=Da(e,n,r,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Sy(r),t.memoizedState=xy,e):o0(t,o));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return fM(e,t,o,n,s,i,r);if(a){a=n.fallback,o=t.mode,i=e.child,s=i.sibling;var l={mode:"hidden",children:n.children};return!(o&1)&&t.child!==i?(n=t.child,n.childLanes=0,n.pendingProps=l,t.deletions=null):(n=qi(i,l),n.subtreeFlags=i.subtreeFlags&14680064),s!==null?a=qi(s,a):(a=Da(a,o,r,null),a.flags|=2),a.return=t,n.return=t,n.sibling=a,t.child=n,n=a,a=t.child,o=e.child.memoizedState,o=o===null?Sy(r):{baseLanes:o.baseLanes|r,cachePool:null,transitions:o.transitions},a.memoizedState=o,a.childLanes=e.childLanes&~r,t.memoizedState=xy,n}return a=e.child,e=a.sibling,n=qi(a,{mode:"visible",children:n.children}),!(t.mode&1)&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n}function o0(e,t){return t=wh({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function af(e,t,r,n){return n!==null&&Vg(n),es(t,e.child,null,r),e=o0(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function fM(e,t,r,n,i,a,o){if(r)return t.flags&256?(t.flags&=-257,n=Xp(Error(V(422))),af(e,t,o,n)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=n.fallback,i=t.mode,n=wh({mode:"visible",children:n.children},i,0,null),a=Da(a,i,o,null),a.flags|=2,n.return=t,a.return=t,n.sibling=a,t.child=n,t.mode&1&&es(t,e.child,null,o),t.child.memoizedState=Sy(o),t.memoizedState=xy,a);if(!(t.mode&1))return af(e,t,o,null);if(i.data==="$!"){if(n=i.nextSibling&&i.nextSibling.dataset,n)var s=n.dgst;return n=s,a=Error(V(419)),n=Xp(a,n,void 0),af(e,t,o,n)}if(s=(o&e.childLanes)!==0,rr||s){if(n=xt,n!==null){switch(o&-o){case 4:i=2;break;case 16:i=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(n.suspendedLanes|o)?0:i,i!==0&&i!==a.retryLane&&(a.retryLane=i,ri(e,i),sn(n,e,i,-1))}return d0(),n=Xp(Error(V(421))),af(e,t,o,n)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=PM.bind(null,e),i._reactRetry=t,null):(e=a.treeContext,yr=Wi(i.nextSibling),vr=t,Ze=!0,tn=null,e!==null&&(kr[Cr++]=Wn,kr[Cr++]=Hn,kr[Cr++]=Ua,Wn=e.id,Hn=e.overflow,Ua=t),t=o0(t,n.children),t.flags|=4096,t)}function G1(e,t,r){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),my(e.return,t,r)}function Yp(e,t,r,n,i){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=n,a.tail=r,a.tailMode=i)}function G_(e,t,r){var n=t.pendingProps,i=n.revealOrder,a=n.tail;if(qt(e,t,n.children,r),n=tt.current,n&2)n=n&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&G1(e,r,t);else if(e.tag===19)G1(e,r,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(We(tt,n),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(r=t.child,i=null;r!==null;)e=r.alternate,e!==null&&rd(e)===null&&(i=r),r=r.sibling;r=i,r===null?(i=t.child,t.child=null):(i=r.sibling,r.sibling=null),Yp(t,!1,i,r,a);break;case"backwards":for(r=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&rd(e)===null){t.child=i;break}e=i.sibling,i.sibling=r,r=i,i=e}Yp(t,!0,r,null,a);break;case"together":Yp(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Nf(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function ni(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),Ha|=t.lanes,!(r&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(V(153));if(t.child!==null){for(e=t.child,r=qi(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=qi(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function dM(e,t,r){switch(t.tag){case 3:V_(t),Jo();break;case 5:w_(t);break;case 1:ar(t.type)&&Yf(t);break;case 4:Zg(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,i=t.memoizedProps.value;We(Jf,n._currentValue),n._currentValue=i;break;case 13:if(n=t.memoizedState,n!==null)return n.dehydrated!==null?(We(tt,tt.current&1),t.flags|=128,null):r&t.child.childLanes?q_(e,t,r):(We(tt,tt.current&1),e=ni(e,t,r),e!==null?e.sibling:null);We(tt,tt.current&1);break;case 19:if(n=(r&t.childLanes)!==0,e.flags&128){if(n)return G_(e,t,r);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),We(tt,tt.current),n)break;return null;case 22:case 23:return t.lanes=0,H_(e,t,r)}return ni(e,t,r)}var X_,Oy,Y_,Q_;X_=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};Oy=function(){};Y_=function(e,t,r,n){var i=e.memoizedProps;if(i!==n){e=t.stateNode,wa(_n.current);var a=null;switch(r){case"input":i=Km(e,i),n=Km(e,n),a=[];break;case"select":i=nt({},i,{value:void 0}),n=nt({},n,{value:void 0}),a=[];break;case"textarea":i=Gm(e,i),n=Gm(e,n),a=[];break;default:typeof i.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=Gf)}Ym(r,n);var o;r=null;for(u in i)if(!n.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var s=i[u];for(o in s)s.hasOwnProperty(o)&&(r||(r={}),r[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Vl.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in n){var l=n[u];if(s=i!=null?i[u]:void 0,n.hasOwnProperty(u)&&l!==s&&(l!=null||s!=null))if(u==="style")if(s){for(o in s)!s.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(r||(r={}),r[o]="");for(o in l)l.hasOwnProperty(o)&&s[o]!==l[o]&&(r||(r={}),r[o]=l[o])}else r||(a||(a=[]),a.push(u,r)),r=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(a=a||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(a=a||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Vl.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&Ke("scroll",e),a||s===l||(a=[])):(a=a||[]).push(u,l))}r&&(a=a||[]).push("style",r);var u=a;(t.updateQueue=u)&&(t.flags|=4)}};Q_=function(e,t,r,n){r!==n&&(t.flags|=4)};function il(e,t){if(!Ze)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function Nt(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,n=0;if(t)for(var i=e.child;i!==null;)r|=i.lanes|i.childLanes,n|=i.subtreeFlags&14680064,n|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)r|=i.lanes|i.childLanes,n|=i.subtreeFlags,n|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function hM(e,t,r){var n=t.pendingProps;switch(Kg(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Nt(t),null;case 1:return ar(t.type)&&Xf(),Nt(t),null;case 3:return n=t.stateNode,ts(),Ge(ir),Ge(Ft),e0(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(rf(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,tn!==null&&(Cy(tn),tn=null))),Oy(e,t),Nt(t),null;case 5:Jg(t);var i=wa(iu.current);if(r=t.type,e!==null&&t.stateNode!=null)Y_(e,t,r,n,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(t.stateNode===null)throw Error(V(166));return Nt(t),null}if(e=wa(_n.current),rf(t)){n=t.stateNode,r=t.type;var a=t.memoizedProps;switch(n[xn]=t,n[ru]=a,e=(t.mode&1)!==0,r){case"dialog":Ke("cancel",n),Ke("close",n);break;case"iframe":case"object":case"embed":Ke("load",n);break;case"video":case"audio":for(i=0;i<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=o.createElement(r,{is:n.is}):(e=o.createElement(r),r==="select"&&(o=e,n.multiple?o.multiple=!0:n.size&&(o.size=n.size))):e=o.createElementNS(e,r),e[xn]=t,e[ru]=n,X_(e,t,!1,!1),t.stateNode=e;e:{switch(o=Qm(r,n),r){case"dialog":Ke("cancel",e),Ke("close",e),i=n;break;case"iframe":case"object":case"embed":Ke("load",e),i=n;break;case"video":case"audio":for(i=0;ins&&(t.flags|=128,n=!0,il(a,!1),t.lanes=4194304)}else{if(!n)if(e=rd(o),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),il(a,!0),a.tail===null&&a.tailMode==="hidden"&&!o.alternate&&!Ze)return Nt(t),null}else 2*st()-a.renderingStartTime>ns&&r!==1073741824&&(t.flags|=128,n=!0,il(a,!1),t.lanes=4194304);a.isBackwards?(o.sibling=t.child,t.child=o):(r=a.last,r!==null?r.sibling=o:t.child=o,a.last=o)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=st(),t.sibling=null,r=tt.current,We(tt,n?r&1|2:r&1),t):(Nt(t),null);case 22:case 23:return f0(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?hr&1073741824&&(Nt(t),t.subtreeFlags&6&&(t.flags|=8192)):Nt(t),null;case 24:return null;case 25:return null}throw Error(V(156,t.tag))}function pM(e,t){switch(Kg(t),t.tag){case 1:return ar(t.type)&&Xf(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ts(),Ge(ir),Ge(Ft),e0(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Jg(t),null;case 13:if(Ge(tt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(V(340));Jo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ge(tt),null;case 4:return ts(),null;case 10:return Xg(t.type._context),null;case 22:case 23:return f0(),null;case 24:return null;default:return null}}var of=!1,Dt=!1,mM=typeof WeakSet=="function"?WeakSet:Set,J=null;function Oo(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){at(e,t,n)}else r.current=null}function Py(e,t,r){try{r()}catch(n){at(e,t,n)}}var X1=!1;function yM(e,t){if(sy=Kf,e=r_(),Wg(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var i=n.anchorOffset,a=n.focusNode;n=n.focusOffset;try{r.nodeType,a.nodeType}catch{r=null;break e}var o=0,s=-1,l=-1,u=0,f=0,c=e,d=null;t:for(;;){for(var h;c!==r||i!==0&&c.nodeType!==3||(s=o+i),c!==a||n!==0&&c.nodeType!==3||(l=o+n),c.nodeType===3&&(o+=c.nodeValue.length),(h=c.firstChild)!==null;)d=c,c=h;for(;;){if(c===e)break t;if(d===r&&++u===i&&(s=o),d===a&&++f===n&&(l=o),(h=c.nextSibling)!==null)break;c=d,d=c.parentNode}c=h}r=s===-1||l===-1?null:{start:s,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(ly={focusedElem:e,selectionRange:r},Kf=!1,J=t;J!==null;)if(t=J,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,J=e;else for(;J!==null;){t=J;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var p=y.memoizedProps,g=y.memoizedState,v=t.stateNode,m=v.getSnapshotBeforeUpdate(t.elementType===t.type?p:Xr(t.type,p),g);v.__reactInternalSnapshotBeforeUpdate=m}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(V(163))}}catch(w){at(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,J=e;break}J=t.return}return y=X1,X1=!1,y}function Rl(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var i=n=n.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,a!==void 0&&Py(t,r,a)}i=i.next}while(i!==n)}}function gh(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function Ey(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function Z_(e){var t=e.alternate;t!==null&&(e.alternate=null,Z_(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[xn],delete t[ru],delete t[fy],delete t[Z$],delete t[J$])),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 Y1(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 _y(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Gf));else if(n!==4&&(e=e.child,e!==null))for(_y(e,t,r),e=e.sibling;e!==null;)_y(e,t,r),e=e.sibling}function Ay(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(Ay(e,t,r),e=e.sibling;e!==null;)Ay(e,t,r),e=e.sibling}var Tt=null,Qr=!1;function bi(e,t,r){for(r=r.child;r!==null;)eA(e,t,r),r=r.sibling}function eA(e,t,r){if(En&&typeof En.onCommitFiberUnmount=="function")try{En.onCommitFiberUnmount(ch,r)}catch{}switch(r.tag){case 5:Dt||Oo(r,t);case 6:var n=Tt,i=Qr;Tt=null,bi(e,t,r),Tt=n,Qr=i,Tt!==null&&(Qr?(e=Tt,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Tt.removeChild(r.stateNode));break;case 18:Tt!==null&&(Qr?(e=Tt,r=r.stateNode,e.nodeType===8?Wp(e.parentNode,r):e.nodeType===1&&Wp(e,r),Ql(e)):Wp(Tt,r.stateNode));break;case 4:n=Tt,i=Qr,Tt=r.stateNode.containerInfo,Qr=!0,bi(e,t,r),Tt=n,Qr=i;break;case 0:case 11:case 14:case 15:if(!Dt&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){i=n=n.next;do{var a=i,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&Py(r,t,o),i=i.next}while(i!==n)}bi(e,t,r);break;case 1:if(!Dt&&(Oo(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(s){at(r,t,s)}bi(e,t,r);break;case 21:bi(e,t,r);break;case 22:r.mode&1?(Dt=(n=Dt)||r.memoizedState!==null,bi(e,t,r),Dt=n):bi(e,t,r);break;default:bi(e,t,r)}}function Q1(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new mM),t.forEach(function(n){var i=EM.bind(null,e,n);r.has(n)||(r.add(n),n.then(i,i))})}}function qr(e,t){var r=t.deletions;if(r!==null)for(var n=0;ni&&(i=o),n&=~a}if(n=i,n=st()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*gM(n/1960))-n,10e?16:e,Li===null)var n=!1;else{if(e=Li,Li=null,sd=0,_e&6)throw Error(V(331));var i=_e;for(_e|=4,J=e.current;J!==null;){var a=J,o=a.child;if(J.flags&16){var s=a.deletions;if(s!==null){for(var l=0;lst()-u0?Ia(e,0):l0|=r),or(e,t)}function lA(e,t){t===0&&(e.mode&1?(t=Yc,Yc<<=1,!(Yc&130023424)&&(Yc=4194304)):t=1);var r=Xt();e=ri(e,t),e!==null&&(hc(e,t,r),or(e,r))}function PM(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),lA(e,r)}function EM(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,i=e.memoizedState;i!==null&&(r=i.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(V(314))}n!==null&&n.delete(t),lA(e,r)}var uA;uA=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||ir.current)rr=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return rr=!1,dM(e,t,r);rr=!!(e.flags&131072)}else rr=!1,Ze&&t.flags&1048576&&h_(t,Zf,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Nf(e,t),e=t.pendingProps;var i=Zo(t,Ft.current);Mo(t,r),i=r0(null,t,n,e,i,r);var a=n0();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ar(n)?(a=!0,Yf(t)):a=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Qg(t),i.updater=vh,t.stateNode=i,i._reactInternals=t,vy(t,n,e,r),t=wy(null,t,n,!0,a,r)):(t.tag=0,Ze&&a&&Hg(t),qt(null,t,i,r),t=t.child),t;case 16:n=t.elementType;e:{switch(Nf(e,t),e=t.pendingProps,i=n._init,n=i(n._payload),t.type=n,i=t.tag=AM(n),e=Xr(n,e),i){case 0:t=by(null,t,n,e,r);break e;case 1:t=V1(null,t,n,e,r);break e;case 11:t=H1(null,t,n,e,r);break e;case 14:t=K1(null,t,n,Xr(n.type,e),r);break e}throw Error(V(306,n,""))}return t;case 0:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Xr(n,i),by(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Xr(n,i),V1(e,t,n,i,r);case 3:e:{if(V_(t),e===null)throw Error(V(387));n=t.pendingProps,a=t.memoizedState,i=a.element,b_(e,t),td(t,n,null,r);var o=t.memoizedState;if(n=o.element,a.isDehydrated)if(a={element:n,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){i=rs(Error(V(423)),t),t=q1(e,t,n,r,i);break e}else if(n!==i){i=rs(Error(V(424)),t),t=q1(e,t,n,r,i);break e}else for(yr=Wi(t.stateNode.containerInfo.firstChild),vr=t,Ze=!0,tn=null,r=v_(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Jo(),n===i){t=ni(e,t,r);break e}qt(e,t,n,r)}t=t.child}return t;case 5:return w_(t),e===null&&py(t),n=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,o=i.children,uy(n,i)?o=null:a!==null&&uy(n,a)&&(t.flags|=32),K_(e,t),qt(e,t,o,r),t.child;case 6:return e===null&&py(t),null;case 13:return q_(e,t,r);case 4:return Zg(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=es(t,null,n,r):qt(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Xr(n,i),H1(e,t,n,i,r);case 7:return qt(e,t,t.pendingProps,r),t.child;case 8:return qt(e,t,t.pendingProps.children,r),t.child;case 12:return qt(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,i=t.pendingProps,a=t.memoizedProps,o=i.value,We(Jf,n._currentValue),n._currentValue=o,a!==null)if(un(a.value,o)){if(a.children===i.children&&!ir.current){t=ni(e,t,r);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var s=a.dependencies;if(s!==null){o=a.child;for(var l=s.firstContext;l!==null;){if(l.context===n){if(a.tag===1){l=Gn(-1,r&-r),l.tag=2;var u=a.updateQueue;if(u!==null){u=u.shared;var f=u.pending;f===null?l.next=l:(l.next=f.next,f.next=l),u.pending=l}}a.lanes|=r,l=a.alternate,l!==null&&(l.lanes|=r),my(a.return,r,t),s.lanes|=r;break}l=l.next}}else if(a.tag===10)o=a.type===t.type?null:a.child;else if(a.tag===18){if(o=a.return,o===null)throw Error(V(341));o.lanes|=r,s=o.alternate,s!==null&&(s.lanes|=r),my(o,r,t),o=a.sibling}else o=a.child;if(o!==null)o.return=a;else for(o=a;o!==null;){if(o===t){o=null;break}if(a=o.sibling,a!==null){a.return=o.return,o=a;break}o=o.return}a=o}qt(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,n=t.pendingProps.children,Mo(t,r),i=Br(i),n=n(i),t.flags|=1,qt(e,t,n,r),t.child;case 14:return n=t.type,i=Xr(n,t.pendingProps),i=Xr(n.type,i),K1(e,t,n,i,r);case 15:return W_(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Xr(n,i),Nf(e,t),t.tag=1,ar(n)?(e=!0,Yf(t)):e=!1,Mo(t,r),B_(t,n,i),vy(t,n,i,r),wy(null,t,n,!0,e,r);case 19:return G_(e,t,r);case 22:return H_(e,t,r)}throw Error(V(156,t.tag))};function cA(e,t){return DE(e,t)}function _M(e,t,r,n){this.tag=e,this.key=r,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=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Nr(e,t,r,n){return new _M(e,t,r,n)}function h0(e){return e=e.prototype,!(!e||!e.isReactComponent)}function AM(e){if(typeof e=="function")return h0(e)?1:0;if(e!=null){if(e=e.$$typeof,e===$g)return 11;if(e===Mg)return 14}return 2}function qi(e,t){var r=e.alternate;return r===null?(r=Nr(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Df(e,t,r,n,i,a){var o=2;if(n=e,typeof e=="function")h0(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case po:return Da(r.children,i,a,t);case Cg:o=8,i|=8;break;case zm:return e=Nr(12,r,t,i|2),e.elementType=zm,e.lanes=a,e;case Um:return e=Nr(13,r,t,i),e.elementType=Um,e.lanes=a,e;case Wm:return e=Nr(19,r,t,i),e.elementType=Wm,e.lanes=a,e;case wE:return wh(r,i,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case gE:o=10;break e;case bE:o=9;break e;case $g:o=11;break e;case Mg:o=14;break e;case Ei:o=16,n=null;break e}throw Error(V(130,e==null?e:typeof e,""))}return t=Nr(o,r,t,i),t.elementType=e,t.type=n,t.lanes=a,t}function Da(e,t,r,n){return e=Nr(7,e,n,t),e.lanes=r,e}function wh(e,t,r,n){return e=Nr(22,e,n,t),e.elementType=wE,e.lanes=r,e.stateNode={isHidden:!1},e}function Qp(e,t,r){return e=Nr(6,e,null,t),e.lanes=r,e}function Zp(e,t,r){return t=Nr(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function TM(e,t,r,n,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=$p(0),this.expirationTimes=$p(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$p(0),this.identifierPrefix=n,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function p0(e,t,r,n,i,a,o,s,l){return e=new TM(e,t,r,s,l),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Nr(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Qg(a),e}function jM(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(pA)}catch(e){console.error(e)}}pA(),pE.exports=br;var Eh=pE.exports;const NM=ke(Eh),RM=rE({__proto__:null,default:NM},[Eh]);var aw=Eh;Fm.createRoot=aw.createRoot,Fm.hydrateRoot=aw.hydrateRoot;/** * @remix-run/router v1.16.0 * * Copyright (c) Remix Software Inc. @@ -46,8 +46,8 @@ Error generating stack: `+a.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Ye(){return Ye=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function ns(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function RM(){return Math.random().toString(36).substr(2,8)}function ow(e,t){return{usr:e.state,key:e.key,idx:t}}function lu(e,t,r,n){return r===void 0&&(r=null),Ye({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ta(t):t,{state:r,key:t&&t.key||n||RM()})}function Ka(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function ta(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function IM(e,t,r,n){n===void 0&&(n={});let{window:i=document.defaultView,v5Compat:a=!1}=n,o=i.history,s=ut.Pop,l=null,u=f();u==null&&(u=0,o.replaceState(Ye({},o.state,{idx:u}),""));function f(){return(o.state||{idx:null}).idx}function c(){s=ut.Pop;let g=f(),v=g==null?null:g-u;u=g,l&&l({action:s,location:p.location,delta:v})}function d(g,v){s=ut.Push;let m=lu(p.location,g,v);u=f()+1;let b=ow(m,u),w=p.createHref(m);try{o.pushState(b,"",w)}catch(x){if(x instanceof DOMException&&x.name==="DataCloneError")throw x;i.location.assign(w)}a&&l&&l({action:s,location:p.location,delta:1})}function h(g,v){s=ut.Replace;let m=lu(p.location,g,v);u=f();let b=ow(m,u),w=p.createHref(m);o.replaceState(b,"",w),a&&l&&l({action:s,location:p.location,delta:0})}function y(g){let v=i.location.origin!=="null"?i.location.origin:i.location.href,m=typeof g=="string"?g:Ka(g);return m=m.replace(/ $/,"%20"),ve(v,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,v)}let p={get action(){return s},get location(){return e(i,o)},listen(g){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(aw,c),l=g,()=>{i.removeEventListener(aw,c),l=null}},createHref(g){return t(i,g)},createURL:y,encodeLocation(g){let v=y(g);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:d,replace:h,go(g){return o.go(g)}};return p}var Qe;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Qe||(Qe={}));const DM=new Set(["lazy","caseSensitive","path","id","index","children"]);function LM(e){return e.index===!0}function Cy(e,t,r,n){return r===void 0&&(r=[]),n===void 0&&(n={}),e.map((i,a)=>{let o=[...r,a],s=typeof i.id=="string"?i.id:o.join("-");if(ve(i.index!==!0||!i.children,"Cannot specify children on an index route"),ve(!n[s],'Found a route id collision on id "'+s+`". Route id's must be globally unique within Data Router usages`),LM(i)){let l=Ye({},i,t(i),{id:s});return n[s]=l,l}else{let l=Ye({},i,t(i),{id:s,children:void 0});return n[s]=l,i.children&&(l.children=Cy(i.children,t,o,n)),l}})}function Po(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?ta(t):t,i=Qi(n.pathname||"/",r);if(i==null)return null;let a=mA(e);BM(a);let o=null;for(let s=0;o==null&&s{let l={relativePath:s===void 0?a.path||"":s,caseSensitive:a.caseSensitive===!0,childrenIndex:o,route:a};l.relativePath.startsWith("/")&&(ve(l.relativePath.startsWith(n),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(n.length));let u=Xn([n,l.relativePath]),f=r.concat(l);a.children&&a.children.length>0&&(ve(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),mA(a.children,t,f,u)),!(a.path==null&&!a.index)&&t.push({path:u,score:qM(u,a.index),routesMeta:f})};return e.forEach((a,o)=>{var s;if(a.path===""||!((s=a.path)!=null&&s.includes("?")))i(a,o);else for(let l of yA(a.path))i(a,o,l)}),t}function yA(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,i=r.endsWith("?"),a=r.replace(/\?$/,"");if(n.length===0)return i?[a,""]:[a];let o=yA(n.join("/")),s=[];return s.push(...o.map(l=>l===""?a:[a,l].join("/"))),i&&s.push(...o),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function BM(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:GM(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const zM=/^:[\w-]+$/,UM=3,WM=2,HM=1,KM=10,VM=-2,sw=e=>e==="*";function qM(e,t){let r=e.split("/"),n=r.length;return r.some(sw)&&(n+=VM),t&&(n+=WM),r.filter(i=>!sw(i)).reduce((i,a)=>i+(zM.test(a)?UM:a===""?HM:KM),n)}function GM(e,t){return e.length===t.length&&e.slice(0,-1).every((n,i)=>n===t[i])?e[e.length-1]-t[t.length-1]:0}function XM(e,t){let{routesMeta:r}=e,n={},i="/",a=[];for(let o=0;o{let{paramName:d,isOptional:h}=f;if(d==="*"){let p=s[c]||"";o=a.slice(0,a.length-p.length).replace(/(.)\/+$/,"$1")}const y=s[c];return h&&!y?u[d]=void 0:u[d]=(y||"").replace(/%2F/g,"/"),u},{}),pathname:a,pathnameBase:o,pattern:e}}function QM(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),ns(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 n=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,s,l)=>(n.push({paramName:s,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),n]}function ZM(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return ns(!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 Qi(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function JM(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:i=""}=typeof e=="string"?ta(e):e;return{pathname:r?r.startsWith("/")?r:eN(r,t):t,search:rN(n),hash:nN(i)}}function eN(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?r.length>1&&r.pop():i!=="."&&r.push(i)}),r.length>1?r.join("/"):"/"}function Zp(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function vA(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function v0(e,t){let r=vA(e);return t?r.map((n,i)=>i===e.length-1?n.pathname:n.pathnameBase):r.map(n=>n.pathnameBase)}function g0(e,t,r,n){n===void 0&&(n=!1);let i;typeof e=="string"?i=ta(e):(i=Ye({},e),ve(!i.pathname||!i.pathname.includes("?"),Zp("?","pathname","search",i)),ve(!i.pathname||!i.pathname.includes("#"),Zp("#","pathname","hash",i)),ve(!i.search||!i.search.includes("#"),Zp("#","search","hash",i)));let a=e===""||i.pathname==="",o=a?"/":i.pathname,s;if(o==null)s=r;else{let c=t.length-1;if(!n&&o.startsWith("..")){let d=o.split("/");for(;d[0]==="..";)d.shift(),c-=1;i.pathname=d.join("/")}s=c>=0?t[c]:"/"}let l=JM(i,s),u=o&&o!=="/"&&o.endsWith("/"),f=(a||o===".")&&r.endsWith("/");return!l.pathname.endsWith("/")&&(u||f)&&(l.pathname+="/"),l}const Xn=e=>e.join("/").replace(/\/\/+/g,"/"),tN=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),rN=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,nN=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,Eh=function(t,r){r===void 0&&(r=302);let n=r;typeof n=="number"?n={status:n}:typeof n.status>"u"&&(n.status=302);let i=new Headers(n.headers);return i.set("Location",t),new Response(null,Ye({},n,{headers:i}))};class b0{constructor(t,r,n,i){i===void 0&&(i=!1),this.status=t,this.statusText=r||"",this.internal=i,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function w0(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const gA=["post","put","patch","delete"],iN=new Set(gA),aN=["get",...gA],oN=new Set(aN),sN=new Set([301,302,303,307,308]),lN=new Set([307,308]),Jp={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},uN={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},al={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},x0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,cN=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),bA="remix-router-transitions";function fN(e){const t=e.window?e.window:typeof window<"u"?window:void 0,r=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",n=!r;ve(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let i;if(e.mapRouteProperties)i=e.mapRouteProperties;else if(e.detectErrorBoundary){let C=e.detectErrorBoundary;i=R=>({hasErrorBoundary:C(R)})}else i=cN;let a={},o=Cy(e.routes,i,void 0,a),s,l=e.basename||"/",u=e.unstable_dataStrategy||mN,f=Ye({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,unstable_skipActionErrorRevalidation:!1},e.future),c=null,d=new Set,h=null,y=null,p=null,g=e.hydrationData!=null,v=Po(o,e.history.location,l),m=null;if(v==null){let C=Tr(404,{pathname:e.history.location.pathname}),{matches:R,route:L}=vw(o);v=R,m={[L.id]:C}}let b,w=v.some(C=>C.route.lazy),x=v.some(C=>C.route.loader);if(w)b=!1;else if(!x)b=!0;else if(f.v7_partialHydration){let C=e.hydrationData?e.hydrationData.loaderData:null,R=e.hydrationData?e.hydrationData.errors:null,L=G=>G.route.loader?typeof G.route.loader=="function"&&G.route.loader.hydrate===!0?!1:C&&C[G.route.id]!==void 0||R&&R[G.route.id]!==void 0:!0;if(R){let G=v.findIndex(te=>R[te.route.id]!==void 0);b=v.slice(0,G+1).every(L)}else b=v.every(L)}else b=e.hydrationData!=null;let O,S={historyAction:e.history.action,location:e.history.location,matches:v,initialized:b,navigation:Jp,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||m,fetchers:new Map,blockers:new Map},P=ut.Pop,j=!1,T,M=!1,k=new Map,I=null,D=!1,H=!1,F=[],K=[],N=new Map,W=0,q=-1,Q=new Map,X=new Set,le=new Map,je=new Map,Me=new Set,et=new Map,De=new Map,cr=!1;function Z(){if(c=e.history.listen(C=>{let{action:R,location:L,delta:G}=C;if(cr){cr=!1;return}ns(De.size===0||G!=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 te=Vb({currentLocation:S.location,nextLocation:L,historyAction:R});if(te&&G!=null){cr=!0,e.history.go(G*-1),Fc(te,{state:"blocked",location:L,proceed(){Fc(te,{state:"proceeding",proceed:void 0,reset:void 0,location:L}),e.history.go(G)},reset(){let he=new Map(S.blockers);he.set(te,al),z({blockers:he})}});return}return Ne(R,L)}),r){AN(t,k);let C=()=>TN(t,k);t.addEventListener("pagehide",C),I=()=>t.removeEventListener("pagehide",C)}return S.initialized||Ne(ut.Pop,S.location,{initialHydration:!0}),O}function ce(){c&&c(),I&&I(),d.clear(),T&&T.abort(),S.fetchers.forEach((C,R)=>Lc(R)),S.blockers.forEach((C,R)=>Kb(R))}function ge(C){return d.add(C),()=>d.delete(C)}function z(C,R){R===void 0&&(R={}),S=Ye({},S,C);let L=[],G=[];f.v7_fetcherPersist&&S.fetchers.forEach((te,he)=>{te.state==="idle"&&(Me.has(he)?G.push(he):L.push(he))}),[...d].forEach(te=>te(S,{deletedFetchers:G,unstable_viewTransitionOpts:R.viewTransitionOpts,unstable_flushSync:R.flushSync===!0})),f.v7_fetcherPersist&&(L.forEach(te=>S.fetchers.delete(te)),G.forEach(te=>Lc(te)))}function Le(C,R,L){var G,te;let{flushSync:he}=L===void 0?{}:L,ae=S.actionData!=null&&S.navigation.formMethod!=null&&Zr(S.navigation.formMethod)&&S.navigation.state==="loading"&&((G=C.state)==null?void 0:G._isRedirect)!==!0,re;R.actionData?Object.keys(R.actionData).length>0?re=R.actionData:re=null:ae?re=S.actionData:re=null;let pe=R.loaderData?mw(S.loaderData,R.loaderData,R.matches||[],R.errors):S.loaderData,fe=S.blockers;fe.size>0&&(fe=new Map(fe),fe.forEach((ue,Xe)=>fe.set(Xe,al)));let Pt=j===!0||S.navigation.formMethod!=null&&Zr(S.navigation.formMethod)&&((te=C.state)==null?void 0:te._isRedirect)!==!0;s&&(o=s,s=void 0),D||P===ut.Pop||(P===ut.Push?e.history.push(C,C.state):P===ut.Replace&&e.history.replace(C,C.state));let Et;if(P===ut.Pop){let ue=k.get(S.location.pathname);ue&&ue.has(C.pathname)?Et={currentLocation:S.location,nextLocation:C}:k.has(C.pathname)&&(Et={currentLocation:C,nextLocation:S.location})}else if(M){let ue=k.get(S.location.pathname);ue?ue.add(C.pathname):(ue=new Set([C.pathname]),k.set(S.location.pathname,ue)),Et={currentLocation:S.location,nextLocation:C}}z(Ye({},R,{actionData:re,loaderData:pe,historyAction:P,location:C,initialized:!0,navigation:Jp,revalidation:"idle",restoreScrollPosition:Gb(C,R.matches||S.matches),preventScrollReset:Pt,blockers:fe}),{viewTransitionOpts:Et,flushSync:he===!0}),P=ut.Pop,j=!1,M=!1,D=!1,H=!1,F=[],K=[]}async function xe(C,R){if(typeof C=="number"){e.history.go(C);return}let L=$y(S.location,S.matches,l,f.v7_prependBasename,C,f.v7_relativeSplatPath,R==null?void 0:R.fromRouteId,R==null?void 0:R.relative),{path:G,submission:te,error:he}=lw(f.v7_normalizeFormMethod,!1,L,R),ae=S.location,re=lu(S.location,G,R&&R.state);re=Ye({},re,e.history.encodeLocation(re));let pe=R&&R.replace!=null?R.replace:void 0,fe=ut.Push;pe===!0?fe=ut.Replace:pe===!1||te!=null&&Zr(te.formMethod)&&te.formAction===S.location.pathname+S.location.search&&(fe=ut.Replace);let Pt=R&&"preventScrollReset"in R?R.preventScrollReset===!0:void 0,Et=(R&&R.unstable_flushSync)===!0,ue=Vb({currentLocation:ae,nextLocation:re,historyAction:fe});if(ue){Fc(ue,{state:"blocked",location:re,proceed(){Fc(ue,{state:"proceeding",proceed:void 0,reset:void 0,location:re}),xe(C,R)},reset(){let Xe=new Map(S.blockers);Xe.set(ue,al),z({blockers:Xe})}});return}return await Ne(fe,re,{submission:te,pendingError:he,preventScrollReset:Pt,replace:R&&R.replace,enableViewTransition:R&&R.unstable_viewTransition,flushSync:Et})}function ot(){if(Op(),z({revalidation:"loading"}),S.navigation.state!=="submitting"){if(S.navigation.state==="idle"){Ne(S.historyAction,S.location,{startUninterruptedRevalidation:!0});return}Ne(P||S.historyAction,S.navigation.location,{overrideNavigation:S.navigation})}}async function Ne(C,R,L){T&&T.abort(),T=null,P=C,D=(L&&L.startUninterruptedRevalidation)===!0,nC(S.location,S.matches),j=(L&&L.preventScrollReset)===!0,M=(L&&L.enableViewTransition)===!0;let G=s||o,te=L&&L.overrideNavigation,he=Po(G,R,l),ae=(L&&L.flushSync)===!0;if(!he){let ue=Tr(404,{pathname:R.pathname}),{matches:Xe,route:vt}=vw(G);Pp(),Le(R,{matches:Xe,loaderData:{},errors:{[vt.id]:ue}},{flushSync:ae});return}if(S.initialized&&!H&&xN(S.location,R)&&!(L&&L.submission&&Zr(L.submission.formMethod))){Le(R,{matches:he},{flushSync:ae});return}T=new AbortController;let re=oo(e.history,R,T.signal,L&&L.submission),pe;if(L&&L.pendingError)pe=[Dl(he).route.id,{type:Qe.error,error:L.pendingError}];else if(L&&L.submission&&Zr(L.submission.formMethod)){let ue=await Bt(re,R,L.submission,he,{replace:L.replace,flushSync:ae});if(ue.shortCircuited)return;pe=ue.pendingActionResult,te=em(R,L.submission),ae=!1,re=oo(e.history,re.url,re.signal)}let{shortCircuited:fe,loaderData:Pt,errors:Et}=await Vr(re,R,he,te,L&&L.submission,L&&L.fetcherSubmission,L&&L.replace,L&&L.initialHydration===!0,ae,pe);fe||(T=null,Le(R,Ye({matches:he},yw(pe),{loaderData:Pt,errors:Et})))}async function Bt(C,R,L,G,te){te===void 0&&(te={}),Op();let he=EN(R,L);z({navigation:he},{flushSync:te.flushSync===!0});let ae,re=Ny(G,R);if(!re.route.action&&!re.route.lazy)ae={type:Qe.error,error:Tr(405,{method:C.method,pathname:R.pathname,routeId:re.route.id})};else if(ae=(await pi("action",C,[re],G))[0],C.signal.aborted)return{shortCircuited:!0};if(xa(ae)){let pe;return te&&te.replace!=null?pe=te.replace:pe=dw(ae.response.headers.get("Location"),new URL(C.url),l)===S.location.pathname+S.location.search,await In(C,ae,{submission:L,replace:pe}),{shortCircuited:!0}}if(wa(ae))throw Tr(400,{type:"defer-action"});if($r(ae)){let pe=Dl(G,re.route.id);return(te&&te.replace)!==!0&&(P=ut.Push),{pendingActionResult:[pe.route.id,ae]}}return{pendingActionResult:[re.route.id,ae]}}async function Vr(C,R,L,G,te,he,ae,re,pe,fe){let Pt=G||em(R,te),Et=te||he||ww(Pt),ue=s||o,[Xe,vt]=uw(e.history,S,L,Et,R,f.v7_partialHydration&&re===!0,f.unstable_skipActionErrorRevalidation,H,F,K,Me,le,X,ue,l,fe);if(Pp(Oe=>!(L&&L.some(zt=>zt.route.id===Oe))||Xe&&Xe.some(zt=>zt.route.id===Oe)),q=++W,Xe.length===0&&vt.length===0){let Oe=Wb();return Le(R,Ye({matches:L,loaderData:{},errors:fe&&$r(fe[1])?{[fe[0]]:fe[1].error}:null},yw(fe),Oe?{fetchers:new Map(S.fetchers)}:{}),{flushSync:pe}),{shortCircuited:!0}}if(!D&&(!f.v7_partialHydration||!re)){vt.forEach(zt=>{let Or=S.fetchers.get(zt.key),_t=ol(void 0,Or?Or.data:void 0);S.fetchers.set(zt.key,_t)});let Oe;fe&&!$r(fe[1])?Oe={[fe[0]]:fe[1].data}:S.actionData&&(Object.keys(S.actionData).length===0?Oe=null:Oe=S.actionData),z(Ye({navigation:Pt},Oe!==void 0?{actionData:Oe}:{},vt.length>0?{fetchers:new Map(S.fetchers)}:{}),{flushSync:pe})}vt.forEach(Oe=>{N.has(Oe.key)&&yi(Oe.key),Oe.controller&&N.set(Oe.key,Oe.controller)});let Xs=()=>vt.forEach(Oe=>yi(Oe.key));T&&T.signal.addEventListener("abort",Xs);let{loaderResults:vi,fetcherResults:ro}=await qs(S.matches,L,Xe,vt,C);if(C.signal.aborted)return{shortCircuited:!0};T&&T.signal.removeEventListener("abort",Xs),vt.forEach(Oe=>N.delete(Oe.key));let no=gw([...vi,...ro]);if(no){if(no.idx>=Xe.length){let Oe=vt[no.idx-Xe.length].key;X.add(Oe)}return await In(C,no.result,{replace:ae}),{shortCircuited:!0}}let{loaderData:io,errors:dn}=pw(S,L,Xe,vi,fe,vt,ro,et);et.forEach((Oe,zt)=>{Oe.subscribe(Or=>{(Or||Oe.done)&&et.delete(zt)})}),f.v7_partialHydration&&re&&S.errors&&Object.entries(S.errors).filter(Oe=>{let[zt]=Oe;return!Xe.some(Or=>Or.route.id===zt)}).forEach(Oe=>{let[zt,Or]=Oe;dn=Object.assign(dn||{},{[zt]:Or})});let Bc=Wb(),zc=Hb(q),Uc=Bc||zc||vt.length>0;return Ye({loaderData:io,errors:dn},Uc?{fetchers:new Map(S.fetchers)}:{})}function to(C,R,L,G){if(n)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.");N.has(C)&&yi(C);let te=(G&&G.unstable_flushSync)===!0,he=s||o,ae=$y(S.location,S.matches,l,f.v7_prependBasename,L,f.v7_relativeSplatPath,R,G==null?void 0:G.relative),re=Po(he,ae,l);if(!re){Gs(C,R,Tr(404,{pathname:ae}),{flushSync:te});return}let{path:pe,submission:fe,error:Pt}=lw(f.v7_normalizeFormMethod,!0,ae,G);if(Pt){Gs(C,R,Pt,{flushSync:te});return}let Et=Ny(re,pe);if(j=(G&&G.preventScrollReset)===!0,fe&&Zr(fe.formMethod)){Nn(C,R,pe,Et,re,te,fe);return}le.set(C,{routeId:R,path:pe}),Rn(C,R,pe,Et,re,te,fe)}async function Nn(C,R,L,G,te,he,ae){if(Op(),le.delete(C),!G.route.action&&!G.route.lazy){let _t=Tr(405,{method:ae.formMethod,pathname:L,routeId:R});Gs(C,R,_t,{flushSync:he});return}let re=S.fetchers.get(C);mi(C,_N(ae,re),{flushSync:he});let pe=new AbortController,fe=oo(e.history,L,pe.signal,ae);N.set(C,pe);let Pt=W,ue=(await pi("action",fe,[G],te))[0];if(fe.signal.aborted){N.get(C)===pe&&N.delete(C);return}if(f.v7_fetcherPersist&&Me.has(C)){if(xa(ue)||$r(ue)){mi(C,Si(void 0));return}}else{if(xa(ue))if(N.delete(C),q>Pt){mi(C,Si(void 0));return}else return X.add(C),mi(C,ol(ae)),In(fe,ue,{fetcherSubmission:ae});if($r(ue)){Gs(C,R,ue.error);return}}if(wa(ue))throw Tr(400,{type:"defer-action"});let Xe=S.navigation.location||S.location,vt=oo(e.history,Xe,pe.signal),Xs=s||o,vi=S.navigation.state!=="idle"?Po(Xs,S.navigation.location,l):S.matches;ve(vi,"Didn't find any matches after fetcher action");let ro=++W;Q.set(C,ro);let no=ol(ae,ue.data);S.fetchers.set(C,no);let[io,dn]=uw(e.history,S,vi,ae,Xe,!1,f.unstable_skipActionErrorRevalidation,H,F,K,Me,le,X,Xs,l,[G.route.id,ue]);dn.filter(_t=>_t.key!==C).forEach(_t=>{let Ys=_t.key,Xb=S.fetchers.get(Ys),aC=ol(void 0,Xb?Xb.data:void 0);S.fetchers.set(Ys,aC),N.has(Ys)&&yi(Ys),_t.controller&&N.set(Ys,_t.controller)}),z({fetchers:new Map(S.fetchers)});let Bc=()=>dn.forEach(_t=>yi(_t.key));pe.signal.addEventListener("abort",Bc);let{loaderResults:zc,fetcherResults:Uc}=await qs(S.matches,vi,io,dn,vt);if(pe.signal.aborted)return;pe.signal.removeEventListener("abort",Bc),Q.delete(C),N.delete(C),dn.forEach(_t=>N.delete(_t.key));let Oe=gw([...zc,...Uc]);if(Oe){if(Oe.idx>=io.length){let _t=dn[Oe.idx-io.length].key;X.add(_t)}return In(vt,Oe.result)}let{loaderData:zt,errors:Or}=pw(S,S.matches,io,zc,void 0,dn,Uc,et);if(S.fetchers.has(C)){let _t=Si(ue.data);S.fetchers.set(C,_t)}Hb(ro),S.navigation.state==="loading"&&ro>q?(ve(P,"Expected pending action"),T&&T.abort(),Le(S.navigation.location,{matches:vi,loaderData:zt,errors:Or,fetchers:new Map(S.fetchers)})):(z({errors:Or,loaderData:mw(S.loaderData,zt,vi,Or),fetchers:new Map(S.fetchers)}),H=!1)}async function Rn(C,R,L,G,te,he,ae){let re=S.fetchers.get(C);mi(C,ol(ae,re?re.data:void 0),{flushSync:he});let pe=new AbortController,fe=oo(e.history,L,pe.signal);N.set(C,pe);let Pt=W,ue=(await pi("loader",fe,[G],te))[0];if(wa(ue)&&(ue=await OA(ue,fe.signal,!0)||ue),N.get(C)===pe&&N.delete(C),!fe.signal.aborted){if(Me.has(C)){mi(C,Si(void 0));return}if(xa(ue))if(q>Pt){mi(C,Si(void 0));return}else{X.add(C),await In(fe,ue);return}if($r(ue)){Gs(C,R,ue.error);return}ve(!wa(ue),"Unhandled fetcher deferred data"),mi(C,Si(ue.data))}}async function In(C,R,L){let{submission:G,fetcherSubmission:te,replace:he}=L===void 0?{}:L;R.response.headers.has("X-Remix-Revalidate")&&(H=!0);let ae=R.response.headers.get("Location");ve(ae,"Expected a Location header on the redirect Response"),ae=dw(ae,new URL(C.url),l);let re=lu(S.location,ae,{_isRedirect:!0});if(r){let Xe=!1;if(R.response.headers.has("X-Remix-Reload-Document"))Xe=!0;else if(x0.test(ae)){const vt=e.history.createURL(ae);Xe=vt.origin!==t.location.origin||Qi(vt.pathname,l)==null}if(Xe){he?t.location.replace(ae):t.location.assign(ae);return}}T=null;let pe=he===!0?ut.Replace:ut.Push,{formMethod:fe,formAction:Pt,formEncType:Et}=S.navigation;!G&&!te&&fe&&Pt&&Et&&(G=ww(S.navigation));let ue=G||te;if(lN.has(R.response.status)&&ue&&Zr(ue.formMethod))await Ne(pe,re,{submission:Ye({},ue,{formAction:ae}),preventScrollReset:j});else{let Xe=em(re,G);await Ne(pe,re,{overrideNavigation:Xe,fetcherSubmission:te,preventScrollReset:j})}}async function pi(C,R,L,G){try{let te=await yN(u,C,R,L,G,a,i);return await Promise.all(te.map((he,ae)=>{if(SN(he)){let re=he.result;return{type:Qe.redirect,response:bN(re,R,L[ae].route.id,G,l,f.v7_relativeSplatPath)}}return gN(he)}))}catch(te){return L.map(()=>({type:Qe.error,error:te}))}}async function qs(C,R,L,G,te){let[he,...ae]=await Promise.all([L.length?pi("loader",te,L,R):[],...G.map(re=>{if(re.matches&&re.match&&re.controller){let pe=oo(e.history,re.path,re.controller.signal);return pi("loader",pe,[re.match],re.matches).then(fe=>fe[0])}else return Promise.resolve({type:Qe.error,error:Tr(404,{pathname:re.path})})})]);return await Promise.all([bw(C,L,he,he.map(()=>te.signal),!1,S.loaderData),bw(C,G.map(re=>re.match),ae,G.map(re=>re.controller?re.controller.signal:null),!0)]),{loaderResults:he,fetcherResults:ae}}function Op(){H=!0,F.push(...Pp()),le.forEach((C,R)=>{N.has(R)&&(K.push(R),yi(R))})}function mi(C,R,L){L===void 0&&(L={}),S.fetchers.set(C,R),z({fetchers:new Map(S.fetchers)},{flushSync:(L&&L.flushSync)===!0})}function Gs(C,R,L,G){G===void 0&&(G={});let te=Dl(S.matches,R);Lc(C),z({errors:{[te.route.id]:L},fetchers:new Map(S.fetchers)},{flushSync:(G&&G.flushSync)===!0})}function zb(C){return f.v7_fetcherPersist&&(je.set(C,(je.get(C)||0)+1),Me.has(C)&&Me.delete(C)),S.fetchers.get(C)||uN}function Lc(C){let R=S.fetchers.get(C);N.has(C)&&!(R&&R.state==="loading"&&Q.has(C))&&yi(C),le.delete(C),Q.delete(C),X.delete(C),Me.delete(C),S.fetchers.delete(C)}function eC(C){if(f.v7_fetcherPersist){let R=(je.get(C)||0)-1;R<=0?(je.delete(C),Me.add(C)):je.set(C,R)}else Lc(C);z({fetchers:new Map(S.fetchers)})}function yi(C){let R=N.get(C);ve(R,"Expected fetch controller: "+C),R.abort(),N.delete(C)}function Ub(C){for(let R of C){let L=zb(R),G=Si(L.data);S.fetchers.set(R,G)}}function Wb(){let C=[],R=!1;for(let L of X){let G=S.fetchers.get(L);ve(G,"Expected fetcher: "+L),G.state==="loading"&&(X.delete(L),C.push(L),R=!0)}return Ub(C),R}function Hb(C){let R=[];for(let[L,G]of Q)if(G0}function tC(C,R){let L=S.blockers.get(C)||al;return De.get(C)!==R&&De.set(C,R),L}function Kb(C){S.blockers.delete(C),De.delete(C)}function Fc(C,R){let L=S.blockers.get(C)||al;ve(L.state==="unblocked"&&R.state==="blocked"||L.state==="blocked"&&R.state==="blocked"||L.state==="blocked"&&R.state==="proceeding"||L.state==="blocked"&&R.state==="unblocked"||L.state==="proceeding"&&R.state==="unblocked","Invalid blocker state transition: "+L.state+" -> "+R.state);let G=new Map(S.blockers);G.set(C,R),z({blockers:G})}function Vb(C){let{currentLocation:R,nextLocation:L,historyAction:G}=C;if(De.size===0)return;De.size>1&&ns(!1,"A router only supports one blocker at a time");let te=Array.from(De.entries()),[he,ae]=te[te.length-1],re=S.blockers.get(he);if(!(re&&re.state==="proceeding")&&ae({currentLocation:R,nextLocation:L,historyAction:G}))return he}function Pp(C){let R=[];return et.forEach((L,G)=>{(!C||C(G))&&(L.cancel(),R.push(G),et.delete(G))}),R}function rC(C,R,L){if(h=C,p=R,y=L||null,!g&&S.navigation===Jp){g=!0;let G=Gb(S.location,S.matches);G!=null&&z({restoreScrollPosition:G})}return()=>{h=null,p=null,y=null}}function qb(C,R){return y&&y(C,R.map(G=>FM(G,S.loaderData)))||C.key}function nC(C,R){if(h&&p){let L=qb(C,R);h[L]=p()}}function Gb(C,R){if(h){let L=qb(C,R),G=h[L];if(typeof G=="number")return G}return null}function iC(C){a={},s=Cy(C,i,void 0,a)}return O={get basename(){return l},get future(){return f},get state(){return S},get routes(){return o},get window(){return t},initialize:Z,subscribe:ge,enableScrollRestoration:rC,navigate:xe,fetch:to,revalidate:ot,createHref:C=>e.history.createHref(C),encodeLocation:C=>e.history.encodeLocation(C),getFetcher:zb,deleteFetcher:eC,dispose:ce,getBlocker:tC,deleteBlocker:Kb,_internalFetchControllers:N,_internalActiveDeferreds:et,_internalSetRoutes:iC},O}function dN(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function $y(e,t,r,n,i,a,o,s){let l,u;if(o){l=[];for(let c of t)if(l.push(c),c.route.id===o){u=c;break}}else l=t,u=t[t.length-1];let f=g0(i||".",v0(l,a),Qi(e.pathname,r)||e.pathname,s==="path");return i==null&&(f.search=e.search,f.hash=e.hash),(i==null||i===""||i===".")&&u&&u.route.index&&!S0(f.search)&&(f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index"),n&&r!=="/"&&(f.pathname=f.pathname==="/"?r:Xn([r,f.pathname])),Ka(f)}function lw(e,t,r,n){if(!n||!dN(n))return{path:r};if(n.formMethod&&!PN(n.formMethod))return{path:r,error:Tr(405,{method:n.formMethod})};let i=()=>({path:r,error:Tr(400,{type:"invalid-body"})}),a=n.formMethod||"get",o=e?a.toUpperCase():a.toLowerCase(),s=xA(r);if(n.body!==void 0){if(n.formEncType==="text/plain"){if(!Zr(o))return i();let d=typeof n.body=="string"?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((h,y)=>{let[p,g]=y;return""+h+p+"="+g+` -`},""):String(n.body);return{path:r,submission:{formMethod:o,formAction:s,formEncType:n.formEncType,formData:void 0,json:void 0,text:d}}}else if(n.formEncType==="application/json"){if(!Zr(o))return i();try{let d=typeof n.body=="string"?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:o,formAction:s,formEncType:n.formEncType,formData:void 0,json:d,text:void 0}}}catch{return i()}}}ve(typeof FormData=="function","FormData is not available in this environment");let l,u;if(n.formData)l=My(n.formData),u=n.formData;else if(n.body instanceof FormData)l=My(n.body),u=n.body;else if(n.body instanceof URLSearchParams)l=n.body,u=hw(l);else if(n.body==null)l=new URLSearchParams,u=new FormData;else try{l=new URLSearchParams(n.body),u=hw(l)}catch{return i()}let f={formMethod:o,formAction:s,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(Zr(f.formMethod))return{path:r,submission:f};let c=ta(r);return t&&c.search&&S0(c.search)&&l.append("index",""),c.search="?"+l,{path:Ka(c),submission:f}}function hN(e,t){let r=e;if(t){let n=e.findIndex(i=>i.route.id===t);n>=0&&(r=e.slice(0,n))}return r}function uw(e,t,r,n,i,a,o,s,l,u,f,c,d,h,y,p){let g=p?$r(p[1])?p[1].error:p[1].data:void 0,v=e.createURL(t.location),m=e.createURL(i),b=p&&$r(p[1])?p[0]:void 0,w=b?hN(r,b):r,x=p?p[1].statusCode:void 0,O=o&&x&&x>=400,S=w.filter((j,T)=>{let{route:M}=j;if(M.lazy)return!0;if(M.loader==null)return!1;if(a)return typeof M.loader!="function"||M.loader.hydrate?!0:t.loaderData[M.id]===void 0&&(!t.errors||t.errors[M.id]===void 0);if(pN(t.loaderData,t.matches[T],j)||l.some(D=>D===j.route.id))return!0;let k=t.matches[T],I=j;return cw(j,Ye({currentUrl:v,currentParams:k.params,nextUrl:m,nextParams:I.params},n,{actionResult:g,unstable_actionStatus:x,defaultShouldRevalidate:O?!1:s||v.pathname+v.search===m.pathname+m.search||v.search!==m.search||wA(k,I)}))}),P=[];return c.forEach((j,T)=>{if(a||!r.some(H=>H.route.id===j.routeId)||f.has(T))return;let M=Po(h,j.path,y);if(!M){P.push({key:T,routeId:j.routeId,path:j.path,matches:null,match:null,controller:null});return}let k=t.fetchers.get(T),I=Ny(M,j.path),D=!1;d.has(T)?D=!1:u.includes(T)?D=!0:k&&k.state!=="idle"&&k.data===void 0?D=s:D=cw(I,Ye({currentUrl:v,currentParams:t.matches[t.matches.length-1].params,nextUrl:m,nextParams:r[r.length-1].params},n,{actionResult:g,unstable_actionStatus:x,defaultShouldRevalidate:O?!1:s})),D&&P.push({key:T,routeId:j.routeId,path:j.path,matches:M,match:I,controller:new AbortController})}),[S,P]}function pN(e,t,r){let n=!t||r.route.id!==t.route.id,i=e[r.route.id]===void 0;return n||i}function wA(e,t){let r=e.route.path;return e.pathname!==t.pathname||r!=null&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function cw(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if(typeof r=="boolean")return r}return t.defaultShouldRevalidate}async function fw(e,t,r){if(!e.lazy)return;let n=await e.lazy();if(!e.lazy)return;let i=r[e.id];ve(i,"No route found in manifest");let a={};for(let o in n){let l=i[o]!==void 0&&o!=="hasErrorBoundary";ns(!l,'Route "'+i.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.')),!l&&!DM.has(o)&&(a[o]=n[o])}Object.assign(i,a),Object.assign(i,Ye({},t(i),{lazy:void 0}))}function mN(e){return Promise.all(e.matches.map(t=>t.resolve()))}async function yN(e,t,r,n,i,a,o,s){let l=n.reduce((c,d)=>c.add(d.route.id),new Set),u=new Set,f=await e({matches:i.map(c=>{let d=l.has(c.route.id);return Ye({},c,{shouldLoad:d,resolve:y=>(u.add(c.route.id),d?vN(t,r,c,a,o,y,s):Promise.resolve({type:Qe.data,result:void 0}))})}),request:r,params:i[0].params,context:s});return i.forEach(c=>ve(u.has(c.route.id),'`match.resolve()` was not called for route id "'+c.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),f.filter((c,d)=>l.has(i[d].route.id))}async function vN(e,t,r,n,i,a,o){let s,l,u=f=>{let c,d=new Promise((p,g)=>c=g);l=()=>c(),t.signal.addEventListener("abort",l);let h=p=>typeof f!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: '+r.route.id+"]"))):f({request:t,params:r.params,context:o},...p!==void 0?[p]:[]),y;return a?y=a(p=>h(p)):y=(async()=>{try{return{type:"data",result:await h()}}catch(p){return{type:"error",result:p}}})(),Promise.race([y,d])};try{let f=r.route[e];if(r.route.lazy)if(f){let c,[d]=await Promise.all([u(f).catch(h=>{c=h}),fw(r.route,i,n)]);if(c!==void 0)throw c;s=d}else if(await fw(r.route,i,n),f=r.route[e],f)s=await u(f);else if(e==="action"){let c=new URL(t.url),d=c.pathname+c.search;throw Tr(405,{method:t.method,pathname:d,routeId:r.route.id})}else return{type:Qe.data,result:void 0};else if(f)s=await u(f);else{let c=new URL(t.url),d=c.pathname+c.search;throw Tr(404,{pathname:d})}ve(s.result!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+r.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(f){return{type:Qe.error,result:f}}finally{l&&t.signal.removeEventListener("abort",l)}return s}async function gN(e){let{result:t,type:r,status:n}=e;if(SA(t)){let o;try{let s=t.headers.get("Content-Type");s&&/\bapplication\/json\b/.test(s)?t.body==null?o=null:o=await t.json():o=await t.text()}catch(s){return{type:Qe.error,error:s}}return r===Qe.error?{type:Qe.error,error:new b0(t.status,t.statusText,o),statusCode:t.status,headers:t.headers}:{type:Qe.data,data:o,statusCode:t.status,headers:t.headers}}if(r===Qe.error)return{type:Qe.error,error:t,statusCode:w0(t)?t.status:n};if(ON(t)){var i,a;return{type:Qe.deferred,deferredData:t,statusCode:(i=t.init)==null?void 0:i.status,headers:((a=t.init)==null?void 0:a.headers)&&new Headers(t.init.headers)}}return{type:Qe.data,data:t,statusCode:n}}function bN(e,t,r,n,i,a){let o=e.headers.get("Location");if(ve(o,"Redirects returned/thrown from loaders/actions must have a Location header"),!x0.test(o)){let s=n.slice(0,n.findIndex(l=>l.route.id===r)+1);o=$y(new URL(t.url),s,i,!0,o,a),e.headers.set("Location",o)}return e}function dw(e,t,r){if(x0.test(e)){let n=e,i=n.startsWith("//")?new URL(t.protocol+n):new URL(n),a=Qi(i.pathname,r)!=null;if(i.origin===t.origin&&a)return i.pathname+i.search+i.hash}return e}function oo(e,t,r,n){let i=e.createURL(xA(t)).toString(),a={signal:r};if(n&&Zr(n.formMethod)){let{formMethod:o,formEncType:s}=n;a.method=o.toUpperCase(),s==="application/json"?(a.headers=new Headers({"Content-Type":s}),a.body=JSON.stringify(n.json)):s==="text/plain"?a.body=n.text:s==="application/x-www-form-urlencoded"&&n.formData?a.body=My(n.formData):a.body=n.formData}return new Request(i,a)}function My(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,typeof n=="string"?n:n.name);return t}function hw(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function wN(e,t,r,n,i,a){let o={},s=null,l,u=!1,f={},c=n&&$r(n[1])?n[1].error:void 0;return r.forEach((d,h)=>{let y=t[h].route.id;if(ve(!xa(d),"Cannot handle redirect results in processLoaderData"),$r(d)){let p=d.error;c!==void 0&&(p=c,c=void 0),s=s||{};{let g=Dl(e,y);s[g.route.id]==null&&(s[g.route.id]=p)}o[y]=void 0,u||(u=!0,l=w0(d.error)?d.error.status:500),d.headers&&(f[y]=d.headers)}else wa(d)?(i.set(y,d.deferredData),o[y]=d.deferredData.data,d.statusCode!=null&&d.statusCode!==200&&!u&&(l=d.statusCode),d.headers&&(f[y]=d.headers)):(o[y]=d.data,d.statusCode&&d.statusCode!==200&&!u&&(l=d.statusCode),d.headers&&(f[y]=d.headers))}),c!==void 0&&n&&(s={[n[0]]:c},o[n[0]]=void 0),{loaderData:o,errors:s,statusCode:l||200,loaderHeaders:f}}function pw(e,t,r,n,i,a,o,s){let{loaderData:l,errors:u}=wN(t,r,n,i,s);for(let f=0;fn.route.id===t)+1):[...e]).reverse().find(n=>n.route.hasErrorBoundary===!0)||e[0]}function vw(e){let t=e.length===1?e[0]:e.find(r=>r.index||!r.path||r.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Tr(e,t){let{pathname:r,routeId:n,method:i,type:a}=t===void 0?{}:t,o="Unknown Server Error",s="Unknown @remix-run/router error";return e===400?(o="Bad Request",i&&r&&n?s="You made a "+i+' request to "'+r+'" but '+('did not provide a `loader` for route "'+n+'", ')+"so there is no way to handle the request.":a==="defer-action"?s="defer() is not supported in actions":a==="invalid-body"&&(s="Unable to encode submission body")):e===403?(o="Forbidden",s='Route "'+n+'" does not match URL "'+r+'"'):e===404?(o="Not Found",s='No route matches URL "'+r+'"'):e===405&&(o="Method Not Allowed",i&&r&&n?s="You made a "+i.toUpperCase()+' request to "'+r+'" but '+('did not provide an `action` for route "'+n+'", ')+"so there is no way to handle the request.":i&&(s='Invalid request method "'+i.toUpperCase()+'"')),new b0(e||500,o,new Error(s),!0)}function gw(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if(xa(r))return{result:r,idx:t}}}function xA(e){let t=typeof e=="string"?ta(e):e;return Ka(Ye({},t,{hash:""}))}function xN(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function SN(e){return SA(e.result)&&sN.has(e.result.status)}function wa(e){return e.type===Qe.deferred}function $r(e){return e.type===Qe.error}function xa(e){return(e&&e.type)===Qe.redirect}function ON(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 SA(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function PN(e){return oN.has(e.toLowerCase())}function Zr(e){return iN.has(e.toLowerCase())}async function bw(e,t,r,n,i,a){for(let o=0;oc.route.id===l.route.id),f=u!=null&&!wA(u,l)&&(a&&a[l.route.id])!==void 0;if(wa(s)&&(i||f)){let c=n[o];ve(c,"Expected an AbortSignal for revalidating fetcher deferred result"),await OA(s,c,i).then(d=>{d&&(r[o]=d||r[o])})}}}async function OA(e,t,r){if(r===void 0&&(r=!1),!await e.deferredData.resolveData(t)){if(r)try{return{type:Qe.data,data:e.deferredData.unwrappedData}}catch(i){return{type:Qe.error,error:i}}return{type:Qe.data,data:e.deferredData.data}}}function S0(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Ny(e,t){let r=typeof t=="string"?ta(t).search:t.search;if(e[e.length-1].route.index&&S0(r||""))return e[e.length-1];let n=vA(e);return n[n.length-1]}function ww(e){let{formMethod:t,formAction:r,formEncType:n,text:i,formData:a,json:o}=e;if(!(!t||!r||!n)){if(i!=null)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:i};if(a!=null)return{formMethod:t,formAction:r,formEncType:n,formData:a,json:void 0,text:void 0};if(o!==void 0)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:o,text:void 0}}}function em(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 EN(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 _N(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 Si(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 AN(e,t){try{let r=e.sessionStorage.getItem(bA);if(r){let n=JSON.parse(r);for(let[i,a]of Object.entries(n||{}))a&&Array.isArray(a)&&t.set(i,new Set(a||[]))}}catch{}}function TN(e,t){if(t.size>0){let r={};for(let[n,i]of t)r[n]=[...i];try{e.sessionStorage.setItem(bA,JSON.stringify(r))}catch(n){ns(!1,"Failed to save applied view transitions in sessionStorage ("+n+").")}}}/** + */function Ye(){return Ye=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Va(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function LM(){return Math.random().toString(36).substr(2,8)}function sw(e,t){return{usr:e.state,key:e.key,idx:t}}function is(e,t,r,n){return r===void 0&&(r=null),Ye({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ci(t):t,{state:r,key:t&&t.key||n||LM()})}function Zi(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function ci(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function mA(e,t,r,n){n===void 0&&(n={});let{window:i=document.defaultView,v5Compat:a=!1}=n,o=i.history,s=ut.Pop,l=null,u=f();u==null&&(u=0,o.replaceState(Ye({},o.state,{idx:u}),""));function f(){return(o.state||{idx:null}).idx}function c(){s=ut.Pop;let g=f(),v=g==null?null:g-u;u=g,l&&l({action:s,location:p.location,delta:v})}function d(g,v){s=ut.Push;let m=is(p.location,g,v);r&&r(m,g),u=f()+1;let b=sw(m,u),w=p.createHref(m);try{o.pushState(b,"",w)}catch(x){if(x instanceof DOMException&&x.name==="DataCloneError")throw x;i.location.assign(w)}a&&l&&l({action:s,location:p.location,delta:1})}function h(g,v){s=ut.Replace;let m=is(p.location,g,v);r&&r(m,g),u=f();let b=sw(m,u),w=p.createHref(m);o.replaceState(b,"",w),a&&l&&l({action:s,location:p.location,delta:0})}function y(g){let v=i.location.origin!=="null"?i.location.origin:i.location.href,m=typeof g=="string"?g:Zi(g);return m=m.replace(/ $/,"%20"),ve(v,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,v)}let p={get action(){return s},get location(){return e(i,o)},listen(g){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(ow,c),l=g,()=>{i.removeEventListener(ow,c),l=null}},createHref(g){return t(i,g)},createURL:y,encodeLocation(g){let v=y(g);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:d,replace:h,go(g){return o.go(g)}};return p}var Qe;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Qe||(Qe={}));const FM=new Set(["lazy","caseSensitive","path","id","index","children"]);function BM(e){return e.index===!0}function $y(e,t,r,n){return r===void 0&&(r=[]),n===void 0&&(n={}),e.map((i,a)=>{let o=[...r,a],s=typeof i.id=="string"?i.id:o.join("-");if(ve(i.index!==!0||!i.children,"Cannot specify children on an index route"),ve(!n[s],'Found a route id collision on id "'+s+`". Route id's must be globally unique within Data Router usages`),BM(i)){let l=Ye({},i,t(i),{id:s});return n[s]=l,l}else{let l=Ye({},i,t(i),{id:s,children:void 0});return n[s]=l,i.children&&(l.children=$y(i.children,t,o,n)),l}})}function Eo(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?ci(t):t,i=Ji(n.pathname||"/",r);if(i==null)return null;let a=yA(e);UM(a);let o=null;for(let s=0;o==null&&s{let l={relativePath:s===void 0?a.path||"":s,caseSensitive:a.caseSensitive===!0,childrenIndex:o,route:a};l.relativePath.startsWith("/")&&(ve(l.relativePath.startsWith(n),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(n.length));let u=Xn([n,l.relativePath]),f=r.concat(l);a.children&&a.children.length>0&&(ve(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),yA(a.children,t,f,u)),!(a.path==null&&!a.index)&&t.push({path:u,score:XM(u,a.index),routesMeta:f})};return e.forEach((a,o)=>{var s;if(a.path===""||!((s=a.path)!=null&&s.includes("?")))i(a,o);else for(let l of vA(a.path))i(a,o,l)}),t}function vA(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,i=r.endsWith("?"),a=r.replace(/\?$/,"");if(n.length===0)return i?[a,""]:[a];let o=vA(n.join("/")),s=[];return s.push(...o.map(l=>l===""?a:[a,l].join("/"))),i&&s.push(...o),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function UM(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:YM(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const WM=/^:[\w-]+$/,HM=3,KM=2,VM=1,qM=10,GM=-2,lw=e=>e==="*";function XM(e,t){let r=e.split("/"),n=r.length;return r.some(lw)&&(n+=GM),t&&(n+=KM),r.filter(i=>!lw(i)).reduce((i,a)=>i+(WM.test(a)?HM:a===""?VM:qM),n)}function YM(e,t){return e.length===t.length&&e.slice(0,-1).every((n,i)=>n===t[i])?e[e.length-1]-t[t.length-1]:0}function QM(e,t){let{routesMeta:r}=e,n={},i="/",a=[];for(let o=0;o{let{paramName:d,isOptional:h}=f;if(d==="*"){let p=s[c]||"";o=a.slice(0,a.length-p.length).replace(/(.)\/+$/,"$1")}const y=s[c];return h&&!y?u[d]=void 0:u[d]=(y||"").replace(/%2F/g,"/"),u},{}),pathname:a,pathnameBase:o,pattern:e}}function JM(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),Va(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 n=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,s,l)=>(n.push({paramName:s,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),n]}function eN(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Va(!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 Ji(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function tN(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:i=""}=typeof e=="string"?ci(e):e;return{pathname:r?r.startsWith("/")?r:rN(r,t):t,search:iN(n),hash:aN(i)}}function rN(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?r.length>1&&r.pop():i!=="."&&r.push(i)}),r.length>1?r.join("/"):"/"}function Jp(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function gA(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function g0(e,t){let r=gA(e);return t?r.map((n,i)=>i===e.length-1?n.pathname:n.pathnameBase):r.map(n=>n.pathnameBase)}function b0(e,t,r,n){n===void 0&&(n=!1);let i;typeof e=="string"?i=ci(e):(i=Ye({},e),ve(!i.pathname||!i.pathname.includes("?"),Jp("?","pathname","search",i)),ve(!i.pathname||!i.pathname.includes("#"),Jp("#","pathname","hash",i)),ve(!i.search||!i.search.includes("#"),Jp("#","search","hash",i)));let a=e===""||i.pathname==="",o=a?"/":i.pathname,s;if(o==null)s=r;else{let c=t.length-1;if(!n&&o.startsWith("..")){let d=o.split("/");for(;d[0]==="..";)d.shift(),c-=1;i.pathname=d.join("/")}s=c>=0?t[c]:"/"}let l=tN(i,s),u=o&&o!=="/"&&o.endsWith("/"),f=(a||o===".")&&r.endsWith("/");return!l.pathname.endsWith("/")&&(u||f)&&(l.pathname+="/"),l}const Xn=e=>e.join("/").replace(/\/\/+/g,"/"),nN=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),iN=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,aN=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,_h=function(t,r){r===void 0&&(r=302);let n=r;typeof n=="number"?n={status:n}:typeof n.status>"u"&&(n.status=302);let i=new Headers(n.headers);return i.set("Location",t),new Response(null,Ye({},n,{headers:i}))};class w0{constructor(t,r,n,i){i===void 0&&(i=!1),this.status=t,this.statusText=r||"",this.internal=i,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function x0(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const bA=["post","put","patch","delete"],oN=new Set(bA),sN=["get",...bA],lN=new Set(sN),uN=new Set([301,302,303,307,308]),cN=new Set([307,308]),em={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},fN={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ol={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},S0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,dN=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),wA="remix-router-transitions";function hN(e){const t=e.window?e.window:typeof window<"u"?window:void 0,r=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",n=!r;ve(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let i;if(e.mapRouteProperties)i=e.mapRouteProperties;else if(e.detectErrorBoundary){let C=e.detectErrorBoundary;i=R=>({hasErrorBoundary:C(R)})}else i=dN;let a={},o=$y(e.routes,i,void 0,a),s,l=e.basename||"/",u=e.unstable_dataStrategy||vN,f=Ye({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,unstable_skipActionErrorRevalidation:!1},e.future),c=null,d=new Set,h=null,y=null,p=null,g=e.hydrationData!=null,v=Eo(o,e.history.location,l),m=null;if(v==null){let C=Tr(404,{pathname:e.history.location.pathname}),{matches:R,route:L}=gw(o);v=R,m={[L.id]:C}}let b,w=v.some(C=>C.route.lazy),x=v.some(C=>C.route.loader);if(w)b=!1;else if(!x)b=!0;else if(f.v7_partialHydration){let C=e.hydrationData?e.hydrationData.loaderData:null,R=e.hydrationData?e.hydrationData.errors:null,L=G=>G.route.loader?typeof G.route.loader=="function"&&G.route.loader.hydrate===!0?!1:C&&C[G.route.id]!==void 0||R&&R[G.route.id]!==void 0:!0;if(R){let G=v.findIndex(te=>R[te.route.id]!==void 0);b=v.slice(0,G+1).every(L)}else b=v.every(L)}else b=e.hydrationData!=null;let O,S={historyAction:e.history.action,location:e.history.location,matches:v,initialized:b,navigation:em,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||m,fetchers:new Map,blockers:new Map},P=ut.Pop,j=!1,T,M=!1,k=new Map,I=null,D=!1,H=!1,F=[],K=[],N=new Map,W=0,q=-1,Q=new Map,X=new Set,le=new Map,je=new Map,Me=new Set,et=new Map,De=new Map,cr=!1;function Z(){if(c=e.history.listen(C=>{let{action:R,location:L,delta:G}=C;if(cr){cr=!1;return}Va(De.size===0||G!=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 te=qb({currentLocation:S.location,nextLocation:L,historyAction:R});if(te&&G!=null){cr=!0,e.history.go(G*-1),Fc(te,{state:"blocked",location:L,proceed(){Fc(te,{state:"proceeding",proceed:void 0,reset:void 0,location:L}),e.history.go(G)},reset(){let he=new Map(S.blockers);he.set(te,ol),z({blockers:he})}});return}return Ne(R,L)}),r){jN(t,k);let C=()=>kN(t,k);t.addEventListener("pagehide",C),I=()=>t.removeEventListener("pagehide",C)}return S.initialized||Ne(ut.Pop,S.location,{initialHydration:!0}),O}function ce(){c&&c(),I&&I(),d.clear(),T&&T.abort(),S.fetchers.forEach((C,R)=>Lc(R)),S.blockers.forEach((C,R)=>Vb(R))}function ge(C){return d.add(C),()=>d.delete(C)}function z(C,R){R===void 0&&(R={}),S=Ye({},S,C);let L=[],G=[];f.v7_fetcherPersist&&S.fetchers.forEach((te,he)=>{te.state==="idle"&&(Me.has(he)?G.push(he):L.push(he))}),[...d].forEach(te=>te(S,{deletedFetchers:G,unstable_viewTransitionOpts:R.viewTransitionOpts,unstable_flushSync:R.flushSync===!0})),f.v7_fetcherPersist&&(L.forEach(te=>S.fetchers.delete(te)),G.forEach(te=>Lc(te)))}function Le(C,R,L){var G,te;let{flushSync:he}=L===void 0?{}:L,ae=S.actionData!=null&&S.navigation.formMethod!=null&&Zr(S.navigation.formMethod)&&S.navigation.state==="loading"&&((G=C.state)==null?void 0:G._isRedirect)!==!0,re;R.actionData?Object.keys(R.actionData).length>0?re=R.actionData:re=null:ae?re=S.actionData:re=null;let pe=R.loaderData?yw(S.loaderData,R.loaderData,R.matches||[],R.errors):S.loaderData,fe=S.blockers;fe.size>0&&(fe=new Map(fe),fe.forEach((ue,Xe)=>fe.set(Xe,ol)));let Pt=j===!0||S.navigation.formMethod!=null&&Zr(S.navigation.formMethod)&&((te=C.state)==null?void 0:te._isRedirect)!==!0;s&&(o=s,s=void 0),D||P===ut.Pop||(P===ut.Push?e.history.push(C,C.state):P===ut.Replace&&e.history.replace(C,C.state));let Et;if(P===ut.Pop){let ue=k.get(S.location.pathname);ue&&ue.has(C.pathname)?Et={currentLocation:S.location,nextLocation:C}:k.has(C.pathname)&&(Et={currentLocation:C,nextLocation:S.location})}else if(M){let ue=k.get(S.location.pathname);ue?ue.add(C.pathname):(ue=new Set([C.pathname]),k.set(S.location.pathname,ue)),Et={currentLocation:S.location,nextLocation:C}}z(Ye({},R,{actionData:re,loaderData:pe,historyAction:P,location:C,initialized:!0,navigation:em,revalidation:"idle",restoreScrollPosition:Xb(C,R.matches||S.matches),preventScrollReset:Pt,blockers:fe}),{viewTransitionOpts:Et,flushSync:he===!0}),P=ut.Pop,j=!1,M=!1,D=!1,H=!1,F=[],K=[]}async function xe(C,R){if(typeof C=="number"){e.history.go(C);return}let L=My(S.location,S.matches,l,f.v7_prependBasename,C,f.v7_relativeSplatPath,R==null?void 0:R.fromRouteId,R==null?void 0:R.relative),{path:G,submission:te,error:he}=uw(f.v7_normalizeFormMethod,!1,L,R),ae=S.location,re=is(S.location,G,R&&R.state);re=Ye({},re,e.history.encodeLocation(re));let pe=R&&R.replace!=null?R.replace:void 0,fe=ut.Push;pe===!0?fe=ut.Replace:pe===!1||te!=null&&Zr(te.formMethod)&&te.formAction===S.location.pathname+S.location.search&&(fe=ut.Replace);let Pt=R&&"preventScrollReset"in R?R.preventScrollReset===!0:void 0,Et=(R&&R.unstable_flushSync)===!0,ue=qb({currentLocation:ae,nextLocation:re,historyAction:fe});if(ue){Fc(ue,{state:"blocked",location:re,proceed(){Fc(ue,{state:"proceeding",proceed:void 0,reset:void 0,location:re}),xe(C,R)},reset(){let Xe=new Map(S.blockers);Xe.set(ue,ol),z({blockers:Xe})}});return}return await Ne(fe,re,{submission:te,pendingError:he,preventScrollReset:Pt,replace:R&&R.replace,enableViewTransition:R&&R.unstable_viewTransition,flushSync:Et})}function ot(){if(Pp(),z({revalidation:"loading"}),S.navigation.state!=="submitting"){if(S.navigation.state==="idle"){Ne(S.historyAction,S.location,{startUninterruptedRevalidation:!0});return}Ne(P||S.historyAction,S.navigation.location,{overrideNavigation:S.navigation})}}async function Ne(C,R,L){T&&T.abort(),T=null,P=C,D=(L&&L.startUninterruptedRevalidation)===!0,aC(S.location,S.matches),j=(L&&L.preventScrollReset)===!0,M=(L&&L.enableViewTransition)===!0;let G=s||o,te=L&&L.overrideNavigation,he=Eo(G,R,l),ae=(L&&L.flushSync)===!0;if(!he){let ue=Tr(404,{pathname:R.pathname}),{matches:Xe,route:vt}=gw(G);Ep(),Le(R,{matches:Xe,loaderData:{},errors:{[vt.id]:ue}},{flushSync:ae});return}if(S.initialized&&!H&&ON(S.location,R)&&!(L&&L.submission&&Zr(L.submission.formMethod))){Le(R,{matches:he},{flushSync:ae});return}T=new AbortController;let re=so(e.history,R,T.signal,L&&L.submission),pe;if(L&&L.pendingError)pe=[Ll(he).route.id,{type:Qe.error,error:L.pendingError}];else if(L&&L.submission&&Zr(L.submission.formMethod)){let ue=await Bt(re,R,L.submission,he,{replace:L.replace,flushSync:ae});if(ue.shortCircuited)return;pe=ue.pendingActionResult,te=tm(R,L.submission),ae=!1,re=so(e.history,re.url,re.signal)}let{shortCircuited:fe,loaderData:Pt,errors:Et}=await Vr(re,R,he,te,L&&L.submission,L&&L.fetcherSubmission,L&&L.replace,L&&L.initialHydration===!0,ae,pe);fe||(T=null,Le(R,Ye({matches:he},vw(pe),{loaderData:Pt,errors:Et})))}async function Bt(C,R,L,G,te){te===void 0&&(te={}),Pp();let he=AN(R,L);z({navigation:he},{flushSync:te.flushSync===!0});let ae,re=Ry(G,R);if(!re.route.action&&!re.route.lazy)ae={type:Qe.error,error:Tr(405,{method:C.method,pathname:R.pathname,routeId:re.route.id})};else if(ae=(await mi("action",C,[re],G))[0],C.signal.aborted)return{shortCircuited:!0};if(Sa(ae)){let pe;return te&&te.replace!=null?pe=te.replace:pe=hw(ae.response.headers.get("Location"),new URL(C.url),l)===S.location.pathname+S.location.search,await In(C,ae,{submission:L,replace:pe}),{shortCircuited:!0}}if(xa(ae))throw Tr(400,{type:"defer-action"});if($r(ae)){let pe=Ll(G,re.route.id);return(te&&te.replace)!==!0&&(P=ut.Push),{pendingActionResult:[pe.route.id,ae]}}return{pendingActionResult:[re.route.id,ae]}}async function Vr(C,R,L,G,te,he,ae,re,pe,fe){let Pt=G||tm(R,te),Et=te||he||xw(Pt),ue=s||o,[Xe,vt]=cw(e.history,S,L,Et,R,f.v7_partialHydration&&re===!0,f.unstable_skipActionErrorRevalidation,H,F,K,Me,le,X,ue,l,fe);if(Ep(Oe=>!(L&&L.some(zt=>zt.route.id===Oe))||Xe&&Xe.some(zt=>zt.route.id===Oe)),q=++W,Xe.length===0&&vt.length===0){let Oe=Hb();return Le(R,Ye({matches:L,loaderData:{},errors:fe&&$r(fe[1])?{[fe[0]]:fe[1].error}:null},vw(fe),Oe?{fetchers:new Map(S.fetchers)}:{}),{flushSync:pe}),{shortCircuited:!0}}if(!D&&(!f.v7_partialHydration||!re)){vt.forEach(zt=>{let Or=S.fetchers.get(zt.key),_t=sl(void 0,Or?Or.data:void 0);S.fetchers.set(zt.key,_t)});let Oe;fe&&!$r(fe[1])?Oe={[fe[0]]:fe[1].data}:S.actionData&&(Object.keys(S.actionData).length===0?Oe=null:Oe=S.actionData),z(Ye({navigation:Pt},Oe!==void 0?{actionData:Oe}:{},vt.length>0?{fetchers:new Map(S.fetchers)}:{}),{flushSync:pe})}vt.forEach(Oe=>{N.has(Oe.key)&&vi(Oe.key),Oe.controller&&N.set(Oe.key,Oe.controller)});let Ys=()=>vt.forEach(Oe=>vi(Oe.key));T&&T.signal.addEventListener("abort",Ys);let{loaderResults:gi,fetcherResults:no}=await Gs(S.matches,L,Xe,vt,C);if(C.signal.aborted)return{shortCircuited:!0};T&&T.signal.removeEventListener("abort",Ys),vt.forEach(Oe=>N.delete(Oe.key));let io=bw([...gi,...no]);if(io){if(io.idx>=Xe.length){let Oe=vt[io.idx-Xe.length].key;X.add(Oe)}return await In(C,io.result,{replace:ae}),{shortCircuited:!0}}let{loaderData:ao,errors:dn}=mw(S,L,Xe,gi,fe,vt,no,et);et.forEach((Oe,zt)=>{Oe.subscribe(Or=>{(Or||Oe.done)&&et.delete(zt)})}),f.v7_partialHydration&&re&&S.errors&&Object.entries(S.errors).filter(Oe=>{let[zt]=Oe;return!Xe.some(Or=>Or.route.id===zt)}).forEach(Oe=>{let[zt,Or]=Oe;dn=Object.assign(dn||{},{[zt]:Or})});let Bc=Hb(),zc=Kb(q),Uc=Bc||zc||vt.length>0;return Ye({loaderData:ao,errors:dn},Uc?{fetchers:new Map(S.fetchers)}:{})}function ro(C,R,L,G){if(n)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.");N.has(C)&&vi(C);let te=(G&&G.unstable_flushSync)===!0,he=s||o,ae=My(S.location,S.matches,l,f.v7_prependBasename,L,f.v7_relativeSplatPath,R,G==null?void 0:G.relative),re=Eo(he,ae,l);if(!re){Xs(C,R,Tr(404,{pathname:ae}),{flushSync:te});return}let{path:pe,submission:fe,error:Pt}=uw(f.v7_normalizeFormMethod,!0,ae,G);if(Pt){Xs(C,R,Pt,{flushSync:te});return}let Et=Ry(re,pe);if(j=(G&&G.preventScrollReset)===!0,fe&&Zr(fe.formMethod)){Nn(C,R,pe,Et,re,te,fe);return}le.set(C,{routeId:R,path:pe}),Rn(C,R,pe,Et,re,te,fe)}async function Nn(C,R,L,G,te,he,ae){if(Pp(),le.delete(C),!G.route.action&&!G.route.lazy){let _t=Tr(405,{method:ae.formMethod,pathname:L,routeId:R});Xs(C,R,_t,{flushSync:he});return}let re=S.fetchers.get(C);yi(C,TN(ae,re),{flushSync:he});let pe=new AbortController,fe=so(e.history,L,pe.signal,ae);N.set(C,pe);let Pt=W,ue=(await mi("action",fe,[G],te))[0];if(fe.signal.aborted){N.get(C)===pe&&N.delete(C);return}if(f.v7_fetcherPersist&&Me.has(C)){if(Sa(ue)||$r(ue)){yi(C,Oi(void 0));return}}else{if(Sa(ue))if(N.delete(C),q>Pt){yi(C,Oi(void 0));return}else return X.add(C),yi(C,sl(ae)),In(fe,ue,{fetcherSubmission:ae});if($r(ue)){Xs(C,R,ue.error);return}}if(xa(ue))throw Tr(400,{type:"defer-action"});let Xe=S.navigation.location||S.location,vt=so(e.history,Xe,pe.signal),Ys=s||o,gi=S.navigation.state!=="idle"?Eo(Ys,S.navigation.location,l):S.matches;ve(gi,"Didn't find any matches after fetcher action");let no=++W;Q.set(C,no);let io=sl(ae,ue.data);S.fetchers.set(C,io);let[ao,dn]=cw(e.history,S,gi,ae,Xe,!1,f.unstable_skipActionErrorRevalidation,H,F,K,Me,le,X,Ys,l,[G.route.id,ue]);dn.filter(_t=>_t.key!==C).forEach(_t=>{let Qs=_t.key,Yb=S.fetchers.get(Qs),sC=sl(void 0,Yb?Yb.data:void 0);S.fetchers.set(Qs,sC),N.has(Qs)&&vi(Qs),_t.controller&&N.set(Qs,_t.controller)}),z({fetchers:new Map(S.fetchers)});let Bc=()=>dn.forEach(_t=>vi(_t.key));pe.signal.addEventListener("abort",Bc);let{loaderResults:zc,fetcherResults:Uc}=await Gs(S.matches,gi,ao,dn,vt);if(pe.signal.aborted)return;pe.signal.removeEventListener("abort",Bc),Q.delete(C),N.delete(C),dn.forEach(_t=>N.delete(_t.key));let Oe=bw([...zc,...Uc]);if(Oe){if(Oe.idx>=ao.length){let _t=dn[Oe.idx-ao.length].key;X.add(_t)}return In(vt,Oe.result)}let{loaderData:zt,errors:Or}=mw(S,S.matches,ao,zc,void 0,dn,Uc,et);if(S.fetchers.has(C)){let _t=Oi(ue.data);S.fetchers.set(C,_t)}Kb(no),S.navigation.state==="loading"&&no>q?(ve(P,"Expected pending action"),T&&T.abort(),Le(S.navigation.location,{matches:gi,loaderData:zt,errors:Or,fetchers:new Map(S.fetchers)})):(z({errors:Or,loaderData:yw(S.loaderData,zt,gi,Or),fetchers:new Map(S.fetchers)}),H=!1)}async function Rn(C,R,L,G,te,he,ae){let re=S.fetchers.get(C);yi(C,sl(ae,re?re.data:void 0),{flushSync:he});let pe=new AbortController,fe=so(e.history,L,pe.signal);N.set(C,pe);let Pt=W,ue=(await mi("loader",fe,[G],te))[0];if(xa(ue)&&(ue=await PA(ue,fe.signal,!0)||ue),N.get(C)===pe&&N.delete(C),!fe.signal.aborted){if(Me.has(C)){yi(C,Oi(void 0));return}if(Sa(ue))if(q>Pt){yi(C,Oi(void 0));return}else{X.add(C),await In(fe,ue);return}if($r(ue)){Xs(C,R,ue.error);return}ve(!xa(ue),"Unhandled fetcher deferred data"),yi(C,Oi(ue.data))}}async function In(C,R,L){let{submission:G,fetcherSubmission:te,replace:he}=L===void 0?{}:L;R.response.headers.has("X-Remix-Revalidate")&&(H=!0);let ae=R.response.headers.get("Location");ve(ae,"Expected a Location header on the redirect Response"),ae=hw(ae,new URL(C.url),l);let re=is(S.location,ae,{_isRedirect:!0});if(r){let Xe=!1;if(R.response.headers.has("X-Remix-Reload-Document"))Xe=!0;else if(S0.test(ae)){const vt=e.history.createURL(ae);Xe=vt.origin!==t.location.origin||Ji(vt.pathname,l)==null}if(Xe){he?t.location.replace(ae):t.location.assign(ae);return}}T=null;let pe=he===!0?ut.Replace:ut.Push,{formMethod:fe,formAction:Pt,formEncType:Et}=S.navigation;!G&&!te&&fe&&Pt&&Et&&(G=xw(S.navigation));let ue=G||te;if(cN.has(R.response.status)&&ue&&Zr(ue.formMethod))await Ne(pe,re,{submission:Ye({},ue,{formAction:ae}),preventScrollReset:j});else{let Xe=tm(re,G);await Ne(pe,re,{overrideNavigation:Xe,fetcherSubmission:te,preventScrollReset:j})}}async function mi(C,R,L,G){try{let te=await gN(u,C,R,L,G,a,i);return await Promise.all(te.map((he,ae)=>{if(PN(he)){let re=he.result;return{type:Qe.redirect,response:xN(re,R,L[ae].route.id,G,l,f.v7_relativeSplatPath)}}return wN(he)}))}catch(te){return L.map(()=>({type:Qe.error,error:te}))}}async function Gs(C,R,L,G,te){let[he,...ae]=await Promise.all([L.length?mi("loader",te,L,R):[],...G.map(re=>{if(re.matches&&re.match&&re.controller){let pe=so(e.history,re.path,re.controller.signal);return mi("loader",pe,[re.match],re.matches).then(fe=>fe[0])}else return Promise.resolve({type:Qe.error,error:Tr(404,{pathname:re.path})})})]);return await Promise.all([ww(C,L,he,he.map(()=>te.signal),!1,S.loaderData),ww(C,G.map(re=>re.match),ae,G.map(re=>re.controller?re.controller.signal:null),!0)]),{loaderResults:he,fetcherResults:ae}}function Pp(){H=!0,F.push(...Ep()),le.forEach((C,R)=>{N.has(R)&&(K.push(R),vi(R))})}function yi(C,R,L){L===void 0&&(L={}),S.fetchers.set(C,R),z({fetchers:new Map(S.fetchers)},{flushSync:(L&&L.flushSync)===!0})}function Xs(C,R,L,G){G===void 0&&(G={});let te=Ll(S.matches,R);Lc(C),z({errors:{[te.route.id]:L},fetchers:new Map(S.fetchers)},{flushSync:(G&&G.flushSync)===!0})}function Ub(C){return f.v7_fetcherPersist&&(je.set(C,(je.get(C)||0)+1),Me.has(C)&&Me.delete(C)),S.fetchers.get(C)||fN}function Lc(C){let R=S.fetchers.get(C);N.has(C)&&!(R&&R.state==="loading"&&Q.has(C))&&vi(C),le.delete(C),Q.delete(C),X.delete(C),Me.delete(C),S.fetchers.delete(C)}function rC(C){if(f.v7_fetcherPersist){let R=(je.get(C)||0)-1;R<=0?(je.delete(C),Me.add(C)):je.set(C,R)}else Lc(C);z({fetchers:new Map(S.fetchers)})}function vi(C){let R=N.get(C);ve(R,"Expected fetch controller: "+C),R.abort(),N.delete(C)}function Wb(C){for(let R of C){let L=Ub(R),G=Oi(L.data);S.fetchers.set(R,G)}}function Hb(){let C=[],R=!1;for(let L of X){let G=S.fetchers.get(L);ve(G,"Expected fetcher: "+L),G.state==="loading"&&(X.delete(L),C.push(L),R=!0)}return Wb(C),R}function Kb(C){let R=[];for(let[L,G]of Q)if(G0}function nC(C,R){let L=S.blockers.get(C)||ol;return De.get(C)!==R&&De.set(C,R),L}function Vb(C){S.blockers.delete(C),De.delete(C)}function Fc(C,R){let L=S.blockers.get(C)||ol;ve(L.state==="unblocked"&&R.state==="blocked"||L.state==="blocked"&&R.state==="blocked"||L.state==="blocked"&&R.state==="proceeding"||L.state==="blocked"&&R.state==="unblocked"||L.state==="proceeding"&&R.state==="unblocked","Invalid blocker state transition: "+L.state+" -> "+R.state);let G=new Map(S.blockers);G.set(C,R),z({blockers:G})}function qb(C){let{currentLocation:R,nextLocation:L,historyAction:G}=C;if(De.size===0)return;De.size>1&&Va(!1,"A router only supports one blocker at a time");let te=Array.from(De.entries()),[he,ae]=te[te.length-1],re=S.blockers.get(he);if(!(re&&re.state==="proceeding")&&ae({currentLocation:R,nextLocation:L,historyAction:G}))return he}function Ep(C){let R=[];return et.forEach((L,G)=>{(!C||C(G))&&(L.cancel(),R.push(G),et.delete(G))}),R}function iC(C,R,L){if(h=C,p=R,y=L||null,!g&&S.navigation===em){g=!0;let G=Xb(S.location,S.matches);G!=null&&z({restoreScrollPosition:G})}return()=>{h=null,p=null,y=null}}function Gb(C,R){return y&&y(C,R.map(G=>zM(G,S.loaderData)))||C.key}function aC(C,R){if(h&&p){let L=Gb(C,R);h[L]=p()}}function Xb(C,R){if(h){let L=Gb(C,R),G=h[L];if(typeof G=="number")return G}return null}function oC(C){a={},s=$y(C,i,void 0,a)}return O={get basename(){return l},get future(){return f},get state(){return S},get routes(){return o},get window(){return t},initialize:Z,subscribe:ge,enableScrollRestoration:iC,navigate:xe,fetch:ro,revalidate:ot,createHref:C=>e.history.createHref(C),encodeLocation:C=>e.history.encodeLocation(C),getFetcher:Ub,deleteFetcher:rC,dispose:ce,getBlocker:nC,deleteBlocker:Vb,_internalFetchControllers:N,_internalActiveDeferreds:et,_internalSetRoutes:oC},O}function pN(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function My(e,t,r,n,i,a,o,s){let l,u;if(o){l=[];for(let c of t)if(l.push(c),c.route.id===o){u=c;break}}else l=t,u=t[t.length-1];let f=b0(i||".",g0(l,a),Ji(e.pathname,r)||e.pathname,s==="path");return i==null&&(f.search=e.search,f.hash=e.hash),(i==null||i===""||i===".")&&u&&u.route.index&&!O0(f.search)&&(f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index"),n&&r!=="/"&&(f.pathname=f.pathname==="/"?r:Xn([r,f.pathname])),Zi(f)}function uw(e,t,r,n){if(!n||!pN(n))return{path:r};if(n.formMethod&&!_N(n.formMethod))return{path:r,error:Tr(405,{method:n.formMethod})};let i=()=>({path:r,error:Tr(400,{type:"invalid-body"})}),a=n.formMethod||"get",o=e?a.toUpperCase():a.toLowerCase(),s=SA(r);if(n.body!==void 0){if(n.formEncType==="text/plain"){if(!Zr(o))return i();let d=typeof n.body=="string"?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((h,y)=>{let[p,g]=y;return""+h+p+"="+g+` +`},""):String(n.body);return{path:r,submission:{formMethod:o,formAction:s,formEncType:n.formEncType,formData:void 0,json:void 0,text:d}}}else if(n.formEncType==="application/json"){if(!Zr(o))return i();try{let d=typeof n.body=="string"?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:o,formAction:s,formEncType:n.formEncType,formData:void 0,json:d,text:void 0}}}catch{return i()}}}ve(typeof FormData=="function","FormData is not available in this environment");let l,u;if(n.formData)l=Ny(n.formData),u=n.formData;else if(n.body instanceof FormData)l=Ny(n.body),u=n.body;else if(n.body instanceof URLSearchParams)l=n.body,u=pw(l);else if(n.body==null)l=new URLSearchParams,u=new FormData;else try{l=new URLSearchParams(n.body),u=pw(l)}catch{return i()}let f={formMethod:o,formAction:s,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(Zr(f.formMethod))return{path:r,submission:f};let c=ci(r);return t&&c.search&&O0(c.search)&&l.append("index",""),c.search="?"+l,{path:Zi(c),submission:f}}function mN(e,t){let r=e;if(t){let n=e.findIndex(i=>i.route.id===t);n>=0&&(r=e.slice(0,n))}return r}function cw(e,t,r,n,i,a,o,s,l,u,f,c,d,h,y,p){let g=p?$r(p[1])?p[1].error:p[1].data:void 0,v=e.createURL(t.location),m=e.createURL(i),b=p&&$r(p[1])?p[0]:void 0,w=b?mN(r,b):r,x=p?p[1].statusCode:void 0,O=o&&x&&x>=400,S=w.filter((j,T)=>{let{route:M}=j;if(M.lazy)return!0;if(M.loader==null)return!1;if(a)return typeof M.loader!="function"||M.loader.hydrate?!0:t.loaderData[M.id]===void 0&&(!t.errors||t.errors[M.id]===void 0);if(yN(t.loaderData,t.matches[T],j)||l.some(D=>D===j.route.id))return!0;let k=t.matches[T],I=j;return fw(j,Ye({currentUrl:v,currentParams:k.params,nextUrl:m,nextParams:I.params},n,{actionResult:g,unstable_actionStatus:x,defaultShouldRevalidate:O?!1:s||v.pathname+v.search===m.pathname+m.search||v.search!==m.search||xA(k,I)}))}),P=[];return c.forEach((j,T)=>{if(a||!r.some(H=>H.route.id===j.routeId)||f.has(T))return;let M=Eo(h,j.path,y);if(!M){P.push({key:T,routeId:j.routeId,path:j.path,matches:null,match:null,controller:null});return}let k=t.fetchers.get(T),I=Ry(M,j.path),D=!1;d.has(T)?D=!1:u.includes(T)?D=!0:k&&k.state!=="idle"&&k.data===void 0?D=s:D=fw(I,Ye({currentUrl:v,currentParams:t.matches[t.matches.length-1].params,nextUrl:m,nextParams:r[r.length-1].params},n,{actionResult:g,unstable_actionStatus:x,defaultShouldRevalidate:O?!1:s})),D&&P.push({key:T,routeId:j.routeId,path:j.path,matches:M,match:I,controller:new AbortController})}),[S,P]}function yN(e,t,r){let n=!t||r.route.id!==t.route.id,i=e[r.route.id]===void 0;return n||i}function xA(e,t){let r=e.route.path;return e.pathname!==t.pathname||r!=null&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function fw(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if(typeof r=="boolean")return r}return t.defaultShouldRevalidate}async function dw(e,t,r){if(!e.lazy)return;let n=await e.lazy();if(!e.lazy)return;let i=r[e.id];ve(i,"No route found in manifest");let a={};for(let o in n){let l=i[o]!==void 0&&o!=="hasErrorBoundary";Va(!l,'Route "'+i.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.')),!l&&!FM.has(o)&&(a[o]=n[o])}Object.assign(i,a),Object.assign(i,Ye({},t(i),{lazy:void 0}))}function vN(e){return Promise.all(e.matches.map(t=>t.resolve()))}async function gN(e,t,r,n,i,a,o,s){let l=n.reduce((c,d)=>c.add(d.route.id),new Set),u=new Set,f=await e({matches:i.map(c=>{let d=l.has(c.route.id);return Ye({},c,{shouldLoad:d,resolve:y=>(u.add(c.route.id),d?bN(t,r,c,a,o,y,s):Promise.resolve({type:Qe.data,result:void 0}))})}),request:r,params:i[0].params,context:s});return i.forEach(c=>ve(u.has(c.route.id),'`match.resolve()` was not called for route id "'+c.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),f.filter((c,d)=>l.has(i[d].route.id))}async function bN(e,t,r,n,i,a,o){let s,l,u=f=>{let c,d=new Promise((p,g)=>c=g);l=()=>c(),t.signal.addEventListener("abort",l);let h=p=>typeof f!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: '+r.route.id+"]"))):f({request:t,params:r.params,context:o},...p!==void 0?[p]:[]),y;return a?y=a(p=>h(p)):y=(async()=>{try{return{type:"data",result:await h()}}catch(p){return{type:"error",result:p}}})(),Promise.race([y,d])};try{let f=r.route[e];if(r.route.lazy)if(f){let c,[d]=await Promise.all([u(f).catch(h=>{c=h}),dw(r.route,i,n)]);if(c!==void 0)throw c;s=d}else if(await dw(r.route,i,n),f=r.route[e],f)s=await u(f);else if(e==="action"){let c=new URL(t.url),d=c.pathname+c.search;throw Tr(405,{method:t.method,pathname:d,routeId:r.route.id})}else return{type:Qe.data,result:void 0};else if(f)s=await u(f);else{let c=new URL(t.url),d=c.pathname+c.search;throw Tr(404,{pathname:d})}ve(s.result!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+r.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(f){return{type:Qe.error,result:f}}finally{l&&t.signal.removeEventListener("abort",l)}return s}async function wN(e){let{result:t,type:r,status:n}=e;if(OA(t)){let o;try{let s=t.headers.get("Content-Type");s&&/\bapplication\/json\b/.test(s)?t.body==null?o=null:o=await t.json():o=await t.text()}catch(s){return{type:Qe.error,error:s}}return r===Qe.error?{type:Qe.error,error:new w0(t.status,t.statusText,o),statusCode:t.status,headers:t.headers}:{type:Qe.data,data:o,statusCode:t.status,headers:t.headers}}if(r===Qe.error)return{type:Qe.error,error:t,statusCode:x0(t)?t.status:n};if(EN(t)){var i,a;return{type:Qe.deferred,deferredData:t,statusCode:(i=t.init)==null?void 0:i.status,headers:((a=t.init)==null?void 0:a.headers)&&new Headers(t.init.headers)}}return{type:Qe.data,data:t,statusCode:n}}function xN(e,t,r,n,i,a){let o=e.headers.get("Location");if(ve(o,"Redirects returned/thrown from loaders/actions must have a Location header"),!S0.test(o)){let s=n.slice(0,n.findIndex(l=>l.route.id===r)+1);o=My(new URL(t.url),s,i,!0,o,a),e.headers.set("Location",o)}return e}function hw(e,t,r){if(S0.test(e)){let n=e,i=n.startsWith("//")?new URL(t.protocol+n):new URL(n),a=Ji(i.pathname,r)!=null;if(i.origin===t.origin&&a)return i.pathname+i.search+i.hash}return e}function so(e,t,r,n){let i=e.createURL(SA(t)).toString(),a={signal:r};if(n&&Zr(n.formMethod)){let{formMethod:o,formEncType:s}=n;a.method=o.toUpperCase(),s==="application/json"?(a.headers=new Headers({"Content-Type":s}),a.body=JSON.stringify(n.json)):s==="text/plain"?a.body=n.text:s==="application/x-www-form-urlencoded"&&n.formData?a.body=Ny(n.formData):a.body=n.formData}return new Request(i,a)}function Ny(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,typeof n=="string"?n:n.name);return t}function pw(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function SN(e,t,r,n,i,a){let o={},s=null,l,u=!1,f={},c=n&&$r(n[1])?n[1].error:void 0;return r.forEach((d,h)=>{let y=t[h].route.id;if(ve(!Sa(d),"Cannot handle redirect results in processLoaderData"),$r(d)){let p=d.error;c!==void 0&&(p=c,c=void 0),s=s||{};{let g=Ll(e,y);s[g.route.id]==null&&(s[g.route.id]=p)}o[y]=void 0,u||(u=!0,l=x0(d.error)?d.error.status:500),d.headers&&(f[y]=d.headers)}else xa(d)?(i.set(y,d.deferredData),o[y]=d.deferredData.data,d.statusCode!=null&&d.statusCode!==200&&!u&&(l=d.statusCode),d.headers&&(f[y]=d.headers)):(o[y]=d.data,d.statusCode&&d.statusCode!==200&&!u&&(l=d.statusCode),d.headers&&(f[y]=d.headers))}),c!==void 0&&n&&(s={[n[0]]:c},o[n[0]]=void 0),{loaderData:o,errors:s,statusCode:l||200,loaderHeaders:f}}function mw(e,t,r,n,i,a,o,s){let{loaderData:l,errors:u}=SN(t,r,n,i,s);for(let f=0;fn.route.id===t)+1):[...e]).reverse().find(n=>n.route.hasErrorBoundary===!0)||e[0]}function gw(e){let t=e.length===1?e[0]:e.find(r=>r.index||!r.path||r.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Tr(e,t){let{pathname:r,routeId:n,method:i,type:a}=t===void 0?{}:t,o="Unknown Server Error",s="Unknown @remix-run/router error";return e===400?(o="Bad Request",i&&r&&n?s="You made a "+i+' request to "'+r+'" but '+('did not provide a `loader` for route "'+n+'", ')+"so there is no way to handle the request.":a==="defer-action"?s="defer() is not supported in actions":a==="invalid-body"&&(s="Unable to encode submission body")):e===403?(o="Forbidden",s='Route "'+n+'" does not match URL "'+r+'"'):e===404?(o="Not Found",s='No route matches URL "'+r+'"'):e===405&&(o="Method Not Allowed",i&&r&&n?s="You made a "+i.toUpperCase()+' request to "'+r+'" but '+('did not provide an `action` for route "'+n+'", ')+"so there is no way to handle the request.":i&&(s='Invalid request method "'+i.toUpperCase()+'"')),new w0(e||500,o,new Error(s),!0)}function bw(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if(Sa(r))return{result:r,idx:t}}}function SA(e){let t=typeof e=="string"?ci(e):e;return Zi(Ye({},t,{hash:""}))}function ON(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function PN(e){return OA(e.result)&&uN.has(e.result.status)}function xa(e){return e.type===Qe.deferred}function $r(e){return e.type===Qe.error}function Sa(e){return(e&&e.type)===Qe.redirect}function EN(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 OA(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function _N(e){return lN.has(e.toLowerCase())}function Zr(e){return oN.has(e.toLowerCase())}async function ww(e,t,r,n,i,a){for(let o=0;oc.route.id===l.route.id),f=u!=null&&!xA(u,l)&&(a&&a[l.route.id])!==void 0;if(xa(s)&&(i||f)){let c=n[o];ve(c,"Expected an AbortSignal for revalidating fetcher deferred result"),await PA(s,c,i).then(d=>{d&&(r[o]=d||r[o])})}}}async function PA(e,t,r){if(r===void 0&&(r=!1),!await e.deferredData.resolveData(t)){if(r)try{return{type:Qe.data,data:e.deferredData.unwrappedData}}catch(i){return{type:Qe.error,error:i}}return{type:Qe.data,data:e.deferredData.data}}}function O0(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Ry(e,t){let r=typeof t=="string"?ci(t).search:t.search;if(e[e.length-1].route.index&&O0(r||""))return e[e.length-1];let n=gA(e);return n[n.length-1]}function xw(e){let{formMethod:t,formAction:r,formEncType:n,text:i,formData:a,json:o}=e;if(!(!t||!r||!n)){if(i!=null)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:i};if(a!=null)return{formMethod:t,formAction:r,formEncType:n,formData:a,json:void 0,text:void 0};if(o!==void 0)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:o,text:void 0}}}function tm(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 AN(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 sl(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 TN(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 Oi(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 jN(e,t){try{let r=e.sessionStorage.getItem(wA);if(r){let n=JSON.parse(r);for(let[i,a]of Object.entries(n||{}))a&&Array.isArray(a)&&t.set(i,new Set(a||[]))}}catch{}}function kN(e,t){if(t.size>0){let r={};for(let[n,i]of t)r[n]=[...i];try{e.sessionStorage.setItem(wA,JSON.stringify(r))}catch(n){Va(!1,"Failed to save applied view transitions in sessionStorage ("+n+").")}}}/** * React Router v6.23.0 * * Copyright (c) Remix Software Inc. @@ -56,7 +56,7 @@ Error generating stack: `+a.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function cd(){return cd=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),A.useCallback(function(u,f){if(f===void 0&&(f={}),!s.current)return;if(typeof u=="number"){n.go(u);return}let c=g0(u,JSON.parse(o),a,f.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:Xn([t,c.pathname])),(f.replace?n.replace:n.push)(c,f.state,f)},[t,n,o,a,e])}const $N=A.createContext(null);function MN(e){let t=A.useContext(ci).outlet;return t&&A.createElement($N.Provider,{value:e},t)}function ks(){let{matches:e}=A.useContext(ci),t=e[e.length-1];return t?t.params:{}}function AA(e,t){let{relative:r}=t===void 0?{}:t,{future:n}=A.useContext(ra),{matches:i}=A.useContext(ci),{pathname:a}=bc(),o=JSON.stringify(v0(i,n.v7_relativeSplatPath));return A.useMemo(()=>g0(e,JSON.parse(o),a,r==="path"),[e,o,a,r])}function NN(e,t,r,n){gc()||ve(!1);let{navigator:i}=A.useContext(ra),{matches:a}=A.useContext(ci),o=a[a.length-1],s=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let u=bc(),f;f=u;let c=f.pathname||"/",d=c;if(l!=="/"){let p=l.replace(/^\//,"").split("/");d="/"+c.replace(/^\//,"").split("/").slice(p.length).join("/")}let h=Po(e,{pathname:d});return FN(h&&h.map(p=>Object.assign({},p,{params:Object.assign({},s,p.params),pathname:Xn([l,i.encodeLocation?i.encodeLocation(p.pathname).pathname:p.pathname]),pathnameBase:p.pathnameBase==="/"?l:Xn([l,i.encodeLocation?i.encodeLocation(p.pathnameBase).pathname:p.pathnameBase])})),a,r,n)}function RN(){let e=jA(),t=w0(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return A.createElement(A.Fragment,null,A.createElement("h2",null,"Unexpected Application Error!"),A.createElement("h3",{style:{fontStyle:"italic"}},t),r?A.createElement("pre",{style:i},r):null,null)}const IN=A.createElement(RN,null);class DN extends A.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,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error!==void 0?A.createElement(ci.Provider,{value:this.props.routeContext},A.createElement(EA.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function LN(e){let{routeContext:t,match:r,children:n}=e,i=A.useContext(vc);return i&&i.static&&i.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=r.route.id),A.createElement(ci.Provider,{value:t},n)}function FN(e,t,r,n){var i;if(t===void 0&&(t=[]),r===void 0&&(r=null),n===void 0&&(n=null),e==null){var a;if((a=r)!=null&&a.errors)e=r.matches;else return null}let o=e,s=(i=r)==null?void 0:i.errors;if(s!=null){let f=o.findIndex(c=>c.route.id&&(s==null?void 0:s[c.route.id])!==void 0);f>=0||ve(!1),o=o.slice(0,Math.min(o.length,f+1))}let l=!1,u=-1;if(r&&n&&n.v7_partialHydration)for(let f=0;f=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((f,c,d)=>{let h,y=!1,p=null,g=null;r&&(h=s&&c.route.id?s[c.route.id]:void 0,p=c.route.errorElement||IN,l&&(u<0&&d===0?(y=!0,g=null):u===d&&(y=!0,g=c.route.hydrateFallbackElement||null)));let v=t.concat(o.slice(0,d+1)),m=()=>{let b;return h?b=p:y?b=g:c.route.Component?b=A.createElement(c.route.Component,null):c.route.element?b=c.route.element:b=f,A.createElement(LN,{match:c,routeContext:{outlet:f,matches:v,isDataRoute:r!=null},children:b})};return r&&(c.route.ErrorBoundary||c.route.errorElement||d===0)?A.createElement(DN,{location:r.location,revalidation:r.revalidation,component:p,error:h,children:m(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):m()},null)}var TA=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(TA||{}),uu=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}(uu||{});function BN(e){let t=A.useContext(vc);return t||ve(!1),t}function zN(e){let t=A.useContext(PA);return t||ve(!1),t}function UN(e){let t=A.useContext(ci);return t||ve(!1),t}function P0(e){let t=UN(),r=t.matches[t.matches.length-1];return r.route.id||ve(!1),r.route.id}function WN(){return P0(uu.UseRouteId)}function jA(){var e;let t=A.useContext(EA),r=zN(uu.UseRouteError),n=P0(uu.UseRouteError);return t!==void 0?t:(e=r.errors)==null?void 0:e[n]}function HN(){let{router:e}=BN(TA.UseNavigateStable),t=P0(uu.UseNavigateStable),r=A.useRef(!1);return _A(()=>{r.current=!0}),A.useCallback(function(i,a){a===void 0&&(a={}),r.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,cd({fromRouteId:t},a)))},[e,t])}function kA(e){return MN(e.context)}function Rt(e){ve(!1)}function KN(e){let{basename:t="/",children:r=null,location:n,navigationType:i=ut.Pop,navigator:a,static:o=!1,future:s}=e;gc()&&ve(!1);let l=t.replace(/^\/*/,"/"),u=A.useMemo(()=>({basename:l,navigator:a,static:o,future:cd({v7_relativeSplatPath:!1},s)}),[l,s,a,o]);typeof n=="string"&&(n=ta(n));let{pathname:f="/",search:c="",hash:d="",state:h=null,key:y="default"}=n,p=A.useMemo(()=>{let g=Qi(f,l);return g==null?null:{location:{pathname:g,search:c,hash:d,state:h,key:y},navigationType:i}},[l,f,c,d,h,y,i]);return p==null?null:A.createElement(ra.Provider,{value:u},A.createElement(O0.Provider,{children:r,value:p}))}new Promise(()=>{});function Ry(e,t){t===void 0&&(t=[]);let r=[];return A.Children.forEach(e,(n,i)=>{if(!A.isValidElement(n))return;let a=[...t,i];if(n.type===A.Fragment){r.push.apply(r,Ry(n.props.children,a));return}n.type!==Rt&&ve(!1),!n.props.index||!n.props.children||ve(!1);let o={id:n.props.id||a.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(o.children=Ry(n.props.children,a)),r.push(o)}),r}function VN(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:A.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:A.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:A.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** + */function cd(){return cd=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),A.useCallback(function(u,f){if(f===void 0&&(f={}),!s.current)return;if(typeof u=="number"){n.go(u);return}let c=b0(u,JSON.parse(o),a,f.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:Xn([t,c.pathname])),(f.replace?n.replace:n.push)(c,f.state,f)},[t,n,o,a,e])}const NN=A.createContext(null);function RN(e){let t=A.useContext(fi).outlet;return t&&A.createElement(NN.Provider,{value:e},t)}function Cs(){let{matches:e}=A.useContext(fi),t=e[e.length-1];return t?t.params:{}}function TA(e,t){let{relative:r}=t===void 0?{}:t,{future:n}=A.useContext(na),{matches:i}=A.useContext(fi),{pathname:a}=bc(),o=JSON.stringify(g0(i,n.v7_relativeSplatPath));return A.useMemo(()=>b0(e,JSON.parse(o),a,r==="path"),[e,o,a,r])}function IN(e,t,r,n){gc()||ve(!1);let{navigator:i}=A.useContext(na),{matches:a}=A.useContext(fi),o=a[a.length-1],s=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let u=bc(),f;f=u;let c=f.pathname||"/",d=c;if(l!=="/"){let p=l.replace(/^\//,"").split("/");d="/"+c.replace(/^\//,"").split("/").slice(p.length).join("/")}let h=Eo(e,{pathname:d});return zN(h&&h.map(p=>Object.assign({},p,{params:Object.assign({},s,p.params),pathname:Xn([l,i.encodeLocation?i.encodeLocation(p.pathname).pathname:p.pathname]),pathnameBase:p.pathnameBase==="/"?l:Xn([l,i.encodeLocation?i.encodeLocation(p.pathnameBase).pathname:p.pathnameBase])})),a,r,n)}function DN(){let e=kA(),t=x0(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return A.createElement(A.Fragment,null,A.createElement("h2",null,"Unexpected Application Error!"),A.createElement("h3",{style:{fontStyle:"italic"}},t),r?A.createElement("pre",{style:i},r):null,null)}const LN=A.createElement(DN,null);class FN extends A.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,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error!==void 0?A.createElement(fi.Provider,{value:this.props.routeContext},A.createElement(_A.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function BN(e){let{routeContext:t,match:r,children:n}=e,i=A.useContext(vc);return i&&i.static&&i.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=r.route.id),A.createElement(fi.Provider,{value:t},n)}function zN(e,t,r,n){var i;if(t===void 0&&(t=[]),r===void 0&&(r=null),n===void 0&&(n=null),e==null){var a;if((a=r)!=null&&a.errors)e=r.matches;else return null}let o=e,s=(i=r)==null?void 0:i.errors;if(s!=null){let f=o.findIndex(c=>c.route.id&&(s==null?void 0:s[c.route.id])!==void 0);f>=0||ve(!1),o=o.slice(0,Math.min(o.length,f+1))}let l=!1,u=-1;if(r&&n&&n.v7_partialHydration)for(let f=0;f=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((f,c,d)=>{let h,y=!1,p=null,g=null;r&&(h=s&&c.route.id?s[c.route.id]:void 0,p=c.route.errorElement||LN,l&&(u<0&&d===0?(y=!0,g=null):u===d&&(y=!0,g=c.route.hydrateFallbackElement||null)));let v=t.concat(o.slice(0,d+1)),m=()=>{let b;return h?b=p:y?b=g:c.route.Component?b=A.createElement(c.route.Component,null):c.route.element?b=c.route.element:b=f,A.createElement(BN,{match:c,routeContext:{outlet:f,matches:v,isDataRoute:r!=null},children:b})};return r&&(c.route.ErrorBoundary||c.route.errorElement||d===0)?A.createElement(FN,{location:r.location,revalidation:r.revalidation,component:p,error:h,children:m(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):m()},null)}var jA=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(jA||{}),uu=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}(uu||{});function UN(e){let t=A.useContext(vc);return t||ve(!1),t}function WN(e){let t=A.useContext(EA);return t||ve(!1),t}function HN(e){let t=A.useContext(fi);return t||ve(!1),t}function E0(e){let t=HN(),r=t.matches[t.matches.length-1];return r.route.id||ve(!1),r.route.id}function KN(){return E0(uu.UseRouteId)}function kA(){var e;let t=A.useContext(_A),r=WN(uu.UseRouteError),n=E0(uu.UseRouteError);return t!==void 0?t:(e=r.errors)==null?void 0:e[n]}function VN(){let{router:e}=UN(jA.UseNavigateStable),t=E0(uu.UseNavigateStable),r=A.useRef(!1);return AA(()=>{r.current=!0}),A.useCallback(function(i,a){a===void 0&&(a={}),r.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,cd({fromRouteId:t},a)))},[e,t])}function CA(e){return RN(e.context)}function Rt(e){ve(!1)}function $A(e){let{basename:t="/",children:r=null,location:n,navigationType:i=ut.Pop,navigator:a,static:o=!1,future:s}=e;gc()&&ve(!1);let l=t.replace(/^\/*/,"/"),u=A.useMemo(()=>({basename:l,navigator:a,static:o,future:cd({v7_relativeSplatPath:!1},s)}),[l,s,a,o]);typeof n=="string"&&(n=ci(n));let{pathname:f="/",search:c="",hash:d="",state:h=null,key:y="default"}=n,p=A.useMemo(()=>{let g=Ji(f,l);return g==null?null:{location:{pathname:g,search:c,hash:d,state:h,key:y},navigationType:i}},[l,f,c,d,h,y,i]);return p==null?null:A.createElement(na.Provider,{value:u},A.createElement(P0.Provider,{children:r,value:p}))}new Promise(()=>{});function Iy(e,t){t===void 0&&(t=[]);let r=[];return A.Children.forEach(e,(n,i)=>{if(!A.isValidElement(n))return;let a=[...t,i];if(n.type===A.Fragment){r.push.apply(r,Iy(n.props.children,a));return}n.type!==Rt&&ve(!1),!n.props.index||!n.props.children||ve(!1);let o={id:n.props.id||a.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(o.children=Iy(n.props.children,a)),r.push(o)}),r}function qN(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:A.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:A.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:A.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** * React Router DOM v6.23.0 * * Copyright (c) Remix Software Inc. @@ -65,65 +65,65 @@ Error generating stack: `+a.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function cu(){return cu=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[i]=e[i]);return r}const tm="get",rm="application/x-www-form-urlencoded";function _h(e){return e!=null&&typeof e.tagName=="string"}function GN(e){return _h(e)&&e.tagName.toLowerCase()==="button"}function XN(e){return _h(e)&&e.tagName.toLowerCase()==="form"}function YN(e){return _h(e)&&e.tagName.toLowerCase()==="input"}function QN(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function ZN(e,t){return e.button===0&&(!t||t==="_self")&&!QN(e)}let uf=null;function JN(){if(uf===null)try{new FormData(document.createElement("form"),0),uf=!1}catch{uf=!0}return uf}const eR=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function nm(e){return e!=null&&!eR.has(e)?null:e}function tR(e,t){let r,n,i,a,o;if(XN(e)){let s=e.getAttribute("action");n=s?Qi(s,t):null,r=e.getAttribute("method")||tm,i=nm(e.getAttribute("enctype"))||rm,a=new FormData(e)}else if(GN(e)||YN(e)&&(e.type==="submit"||e.type==="image")){let s=e.form;if(s==null)throw new Error('Cannot submit a