From 64c9ea21cb991e8b48687ef883501655df47fc5f Mon Sep 17 00:00:00 2001 From: Ramon Dias Monteiro Silva <122894193+ramon541@users.noreply.github.com> Date: Sun, 14 Apr 2024 23:37:02 -0300 Subject: [PATCH] Updates --- .../{index-BaJA2zFZ.js => index-gJfFouZK.js} | 64 +++++++++---------- index.html | 2 +- 2 files changed, 33 insertions(+), 33 deletions(-) rename assets/{index-BaJA2zFZ.js => index-gJfFouZK.js} (77%) diff --git a/assets/index-BaJA2zFZ.js b/assets/index-gJfFouZK.js similarity index 77% rename from assets/index-BaJA2zFZ.js rename to assets/index-gJfFouZK.js index f0010eb..05b20dd 100644 --- a/assets/index-BaJA2zFZ.js +++ b/assets/index-gJfFouZK.js @@ -6,7 +6,7 @@ function Pd(e,t){for(var n=0;n>>1,X=N[Q];if(0>>1;Qi(Be,M))yei(st,Be)?(N[Q]=st,N[ye]=M,Q=ye):(N[Q]=Be,N[ve]=M,Q=ve);else if(yei(st,M))N[Q]=st,N[ye]=M,Q=ye;else break e}}return F}function i(N,F){var M=N.sortIndex-F.sortIndex;return M!==0?M:N.id-F.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,a=l.now();e.unstable_now=function(){return l.now()-a}}var u=[],s=[],c=1,d=null,h=3,g=!1,y=!1,w=!1,E=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,f=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(N){for(var F=n(s);F!==null;){if(F.callback===null)r(s);else if(F.startTime<=N)r(s),F.sortIndex=F.expirationTime,t(u,F);else break;F=n(s)}}function x(N){if(w=!1,m(N),!y)if(n(u)!==null)y=!0,Ie(P);else{var F=n(s);F!==null&&J(x,F.startTime-N)}}function P(N,F){y=!1,w&&(w=!1,p(O),O=-1),g=!0;var M=h;try{for(m(F),d=n(u);d!==null&&(!(d.expirationTime>F)||N&&!B());){var Q=d.callback;if(typeof Q=="function"){d.callback=null,h=d.priorityLevel;var X=Q(d.expirationTime<=F);F=e.unstable_now(),typeof X=="function"?d.callback=X:d===n(u)&&r(u),m(F)}else r(u);d=n(u)}if(d!==null)var ut=!0;else{var ve=n(s);ve!==null&&J(x,ve.startTime-F),ut=!1}return ut}finally{d=null,h=M,g=!1}}var v=!1,C=null,O=-1,A=5,b=-1;function B(){return!(e.unstable_now()-bN||125Q?(N.sortIndex=M,t(s,N),n(u)===null&&N===n(s)&&(w?(p(O),O=-1):w=!0,J(x,M-Q))):(N.sortIndex=X,t(u,N),y||g||(y=!0,Ie(P))),N},e.unstable_shouldYield=B,e.unstable_wrapCallback=function(N){var F=h;return function(){var M=h;h=F;try{return N.apply(this,arguments)}finally{h=M}}}})($d);Md.exports=$d;var Sg=Md.exports;/** + */(function(e){function t(N,F){var M=N.length;N.push(F);e:for(;0>>1,X=N[Q];if(0>>1;Qi(Be,M))yei(st,Be)?(N[Q]=st,N[ye]=M,Q=ye):(N[Q]=Be,N[ve]=M,Q=ve);else if(yei(st,M))N[Q]=st,N[ye]=M,Q=ye;else break e}}return F}function i(N,F){var M=N.sortIndex-F.sortIndex;return M!==0?M:N.id-F.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,a=l.now();e.unstable_now=function(){return l.now()-a}}var u=[],s=[],c=1,d=null,h=3,g=!1,y=!1,w=!1,E=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,f=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(N){for(var F=n(s);F!==null;){if(F.callback===null)r(s);else if(F.startTime<=N)r(s),F.sortIndex=F.expirationTime,t(u,F);else break;F=n(s)}}function x(N){if(w=!1,m(N),!y)if(n(u)!==null)y=!0,Ie(_);else{var F=n(s);F!==null&&J(x,F.startTime-N)}}function _(N,F){y=!1,w&&(w=!1,p(O),O=-1),g=!0;var M=h;try{for(m(F),d=n(u);d!==null&&(!(d.expirationTime>F)||N&&!B());){var Q=d.callback;if(typeof Q=="function"){d.callback=null,h=d.priorityLevel;var X=Q(d.expirationTime<=F);F=e.unstable_now(),typeof X=="function"?d.callback=X:d===n(u)&&r(u),m(F)}else r(u);d=n(u)}if(d!==null)var ut=!0;else{var ve=n(s);ve!==null&&J(x,ve.startTime-F),ut=!1}return ut}finally{d=null,h=M,g=!1}}var v=!1,C=null,O=-1,A=5,b=-1;function B(){return!(e.unstable_now()-bN||125Q?(N.sortIndex=M,t(s,N),n(u)===null&&N===n(s)&&(w?(p(O),O=-1):w=!0,J(x,M-Q))):(N.sortIndex=X,t(u,N),y||g||(y=!0,Ie(_))),N},e.unstable_shouldYield=B,e.unstable_wrapCallback=function(N){var F=h;return function(){var M=h;h=F;try{return N.apply(this,arguments)}finally{h=M}}}})($d);Md.exports=$d;var wg=Md.exports;/** * @license React * react-dom.production.min.js * @@ -30,14 +30,14 @@ function Pd(e,t){for(var n=0;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ka=Object.prototype.hasOwnProperty,xg=/^[: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]*$/,Cc={},Pc={};function Eg(e){return Ka.call(Pc,e)?!0:Ka.call(Cc,e)?!1:xg.test(e)?Pc[e]=!0:(Cc[e]=!0,!1)}function kg(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Cg(e,t,n,r){if(t===null||typeof t>"u"||kg(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function qe(e,t,n,r,i,o,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var Ue={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ue[e]=new qe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ue[t]=new qe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ue[e]=new qe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ue[e]=new qe(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){Ue[e]=new qe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ue[e]=new qe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ue[e]=new qe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ue[e]=new qe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ue[e]=new qe(e,5,!1,e.toLowerCase(),null,!1,!1)});var ls=/[\-:]([a-z])/g;function as(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(ls,as);Ue[t]=new qe(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(ls,as);Ue[t]=new qe(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(ls,as);Ue[t]=new qe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ue[e]=new qe(e,1,!1,e.toLowerCase(),null,!1,!1)});Ue.xlinkHref=new qe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ue[e]=new qe(e,1,!1,e.toLowerCase(),null,!0,!0)});function us(e,t,n,r){var i=Ue.hasOwnProperty(t)?Ue[t]:null;(i!==null?i.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ka=Object.prototype.hasOwnProperty,Sg=/^[: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]*$/,Pc={},_c={};function xg(e){return Ka.call(_c,e)?!0:Ka.call(Pc,e)?!1:Sg.test(e)?_c[e]=!0:(Pc[e]=!0,!1)}function Eg(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function kg(e,t,n,r){if(t===null||typeof t>"u"||Eg(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function qe(e,t,n,r,i,o,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var Ue={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ue[e]=new qe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ue[t]=new qe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ue[e]=new qe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ue[e]=new qe(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){Ue[e]=new qe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ue[e]=new qe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ue[e]=new qe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ue[e]=new qe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ue[e]=new qe(e,5,!1,e.toLowerCase(),null,!1,!1)});var ls=/[\-:]([a-z])/g;function as(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(ls,as);Ue[t]=new qe(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(ls,as);Ue[t]=new qe(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(ls,as);Ue[t]=new qe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ue[e]=new qe(e,1,!1,e.toLowerCase(),null,!1,!1)});Ue.xlinkHref=new qe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ue[e]=new qe(e,1,!1,e.toLowerCase(),null,!0,!0)});function us(e,t,n,r){var i=Ue.hasOwnProperty(t)?Ue[t]:null;(i!==null?i.type!==0:r||!(2a||i[l]!==o[a]){var u=` -`+i[l].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=l&&0<=a);break}}}finally{da=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?mi(e):""}function Pg(e){switch(e.tag){case 5:return mi(e.type);case 16:return mi("Lazy");case 13:return mi("Suspense");case 19:return mi("SuspenseList");case 0:case 2:case 15:return e=pa(e.type,!1),e;case 11:return e=pa(e.type.render,!1),e;case 1:return e=pa(e.type,!0),e;default:return""}}function qa(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 cr:return"Fragment";case sr:return"Portal";case Ya:return"Profiler";case ss:return"StrictMode";case Ga:return"Suspense";case Xa:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Wd:return(e.displayName||"Context")+".Consumer";case Bd:return(e._context.displayName||"Context")+".Provider";case cs:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case fs:return t=e.displayName||null,t!==null?t:qa(e.type)||"Memo";case fn:t=e._payload,e=e._init;try{return qa(e(t))}catch{}}return null}function _g(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 qa(t);case 8:return t===ss?"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 Rn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Vd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Tg(e){var t=Vd(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(l){r=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function yo(e){e._valueTracker||(e._valueTracker=Tg(e))}function Qd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Vd(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function rl(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 Ja(e,t){var n=t.checked;return pe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Tc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Rn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Kd(e,t){t=t.checked,t!=null&&us(e,"checked",t,!1)}function Za(e,t){Kd(e,t);var n=Rn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?eu(e,t.type,n):t.hasOwnProperty("defaultValue")&&eu(e,t.type,Rn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Rc(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function eu(e,t,n){(t!=="number"||rl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var gi=Array.isArray;function Pr(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=wo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Fi(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Si={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},Rg=["Webkit","ms","Moz","O"];Object.keys(Si).forEach(function(e){Rg.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Si[t]=Si[e]})});function qd(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Si.hasOwnProperty(e)&&Si[e]?(""+t).trim():t+"px"}function Jd(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=qd(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Ng=pe({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 ru(e,t){if(t){if(Ng[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(L(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(L(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(L(61))}if(t.style!=null&&typeof t.style!="object")throw Error(L(62))}}function iu(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 ou=null;function ds(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var lu=null,_r=null,Tr=null;function Lc(e){if(e=lo(e)){if(typeof lu!="function")throw Error(L(280));var t=e.stateNode;t&&(t=bl(t),lu(e.stateNode,e.type,t))}}function Zd(e){_r?Tr?Tr.push(e):Tr=[e]:_r=e}function ep(){if(_r){var e=_r,t=Tr;if(Tr=_r=null,Lc(e),t)for(e=0;e>>=0,e===0?32:31-(zg(e)/Ug|0)|0}var So=64,xo=4194304;function vi(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 al(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,l=n&268435455;if(l!==0){var a=l&~i;a!==0?r=vi(a):(o&=l,o!==0&&(r=vi(o)))}else l=n&~i,l!==0?r=vi(l):o!==0&&(r=vi(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function io(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-jt(t),e[t]=n}function Vg(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Ei),zc=" ",Uc=!1;function Sp(e,t){switch(e){case"keyup":return wv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function xp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var fr=!1;function xv(e,t){switch(e){case"compositionend":return xp(t);case"keypress":return t.which!==32?null:(Uc=!0,zc);case"textInput":return e=t.data,e===zc&&Uc?null:e;default:return null}}function Ev(e,t){if(fr)return e==="compositionend"||!Ss&&Sp(e,t)?(e=yp(),Uo=vs=mn=null,fr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Vc(n)}}function Pp(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Pp(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function _p(){for(var e=window,t=rl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=rl(e.document)}return t}function xs(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 Lv(e){var t=_p(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Pp(n.ownerDocument.documentElement,n)){if(r!==null&&xs(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Qc(n,o);var l=Qc(n,r);i&&l&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,dr=null,du=null,Ci=null,pu=!1;function Kc(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;pu||dr==null||dr!==rl(r)||(r=dr,"selectionStart"in r&&xs(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ci&&Ui(Ci,r)||(Ci=r,r=cl(du,"onSelect"),0mr||(e.current=wu[mr],wu[mr]=null,mr--)}function oe(e,t){mr++,wu[mr]=e.current,e.current=t}var Nn={},Ke=Ln(Nn),rt=Ln(!1),Gn=Nn;function jr(e,t){var n=e.type.contextTypes;if(!n)return Nn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function it(e){return e=e.childContextTypes,e!=null}function dl(){ue(rt),ue(Ke)}function ef(e,t,n){if(Ke.current!==Nn)throw Error(L(168));oe(Ke,t),oe(rt,n)}function Fp(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(L(108,_g(e)||"Unknown",i));return pe({},n,r)}function pl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Nn,Gn=Ke.current,oe(Ke,e),oe(rt,rt.current),!0}function tf(e,t,n){var r=e.stateNode;if(!r)throw Error(L(169));n?(e=Fp(e,t,Gn),r.__reactInternalMemoizedMergedChildContext=e,ue(rt),ue(Ke),oe(Ke,e)):ue(rt),oe(rt,n)}var Qt=null,Ml=!1,Ta=!1;function Ip(e){Qt===null?Qt=[e]:Qt.push(e)}function Wv(e){Ml=!0,Ip(e)}function jn(){if(!Ta&&Qt!==null){Ta=!0;var e=0,t=te;try{var n=Qt;for(te=1;e>=l,i-=l,Kt=1<<32-jt(t)+i|n<O?(A=C,C=null):A=C.sibling;var b=h(p,C,m[O],x);if(b===null){C===null&&(C=A);break}e&&C&&b.alternate===null&&t(p,C),f=o(b,f,O),v===null?P=b:v.sibling=b,v=b,C=A}if(O===m.length)return n(p,C),se&&bn(p,O),P;if(C===null){for(;OO?(A=C,C=null):A=C.sibling;var B=h(p,C,b.value,x);if(B===null){C===null&&(C=A);break}e&&C&&B.alternate===null&&t(p,C),f=o(B,f,O),v===null?P=B:v.sibling=B,v=B,C=A}if(b.done)return n(p,C),se&&bn(p,O),P;if(C===null){for(;!b.done;O++,b=m.next())b=d(p,b.value,x),b!==null&&(f=o(b,f,O),v===null?P=b:v.sibling=b,v=b);return se&&bn(p,O),P}for(C=r(p,C);!b.done;O++,b=m.next())b=g(C,p,O,b.value,x),b!==null&&(e&&b.alternate!==null&&C.delete(b.key===null?O:b.key),f=o(b,f,O),v===null?P=b:v.sibling=b,v=b);return e&&C.forEach(function(ce){return t(p,ce)}),se&&bn(p,O),P}function E(p,f,m,x){if(typeof m=="object"&&m!==null&&m.type===cr&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case vo:e:{for(var P=m.key,v=f;v!==null;){if(v.key===P){if(P=m.type,P===cr){if(v.tag===7){n(p,v.sibling),f=i(v,m.props.children),f.return=p,p=f;break e}}else if(v.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===fn&&sf(P)===v.type){n(p,v.sibling),f=i(v,m.props),f.ref=oi(p,v,m),f.return=p,p=f;break e}n(p,v);break}else t(p,v);v=v.sibling}m.type===cr?(f=Qn(m.props.children,p.mode,x,m.key),f.return=p,p=f):(x=Go(m.type,m.key,m.props,null,p.mode,x),x.ref=oi(p,f,m),x.return=p,p=x)}return l(p);case sr:e:{for(v=m.key;f!==null;){if(f.key===v)if(f.tag===4&&f.stateNode.containerInfo===m.containerInfo&&f.stateNode.implementation===m.implementation){n(p,f.sibling),f=i(f,m.children||[]),f.return=p,p=f;break e}else{n(p,f);break}else t(p,f);f=f.sibling}f=Fa(m,p.mode,x),f.return=p,p=f}return l(p);case fn:return v=m._init,E(p,f,v(m._payload),x)}if(gi(m))return y(p,f,m,x);if(ei(m))return w(p,f,m,x);Ro(p,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,f!==null&&f.tag===6?(n(p,f.sibling),f=i(f,m),f.return=p,p=f):(n(p,f),f=Da(m,p.mode,x),f.return=p,p=f),l(p)):n(p,f)}return E}var Dr=Hp(!0),Vp=Hp(!1),ao={},Bt=Ln(ao),Vi=Ln(ao),Qi=Ln(ao);function Un(e){if(e===ao)throw Error(L(174));return e}function Os(e,t){switch(oe(Qi,t),oe(Vi,e),oe(Bt,ao),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:nu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=nu(t,e)}ue(Bt),oe(Bt,t)}function Fr(){ue(Bt),ue(Vi),ue(Qi)}function Qp(e){Un(Qi.current);var t=Un(Bt.current),n=nu(t,e.type);t!==n&&(oe(Vi,e),oe(Bt,n))}function Ls(e){Vi.current===e&&(ue(Bt),ue(Vi))}var fe=Ln(0);function wl(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ra=[];function js(){for(var e=0;en?n:4,e(!0);var r=Na.transition;Na.transition={};try{e(!1),t()}finally{te=n,Na.transition=r}}function uh(){return Pt().memoizedState}function Kv(e,t,n){var r=Pn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},sh(e))ch(t,n);else if(n=zp(e,t,n,r),n!==null){var i=Ge();At(n,e,r,i),fh(n,t,r)}}function Yv(e,t,n){var r=Pn(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(sh(e))ch(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,a=o(l,n);if(i.hasEagerState=!0,i.eagerState=a,Ft(a,l)){var u=t.interleaved;u===null?(i.next=i,Rs(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}n=zp(e,t,i,r),n!==null&&(i=Ge(),At(n,e,r,i),fh(n,t,r))}}function sh(e){var t=e.alternate;return e===de||t!==null&&t===de}function ch(e,t){Pi=Sl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function fh(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,hs(e,n)}}var xl={readContext:Ct,useCallback:We,useContext:We,useEffect:We,useImperativeHandle:We,useInsertionEffect:We,useLayoutEffect:We,useMemo:We,useReducer:We,useRef:We,useState:We,useDebugValue:We,useDeferredValue:We,useTransition:We,useMutableSource:We,useSyncExternalStore:We,useId:We,unstable_isNewReconciler:!1},Gv={readContext:Ct,useCallback:function(e,t){return Mt().memoizedState=[e,t===void 0?null:t],e},useContext:Ct,useEffect:ff,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Vo(4194308,4,rh.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Vo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Vo(4,2,e,t)},useMemo:function(e,t){var n=Mt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Mt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Kv.bind(null,de,e),[r.memoizedState,e]},useRef:function(e){var t=Mt();return e={current:e},t.memoizedState=e},useState:cf,useDebugValue:bs,useDeferredValue:function(e){return Mt().memoizedState=e},useTransition:function(){var e=cf(!1),t=e[0];return e=Qv.bind(null,e[1]),Mt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=de,i=Mt();if(se){if(n===void 0)throw Error(L(407));n=n()}else{if(n=t(),Ae===null)throw Error(L(349));qn&30||Gp(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,ff(qp.bind(null,r,o,e),[e]),r.flags|=2048,Gi(9,Xp.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Mt(),t=Ae.identifierPrefix;if(se){var n=Yt,r=Kt;n=(r&~(1<<32-jt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ki++,0")&&(u=u.replace("",e.displayName)),u}while(1<=l&&0<=a);break}}}finally{da=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?mi(e):""}function Cg(e){switch(e.tag){case 5:return mi(e.type);case 16:return mi("Lazy");case 13:return mi("Suspense");case 19:return mi("SuspenseList");case 0:case 2:case 15:return e=pa(e.type,!1),e;case 11:return e=pa(e.type.render,!1),e;case 1:return e=pa(e.type,!0),e;default:return""}}function qa(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 cr:return"Fragment";case sr:return"Portal";case Ya:return"Profiler";case ss:return"StrictMode";case Ga:return"Suspense";case Xa:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Wd:return(e.displayName||"Context")+".Consumer";case Bd:return(e._context.displayName||"Context")+".Provider";case cs:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case fs:return t=e.displayName||null,t!==null?t:qa(e.type)||"Memo";case fn:t=e._payload,e=e._init;try{return qa(e(t))}catch{}}return null}function Pg(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 qa(t);case 8:return t===ss?"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 Rn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Vd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function _g(e){var t=Vd(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(l){r=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function yo(e){e._valueTracker||(e._valueTracker=_g(e))}function Qd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Vd(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function rl(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 Ja(e,t){var n=t.checked;return pe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Rc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Rn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Kd(e,t){t=t.checked,t!=null&&us(e,"checked",t,!1)}function Za(e,t){Kd(e,t);var n=Rn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?eu(e,t.type,n):t.hasOwnProperty("defaultValue")&&eu(e,t.type,Rn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Nc(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function eu(e,t,n){(t!=="number"||rl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var gi=Array.isArray;function Pr(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=wo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Fi(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Si={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},Tg=["Webkit","ms","Moz","O"];Object.keys(Si).forEach(function(e){Tg.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Si[t]=Si[e]})});function qd(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Si.hasOwnProperty(e)&&Si[e]?(""+t).trim():t+"px"}function Jd(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=qd(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Rg=pe({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 ru(e,t){if(t){if(Rg[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(L(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(L(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(L(61))}if(t.style!=null&&typeof t.style!="object")throw Error(L(62))}}function iu(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 ou=null;function ds(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var lu=null,_r=null,Tr=null;function jc(e){if(e=lo(e)){if(typeof lu!="function")throw Error(L(280));var t=e.stateNode;t&&(t=bl(t),lu(e.stateNode,e.type,t))}}function Zd(e){_r?Tr?Tr.push(e):Tr=[e]:_r=e}function ep(){if(_r){var e=_r,t=Tr;if(Tr=_r=null,jc(e),t)for(e=0;e>>=0,e===0?32:31-($g(e)/zg|0)|0}var So=64,xo=4194304;function vi(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 al(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,l=n&268435455;if(l!==0){var a=l&~i;a!==0?r=vi(a):(o&=l,o!==0&&(r=vi(o)))}else l=n&~i,l!==0?r=vi(l):o!==0&&(r=vi(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function io(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-jt(t),e[t]=n}function Hg(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Ei),Uc=" ",Bc=!1;function Sp(e,t){switch(e){case"keyup":return yv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function xp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var fr=!1;function Sv(e,t){switch(e){case"compositionend":return xp(t);case"keypress":return t.which!==32?null:(Bc=!0,Uc);case"textInput":return e=t.data,e===Uc&&Bc?null:e;default:return null}}function xv(e,t){if(fr)return e==="compositionend"||!Ss&&Sp(e,t)?(e=yp(),Uo=vs=mn=null,fr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Qc(n)}}function Pp(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Pp(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function _p(){for(var e=window,t=rl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=rl(e.document)}return t}function xs(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 Ov(e){var t=_p(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Pp(n.ownerDocument.documentElement,n)){if(r!==null&&xs(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Kc(n,o);var l=Kc(n,r);i&&l&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,dr=null,du=null,Ci=null,pu=!1;function Yc(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;pu||dr==null||dr!==rl(r)||(r=dr,"selectionStart"in r&&xs(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ci&&Ui(Ci,r)||(Ci=r,r=cl(du,"onSelect"),0mr||(e.current=wu[mr],wu[mr]=null,mr--)}function oe(e,t){mr++,wu[mr]=e.current,e.current=t}var Nn={},Ke=Ln(Nn),rt=Ln(!1),Gn=Nn;function jr(e,t){var n=e.type.contextTypes;if(!n)return Nn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function it(e){return e=e.childContextTypes,e!=null}function dl(){ue(rt),ue(Ke)}function tf(e,t,n){if(Ke.current!==Nn)throw Error(L(168));oe(Ke,t),oe(rt,n)}function Fp(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(L(108,Pg(e)||"Unknown",i));return pe({},n,r)}function pl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Nn,Gn=Ke.current,oe(Ke,e),oe(rt,rt.current),!0}function nf(e,t,n){var r=e.stateNode;if(!r)throw Error(L(169));n?(e=Fp(e,t,Gn),r.__reactInternalMemoizedMergedChildContext=e,ue(rt),ue(Ke),oe(Ke,e)):ue(rt),oe(rt,n)}var Qt=null,Ml=!1,Ta=!1;function Ip(e){Qt===null?Qt=[e]:Qt.push(e)}function Bv(e){Ml=!0,Ip(e)}function jn(){if(!Ta&&Qt!==null){Ta=!0;var e=0,t=te;try{var n=Qt;for(te=1;e>=l,i-=l,Kt=1<<32-jt(t)+i|n<O?(A=C,C=null):A=C.sibling;var b=h(p,C,m[O],x);if(b===null){C===null&&(C=A);break}e&&C&&b.alternate===null&&t(p,C),f=o(b,f,O),v===null?_=b:v.sibling=b,v=b,C=A}if(O===m.length)return n(p,C),se&&bn(p,O),_;if(C===null){for(;OO?(A=C,C=null):A=C.sibling;var B=h(p,C,b.value,x);if(B===null){C===null&&(C=A);break}e&&C&&B.alternate===null&&t(p,C),f=o(B,f,O),v===null?_=B:v.sibling=B,v=B,C=A}if(b.done)return n(p,C),se&&bn(p,O),_;if(C===null){for(;!b.done;O++,b=m.next())b=d(p,b.value,x),b!==null&&(f=o(b,f,O),v===null?_=b:v.sibling=b,v=b);return se&&bn(p,O),_}for(C=r(p,C);!b.done;O++,b=m.next())b=g(C,p,O,b.value,x),b!==null&&(e&&b.alternate!==null&&C.delete(b.key===null?O:b.key),f=o(b,f,O),v===null?_=b:v.sibling=b,v=b);return e&&C.forEach(function(ce){return t(p,ce)}),se&&bn(p,O),_}function E(p,f,m,x){if(typeof m=="object"&&m!==null&&m.type===cr&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case vo:e:{for(var _=m.key,v=f;v!==null;){if(v.key===_){if(_=m.type,_===cr){if(v.tag===7){n(p,v.sibling),f=i(v,m.props.children),f.return=p,p=f;break e}}else if(v.elementType===_||typeof _=="object"&&_!==null&&_.$$typeof===fn&&cf(_)===v.type){n(p,v.sibling),f=i(v,m.props),f.ref=oi(p,v,m),f.return=p,p=f;break e}n(p,v);break}else t(p,v);v=v.sibling}m.type===cr?(f=Qn(m.props.children,p.mode,x,m.key),f.return=p,p=f):(x=Go(m.type,m.key,m.props,null,p.mode,x),x.ref=oi(p,f,m),x.return=p,p=x)}return l(p);case sr:e:{for(v=m.key;f!==null;){if(f.key===v)if(f.tag===4&&f.stateNode.containerInfo===m.containerInfo&&f.stateNode.implementation===m.implementation){n(p,f.sibling),f=i(f,m.children||[]),f.return=p,p=f;break e}else{n(p,f);break}else t(p,f);f=f.sibling}f=Fa(m,p.mode,x),f.return=p,p=f}return l(p);case fn:return v=m._init,E(p,f,v(m._payload),x)}if(gi(m))return y(p,f,m,x);if(ei(m))return w(p,f,m,x);Ro(p,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,f!==null&&f.tag===6?(n(p,f.sibling),f=i(f,m),f.return=p,p=f):(n(p,f),f=Da(m,p.mode,x),f.return=p,p=f),l(p)):n(p,f)}return E}var Dr=Hp(!0),Vp=Hp(!1),ao={},Bt=Ln(ao),Vi=Ln(ao),Qi=Ln(ao);function Un(e){if(e===ao)throw Error(L(174));return e}function Os(e,t){switch(oe(Qi,t),oe(Vi,e),oe(Bt,ao),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:nu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=nu(t,e)}ue(Bt),oe(Bt,t)}function Fr(){ue(Bt),ue(Vi),ue(Qi)}function Qp(e){Un(Qi.current);var t=Un(Bt.current),n=nu(t,e.type);t!==n&&(oe(Vi,e),oe(Bt,n))}function Ls(e){Vi.current===e&&(ue(Bt),ue(Vi))}var fe=Ln(0);function wl(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ra=[];function js(){for(var e=0;en?n:4,e(!0);var r=Na.transition;Na.transition={};try{e(!1),t()}finally{te=n,Na.transition=r}}function uh(){return Pt().memoizedState}function Qv(e,t,n){var r=Pn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},sh(e))ch(t,n);else if(n=zp(e,t,n,r),n!==null){var i=Ge();At(n,e,r,i),fh(n,t,r)}}function Kv(e,t,n){var r=Pn(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(sh(e))ch(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,a=o(l,n);if(i.hasEagerState=!0,i.eagerState=a,Ft(a,l)){var u=t.interleaved;u===null?(i.next=i,Rs(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}n=zp(e,t,i,r),n!==null&&(i=Ge(),At(n,e,r,i),fh(n,t,r))}}function sh(e){var t=e.alternate;return e===de||t!==null&&t===de}function ch(e,t){Pi=Sl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function fh(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,hs(e,n)}}var xl={readContext:Ct,useCallback:We,useContext:We,useEffect:We,useImperativeHandle:We,useInsertionEffect:We,useLayoutEffect:We,useMemo:We,useReducer:We,useRef:We,useState:We,useDebugValue:We,useDeferredValue:We,useTransition:We,useMutableSource:We,useSyncExternalStore:We,useId:We,unstable_isNewReconciler:!1},Yv={readContext:Ct,useCallback:function(e,t){return Mt().memoizedState=[e,t===void 0?null:t],e},useContext:Ct,useEffect:df,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Vo(4194308,4,rh.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Vo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Vo(4,2,e,t)},useMemo:function(e,t){var n=Mt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Mt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Qv.bind(null,de,e),[r.memoizedState,e]},useRef:function(e){var t=Mt();return e={current:e},t.memoizedState=e},useState:ff,useDebugValue:bs,useDeferredValue:function(e){return Mt().memoizedState=e},useTransition:function(){var e=ff(!1),t=e[0];return e=Vv.bind(null,e[1]),Mt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=de,i=Mt();if(se){if(n===void 0)throw Error(L(407));n=n()}else{if(n=t(),Ae===null)throw Error(L(349));qn&30||Gp(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,df(qp.bind(null,r,o,e),[e]),r.flags|=2048,Gi(9,Xp.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Mt(),t=Ae.identifierPrefix;if(se){var n=Yt,r=Kt;n=(r&~(1<<32-jt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ki++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[zt]=t,e[Hi]=r,Sh(e,t,!1,!1),t.stateNode=e;e:{switch(l=iu(n,r),n){case"dialog":le("cancel",e),le("close",e),i=r;break;case"iframe":case"object":case"embed":le("load",e),i=r;break;case"video":case"audio":for(i=0;ibr&&(t.flags|=128,r=!0,li(o,!1),t.lanes=4194304)}else{if(!r)if(e=wl(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),li(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!se)return He(t),null}else 2*xe()-o.renderingStartTime>br&&n!==1073741824&&(t.flags|=128,r=!0,li(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(n=o.last,n!==null?n.sibling=l:t.child=l,o.last=l)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=xe(),t.sibling=null,n=fe.current,oe(fe,r?n&1|2:n&1),t):(He(t),null);case 22:case 23:return Ws(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?dt&1073741824&&(He(t),t.subtreeFlags&6&&(t.flags|=8192)):He(t),null;case 24:return null;case 25:return null}throw Error(L(156,t.tag))}function ry(e,t){switch(ks(t),t.tag){case 1:return it(t.type)&&dl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Fr(),ue(rt),ue(Ke),js(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ls(t),null;case 13:if(ue(fe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(L(340));Ar()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ue(fe),null;case 4:return Fr(),null;case 10:return Ts(t.type._context),null;case 22:case 23:return Ws(),null;case 24:return null;default:return null}}var Oo=!1,Qe=!1,iy=typeof WeakSet=="function"?WeakSet:Set,D=null;function wr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){me(e,t,r)}else n.current=null}function Lu(e,t,n){try{n()}catch(r){me(e,t,r)}}var Sf=!1;function oy(e,t){if(hu=ul,e=_p(),xs(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var l=0,a=-1,u=-1,s=0,c=0,d=e,h=null;t:for(;;){for(var g;d!==n||i!==0&&d.nodeType!==3||(a=l+i),d!==o||r!==0&&d.nodeType!==3||(u=l+r),d.nodeType===3&&(l+=d.nodeValue.length),(g=d.firstChild)!==null;)h=d,d=g;for(;;){if(d===e)break t;if(h===n&&++s===i&&(a=l),h===o&&++c===r&&(u=l),(g=d.nextSibling)!==null)break;d=h,h=d.parentNode}d=g}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(mu={focusedElem:e,selectionRange:n},ul=!1,D=t;D!==null;)if(t=D,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,D=e;else for(;D!==null;){t=D;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 w=y.memoizedProps,E=y.memoizedState,p=t.stateNode,f=p.getSnapshotBeforeUpdate(t.elementType===t.type?w:Rt(t.type,w),E);p.__reactInternalSnapshotBeforeUpdate=f}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(L(163))}}catch(x){me(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,D=e;break}D=t.return}return y=Sf,Sf=!1,y}function _i(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Lu(t,n,o)}i=i.next}while(i!==r)}}function Ul(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ju(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function kh(e){var t=e.alternate;t!==null&&(e.alternate=null,kh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[zt],delete t[Hi],delete t[yu],delete t[Uv],delete t[Bv])),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 Ch(e){return e.tag===5||e.tag===3||e.tag===4}function xf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ch(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 Au(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=fl));else if(r!==4&&(e=e.child,e!==null))for(Au(e,t,n),e=e.sibling;e!==null;)Au(e,t,n),e=e.sibling}function Du(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Du(e,t,n),e=e.sibling;e!==null;)Du(e,t,n),e=e.sibling}var Me=null,Nt=!1;function an(e,t,n){for(n=n.child;n!==null;)Ph(e,t,n),n=n.sibling}function Ph(e,t,n){if(Ut&&typeof Ut.onCommitFiberUnmount=="function")try{Ut.onCommitFiberUnmount(Al,n)}catch{}switch(n.tag){case 5:Qe||wr(n,t);case 6:var r=Me,i=Nt;Me=null,an(e,t,n),Me=r,Nt=i,Me!==null&&(Nt?(e=Me,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Me.removeChild(n.stateNode));break;case 18:Me!==null&&(Nt?(e=Me,n=n.stateNode,e.nodeType===8?_a(e.parentNode,n):e.nodeType===1&&_a(e,n),$i(e)):_a(Me,n.stateNode));break;case 4:r=Me,i=Nt,Me=n.stateNode.containerInfo,Nt=!0,an(e,t,n),Me=r,Nt=i;break;case 0:case 11:case 14:case 15:if(!Qe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,l=o.destroy;o=o.tag,l!==void 0&&(o&2||o&4)&&Lu(n,t,l),i=i.next}while(i!==r)}an(e,t,n);break;case 1:if(!Qe&&(wr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){me(n,t,a)}an(e,t,n);break;case 21:an(e,t,n);break;case 22:n.mode&1?(Qe=(r=Qe)||n.memoizedState!==null,an(e,t,n),Qe=r):an(e,t,n);break;default:an(e,t,n)}}function Ef(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new iy),t.forEach(function(r){var i=hy.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Tt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=l),r&=~o}if(r=i,r=xe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ay(r/1960))-r,10e?16:e,gn===null)var r=!1;else{if(e=gn,gn=null,Cl=0,q&6)throw Error(L(331));var i=q;for(q|=4,D=e.current;D!==null;){var o=D,l=o.child;if(D.flags&16){var a=o.deletions;if(a!==null){for(var u=0;uxe()-Us?Vn(e,0):zs|=n),ot(e,t)}function Ah(e,t){t===0&&(e.mode&1?(t=xo,xo<<=1,!(xo&130023424)&&(xo=4194304)):t=1);var n=Ge();e=Zt(e,t),e!==null&&(io(e,t,n),ot(e,n))}function py(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ah(e,n)}function hy(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(L(314))}r!==null&&r.delete(t),Ah(e,n)}var Dh;Dh=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||rt.current)tt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return tt=!1,ty(e,t,n);tt=!!(e.flags&131072)}else tt=!1,se&&t.flags&1048576&&bp(t,ml,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Qo(e,t),e=t.pendingProps;var i=jr(t,Ke.current);Nr(t,n),i=Ds(null,t,r,e,i,n);var o=Fs();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,it(r)?(o=!0,pl(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Ns(t),i.updater=$l,t.stateNode=i,i._reactInternals=t,Cu(t,r,e,n),t=Tu(null,t,r,!0,o,n)):(t.tag=0,se&&o&&Es(t),Ye(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Qo(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=gy(r),e=Rt(r,e),i){case 0:t=_u(null,t,r,e,n);break e;case 1:t=vf(null,t,r,e,n);break e;case 11:t=mf(null,t,r,e,n);break e;case 14:t=gf(null,t,r,Rt(r.type,e),n);break e}throw Error(L(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Rt(r,i),_u(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Rt(r,i),vf(e,t,r,i,n);case 3:e:{if(vh(t),e===null)throw Error(L(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Up(e,t),yl(t,r,null,n);var l=t.memoizedState;if(r=l.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Ir(Error(L(423)),t),t=yf(e,t,r,n,i);break e}else if(r!==i){i=Ir(Error(L(424)),t),t=yf(e,t,r,n,i);break e}else for(pt=En(t.stateNode.containerInfo.firstChild),ht=t,se=!0,Lt=null,n=Vp(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ar(),r===i){t=en(e,t,n);break e}Ye(e,t,r,n)}t=t.child}return t;case 5:return Qp(t),e===null&&xu(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,l=i.children,gu(r,i)?l=null:o!==null&&gu(r,o)&&(t.flags|=32),gh(e,t),Ye(e,t,l,n),t.child;case 6:return e===null&&xu(t),null;case 13:return yh(e,t,n);case 4:return Os(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Dr(t,null,r,n):Ye(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Rt(r,i),mf(e,t,r,i,n);case 7:return Ye(e,t,t.pendingProps,n),t.child;case 8:return Ye(e,t,t.pendingProps.children,n),t.child;case 12:return Ye(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,l=i.value,oe(gl,r._currentValue),r._currentValue=l,o!==null)if(Ft(o.value,l)){if(o.children===i.children&&!rt.current){t=en(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){l=o.child;for(var u=a.firstContext;u!==null;){if(u.context===r){if(o.tag===1){u=Gt(-1,n&-n),u.tag=2;var s=o.updateQueue;if(s!==null){s=s.shared;var c=s.pending;c===null?u.next=u:(u.next=c.next,c.next=u),s.pending=u}}o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),Eu(o.return,n,t),a.lanes|=n;break}u=u.next}}else if(o.tag===10)l=o.type===t.type?null:o.child;else if(o.tag===18){if(l=o.return,l===null)throw Error(L(341));l.lanes|=n,a=l.alternate,a!==null&&(a.lanes|=n),Eu(l,n,t),l=o.sibling}else l=o.child;if(l!==null)l.return=o;else for(l=o;l!==null;){if(l===t){l=null;break}if(o=l.sibling,o!==null){o.return=l.return,l=o;break}l=l.return}o=l}Ye(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Nr(t,n),i=Ct(i),r=r(i),t.flags|=1,Ye(e,t,r,n),t.child;case 14:return r=t.type,i=Rt(r,t.pendingProps),i=Rt(r.type,i),gf(e,t,r,i,n);case 15:return hh(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Rt(r,i),Qo(e,t),t.tag=1,it(r)?(e=!0,pl(t)):e=!1,Nr(t,n),Wp(t,r,i),Cu(t,r,i,n),Tu(null,t,r,!0,e,n);case 19:return wh(e,t,n);case 22:return mh(e,t,n)}throw Error(L(156,t.tag))};function Fh(e,t){return ap(e,t)}function my(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Et(e,t,n,r){return new my(e,t,n,r)}function Vs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function gy(e){if(typeof e=="function")return Vs(e)?1:0;if(e!=null){if(e=e.$$typeof,e===cs)return 11;if(e===fs)return 14}return 2}function _n(e,t){var n=e.alternate;return n===null?(n=Et(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Go(e,t,n,r,i,o){var l=2;if(r=e,typeof e=="function")Vs(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case cr:return Qn(n.children,i,o,t);case ss:l=8,i|=8;break;case Ya:return e=Et(12,n,t,i|2),e.elementType=Ya,e.lanes=o,e;case Ga:return e=Et(13,n,t,i),e.elementType=Ga,e.lanes=o,e;case Xa:return e=Et(19,n,t,i),e.elementType=Xa,e.lanes=o,e;case Hd:return Wl(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Bd:l=10;break e;case Wd:l=9;break e;case cs:l=11;break e;case fs:l=14;break e;case fn:l=16,r=null;break e}throw Error(L(130,e==null?e:typeof e,""))}return t=Et(l,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Qn(e,t,n,r){return e=Et(7,e,r,t),e.lanes=n,e}function Wl(e,t,n,r){return e=Et(22,e,r,t),e.elementType=Hd,e.lanes=n,e.stateNode={isHidden:!1},e}function Da(e,t,n){return e=Et(6,e,null,t),e.lanes=n,e}function Fa(e,t,n){return t=Et(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function vy(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ma(0),this.expirationTimes=ma(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ma(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Qs(e,t,n,r,i,o,l,a,u){return e=new vy(e,t,n,a,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Et(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ns(o),e}function yy(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE($h)}catch(e){console.error(e)}}$h(),bd.exports=gt;var Xs=bd.exports;const ky=_d(Xs),Cy=Pd({__proto__:null,default:ky},[Xs]);var Of=Xs;Qa.createRoot=Of.createRoot,Qa.hydrateRoot=Of.hydrateRoot;/** +`+o.stack}return{value:e,source:t,stack:i,digest:null}}function ja(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Pu(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var qv=typeof WeakMap=="function"?WeakMap:Map;function dh(e,t,n){n=Gt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){kl||(kl=!0,Fu=r),Pu(e,t)},n}function ph(e,t,n){n=Gt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Pu(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Pu(e,t),typeof r!="function"&&(Cn===null?Cn=new Set([this]):Cn.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}function pf(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new qv;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=fy.bind(null,e,t,n),t.then(e,e))}function hf(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 mf(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Gt(-1,1),t.tag=2,kn(n,t,1))),n.lanes|=1),e)}var Jv=tn.ReactCurrentOwner,tt=!1;function Ye(e,t,n,r){t.child=e===null?Vp(t,null,n,r):Dr(t,e.child,n,r)}function gf(e,t,n,r,i){n=n.render;var o=t.ref;return Nr(t,i),r=Ds(e,t,n,r,o,i),n=Fs(),e!==null&&!tt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,en(e,t,i)):(se&&n&&Es(t),t.flags|=1,Ye(e,t,r,i),t.child)}function vf(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!Vs(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,hh(e,t,o,r,i)):(e=Go(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var l=o.memoizedProps;if(n=n.compare,n=n!==null?n:Ui,n(l,r)&&e.ref===t.ref)return en(e,t,i)}return t.flags|=1,e=_n(o,r),e.ref=t.ref,e.return=t,t.child=e}function hh(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Ui(o,r)&&e.ref===t.ref)if(tt=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(tt=!0);else return t.lanes=e.lanes,en(e,t,i)}return _u(e,t,n,r,i)}function mh(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},oe(Sr,dt),dt|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,oe(Sr,dt),dt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,oe(Sr,dt),dt|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,oe(Sr,dt),dt|=r;return Ye(e,t,i,n),t.child}function gh(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function _u(e,t,n,r,i){var o=it(n)?Gn:Ke.current;return o=jr(t,o),Nr(t,i),n=Ds(e,t,n,r,o,i),r=Fs(),e!==null&&!tt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,en(e,t,i)):(se&&r&&Es(t),t.flags|=1,Ye(e,t,n,i),t.child)}function yf(e,t,n,r,i){if(it(n)){var o=!0;pl(t)}else o=!1;if(Nr(t,i),t.stateNode===null)Qo(e,t),Wp(t,n,r),Cu(t,n,r,i),r=!0;else if(e===null){var l=t.stateNode,a=t.memoizedProps;l.props=a;var u=l.context,s=n.contextType;typeof s=="object"&&s!==null?s=Ct(s):(s=it(n)?Gn:Ke.current,s=jr(t,s));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof l.getSnapshotBeforeUpdate=="function";d||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(a!==r||u!==s)&&sf(t,l,r,s),dn=!1;var h=t.memoizedState;l.state=h,yl(t,r,l,i),u=t.memoizedState,a!==r||h!==u||rt.current||dn?(typeof c=="function"&&(ku(t,n,c,r),u=t.memoizedState),(a=dn||uf(t,n,a,r,h,u,s))?(d||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4194308)):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),l.props=r,l.state=u,l.context=s,r=a):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,Up(e,t),a=t.memoizedProps,s=t.type===t.elementType?a:Rt(t.type,a),l.props=s,d=t.pendingProps,h=l.context,u=n.contextType,typeof u=="object"&&u!==null?u=Ct(u):(u=it(n)?Gn:Ke.current,u=jr(t,u));var g=n.getDerivedStateFromProps;(c=typeof g=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(a!==d||h!==u)&&sf(t,l,r,u),dn=!1,h=t.memoizedState,l.state=h,yl(t,r,l,i);var y=t.memoizedState;a!==d||h!==y||rt.current||dn?(typeof g=="function"&&(ku(t,n,g,r),y=t.memoizedState),(s=dn||uf(t,n,s,r,h,y,u)||!1)?(c||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(r,y,u),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(r,y,u)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),l.props=r,l.state=y,l.context=u,r=s):(typeof l.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return Tu(e,t,n,r,o,i)}function Tu(e,t,n,r,i,o){gh(e,t);var l=(t.flags&128)!==0;if(!r&&!l)return i&&nf(t,n,!1),en(e,t,o);r=t.stateNode,Jv.current=t;var a=l&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&l?(t.child=Dr(t,e.child,null,o),t.child=Dr(t,null,a,o)):Ye(e,t,a,o),t.memoizedState=r.state,i&&nf(t,n,!0),t.child}function vh(e){var t=e.stateNode;t.pendingContext?tf(e,t.pendingContext,t.pendingContext!==t.context):t.context&&tf(e,t.context,!1),Os(e,t.containerInfo)}function wf(e,t,n,r,i){return Ar(),Cs(i),t.flags|=256,Ye(e,t,n,r),t.child}var Ru={dehydrated:null,treeContext:null,retryLane:0};function Nu(e){return{baseLanes:e,cachePool:null,transitions:null}}function yh(e,t,n){var r=t.pendingProps,i=fe.current,o=!1,l=(t.flags&128)!==0,a;if((a=l)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),oe(fe,i&1),e===null)return xu(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):(l=r.children,e=r.fallback,o?(r=t.mode,o=t.child,l={mode:"hidden",children:l},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=l):o=Wl(l,r,0,null),e=Qn(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Nu(n),t.memoizedState=Ru,e):Ms(t,l));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return Zv(e,t,l,r,a,i,n);if(o){o=r.fallback,l=t.mode,i=e.child,a=i.sibling;var u={mode:"hidden",children:r.children};return!(l&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=_n(i,u),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?o=_n(a,o):(o=Qn(o,l,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,l=e.child.memoizedState,l=l===null?Nu(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},o.memoizedState=l,o.childLanes=e.childLanes&~n,t.memoizedState=Ru,r}return o=e.child,e=o.sibling,r=_n(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Ms(e,t){return t=Wl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function No(e,t,n,r){return r!==null&&Cs(r),Dr(t,e.child,null,n),e=Ms(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Zv(e,t,n,r,i,o,l){if(n)return t.flags&256?(t.flags&=-257,r=ja(Error(L(422))),No(e,t,l,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Wl({mode:"visible",children:r.children},i,0,null),o=Qn(o,i,l,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&Dr(t,e.child,null,l),t.child.memoizedState=Nu(l),t.memoizedState=Ru,o);if(!(t.mode&1))return No(e,t,l,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,o=Error(L(419)),r=ja(o,r,void 0),No(e,t,l,r)}if(a=(l&e.childLanes)!==0,tt||a){if(r=Ae,r!==null){switch(l&-l){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&(r.suspendedLanes|l)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,Zt(e,i),At(r,e,i,-1))}return Hs(),r=ja(Error(L(421))),No(e,t,l,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=dy.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,pt=En(i.nextSibling),ht=t,se=!0,Lt=null,e!==null&&(St[xt++]=Kt,St[xt++]=Yt,St[xt++]=Xn,Kt=e.id,Yt=e.overflow,Xn=t),t=Ms(t,r.children),t.flags|=4096,t)}function Sf(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Eu(e.return,t,n)}function Aa(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function wh(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Ye(e,t,r.children,n),r=fe.current,r&2)r=r&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&&Sf(e,n,t);else if(e.tag===19)Sf(e,n,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}r&=1}if(oe(fe,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&wl(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Aa(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&wl(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Aa(t,!0,n,null,o);break;case"together":Aa(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Qo(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function en(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Jn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(L(153));if(t.child!==null){for(e=t.child,n=_n(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=_n(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function ey(e,t,n){switch(t.tag){case 3:vh(t),Ar();break;case 5:Qp(t);break;case 1:it(t.type)&&pl(t);break;case 4:Os(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;oe(gl,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(oe(fe,fe.current&1),t.flags|=128,null):n&t.child.childLanes?yh(e,t,n):(oe(fe,fe.current&1),e=en(e,t,n),e!==null?e.sibling:null);oe(fe,fe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return wh(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),oe(fe,fe.current),r)break;return null;case 22:case 23:return t.lanes=0,mh(e,t,n)}return en(e,t,n)}var Sh,Ou,xh,Eh;Sh=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Ou=function(){};xh=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Un(Bt.current);var o=null;switch(n){case"input":i=Ja(e,i),r=Ja(e,r),o=[];break;case"select":i=pe({},i,{value:void 0}),r=pe({},r,{value:void 0}),o=[];break;case"textarea":i=tu(e,i),r=tu(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=fl)}ru(n,r);var l;n=null;for(s in i)if(!r.hasOwnProperty(s)&&i.hasOwnProperty(s)&&i[s]!=null)if(s==="style"){var a=i[s];for(l in a)a.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else s!=="dangerouslySetInnerHTML"&&s!=="children"&&s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(Di.hasOwnProperty(s)?o||(o=[]):(o=o||[]).push(s,null));for(s in r){var u=r[s];if(a=i!=null?i[s]:void 0,r.hasOwnProperty(s)&&u!==a&&(u!=null||a!=null))if(s==="style")if(a){for(l in a)!a.hasOwnProperty(l)||u&&u.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in u)u.hasOwnProperty(l)&&a[l]!==u[l]&&(n||(n={}),n[l]=u[l])}else n||(o||(o=[]),o.push(s,n)),n=u;else s==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,a=a?a.__html:void 0,u!=null&&a!==u&&(o=o||[]).push(s,u)):s==="children"?typeof u!="string"&&typeof u!="number"||(o=o||[]).push(s,""+u):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&(Di.hasOwnProperty(s)?(u!=null&&s==="onScroll"&&le("scroll",e),o||a===u||(o=[])):(o=o||[]).push(s,u))}n&&(o=o||[]).push("style",n);var s=o;(t.updateQueue=s)&&(t.flags|=4)}};Eh=function(e,t,n,r){n!==r&&(t.flags|=4)};function li(e,t){if(!se)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function He(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function ty(e,t,n){var r=t.pendingProps;switch(ks(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return He(t),null;case 1:return it(t.type)&&dl(),He(t),null;case 3:return r=t.stateNode,Fr(),ue(rt),ue(Ke),js(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(To(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Lt!==null&&(Mu(Lt),Lt=null))),Ou(e,t),He(t),null;case 5:Ls(t);var i=Un(Qi.current);if(n=t.type,e!==null&&t.stateNode!=null)xh(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(L(166));return He(t),null}if(e=Un(Bt.current),To(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[zt]=t,r[Hi]=o,e=(t.mode&1)!==0,n){case"dialog":le("cancel",r),le("close",r);break;case"iframe":case"object":case"embed":le("load",r);break;case"video":case"audio":for(i=0;i<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[zt]=t,e[Hi]=r,Sh(e,t,!1,!1),t.stateNode=e;e:{switch(l=iu(n,r),n){case"dialog":le("cancel",e),le("close",e),i=r;break;case"iframe":case"object":case"embed":le("load",e),i=r;break;case"video":case"audio":for(i=0;ibr&&(t.flags|=128,r=!0,li(o,!1),t.lanes=4194304)}else{if(!r)if(e=wl(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),li(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!se)return He(t),null}else 2*xe()-o.renderingStartTime>br&&n!==1073741824&&(t.flags|=128,r=!0,li(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(n=o.last,n!==null?n.sibling=l:t.child=l,o.last=l)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=xe(),t.sibling=null,n=fe.current,oe(fe,r?n&1|2:n&1),t):(He(t),null);case 22:case 23:return Ws(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?dt&1073741824&&(He(t),t.subtreeFlags&6&&(t.flags|=8192)):He(t),null;case 24:return null;case 25:return null}throw Error(L(156,t.tag))}function ny(e,t){switch(ks(t),t.tag){case 1:return it(t.type)&&dl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Fr(),ue(rt),ue(Ke),js(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ls(t),null;case 13:if(ue(fe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(L(340));Ar()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ue(fe),null;case 4:return Fr(),null;case 10:return Ts(t.type._context),null;case 22:case 23:return Ws(),null;case 24:return null;default:return null}}var Oo=!1,Qe=!1,ry=typeof WeakSet=="function"?WeakSet:Set,D=null;function wr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){me(e,t,r)}else n.current=null}function Lu(e,t,n){try{n()}catch(r){me(e,t,r)}}var xf=!1;function iy(e,t){if(hu=ul,e=_p(),xs(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var l=0,a=-1,u=-1,s=0,c=0,d=e,h=null;t:for(;;){for(var g;d!==n||i!==0&&d.nodeType!==3||(a=l+i),d!==o||r!==0&&d.nodeType!==3||(u=l+r),d.nodeType===3&&(l+=d.nodeValue.length),(g=d.firstChild)!==null;)h=d,d=g;for(;;){if(d===e)break t;if(h===n&&++s===i&&(a=l),h===o&&++c===r&&(u=l),(g=d.nextSibling)!==null)break;d=h,h=d.parentNode}d=g}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(mu={focusedElem:e,selectionRange:n},ul=!1,D=t;D!==null;)if(t=D,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,D=e;else for(;D!==null;){t=D;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 w=y.memoizedProps,E=y.memoizedState,p=t.stateNode,f=p.getSnapshotBeforeUpdate(t.elementType===t.type?w:Rt(t.type,w),E);p.__reactInternalSnapshotBeforeUpdate=f}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(L(163))}}catch(x){me(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,D=e;break}D=t.return}return y=xf,xf=!1,y}function _i(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Lu(t,n,o)}i=i.next}while(i!==r)}}function Ul(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ju(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function kh(e){var t=e.alternate;t!==null&&(e.alternate=null,kh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[zt],delete t[Hi],delete t[yu],delete t[zv],delete t[Uv])),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 Ch(e){return e.tag===5||e.tag===3||e.tag===4}function Ef(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ch(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 Au(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=fl));else if(r!==4&&(e=e.child,e!==null))for(Au(e,t,n),e=e.sibling;e!==null;)Au(e,t,n),e=e.sibling}function Du(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Du(e,t,n),e=e.sibling;e!==null;)Du(e,t,n),e=e.sibling}var Me=null,Nt=!1;function an(e,t,n){for(n=n.child;n!==null;)Ph(e,t,n),n=n.sibling}function Ph(e,t,n){if(Ut&&typeof Ut.onCommitFiberUnmount=="function")try{Ut.onCommitFiberUnmount(Al,n)}catch{}switch(n.tag){case 5:Qe||wr(n,t);case 6:var r=Me,i=Nt;Me=null,an(e,t,n),Me=r,Nt=i,Me!==null&&(Nt?(e=Me,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Me.removeChild(n.stateNode));break;case 18:Me!==null&&(Nt?(e=Me,n=n.stateNode,e.nodeType===8?_a(e.parentNode,n):e.nodeType===1&&_a(e,n),$i(e)):_a(Me,n.stateNode));break;case 4:r=Me,i=Nt,Me=n.stateNode.containerInfo,Nt=!0,an(e,t,n),Me=r,Nt=i;break;case 0:case 11:case 14:case 15:if(!Qe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,l=o.destroy;o=o.tag,l!==void 0&&(o&2||o&4)&&Lu(n,t,l),i=i.next}while(i!==r)}an(e,t,n);break;case 1:if(!Qe&&(wr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){me(n,t,a)}an(e,t,n);break;case 21:an(e,t,n);break;case 22:n.mode&1?(Qe=(r=Qe)||n.memoizedState!==null,an(e,t,n),Qe=r):an(e,t,n);break;default:an(e,t,n)}}function kf(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new ry),t.forEach(function(r){var i=py.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Tt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=l),r&=~o}if(r=i,r=xe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ly(r/1960))-r,10e?16:e,gn===null)var r=!1;else{if(e=gn,gn=null,Cl=0,q&6)throw Error(L(331));var i=q;for(q|=4,D=e.current;D!==null;){var o=D,l=o.child;if(D.flags&16){var a=o.deletions;if(a!==null){for(var u=0;uxe()-Us?Vn(e,0):zs|=n),ot(e,t)}function Ah(e,t){t===0&&(e.mode&1?(t=xo,xo<<=1,!(xo&130023424)&&(xo=4194304)):t=1);var n=Ge();e=Zt(e,t),e!==null&&(io(e,t,n),ot(e,n))}function dy(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ah(e,n)}function py(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(L(314))}r!==null&&r.delete(t),Ah(e,n)}var Dh;Dh=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||rt.current)tt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return tt=!1,ey(e,t,n);tt=!!(e.flags&131072)}else tt=!1,se&&t.flags&1048576&&bp(t,ml,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Qo(e,t),e=t.pendingProps;var i=jr(t,Ke.current);Nr(t,n),i=Ds(null,t,r,e,i,n);var o=Fs();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,it(r)?(o=!0,pl(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Ns(t),i.updater=$l,t.stateNode=i,i._reactInternals=t,Cu(t,r,e,n),t=Tu(null,t,r,!0,o,n)):(t.tag=0,se&&o&&Es(t),Ye(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Qo(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=my(r),e=Rt(r,e),i){case 0:t=_u(null,t,r,e,n);break e;case 1:t=yf(null,t,r,e,n);break e;case 11:t=gf(null,t,r,e,n);break e;case 14:t=vf(null,t,r,Rt(r.type,e),n);break e}throw Error(L(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Rt(r,i),_u(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Rt(r,i),yf(e,t,r,i,n);case 3:e:{if(vh(t),e===null)throw Error(L(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Up(e,t),yl(t,r,null,n);var l=t.memoizedState;if(r=l.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Ir(Error(L(423)),t),t=wf(e,t,r,n,i);break e}else if(r!==i){i=Ir(Error(L(424)),t),t=wf(e,t,r,n,i);break e}else for(pt=En(t.stateNode.containerInfo.firstChild),ht=t,se=!0,Lt=null,n=Vp(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ar(),r===i){t=en(e,t,n);break e}Ye(e,t,r,n)}t=t.child}return t;case 5:return Qp(t),e===null&&xu(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,l=i.children,gu(r,i)?l=null:o!==null&&gu(r,o)&&(t.flags|=32),gh(e,t),Ye(e,t,l,n),t.child;case 6:return e===null&&xu(t),null;case 13:return yh(e,t,n);case 4:return Os(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Dr(t,null,r,n):Ye(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Rt(r,i),gf(e,t,r,i,n);case 7:return Ye(e,t,t.pendingProps,n),t.child;case 8:return Ye(e,t,t.pendingProps.children,n),t.child;case 12:return Ye(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,l=i.value,oe(gl,r._currentValue),r._currentValue=l,o!==null)if(Ft(o.value,l)){if(o.children===i.children&&!rt.current){t=en(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){l=o.child;for(var u=a.firstContext;u!==null;){if(u.context===r){if(o.tag===1){u=Gt(-1,n&-n),u.tag=2;var s=o.updateQueue;if(s!==null){s=s.shared;var c=s.pending;c===null?u.next=u:(u.next=c.next,c.next=u),s.pending=u}}o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),Eu(o.return,n,t),a.lanes|=n;break}u=u.next}}else if(o.tag===10)l=o.type===t.type?null:o.child;else if(o.tag===18){if(l=o.return,l===null)throw Error(L(341));l.lanes|=n,a=l.alternate,a!==null&&(a.lanes|=n),Eu(l,n,t),l=o.sibling}else l=o.child;if(l!==null)l.return=o;else for(l=o;l!==null;){if(l===t){l=null;break}if(o=l.sibling,o!==null){o.return=l.return,l=o;break}l=l.return}o=l}Ye(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Nr(t,n),i=Ct(i),r=r(i),t.flags|=1,Ye(e,t,r,n),t.child;case 14:return r=t.type,i=Rt(r,t.pendingProps),i=Rt(r.type,i),vf(e,t,r,i,n);case 15:return hh(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Rt(r,i),Qo(e,t),t.tag=1,it(r)?(e=!0,pl(t)):e=!1,Nr(t,n),Wp(t,r,i),Cu(t,r,i,n),Tu(null,t,r,!0,e,n);case 19:return wh(e,t,n);case 22:return mh(e,t,n)}throw Error(L(156,t.tag))};function Fh(e,t){return ap(e,t)}function hy(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Et(e,t,n,r){return new hy(e,t,n,r)}function Vs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function my(e){if(typeof e=="function")return Vs(e)?1:0;if(e!=null){if(e=e.$$typeof,e===cs)return 11;if(e===fs)return 14}return 2}function _n(e,t){var n=e.alternate;return n===null?(n=Et(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Go(e,t,n,r,i,o){var l=2;if(r=e,typeof e=="function")Vs(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case cr:return Qn(n.children,i,o,t);case ss:l=8,i|=8;break;case Ya:return e=Et(12,n,t,i|2),e.elementType=Ya,e.lanes=o,e;case Ga:return e=Et(13,n,t,i),e.elementType=Ga,e.lanes=o,e;case Xa:return e=Et(19,n,t,i),e.elementType=Xa,e.lanes=o,e;case Hd:return Wl(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Bd:l=10;break e;case Wd:l=9;break e;case cs:l=11;break e;case fs:l=14;break e;case fn:l=16,r=null;break e}throw Error(L(130,e==null?e:typeof e,""))}return t=Et(l,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Qn(e,t,n,r){return e=Et(7,e,r,t),e.lanes=n,e}function Wl(e,t,n,r){return e=Et(22,e,r,t),e.elementType=Hd,e.lanes=n,e.stateNode={isHidden:!1},e}function Da(e,t,n){return e=Et(6,e,null,t),e.lanes=n,e}function Fa(e,t,n){return t=Et(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function gy(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ma(0),this.expirationTimes=ma(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ma(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Qs(e,t,n,r,i,o,l,a,u){return e=new gy(e,t,n,a,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Et(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ns(o),e}function vy(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE($h)}catch(e){console.error(e)}}$h(),bd.exports=gt;var Xs=bd.exports;const Ey=_d(Xs),ky=Pd({__proto__:null,default:Ey},[Xs]);var Lf=Xs;Qa.createRoot=Lf.createRoot,Qa.hydrateRoot=Lf.hydrateRoot;/** * @remix-run/router v1.15.3 * * Copyright (c) Remix Software Inc. @@ -46,8 +46,8 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function ge(){return ge=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Mr(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function _y(){return Math.random().toString(36).substr(2,8)}function jf(e,t){return{usr:e.state,key:e.key,idx:t}}function qi(e,t,n,r){return n===void 0&&(n=null),ge({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?nn(t):t,{state:n,key:t&&t.key||r||_y()})}function er(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function nn(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Ty(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,l=i.history,a=we.Pop,u=null,s=c();s==null&&(s=0,l.replaceState(ge({},l.state,{idx:s}),""));function c(){return(l.state||{idx:null}).idx}function d(){a=we.Pop;let E=c(),p=E==null?null:E-s;s=E,u&&u({action:a,location:w.location,delta:p})}function h(E,p){a=we.Push;let f=qi(w.location,E,p);n&&n(f,E),s=c()+1;let m=jf(f,s),x=w.createHref(f);try{l.pushState(m,"",x)}catch(P){if(P instanceof DOMException&&P.name==="DataCloneError")throw P;i.location.assign(x)}o&&u&&u({action:a,location:w.location,delta:1})}function g(E,p){a=we.Replace;let f=qi(w.location,E,p);n&&n(f,E),s=c();let m=jf(f,s),x=w.createHref(f);l.replaceState(m,"",x),o&&u&&u({action:a,location:w.location,delta:0})}function y(E){let p=i.location.origin!=="null"?i.location.origin:i.location.href,f=typeof E=="string"?E:er(E);return f=f.replace(/ $/,"%20"),K(p,"No window.location.(origin|href) available to create URL for href: "+f),new URL(f,p)}let w={get action(){return a},get location(){return e(i,l)},listen(E){if(u)throw new Error("A history only accepts one active listener");return i.addEventListener(Lf,d),u=E,()=>{i.removeEventListener(Lf,d),u=null}},createHref(E){return t(i,E)},createURL:y,encodeLocation(E){let p=y(E);return{pathname:p.pathname,search:p.search,hash:p.hash}},push:h,replace:g,go(E){return l.go(E)}};return w}var he;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(he||(he={}));const Ry=new Set(["lazy","caseSensitive","path","id","index","children"]);function Ny(e){return e.index===!0}function $u(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((i,o)=>{let l=[...n,o],a=typeof i.id=="string"?i.id:l.join("-");if(K(i.index!==!0||!i.children,"Cannot specify children on an index route"),K(!r[a],'Found a route id collision on id "'+a+`". Route id's must be globally unique within Data Router usages`),Ny(i)){let u=ge({},i,t(i),{id:a});return r[a]=u,u}else{let u=ge({},i,t(i),{id:a,children:void 0});return r[a]=u,i.children&&(u.children=$u(i.children,t,l,r)),u}})}function xr(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?nn(t):t,i=Kr(r.pathname||"/",n);if(i==null)return null;let o=zh(e);Ly(o);let l=null;for(let a=0;l==null&&a{let u={relativePath:a===void 0?o.path||"":a,caseSensitive:o.caseSensitive===!0,childrenIndex:l,route:o};u.relativePath.startsWith("/")&&(K(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let s=Xt([r,u.relativePath]),c=n.concat(u);o.children&&o.children.length>0&&(K(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+s+'".')),zh(o.children,t,c,s)),!(o.path==null&&!o.index)&&t.push({path:s,score:My(s,o.index),routesMeta:c})};return e.forEach((o,l)=>{var a;if(o.path===""||!((a=o.path)!=null&&a.includes("?")))i(o,l);else for(let u of Uh(o.path))i(o,l,u)}),t}function Uh(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let l=Uh(r.join("/")),a=[];return a.push(...l.map(u=>u===""?o:[o,u].join("/"))),i&&a.push(...l),a.map(u=>e.startsWith("/")&&u===""?"/":u)}function Ly(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:$y(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const jy=/^:[\w-]+$/,Ay=3,Dy=2,Fy=1,Iy=10,by=-2,Af=e=>e==="*";function My(e,t){let n=e.split("/"),r=n.length;return n.some(Af)&&(r+=by),t&&(r+=Dy),n.filter(i=>!Af(i)).reduce((i,o)=>i+(jy.test(o)?Ay:o===""?Fy:Iy),r)}function $y(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function zy(e,t){let{routesMeta:n}=e,r={},i="/",o=[];for(let l=0;l{let{paramName:h,isOptional:g}=c;if(h==="*"){let w=a[d]||"";l=o.slice(0,o.length-w.length).replace(/(.)\/+$/,"$1")}const y=a[d];return g&&!y?s[h]=void 0:s[h]=(y||"").replace(/%2F/g,"/"),s},{}),pathname:o,pathnameBase:l,pattern:e}}function By(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Mr(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,a,u)=>(r.push({paramName:a,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function Wy(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Mr(!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 Kr(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Hy(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?nn(e):e;return{pathname:n?n.startsWith("/")?n:Vy(n,t):t,search:Ky(r),hash:Yy(i)}}function Vy(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Ia(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Bh(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function qs(e,t){let n=Bh(e);return t?n.map((r,i)=>i===e.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Js(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=nn(e):(i=ge({},e),K(!i.pathname||!i.pathname.includes("?"),Ia("?","pathname","search",i)),K(!i.pathname||!i.pathname.includes("#"),Ia("#","pathname","hash",i)),K(!i.search||!i.search.includes("#"),Ia("#","search","hash",i)));let o=e===""||i.pathname==="",l=o?"/":i.pathname,a;if(l==null)a=n;else{let d=t.length-1;if(!r&&l.startsWith("..")){let h=l.split("/");for(;h[0]==="..";)h.shift(),d-=1;i.pathname=h.join("/")}a=d>=0?t[d]:"/"}let u=Hy(i,a),s=l&&l!=="/"&&l.endsWith("/"),c=(o||l===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(s||c)&&(u.pathname+="/"),u}const Xt=e=>e.join("/").replace(/\/\/+/g,"/"),Qy=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Ky=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Yy=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class Zs{constructor(t,n,r,i){i===void 0&&(i=!1),this.status=t,this.statusText=n||"",this.internal=i,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function Wh(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Hh=["post","put","patch","delete"],Gy=new Set(Hh),Xy=["get",...Hh],qy=new Set(Xy),Jy=new Set([301,302,303,307,308]),Zy=new Set([307,308]),ba={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},e0={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ui={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Vh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,t0=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),Qh="remix-router-transitions";function n0(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",r=!n;K(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 S=e.detectErrorBoundary;i=k=>({hasErrorBoundary:S(k)})}else i=t0;let o={},l=$u(e.routes,i,void 0,o),a,u=e.basename||"/",s=ge({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1},e.future),c=null,d=new Set,h=null,g=null,y=null,w=e.hydrationData!=null,E=xr(l,e.history.location,u),p=null;if(E==null){let S=wt(404,{pathname:e.history.location.pathname}),{matches:k,route:T}=Uf(l);E=k,p={[T.id]:S}}let f,m=E.some(S=>S.route.lazy),x=E.some(S=>S.route.loader);if(m)f=!1;else if(!x)f=!0;else if(s.v7_partialHydration){let S=e.hydrationData?e.hydrationData.loaderData:null,k=e.hydrationData?e.hydrationData.errors:null,T=j=>j.route.loader?j.route.loader.hydrate===!0?!1:S&&S[j.route.id]!==void 0||k&&k[j.route.id]!==void 0:!0;if(k){let j=E.findIndex(I=>k[I.route.id]!==void 0);f=E.slice(0,j+1).every(T)}else f=E.every(T)}else f=e.hydrationData!=null;let P,v={historyAction:e.history.action,location:e.history.location,matches:E,initialized:f,navigation:ba,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||p,fetchers:new Map,blockers:new Map},C=we.Pop,O=!1,A,b=!1,B=new Map,ce=null,re=!1,Fe=!1,at=[],Ie=[],J=new Map,N=0,F=-1,M=new Map,Q=new Set,X=new Map,ut=new Map,ve=new Set,Be=new Map,ye=new Map,st=!1;function Dn(){if(c=e.history.listen(S=>{let{action:k,location:T,delta:j}=S;if(st){st=!1;return}Mr(ye.size===0||j!=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 I=yc({currentLocation:v.location,nextLocation:T,historyAction:k});if(I&&j!=null){st=!0,e.history.go(j*-1),po(I,{state:"blocked",location:T,proceed(){po(I,{state:"proceeding",proceed:void 0,reset:void 0,location:T}),e.history.go(j)},reset(){let V=new Map(v.blockers);V.set(I,ui),Te({blockers:V})}});return}return Fn(k,T)}),n){p0(t,B);let S=()=>h0(t,B);t.addEventListener("pagehide",S),ce=()=>t.removeEventListener("pagehide",S)}return v.initialized||Fn(we.Pop,v.location,{initialHydration:!0}),P}function Wt(){c&&c(),ce&&ce(),d.clear(),A&&A.abort(),v.fetchers.forEach((S,k)=>fo(k)),v.blockers.forEach((S,k)=>vc(k))}function Xr(S){return d.add(S),()=>d.delete(S)}function Te(S,k){k===void 0&&(k={}),v=ge({},v,S);let T=[],j=[];s.v7_fetcherPersist&&v.fetchers.forEach((I,V)=>{I.state==="idle"&&(ve.has(V)?j.push(V):T.push(V))}),[...d].forEach(I=>I(v,{deletedFetchers:j,unstable_viewTransitionOpts:k.viewTransitionOpts,unstable_flushSync:k.flushSync===!0})),s.v7_fetcherPersist&&(T.forEach(I=>v.fetchers.delete(I)),j.forEach(I=>fo(I)))}function Je(S,k,T){var j,I;let{flushSync:V}=T===void 0?{}:T,U=v.actionData!=null&&v.navigation.formMethod!=null&&Ot(v.navigation.formMethod)&&v.navigation.state==="loading"&&((j=S.state)==null?void 0:j._isRedirect)!==!0,z;k.actionData?Object.keys(k.actionData).length>0?z=k.actionData:z=null:U?z=v.actionData:z=null;let $=k.loaderData?zf(v.loaderData,k.loaderData,k.matches||[],k.errors):v.loaderData,G=v.blockers;G.size>0&&(G=new Map(G),G.forEach((ie,be)=>G.set(be,ui)));let Re=O===!0||v.navigation.formMethod!=null&&Ot(v.navigation.formMethod)&&((I=S.state)==null?void 0:I._isRedirect)!==!0;a&&(l=a,a=void 0),re||C===we.Pop||(C===we.Push?e.history.push(S,S.state):C===we.Replace&&e.history.replace(S,S.state));let W;if(C===we.Pop){let ie=B.get(v.location.pathname);ie&&ie.has(S.pathname)?W={currentLocation:v.location,nextLocation:S}:B.has(S.pathname)&&(W={currentLocation:S,nextLocation:v.location})}else if(b){let ie=B.get(v.location.pathname);ie?ie.add(S.pathname):(ie=new Set([S.pathname]),B.set(v.location.pathname,ie)),W={currentLocation:v.location,nextLocation:S}}Te(ge({},k,{actionData:z,loaderData:$,historyAction:C,location:S,initialized:!0,navigation:ba,revalidation:"idle",restoreScrollPosition:Sc(S,k.matches||v.matches),preventScrollReset:Re,blockers:G}),{viewTransitionOpts:W,flushSync:V===!0}),C=we.Pop,O=!1,b=!1,re=!1,Fe=!1,at=[],Ie=[]}async function fc(S,k){if(typeof S=="number"){e.history.go(S);return}let T=zu(v.location,v.matches,u,s.v7_prependBasename,S,s.v7_relativeSplatPath,k==null?void 0:k.fromRouteId,k==null?void 0:k.relative),{path:j,submission:I,error:V}=Df(s.v7_normalizeFormMethod,!1,T,k),U=v.location,z=qi(v.location,j,k&&k.state);z=ge({},z,e.history.encodeLocation(z));let $=k&&k.replace!=null?k.replace:void 0,G=we.Push;$===!0?G=we.Replace:$===!1||I!=null&&Ot(I.formMethod)&&I.formAction===v.location.pathname+v.location.search&&(G=we.Replace);let Re=k&&"preventScrollReset"in k?k.preventScrollReset===!0:void 0,W=(k&&k.unstable_flushSync)===!0,ie=yc({currentLocation:U,nextLocation:z,historyAction:G});if(ie){po(ie,{state:"blocked",location:z,proceed(){po(ie,{state:"proceeding",proceed:void 0,reset:void 0,location:z}),fc(S,k)},reset(){let be=new Map(v.blockers);be.set(ie,ui),Te({blockers:be})}});return}return await Fn(G,z,{submission:I,pendingError:V,preventScrollReset:Re,replace:k&&k.replace,enableViewTransition:k&&k.unstable_viewTransition,flushSync:W})}function zm(){if(oa(),Te({revalidation:"loading"}),v.navigation.state!=="submitting"){if(v.navigation.state==="idle"){Fn(v.historyAction,v.location,{startUninterruptedRevalidation:!0});return}Fn(C||v.historyAction,v.navigation.location,{overrideNavigation:v.navigation})}}async function Fn(S,k,T){A&&A.abort(),A=null,C=S,re=(T&&T.startUninterruptedRevalidation)===!0,Gm(v.location,v.matches),O=(T&&T.preventScrollReset)===!0,b=(T&&T.enableViewTransition)===!0;let j=a||l,I=T&&T.overrideNavigation,V=xr(j,k,u),U=(T&&T.flushSync)===!0;if(!V){let be=wt(404,{pathname:k.pathname}),{matches:ct,route:Ne}=Uf(j);la(),Je(k,{matches:ct,loaderData:{},errors:{[Ne.id]:be}},{flushSync:U});return}if(v.initialized&&!Fe&&a0(v.location,k)&&!(T&&T.submission&&Ot(T.submission.formMethod))){Je(k,{matches:V},{flushSync:U});return}A=new AbortController;let z=ci(e.history,k,A.signal,T&&T.submission),$,G;if(T&&T.pendingError)G={[Ni(V).route.id]:T.pendingError};else if(T&&T.submission&&Ot(T.submission.formMethod)){let be=await Um(z,k,T.submission,V,{replace:T.replace,flushSync:U});if(be.shortCircuited)return;$=be.pendingActionData,G=be.pendingActionError,I=Ma(k,T.submission),U=!1,z=new Request(z.url,{signal:z.signal})}let{shortCircuited:Re,loaderData:W,errors:ie}=await Bm(z,k,V,I,T&&T.submission,T&&T.fetcherSubmission,T&&T.replace,T&&T.initialHydration===!0,U,$,G);Re||(A=null,Je(k,ge({matches:V},$?{actionData:$}:{},{loaderData:W,errors:ie})))}async function Um(S,k,T,j,I){I===void 0&&(I={}),oa();let V=f0(k,T);Te({navigation:V},{flushSync:I.flushSync===!0});let U,z=Bu(j,k);if(!z.route.action&&!z.route.lazy)U={type:he.error,error:wt(405,{method:S.method,pathname:k.pathname,routeId:z.route.id})};else if(U=await si("action",S,z,j,o,i,u,s.v7_relativeSplatPath),S.signal.aborted)return{shortCircuited:!0};if(Wn(U)){let $;return I&&I.replace!=null?$=I.replace:$=U.location===v.location.pathname+v.location.search,await qr(v,U,{submission:T,replace:$}),{shortCircuited:!0}}if(Er(U)){let $=Ni(j,z.route.id);return(I&&I.replace)!==!0&&(C=we.Push),{pendingActionData:{},pendingActionError:{[$.route.id]:U.error}}}if(Bn(U))throw wt(400,{type:"defer-action"});return{pendingActionData:{[z.route.id]:U.data}}}async function Bm(S,k,T,j,I,V,U,z,$,G,Re){let W=j||Ma(k,I),ie=I||V||Hf(W),be=a||l,[ct,Ne]=Ff(e.history,v,T,ie,k,s.v7_partialHydration&&z===!0,Fe,at,Ie,ve,X,Q,be,u,G,Re);if(la(Z=>!(T&&T.some(ne=>ne.route.id===Z))||ct&&ct.some(ne=>ne.route.id===Z)),F=++N,ct.length===0&&Ne.length===0){let Z=mc();return Je(k,ge({matches:T,loaderData:{},errors:Re||null},G?{actionData:G}:{},Z?{fetchers:new Map(v.fetchers)}:{}),{flushSync:$}),{shortCircuited:!0}}if(!re&&(!s.v7_partialHydration||!z)){Ne.forEach(ne=>{let Ze=v.fetchers.get(ne.key),mo=fi(void 0,Ze?Ze.data:void 0);v.fetchers.set(ne.key,mo)});let Z=G||v.actionData;Te(ge({navigation:W},Z?Object.keys(Z).length===0?{actionData:null}:{actionData:Z}:{},Ne.length>0?{fetchers:new Map(v.fetchers)}:{}),{flushSync:$})}Ne.forEach(Z=>{J.has(Z.key)&&on(Z.key),Z.controller&&J.set(Z.key,Z.controller)});let ir=()=>Ne.forEach(Z=>on(Z.key));A&&A.signal.addEventListener("abort",ir);let{results:aa,loaderResults:or,fetcherResults:ln}=await dc(v.matches,T,ct,Ne,S);if(S.signal.aborted)return{shortCircuited:!0};A&&A.signal.removeEventListener("abort",ir),Ne.forEach(Z=>J.delete(Z.key));let In=Bf(aa);if(In){if(In.idx>=ct.length){let Z=Ne[In.idx-ct.length].key;Q.add(Z)}return await qr(v,In.result,{replace:U}),{shortCircuited:!0}}let{loaderData:ua,errors:Zr}=$f(v,T,ct,or,Re,Ne,ln,Be);Be.forEach((Z,ne)=>{Z.subscribe(Ze=>{(Ze||Z.done)&&Be.delete(ne)})}),s.v7_partialHydration&&z&&v.errors&&Object.entries(v.errors).filter(Z=>{let[ne]=Z;return!ct.some(Ze=>Ze.route.id===ne)}).forEach(Z=>{let[ne,Ze]=Z;Zr=Object.assign(Zr||{},{[ne]:Ze})});let sa=mc(),lr=gc(F),ho=sa||lr||Ne.length>0;return ge({loaderData:ua,errors:Zr},ho?{fetchers:new Map(v.fetchers)}:{})}function Wm(S,k,T,j){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");J.has(S)&&on(S);let I=(j&&j.unstable_flushSync)===!0,V=a||l,U=zu(v.location,v.matches,u,s.v7_prependBasename,T,s.v7_relativeSplatPath,k,j==null?void 0:j.relative),z=xr(V,U,u);if(!z){Jr(S,k,wt(404,{pathname:U}),{flushSync:I});return}let{path:$,submission:G,error:Re}=Df(s.v7_normalizeFormMethod,!0,U,j);if(Re){Jr(S,k,Re,{flushSync:I});return}let W=Bu(z,$);if(O=(j&&j.preventScrollReset)===!0,G&&Ot(G.formMethod)){Hm(S,k,$,W,z,I,G);return}X.set(S,{routeId:k,path:$}),Vm(S,k,$,W,z,I,G)}async function Hm(S,k,T,j,I,V,U){if(oa(),X.delete(S),!j.route.action&&!j.route.lazy){let ne=wt(405,{method:U.formMethod,pathname:T,routeId:k});Jr(S,k,ne,{flushSync:V});return}let z=v.fetchers.get(S);rn(S,d0(U,z),{flushSync:V});let $=new AbortController,G=ci(e.history,T,$.signal,U);J.set(S,$);let Re=N,W=await si("action",G,j,I,o,i,u,s.v7_relativeSplatPath);if(G.signal.aborted){J.get(S)===$&&J.delete(S);return}if(s.v7_fetcherPersist&&ve.has(S)){if(Wn(W)||Er(W)){rn(S,sn(void 0));return}}else{if(Wn(W))if(J.delete(S),F>Re){rn(S,sn(void 0));return}else return Q.add(S),rn(S,fi(U)),qr(v,W,{fetcherSubmission:U});if(Er(W)){Jr(S,k,W.error);return}}if(Bn(W))throw wt(400,{type:"defer-action"});let ie=v.navigation.location||v.location,be=ci(e.history,ie,$.signal),ct=a||l,Ne=v.navigation.state!=="idle"?xr(ct,v.navigation.location,u):v.matches;K(Ne,"Didn't find any matches after fetcher action");let ir=++N;M.set(S,ir);let aa=fi(U,W.data);v.fetchers.set(S,aa);let[or,ln]=Ff(e.history,v,Ne,U,ie,!1,Fe,at,Ie,ve,X,Q,ct,u,{[j.route.id]:W.data},void 0);ln.filter(ne=>ne.key!==S).forEach(ne=>{let Ze=ne.key,mo=v.fetchers.get(Ze),qm=fi(void 0,mo?mo.data:void 0);v.fetchers.set(Ze,qm),J.has(Ze)&&on(Ze),ne.controller&&J.set(Ze,ne.controller)}),Te({fetchers:new Map(v.fetchers)});let In=()=>ln.forEach(ne=>on(ne.key));$.signal.addEventListener("abort",In);let{results:ua,loaderResults:Zr,fetcherResults:sa}=await dc(v.matches,Ne,or,ln,be);if($.signal.aborted)return;$.signal.removeEventListener("abort",In),M.delete(S),J.delete(S),ln.forEach(ne=>J.delete(ne.key));let lr=Bf(ua);if(lr){if(lr.idx>=or.length){let ne=ln[lr.idx-or.length].key;Q.add(ne)}return qr(v,lr.result)}let{loaderData:ho,errors:Z}=$f(v,v.matches,or,Zr,void 0,ln,sa,Be);if(v.fetchers.has(S)){let ne=sn(W.data);v.fetchers.set(S,ne)}gc(ir),v.navigation.state==="loading"&&ir>F?(K(C,"Expected pending action"),A&&A.abort(),Je(v.navigation.location,{matches:Ne,loaderData:ho,errors:Z,fetchers:new Map(v.fetchers)})):(Te({errors:Z,loaderData:zf(v.loaderData,ho,Ne,Z),fetchers:new Map(v.fetchers)}),Fe=!1)}async function Vm(S,k,T,j,I,V,U){let z=v.fetchers.get(S);rn(S,fi(U,z?z.data:void 0),{flushSync:V});let $=new AbortController,G=ci(e.history,T,$.signal);J.set(S,$);let Re=N,W=await si("loader",G,j,I,o,i,u,s.v7_relativeSplatPath);if(Bn(W)&&(W=await Gh(W,G.signal,!0)||W),J.get(S)===$&&J.delete(S),!G.signal.aborted){if(ve.has(S)){rn(S,sn(void 0));return}if(Wn(W))if(F>Re){rn(S,sn(void 0));return}else{Q.add(S),await qr(v,W);return}if(Er(W)){Jr(S,k,W.error);return}K(!Bn(W),"Unhandled fetcher deferred data"),rn(S,sn(W.data))}}async function qr(S,k,T){let{submission:j,fetcherSubmission:I,replace:V}=T===void 0?{}:T;k.revalidate&&(Fe=!0);let U=qi(S.location,k.location,{_isRedirect:!0});if(K(U,"Expected a location on the redirect navigation"),n){let ie=!1;if(k.reloadDocument)ie=!0;else if(Vh.test(k.location)){const be=e.history.createURL(k.location);ie=be.origin!==t.location.origin||Kr(be.pathname,u)==null}if(ie){V?t.location.replace(k.location):t.location.assign(k.location);return}}A=null;let z=V===!0?we.Replace:we.Push,{formMethod:$,formAction:G,formEncType:Re}=S.navigation;!j&&!I&&$&&G&&Re&&(j=Hf(S.navigation));let W=j||I;if(Zy.has(k.status)&&W&&Ot(W.formMethod))await Fn(z,U,{submission:ge({},W,{formAction:k.location}),preventScrollReset:O});else{let ie=Ma(U,j);await Fn(z,U,{overrideNavigation:ie,fetcherSubmission:I,preventScrollReset:O})}}async function dc(S,k,T,j,I){let V=await Promise.all([...T.map($=>si("loader",I,$,k,o,i,u,s.v7_relativeSplatPath)),...j.map($=>$.matches&&$.match&&$.controller?si("loader",ci(e.history,$.path,$.controller.signal),$.match,$.matches,o,i,u,s.v7_relativeSplatPath):{type:he.error,error:wt(404,{pathname:$.path})})]),U=V.slice(0,T.length),z=V.slice(T.length);return await Promise.all([Wf(S,T,U,U.map(()=>I.signal),!1,v.loaderData),Wf(S,j.map($=>$.match),z,j.map($=>$.controller?$.controller.signal:null),!0)]),{results:V,loaderResults:U,fetcherResults:z}}function oa(){Fe=!0,at.push(...la()),X.forEach((S,k)=>{J.has(k)&&(Ie.push(k),on(k))})}function rn(S,k,T){T===void 0&&(T={}),v.fetchers.set(S,k),Te({fetchers:new Map(v.fetchers)},{flushSync:(T&&T.flushSync)===!0})}function Jr(S,k,T,j){j===void 0&&(j={});let I=Ni(v.matches,k);fo(S),Te({errors:{[I.route.id]:T},fetchers:new Map(v.fetchers)},{flushSync:(j&&j.flushSync)===!0})}function pc(S){return s.v7_fetcherPersist&&(ut.set(S,(ut.get(S)||0)+1),ve.has(S)&&ve.delete(S)),v.fetchers.get(S)||e0}function fo(S){let k=v.fetchers.get(S);J.has(S)&&!(k&&k.state==="loading"&&M.has(S))&&on(S),X.delete(S),M.delete(S),Q.delete(S),ve.delete(S),v.fetchers.delete(S)}function Qm(S){if(s.v7_fetcherPersist){let k=(ut.get(S)||0)-1;k<=0?(ut.delete(S),ve.add(S)):ut.set(S,k)}else fo(S);Te({fetchers:new Map(v.fetchers)})}function on(S){let k=J.get(S);K(k,"Expected fetch controller: "+S),k.abort(),J.delete(S)}function hc(S){for(let k of S){let T=pc(k),j=sn(T.data);v.fetchers.set(k,j)}}function mc(){let S=[],k=!1;for(let T of Q){let j=v.fetchers.get(T);K(j,"Expected fetcher: "+T),j.state==="loading"&&(Q.delete(T),S.push(T),k=!0)}return hc(S),k}function gc(S){let k=[];for(let[T,j]of M)if(j0}function Km(S,k){let T=v.blockers.get(S)||ui;return ye.get(S)!==k&&ye.set(S,k),T}function vc(S){v.blockers.delete(S),ye.delete(S)}function po(S,k){let T=v.blockers.get(S)||ui;K(T.state==="unblocked"&&k.state==="blocked"||T.state==="blocked"&&k.state==="blocked"||T.state==="blocked"&&k.state==="proceeding"||T.state==="blocked"&&k.state==="unblocked"||T.state==="proceeding"&&k.state==="unblocked","Invalid blocker state transition: "+T.state+" -> "+k.state);let j=new Map(v.blockers);j.set(S,k),Te({blockers:j})}function yc(S){let{currentLocation:k,nextLocation:T,historyAction:j}=S;if(ye.size===0)return;ye.size>1&&Mr(!1,"A router only supports one blocker at a time");let I=Array.from(ye.entries()),[V,U]=I[I.length-1],z=v.blockers.get(V);if(!(z&&z.state==="proceeding")&&U({currentLocation:k,nextLocation:T,historyAction:j}))return V}function la(S){let k=[];return Be.forEach((T,j)=>{(!S||S(j))&&(T.cancel(),k.push(j),Be.delete(j))}),k}function Ym(S,k,T){if(h=S,y=k,g=T||null,!w&&v.navigation===ba){w=!0;let j=Sc(v.location,v.matches);j!=null&&Te({restoreScrollPosition:j})}return()=>{h=null,y=null,g=null}}function wc(S,k){return g&&g(S,k.map(j=>Oy(j,v.loaderData)))||S.key}function Gm(S,k){if(h&&y){let T=wc(S,k);h[T]=y()}}function Sc(S,k){if(h){let T=wc(S,k),j=h[T];if(typeof j=="number")return j}return null}function Xm(S){o={},a=$u(S,i,void 0,o)}return P={get basename(){return u},get future(){return s},get state(){return v},get routes(){return l},get window(){return t},initialize:Dn,subscribe:Xr,enableScrollRestoration:Ym,navigate:fc,fetch:Wm,revalidate:zm,createHref:S=>e.history.createHref(S),encodeLocation:S=>e.history.encodeLocation(S),getFetcher:pc,deleteFetcher:Qm,dispose:Wt,getBlocker:Km,deleteBlocker:vc,_internalFetchControllers:J,_internalActiveDeferreds:Be,_internalSetRoutes:Xm},P}function r0(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function zu(e,t,n,r,i,o,l,a){let u,s;if(l){u=[];for(let d of t)if(u.push(d),d.route.id===l){s=d;break}}else u=t,s=t[t.length-1];let c=Js(i||".",qs(u,o),Kr(e.pathname,n)||e.pathname,a==="path");return i==null&&(c.search=e.search,c.hash=e.hash),(i==null||i===""||i===".")&&s&&s.route.index&&!ec(c.search)&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(c.pathname=c.pathname==="/"?n:Xt([n,c.pathname])),er(c)}function Df(e,t,n,r){if(!r||!r0(r))return{path:n};if(r.formMethod&&!c0(r.formMethod))return{path:n,error:wt(405,{method:r.formMethod})};let i=()=>({path:n,error:wt(400,{type:"invalid-body"})}),o=r.formMethod||"get",l=e?o.toUpperCase():o.toLowerCase(),a=Yh(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!Ot(l))return i();let h=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((g,y)=>{let[w,E]=y;return""+g+w+"="+E+` -`},""):String(r.body);return{path:n,submission:{formMethod:l,formAction:a,formEncType:r.formEncType,formData:void 0,json:void 0,text:h}}}else if(r.formEncType==="application/json"){if(!Ot(l))return i();try{let h=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:l,formAction:a,formEncType:r.formEncType,formData:void 0,json:h,text:void 0}}}catch{return i()}}}K(typeof FormData=="function","FormData is not available in this environment");let u,s;if(r.formData)u=Uu(r.formData),s=r.formData;else if(r.body instanceof FormData)u=Uu(r.body),s=r.body;else if(r.body instanceof URLSearchParams)u=r.body,s=Mf(u);else if(r.body==null)u=new URLSearchParams,s=new FormData;else try{u=new URLSearchParams(r.body),s=Mf(u)}catch{return i()}let c={formMethod:l,formAction:a,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:s,json:void 0,text:void 0};if(Ot(c.formMethod))return{path:n,submission:c};let d=nn(n);return t&&d.search&&ec(d.search)&&u.append("index",""),d.search="?"+u,{path:er(d),submission:c}}function i0(e,t){let n=e;if(t){let r=e.findIndex(i=>i.route.id===t);r>=0&&(n=e.slice(0,r))}return n}function Ff(e,t,n,r,i,o,l,a,u,s,c,d,h,g,y,w){let E=w?Object.values(w)[0]:y?Object.values(y)[0]:void 0,p=e.createURL(t.location),f=e.createURL(i),m=w?Object.keys(w)[0]:void 0,P=i0(n,m).filter((C,O)=>{let{route:A}=C;if(A.lazy)return!0;if(A.loader==null)return!1;if(o)return A.loader.hydrate?!0:t.loaderData[A.id]===void 0&&(!t.errors||t.errors[A.id]===void 0);if(o0(t.loaderData,t.matches[O],C)||a.some(ce=>ce===C.route.id))return!0;let b=t.matches[O],B=C;return If(C,ge({currentUrl:p,currentParams:b.params,nextUrl:f,nextParams:B.params},r,{actionResult:E,defaultShouldRevalidate:l||p.pathname+p.search===f.pathname+f.search||p.search!==f.search||Kh(b,B)}))}),v=[];return c.forEach((C,O)=>{if(o||!n.some(re=>re.route.id===C.routeId)||s.has(O))return;let A=xr(h,C.path,g);if(!A){v.push({key:O,routeId:C.routeId,path:C.path,matches:null,match:null,controller:null});return}let b=t.fetchers.get(O),B=Bu(A,C.path),ce=!1;d.has(O)?ce=!1:u.includes(O)?ce=!0:b&&b.state!=="idle"&&b.data===void 0?ce=l:ce=If(B,ge({currentUrl:p,currentParams:t.matches[t.matches.length-1].params,nextUrl:f,nextParams:n[n.length-1].params},r,{actionResult:E,defaultShouldRevalidate:l})),ce&&v.push({key:O,routeId:C.routeId,path:C.path,matches:A,match:B,controller:new AbortController})}),[P,v]}function o0(e,t,n){let r=!t||n.route.id!==t.route.id,i=e[n.route.id]===void 0;return r||i}function Kh(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function If(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function bf(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let i=n[e.id];K(i,"No route found in manifest");let o={};for(let l in r){let u=i[l]!==void 0&&l!=="hasErrorBoundary";Mr(!u,'Route "'+i.id+'" has a static property "'+l+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+l+'" will be ignored.')),!u&&!Ry.has(l)&&(o[l]=r[l])}Object.assign(i,o),Object.assign(i,ge({},t(i),{lazy:void 0}))}async function si(e,t,n,r,i,o,l,a,u){u===void 0&&(u={});let s,c,d,h=w=>{let E,p=new Promise((f,m)=>E=m);return d=()=>E(),t.signal.addEventListener("abort",d),Promise.race([w({request:t,params:n.params,context:u.requestContext}),p])};try{let w=n.route[e];if(n.route.lazy)if(w){let E,p=await Promise.all([h(w).catch(f=>{E=f}),bf(n.route,o,i)]);if(E)throw E;c=p[0]}else if(await bf(n.route,o,i),w=n.route[e],w)c=await h(w);else if(e==="action"){let E=new URL(t.url),p=E.pathname+E.search;throw wt(405,{method:t.method,pathname:p,routeId:n.route.id})}else return{type:he.data,data:void 0};else if(w)c=await h(w);else{let E=new URL(t.url),p=E.pathname+E.search;throw wt(404,{pathname:p})}K(c!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(w){s=he.error,c=w}finally{d&&t.signal.removeEventListener("abort",d)}if(s0(c)){let w=c.status;if(Jy.has(w)){let p=c.headers.get("Location");if(K(p,"Redirects returned/thrown from loaders/actions must have a Location header"),!Vh.test(p))p=zu(new URL(t.url),r.slice(0,r.indexOf(n)+1),l,!0,p,a);else if(!u.isStaticRequest){let f=new URL(t.url),m=p.startsWith("//")?new URL(f.protocol+p):new URL(p),x=Kr(m.pathname,l)!=null;m.origin===f.origin&&x&&(p=m.pathname+m.search+m.hash)}if(u.isStaticRequest)throw c.headers.set("Location",p),c;return{type:he.redirect,status:w,location:p,revalidate:c.headers.get("X-Remix-Revalidate")!==null,reloadDocument:c.headers.get("X-Remix-Reload-Document")!==null}}if(u.isRouteRequest)throw{type:s===he.error?he.error:he.data,response:c};let E;try{let p=c.headers.get("Content-Type");p&&/\bapplication\/json\b/.test(p)?c.body==null?E=null:E=await c.json():E=await c.text()}catch(p){return{type:he.error,error:p}}return s===he.error?{type:s,error:new Zs(w,c.statusText,E),headers:c.headers}:{type:he.data,data:E,statusCode:c.status,headers:c.headers}}if(s===he.error)return{type:s,error:c};if(u0(c)){var g,y;return{type:he.deferred,deferredData:c,statusCode:(g=c.init)==null?void 0:g.status,headers:((y=c.init)==null?void 0:y.headers)&&new Headers(c.init.headers)}}return{type:he.data,data:c}}function ci(e,t,n,r){let i=e.createURL(Yh(t)).toString(),o={signal:n};if(r&&Ot(r.formMethod)){let{formMethod:l,formEncType:a}=r;o.method=l.toUpperCase(),a==="application/json"?(o.headers=new Headers({"Content-Type":a}),o.body=JSON.stringify(r.json)):a==="text/plain"?o.body=r.text:a==="application/x-www-form-urlencoded"&&r.formData?o.body=Uu(r.formData):o.body=r.formData}return new Request(i,o)}function Uu(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r=="string"?r:r.name);return t}function Mf(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function l0(e,t,n,r,i){let o={},l=null,a,u=!1,s={};return n.forEach((c,d)=>{let h=t[d].route.id;if(K(!Wn(c),"Cannot handle redirect results in processLoaderData"),Er(c)){let g=Ni(e,h),y=c.error;r&&(y=Object.values(r)[0],r=void 0),l=l||{},l[g.route.id]==null&&(l[g.route.id]=y),o[h]=void 0,u||(u=!0,a=Wh(c.error)?c.error.status:500),c.headers&&(s[h]=c.headers)}else Bn(c)?(i.set(h,c.deferredData),o[h]=c.deferredData.data):o[h]=c.data,c.statusCode!=null&&c.statusCode!==200&&!u&&(a=c.statusCode),c.headers&&(s[h]=c.headers)}),r&&(l=r,o[Object.keys(r)[0]]=void 0),{loaderData:o,errors:l,statusCode:a||200,loaderHeaders:s}}function $f(e,t,n,r,i,o,l,a){let{loaderData:u,errors:s}=l0(t,n,r,i,a);for(let c=0;cr.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function Uf(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function wt(e,t){let{pathname:n,routeId:r,method:i,type:o}=t===void 0?{}:t,l="Unknown Server Error",a="Unknown @remix-run/router error";return e===400?(l="Bad Request",i&&n&&r?a="You made a "+i+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":o==="defer-action"?a="defer() is not supported in actions":o==="invalid-body"&&(a="Unable to encode submission body")):e===403?(l="Forbidden",a='Route "'+r+'" does not match URL "'+n+'"'):e===404?(l="Not Found",a='No route matches URL "'+n+'"'):e===405&&(l="Method Not Allowed",i&&n&&r?a="You made a "+i.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":i&&(a='Invalid request method "'+i.toUpperCase()+'"')),new Zs(e||500,l,new Error(a),!0)}function Bf(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(Wn(n))return{result:n,idx:t}}}function Yh(e){let t=typeof e=="string"?nn(e):e;return er(ge({},t,{hash:""}))}function a0(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function Bn(e){return e.type===he.deferred}function Er(e){return e.type===he.error}function Wn(e){return(e&&e.type)===he.redirect}function u0(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 s0(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function c0(e){return qy.has(e.toLowerCase())}function Ot(e){return Gy.has(e.toLowerCase())}async function Wf(e,t,n,r,i,o){for(let l=0;ld.route.id===u.route.id),c=s!=null&&!Kh(s,u)&&(o&&o[u.route.id])!==void 0;if(Bn(a)&&(i||c)){let d=r[l];K(d,"Expected an AbortSignal for revalidating fetcher deferred result"),await Gh(a,d,i).then(h=>{h&&(n[l]=h||n[l])})}}}async function Gh(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:he.data,data:e.deferredData.unwrappedData}}catch(i){return{type:he.error,error:i}}return{type:he.data,data:e.deferredData.data}}}function ec(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Bu(e,t){let n=typeof t=="string"?nn(t).search:t.search;if(e[e.length-1].route.index&&ec(n||""))return e[e.length-1];let r=Bh(e);return r[r.length-1]}function Hf(e){let{formMethod:t,formAction:n,formEncType:r,text:i,formData:o,json:l}=e;if(!(!t||!n||!r)){if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:i};if(o!=null)return{formMethod:t,formAction:n,formEncType:r,formData:o,json:void 0,text:void 0};if(l!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:l,text:void 0}}}function Ma(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 f0(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 fi(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 d0(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 sn(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 p0(e,t){try{let n=e.sessionStorage.getItem(Qh);if(n){let r=JSON.parse(n);for(let[i,o]of Object.entries(r||{}))o&&Array.isArray(o)&&t.set(i,new Set(o||[]))}}catch{}}function h0(e,t){if(t.size>0){let n={};for(let[r,i]of t)n[r]=[...i];try{e.sessionStorage.setItem(Qh,JSON.stringify(n))}catch(r){Mr(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/** + */function ge(){return ge=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Mr(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Py(){return Math.random().toString(36).substr(2,8)}function Af(e,t){return{usr:e.state,key:e.key,idx:t}}function qi(e,t,n,r){return n===void 0&&(n=null),ge({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?nn(t):t,{state:n,key:t&&t.key||r||Py()})}function er(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function nn(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function _y(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,l=i.history,a=we.Pop,u=null,s=c();s==null&&(s=0,l.replaceState(ge({},l.state,{idx:s}),""));function c(){return(l.state||{idx:null}).idx}function d(){a=we.Pop;let E=c(),p=E==null?null:E-s;s=E,u&&u({action:a,location:w.location,delta:p})}function h(E,p){a=we.Push;let f=qi(w.location,E,p);n&&n(f,E),s=c()+1;let m=Af(f,s),x=w.createHref(f);try{l.pushState(m,"",x)}catch(_){if(_ instanceof DOMException&&_.name==="DataCloneError")throw _;i.location.assign(x)}o&&u&&u({action:a,location:w.location,delta:1})}function g(E,p){a=we.Replace;let f=qi(w.location,E,p);n&&n(f,E),s=c();let m=Af(f,s),x=w.createHref(f);l.replaceState(m,"",x),o&&u&&u({action:a,location:w.location,delta:0})}function y(E){let p=i.location.origin!=="null"?i.location.origin:i.location.href,f=typeof E=="string"?E:er(E);return f=f.replace(/ $/,"%20"),K(p,"No window.location.(origin|href) available to create URL for href: "+f),new URL(f,p)}let w={get action(){return a},get location(){return e(i,l)},listen(E){if(u)throw new Error("A history only accepts one active listener");return i.addEventListener(jf,d),u=E,()=>{i.removeEventListener(jf,d),u=null}},createHref(E){return t(i,E)},createURL:y,encodeLocation(E){let p=y(E);return{pathname:p.pathname,search:p.search,hash:p.hash}},push:h,replace:g,go(E){return l.go(E)}};return w}var he;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(he||(he={}));const Ty=new Set(["lazy","caseSensitive","path","id","index","children"]);function Ry(e){return e.index===!0}function $u(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((i,o)=>{let l=[...n,o],a=typeof i.id=="string"?i.id:l.join("-");if(K(i.index!==!0||!i.children,"Cannot specify children on an index route"),K(!r[a],'Found a route id collision on id "'+a+`". Route id's must be globally unique within Data Router usages`),Ry(i)){let u=ge({},i,t(i),{id:a});return r[a]=u,u}else{let u=ge({},i,t(i),{id:a,children:void 0});return r[a]=u,i.children&&(u.children=$u(i.children,t,l,r)),u}})}function xr(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?nn(t):t,i=Kr(r.pathname||"/",n);if(i==null)return null;let o=zh(e);Oy(o);let l=null;for(let a=0;l==null&&a{let u={relativePath:a===void 0?o.path||"":a,caseSensitive:o.caseSensitive===!0,childrenIndex:l,route:o};u.relativePath.startsWith("/")&&(K(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let s=Xt([r,u.relativePath]),c=n.concat(u);o.children&&o.children.length>0&&(K(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+s+'".')),zh(o.children,t,c,s)),!(o.path==null&&!o.index)&&t.push({path:s,score:by(s,o.index),routesMeta:c})};return e.forEach((o,l)=>{var a;if(o.path===""||!((a=o.path)!=null&&a.includes("?")))i(o,l);else for(let u of Uh(o.path))i(o,l,u)}),t}function Uh(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let l=Uh(r.join("/")),a=[];return a.push(...l.map(u=>u===""?o:[o,u].join("/"))),i&&a.push(...l),a.map(u=>e.startsWith("/")&&u===""?"/":u)}function Oy(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:My(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Ly=/^:[\w-]+$/,jy=3,Ay=2,Dy=1,Fy=10,Iy=-2,Df=e=>e==="*";function by(e,t){let n=e.split("/"),r=n.length;return n.some(Df)&&(r+=Iy),t&&(r+=Ay),n.filter(i=>!Df(i)).reduce((i,o)=>i+(Ly.test(o)?jy:o===""?Dy:Fy),r)}function My(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function $y(e,t){let{routesMeta:n}=e,r={},i="/",o=[];for(let l=0;l{let{paramName:h,isOptional:g}=c;if(h==="*"){let w=a[d]||"";l=o.slice(0,o.length-w.length).replace(/(.)\/+$/,"$1")}const y=a[d];return g&&!y?s[h]=void 0:s[h]=(y||"").replace(/%2F/g,"/"),s},{}),pathname:o,pathnameBase:l,pattern:e}}function Uy(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Mr(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,a,u)=>(r.push({paramName:a,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function By(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Mr(!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 Kr(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Wy(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?nn(e):e;return{pathname:n?n.startsWith("/")?n:Hy(n,t):t,search:Qy(r),hash:Ky(i)}}function Hy(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Ia(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Bh(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function qs(e,t){let n=Bh(e);return t?n.map((r,i)=>i===e.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Js(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=nn(e):(i=ge({},e),K(!i.pathname||!i.pathname.includes("?"),Ia("?","pathname","search",i)),K(!i.pathname||!i.pathname.includes("#"),Ia("#","pathname","hash",i)),K(!i.search||!i.search.includes("#"),Ia("#","search","hash",i)));let o=e===""||i.pathname==="",l=o?"/":i.pathname,a;if(l==null)a=n;else{let d=t.length-1;if(!r&&l.startsWith("..")){let h=l.split("/");for(;h[0]==="..";)h.shift(),d-=1;i.pathname=h.join("/")}a=d>=0?t[d]:"/"}let u=Wy(i,a),s=l&&l!=="/"&&l.endsWith("/"),c=(o||l===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(s||c)&&(u.pathname+="/"),u}const Xt=e=>e.join("/").replace(/\/\/+/g,"/"),Vy=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Qy=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Ky=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class Zs{constructor(t,n,r,i){i===void 0&&(i=!1),this.status=t,this.statusText=n||"",this.internal=i,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function Wh(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Hh=["post","put","patch","delete"],Yy=new Set(Hh),Gy=["get",...Hh],Xy=new Set(Gy),qy=new Set([301,302,303,307,308]),Jy=new Set([307,308]),ba={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Zy={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ui={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Vh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,e0=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),Qh="remix-router-transitions";function t0(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",r=!n;K(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 S=e.detectErrorBoundary;i=k=>({hasErrorBoundary:S(k)})}else i=e0;let o={},l=$u(e.routes,i,void 0,o),a,u=e.basename||"/",s=ge({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1},e.future),c=null,d=new Set,h=null,g=null,y=null,w=e.hydrationData!=null,E=xr(l,e.history.location,u),p=null;if(E==null){let S=wt(404,{pathname:e.history.location.pathname}),{matches:k,route:T}=Bf(l);E=k,p={[T.id]:S}}let f,m=E.some(S=>S.route.lazy),x=E.some(S=>S.route.loader);if(m)f=!1;else if(!x)f=!0;else if(s.v7_partialHydration){let S=e.hydrationData?e.hydrationData.loaderData:null,k=e.hydrationData?e.hydrationData.errors:null,T=j=>j.route.loader?j.route.loader.hydrate===!0?!1:S&&S[j.route.id]!==void 0||k&&k[j.route.id]!==void 0:!0;if(k){let j=E.findIndex(I=>k[I.route.id]!==void 0);f=E.slice(0,j+1).every(T)}else f=E.every(T)}else f=e.hydrationData!=null;let _,v={historyAction:e.history.action,location:e.history.location,matches:E,initialized:f,navigation:ba,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||p,fetchers:new Map,blockers:new Map},C=we.Pop,O=!1,A,b=!1,B=new Map,ce=null,re=!1,Fe=!1,at=[],Ie=[],J=new Map,N=0,F=-1,M=new Map,Q=new Set,X=new Map,ut=new Map,ve=new Set,Be=new Map,ye=new Map,st=!1;function Dn(){if(c=e.history.listen(S=>{let{action:k,location:T,delta:j}=S;if(st){st=!1;return}Mr(ye.size===0||j!=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 I=wc({currentLocation:v.location,nextLocation:T,historyAction:k});if(I&&j!=null){st=!0,e.history.go(j*-1),po(I,{state:"blocked",location:T,proceed(){po(I,{state:"proceeding",proceed:void 0,reset:void 0,location:T}),e.history.go(j)},reset(){let V=new Map(v.blockers);V.set(I,ui),Te({blockers:V})}});return}return Fn(k,T)}),n){d0(t,B);let S=()=>p0(t,B);t.addEventListener("pagehide",S),ce=()=>t.removeEventListener("pagehide",S)}return v.initialized||Fn(we.Pop,v.location,{initialHydration:!0}),_}function Wt(){c&&c(),ce&&ce(),d.clear(),A&&A.abort(),v.fetchers.forEach((S,k)=>fo(k)),v.blockers.forEach((S,k)=>yc(k))}function Xr(S){return d.add(S),()=>d.delete(S)}function Te(S,k){k===void 0&&(k={}),v=ge({},v,S);let T=[],j=[];s.v7_fetcherPersist&&v.fetchers.forEach((I,V)=>{I.state==="idle"&&(ve.has(V)?j.push(V):T.push(V))}),[...d].forEach(I=>I(v,{deletedFetchers:j,unstable_viewTransitionOpts:k.viewTransitionOpts,unstable_flushSync:k.flushSync===!0})),s.v7_fetcherPersist&&(T.forEach(I=>v.fetchers.delete(I)),j.forEach(I=>fo(I)))}function Je(S,k,T){var j,I;let{flushSync:V}=T===void 0?{}:T,U=v.actionData!=null&&v.navigation.formMethod!=null&&Ot(v.navigation.formMethod)&&v.navigation.state==="loading"&&((j=S.state)==null?void 0:j._isRedirect)!==!0,z;k.actionData?Object.keys(k.actionData).length>0?z=k.actionData:z=null:U?z=v.actionData:z=null;let $=k.loaderData?Uf(v.loaderData,k.loaderData,k.matches||[],k.errors):v.loaderData,G=v.blockers;G.size>0&&(G=new Map(G),G.forEach((ie,be)=>G.set(be,ui)));let Re=O===!0||v.navigation.formMethod!=null&&Ot(v.navigation.formMethod)&&((I=S.state)==null?void 0:I._isRedirect)!==!0;a&&(l=a,a=void 0),re||C===we.Pop||(C===we.Push?e.history.push(S,S.state):C===we.Replace&&e.history.replace(S,S.state));let W;if(C===we.Pop){let ie=B.get(v.location.pathname);ie&&ie.has(S.pathname)?W={currentLocation:v.location,nextLocation:S}:B.has(S.pathname)&&(W={currentLocation:S,nextLocation:v.location})}else if(b){let ie=B.get(v.location.pathname);ie?ie.add(S.pathname):(ie=new Set([S.pathname]),B.set(v.location.pathname,ie)),W={currentLocation:v.location,nextLocation:S}}Te(ge({},k,{actionData:z,loaderData:$,historyAction:C,location:S,initialized:!0,navigation:ba,revalidation:"idle",restoreScrollPosition:xc(S,k.matches||v.matches),preventScrollReset:Re,blockers:G}),{viewTransitionOpts:W,flushSync:V===!0}),C=we.Pop,O=!1,b=!1,re=!1,Fe=!1,at=[],Ie=[]}async function dc(S,k){if(typeof S=="number"){e.history.go(S);return}let T=zu(v.location,v.matches,u,s.v7_prependBasename,S,s.v7_relativeSplatPath,k==null?void 0:k.fromRouteId,k==null?void 0:k.relative),{path:j,submission:I,error:V}=Ff(s.v7_normalizeFormMethod,!1,T,k),U=v.location,z=qi(v.location,j,k&&k.state);z=ge({},z,e.history.encodeLocation(z));let $=k&&k.replace!=null?k.replace:void 0,G=we.Push;$===!0?G=we.Replace:$===!1||I!=null&&Ot(I.formMethod)&&I.formAction===v.location.pathname+v.location.search&&(G=we.Replace);let Re=k&&"preventScrollReset"in k?k.preventScrollReset===!0:void 0,W=(k&&k.unstable_flushSync)===!0,ie=wc({currentLocation:U,nextLocation:z,historyAction:G});if(ie){po(ie,{state:"blocked",location:z,proceed(){po(ie,{state:"proceeding",proceed:void 0,reset:void 0,location:z}),dc(S,k)},reset(){let be=new Map(v.blockers);be.set(ie,ui),Te({blockers:be})}});return}return await Fn(G,z,{submission:I,pendingError:V,preventScrollReset:Re,replace:k&&k.replace,enableViewTransition:k&&k.unstable_viewTransition,flushSync:W})}function $m(){if(oa(),Te({revalidation:"loading"}),v.navigation.state!=="submitting"){if(v.navigation.state==="idle"){Fn(v.historyAction,v.location,{startUninterruptedRevalidation:!0});return}Fn(C||v.historyAction,v.navigation.location,{overrideNavigation:v.navigation})}}async function Fn(S,k,T){A&&A.abort(),A=null,C=S,re=(T&&T.startUninterruptedRevalidation)===!0,Ym(v.location,v.matches),O=(T&&T.preventScrollReset)===!0,b=(T&&T.enableViewTransition)===!0;let j=a||l,I=T&&T.overrideNavigation,V=xr(j,k,u),U=(T&&T.flushSync)===!0;if(!V){let be=wt(404,{pathname:k.pathname}),{matches:ct,route:Ne}=Bf(j);la(),Je(k,{matches:ct,loaderData:{},errors:{[Ne.id]:be}},{flushSync:U});return}if(v.initialized&&!Fe&&l0(v.location,k)&&!(T&&T.submission&&Ot(T.submission.formMethod))){Je(k,{matches:V},{flushSync:U});return}A=new AbortController;let z=ci(e.history,k,A.signal,T&&T.submission),$,G;if(T&&T.pendingError)G={[Ni(V).route.id]:T.pendingError};else if(T&&T.submission&&Ot(T.submission.formMethod)){let be=await zm(z,k,T.submission,V,{replace:T.replace,flushSync:U});if(be.shortCircuited)return;$=be.pendingActionData,G=be.pendingActionError,I=Ma(k,T.submission),U=!1,z=new Request(z.url,{signal:z.signal})}let{shortCircuited:Re,loaderData:W,errors:ie}=await Um(z,k,V,I,T&&T.submission,T&&T.fetcherSubmission,T&&T.replace,T&&T.initialHydration===!0,U,$,G);Re||(A=null,Je(k,ge({matches:V},$?{actionData:$}:{},{loaderData:W,errors:ie})))}async function zm(S,k,T,j,I){I===void 0&&(I={}),oa();let V=c0(k,T);Te({navigation:V},{flushSync:I.flushSync===!0});let U,z=Bu(j,k);if(!z.route.action&&!z.route.lazy)U={type:he.error,error:wt(405,{method:S.method,pathname:k.pathname,routeId:z.route.id})};else if(U=await si("action",S,z,j,o,i,u,s.v7_relativeSplatPath),S.signal.aborted)return{shortCircuited:!0};if(Wn(U)){let $;return I&&I.replace!=null?$=I.replace:$=U.location===v.location.pathname+v.location.search,await qr(v,U,{submission:T,replace:$}),{shortCircuited:!0}}if(Er(U)){let $=Ni(j,z.route.id);return(I&&I.replace)!==!0&&(C=we.Push),{pendingActionData:{},pendingActionError:{[$.route.id]:U.error}}}if(Bn(U))throw wt(400,{type:"defer-action"});return{pendingActionData:{[z.route.id]:U.data}}}async function Um(S,k,T,j,I,V,U,z,$,G,Re){let W=j||Ma(k,I),ie=I||V||Vf(W),be=a||l,[ct,Ne]=If(e.history,v,T,ie,k,s.v7_partialHydration&&z===!0,Fe,at,Ie,ve,X,Q,be,u,G,Re);if(la(Z=>!(T&&T.some(ne=>ne.route.id===Z))||ct&&ct.some(ne=>ne.route.id===Z)),F=++N,ct.length===0&&Ne.length===0){let Z=gc();return Je(k,ge({matches:T,loaderData:{},errors:Re||null},G?{actionData:G}:{},Z?{fetchers:new Map(v.fetchers)}:{}),{flushSync:$}),{shortCircuited:!0}}if(!re&&(!s.v7_partialHydration||!z)){Ne.forEach(ne=>{let Ze=v.fetchers.get(ne.key),mo=fi(void 0,Ze?Ze.data:void 0);v.fetchers.set(ne.key,mo)});let Z=G||v.actionData;Te(ge({navigation:W},Z?Object.keys(Z).length===0?{actionData:null}:{actionData:Z}:{},Ne.length>0?{fetchers:new Map(v.fetchers)}:{}),{flushSync:$})}Ne.forEach(Z=>{J.has(Z.key)&&on(Z.key),Z.controller&&J.set(Z.key,Z.controller)});let ir=()=>Ne.forEach(Z=>on(Z.key));A&&A.signal.addEventListener("abort",ir);let{results:aa,loaderResults:or,fetcherResults:ln}=await pc(v.matches,T,ct,Ne,S);if(S.signal.aborted)return{shortCircuited:!0};A&&A.signal.removeEventListener("abort",ir),Ne.forEach(Z=>J.delete(Z.key));let In=Wf(aa);if(In){if(In.idx>=ct.length){let Z=Ne[In.idx-ct.length].key;Q.add(Z)}return await qr(v,In.result,{replace:U}),{shortCircuited:!0}}let{loaderData:ua,errors:Zr}=zf(v,T,ct,or,Re,Ne,ln,Be);Be.forEach((Z,ne)=>{Z.subscribe(Ze=>{(Ze||Z.done)&&Be.delete(ne)})}),s.v7_partialHydration&&z&&v.errors&&Object.entries(v.errors).filter(Z=>{let[ne]=Z;return!ct.some(Ze=>Ze.route.id===ne)}).forEach(Z=>{let[ne,Ze]=Z;Zr=Object.assign(Zr||{},{[ne]:Ze})});let sa=gc(),lr=vc(F),ho=sa||lr||Ne.length>0;return ge({loaderData:ua,errors:Zr},ho?{fetchers:new Map(v.fetchers)}:{})}function Bm(S,k,T,j){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");J.has(S)&&on(S);let I=(j&&j.unstable_flushSync)===!0,V=a||l,U=zu(v.location,v.matches,u,s.v7_prependBasename,T,s.v7_relativeSplatPath,k,j==null?void 0:j.relative),z=xr(V,U,u);if(!z){Jr(S,k,wt(404,{pathname:U}),{flushSync:I});return}let{path:$,submission:G,error:Re}=Ff(s.v7_normalizeFormMethod,!0,U,j);if(Re){Jr(S,k,Re,{flushSync:I});return}let W=Bu(z,$);if(O=(j&&j.preventScrollReset)===!0,G&&Ot(G.formMethod)){Wm(S,k,$,W,z,I,G);return}X.set(S,{routeId:k,path:$}),Hm(S,k,$,W,z,I,G)}async function Wm(S,k,T,j,I,V,U){if(oa(),X.delete(S),!j.route.action&&!j.route.lazy){let ne=wt(405,{method:U.formMethod,pathname:T,routeId:k});Jr(S,k,ne,{flushSync:V});return}let z=v.fetchers.get(S);rn(S,f0(U,z),{flushSync:V});let $=new AbortController,G=ci(e.history,T,$.signal,U);J.set(S,$);let Re=N,W=await si("action",G,j,I,o,i,u,s.v7_relativeSplatPath);if(G.signal.aborted){J.get(S)===$&&J.delete(S);return}if(s.v7_fetcherPersist&&ve.has(S)){if(Wn(W)||Er(W)){rn(S,sn(void 0));return}}else{if(Wn(W))if(J.delete(S),F>Re){rn(S,sn(void 0));return}else return Q.add(S),rn(S,fi(U)),qr(v,W,{fetcherSubmission:U});if(Er(W)){Jr(S,k,W.error);return}}if(Bn(W))throw wt(400,{type:"defer-action"});let ie=v.navigation.location||v.location,be=ci(e.history,ie,$.signal),ct=a||l,Ne=v.navigation.state!=="idle"?xr(ct,v.navigation.location,u):v.matches;K(Ne,"Didn't find any matches after fetcher action");let ir=++N;M.set(S,ir);let aa=fi(U,W.data);v.fetchers.set(S,aa);let[or,ln]=If(e.history,v,Ne,U,ie,!1,Fe,at,Ie,ve,X,Q,ct,u,{[j.route.id]:W.data},void 0);ln.filter(ne=>ne.key!==S).forEach(ne=>{let Ze=ne.key,mo=v.fetchers.get(Ze),Xm=fi(void 0,mo?mo.data:void 0);v.fetchers.set(Ze,Xm),J.has(Ze)&&on(Ze),ne.controller&&J.set(Ze,ne.controller)}),Te({fetchers:new Map(v.fetchers)});let In=()=>ln.forEach(ne=>on(ne.key));$.signal.addEventListener("abort",In);let{results:ua,loaderResults:Zr,fetcherResults:sa}=await pc(v.matches,Ne,or,ln,be);if($.signal.aborted)return;$.signal.removeEventListener("abort",In),M.delete(S),J.delete(S),ln.forEach(ne=>J.delete(ne.key));let lr=Wf(ua);if(lr){if(lr.idx>=or.length){let ne=ln[lr.idx-or.length].key;Q.add(ne)}return qr(v,lr.result)}let{loaderData:ho,errors:Z}=zf(v,v.matches,or,Zr,void 0,ln,sa,Be);if(v.fetchers.has(S)){let ne=sn(W.data);v.fetchers.set(S,ne)}vc(ir),v.navigation.state==="loading"&&ir>F?(K(C,"Expected pending action"),A&&A.abort(),Je(v.navigation.location,{matches:Ne,loaderData:ho,errors:Z,fetchers:new Map(v.fetchers)})):(Te({errors:Z,loaderData:Uf(v.loaderData,ho,Ne,Z),fetchers:new Map(v.fetchers)}),Fe=!1)}async function Hm(S,k,T,j,I,V,U){let z=v.fetchers.get(S);rn(S,fi(U,z?z.data:void 0),{flushSync:V});let $=new AbortController,G=ci(e.history,T,$.signal);J.set(S,$);let Re=N,W=await si("loader",G,j,I,o,i,u,s.v7_relativeSplatPath);if(Bn(W)&&(W=await Gh(W,G.signal,!0)||W),J.get(S)===$&&J.delete(S),!G.signal.aborted){if(ve.has(S)){rn(S,sn(void 0));return}if(Wn(W))if(F>Re){rn(S,sn(void 0));return}else{Q.add(S),await qr(v,W);return}if(Er(W)){Jr(S,k,W.error);return}K(!Bn(W),"Unhandled fetcher deferred data"),rn(S,sn(W.data))}}async function qr(S,k,T){let{submission:j,fetcherSubmission:I,replace:V}=T===void 0?{}:T;k.revalidate&&(Fe=!0);let U=qi(S.location,k.location,{_isRedirect:!0});if(K(U,"Expected a location on the redirect navigation"),n){let ie=!1;if(k.reloadDocument)ie=!0;else if(Vh.test(k.location)){const be=e.history.createURL(k.location);ie=be.origin!==t.location.origin||Kr(be.pathname,u)==null}if(ie){V?t.location.replace(k.location):t.location.assign(k.location);return}}A=null;let z=V===!0?we.Replace:we.Push,{formMethod:$,formAction:G,formEncType:Re}=S.navigation;!j&&!I&&$&&G&&Re&&(j=Vf(S.navigation));let W=j||I;if(Jy.has(k.status)&&W&&Ot(W.formMethod))await Fn(z,U,{submission:ge({},W,{formAction:k.location}),preventScrollReset:O});else{let ie=Ma(U,j);await Fn(z,U,{overrideNavigation:ie,fetcherSubmission:I,preventScrollReset:O})}}async function pc(S,k,T,j,I){let V=await Promise.all([...T.map($=>si("loader",I,$,k,o,i,u,s.v7_relativeSplatPath)),...j.map($=>$.matches&&$.match&&$.controller?si("loader",ci(e.history,$.path,$.controller.signal),$.match,$.matches,o,i,u,s.v7_relativeSplatPath):{type:he.error,error:wt(404,{pathname:$.path})})]),U=V.slice(0,T.length),z=V.slice(T.length);return await Promise.all([Hf(S,T,U,U.map(()=>I.signal),!1,v.loaderData),Hf(S,j.map($=>$.match),z,j.map($=>$.controller?$.controller.signal:null),!0)]),{results:V,loaderResults:U,fetcherResults:z}}function oa(){Fe=!0,at.push(...la()),X.forEach((S,k)=>{J.has(k)&&(Ie.push(k),on(k))})}function rn(S,k,T){T===void 0&&(T={}),v.fetchers.set(S,k),Te({fetchers:new Map(v.fetchers)},{flushSync:(T&&T.flushSync)===!0})}function Jr(S,k,T,j){j===void 0&&(j={});let I=Ni(v.matches,k);fo(S),Te({errors:{[I.route.id]:T},fetchers:new Map(v.fetchers)},{flushSync:(j&&j.flushSync)===!0})}function hc(S){return s.v7_fetcherPersist&&(ut.set(S,(ut.get(S)||0)+1),ve.has(S)&&ve.delete(S)),v.fetchers.get(S)||Zy}function fo(S){let k=v.fetchers.get(S);J.has(S)&&!(k&&k.state==="loading"&&M.has(S))&&on(S),X.delete(S),M.delete(S),Q.delete(S),ve.delete(S),v.fetchers.delete(S)}function Vm(S){if(s.v7_fetcherPersist){let k=(ut.get(S)||0)-1;k<=0?(ut.delete(S),ve.add(S)):ut.set(S,k)}else fo(S);Te({fetchers:new Map(v.fetchers)})}function on(S){let k=J.get(S);K(k,"Expected fetch controller: "+S),k.abort(),J.delete(S)}function mc(S){for(let k of S){let T=hc(k),j=sn(T.data);v.fetchers.set(k,j)}}function gc(){let S=[],k=!1;for(let T of Q){let j=v.fetchers.get(T);K(j,"Expected fetcher: "+T),j.state==="loading"&&(Q.delete(T),S.push(T),k=!0)}return mc(S),k}function vc(S){let k=[];for(let[T,j]of M)if(j0}function Qm(S,k){let T=v.blockers.get(S)||ui;return ye.get(S)!==k&&ye.set(S,k),T}function yc(S){v.blockers.delete(S),ye.delete(S)}function po(S,k){let T=v.blockers.get(S)||ui;K(T.state==="unblocked"&&k.state==="blocked"||T.state==="blocked"&&k.state==="blocked"||T.state==="blocked"&&k.state==="proceeding"||T.state==="blocked"&&k.state==="unblocked"||T.state==="proceeding"&&k.state==="unblocked","Invalid blocker state transition: "+T.state+" -> "+k.state);let j=new Map(v.blockers);j.set(S,k),Te({blockers:j})}function wc(S){let{currentLocation:k,nextLocation:T,historyAction:j}=S;if(ye.size===0)return;ye.size>1&&Mr(!1,"A router only supports one blocker at a time");let I=Array.from(ye.entries()),[V,U]=I[I.length-1],z=v.blockers.get(V);if(!(z&&z.state==="proceeding")&&U({currentLocation:k,nextLocation:T,historyAction:j}))return V}function la(S){let k=[];return Be.forEach((T,j)=>{(!S||S(j))&&(T.cancel(),k.push(j),Be.delete(j))}),k}function Km(S,k,T){if(h=S,y=k,g=T||null,!w&&v.navigation===ba){w=!0;let j=xc(v.location,v.matches);j!=null&&Te({restoreScrollPosition:j})}return()=>{h=null,y=null,g=null}}function Sc(S,k){return g&&g(S,k.map(j=>Ny(j,v.loaderData)))||S.key}function Ym(S,k){if(h&&y){let T=Sc(S,k);h[T]=y()}}function xc(S,k){if(h){let T=Sc(S,k),j=h[T];if(typeof j=="number")return j}return null}function Gm(S){o={},a=$u(S,i,void 0,o)}return _={get basename(){return u},get future(){return s},get state(){return v},get routes(){return l},get window(){return t},initialize:Dn,subscribe:Xr,enableScrollRestoration:Km,navigate:dc,fetch:Bm,revalidate:$m,createHref:S=>e.history.createHref(S),encodeLocation:S=>e.history.encodeLocation(S),getFetcher:hc,deleteFetcher:Vm,dispose:Wt,getBlocker:Qm,deleteBlocker:yc,_internalFetchControllers:J,_internalActiveDeferreds:Be,_internalSetRoutes:Gm},_}function n0(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function zu(e,t,n,r,i,o,l,a){let u,s;if(l){u=[];for(let d of t)if(u.push(d),d.route.id===l){s=d;break}}else u=t,s=t[t.length-1];let c=Js(i||".",qs(u,o),Kr(e.pathname,n)||e.pathname,a==="path");return i==null&&(c.search=e.search,c.hash=e.hash),(i==null||i===""||i===".")&&s&&s.route.index&&!ec(c.search)&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(c.pathname=c.pathname==="/"?n:Xt([n,c.pathname])),er(c)}function Ff(e,t,n,r){if(!r||!n0(r))return{path:n};if(r.formMethod&&!s0(r.formMethod))return{path:n,error:wt(405,{method:r.formMethod})};let i=()=>({path:n,error:wt(400,{type:"invalid-body"})}),o=r.formMethod||"get",l=e?o.toUpperCase():o.toLowerCase(),a=Yh(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!Ot(l))return i();let h=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((g,y)=>{let[w,E]=y;return""+g+w+"="+E+` +`},""):String(r.body);return{path:n,submission:{formMethod:l,formAction:a,formEncType:r.formEncType,formData:void 0,json:void 0,text:h}}}else if(r.formEncType==="application/json"){if(!Ot(l))return i();try{let h=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:l,formAction:a,formEncType:r.formEncType,formData:void 0,json:h,text:void 0}}}catch{return i()}}}K(typeof FormData=="function","FormData is not available in this environment");let u,s;if(r.formData)u=Uu(r.formData),s=r.formData;else if(r.body instanceof FormData)u=Uu(r.body),s=r.body;else if(r.body instanceof URLSearchParams)u=r.body,s=$f(u);else if(r.body==null)u=new URLSearchParams,s=new FormData;else try{u=new URLSearchParams(r.body),s=$f(u)}catch{return i()}let c={formMethod:l,formAction:a,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:s,json:void 0,text:void 0};if(Ot(c.formMethod))return{path:n,submission:c};let d=nn(n);return t&&d.search&&ec(d.search)&&u.append("index",""),d.search="?"+u,{path:er(d),submission:c}}function r0(e,t){let n=e;if(t){let r=e.findIndex(i=>i.route.id===t);r>=0&&(n=e.slice(0,r))}return n}function If(e,t,n,r,i,o,l,a,u,s,c,d,h,g,y,w){let E=w?Object.values(w)[0]:y?Object.values(y)[0]:void 0,p=e.createURL(t.location),f=e.createURL(i),m=w?Object.keys(w)[0]:void 0,_=r0(n,m).filter((C,O)=>{let{route:A}=C;if(A.lazy)return!0;if(A.loader==null)return!1;if(o)return A.loader.hydrate?!0:t.loaderData[A.id]===void 0&&(!t.errors||t.errors[A.id]===void 0);if(i0(t.loaderData,t.matches[O],C)||a.some(ce=>ce===C.route.id))return!0;let b=t.matches[O],B=C;return bf(C,ge({currentUrl:p,currentParams:b.params,nextUrl:f,nextParams:B.params},r,{actionResult:E,defaultShouldRevalidate:l||p.pathname+p.search===f.pathname+f.search||p.search!==f.search||Kh(b,B)}))}),v=[];return c.forEach((C,O)=>{if(o||!n.some(re=>re.route.id===C.routeId)||s.has(O))return;let A=xr(h,C.path,g);if(!A){v.push({key:O,routeId:C.routeId,path:C.path,matches:null,match:null,controller:null});return}let b=t.fetchers.get(O),B=Bu(A,C.path),ce=!1;d.has(O)?ce=!1:u.includes(O)?ce=!0:b&&b.state!=="idle"&&b.data===void 0?ce=l:ce=bf(B,ge({currentUrl:p,currentParams:t.matches[t.matches.length-1].params,nextUrl:f,nextParams:n[n.length-1].params},r,{actionResult:E,defaultShouldRevalidate:l})),ce&&v.push({key:O,routeId:C.routeId,path:C.path,matches:A,match:B,controller:new AbortController})}),[_,v]}function i0(e,t,n){let r=!t||n.route.id!==t.route.id,i=e[n.route.id]===void 0;return r||i}function Kh(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function bf(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function Mf(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let i=n[e.id];K(i,"No route found in manifest");let o={};for(let l in r){let u=i[l]!==void 0&&l!=="hasErrorBoundary";Mr(!u,'Route "'+i.id+'" has a static property "'+l+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+l+'" will be ignored.')),!u&&!Ty.has(l)&&(o[l]=r[l])}Object.assign(i,o),Object.assign(i,ge({},t(i),{lazy:void 0}))}async function si(e,t,n,r,i,o,l,a,u){u===void 0&&(u={});let s,c,d,h=w=>{let E,p=new Promise((f,m)=>E=m);return d=()=>E(),t.signal.addEventListener("abort",d),Promise.race([w({request:t,params:n.params,context:u.requestContext}),p])};try{let w=n.route[e];if(n.route.lazy)if(w){let E,p=await Promise.all([h(w).catch(f=>{E=f}),Mf(n.route,o,i)]);if(E)throw E;c=p[0]}else if(await Mf(n.route,o,i),w=n.route[e],w)c=await h(w);else if(e==="action"){let E=new URL(t.url),p=E.pathname+E.search;throw wt(405,{method:t.method,pathname:p,routeId:n.route.id})}else return{type:he.data,data:void 0};else if(w)c=await h(w);else{let E=new URL(t.url),p=E.pathname+E.search;throw wt(404,{pathname:p})}K(c!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(w){s=he.error,c=w}finally{d&&t.signal.removeEventListener("abort",d)}if(u0(c)){let w=c.status;if(qy.has(w)){let p=c.headers.get("Location");if(K(p,"Redirects returned/thrown from loaders/actions must have a Location header"),!Vh.test(p))p=zu(new URL(t.url),r.slice(0,r.indexOf(n)+1),l,!0,p,a);else if(!u.isStaticRequest){let f=new URL(t.url),m=p.startsWith("//")?new URL(f.protocol+p):new URL(p),x=Kr(m.pathname,l)!=null;m.origin===f.origin&&x&&(p=m.pathname+m.search+m.hash)}if(u.isStaticRequest)throw c.headers.set("Location",p),c;return{type:he.redirect,status:w,location:p,revalidate:c.headers.get("X-Remix-Revalidate")!==null,reloadDocument:c.headers.get("X-Remix-Reload-Document")!==null}}if(u.isRouteRequest)throw{type:s===he.error?he.error:he.data,response:c};let E;try{let p=c.headers.get("Content-Type");p&&/\bapplication\/json\b/.test(p)?c.body==null?E=null:E=await c.json():E=await c.text()}catch(p){return{type:he.error,error:p}}return s===he.error?{type:s,error:new Zs(w,c.statusText,E),headers:c.headers}:{type:he.data,data:E,statusCode:c.status,headers:c.headers}}if(s===he.error)return{type:s,error:c};if(a0(c)){var g,y;return{type:he.deferred,deferredData:c,statusCode:(g=c.init)==null?void 0:g.status,headers:((y=c.init)==null?void 0:y.headers)&&new Headers(c.init.headers)}}return{type:he.data,data:c}}function ci(e,t,n,r){let i=e.createURL(Yh(t)).toString(),o={signal:n};if(r&&Ot(r.formMethod)){let{formMethod:l,formEncType:a}=r;o.method=l.toUpperCase(),a==="application/json"?(o.headers=new Headers({"Content-Type":a}),o.body=JSON.stringify(r.json)):a==="text/plain"?o.body=r.text:a==="application/x-www-form-urlencoded"&&r.formData?o.body=Uu(r.formData):o.body=r.formData}return new Request(i,o)}function Uu(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r=="string"?r:r.name);return t}function $f(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function o0(e,t,n,r,i){let o={},l=null,a,u=!1,s={};return n.forEach((c,d)=>{let h=t[d].route.id;if(K(!Wn(c),"Cannot handle redirect results in processLoaderData"),Er(c)){let g=Ni(e,h),y=c.error;r&&(y=Object.values(r)[0],r=void 0),l=l||{},l[g.route.id]==null&&(l[g.route.id]=y),o[h]=void 0,u||(u=!0,a=Wh(c.error)?c.error.status:500),c.headers&&(s[h]=c.headers)}else Bn(c)?(i.set(h,c.deferredData),o[h]=c.deferredData.data):o[h]=c.data,c.statusCode!=null&&c.statusCode!==200&&!u&&(a=c.statusCode),c.headers&&(s[h]=c.headers)}),r&&(l=r,o[Object.keys(r)[0]]=void 0),{loaderData:o,errors:l,statusCode:a||200,loaderHeaders:s}}function zf(e,t,n,r,i,o,l,a){let{loaderData:u,errors:s}=o0(t,n,r,i,a);for(let c=0;cr.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function Bf(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function wt(e,t){let{pathname:n,routeId:r,method:i,type:o}=t===void 0?{}:t,l="Unknown Server Error",a="Unknown @remix-run/router error";return e===400?(l="Bad Request",i&&n&&r?a="You made a "+i+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":o==="defer-action"?a="defer() is not supported in actions":o==="invalid-body"&&(a="Unable to encode submission body")):e===403?(l="Forbidden",a='Route "'+r+'" does not match URL "'+n+'"'):e===404?(l="Not Found",a='No route matches URL "'+n+'"'):e===405&&(l="Method Not Allowed",i&&n&&r?a="You made a "+i.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":i&&(a='Invalid request method "'+i.toUpperCase()+'"')),new Zs(e||500,l,new Error(a),!0)}function Wf(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(Wn(n))return{result:n,idx:t}}}function Yh(e){let t=typeof e=="string"?nn(e):e;return er(ge({},t,{hash:""}))}function l0(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function Bn(e){return e.type===he.deferred}function Er(e){return e.type===he.error}function Wn(e){return(e&&e.type)===he.redirect}function a0(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 u0(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function s0(e){return Xy.has(e.toLowerCase())}function Ot(e){return Yy.has(e.toLowerCase())}async function Hf(e,t,n,r,i,o){for(let l=0;ld.route.id===u.route.id),c=s!=null&&!Kh(s,u)&&(o&&o[u.route.id])!==void 0;if(Bn(a)&&(i||c)){let d=r[l];K(d,"Expected an AbortSignal for revalidating fetcher deferred result"),await Gh(a,d,i).then(h=>{h&&(n[l]=h||n[l])})}}}async function Gh(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:he.data,data:e.deferredData.unwrappedData}}catch(i){return{type:he.error,error:i}}return{type:he.data,data:e.deferredData.data}}}function ec(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Bu(e,t){let n=typeof t=="string"?nn(t).search:t.search;if(e[e.length-1].route.index&&ec(n||""))return e[e.length-1];let r=Bh(e);return r[r.length-1]}function Vf(e){let{formMethod:t,formAction:n,formEncType:r,text:i,formData:o,json:l}=e;if(!(!t||!n||!r)){if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:i};if(o!=null)return{formMethod:t,formAction:n,formEncType:r,formData:o,json:void 0,text:void 0};if(l!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:l,text:void 0}}}function Ma(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 c0(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 fi(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 f0(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 sn(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 d0(e,t){try{let n=e.sessionStorage.getItem(Qh);if(n){let r=JSON.parse(n);for(let[i,o]of Object.entries(r||{}))o&&Array.isArray(o)&&t.set(i,new Set(o||[]))}}catch{}}function p0(e,t){if(t.size>0){let n={};for(let[r,i]of t)n[r]=[...i];try{e.sessionStorage.setItem(Qh,JSON.stringify(n))}catch(r){Mr(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/** * React Router v6.22.3 * * Copyright (c) Remix Software Inc. @@ -56,7 +56,7 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Ji(){return Ji=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),_.useCallback(function(s,c){if(c===void 0&&(c={}),!a.current)return;if(typeof s=="number"){r.go(s);return}let d=Js(s,JSON.parse(l),o,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:Xt([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,l,o,e])}const y0=_.createContext(null);function w0(e){let t=_.useContext(An).outlet;return t&&_.createElement(y0.Provider,{value:e},t)}function Zh(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=_.useContext(rr),{matches:i}=_.useContext(An),{pathname:o}=so(),l=JSON.stringify(qs(i,r.v7_relativeSplatPath));return _.useMemo(()=>Js(e,JSON.parse(l),o,n==="path"),[e,l,o,n])}function S0(e,t,n,r){uo()||K(!1);let{navigator:i}=_.useContext(rr),{matches:o}=_.useContext(An),l=o[o.length-1],a=l?l.params:{};l&&l.pathname;let u=l?l.pathnameBase:"/";l&&l.route;let s=so(),c;if(t){var d;let E=typeof t=="string"?nn(t):t;u==="/"||(d=E.pathname)!=null&&d.startsWith(u)||K(!1),c=E}else c=s;let h=c.pathname||"/",g=h;if(u!=="/"){let E=u.replace(/^\//,"").split("/");g="/"+h.replace(/^\//,"").split("/").slice(E.length).join("/")}let y=xr(e,{pathname:g}),w=P0(y&&y.map(E=>Object.assign({},E,{params:Object.assign({},a,E.params),pathname:Xt([u,i.encodeLocation?i.encodeLocation(E.pathname).pathname:E.pathname]),pathnameBase:E.pathnameBase==="/"?u:Xt([u,i.encodeLocation?i.encodeLocation(E.pathnameBase).pathname:E.pathnameBase])})),o,n,r);return t&&w?_.createElement(Gl.Provider,{value:{location:Ji({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:we.Pop}},w):w}function x0(){let e=N0(),t=Wh(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return _.createElement(_.Fragment,null,_.createElement("h2",null,"Unexpected Application Error!"),_.createElement("h3",{style:{fontStyle:"italic"}},t),n?_.createElement("pre",{style:i},n):null,null)}const E0=_.createElement(x0,null);class k0 extends _.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?_.createElement(An.Provider,{value:this.props.routeContext},_.createElement(qh.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function C0(e){let{routeContext:t,match:n,children:r}=e,i=_.useContext(Yl);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),_.createElement(An.Provider,{value:t},r)}function P0(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if((o=n)!=null&&o.errors)e=n.matches;else return null}let l=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let c=l.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id]));c>=0||K(!1),l=l.slice(0,Math.min(l.length,c+1))}let u=!1,s=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c=0?l=l.slice(0,s+1):l=[l[0]];break}}}return l.reduceRight((c,d,h)=>{let g,y=!1,w=null,E=null;n&&(g=a&&d.route.id?a[d.route.id]:void 0,w=d.route.errorElement||E0,u&&(s<0&&h===0?(L0("route-fallback",!1),y=!0,E=null):s===h&&(y=!0,E=d.route.hydrateFallbackElement||null)));let p=t.concat(l.slice(0,h+1)),f=()=>{let m;return g?m=w:y?m=E:d.route.Component?m=_.createElement(d.route.Component,null):d.route.element?m=d.route.element:m=c,_.createElement(C0,{match:d,routeContext:{outlet:c,matches:p,isDataRoute:n!=null},children:m})};return n&&(d.route.ErrorBoundary||d.route.errorElement||h===0)?_.createElement(k0,{location:n.location,revalidation:n.revalidation,component:w,error:g,children:f(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):f()},null)}var em=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(em||{}),Tl=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}(Tl||{});function _0(e){let t=_.useContext(Yl);return t||K(!1),t}function T0(e){let t=_.useContext(Xh);return t||K(!1),t}function R0(e){let t=_.useContext(An);return t||K(!1),t}function tm(e){let t=R0(),n=t.matches[t.matches.length-1];return n.route.id||K(!1),n.route.id}function N0(){var e;let t=_.useContext(qh),n=T0(Tl.UseRouteError),r=tm(Tl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function O0(){let{router:e}=_0(em.UseNavigateStable),t=tm(Tl.UseNavigateStable),n=_.useRef(!1);return Jh(()=>{n.current=!0}),_.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,Ji({fromRouteId:t},o)))},[e,t])}const Vf={};function L0(e,t,n){!t&&!Vf[e]&&(Vf[e]=!0)}function j0(e){return w0(e.context)}function A0(e){let{basename:t="/",children:n=null,location:r,navigationType:i=we.Pop,navigator:o,static:l=!1,future:a}=e;uo()&&K(!1);let u=t.replace(/^\/*/,"/"),s=_.useMemo(()=>({basename:u,navigator:o,static:l,future:Ji({v7_relativeSplatPath:!1},a)}),[u,a,o,l]);typeof r=="string"&&(r=nn(r));let{pathname:c="/",search:d="",hash:h="",state:g=null,key:y="default"}=r,w=_.useMemo(()=>{let E=Kr(c,u);return E==null?null:{location:{pathname:E,search:d,hash:h,state:g,key:y},navigationType:i}},[u,c,d,h,g,y,i]);return w==null?null:_.createElement(rr.Provider,{value:s},_.createElement(Gl.Provider,{children:n,value:w}))}new Promise(()=>{});function D0(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:_.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:_.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:_.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** + */function Ji(){return Ji=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),P.useCallback(function(s,c){if(c===void 0&&(c={}),!a.current)return;if(typeof s=="number"){r.go(s);return}let d=Js(s,JSON.parse(l),o,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:Xt([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,l,o,e])}const v0=P.createContext(null);function y0(e){let t=P.useContext(An).outlet;return t&&P.createElement(v0.Provider,{value:e},t)}function Zh(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=P.useContext(rr),{matches:i}=P.useContext(An),{pathname:o}=so(),l=JSON.stringify(qs(i,r.v7_relativeSplatPath));return P.useMemo(()=>Js(e,JSON.parse(l),o,n==="path"),[e,l,o,n])}function w0(e,t,n,r){uo()||K(!1);let{navigator:i}=P.useContext(rr),{matches:o}=P.useContext(An),l=o[o.length-1],a=l?l.params:{};l&&l.pathname;let u=l?l.pathnameBase:"/";l&&l.route;let s=so(),c;if(t){var d;let E=typeof t=="string"?nn(t):t;u==="/"||(d=E.pathname)!=null&&d.startsWith(u)||K(!1),c=E}else c=s;let h=c.pathname||"/",g=h;if(u!=="/"){let E=u.replace(/^\//,"").split("/");g="/"+h.replace(/^\//,"").split("/").slice(E.length).join("/")}let y=xr(e,{pathname:g}),w=C0(y&&y.map(E=>Object.assign({},E,{params:Object.assign({},a,E.params),pathname:Xt([u,i.encodeLocation?i.encodeLocation(E.pathname).pathname:E.pathname]),pathnameBase:E.pathnameBase==="/"?u:Xt([u,i.encodeLocation?i.encodeLocation(E.pathnameBase).pathname:E.pathnameBase])})),o,n,r);return t&&w?P.createElement(Gl.Provider,{value:{location:Ji({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:we.Pop}},w):w}function S0(){let e=R0(),t=Wh(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return P.createElement(P.Fragment,null,P.createElement("h2",null,"Unexpected Application Error!"),P.createElement("h3",{style:{fontStyle:"italic"}},t),n?P.createElement("pre",{style:i},n):null,null)}const x0=P.createElement(S0,null);class E0 extends P.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?P.createElement(An.Provider,{value:this.props.routeContext},P.createElement(qh.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function k0(e){let{routeContext:t,match:n,children:r}=e,i=P.useContext(Yl);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),P.createElement(An.Provider,{value:t},r)}function C0(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if((o=n)!=null&&o.errors)e=n.matches;else return null}let l=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let c=l.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id]));c>=0||K(!1),l=l.slice(0,Math.min(l.length,c+1))}let u=!1,s=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c=0?l=l.slice(0,s+1):l=[l[0]];break}}}return l.reduceRight((c,d,h)=>{let g,y=!1,w=null,E=null;n&&(g=a&&d.route.id?a[d.route.id]:void 0,w=d.route.errorElement||x0,u&&(s<0&&h===0?(O0("route-fallback",!1),y=!0,E=null):s===h&&(y=!0,E=d.route.hydrateFallbackElement||null)));let p=t.concat(l.slice(0,h+1)),f=()=>{let m;return g?m=w:y?m=E:d.route.Component?m=P.createElement(d.route.Component,null):d.route.element?m=d.route.element:m=c,P.createElement(k0,{match:d,routeContext:{outlet:c,matches:p,isDataRoute:n!=null},children:m})};return n&&(d.route.ErrorBoundary||d.route.errorElement||h===0)?P.createElement(E0,{location:n.location,revalidation:n.revalidation,component:w,error:g,children:f(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):f()},null)}var em=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(em||{}),Tl=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}(Tl||{});function P0(e){let t=P.useContext(Yl);return t||K(!1),t}function _0(e){let t=P.useContext(Xh);return t||K(!1),t}function T0(e){let t=P.useContext(An);return t||K(!1),t}function tm(e){let t=T0(),n=t.matches[t.matches.length-1];return n.route.id||K(!1),n.route.id}function R0(){var e;let t=P.useContext(qh),n=_0(Tl.UseRouteError),r=tm(Tl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function N0(){let{router:e}=P0(em.UseNavigateStable),t=tm(Tl.UseNavigateStable),n=P.useRef(!1);return Jh(()=>{n.current=!0}),P.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,Ji({fromRouteId:t},o)))},[e,t])}const Qf={};function O0(e,t,n){!t&&!Qf[e]&&(Qf[e]=!0)}function L0(e){return y0(e.context)}function j0(e){let{basename:t="/",children:n=null,location:r,navigationType:i=we.Pop,navigator:o,static:l=!1,future:a}=e;uo()&&K(!1);let u=t.replace(/^\/*/,"/"),s=P.useMemo(()=>({basename:u,navigator:o,static:l,future:Ji({v7_relativeSplatPath:!1},a)}),[u,a,o,l]);typeof r=="string"&&(r=nn(r));let{pathname:c="/",search:d="",hash:h="",state:g=null,key:y="default"}=r,w=P.useMemo(()=>{let E=Kr(c,u);return E==null?null:{location:{pathname:E,search:d,hash:h,state:g,key:y},navigationType:i}},[u,c,d,h,g,y,i]);return w==null?null:P.createElement(rr.Provider,{value:s},P.createElement(Gl.Provider,{children:n,value:w}))}new Promise(()=>{});function A0(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:P.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:P.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:P.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** * React Router DOM v6.22.3 * * Copyright (c) Remix Software Inc. @@ -65,10 +65,10 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Zi(){return Zi=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function I0(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function b0(e,t){return e.button===0&&(!t||t==="_self")&&!I0(e)}const M0=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],$0="6";try{window.__reactRouterVersion=$0}catch{}function z0(e,t){return n0({basename:t==null?void 0:t.basename,future:Zi({},t==null?void 0:t.future,{v7_prependBasename:!0}),history:Py({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||U0(),routes:e,mapRouteProperties:D0,window:t==null?void 0:t.window}).initialize()}function U0(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=Zi({},t,{errors:B0(t.errors)})),t}function B0(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,i]of t)if(i&&i.__type==="RouteErrorResponse")n[r]=new Zs(i.status,i.statusText,i.data,i.internal===!0);else if(i&&i.__type==="Error"){if(i.__subType){let o=window[i.__subType];if(typeof o=="function")try{let l=new o(i.message);l.stack="",n[r]=l}catch{}}if(n[r]==null){let o=new Error(i.message);o.stack="",n[r]=o}}else n[r]=i;return n}const W0=_.createContext({isTransitioning:!1}),H0=_.createContext(new Map),V0="startTransition",Qf=pg[V0],Q0="flushSync",Kf=Cy[Q0];function K0(e){Qf?Qf(e):e()}function di(e){Kf?Kf(e):e()}class Y0{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function G0(e){let{fallbackElement:t,router:n,future:r}=e,[i,o]=_.useState(n.state),[l,a]=_.useState(),[u,s]=_.useState({isTransitioning:!1}),[c,d]=_.useState(),[h,g]=_.useState(),[y,w]=_.useState(),E=_.useRef(new Map),{v7_startTransition:p}=r||{},f=_.useCallback(C=>{p?K0(C):C()},[p]),m=_.useCallback((C,O)=>{let{deletedFetchers:A,unstable_flushSync:b,unstable_viewTransitionOpts:B}=O;A.forEach(re=>E.current.delete(re)),C.fetchers.forEach((re,Fe)=>{re.data!==void 0&&E.current.set(Fe,re.data)});let ce=n.window==null||typeof n.window.document.startViewTransition!="function";if(!B||ce){b?di(()=>o(C)):f(()=>o(C));return}if(b){di(()=>{h&&(c&&c.resolve(),h.skipTransition()),s({isTransitioning:!0,flushSync:!0,currentLocation:B.currentLocation,nextLocation:B.nextLocation})});let re=n.window.document.startViewTransition(()=>{di(()=>o(C))});re.finished.finally(()=>{di(()=>{d(void 0),g(void 0),a(void 0),s({isTransitioning:!1})})}),di(()=>g(re));return}h?(c&&c.resolve(),h.skipTransition(),w({state:C,currentLocation:B.currentLocation,nextLocation:B.nextLocation})):(a(C),s({isTransitioning:!0,flushSync:!1,currentLocation:B.currentLocation,nextLocation:B.nextLocation}))},[n.window,h,c,E,f]);_.useLayoutEffect(()=>n.subscribe(m),[n,m]),_.useEffect(()=>{u.isTransitioning&&!u.flushSync&&d(new Y0)},[u]),_.useEffect(()=>{if(c&&l&&n.window){let C=l,O=c.promise,A=n.window.document.startViewTransition(async()=>{f(()=>o(C)),await O});A.finished.finally(()=>{d(void 0),g(void 0),a(void 0),s({isTransitioning:!1})}),g(A)}},[f,l,c,n.window]),_.useEffect(()=>{c&&l&&i.location.key===l.location.key&&c.resolve()},[c,h,i.location,l]),_.useEffect(()=>{!u.isTransitioning&&y&&(a(y.state),s({isTransitioning:!0,flushSync:!1,currentLocation:y.currentLocation,nextLocation:y.nextLocation}),w(void 0))},[u.isTransitioning,y]),_.useEffect(()=>{},[]);let x=_.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:C=>n.navigate(C),push:(C,O,A)=>n.navigate(C,{state:O,preventScrollReset:A==null?void 0:A.preventScrollReset}),replace:(C,O,A)=>n.navigate(C,{replace:!0,state:O,preventScrollReset:A==null?void 0:A.preventScrollReset})}),[n]),P=n.basename||"/",v=_.useMemo(()=>({router:n,navigator:x,static:!1,basename:P}),[n,x,P]);return _.createElement(_.Fragment,null,_.createElement(Yl.Provider,{value:v},_.createElement(Xh.Provider,{value:i},_.createElement(H0.Provider,{value:E.current},_.createElement(W0.Provider,{value:u},_.createElement(A0,{basename:P,location:i.location,navigationType:i.historyAction,navigator:x,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},i.initialized||n.future.v7_partialHydration?_.createElement(X0,{routes:n.routes,future:n.future,state:i}):t))))),null)}function X0(e){let{routes:t,future:n,state:r}=e;return S0(t,void 0,r,n)}const q0=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",J0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,nm=_.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:l,state:a,target:u,to:s,preventScrollReset:c,unstable_viewTransition:d}=t,h=F0(t,M0),{basename:g}=_.useContext(rr),y,w=!1;if(typeof s=="string"&&J0.test(s)&&(y=s,q0))try{let m=new URL(window.location.href),x=s.startsWith("//")?new URL(m.protocol+s):new URL(s),P=Kr(x.pathname,g);x.origin===m.origin&&P!=null?s=P+x.search+x.hash:w=!0}catch{}let E=m0(s,{relative:i}),p=Z0(s,{replace:l,state:a,target:u,preventScrollReset:c,relative:i,unstable_viewTransition:d});function f(m){r&&r(m),m.defaultPrevented||p(m)}return _.createElement("a",Zi({},h,{href:y||E,onClick:w||o?r:f,ref:n,target:u}))});var Yf;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Yf||(Yf={}));var Gf;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Gf||(Gf={}));function Z0(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:l,unstable_viewTransition:a}=t===void 0?{}:t,u=g0(),s=so(),c=Zh(e,{relative:l});return _.useCallback(d=>{if(b0(d,n)){d.preventDefault();let h=r!==void 0?r:er(s)===er(c);u(e,{replace:h,state:i,preventScrollReset:o,relative:l,unstable_viewTransition:a})}},[s,u,c,r,i,n,e,o,l,a])}const e1="_headerWrapper_jlk7e_1",t1="_topHeaderWrapper_jlk7e_29",n1="_topHeaderLeft_jlk7e_39",r1="_topHeaderRight_jlk7e_53",i1="_bottomElementsWrapper_jlk7e_67",pi={headerWrapper:e1,topHeaderWrapper:t1,topHeaderLeft:n1,topHeaderRight:r1,bottomElementsWrapper:i1},o1="_iconWrapper_f9788_1",l1={iconWrapper:o1},De={white:"#FFFFFF",gray:"#F8F8F8",darkBlue:"#071D41",blue:"#155BCB",lightBlue:"#D4E5FF",green:"#168821",lightGreen:"#E3F5E1",yellow:"#FFCD07",lightYellow:"FFF5C2",red:"#E52207",lightRed:"#FDB8AE",backgroundDarkBlue:"#04132A",backgroundBlue:"#071D41",transparent:"#0000000",fadeBackground:"#00000075",textBlack:"#333333",textBlue:"#1351B4",textLightBlue:"#C5D4EB",hoverBlue:"#5992ED"};var nt=function(){return nt=Object.assign||function(t){for(var n,r=1,i=arguments.length;r0?je(Yr,--_t):0,zr--,ke===10&&(zr=1,ql--),ke}function Dt(){return ke=_t2||Hu(ke)>3?"":" "}function g1(e,t){for(;--t&&Dt()&&!(ke<48||ke>102||ke>57&&ke<65||ke>70&&ke<97););return Zl(e,qo()+(t<6&&Kn()==32&&Dt()==32))}function Vu(e){for(;Dt();)switch(ke){case e:return _t;case 34:case 39:e!==34&&e!==39&&Vu(ke);break;case 40:e===41&&Vu(e);break;case 92:Dt();break}return _t}function v1(e,t){for(;Dt()&&e+ke!==57;)if(e+ke===84&&Kn()===47)break;return"/*"+Zl(t,_t-1)+"*"+nc(e===47?e:Dt())}function y1(e){for(;!Hu(Kn());)Dt();return Zl(e,_t)}function w1(e){return h1(Jo("",null,null,null,[""],e=p1(e),0,[0],e))}function Jo(e,t,n,r,i,o,l,a,u){for(var s=0,c=0,d=l,h=0,g=0,y=0,w=1,E=1,p=1,f=0,m="",x=i,P=o,v=r,C=m;E;)switch(y=f,f=Dt()){case 40:if(y!=108&&je(C,d-1)==58){Xo(C+=H($a(f),"&","&\f"),"&\f",om(s?a[s-1]:0))!=-1&&(p=-1);break}case 34:case 39:case 91:C+=$a(f);break;case 9:case 10:case 13:case 32:C+=m1(y);break;case 92:C+=g1(qo()-1,7);continue;case 47:switch(Kn()){case 42:case 47:wi(S1(v1(Dt(),qo()),t,n,u),u);break;default:C+="/"}break;case 123*w:a[s++]=$t(C)*p;case 125*w:case 59:case 0:switch(f){case 0:case 125:E=0;case 59+c:p==-1&&(C=H(C,/\f/g,"")),g>0&&$t(C)-d&&wi(g>32?Jf(C+";",r,n,d-1,u):Jf(H(C," ","")+";",r,n,d-2,u),u);break;case 59:C+=";";default:if(wi(v=qf(C,t,n,s,c,i,a,m,x=[],P=[],d,o),o),f===123)if(c===0)Jo(C,t,v,v,x,o,d,a,P);else switch(h===99&&je(C,3)===110?100:h){case 100:case 108:case 109:case 115:Jo(e,v,v,r&&wi(qf(e,v,v,0,0,i,a,m,i,x=[],d,P),P),i,P,d,a,r?x:P);break;default:Jo(C,v,v,v,[""],P,0,a,P)}}s=c=g=0,w=p=1,m=C="",d=l;break;case 58:d=1+$t(C),g=y;default:if(w<1){if(f==123)--w;else if(f==125&&w++==0&&d1()==125)continue}switch(C+=nc(f),f*w){case 38:p=c>0?1:(C+="\f",-1);break;case 44:a[s++]=($t(C)-1)*p,p=1;break;case 64:Kn()===45&&(C+=$a(Dt())),h=Kn(),c=d=$t(m=C+=y1(qo())),f++;break;case 45:y===45&&$t(C)==2&&(w=0)}}return o}function qf(e,t,n,r,i,o,l,a,u,s,c,d){for(var h=i-1,g=i===0?o:[""],y=am(g),w=0,E=0,p=0;w0?g[f]+" "+m:H(m,/&\f/g,g[f])))&&(u[p++]=x);return Jl(e,t,n,i===0?Xl:a,u,s,c,d)}function S1(e,t,n,r){return Jl(e,t,n,rm,nc(f1()),$r(e,2,-2),0,r)}function Jf(e,t,n,r,i){return Jl(e,t,n,tc,$r(e,0,r),$r(e,r+1,-1),r,i)}function sm(e,t,n){switch(s1(e,t)){case 5103:return ee+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ee+e+e;case 4789:return Oi+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ee+e+Oi+e+ae+e+e;case 5936:switch(je(e,t+11)){case 114:return ee+e+ae+H(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ee+e+ae+H(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ee+e+ae+H(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return ee+e+ae+e+e;case 6165:return ee+e+ae+"flex-"+e+e;case 5187:return ee+e+H(e,/(\w+).+(:[^]+)/,ee+"box-$1$2"+ae+"flex-$1$2")+e;case 5443:return ee+e+ae+"flex-item-"+H(e,/flex-|-self/g,"")+(Vt(e,/flex-|baseline/)?"":ae+"grid-row-"+H(e,/flex-|-self/g,""))+e;case 4675:return ee+e+ae+"flex-line-pack"+H(e,/align-content|flex-|-self/g,"")+e;case 5548:return ee+e+ae+H(e,"shrink","negative")+e;case 5292:return ee+e+ae+H(e,"basis","preferred-size")+e;case 6060:return ee+"box-"+H(e,"-grow","")+ee+e+ae+H(e,"grow","positive")+e;case 4554:return ee+H(e,/([^-])(transform)/g,"$1"+ee+"$2")+e;case 6187:return H(H(H(e,/(zoom-|grab)/,ee+"$1"),/(image-set)/,ee+"$1"),e,"")+e;case 5495:case 3959:return H(e,/(image-set\([^]*)/,ee+"$1$`$1");case 4968:return H(H(e,/(.+:)(flex-)?(.*)/,ee+"box-pack:$3"+ae+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ee+e+e;case 4200:if(!Vt(e,/flex-|baseline/))return ae+"grid-column-align"+$r(e,t)+e;break;case 2592:case 3360:return ae+H(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,i){return t=i,Vt(r.props,/grid-\w+-end/)})?~Xo(e+(n=n[t].value),"span",0)?e:ae+H(e,"-start","")+e+ae+"grid-row-span:"+(~Xo(n,"span",0)?Vt(n,/\d+/):+Vt(n,/\d+/)-+Vt(e,/\d+/))+";":ae+H(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return Vt(r.props,/grid-\w+-start/)})?e:ae+H(H(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return H(e,/(.+)-inline(.+)/,ee+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if($t(e)-1-t>6)switch(je(e,t+1)){case 109:if(je(e,t+4)!==45)break;case 102:return H(e,/(.+:)(.+)-([^]+)/,"$1"+ee+"$2-$3$1"+Oi+(je(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Xo(e,"stretch",0)?sm(H(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return H(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,i,o,l,a,u,s){return ae+i+":"+o+s+(l?ae+i+"-span:"+(a?u:+u-+o)+s:"")+e});case 4949:if(je(e,t+6)===121)return H(e,":",":"+ee)+e;break;case 6444:switch(je(e,je(e,14)===45?18:11)){case 120:return H(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+ee+(je(e,14)===45?"inline-":"")+"box$3$1"+ee+"$2$3$1"+ae+"$2box$3")+e;case 100:return H(e,":",":"+ae)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return H(e,"scroll-","scroll-snap-")+e}return e}function Nl(e,t){for(var n="",r=0;r-1&&!e.return)switch(e.type){case tc:e.return=sm(e.value,e.length,n);return;case im:return Nl([cn(e,{value:H(e.value,"@","@"+ee)})],r);case Xl:if(e.length)return c1(n=e.props,function(i){switch(Vt(i,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":ur(cn(e,{props:[H(i,/:(read-\w+)/,":"+Oi+"$1")]})),ur(cn(e,{props:[i]})),Wu(e,{props:Xf(n,r)});break;case"::placeholder":ur(cn(e,{props:[H(i,/:(plac\w+)/,":"+ee+"input-$1")]})),ur(cn(e,{props:[H(i,/:(plac\w+)/,":"+Oi+"$1")]})),ur(cn(e,{props:[H(i,/:(plac\w+)/,ae+"input-$1")]})),ur(cn(e,{props:[i]})),Wu(e,{props:Xf(n,r)});break}return""})}}var P1={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ft={},Ur=typeof process<"u"&&ft!==void 0&&(ft.REACT_APP_SC_ATTR||ft.SC_ATTR)||"data-styled",cm="active",fm="data-styled-version",ea="6.1.8",rc=`/*!sc*/ -`,ic=typeof window<"u"&&"HTMLElement"in window,_1=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&ft!==void 0&&ft.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&ft.REACT_APP_SC_DISABLE_SPEEDY!==""?ft.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&ft.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&ft!==void 0&&ft.SC_DISABLE_SPEEDY!==void 0&&ft.SC_DISABLE_SPEEDY!==""&&ft.SC_DISABLE_SPEEDY!=="false"&&ft.SC_DISABLE_SPEEDY),ta=Object.freeze([]),Br=Object.freeze({});function T1(e,t,n){return n===void 0&&(n=Br),e.theme!==n.theme&&e.theme||t||n.theme}var dm=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),R1=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,N1=/(^-|-$)/g;function Zf(e){return e.replace(R1,"-").replace(N1,"")}var O1=/(a)(d)/gi,Ao=52,ed=function(e){return String.fromCharCode(e+(e>25?39:97))};function Qu(e){var t,n="";for(t=Math.abs(e);t>Ao;t=t/Ao|0)n=ed(t%Ao)+n;return(ed(t%Ao)+n).replace(O1,"$1-$2")}var za,pm=5381,kr=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},hm=function(e){return kr(pm,e)};function L1(e){return Qu(hm(e)>>>0)}function j1(e){return e.displayName||e.name||"Component"}function Ua(e){return typeof e=="string"&&!0}var mm=typeof Symbol=="function"&&Symbol.for,gm=mm?Symbol.for("react.memo"):60115,A1=mm?Symbol.for("react.forward_ref"):60112,D1={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},F1={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},vm={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},I1=((za={})[A1]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},za[gm]=vm,za);function td(e){return("type"in(t=e)&&t.type.$$typeof)===gm?vm:"$$typeof"in e?I1[e.$$typeof]:D1;var t}var b1=Object.defineProperty,M1=Object.getOwnPropertyNames,nd=Object.getOwnPropertySymbols,$1=Object.getOwnPropertyDescriptor,z1=Object.getPrototypeOf,rd=Object.prototype;function ym(e,t,n){if(typeof t!="string"){if(rd){var r=z1(t);r&&r!==rd&&ym(e,r,n)}var i=M1(t);nd&&(i=i.concat(nd(t)));for(var o=td(e),l=td(t),a=0;a0?" Args: ".concat(t.join(", ")):""))}var U1=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,i=r.length,o=i;t>=o;)if((o<<=1)<0)throw co(16,"".concat(t));this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var l=i;l=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],i=this.indexOfGroup(t),o=i+r,l=i;l=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t0&&(E+="".concat(p,","))}),u+="".concat(y).concat(w,'{content:"').concat(E,'"}').concat(rc)},c=0;c0?".".concat(t):h},c=u.slice();c.push(function(h){h.type===Xl&&h.value.includes("&")&&(h.props[0]=h.props[0].replace(J1,n).replace(r,s))}),l.prefix&&c.push(C1),c.push(x1);var d=function(h,g,y,w){g===void 0&&(g=""),y===void 0&&(y=""),w===void 0&&(w="&"),t=w,n=g,r=new RegExp("\\".concat(n,"\\b"),"g");var E=h.replace(Z1,""),p=w1(y||g?"".concat(y," ").concat(g," { ").concat(E," }"):E);l.namespace&&(p=xm(p,l.namespace));var f=[];return Nl(p,E1(c.concat(k1(function(m){return f.push(m)})))),f};return d.hash=u.length?u.reduce(function(h,g){return g.name||co(15),kr(h,g.name)},pm).toString():"",d}var tw=new Sm,Yu=ew(),Em=Tn.createContext({shouldForwardProp:void 0,styleSheet:tw,stylis:Yu});Em.Consumer;Tn.createContext(void 0);function ld(){return _.useContext(Em)}var nw=function(){function e(t,n){var r=this;this.inject=function(i,o){o===void 0&&(o=Yu);var l=r.name+o.hash;i.hasNameForId(r.id,l)||i.insertRules(r.id,l,o(r.rules,l,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,lc(this,function(){throw co(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Yu),this.name+t.hash},e}(),rw=function(e){return e>="A"&&e<="Z"};function ad(e){for(var t="",n=0;n>>0);if(!n.hasNameForId(this.componentId,l)){var a=r(o,".".concat(l),void 0,this.componentId);n.insertRules(this.componentId,l,a)}i=Hn(i,l),this.staticRulesId=l}else{for(var u=kr(this.baseHash,r.hash),s="",c=0;c>>0);n.hasNameForId(this.componentId,g)||n.insertRules(this.componentId,g,r(s,".".concat(g),void 0,this.componentId)),i=Hn(i,g)}}return i},e}(),Pm=Tn.createContext(void 0);Pm.Consumer;var Ba={};function aw(e,t,n){var r=oc(e),i=e,o=!Ua(e),l=t.attrs,a=l===void 0?ta:l,u=t.componentId,s=u===void 0?function(x,P){var v=typeof x!="string"?"sc":Zf(x);Ba[v]=(Ba[v]||0)+1;var C="".concat(v,"-").concat(L1(ea+v+Ba[v]));return P?"".concat(P,"-").concat(C):C}(t.displayName,t.parentComponentId):u,c=t.displayName,d=c===void 0?function(x){return Ua(x)?"styled.".concat(x):"Styled(".concat(j1(x),")")}(e):c,h=t.displayName&&t.componentId?"".concat(Zf(t.displayName),"-").concat(t.componentId):t.componentId||s,g=r&&i.attrs?i.attrs.concat(a).filter(Boolean):a,y=t.shouldForwardProp;if(r&&i.shouldForwardProp){var w=i.shouldForwardProp;if(t.shouldForwardProp){var E=t.shouldForwardProp;y=function(x,P){return w(x,P)&&E(x,P)}}else y=w}var p=new lw(n,h,r?i.componentStyle:void 0);function f(x,P){return function(v,C,O){var A=v.attrs,b=v.componentStyle,B=v.defaultProps,ce=v.foldedComponentIds,re=v.styledComponentId,Fe=v.target,at=Tn.useContext(Pm),Ie=ld(),J=v.shouldForwardProp||Ie.shouldForwardProp,N=T1(C,at,B)||Br,F=function(Be,ye,st){for(var Dn,Wt=nt(nt({},ye),{className:void 0,theme:st}),Xr=0;Xr=0)&&(n[i]=e[i]);return n}function F0(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function I0(e,t){return e.button===0&&(!t||t==="_self")&&!F0(e)}const b0=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],M0="6";try{window.__reactRouterVersion=M0}catch{}function $0(e,t){return t0({basename:t==null?void 0:t.basename,future:Zi({},t==null?void 0:t.future,{v7_prependBasename:!0}),history:Cy({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||z0(),routes:e,mapRouteProperties:A0,window:t==null?void 0:t.window}).initialize()}function z0(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=Zi({},t,{errors:U0(t.errors)})),t}function U0(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,i]of t)if(i&&i.__type==="RouteErrorResponse")n[r]=new Zs(i.status,i.statusText,i.data,i.internal===!0);else if(i&&i.__type==="Error"){if(i.__subType){let o=window[i.__subType];if(typeof o=="function")try{let l=new o(i.message);l.stack="",n[r]=l}catch{}}if(n[r]==null){let o=new Error(i.message);o.stack="",n[r]=o}}else n[r]=i;return n}const B0=P.createContext({isTransitioning:!1}),W0=P.createContext(new Map),H0="startTransition",Kf=dg[H0],V0="flushSync",Yf=ky[V0];function Q0(e){Kf?Kf(e):e()}function di(e){Yf?Yf(e):e()}class K0{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function Y0(e){let{fallbackElement:t,router:n,future:r}=e,[i,o]=P.useState(n.state),[l,a]=P.useState(),[u,s]=P.useState({isTransitioning:!1}),[c,d]=P.useState(),[h,g]=P.useState(),[y,w]=P.useState(),E=P.useRef(new Map),{v7_startTransition:p}=r||{},f=P.useCallback(C=>{p?Q0(C):C()},[p]),m=P.useCallback((C,O)=>{let{deletedFetchers:A,unstable_flushSync:b,unstable_viewTransitionOpts:B}=O;A.forEach(re=>E.current.delete(re)),C.fetchers.forEach((re,Fe)=>{re.data!==void 0&&E.current.set(Fe,re.data)});let ce=n.window==null||typeof n.window.document.startViewTransition!="function";if(!B||ce){b?di(()=>o(C)):f(()=>o(C));return}if(b){di(()=>{h&&(c&&c.resolve(),h.skipTransition()),s({isTransitioning:!0,flushSync:!0,currentLocation:B.currentLocation,nextLocation:B.nextLocation})});let re=n.window.document.startViewTransition(()=>{di(()=>o(C))});re.finished.finally(()=>{di(()=>{d(void 0),g(void 0),a(void 0),s({isTransitioning:!1})})}),di(()=>g(re));return}h?(c&&c.resolve(),h.skipTransition(),w({state:C,currentLocation:B.currentLocation,nextLocation:B.nextLocation})):(a(C),s({isTransitioning:!0,flushSync:!1,currentLocation:B.currentLocation,nextLocation:B.nextLocation}))},[n.window,h,c,E,f]);P.useLayoutEffect(()=>n.subscribe(m),[n,m]),P.useEffect(()=>{u.isTransitioning&&!u.flushSync&&d(new K0)},[u]),P.useEffect(()=>{if(c&&l&&n.window){let C=l,O=c.promise,A=n.window.document.startViewTransition(async()=>{f(()=>o(C)),await O});A.finished.finally(()=>{d(void 0),g(void 0),a(void 0),s({isTransitioning:!1})}),g(A)}},[f,l,c,n.window]),P.useEffect(()=>{c&&l&&i.location.key===l.location.key&&c.resolve()},[c,h,i.location,l]),P.useEffect(()=>{!u.isTransitioning&&y&&(a(y.state),s({isTransitioning:!0,flushSync:!1,currentLocation:y.currentLocation,nextLocation:y.nextLocation}),w(void 0))},[u.isTransitioning,y]),P.useEffect(()=>{},[]);let x=P.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:C=>n.navigate(C),push:(C,O,A)=>n.navigate(C,{state:O,preventScrollReset:A==null?void 0:A.preventScrollReset}),replace:(C,O,A)=>n.navigate(C,{replace:!0,state:O,preventScrollReset:A==null?void 0:A.preventScrollReset})}),[n]),_=n.basename||"/",v=P.useMemo(()=>({router:n,navigator:x,static:!1,basename:_}),[n,x,_]);return P.createElement(P.Fragment,null,P.createElement(Yl.Provider,{value:v},P.createElement(Xh.Provider,{value:i},P.createElement(W0.Provider,{value:E.current},P.createElement(B0.Provider,{value:u},P.createElement(j0,{basename:_,location:i.location,navigationType:i.historyAction,navigator:x,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},i.initialized||n.future.v7_partialHydration?P.createElement(G0,{routes:n.routes,future:n.future,state:i}):t))))),null)}function G0(e){let{routes:t,future:n,state:r}=e;return w0(t,void 0,r,n)}const X0=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",q0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,tc=P.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:l,state:a,target:u,to:s,preventScrollReset:c,unstable_viewTransition:d}=t,h=D0(t,b0),{basename:g}=P.useContext(rr),y,w=!1;if(typeof s=="string"&&q0.test(s)&&(y=s,X0))try{let m=new URL(window.location.href),x=s.startsWith("//")?new URL(m.protocol+s):new URL(s),_=Kr(x.pathname,g);x.origin===m.origin&&_!=null?s=_+x.search+x.hash:w=!0}catch{}let E=h0(s,{relative:i}),p=J0(s,{replace:l,state:a,target:u,preventScrollReset:c,relative:i,unstable_viewTransition:d});function f(m){r&&r(m),m.defaultPrevented||p(m)}return P.createElement("a",Zi({},h,{href:y||E,onClick:w||o?r:f,ref:n,target:u}))});var Gf;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Gf||(Gf={}));var Xf;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Xf||(Xf={}));function J0(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:l,unstable_viewTransition:a}=t===void 0?{}:t,u=m0(),s=so(),c=Zh(e,{relative:l});return P.useCallback(d=>{if(I0(d,n)){d.preventDefault();let h=r!==void 0?r:er(s)===er(c);u(e,{replace:h,state:i,preventScrollReset:o,relative:l,unstable_viewTransition:a})}},[s,u,c,r,i,n,e,o,l,a])}const Z0="_headerWrapper_jlk7e_1",e1="_topHeaderWrapper_jlk7e_29",t1="_topHeaderLeft_jlk7e_39",n1="_topHeaderRight_jlk7e_53",r1="_bottomElementsWrapper_jlk7e_67",pi={headerWrapper:Z0,topHeaderWrapper:e1,topHeaderLeft:t1,topHeaderRight:n1,bottomElementsWrapper:r1},i1="_iconWrapper_f9788_1",o1={iconWrapper:i1},De={white:"#FFFFFF",gray:"#F8F8F8",darkBlue:"#071D41",blue:"#155BCB",lightBlue:"#D4E5FF",green:"#168821",lightGreen:"#E3F5E1",yellow:"#FFCD07",lightYellow:"FFF5C2",red:"#E52207",lightRed:"#FDB8AE",backgroundDarkBlue:"#04132A",backgroundBlue:"#071D41",transparent:"#0000000",fadeBackground:"#00000075",textBlack:"#333333",textBlue:"#1351B4",textLightBlue:"#C5D4EB",hoverBlue:"#5992ED"};var nt=function(){return nt=Object.assign||function(t){for(var n,r=1,i=arguments.length;r0?je(Yr,--_t):0,zr--,ke===10&&(zr=1,ql--),ke}function Dt(){return ke=_t2||Hu(ke)>3?"":" "}function m1(e,t){for(;--t&&Dt()&&!(ke<48||ke>102||ke>57&&ke<65||ke>70&&ke<97););return Zl(e,qo()+(t<6&&Kn()==32&&Dt()==32))}function Vu(e){for(;Dt();)switch(ke){case e:return _t;case 34:case 39:e!==34&&e!==39&&Vu(ke);break;case 40:e===41&&Vu(e);break;case 92:Dt();break}return _t}function g1(e,t){for(;Dt()&&e+ke!==57;)if(e+ke===84&&Kn()===47)break;return"/*"+Zl(t,_t-1)+"*"+rc(e===47?e:Dt())}function v1(e){for(;!Hu(Kn());)Dt();return Zl(e,_t)}function y1(e){return p1(Jo("",null,null,null,[""],e=d1(e),0,[0],e))}function Jo(e,t,n,r,i,o,l,a,u){for(var s=0,c=0,d=l,h=0,g=0,y=0,w=1,E=1,p=1,f=0,m="",x=i,_=o,v=r,C=m;E;)switch(y=f,f=Dt()){case 40:if(y!=108&&je(C,d-1)==58){Xo(C+=H($a(f),"&","&\f"),"&\f",im(s?a[s-1]:0))!=-1&&(p=-1);break}case 34:case 39:case 91:C+=$a(f);break;case 9:case 10:case 13:case 32:C+=h1(y);break;case 92:C+=m1(qo()-1,7);continue;case 47:switch(Kn()){case 42:case 47:wi(w1(g1(Dt(),qo()),t,n,u),u);break;default:C+="/"}break;case 123*w:a[s++]=$t(C)*p;case 125*w:case 59:case 0:switch(f){case 0:case 125:E=0;case 59+c:p==-1&&(C=H(C,/\f/g,"")),g>0&&$t(C)-d&&wi(g>32?Zf(C+";",r,n,d-1,u):Zf(H(C," ","")+";",r,n,d-2,u),u);break;case 59:C+=";";default:if(wi(v=Jf(C,t,n,s,c,i,a,m,x=[],_=[],d,o),o),f===123)if(c===0)Jo(C,t,v,v,x,o,d,a,_);else switch(h===99&&je(C,3)===110?100:h){case 100:case 108:case 109:case 115:Jo(e,v,v,r&&wi(Jf(e,v,v,0,0,i,a,m,i,x=[],d,_),_),i,_,d,a,r?x:_);break;default:Jo(C,v,v,v,[""],_,0,a,_)}}s=c=g=0,w=p=1,m=C="",d=l;break;case 58:d=1+$t(C),g=y;default:if(w<1){if(f==123)--w;else if(f==125&&w++==0&&f1()==125)continue}switch(C+=rc(f),f*w){case 38:p=c>0?1:(C+="\f",-1);break;case 44:a[s++]=($t(C)-1)*p,p=1;break;case 64:Kn()===45&&(C+=$a(Dt())),h=Kn(),c=d=$t(m=C+=v1(qo())),f++;break;case 45:y===45&&$t(C)==2&&(w=0)}}return o}function Jf(e,t,n,r,i,o,l,a,u,s,c,d){for(var h=i-1,g=i===0?o:[""],y=lm(g),w=0,E=0,p=0;w0?g[f]+" "+m:H(m,/&\f/g,g[f])))&&(u[p++]=x);return Jl(e,t,n,i===0?Xl:a,u,s,c,d)}function w1(e,t,n,r){return Jl(e,t,n,nm,rc(c1()),$r(e,2,-2),0,r)}function Zf(e,t,n,r,i){return Jl(e,t,n,nc,$r(e,0,r),$r(e,r+1,-1),r,i)}function um(e,t,n){switch(u1(e,t)){case 5103:return ee+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ee+e+e;case 4789:return Oi+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ee+e+Oi+e+ae+e+e;case 5936:switch(je(e,t+11)){case 114:return ee+e+ae+H(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ee+e+ae+H(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ee+e+ae+H(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return ee+e+ae+e+e;case 6165:return ee+e+ae+"flex-"+e+e;case 5187:return ee+e+H(e,/(\w+).+(:[^]+)/,ee+"box-$1$2"+ae+"flex-$1$2")+e;case 5443:return ee+e+ae+"flex-item-"+H(e,/flex-|-self/g,"")+(Vt(e,/flex-|baseline/)?"":ae+"grid-row-"+H(e,/flex-|-self/g,""))+e;case 4675:return ee+e+ae+"flex-line-pack"+H(e,/align-content|flex-|-self/g,"")+e;case 5548:return ee+e+ae+H(e,"shrink","negative")+e;case 5292:return ee+e+ae+H(e,"basis","preferred-size")+e;case 6060:return ee+"box-"+H(e,"-grow","")+ee+e+ae+H(e,"grow","positive")+e;case 4554:return ee+H(e,/([^-])(transform)/g,"$1"+ee+"$2")+e;case 6187:return H(H(H(e,/(zoom-|grab)/,ee+"$1"),/(image-set)/,ee+"$1"),e,"")+e;case 5495:case 3959:return H(e,/(image-set\([^]*)/,ee+"$1$`$1");case 4968:return H(H(e,/(.+:)(flex-)?(.*)/,ee+"box-pack:$3"+ae+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ee+e+e;case 4200:if(!Vt(e,/flex-|baseline/))return ae+"grid-column-align"+$r(e,t)+e;break;case 2592:case 3360:return ae+H(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,i){return t=i,Vt(r.props,/grid-\w+-end/)})?~Xo(e+(n=n[t].value),"span",0)?e:ae+H(e,"-start","")+e+ae+"grid-row-span:"+(~Xo(n,"span",0)?Vt(n,/\d+/):+Vt(n,/\d+/)-+Vt(e,/\d+/))+";":ae+H(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return Vt(r.props,/grid-\w+-start/)})?e:ae+H(H(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return H(e,/(.+)-inline(.+)/,ee+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if($t(e)-1-t>6)switch(je(e,t+1)){case 109:if(je(e,t+4)!==45)break;case 102:return H(e,/(.+:)(.+)-([^]+)/,"$1"+ee+"$2-$3$1"+Oi+(je(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Xo(e,"stretch",0)?um(H(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return H(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,i,o,l,a,u,s){return ae+i+":"+o+s+(l?ae+i+"-span:"+(a?u:+u-+o)+s:"")+e});case 4949:if(je(e,t+6)===121)return H(e,":",":"+ee)+e;break;case 6444:switch(je(e,je(e,14)===45?18:11)){case 120:return H(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+ee+(je(e,14)===45?"inline-":"")+"box$3$1"+ee+"$2$3$1"+ae+"$2box$3")+e;case 100:return H(e,":",":"+ae)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return H(e,"scroll-","scroll-snap-")+e}return e}function Nl(e,t){for(var n="",r=0;r-1&&!e.return)switch(e.type){case nc:e.return=um(e.value,e.length,n);return;case rm:return Nl([cn(e,{value:H(e.value,"@","@"+ee)})],r);case Xl:if(e.length)return s1(n=e.props,function(i){switch(Vt(i,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":ur(cn(e,{props:[H(i,/:(read-\w+)/,":"+Oi+"$1")]})),ur(cn(e,{props:[i]})),Wu(e,{props:qf(n,r)});break;case"::placeholder":ur(cn(e,{props:[H(i,/:(plac\w+)/,":"+ee+"input-$1")]})),ur(cn(e,{props:[H(i,/:(plac\w+)/,":"+Oi+"$1")]})),ur(cn(e,{props:[H(i,/:(plac\w+)/,ae+"input-$1")]})),ur(cn(e,{props:[i]})),Wu(e,{props:qf(n,r)});break}return""})}}var C1={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ft={},Ur=typeof process<"u"&&ft!==void 0&&(ft.REACT_APP_SC_ATTR||ft.SC_ATTR)||"data-styled",sm="active",cm="data-styled-version",ea="6.1.8",ic=`/*!sc*/ +`,oc=typeof window<"u"&&"HTMLElement"in window,P1=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&ft!==void 0&&ft.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&ft.REACT_APP_SC_DISABLE_SPEEDY!==""?ft.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&ft.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&ft!==void 0&&ft.SC_DISABLE_SPEEDY!==void 0&&ft.SC_DISABLE_SPEEDY!==""&&ft.SC_DISABLE_SPEEDY!=="false"&&ft.SC_DISABLE_SPEEDY),ta=Object.freeze([]),Br=Object.freeze({});function _1(e,t,n){return n===void 0&&(n=Br),e.theme!==n.theme&&e.theme||t||n.theme}var fm=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),T1=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,R1=/(^-|-$)/g;function ed(e){return e.replace(T1,"-").replace(R1,"")}var N1=/(a)(d)/gi,Ao=52,td=function(e){return String.fromCharCode(e+(e>25?39:97))};function Qu(e){var t,n="";for(t=Math.abs(e);t>Ao;t=t/Ao|0)n=td(t%Ao)+n;return(td(t%Ao)+n).replace(N1,"$1-$2")}var za,dm=5381,kr=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},pm=function(e){return kr(dm,e)};function O1(e){return Qu(pm(e)>>>0)}function L1(e){return e.displayName||e.name||"Component"}function Ua(e){return typeof e=="string"&&!0}var hm=typeof Symbol=="function"&&Symbol.for,mm=hm?Symbol.for("react.memo"):60115,j1=hm?Symbol.for("react.forward_ref"):60112,A1={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},D1={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},gm={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},F1=((za={})[j1]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},za[mm]=gm,za);function nd(e){return("type"in(t=e)&&t.type.$$typeof)===mm?gm:"$$typeof"in e?F1[e.$$typeof]:A1;var t}var I1=Object.defineProperty,b1=Object.getOwnPropertyNames,rd=Object.getOwnPropertySymbols,M1=Object.getOwnPropertyDescriptor,$1=Object.getPrototypeOf,id=Object.prototype;function vm(e,t,n){if(typeof t!="string"){if(id){var r=$1(t);r&&r!==id&&vm(e,r,n)}var i=b1(t);rd&&(i=i.concat(rd(t)));for(var o=nd(e),l=nd(t),a=0;a0?" Args: ".concat(t.join(", ")):""))}var z1=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,i=r.length,o=i;t>=o;)if((o<<=1)<0)throw co(16,"".concat(t));this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var l=i;l=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],i=this.indexOfGroup(t),o=i+r,l=i;l=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t0&&(E+="".concat(p,","))}),u+="".concat(y).concat(w,'{content:"').concat(E,'"}').concat(ic)},c=0;c0?".".concat(t):h},c=u.slice();c.push(function(h){h.type===Xl&&h.value.includes("&")&&(h.props[0]=h.props[0].replace(q1,n).replace(r,s))}),l.prefix&&c.push(k1),c.push(S1);var d=function(h,g,y,w){g===void 0&&(g=""),y===void 0&&(y=""),w===void 0&&(w="&"),t=w,n=g,r=new RegExp("\\".concat(n,"\\b"),"g");var E=h.replace(J1,""),p=y1(y||g?"".concat(y," ").concat(g," { ").concat(E," }"):E);l.namespace&&(p=Sm(p,l.namespace));var f=[];return Nl(p,x1(c.concat(E1(function(m){return f.push(m)})))),f};return d.hash=u.length?u.reduce(function(h,g){return g.name||co(15),kr(h,g.name)},dm).toString():"",d}var ew=new wm,Yu=Z1(),xm=Tn.createContext({shouldForwardProp:void 0,styleSheet:ew,stylis:Yu});xm.Consumer;Tn.createContext(void 0);function ad(){return P.useContext(xm)}var tw=function(){function e(t,n){var r=this;this.inject=function(i,o){o===void 0&&(o=Yu);var l=r.name+o.hash;i.hasNameForId(r.id,l)||i.insertRules(r.id,l,o(r.rules,l,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,ac(this,function(){throw co(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Yu),this.name+t.hash},e}(),nw=function(e){return e>="A"&&e<="Z"};function ud(e){for(var t="",n=0;n>>0);if(!n.hasNameForId(this.componentId,l)){var a=r(o,".".concat(l),void 0,this.componentId);n.insertRules(this.componentId,l,a)}i=Hn(i,l),this.staticRulesId=l}else{for(var u=kr(this.baseHash,r.hash),s="",c=0;c>>0);n.hasNameForId(this.componentId,g)||n.insertRules(this.componentId,g,r(s,".".concat(g),void 0,this.componentId)),i=Hn(i,g)}}return i},e}(),Cm=Tn.createContext(void 0);Cm.Consumer;var Ba={};function lw(e,t,n){var r=lc(e),i=e,o=!Ua(e),l=t.attrs,a=l===void 0?ta:l,u=t.componentId,s=u===void 0?function(x,_){var v=typeof x!="string"?"sc":ed(x);Ba[v]=(Ba[v]||0)+1;var C="".concat(v,"-").concat(O1(ea+v+Ba[v]));return _?"".concat(_,"-").concat(C):C}(t.displayName,t.parentComponentId):u,c=t.displayName,d=c===void 0?function(x){return Ua(x)?"styled.".concat(x):"Styled(".concat(L1(x),")")}(e):c,h=t.displayName&&t.componentId?"".concat(ed(t.displayName),"-").concat(t.componentId):t.componentId||s,g=r&&i.attrs?i.attrs.concat(a).filter(Boolean):a,y=t.shouldForwardProp;if(r&&i.shouldForwardProp){var w=i.shouldForwardProp;if(t.shouldForwardProp){var E=t.shouldForwardProp;y=function(x,_){return w(x,_)&&E(x,_)}}else y=w}var p=new ow(n,h,r?i.componentStyle:void 0);function f(x,_){return function(v,C,O){var A=v.attrs,b=v.componentStyle,B=v.defaultProps,ce=v.foldedComponentIds,re=v.styledComponentId,Fe=v.target,at=Tn.useContext(Cm),Ie=ad(),J=v.shouldForwardProp||Ie.shouldForwardProp,N=_1(C,at,B)||Br,F=function(Be,ye,st){for(var Dn,Wt=nt(nt({},ye),{className:void 0,theme:st}),Xr=0;Xre.padding?e.padding:"2em"}; -`,sw=Gr.a` +`,uw=Gr.a` color: ${e=>e.color?e.color:De.white}; cursor: pointer; text-align: ${e=>e.textAlign?e.textAlign:"left"}; @@ -92,7 +92,7 @@ Error generating stack: `+o.message+` color: ${De.hoverBlue}; background: none; } -`,cw=Gr.button` +`,sw=Gr.button` display: flex; justify-content: center; align-items: center; @@ -104,7 +104,7 @@ Error generating stack: `+o.message+` &:hover { background-color: ${De.lightBlue}; } -`,fw=Gr.button` +`,cw=Gr.button` display: flex; justify-content: space-between; align-items: center; @@ -117,7 +117,7 @@ Error generating stack: `+o.message+` &:hover { background-color: ${De.lightBlue}; } -`,cd=Gr(nm)` +`,fd=Gr(tc)` display: flex; justify-content: space-between; align-items: center; @@ -130,19 +130,19 @@ Error generating stack: `+o.message+` &:hover { background-color: ${De.lightBlue}; } -`;function fd({label:e,onClick:t,icon:n}){return R.jsxs(cw,{onClick:t,className:l1.iconWrapper,style:{padding:n&&e?"0.5rem 1rem 0.5rem 1rem":"0.5rem"},children:[n&&R.jsx("div",{className:"fa-solid "+n,style:{color:De.textBlue,marginRight:e?"0.5rem":null}}),e&&R.jsx("p",{style:{color:De.textBlue,fontWeight:"bold"},children:e})]})}const dw="modulepreload",pw=function(e){return"/observatorioiftm/"+e},dd={},hw=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),a=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));i=Promise.all(n.map(u=>{if(u=pw(u),u in dd)return;dd[u]=!0;const s=u.endsWith(".css"),c=s?'[rel="stylesheet"]':"";if(!!r)for(let g=o.length-1;g>=0;g--){const y=o[g];if(y.href===u&&(!s||y.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${c}`))return;const h=document.createElement("link");if(h.rel=s?"stylesheet":dw,s||(h.as="script",h.crossOrigin=""),h.href=u,a&&h.setAttribute("nonce",a),document.head.appendChild(h),s)return new Promise((g,y)=>{h.addEventListener("load",g),h.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${u}`)))})}))}return i.then(()=>t()).catch(o=>{const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o})};var mw={};function gw(e){if(Array.isArray(e))return e}function vw(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,l,a=[],u=!0,s=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);u=!0);}catch(c){s=!0,i=c}finally{try{if(!u&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(s)throw i}}return a}}function Xu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(s){throw s},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,l=!1,a;return{s:function(){n=n.call(e)},n:function(){var s=n.next();return o=s.done,s},e:function(s){l=!0,a=s},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(l)throw a}}}}function kw(e,t){if(e){if(typeof e=="string")return hd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return hd(e,t)}}function hd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{};n&&Object.entries(r).forEach(function(i){var o=tl(i,2),l=o[0],a=o[1];return n.style[l]=a})}},{key:"find",value:function(n,r){return n?Array.from(n.querySelectorAll(r)):[]}},{key:"findSingle",value:function(n,r){return n?n.querySelector(r):null}},{key:"setAttributes",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(n){var o=function l(a,u){var s,c,d=n!=null&&(s=n.$attrs)!==null&&s!==void 0&&s[a]?[n==null||(c=n.$attrs)===null||c===void 0?void 0:c[a]]:[];return[u].flat().reduce(function(h,g){if(g!=null){var y=$e(g);if(y==="string"||y==="number")h.push(g);else if(y==="object"){var w=Array.isArray(g)?l(a,g):Object.entries(g).map(function(E){var p=tl(E,2),f=p[0],m=p[1];return a==="style"&&(m||m===0)?"".concat(f.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),":").concat(m):m?f:void 0});h=w.length?h.concat(w.filter(function(E){return!!E})):h}}return h},d)};Object.entries(i).forEach(function(l){var a=tl(l,2),u=a[0],s=a[1];if(s!=null){var c=u.match(/^on(.+)/);c?n.addEventListener(c[1].toLowerCase(),s):u==="p-bind"?r.setAttributes(n,s):(s=u==="class"?Ju(new Set(o("class",s))).join(" ").trim():u==="style"?o("style",s).join(";").trim():s,(n.$attrs=n.$attrs||{})&&(n.$attrs[u]=s),n.setAttribute(u,s))}})}}},{key:"getAttribute",value:function(n,r){if(n){var i=n.getAttribute(r);return isNaN(i)?i==="true"||i==="false"?i==="true":i:+i}}},{key:"isAttributeEquals",value:function(n,r,i){return n?this.getAttribute(n,r)===i:!1}},{key:"isAttributeNotEquals",value:function(n,r,i){return!this.isAttributeEquals(n,r,i)}},{key:"getHeight",value:function(n){if(n){var r=n.offsetHeight,i=getComputedStyle(n);return r=r-(parseFloat(i.paddingTop)+parseFloat(i.paddingBottom)+parseFloat(i.borderTopWidth)+parseFloat(i.borderBottomWidth)),r}return 0}},{key:"getWidth",value:function(n){if(n){var r=n.offsetWidth,i=getComputedStyle(n);return r=r-(parseFloat(i.paddingLeft)+parseFloat(i.paddingRight)+parseFloat(i.borderLeftWidth)+parseFloat(i.borderRightWidth)),r}return 0}},{key:"alignOverlay",value:function(n,r,i){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;n&&r&&(i==="self"?this.relativePosition(n,r):(o&&(n.style.minWidth=e.getOuterWidth(r)+"px"),this.absolutePosition(n,r)))}},{key:"absolutePosition",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"left";if(n&&r){var o=n.offsetParent?{width:n.offsetWidth,height:n.offsetHeight}:this.getHiddenElementDimensions(n),l=o.height,a=o.width,u=r.offsetHeight,s=r.offsetWidth,c=r.getBoundingClientRect(),d=this.getWindowScrollTop(),h=this.getWindowScrollLeft(),g=this.getViewport(),y,w;c.top+u+l>g.height?(y=c.top+d-l,y<0&&(y=d),n.style.transformOrigin="bottom"):(y=u+c.top+d,n.style.transformOrigin="top");var E=c.left,p=i==="left"?0:a-s;E+s+a>g.width?w=Math.max(0,E+h+s-a):w=E-p+h,n.style.top=y+"px",n.style.left=w+"px"}}},{key:"relativePosition",value:function(n,r){if(n&&r){var i=n.offsetParent?{width:n.offsetWidth,height:n.offsetHeight}:this.getHiddenElementDimensions(n),o=r.offsetHeight,l=r.getBoundingClientRect(),a=this.getViewport(),u,s;l.top+o+i.height>a.height?(u=-1*i.height,l.top+u<0&&(u=-1*l.top),n.style.transformOrigin="bottom"):(u=o,n.style.transformOrigin="top"),i.width>a.width?s=l.left*-1:l.left+i.width>a.width?s=(l.left+i.width-a.width)*-1:s=0,n.style.top=u+"px",n.style.left=s+"px"}}},{key:"flipfitCollision",value:function(n,r){var i=this,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"left top",l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"left bottom",a=arguments.length>4?arguments[4]:void 0;if(n&&r){var u=r.getBoundingClientRect(),s=this.getViewport(),c=o.split(" "),d=l.split(" "),h=function(p,f){return f?+p.substring(p.search(/(\+|-)/g))||0:p.substring(0,p.search(/(\+|-)/g))||p},g={my:{x:h(c[0]),y:h(c[1]||c[0]),offsetX:h(c[0],!0),offsetY:h(c[1]||c[0],!0)},at:{x:h(d[0]),y:h(d[1]||d[0]),offsetX:h(d[0],!0),offsetY:h(d[1]||d[0],!0)}},y={left:function(){var p=g.my.offsetX+g.at.offsetX;return p+u.left+(g.my.x==="left"?0:-1*(g.my.x==="center"?i.getOuterWidth(n)/2:i.getOuterWidth(n)))},top:function(){var p=g.my.offsetY+g.at.offsetY;return p+u.top+(g.my.y==="top"?0:-1*(g.my.y==="center"?i.getOuterHeight(n)/2:i.getOuterHeight(n)))}},w={count:{x:0,y:0},left:function(){var p=y.left(),f=e.getWindowScrollLeft();n.style.left=p+f+"px",this.count.x===2?(n.style.left=f+"px",this.count.x=0):p<0&&(this.count.x++,g.my.x="left",g.at.x="right",g.my.offsetX*=-1,g.at.offsetX*=-1,this.right())},right:function(){var p=y.left()+e.getOuterWidth(r),f=e.getWindowScrollLeft();n.style.left=p+f+"px",this.count.x===2?(n.style.left=s.width-e.getOuterWidth(n)+f+"px",this.count.x=0):p+e.getOuterWidth(n)>s.width&&(this.count.x++,g.my.x="right",g.at.x="left",g.my.offsetX*=-1,g.at.offsetX*=-1,this.left())},top:function(){var p=y.top(),f=e.getWindowScrollTop();n.style.top=p+f+"px",this.count.y===2?(n.style.left=f+"px",this.count.y=0):p<0&&(this.count.y++,g.my.y="top",g.at.y="bottom",g.my.offsetY*=-1,g.at.offsetY*=-1,this.bottom())},bottom:function(){var p=y.top()+e.getOuterHeight(r),f=e.getWindowScrollTop();n.style.top=p+f+"px",this.count.y===2?(n.style.left=s.height-e.getOuterHeight(n)+f+"px",this.count.y=0):p+e.getOuterHeight(r)>s.height&&(this.count.y++,g.my.y="bottom",g.at.y="top",g.my.offsetY*=-1,g.at.offsetY*=-1,this.top())},center:function(p){if(p==="y"){var f=y.top()+e.getOuterHeight(r)/2;n.style.top=f+e.getWindowScrollTop()+"px",f<0?this.bottom():f+e.getOuterHeight(r)>s.height&&this.top()}else{var m=y.left()+e.getOuterWidth(r)/2;n.style.left=m+e.getWindowScrollLeft()+"px",m<0?this.left():m+e.getOuterWidth(n)>s.width&&this.right()}}};w[g.at.x]("x"),w[g.at.y]("y"),this.isFunction(a)&&a(g)}}},{key:"findCollisionPosition",value:function(n){if(n){var r=n==="top"||n==="bottom",i=n==="left"?"right":"left",o=n==="top"?"bottom":"top";return r?{axis:"y",my:"center ".concat(o),at:"center ".concat(n)}:{axis:"x",my:"".concat(i," center"),at:"".concat(n," center")}}}},{key:"getParents",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return n.parentNode===null?r:this.getParents(n.parentNode,r.concat([n.parentNode]))}},{key:"getScrollableParents",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i=[];if(n){var o=this.getParents(n),l=/(auto|scroll)/,a=function(m){var x=m?getComputedStyle(m):null;return x&&(l.test(x.getPropertyValue("overflow"))||l.test(x.getPropertyValue("overflow-x"))||l.test(x.getPropertyValue("overflow-y")))},u=function(m){r?i.push(m.nodeName==="BODY"||m.nodeName==="HTML"||m.nodeType===9?window:m):i.push(m)},s=Wa(o),c;try{for(s.s();!(c=s.n()).done;){var d=c.value,h=d.nodeType===1&&d.dataset.scrollselectors;if(h){var g=h.split(","),y=Wa(g),w;try{for(y.s();!(w=y.n()).done;){var E=w.value,p=this.findSingle(d,E);p&&a(p)&&u(p)}}catch(f){y.e(f)}finally{y.f()}}d.nodeType===1&&a(d)&&u(d)}}catch(f){s.e(f)}finally{s.f()}}return i.some(function(f){return f===document.body||f===window})||i.push(window),i}},{key:"getHiddenElementOuterHeight",value:function(n){if(n){n.style.visibility="hidden",n.style.display="block";var r=n.offsetHeight;return n.style.display="none",n.style.visibility="visible",r}return 0}},{key:"getHiddenElementOuterWidth",value:function(n){if(n){n.style.visibility="hidden",n.style.display="block";var r=n.offsetWidth;return n.style.display="none",n.style.visibility="visible",r}return 0}},{key:"getHiddenElementDimensions",value:function(n){var r={};return n&&(n.style.visibility="hidden",n.style.display="block",r.width=n.offsetWidth,r.height=n.offsetHeight,n.style.display="none",n.style.visibility="visible"),r}},{key:"fadeIn",value:function(n,r){if(n){n.style.opacity=0;var i=+new Date,o=0,l=function a(){o=+n.style.opacity+(new Date().getTime()-i)/r,n.style.opacity=o,i=+new Date,+o<1&&(window.requestAnimationFrame&&requestAnimationFrame(a)||setTimeout(a,16))};l()}}},{key:"fadeOut",value:function(n,r){if(n)var i=1,o=50,l=o/r,a=setInterval(function(){i=i-l,i<=0&&(i=0,clearInterval(a)),n.style.opacity=i},o)}},{key:"getUserAgent",value:function(){return navigator.userAgent}},{key:"isIOS",value:function(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}},{key:"isAndroid",value:function(){return/(android)/i.test(navigator.userAgent)}},{key:"isChrome",value:function(){return/(chrome)/i.test(navigator.userAgent)}},{key:"isClient",value:function(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}},{key:"isTouchDevice",value:function(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0}},{key:"isFunction",value:function(n){return!!(n&&n.constructor&&n.call&&n.apply)}},{key:"appendChild",value:function(n,r){if(this.isElement(r))r.appendChild(n);else if(r.el&&r.el.nativeElement)r.el.nativeElement.appendChild(n);else throw new Error("Cannot append "+r+" to "+n)}},{key:"removeChild",value:function(n,r){if(this.isElement(r))r.removeChild(n);else if(r.el&&r.el.nativeElement)r.el.nativeElement.removeChild(n);else throw new Error("Cannot remove "+n+" from "+r)}},{key:"isElement",value:function(n){return(typeof HTMLElement>"u"?"undefined":$e(HTMLElement))==="object"?n instanceof HTMLElement:n&&$e(n)==="object"&&n!==null&&n.nodeType===1&&typeof n.nodeName=="string"}},{key:"scrollInView",value:function(n,r){var i=getComputedStyle(n).getPropertyValue("border-top-width"),o=i?parseFloat(i):0,l=getComputedStyle(n).getPropertyValue("padding-top"),a=l?parseFloat(l):0,u=n.getBoundingClientRect(),s=r.getBoundingClientRect(),c=s.top+document.body.scrollTop-(u.top+document.body.scrollTop)-o-a,d=n.scrollTop,h=n.clientHeight,g=this.getOuterHeight(r);c<0?n.scrollTop=d+c:c+g>h&&(n.scrollTop=d+c-h+g)}},{key:"clearSelection",value:function(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}},{key:"calculateScrollbarWidth",value:function(n){if(n){var r=getComputedStyle(n);return n.offsetWidth-n.clientWidth-parseFloat(r.borderLeftWidth)-parseFloat(r.borderRightWidth)}if(this.calculatedScrollbarWidth!=null)return this.calculatedScrollbarWidth;var i=document.createElement("div");i.className="p-scrollbar-measure",document.body.appendChild(i);var o=i.offsetWidth-i.clientWidth;return document.body.removeChild(i),this.calculatedScrollbarWidth=o,o}},{key:"calculateBodyScrollbarWidth",value:function(){return window.innerWidth-document.documentElement.offsetWidth}},{key:"getBrowser",value:function(){if(!this.browser){var n=this.resolveUserAgent();this.browser={},n.browser&&(this.browser[n.browser]=!0,this.browser.version=n.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}},{key:"resolveUserAgent",value:function(){var n=navigator.userAgent.toLowerCase(),r=/(chrome)[ ]([\w.]+)/.exec(n)||/(webkit)[ ]([\w.]+)/.exec(n)||/(opera)(?:.*version|)[ ]([\w.]+)/.exec(n)||/(msie) ([\w.]+)/.exec(n)||n.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(n)||[];return{browser:r[1]||"",version:r[2]||"0"}}},{key:"blockBodyScroll",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"p-overflow-hidden",r=!!document.body.style.getPropertyValue("--scrollbar-width");!r&&document.body.style.setProperty("--scrollbar-width",this.calculateBodyScrollbarWidth()+"px"),this.addClass(document.body,n)}},{key:"unblockBodyScroll",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"p-overflow-hidden";document.body.style.removeProperty("--scrollbar-width"),this.removeClass(document.body,n)}},{key:"isVisible",value:function(n){return n&&(n.clientHeight!==0||n.getClientRects().length!==0||getComputedStyle(n).display!=="none")}},{key:"isExist",value:function(n){return!!(n!==null&&typeof n<"u"&&n.nodeName&&n.parentNode)}},{key:"getFocusableElements",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",i=e.find(n,'button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])'.concat(r,`, +`;function dd({label:e,onClick:t,icon:n}){return R.jsxs(sw,{onClick:t,className:o1.iconWrapper,style:{padding:n&&e?"0.5rem 1rem 0.5rem 1rem":"0.5rem"},children:[n&&R.jsx("div",{className:"fa-solid "+n,style:{color:De.textBlue,marginRight:e?"0.5rem":null}}),e&&R.jsx("p",{style:{color:De.textBlue,fontWeight:"bold"},children:e})]})}const fw="modulepreload",dw=function(e){return"/observatorioiftm/"+e},pd={},pw=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),a=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));i=Promise.all(n.map(u=>{if(u=dw(u),u in pd)return;pd[u]=!0;const s=u.endsWith(".css"),c=s?'[rel="stylesheet"]':"";if(!!r)for(let g=o.length-1;g>=0;g--){const y=o[g];if(y.href===u&&(!s||y.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${c}`))return;const h=document.createElement("link");if(h.rel=s?"stylesheet":fw,s||(h.as="script",h.crossOrigin=""),h.href=u,a&&h.setAttribute("nonce",a),document.head.appendChild(h),s)return new Promise((g,y)=>{h.addEventListener("load",g),h.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${u}`)))})}))}return i.then(()=>t()).catch(o=>{const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o})};var hw={};function mw(e){if(Array.isArray(e))return e}function gw(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,l,a=[],u=!0,s=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);u=!0);}catch(c){s=!0,i=c}finally{try{if(!u&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(s)throw i}}return a}}function Xu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(s){throw s},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,l=!1,a;return{s:function(){n=n.call(e)},n:function(){var s=n.next();return o=s.done,s},e:function(s){l=!0,a=s},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(l)throw a}}}}function Ew(e,t){if(e){if(typeof e=="string")return md(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return md(e,t)}}function md(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{};n&&Object.entries(r).forEach(function(i){var o=tl(i,2),l=o[0],a=o[1];return n.style[l]=a})}},{key:"find",value:function(n,r){return n?Array.from(n.querySelectorAll(r)):[]}},{key:"findSingle",value:function(n,r){return n?n.querySelector(r):null}},{key:"setAttributes",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(n){var o=function l(a,u){var s,c,d=n!=null&&(s=n.$attrs)!==null&&s!==void 0&&s[a]?[n==null||(c=n.$attrs)===null||c===void 0?void 0:c[a]]:[];return[u].flat().reduce(function(h,g){if(g!=null){var y=$e(g);if(y==="string"||y==="number")h.push(g);else if(y==="object"){var w=Array.isArray(g)?l(a,g):Object.entries(g).map(function(E){var p=tl(E,2),f=p[0],m=p[1];return a==="style"&&(m||m===0)?"".concat(f.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),":").concat(m):m?f:void 0});h=w.length?h.concat(w.filter(function(E){return!!E})):h}}return h},d)};Object.entries(i).forEach(function(l){var a=tl(l,2),u=a[0],s=a[1];if(s!=null){var c=u.match(/^on(.+)/);c?n.addEventListener(c[1].toLowerCase(),s):u==="p-bind"?r.setAttributes(n,s):(s=u==="class"?Ju(new Set(o("class",s))).join(" ").trim():u==="style"?o("style",s).join(";").trim():s,(n.$attrs=n.$attrs||{})&&(n.$attrs[u]=s),n.setAttribute(u,s))}})}}},{key:"getAttribute",value:function(n,r){if(n){var i=n.getAttribute(r);return isNaN(i)?i==="true"||i==="false"?i==="true":i:+i}}},{key:"isAttributeEquals",value:function(n,r,i){return n?this.getAttribute(n,r)===i:!1}},{key:"isAttributeNotEquals",value:function(n,r,i){return!this.isAttributeEquals(n,r,i)}},{key:"getHeight",value:function(n){if(n){var r=n.offsetHeight,i=getComputedStyle(n);return r=r-(parseFloat(i.paddingTop)+parseFloat(i.paddingBottom)+parseFloat(i.borderTopWidth)+parseFloat(i.borderBottomWidth)),r}return 0}},{key:"getWidth",value:function(n){if(n){var r=n.offsetWidth,i=getComputedStyle(n);return r=r-(parseFloat(i.paddingLeft)+parseFloat(i.paddingRight)+parseFloat(i.borderLeftWidth)+parseFloat(i.borderRightWidth)),r}return 0}},{key:"alignOverlay",value:function(n,r,i){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;n&&r&&(i==="self"?this.relativePosition(n,r):(o&&(n.style.minWidth=e.getOuterWidth(r)+"px"),this.absolutePosition(n,r)))}},{key:"absolutePosition",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"left";if(n&&r){var o=n.offsetParent?{width:n.offsetWidth,height:n.offsetHeight}:this.getHiddenElementDimensions(n),l=o.height,a=o.width,u=r.offsetHeight,s=r.offsetWidth,c=r.getBoundingClientRect(),d=this.getWindowScrollTop(),h=this.getWindowScrollLeft(),g=this.getViewport(),y,w;c.top+u+l>g.height?(y=c.top+d-l,y<0&&(y=d),n.style.transformOrigin="bottom"):(y=u+c.top+d,n.style.transformOrigin="top");var E=c.left,p=i==="left"?0:a-s;E+s+a>g.width?w=Math.max(0,E+h+s-a):w=E-p+h,n.style.top=y+"px",n.style.left=w+"px"}}},{key:"relativePosition",value:function(n,r){if(n&&r){var i=n.offsetParent?{width:n.offsetWidth,height:n.offsetHeight}:this.getHiddenElementDimensions(n),o=r.offsetHeight,l=r.getBoundingClientRect(),a=this.getViewport(),u,s;l.top+o+i.height>a.height?(u=-1*i.height,l.top+u<0&&(u=-1*l.top),n.style.transformOrigin="bottom"):(u=o,n.style.transformOrigin="top"),i.width>a.width?s=l.left*-1:l.left+i.width>a.width?s=(l.left+i.width-a.width)*-1:s=0,n.style.top=u+"px",n.style.left=s+"px"}}},{key:"flipfitCollision",value:function(n,r){var i=this,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"left top",l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"left bottom",a=arguments.length>4?arguments[4]:void 0;if(n&&r){var u=r.getBoundingClientRect(),s=this.getViewport(),c=o.split(" "),d=l.split(" "),h=function(p,f){return f?+p.substring(p.search(/(\+|-)/g))||0:p.substring(0,p.search(/(\+|-)/g))||p},g={my:{x:h(c[0]),y:h(c[1]||c[0]),offsetX:h(c[0],!0),offsetY:h(c[1]||c[0],!0)},at:{x:h(d[0]),y:h(d[1]||d[0]),offsetX:h(d[0],!0),offsetY:h(d[1]||d[0],!0)}},y={left:function(){var p=g.my.offsetX+g.at.offsetX;return p+u.left+(g.my.x==="left"?0:-1*(g.my.x==="center"?i.getOuterWidth(n)/2:i.getOuterWidth(n)))},top:function(){var p=g.my.offsetY+g.at.offsetY;return p+u.top+(g.my.y==="top"?0:-1*(g.my.y==="center"?i.getOuterHeight(n)/2:i.getOuterHeight(n)))}},w={count:{x:0,y:0},left:function(){var p=y.left(),f=e.getWindowScrollLeft();n.style.left=p+f+"px",this.count.x===2?(n.style.left=f+"px",this.count.x=0):p<0&&(this.count.x++,g.my.x="left",g.at.x="right",g.my.offsetX*=-1,g.at.offsetX*=-1,this.right())},right:function(){var p=y.left()+e.getOuterWidth(r),f=e.getWindowScrollLeft();n.style.left=p+f+"px",this.count.x===2?(n.style.left=s.width-e.getOuterWidth(n)+f+"px",this.count.x=0):p+e.getOuterWidth(n)>s.width&&(this.count.x++,g.my.x="right",g.at.x="left",g.my.offsetX*=-1,g.at.offsetX*=-1,this.left())},top:function(){var p=y.top(),f=e.getWindowScrollTop();n.style.top=p+f+"px",this.count.y===2?(n.style.left=f+"px",this.count.y=0):p<0&&(this.count.y++,g.my.y="top",g.at.y="bottom",g.my.offsetY*=-1,g.at.offsetY*=-1,this.bottom())},bottom:function(){var p=y.top()+e.getOuterHeight(r),f=e.getWindowScrollTop();n.style.top=p+f+"px",this.count.y===2?(n.style.left=s.height-e.getOuterHeight(n)+f+"px",this.count.y=0):p+e.getOuterHeight(r)>s.height&&(this.count.y++,g.my.y="bottom",g.at.y="top",g.my.offsetY*=-1,g.at.offsetY*=-1,this.top())},center:function(p){if(p==="y"){var f=y.top()+e.getOuterHeight(r)/2;n.style.top=f+e.getWindowScrollTop()+"px",f<0?this.bottom():f+e.getOuterHeight(r)>s.height&&this.top()}else{var m=y.left()+e.getOuterWidth(r)/2;n.style.left=m+e.getWindowScrollLeft()+"px",m<0?this.left():m+e.getOuterWidth(n)>s.width&&this.right()}}};w[g.at.x]("x"),w[g.at.y]("y"),this.isFunction(a)&&a(g)}}},{key:"findCollisionPosition",value:function(n){if(n){var r=n==="top"||n==="bottom",i=n==="left"?"right":"left",o=n==="top"?"bottom":"top";return r?{axis:"y",my:"center ".concat(o),at:"center ".concat(n)}:{axis:"x",my:"".concat(i," center"),at:"".concat(n," center")}}}},{key:"getParents",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return n.parentNode===null?r:this.getParents(n.parentNode,r.concat([n.parentNode]))}},{key:"getScrollableParents",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i=[];if(n){var o=this.getParents(n),l=/(auto|scroll)/,a=function(m){var x=m?getComputedStyle(m):null;return x&&(l.test(x.getPropertyValue("overflow"))||l.test(x.getPropertyValue("overflow-x"))||l.test(x.getPropertyValue("overflow-y")))},u=function(m){r?i.push(m.nodeName==="BODY"||m.nodeName==="HTML"||m.nodeType===9?window:m):i.push(m)},s=Wa(o),c;try{for(s.s();!(c=s.n()).done;){var d=c.value,h=d.nodeType===1&&d.dataset.scrollselectors;if(h){var g=h.split(","),y=Wa(g),w;try{for(y.s();!(w=y.n()).done;){var E=w.value,p=this.findSingle(d,E);p&&a(p)&&u(p)}}catch(f){y.e(f)}finally{y.f()}}d.nodeType===1&&a(d)&&u(d)}}catch(f){s.e(f)}finally{s.f()}}return i.some(function(f){return f===document.body||f===window})||i.push(window),i}},{key:"getHiddenElementOuterHeight",value:function(n){if(n){n.style.visibility="hidden",n.style.display="block";var r=n.offsetHeight;return n.style.display="none",n.style.visibility="visible",r}return 0}},{key:"getHiddenElementOuterWidth",value:function(n){if(n){n.style.visibility="hidden",n.style.display="block";var r=n.offsetWidth;return n.style.display="none",n.style.visibility="visible",r}return 0}},{key:"getHiddenElementDimensions",value:function(n){var r={};return n&&(n.style.visibility="hidden",n.style.display="block",r.width=n.offsetWidth,r.height=n.offsetHeight,n.style.display="none",n.style.visibility="visible"),r}},{key:"fadeIn",value:function(n,r){if(n){n.style.opacity=0;var i=+new Date,o=0,l=function a(){o=+n.style.opacity+(new Date().getTime()-i)/r,n.style.opacity=o,i=+new Date,+o<1&&(window.requestAnimationFrame&&requestAnimationFrame(a)||setTimeout(a,16))};l()}}},{key:"fadeOut",value:function(n,r){if(n)var i=1,o=50,l=o/r,a=setInterval(function(){i=i-l,i<=0&&(i=0,clearInterval(a)),n.style.opacity=i},o)}},{key:"getUserAgent",value:function(){return navigator.userAgent}},{key:"isIOS",value:function(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}},{key:"isAndroid",value:function(){return/(android)/i.test(navigator.userAgent)}},{key:"isChrome",value:function(){return/(chrome)/i.test(navigator.userAgent)}},{key:"isClient",value:function(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}},{key:"isTouchDevice",value:function(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0}},{key:"isFunction",value:function(n){return!!(n&&n.constructor&&n.call&&n.apply)}},{key:"appendChild",value:function(n,r){if(this.isElement(r))r.appendChild(n);else if(r.el&&r.el.nativeElement)r.el.nativeElement.appendChild(n);else throw new Error("Cannot append "+r+" to "+n)}},{key:"removeChild",value:function(n,r){if(this.isElement(r))r.removeChild(n);else if(r.el&&r.el.nativeElement)r.el.nativeElement.removeChild(n);else throw new Error("Cannot remove "+n+" from "+r)}},{key:"isElement",value:function(n){return(typeof HTMLElement>"u"?"undefined":$e(HTMLElement))==="object"?n instanceof HTMLElement:n&&$e(n)==="object"&&n!==null&&n.nodeType===1&&typeof n.nodeName=="string"}},{key:"scrollInView",value:function(n,r){var i=getComputedStyle(n).getPropertyValue("border-top-width"),o=i?parseFloat(i):0,l=getComputedStyle(n).getPropertyValue("padding-top"),a=l?parseFloat(l):0,u=n.getBoundingClientRect(),s=r.getBoundingClientRect(),c=s.top+document.body.scrollTop-(u.top+document.body.scrollTop)-o-a,d=n.scrollTop,h=n.clientHeight,g=this.getOuterHeight(r);c<0?n.scrollTop=d+c:c+g>h&&(n.scrollTop=d+c-h+g)}},{key:"clearSelection",value:function(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}},{key:"calculateScrollbarWidth",value:function(n){if(n){var r=getComputedStyle(n);return n.offsetWidth-n.clientWidth-parseFloat(r.borderLeftWidth)-parseFloat(r.borderRightWidth)}if(this.calculatedScrollbarWidth!=null)return this.calculatedScrollbarWidth;var i=document.createElement("div");i.className="p-scrollbar-measure",document.body.appendChild(i);var o=i.offsetWidth-i.clientWidth;return document.body.removeChild(i),this.calculatedScrollbarWidth=o,o}},{key:"calculateBodyScrollbarWidth",value:function(){return window.innerWidth-document.documentElement.offsetWidth}},{key:"getBrowser",value:function(){if(!this.browser){var n=this.resolveUserAgent();this.browser={},n.browser&&(this.browser[n.browser]=!0,this.browser.version=n.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}},{key:"resolveUserAgent",value:function(){var n=navigator.userAgent.toLowerCase(),r=/(chrome)[ ]([\w.]+)/.exec(n)||/(webkit)[ ]([\w.]+)/.exec(n)||/(opera)(?:.*version|)[ ]([\w.]+)/.exec(n)||/(msie) ([\w.]+)/.exec(n)||n.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(n)||[];return{browser:r[1]||"",version:r[2]||"0"}}},{key:"blockBodyScroll",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"p-overflow-hidden",r=!!document.body.style.getPropertyValue("--scrollbar-width");!r&&document.body.style.setProperty("--scrollbar-width",this.calculateBodyScrollbarWidth()+"px"),this.addClass(document.body,n)}},{key:"unblockBodyScroll",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"p-overflow-hidden";document.body.style.removeProperty("--scrollbar-width"),this.removeClass(document.body,n)}},{key:"isVisible",value:function(n){return n&&(n.clientHeight!==0||n.getClientRects().length!==0||getComputedStyle(n).display!=="none")}},{key:"isExist",value:function(n){return!!(n!==null&&typeof n<"u"&&n.nodeName&&n.parentNode)}},{key:"getFocusableElements",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",i=e.find(n,'button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])'.concat(r,`, [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`).concat(r,`, input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`).concat(r,`, select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`).concat(r,`, textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`).concat(r,`, [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`).concat(r,`, - [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`).concat(r)),o=[],l=Wa(i),a;try{for(l.s();!(a=l.n()).done;){var u=a.value;getComputedStyle(u).display!=="none"&&getComputedStyle(u).visibility!=="hidden"&&o.push(u)}}catch(s){l.e(s)}finally{l.f()}return o}},{key:"getFirstFocusableElement",value:function(n,r){var i=e.getFocusableElements(n,r);return i.length>0?i[0]:null}},{key:"getLastFocusableElement",value:function(n,r){var i=e.getFocusableElements(n,r);return i.length>0?i[i.length-1]:null}},{key:"focus",value:function(n,r){var i=r===void 0?!0:!r;n&&document.activeElement!==n&&n.focus({preventScroll:i})}},{key:"focusFirstElement",value:function(n,r){if(n){var i=e.getFirstFocusableElement(n);return i&&e.focus(i,r),i}}},{key:"getCursorOffset",value:function(n,r,i,o){if(n){var l=getComputedStyle(n),a=document.createElement("div");a.style.position="absolute",a.style.top="0px",a.style.left="0px",a.style.visibility="hidden",a.style.pointerEvents="none",a.style.overflow=l.overflow,a.style.width=l.width,a.style.height=l.height,a.style.padding=l.padding,a.style.border=l.border,a.style.overflowWrap=l.overflowWrap,a.style.whiteSpace=l.whiteSpace,a.style.lineHeight=l.lineHeight,a.innerHTML=r.replace(/\r\n|\r|\n/g,"
");var u=document.createElement("span");u.textContent=o,a.appendChild(u);var s=document.createTextNode(i);a.appendChild(s),document.body.appendChild(a);var c=u.offsetLeft,d=u.offsetTop,h=u.clientHeight;return document.body.removeChild(a),{left:Math.abs(c-n.scrollLeft),top:Math.abs(d-n.scrollTop)+h}}return{top:"auto",left:"auto"}}},{key:"invokeElementMethod",value:function(n,r,i){n[r].apply(n,i)}},{key:"isClickable",value:function(n){var r=n.nodeName,i=n.parentElement&&n.parentElement.nodeName;return r==="INPUT"||r==="TEXTAREA"||r==="BUTTON"||r==="A"||i==="INPUT"||i==="TEXTAREA"||i==="BUTTON"||i==="A"||this.hasClass(n,"p-button")||this.hasClass(n.parentElement,"p-button")||this.hasClass(n.parentElement,"p-checkbox")||this.hasClass(n.parentElement,"p-radiobutton")}},{key:"applyStyle",value:function(n,r){if(typeof r=="string")n.style.cssText=this.style;else for(var i in this.style)n.style[i]=r[i]}},{key:"exportCSV",value:function(n,r){var i=new Blob([n],{type:"application/csv;charset=utf-8;"});if(window.navigator.msSaveOrOpenBlob)navigator.msSaveOrOpenBlob(i,r+".csv");else{var o=e.saveAs({name:r+".csv",src:URL.createObjectURL(i)});o||(n="data:text/csv;charset=utf-8,"+n,window.open(encodeURI(n)))}}},{key:"saveAs",value:function(n){if(n){var r=document.createElement("a");if(r.download!==void 0){var i=n.name,o=n.src;return r.setAttribute("href",o),r.setAttribute("download",i),r.style.display="none",document.body.appendChild(r),r.click(),document.body.removeChild(r),!0}}return!1}},{key:"createInlineStyle",value:function(n,r){var i=document.createElement("style");return e.addNonce(i,n),r||(r=document.head),r.appendChild(i),i}},{key:"removeInlineStyle",value:function(n){if(this.isExist(n)){try{n.parentNode.removeChild(n)}catch{}n=null}return n}},{key:"addNonce",value:function(n,r){try{r||(r=mw.REACT_APP_CSS_NONCE)}catch{}r&&n.setAttribute("nonce",r)}},{key:"getTargetElement",value:function(n){if(!n)return null;if(n==="document")return document;if(n==="window")return window;if($e(n)==="object"&&n.hasOwnProperty("current"))return this.isExist(n.current)?n.current:null;var r=function(l){return!!(l&&l.constructor&&l.call&&l.apply)},i=r(n)?n():n;return i&&i.nodeType===9||this.isExist(i)?i:null}},{key:"getAttributeNames",value:function(n){var r,i,o;for(i=[],o=n.attributes,r=0;r0}return!1}},{key:"hasCSSTransition",value:function(n){if(n){var r=getComputedStyle(n),i=parseFloat(r.getPropertyValue("transition-duration")||"0");return i>0}return!1}}]),e}();ac(Li,"DATA_PROPS",["data-"]);ac(Li,"ARIA_PROPS",["aria","focus-target"]);function Cw(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Pw(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(s){throw s},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,l=!1,a;return{s:function(){n=n.call(e)},n:function(){var s=n.next();return o=s.done,s},e:function(s){l=!0,a=s},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(l)throw a}}}}function Pw(e,t){if(e){if(typeof e=="string")return md(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return md(e,t)}}function md(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=n.length&&(i=i%n.length,r=r%n.length),n.splice(i,0,n.splice(r,1)[0]))}},{key:"findIndexInList",value:function(n,r,i){var o=this;return r?i?r.findIndex(function(l){return o.equals(l,n,i)}):r.findIndex(function(l){return l===n}):-1}},{key:"getJSXElement",value:function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o1?r-1:0),o=1;o1&&arguments[1]!==void 0?arguments[1]:"",i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=n?n[r]:void 0;return o===void 0?i[r]:o}},{key:"getPropCaseInsensitive",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=this.toFlatCase(r);for(var l in n)if(n.hasOwnProperty(l)&&this.toFlatCase(l)===o)return n[l];for(var a in i)if(i.hasOwnProperty(a)&&this.toFlatCase(a)===o)return i[a]}},{key:"getMergedProps",value:function(n,r){return Object.assign({},r,n)}},{key:"getDiffProps",value:function(n,r){return this.findDiffKeys(n,r)}},{key:"getPropValue",value:function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o1&&arguments[1]!==void 0?arguments[1]:"",i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.isNotEmpty(n)?this.getProp(n.props,r,i):void 0}},{key:"getComponentProps",value:function(n,r){return this.isNotEmpty(n)?this.getMergedProps(n.props,r):void 0}},{key:"getComponentDiffProps",value:function(n,r){return this.isNotEmpty(n)?this.getDiffProps(n.props,r):void 0}},{key:"isValidChild",value:function(n,r,i){if(n){var o,l=this.getComponentProp(n,"__TYPE")||(n.type?n.type.displayName:void 0);!l&&n!==null&&n!==void 0&&(o=n.type)!==null&&o!==void 0&&(o=o._payload)!==null&&o!==void 0&&o.value&&(l=n.type._payload.value.find(function(s){return s===r}));var a=l===r;try{var u}catch{}return a}return!1}},{key:"getRefElement",value:function(n){return n?$e(n)==="object"&&n.hasOwnProperty("current")?n.current:n:null}},{key:"combinedRefs",value:function(n,r){n&&r&&(typeof r=="function"?r(n.current):r.current=n.current)}},{key:"removeAccents",value:function(n){return n&&n.search(/[\xC0-\xFF]/g)>-1&&(n=n.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\xF6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),n}},{key:"toFlatCase",value:function(n){return this.isNotEmpty(n)&&this.isString(n)?n.replace(/(-|_)/g,"").toLowerCase():n}},{key:"toCapitalCase",value:function(n){return this.isNotEmpty(n)&&this.isString(n)?n[0].toUpperCase()+n.slice(1):n}},{key:"trim",value:function(n){return this.isNotEmpty(n)&&this.isString(n)?n.trim():n}},{key:"isEmpty",value:function(n){return n==null||n===""||Array.isArray(n)&&n.length===0||!(n instanceof Date)&&$e(n)==="object"&&Object.keys(n).length===0}},{key:"isNotEmpty",value:function(n){return!this.isEmpty(n)}},{key:"isFunction",value:function(n){return!!(n&&n.constructor&&n.call&&n.apply)}},{key:"isObject",value:function(n){return n!==null&&n instanceof Object&&n.constructor===Object}},{key:"isDate",value:function(n){return n!==null&&n instanceof Date&&n.constructor===Date}},{key:"isArray",value:function(n){return n!==null&&Array.isArray(n)}},{key:"isString",value:function(n){return n!==null&&typeof n=="string"}},{key:"isPrintableCharacter",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return this.isNotEmpty(n)&&n.length===1&&n.match(/\S| /)}},{key:"isLetter",value:function(n){return/^[a-zA-Z\u00C0-\u017F]$/.test(n)}},{key:"findLast",value:function(n,r){var i;if(this.isNotEmpty(n))try{i=n.findLast(r)}catch{i=Ju(n).reverse().find(r)}return i}},{key:"findLastIndex",value:function(n,r){var i=-1;if(this.isNotEmpty(n))try{i=n.findLastIndex(r)}catch{i=n.lastIndexOf(Ju(n).reverse().find(r))}return i}},{key:"sort",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,o=arguments.length>3?arguments[3]:void 0,l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,a=this.compare(n,r,o,i),u=i;return(this.isEmpty(n)||this.isEmpty(r))&&(u=l===1?i:l),u*a}},{key:"compare",value:function(n,r,i){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1,l=-1,a=this.isEmpty(n),u=this.isEmpty(r);return a&&u?l=0:a?l=o:u?l=-o:typeof n=="string"&&typeof r=="string"?l=i(n,r):l=nr?1:0,l}},{key:"localeComparator",value:function(n){return new Intl.Collator(n,{numeric:!0}).compare}},{key:"findChildrenByKey",value:function(n,r){var i=Cw(n),o;try{for(i.s();!(o=i.n()).done;){var l=o.value;if(l.key===r)return l.children||[];if(l.children){var a=this.findChildrenByKey(l.children,r);if(a.length>0)return a}}}catch(u){i.e(u)}finally{i.f()}return[]}},{key:"mutateFieldData",value:function(n,r,i){if(!($e(n)!=="object"||typeof r!="string"))for(var o=r.split("."),l=n,a=0,u=o.length;a1&&arguments[1]!==void 0?arguments[1]:{};if(e){var n=function(l){return typeof l=="function"},r=t.classNameMergeFunction,i=n(r);return e.reduce(function(o,l){if(!l)return o;var a=function(){var c=l[u];if(u==="style")o.style=vd(vd({},o.style),l.style);else if(u==="className"){var d="";i?d=r(o.className,l.className):d=[o.className,l.className].join(" ").trim(),o.className=d||void 0}else if(n(c)){var h=o[u];o[u]=h?function(){h.apply(void 0,arguments),c.apply(void 0,arguments)}:c}else o[u]=c};for(var u in l)a();return o},{})}}var Ve=Object.freeze({STARTS_WITH:"startsWith",CONTAINS:"contains",NOT_CONTAINS:"notContains",ENDS_WITH:"endsWith",EQUALS:"equals",NOT_EQUALS:"notEquals",IN:"in",LESS_THAN:"lt",LESS_THAN_OR_EQUAL_TO:"lte",GREATER_THAN:"gt",GREATER_THAN_OR_EQUAL_TO:"gte",BETWEEN:"between",DATE_IS:"dateIs",DATE_IS_NOT:"dateIsNot",DATE_BEFORE:"dateBefore",DATE_AFTER:"dateAfter",CUSTOM:"custom"});function to(e){"@babel/helpers - typeof";return to=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},to(e)}function _w(e,t){if(to(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(to(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Lm(e){var t=_w(e,"string");return to(t)==="symbol"?t:String(t)}function yt(e,t,n){return t=Lm(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yd(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{},r=_.useState(!1),i=Aw(r,2),o=i[0],l=i[1],a=_.useRef(null),u=_.useContext(uc),s=Li.isClient()?window.document:void 0,c=n.document,d=c===void 0?s:c,h=n.manual,g=h===void 0?!1:h,y=n.name,w=y===void 0?"style_".concat(++Iw):y,E=n.id,p=E===void 0?void 0:E,f=n.media,m=f===void 0?void 0:f,x=function(A){var b=A.querySelector('style[data-primereact-style-id="'.concat(w,'"]'));if(b)return b;if(p!==void 0){var B=d.getElementById(p);if(B)return B}return d.createElement("style")},P=function(A){o&&t!==A&&(a.current.textContent=A)},v=function(){if(!(!d||o)){var A=(u==null?void 0:u.styleContainer)||d.head;a.current=x(A),a.current.isConnected||(a.current.type="text/css",p&&(a.current.id=p),m&&(a.current.media=m),Li.addNonce(a.current,u&&u.nonce||na.nonce),A.appendChild(a.current),w&&a.current.setAttribute("data-primereact-style-id",w)),a.current.textContent=t,l(!0)}},C=function(){!d||!a.current||(Li.removeInlineStyle(a.current),l(!1))};return _.useEffect(function(){g||v()},[g]),{id:p,name:w,update:P,unload:C,load:v,isLoaded:o}},bw=function(t,n){var r=_.useRef(!1);return _.useEffect(function(){if(!r.current){r.current=!0;return}return t&&t()},n)};function Zu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?i[0]:null}},{key:"getLastFocusableElement",value:function(n,r){var i=e.getFocusableElements(n,r);return i.length>0?i[i.length-1]:null}},{key:"focus",value:function(n,r){var i=r===void 0?!0:!r;n&&document.activeElement!==n&&n.focus({preventScroll:i})}},{key:"focusFirstElement",value:function(n,r){if(n){var i=e.getFirstFocusableElement(n);return i&&e.focus(i,r),i}}},{key:"getCursorOffset",value:function(n,r,i,o){if(n){var l=getComputedStyle(n),a=document.createElement("div");a.style.position="absolute",a.style.top="0px",a.style.left="0px",a.style.visibility="hidden",a.style.pointerEvents="none",a.style.overflow=l.overflow,a.style.width=l.width,a.style.height=l.height,a.style.padding=l.padding,a.style.border=l.border,a.style.overflowWrap=l.overflowWrap,a.style.whiteSpace=l.whiteSpace,a.style.lineHeight=l.lineHeight,a.innerHTML=r.replace(/\r\n|\r|\n/g,"
");var u=document.createElement("span");u.textContent=o,a.appendChild(u);var s=document.createTextNode(i);a.appendChild(s),document.body.appendChild(a);var c=u.offsetLeft,d=u.offsetTop,h=u.clientHeight;return document.body.removeChild(a),{left:Math.abs(c-n.scrollLeft),top:Math.abs(d-n.scrollTop)+h}}return{top:"auto",left:"auto"}}},{key:"invokeElementMethod",value:function(n,r,i){n[r].apply(n,i)}},{key:"isClickable",value:function(n){var r=n.nodeName,i=n.parentElement&&n.parentElement.nodeName;return r==="INPUT"||r==="TEXTAREA"||r==="BUTTON"||r==="A"||i==="INPUT"||i==="TEXTAREA"||i==="BUTTON"||i==="A"||this.hasClass(n,"p-button")||this.hasClass(n.parentElement,"p-button")||this.hasClass(n.parentElement,"p-checkbox")||this.hasClass(n.parentElement,"p-radiobutton")}},{key:"applyStyle",value:function(n,r){if(typeof r=="string")n.style.cssText=this.style;else for(var i in this.style)n.style[i]=r[i]}},{key:"exportCSV",value:function(n,r){var i=new Blob([n],{type:"application/csv;charset=utf-8;"});if(window.navigator.msSaveOrOpenBlob)navigator.msSaveOrOpenBlob(i,r+".csv");else{var o=e.saveAs({name:r+".csv",src:URL.createObjectURL(i)});o||(n="data:text/csv;charset=utf-8,"+n,window.open(encodeURI(n)))}}},{key:"saveAs",value:function(n){if(n){var r=document.createElement("a");if(r.download!==void 0){var i=n.name,o=n.src;return r.setAttribute("href",o),r.setAttribute("download",i),r.style.display="none",document.body.appendChild(r),r.click(),document.body.removeChild(r),!0}}return!1}},{key:"createInlineStyle",value:function(n,r){var i=document.createElement("style");return e.addNonce(i,n),r||(r=document.head),r.appendChild(i),i}},{key:"removeInlineStyle",value:function(n){if(this.isExist(n)){try{n.parentNode.removeChild(n)}catch{}n=null}return n}},{key:"addNonce",value:function(n,r){try{r||(r=hw.REACT_APP_CSS_NONCE)}catch{}r&&n.setAttribute("nonce",r)}},{key:"getTargetElement",value:function(n){if(!n)return null;if(n==="document")return document;if(n==="window")return window;if($e(n)==="object"&&n.hasOwnProperty("current"))return this.isExist(n.current)?n.current:null;var r=function(l){return!!(l&&l.constructor&&l.call&&l.apply)},i=r(n)?n():n;return i&&i.nodeType===9||this.isExist(i)?i:null}},{key:"getAttributeNames",value:function(n){var r,i,o;for(i=[],o=n.attributes,r=0;r0}return!1}},{key:"hasCSSTransition",value:function(n){if(n){var r=getComputedStyle(n),i=parseFloat(r.getPropertyValue("transition-duration")||"0");return i>0}return!1}}]),e}();uc(Li,"DATA_PROPS",["data-"]);uc(Li,"ARIA_PROPS",["aria","focus-target"]);function kw(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Cw(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(s){throw s},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,l=!1,a;return{s:function(){n=n.call(e)},n:function(){var s=n.next();return o=s.done,s},e:function(s){l=!0,a=s},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(l)throw a}}}}function Cw(e,t){if(e){if(typeof e=="string")return gd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gd(e,t)}}function gd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=n.length&&(i=i%n.length,r=r%n.length),n.splice(i,0,n.splice(r,1)[0]))}},{key:"findIndexInList",value:function(n,r,i){var o=this;return r?i?r.findIndex(function(l){return o.equals(l,n,i)}):r.findIndex(function(l){return l===n}):-1}},{key:"getJSXElement",value:function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o1?r-1:0),o=1;o1&&arguments[1]!==void 0?arguments[1]:"",i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=n?n[r]:void 0;return o===void 0?i[r]:o}},{key:"getPropCaseInsensitive",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=this.toFlatCase(r);for(var l in n)if(n.hasOwnProperty(l)&&this.toFlatCase(l)===o)return n[l];for(var a in i)if(i.hasOwnProperty(a)&&this.toFlatCase(a)===o)return i[a]}},{key:"getMergedProps",value:function(n,r){return Object.assign({},r,n)}},{key:"getDiffProps",value:function(n,r){return this.findDiffKeys(n,r)}},{key:"getPropValue",value:function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o1&&arguments[1]!==void 0?arguments[1]:"",i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.isNotEmpty(n)?this.getProp(n.props,r,i):void 0}},{key:"getComponentProps",value:function(n,r){return this.isNotEmpty(n)?this.getMergedProps(n.props,r):void 0}},{key:"getComponentDiffProps",value:function(n,r){return this.isNotEmpty(n)?this.getDiffProps(n.props,r):void 0}},{key:"isValidChild",value:function(n,r,i){if(n){var o,l=this.getComponentProp(n,"__TYPE")||(n.type?n.type.displayName:void 0);!l&&n!==null&&n!==void 0&&(o=n.type)!==null&&o!==void 0&&(o=o._payload)!==null&&o!==void 0&&o.value&&(l=n.type._payload.value.find(function(s){return s===r}));var a=l===r;try{var u}catch{}return a}return!1}},{key:"getRefElement",value:function(n){return n?$e(n)==="object"&&n.hasOwnProperty("current")?n.current:n:null}},{key:"combinedRefs",value:function(n,r){n&&r&&(typeof r=="function"?r(n.current):r.current=n.current)}},{key:"removeAccents",value:function(n){return n&&n.search(/[\xC0-\xFF]/g)>-1&&(n=n.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\xF6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),n}},{key:"toFlatCase",value:function(n){return this.isNotEmpty(n)&&this.isString(n)?n.replace(/(-|_)/g,"").toLowerCase():n}},{key:"toCapitalCase",value:function(n){return this.isNotEmpty(n)&&this.isString(n)?n[0].toUpperCase()+n.slice(1):n}},{key:"trim",value:function(n){return this.isNotEmpty(n)&&this.isString(n)?n.trim():n}},{key:"isEmpty",value:function(n){return n==null||n===""||Array.isArray(n)&&n.length===0||!(n instanceof Date)&&$e(n)==="object"&&Object.keys(n).length===0}},{key:"isNotEmpty",value:function(n){return!this.isEmpty(n)}},{key:"isFunction",value:function(n){return!!(n&&n.constructor&&n.call&&n.apply)}},{key:"isObject",value:function(n){return n!==null&&n instanceof Object&&n.constructor===Object}},{key:"isDate",value:function(n){return n!==null&&n instanceof Date&&n.constructor===Date}},{key:"isArray",value:function(n){return n!==null&&Array.isArray(n)}},{key:"isString",value:function(n){return n!==null&&typeof n=="string"}},{key:"isPrintableCharacter",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return this.isNotEmpty(n)&&n.length===1&&n.match(/\S| /)}},{key:"isLetter",value:function(n){return/^[a-zA-Z\u00C0-\u017F]$/.test(n)}},{key:"findLast",value:function(n,r){var i;if(this.isNotEmpty(n))try{i=n.findLast(r)}catch{i=Ju(n).reverse().find(r)}return i}},{key:"findLastIndex",value:function(n,r){var i=-1;if(this.isNotEmpty(n))try{i=n.findLastIndex(r)}catch{i=n.lastIndexOf(Ju(n).reverse().find(r))}return i}},{key:"sort",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,o=arguments.length>3?arguments[3]:void 0,l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,a=this.compare(n,r,o,i),u=i;return(this.isEmpty(n)||this.isEmpty(r))&&(u=l===1?i:l),u*a}},{key:"compare",value:function(n,r,i){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1,l=-1,a=this.isEmpty(n),u=this.isEmpty(r);return a&&u?l=0:a?l=o:u?l=-o:typeof n=="string"&&typeof r=="string"?l=i(n,r):l=nr?1:0,l}},{key:"localeComparator",value:function(n){return new Intl.Collator(n,{numeric:!0}).compare}},{key:"findChildrenByKey",value:function(n,r){var i=kw(n),o;try{for(i.s();!(o=i.n()).done;){var l=o.value;if(l.key===r)return l.children||[];if(l.children){var a=this.findChildrenByKey(l.children,r);if(a.length>0)return a}}}catch(u){i.e(u)}finally{i.f()}return[]}},{key:"mutateFieldData",value:function(n,r,i){if(!($e(n)!=="object"||typeof r!="string"))for(var o=r.split("."),l=n,a=0,u=o.length;a1&&arguments[1]!==void 0?arguments[1]:{};if(e){var n=function(l){return typeof l=="function"},r=t.classNameMergeFunction,i=n(r);return e.reduce(function(o,l){if(!l)return o;var a=function(){var c=l[u];if(u==="style")o.style=yd(yd({},o.style),l.style);else if(u==="className"){var d="";i?d=r(o.className,l.className):d=[o.className,l.className].join(" ").trim(),o.className=d||void 0}else if(n(c)){var h=o[u];o[u]=h?function(){h.apply(void 0,arguments),c.apply(void 0,arguments)}:c}else o[u]=c};for(var u in l)a();return o},{})}}var Ve=Object.freeze({STARTS_WITH:"startsWith",CONTAINS:"contains",NOT_CONTAINS:"notContains",ENDS_WITH:"endsWith",EQUALS:"equals",NOT_EQUALS:"notEquals",IN:"in",LESS_THAN:"lt",LESS_THAN_OR_EQUAL_TO:"lte",GREATER_THAN:"gt",GREATER_THAN_OR_EQUAL_TO:"gte",BETWEEN:"between",DATE_IS:"dateIs",DATE_IS_NOT:"dateIsNot",DATE_BEFORE:"dateBefore",DATE_AFTER:"dateAfter",CUSTOM:"custom"});function to(e){"@babel/helpers - typeof";return to=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},to(e)}function Pw(e,t){if(to(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(to(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Om(e){var t=Pw(e,"string");return to(t)==="symbol"?t:String(t)}function yt(e,t,n){return t=Om(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wd(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{},r=P.useState(!1),i=jw(r,2),o=i[0],l=i[1],a=P.useRef(null),u=P.useContext(sc),s=Li.isClient()?window.document:void 0,c=n.document,d=c===void 0?s:c,h=n.manual,g=h===void 0?!1:h,y=n.name,w=y===void 0?"style_".concat(++Fw):y,E=n.id,p=E===void 0?void 0:E,f=n.media,m=f===void 0?void 0:f,x=function(A){var b=A.querySelector('style[data-primereact-style-id="'.concat(w,'"]'));if(b)return b;if(p!==void 0){var B=d.getElementById(p);if(B)return B}return d.createElement("style")},_=function(A){o&&t!==A&&(a.current.textContent=A)},v=function(){if(!(!d||o)){var A=(u==null?void 0:u.styleContainer)||d.head;a.current=x(A),a.current.isConnected||(a.current.type="text/css",p&&(a.current.id=p),m&&(a.current.media=m),Li.addNonce(a.current,u&&u.nonce||na.nonce),A.appendChild(a.current),w&&a.current.setAttribute("data-primereact-style-id",w)),a.current.textContent=t,l(!0)}},C=function(){!d||!a.current||(Li.removeInlineStyle(a.current),l(!1))};return P.useEffect(function(){g||v()},[g]),{id:p,name:w,update:_,unload:C,load:v,isLoaded:o}},Iw=function(t,n){var r=P.useRef(!1);return P.useEffect(function(){if(!r.current){r.current=!0;return}return t&&t()},n)};function Zu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&arguments[0]!==void 0?arguments[0]:{},n=t.css,r=Oe(Oe({},t.defaultProps),Ee.defaultProps),i={},o=function(c){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Ee.context=d,Ee.cProps=c,Se.getMergedProps(c,r)},l=function(c){return Se.getDiffProps(c,r)},a=function(){var c,d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;d.hasOwnProperty("pt")&&d.pt!==void 0&&(d=d.pt);var w=h,E=/./g.test(w)&&!!g[w.split(".")[0]],p=E?Se.toFlatCase(w.split(".")[1]):Se.toFlatCase(w),f=g.hostName&&Se.toFlatCase(g.hostName),m=f||g.props&&g.props.__TYPE&&Se.toFlatCase(g.props.__TYPE)||"",x=p==="transition",P="data-pc-",v=function J(N){return N!=null&&N.props?N.hostName?N.props.__TYPE===N.hostName?N.props:J(N.parent):N.parent:void 0},C=function(N){var F,M;return((F=g.props)===null||F===void 0?void 0:F[N])||((M=v(g))===null||M===void 0?void 0:M[N])};Ee.cParams=g,Ee.cName=m;var O=C("ptOptions")||Ee.context.ptOptions||{},A=O.mergeSections,b=A===void 0?!0:A,B=O.mergeProps,ce=B===void 0?!1:B,re=function(){var N=vn.apply(void 0,arguments);return Array.isArray(N)?{className:qu.apply(void 0,Sd(N))}:Se.isString(N)?{className:N}:N!=null&&N.hasOwnProperty("className")&&Array.isArray(N.className)?{className:qu.apply(void 0,Sd(N.className))}:N},Fe=y?E?Am(re,w,g):Dm(re,w,g):void 0,at=E?void 0:ia(ra(d,m),re,w,g),Ie=!x&&Oe(Oe({},p==="root"&&es({},"".concat(P,"name"),g.props&&g.props.__parentMetadata?Se.toFlatCase(g.props.__TYPE):m)),{},es({},"".concat(P,"section"),p));return b||!b&&at?ce?Ll([Fe,at,Object.keys(Ie).length?Ie:{}],{classNameMergeFunction:(c=Ee.context.ptOptions)===null||c===void 0?void 0:c.classNameMergeFunction}):Oe(Oe(Oe({},Fe),at),Object.keys(Ie).length?Ie:{}):Oe(Oe({},at),Object.keys(Ie).length?Ie:{})},u=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=c.props,h=c.state,g=function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return a((d||{}).pt,m,Oe(Oe({},c),x))},y=function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return a(m,x,P,!1)},w=function(){return Ee.context.unstyled||na.unstyled||d.unstyled},E=function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return w()?void 0:vn(n&&n.classes,m,Oe({props:d,state:h},x))},p=function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(P){var v,C=vn(n&&n.inlineStyles,m,Oe({props:d,state:h},x)),O=vn(i,m,Oe({props:d,state:h},x));return Ll([O,C],{classNameMergeFunction:(v=Ee.context.ptOptions)===null||v===void 0?void 0:v.classNameMergeFunction})}};return{ptm:g,ptmo:y,sx:p,cx:E,isUnstyled:w}};return Oe(Oe({getProps:o,getOtherProps:l,setMetaData:u},t),{},{defaultProps:r})}},vn=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=String(Se.toFlatCase(n)).split("."),o=i.shift(),l=Se.isNotEmpty(t)?Object.keys(t).find(function(a){return Se.toFlatCase(a)===o}):"";return o?Se.isObject(t)?e(Se.getItemValue(t[l],r),i.join("."),r):void 0:Se.getItemValue(t,r)},ra=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2?arguments[2]:void 0,i=t==null?void 0:t._usept,o=function(a){var u,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,c=r?r(a):a,d=Se.toFlatCase(n);return(u=s?d!==Ee.cName?c==null?void 0:c[d]:void 0:c==null?void 0:c[d])!==null&&u!==void 0?u:c};return Se.isNotEmpty(i)?{_usept:i,originalValue:o(t.originalValue),value:o(t.value)}:o(t,!0)},ia=function(t,n,r,i){var o=function(w){return n(w,r,i)};if(t!=null&&t.hasOwnProperty("_usept")){var l=t._usept||Ee.context.ptOptions||{},a=l.mergeSections,u=a===void 0?!0:a,s=l.mergeProps,c=s===void 0?!1:s,d=l.classNameMergeFunction,h=o(t.originalValue),g=o(t.value);return h===void 0&&g===void 0?void 0:Se.isString(g)?g:Se.isString(h)?h:u||!u&&g?c?Ll([h,g],{classNameMergeFunction:d}):Oe(Oe({},h),g):g}return o(t)},Gw=function(){return ra(Ee.context.pt||na.pt,void 0,function(t){return Se.getItemValue(t,Ee.cParams)})},Xw=function(){return ra(Ee.context.pt||na.pt,void 0,function(t){return vn(t,Ee.cName,Ee.cParams)||Se.getItemValue(t,Ee.cParams)})},Am=function(t,n,r){return ia(Gw(),t,n,r)},Dm=function(t,n,r){return ia(Xw(),t,n,r)},qw=function(t){var n=arguments.length>2?arguments[2]:void 0,r=n.name,i=n.styled,o=i===void 0?!1:i,l=n.hostName,a=l===void 0?"":l,u=Am(vn,"global.css",Ee.cParams),s=Se.toFlatCase(r),c=Fo(Hw,{name:"base",manual:!0}),d=c.load,h=Fo(Yw,{name:"common",manual:!0}),g=h.load,y=Fo(u,{name:"global",manual:!0}),w=y.load,E=Fo(t,{name:r,manual:!0}),p=E.load,f=function(x){if(!a){var P=ia(ra((Ee.cProps||{}).pt,s),vn,"hooks.".concat(x)),v=Dm(vn,"hooks.".concat(x));P==null||P(),v==null||v()}};f("useMountEffect"),Fw(function(){d(),w(),g(),o||p()}),bw(function(){f("useUpdateEffect")}),jm(function(){f("useUnmountEffect")})},Io=Ee.extend({defaultProps:{__TYPE:"Chart",id:null,type:null,data:null,options:null,plugins:null,width:null,height:null,style:null,className:null,children:void 0},css:{classes:{root:"p-chart"},inlineStyles:{root:function(t){var n=t.props;return Object.assign({width:n.width,height:n.height},n.style)}},styles:` +`),Ee={cProps:void 0,cParams:void 0,cName:void 0,defaultProps:{pt:void 0,ptOptions:void 0,unstyled:!1},context:{},globalCSS:void 0,classes:{},styles:"",extend:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.css,r=Oe(Oe({},t.defaultProps),Ee.defaultProps),i={},o=function(c){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Ee.context=d,Ee.cProps=c,Se.getMergedProps(c,r)},l=function(c){return Se.getDiffProps(c,r)},a=function(){var c,d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;d.hasOwnProperty("pt")&&d.pt!==void 0&&(d=d.pt);var w=h,E=/./g.test(w)&&!!g[w.split(".")[0]],p=E?Se.toFlatCase(w.split(".")[1]):Se.toFlatCase(w),f=g.hostName&&Se.toFlatCase(g.hostName),m=f||g.props&&g.props.__TYPE&&Se.toFlatCase(g.props.__TYPE)||"",x=p==="transition",_="data-pc-",v=function J(N){return N!=null&&N.props?N.hostName?N.props.__TYPE===N.hostName?N.props:J(N.parent):N.parent:void 0},C=function(N){var F,M;return((F=g.props)===null||F===void 0?void 0:F[N])||((M=v(g))===null||M===void 0?void 0:M[N])};Ee.cParams=g,Ee.cName=m;var O=C("ptOptions")||Ee.context.ptOptions||{},A=O.mergeSections,b=A===void 0?!0:A,B=O.mergeProps,ce=B===void 0?!1:B,re=function(){var N=vn.apply(void 0,arguments);return Array.isArray(N)?{className:qu.apply(void 0,xd(N))}:Se.isString(N)?{className:N}:N!=null&&N.hasOwnProperty("className")&&Array.isArray(N.className)?{className:qu.apply(void 0,xd(N.className))}:N},Fe=y?E?jm(re,w,g):Am(re,w,g):void 0,at=E?void 0:ia(ra(d,m),re,w,g),Ie=!x&&Oe(Oe({},p==="root"&&es({},"".concat(_,"name"),g.props&&g.props.__parentMetadata?Se.toFlatCase(g.props.__TYPE):m)),{},es({},"".concat(_,"section"),p));return b||!b&&at?ce?Ll([Fe,at,Object.keys(Ie).length?Ie:{}],{classNameMergeFunction:(c=Ee.context.ptOptions)===null||c===void 0?void 0:c.classNameMergeFunction}):Oe(Oe(Oe({},Fe),at),Object.keys(Ie).length?Ie:{}):Oe(Oe({},at),Object.keys(Ie).length?Ie:{})},u=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=c.props,h=c.state,g=function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return a((d||{}).pt,m,Oe(Oe({},c),x))},y=function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return a(m,x,_,!1)},w=function(){return Ee.context.unstyled||na.unstyled||d.unstyled},E=function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return w()?void 0:vn(n&&n.classes,m,Oe({props:d,state:h},x))},p=function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(_){var v,C=vn(n&&n.inlineStyles,m,Oe({props:d,state:h},x)),O=vn(i,m,Oe({props:d,state:h},x));return Ll([O,C],{classNameMergeFunction:(v=Ee.context.ptOptions)===null||v===void 0?void 0:v.classNameMergeFunction})}};return{ptm:g,ptmo:y,sx:p,cx:E,isUnstyled:w}};return Oe(Oe({getProps:o,getOtherProps:l,setMetaData:u},t),{},{defaultProps:r})}},vn=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=String(Se.toFlatCase(n)).split("."),o=i.shift(),l=Se.isNotEmpty(t)?Object.keys(t).find(function(a){return Se.toFlatCase(a)===o}):"";return o?Se.isObject(t)?e(Se.getItemValue(t[l],r),i.join("."),r):void 0:Se.getItemValue(t,r)},ra=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2?arguments[2]:void 0,i=t==null?void 0:t._usept,o=function(a){var u,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,c=r?r(a):a,d=Se.toFlatCase(n);return(u=s?d!==Ee.cName?c==null?void 0:c[d]:void 0:c==null?void 0:c[d])!==null&&u!==void 0?u:c};return Se.isNotEmpty(i)?{_usept:i,originalValue:o(t.originalValue),value:o(t.value)}:o(t,!0)},ia=function(t,n,r,i){var o=function(w){return n(w,r,i)};if(t!=null&&t.hasOwnProperty("_usept")){var l=t._usept||Ee.context.ptOptions||{},a=l.mergeSections,u=a===void 0?!0:a,s=l.mergeProps,c=s===void 0?!1:s,d=l.classNameMergeFunction,h=o(t.originalValue),g=o(t.value);return h===void 0&&g===void 0?void 0:Se.isString(g)?g:Se.isString(h)?h:u||!u&&g?c?Ll([h,g],{classNameMergeFunction:d}):Oe(Oe({},h),g):g}return o(t)},Yw=function(){return ra(Ee.context.pt||na.pt,void 0,function(t){return Se.getItemValue(t,Ee.cParams)})},Gw=function(){return ra(Ee.context.pt||na.pt,void 0,function(t){return vn(t,Ee.cName,Ee.cParams)||Se.getItemValue(t,Ee.cParams)})},jm=function(t,n,r){return ia(Yw(),t,n,r)},Am=function(t,n,r){return ia(Gw(),t,n,r)},Xw=function(t){var n=arguments.length>2?arguments[2]:void 0,r=n.name,i=n.styled,o=i===void 0?!1:i,l=n.hostName,a=l===void 0?"":l,u=jm(vn,"global.css",Ee.cParams),s=Se.toFlatCase(r),c=Fo(Ww,{name:"base",manual:!0}),d=c.load,h=Fo(Kw,{name:"common",manual:!0}),g=h.load,y=Fo(u,{name:"global",manual:!0}),w=y.load,E=Fo(t,{name:r,manual:!0}),p=E.load,f=function(x){if(!a){var _=ia(ra((Ee.cProps||{}).pt,s),vn,"hooks.".concat(x)),v=Am(vn,"hooks.".concat(x));_==null||_(),v==null||v()}};f("useMountEffect"),Dw(function(){d(),w(),g(),o||p()}),Iw(function(){f("useUpdateEffect")}),Lm(function(){f("useUnmountEffect")})},Io=Ee.extend({defaultProps:{__TYPE:"Chart",id:null,type:null,data:null,options:null,plugins:null,width:null,height:null,style:null,className:null,children:void 0},css:{classes:{root:"p-chart"},inlineStyles:{root:function(t){var n=t.props;return Object.assign({width:n.width,height:n.height},n.style)}},styles:` @layer primereact { .p-chart { position: relative } } - `}}),Ed=function(){try{return Chart}catch{return null}}(),Fm=_.memo(_.forwardRef(function(e,t){var n=Dw(),r=_.useContext(uc),i=Io.getProps(e,r),o=Io.setMetaData({props:i}),l=o.ptm,a=o.cx,u=o.sx,s=o.isUnstyled;qw(Io.css.styles,s,{name:"chart"});var c=_.useRef(null),d=_.useRef(null),h=_.useRef(null),g=function(){y();var x={type:i.type,data:i.data,options:i.options,plugins:i.plugins};Ed?d.current=new Ed(h.current,x):hw(()=>import("./auto-BwZvv_Gp.js"),[]).then(function(P){y(),h.current&&P&&(P.default?d.current=new P.default(h.current,x):d.current=new P(h.current,x))})},y=function(){d.current&&(d.current.destroy(),d.current=null)};_.useImperativeHandle(t,function(){return{props:i,getCanvas:function(){return h.current},getChart:function(){return d.current},getBase64Image:function(){return d.current.toBase64Image()},getElement:function(){return c.current},generateLegend:function(){return d.current&&d.current.generateLegend()},refresh:function(){return d.current&&d.current.update()}}}),_.useEffect(function(){g()}),jm(function(){y()});var w=i.options&&i.options.plugins&&i.options.plugins.title&&i.options.plugins.title.text,E=i.ariaLabel||w,p=n({id:i.id,ref:c,style:u("root"),className:qu(i.className,a("root"))},Io.getOtherProps(i),l("root")),f=n({ref:h,width:i.width,height:i.height,role:"img","aria-label":E},l("canvas"));return _.createElement("div",p,_.createElement("canvas",f))}),function(e,t){return e.data===t.data&&e.options===t.options&&e.type===t.type});Fm.displayName="Chart";const Jw="_logo1_wzwid_1",Zw="_logo2_wzwid_23",eS={logo1:Jw,"p-chart":"_p-chart_wzwid_13",logo2:Zw},sc=_.memo(function({black:t,small:n}){const r={title:{display:!1},legend:{display:!1,position:"bottom"}},i={datasets:[{data:[200,70,100],backgroundColor:["#e60000","#cca300","#0000ff"],hoverBackgroundColor:["#e60000","#cca300","#0000ff"]}]};return R.jsx(nm,{to:"/observatorioiftm/",children:R.jsxs("div",{className:eS.logo1,children:[R.jsx(Fm,{style:{marginTop:"-16px"},width:n?"35px":"40px",height:n?"35px":"40px",type:"doughnut",data:i,options:r}),R.jsxs("div",{style:{fontSize:n?"16px":"20px",color:t?"black":"white"},children:[R.jsx("span",{children:"bservatório"}),R.jsxs("span",{children:[" ",R.jsx("strong",{children:"IFTM"})]})]})]})})}),tS=_.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ha=tS.ReactCurrentDispatcher,nS=()=>_.useReducer(()=>({}))[1],rS=e=>()=>{const t=`Hook "${e}" no possible to using inside useBetween scope.`;throw console.error(t),new Error(t)},ts=(e,t)=>Object.is(e,t),hi=(e,t)=>!e||!t||e.length!==t.length||e.some((n,r)=>!ts(n,t[r])),iS=()=>typeof window>"u",kd=new Map;let ji=[],nl=0,Cr=[],yn=[],Ai=()=>{},Va=iS(),oS;const un=()=>{const e=nl++;return ji[e]=ji[e]||{}},Im={useState(e){const t=un(),n=Ai;return t.initialized||(t.state=typeof e=="function"?e():e,t.set=r=>{if(typeof r=="function")return t.set(r(t.state));ts(r,t.state)||(t.state=r,n())},t.initialized=!0),[t.state,t.set]},useReducer(e,t,n){const r=un(),i=Ai;return r.initialized||(r.state=n?n(t):t,r.dispatch=o=>{const l=e(r.state,o);ts(l,r.state)||(r.state=l,i())},r.initialized=!0),[r.state,r.dispatch]},useEffect(e,t){if(Va)return;const n=un();n.initialized?hi(n.deps,t)&&(n.deps=t,Cr.push([n,t,e])):(n.deps=t,n.initialized=!0,Cr.push([n,t,e]))},useLayoutEffect(e,t){if(Va)return;const n=un();n.initialized?hi(n.deps,t)&&(n.deps=t,yn.push([n,t,e])):(n.deps=t,n.initialized=!0,yn.push([n,t,e]))},useCallback(e,t){const n=un();return n.initialized?hi(n.deps,t)&&(n.deps=t,n.fn=e):(n.fn=e,n.deps=t,n.initialized=!0),n.fn},useMemo(e,t){const n=un();return n.initialized?hi(n.deps,t)&&(n.deps=t,n.state=e()):(n.deps=t,n.state=e(),n.initialized=!0),n.state},useRef(e){const t=un();return t.initialized||(t.state={current:e},t.initialized=!0),t.state},useImperativeHandle(e,t,n){if(Va)return;const r=un();r.initialized?hi(r.deps,n)&&(r.deps=n,yn.push([r,n,()=>{typeof e=="function"?e(t()):e.current=t()}])):(r.deps=n,r.initialized=!0,yn.push([r,n,()=>{typeof e=="function"?e(t()):e.current=t()}]))}};["readContext","useContext","useDebugValue","useResponder","useDeferredValue","useTransition"].forEach(e=>Im[e]=rS(e));const lS=(e,t)=>{const n=[];let r=[],i,o=[],l=!1;t&&t.mock&&(i=t.mock,l=!0);const a=()=>{r.slice().forEach(g=>g())},u=()=>{if(l)return;const g=Ha.current,y=[nl,Cr,yn,ji,Ai];let w=!1,E=!0;if(nl=0,Cr=[],yn=[],ji=n,Ai=()=>{E?w=!0:u()},Ha.current=Im,i=e(oS),[yn,Cr].forEach(p=>p.forEach(([f,m,x])=>{if(f.deps=m,f.unsub){const v=f.unsub;o=o.filter(C=>C!==v),v()}const P=x();typeof P=="function"?(o.push(P),f.unsub=P):f.unsub=null})),[nl,Cr,yn,ji,Ai]=y,Ha.current=g,E=!1,!w){a();return}u()};return{init:()=>u(),get:()=>i,sub:g=>{r.indexOf(g)===-1&&r.push(g)},unsub:g=>{r=r.filter(y=>y!==g)},unsubs:()=>o,mock:g=>{l=!0,i=g,a()},unmock:()=>{l=!1,u()}}},aS=e=>{let t=kd.get(e);return t||(t=lS(e),kd.set(e,t),t.init()),t},cc=e=>{const t=nS();let n=aS(e);return n.sub(t),_.useEffect(()=>(n.sub(t),()=>n.unsub(t)),[n,t]),n.get()},uS=()=>{const[e,t]=_.useState(!1),n=_.useCallback(()=>t(!0),[]),r=_.useCallback(()=>t(!1),[]);return{menu:e,openMenu:n,closeMenu:r}},bm=()=>cc(uS),sS=()=>{const[e,t]=_.useState(0);return{windowHeight:e,setWindowHeight:t}},Mm=()=>cc(sS);function cS({page:e,innerRef:t}){const{menu:n,openMenu:r,closeMenu:i}=bm();function o(){return R.jsxs("div",{className:pi.topHeaderWrapper,children:[R.jsx("div",{className:pi.topHeaderLeft,children:R.jsx(sc,{black:!0})}),R.jsx("div",{className:pi.topHeaderRight,children:R.jsx(fd,{icon:"fa-user",label:"Login"})})]})}function l(){return R.jsxs("div",{className:pi.bottomElementsWrapper,children:[R.jsx("div",{children:R.jsx(fd,{icon:n?"fa-xmark":"fa-bars",onClick:n?i:r})}),R.jsx("h2",{style:{fontWeight:"normal",color:De.textBlue},children:e})]})}return R.jsxs("header",{ref:t,className:pi.headerWrapper,children:[o(),l()]})}const fS="_wrapper_byyki_1",dS="_copyrightBackground_byyki_11",pS="_textStyle_byyki_25",hS="_footerWrapper_byyki_37",bo={wrapper:fS,copyrightBackground:dS,textStyle:pS,footerWrapper:hS},mS=({cursor:e,link:t})=>R.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 117 49",height:49,width:117,shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",style:{cursor:e?"pointer":"default"},onClick:()=>e?window.open(t):null,children:[R.jsx("defs",{children:R.jsx("style",{type:"text/css",children:".a {font: normal bold 11px Open Sans, sans-serif;}"})}),R.jsx("circle",{cx:22,cy:23,r:22,fill:"#fff"}),R.jsx("path",{style:{stroke:"#222",strokeWidth:9,strokeLinecap:"round"},d:"m 22,23 v 13"}),R.jsx("path",{style:{stroke:"#fff",strokeWidth:4,strokeLinejoin:"round"},d:"m 4,43 3,-6 4,3 z"}),R.jsx("circle",{r:4.5,cy:11,cx:22,fill:"#222"}),R.jsx("g",{fill:"#fff",children:R.jsxs("text",{x:47,y:22,children:[R.jsx("tspan",{className:"a",y:18,children:"Acesso à"}),R.jsx("tspan",{className:"a",x:47,y:31,children:"Informação"})]})})]});function gS(){function e(){return R.jsxs("footer",{style:{backgroundColor:De.backgroundBlue},className:bo.footerWrapper,children:[R.jsx(sc,{}),R.jsx(mS,{cursor:!0,link:"https://www.gov.br/acessoainformacao/pt-br"})]})}function t(){return R.jsx("span",{className:bo.copyrightBackground,style:{backgroundColor:De.backgroundDarkBlue},children:R.jsxs("p",{style:{color:De.white},className:bo.textStyle,children:["Lorem ipsum dolor sit amet, consectetur adipisicing elit."," ",R.jsxs(sw,{children:[" ","Ea placeat magnam quisquam perspiciatis quaerat reiciendis"," "]})]})})}return R.jsxs("div",{className:bo.wrapper,children:[e(),t()]})}function Cd({label:e,icon:t,arrow:n,link:r,noBorder:i}){return r?i?R.jsx(cd,{to:r,noBorder:!0,bg:De.gray,children:R.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"1rem",width:"100%"},children:[R.jsx("div",{className:`fa-solid ${t}`}),R.jsx("p",{children:e})]})}):R.jsx(cd,{to:r,children:R.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"1rem",width:"100%"},children:[R.jsx("div",{className:`fa-solid ${t}`}),R.jsx("p",{children:e})]})}):R.jsxs(fw,{children:[R.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"1rem"},children:[R.jsx("div",{className:`fa-solid ${t}`}),R.jsx("p",{children:e})]}),n&&R.jsx("div",{className:`fa-solid fa-angle-${n}`})]})}function vS(){const e=[{label:"Home",icon:"fa-home",menus:null,route:"/observatorioiftm/"},{label:"Indicadores",icon:"fa-chart-pie",menus:[{label:"Produção Bibliográfica",icon:"fa-chart-line",menus:null,route:"producaobibliografica"},{label:"Orientações",icon:"fa-chart-column",menus:null,route:"orientacoes"},{label:"Inovação",icon:"fa-chart-area",menus:null,route:"inovacao"},{label:"Formação Acadêmica",icon:"fa-graduation-cap",menus:null,route:"formacaoacademica"},{label:"Temas de Pesquisa",icon:"fa-comments",menus:null,route:"temasdepesquisa"}],route:null},{label:"Docentes",icon:"fa-people-group",menus:[{label:"Consulta por Nome",icon:"fa-id-card",menus:null,route:"consultanome"},{label:"Consulta por Temas de Pesquisa",icon:"fa-book",menus:null,route:"consultatemaspesquisa"},{label:"Produção Científica",icon:"fa-hand-peace",menus:null,route:"producaocientifica"},{label:"Avaliação Pesquisador (Editais PROPI)",icon:"fa-calendar-check",menus:null,route:"avaliacaopesquisador"}],route:null},{label:"Login",icon:"fa-user",menus:null,route:"login"}];function t(){return e.map((n,r)=>{var i;return R.jsxs(R.Fragment,{children:[R.jsx(Cd,{label:n.label,icon:n.icon,arrow:n.menus===null?null:"down",link:n.route??null},r),((i=n==null?void 0:n.menus)==null?void 0:i.length)>0&&n.menus.map((o,l)=>R.jsx(Cd,{label:o.label,icon:o.icon,link:o.route,noBorder:!0},l*10))]})})}return R.jsxs("div",{style:{display:"flex",flexDirection:"column",background:De.white,height:"100%",width:"100%",padding:"1rem"},children:[R.jsx("div",{style:{marginBottom:"1.5rem",marginTop:"1rem"},children:R.jsx(sc,{black:!0,small:!0})}),t()]})}const yS=()=>{const e=_.useRef(),[t,n]=_.useState(0);return{ref:e,height:t,setHeight:n}},$m=()=>cc(yS);function wS(){const{setHeight:e,ref:t}=$m(),{windowHeight:n}=Mm();_.useEffect(()=>{const r=t.current?t.current.offsetHeight:0;e(100*r/window.innerHeight)},[t.offsetHeight,n])}function SS(){const{height:e,ref:t}=$m(),n=so(),{menu:r,closeMenu:i}=bm();wS();function o(){return r&&R.jsxs("div",{style:{display:"flex",position:"fixed",width:"100%",zIndex:1},children:[R.jsx("div",{style:{backgroundColor:De.white,marginTop:`${e}vh`,height:`${100-e}vh`,width:"20%",overflowY:"auto",zIndex:1},children:R.jsx(vS,{})}),R.jsx("div",{style:{background:De.fadeBackground,width:"80%"},onClick:i})]})}return R.jsxs(R.Fragment,{children:[R.jsx(cS,{innerRef:t,page:n.pathname==="/observatorioiftm/"?"Home":n.pathname}),o(),R.jsx("div",{style:{marginTop:`${e}vh`},children:R.jsx(j0,{})}),R.jsx(gS,{})]})}const xS=_.memo(function(){return R.jsx(It,{children:R.jsx("h1",{children:"Home"})})});function ES(){return R.jsx(It,{children:R.jsx("h1",{children:"ProducaoBibliografica"})})}function kS(){return R.jsx(It,{children:R.jsx("h1",{children:"Orientacoes"})})}function CS(){return R.jsx(It,{children:R.jsx("h1",{children:"Inovacao"})})}function PS(){return R.jsx(It,{children:R.jsx("h1",{children:"FormacaoAcademica"})})}function _S(){return R.jsx(It,{children:R.jsx("h1",{children:"TemasDePesquisa"})})}function TS(){return R.jsx(It,{children:R.jsx("h1",{children:"ConsultaNome"})})}function RS(){return R.jsx(It,{children:R.jsx("h1",{children:"ConsultaTemasPesquisa"})})}function NS(){return R.jsx(It,{children:R.jsx("h1",{children:"ProducaoCientifica"})})}function OS(){return R.jsx(It,{children:R.jsx("h1",{children:"AvaliacaoPesquisador"})})}function LS(){return R.jsx(It,{children:R.jsx("h1",{children:"Login"})})}const jS=z0([{path:"/observatorioiftm/",element:R.jsx(SS,{}),children:[{index:!0,element:R.jsx(xS,{})},{path:"producaobibliografica",element:R.jsx(ES,{})},{path:"orientacoes",element:R.jsx(kS,{})},{path:"inovacao",element:R.jsx(CS,{})},{path:"formacaoacademica",element:R.jsx(PS,{})},{path:"temasdepesquisa",element:R.jsx(_S,{})},{path:"consultanome",element:R.jsx(TS,{})},{path:"consultatemaspesquisa",element:R.jsx(RS,{})},{path:"producaocientifica",element:R.jsx(NS,{})},{path:"avaliacaopesquisador",element:R.jsx(OS,{})},{path:"login",element:R.jsx(LS,{})}]}]);function AS(){const{setWindowHeight:e}=Mm();return window.addEventListener("resize",function(){e(this.window.innerHeight)}),R.jsx(G0,{router:jS})}Qa.createRoot(document.getElementById("root")).render(R.jsx(Tn.StrictMode,{children:R.jsx(AS,{})})); + `}}),kd=function(){try{return Chart}catch{return null}}(),Dm=P.memo(P.forwardRef(function(e,t){var n=Aw(),r=P.useContext(sc),i=Io.getProps(e,r),o=Io.setMetaData({props:i}),l=o.ptm,a=o.cx,u=o.sx,s=o.isUnstyled;Xw(Io.css.styles,s,{name:"chart"});var c=P.useRef(null),d=P.useRef(null),h=P.useRef(null),g=function(){y();var x={type:i.type,data:i.data,options:i.options,plugins:i.plugins};kd?d.current=new kd(h.current,x):pw(()=>import("./auto-BwZvv_Gp.js"),[]).then(function(_){y(),h.current&&_&&(_.default?d.current=new _.default(h.current,x):d.current=new _(h.current,x))})},y=function(){d.current&&(d.current.destroy(),d.current=null)};P.useImperativeHandle(t,function(){return{props:i,getCanvas:function(){return h.current},getChart:function(){return d.current},getBase64Image:function(){return d.current.toBase64Image()},getElement:function(){return c.current},generateLegend:function(){return d.current&&d.current.generateLegend()},refresh:function(){return d.current&&d.current.update()}}}),P.useEffect(function(){g()}),Lm(function(){y()});var w=i.options&&i.options.plugins&&i.options.plugins.title&&i.options.plugins.title.text,E=i.ariaLabel||w,p=n({id:i.id,ref:c,style:u("root"),className:qu(i.className,a("root"))},Io.getOtherProps(i),l("root")),f=n({ref:h,width:i.width,height:i.height,role:"img","aria-label":E},l("canvas"));return P.createElement("div",p,P.createElement("canvas",f))}),function(e,t){return e.data===t.data&&e.options===t.options&&e.type===t.type});Dm.displayName="Chart";const qw="_logo1_wzwid_1",Jw="_logo2_wzwid_23",Zw={logo1:qw,"p-chart":"_p-chart_wzwid_13",logo2:Jw},cc=P.memo(function({black:t,small:n}){const r={title:{display:!1},legend:{display:!1,position:"bottom"}},i={datasets:[{data:[200,70,100],backgroundColor:["#e60000","#cca300","#0000ff"],hoverBackgroundColor:["#e60000","#cca300","#0000ff"]}]};return R.jsx(tc,{to:"/observatorioiftm/",children:R.jsxs("div",{className:Zw.logo1,children:[R.jsx(Dm,{style:{marginTop:"-16px"},width:n?"35px":"40px",height:n?"35px":"40px",type:"doughnut",data:i,options:r}),R.jsxs("div",{style:{fontSize:n?"16px":"20px",color:t?"black":"white"},children:[R.jsx("span",{children:"bservatório"}),R.jsxs("span",{children:[" ",R.jsx("strong",{children:"IFTM"})]})]})]})})}),eS=P.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ha=eS.ReactCurrentDispatcher,tS=()=>P.useReducer(()=>({}))[1],nS=e=>()=>{const t=`Hook "${e}" no possible to using inside useBetween scope.`;throw console.error(t),new Error(t)},ts=(e,t)=>Object.is(e,t),hi=(e,t)=>!e||!t||e.length!==t.length||e.some((n,r)=>!ts(n,t[r])),rS=()=>typeof window>"u",Cd=new Map;let ji=[],nl=0,Cr=[],yn=[],Ai=()=>{},Va=rS(),iS;const un=()=>{const e=nl++;return ji[e]=ji[e]||{}},Fm={useState(e){const t=un(),n=Ai;return t.initialized||(t.state=typeof e=="function"?e():e,t.set=r=>{if(typeof r=="function")return t.set(r(t.state));ts(r,t.state)||(t.state=r,n())},t.initialized=!0),[t.state,t.set]},useReducer(e,t,n){const r=un(),i=Ai;return r.initialized||(r.state=n?n(t):t,r.dispatch=o=>{const l=e(r.state,o);ts(l,r.state)||(r.state=l,i())},r.initialized=!0),[r.state,r.dispatch]},useEffect(e,t){if(Va)return;const n=un();n.initialized?hi(n.deps,t)&&(n.deps=t,Cr.push([n,t,e])):(n.deps=t,n.initialized=!0,Cr.push([n,t,e]))},useLayoutEffect(e,t){if(Va)return;const n=un();n.initialized?hi(n.deps,t)&&(n.deps=t,yn.push([n,t,e])):(n.deps=t,n.initialized=!0,yn.push([n,t,e]))},useCallback(e,t){const n=un();return n.initialized?hi(n.deps,t)&&(n.deps=t,n.fn=e):(n.fn=e,n.deps=t,n.initialized=!0),n.fn},useMemo(e,t){const n=un();return n.initialized?hi(n.deps,t)&&(n.deps=t,n.state=e()):(n.deps=t,n.state=e(),n.initialized=!0),n.state},useRef(e){const t=un();return t.initialized||(t.state={current:e},t.initialized=!0),t.state},useImperativeHandle(e,t,n){if(Va)return;const r=un();r.initialized?hi(r.deps,n)&&(r.deps=n,yn.push([r,n,()=>{typeof e=="function"?e(t()):e.current=t()}])):(r.deps=n,r.initialized=!0,yn.push([r,n,()=>{typeof e=="function"?e(t()):e.current=t()}]))}};["readContext","useContext","useDebugValue","useResponder","useDeferredValue","useTransition"].forEach(e=>Fm[e]=nS(e));const oS=(e,t)=>{const n=[];let r=[],i,o=[],l=!1;t&&t.mock&&(i=t.mock,l=!0);const a=()=>{r.slice().forEach(g=>g())},u=()=>{if(l)return;const g=Ha.current,y=[nl,Cr,yn,ji,Ai];let w=!1,E=!0;if(nl=0,Cr=[],yn=[],ji=n,Ai=()=>{E?w=!0:u()},Ha.current=Fm,i=e(iS),[yn,Cr].forEach(p=>p.forEach(([f,m,x])=>{if(f.deps=m,f.unsub){const v=f.unsub;o=o.filter(C=>C!==v),v()}const _=x();typeof _=="function"?(o.push(_),f.unsub=_):f.unsub=null})),[nl,Cr,yn,ji,Ai]=y,Ha.current=g,E=!1,!w){a();return}u()};return{init:()=>u(),get:()=>i,sub:g=>{r.indexOf(g)===-1&&r.push(g)},unsub:g=>{r=r.filter(y=>y!==g)},unsubs:()=>o,mock:g=>{l=!0,i=g,a()},unmock:()=>{l=!1,u()}}},lS=e=>{let t=Cd.get(e);return t||(t=oS(e),Cd.set(e,t),t.init()),t},fc=e=>{const t=tS();let n=lS(e);return n.sub(t),P.useEffect(()=>(n.sub(t),()=>n.unsub(t)),[n,t]),n.get()},aS=()=>{const[e,t]=P.useState(!1),n=P.useCallback(()=>t(!0),[]),r=P.useCallback(()=>t(!1),[]);return{menu:e,openMenu:n,closeMenu:r}},Im=()=>fc(aS),uS=()=>{const[e,t]=P.useState(0);return{windowHeight:e,setWindowHeight:t}},bm=()=>fc(uS);function sS({page:e,innerRef:t}){const{menu:n,openMenu:r,closeMenu:i}=Im();function o(){return R.jsxs("div",{className:pi.topHeaderWrapper,children:[R.jsx("div",{className:pi.topHeaderLeft,children:R.jsx(cc,{black:!0})}),R.jsx("div",{className:pi.topHeaderRight,children:R.jsx(tc,{to:"login",children:R.jsx(dd,{icon:"fa-user",label:"Login"})})})]})}function l(){return R.jsxs("div",{className:pi.bottomElementsWrapper,children:[R.jsx("div",{children:R.jsx(dd,{icon:n?"fa-xmark":"fa-bars",onClick:n?i:r})}),R.jsx("h2",{style:{fontWeight:"normal",color:De.textBlue},children:e})]})}return R.jsxs("header",{ref:t,className:pi.headerWrapper,children:[o(),l()]})}const cS="_wrapper_byyki_1",fS="_copyrightBackground_byyki_11",dS="_textStyle_byyki_25",pS="_footerWrapper_byyki_37",bo={wrapper:cS,copyrightBackground:fS,textStyle:dS,footerWrapper:pS},hS=({cursor:e,link:t})=>R.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 117 49",height:49,width:117,shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",style:{cursor:e?"pointer":"default"},onClick:()=>e?window.open(t):null,children:[R.jsx("defs",{children:R.jsx("style",{type:"text/css",children:".a {font: normal bold 11px Open Sans, sans-serif;}"})}),R.jsx("circle",{cx:22,cy:23,r:22,fill:"#fff"}),R.jsx("path",{style:{stroke:"#222",strokeWidth:9,strokeLinecap:"round"},d:"m 22,23 v 13"}),R.jsx("path",{style:{stroke:"#fff",strokeWidth:4,strokeLinejoin:"round"},d:"m 4,43 3,-6 4,3 z"}),R.jsx("circle",{r:4.5,cy:11,cx:22,fill:"#222"}),R.jsx("g",{fill:"#fff",children:R.jsxs("text",{x:47,y:22,children:[R.jsx("tspan",{className:"a",y:18,children:"Acesso à"}),R.jsx("tspan",{className:"a",x:47,y:31,children:"Informação"})]})})]});function mS(){function e(){return R.jsxs("footer",{style:{backgroundColor:De.backgroundBlue},className:bo.footerWrapper,children:[R.jsx(cc,{}),R.jsx(hS,{cursor:!0,link:"https://www.gov.br/acessoainformacao/pt-br"})]})}function t(){return R.jsx("span",{className:bo.copyrightBackground,style:{backgroundColor:De.backgroundDarkBlue},children:R.jsxs("p",{style:{color:De.white},className:bo.textStyle,children:["Lorem ipsum dolor sit amet, consectetur adipisicing elit."," ",R.jsxs(uw,{children:[" ","Ea placeat magnam quisquam perspiciatis quaerat reiciendis"," "]})]})})}return R.jsxs("div",{className:bo.wrapper,children:[e(),t()]})}const gS=P.memo(function({label:t,icon:n,link:r,data:i}){const[o,l]=P.useState(!1),a=P.useCallback(()=>l(u=>!u),[]);return r?R.jsx(fd,{to:r,children:R.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"1rem",width:"100%"},children:[R.jsx("div",{className:`fa-solid ${n}`}),R.jsx("p",{children:t})]})}):R.jsxs(R.Fragment,{children:[R.jsxs(cw,{onClick:a,children:[R.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"1rem"},children:[R.jsx("div",{className:`fa-solid ${n}`}),R.jsx("p",{children:t})]}),R.jsx("div",{className:`fa-solid fa-angle-${o?"up":"down"}`})]}),o&&i.map((u,s)=>R.jsx(fd,{to:u.route,noBorder:!0,bg:De.gray,children:R.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"1rem",width:"100%"},children:[R.jsx("div",{className:`fa-solid ${u.icon}`}),R.jsx("p",{children:u.label})]})},s*10))]})});function vS(){const e=[{label:"Home",icon:"fa-home",menus:null,route:"/observatorioiftm/"},{label:"Indicadores",icon:"fa-chart-pie",menus:[{label:"Produção Bibliográfica",icon:"fa-chart-line",menus:null,route:"producaobibliografica"},{label:"Orientações",icon:"fa-chart-column",menus:null,route:"orientacoes"},{label:"Inovação",icon:"fa-chart-area",menus:null,route:"inovacao"},{label:"Formação Acadêmica",icon:"fa-graduation-cap",menus:null,route:"formacaoacademica"},{label:"Temas de Pesquisa",icon:"fa-comments",menus:null,route:"temasdepesquisa"}],route:null},{label:"Docentes",icon:"fa-people-group",menus:[{label:"Consulta por Nome",icon:"fa-id-card",menus:null,route:"consultanome"},{label:"Consulta por Temas de Pesquisa",icon:"fa-book",menus:null,route:"consultatemaspesquisa"},{label:"Produção Científica",icon:"fa-hand-peace",menus:null,route:"producaocientifica"},{label:"Avaliação Pesquisador (Editais PROPI)",icon:"fa-calendar-check",menus:null,route:"avaliacaopesquisador"}],route:null},{label:"Login",icon:"fa-user",menus:null,route:"login"}];function t(){return e.map((n,r)=>{var i;return R.jsx(gS,{label:n.label,icon:n.icon,link:n.route??null,data:((i=n==null?void 0:n.menus)==null?void 0:i.length)>0?n==null?void 0:n.menus:null},r)})}return R.jsxs("div",{style:{display:"flex",flexDirection:"column",background:De.white,height:"100%",width:"100%",padding:"1rem"},children:[R.jsx("div",{style:{marginBottom:"1.5rem",marginTop:"1rem"},children:R.jsx(cc,{black:!0,small:!0})}),t()]})}const yS=()=>{const e=P.useRef(),[t,n]=P.useState(0);return{ref:e,height:t,setHeight:n}},Mm=()=>fc(yS);function wS(){const{setHeight:e,ref:t}=Mm(),{windowHeight:n}=bm();P.useEffect(()=>{const r=t.current?t.current.offsetHeight:0;e(100*r/window.innerHeight)},[t.offsetHeight,n])}function SS(){const{height:e,ref:t}=Mm(),n=so(),{menu:r,closeMenu:i}=Im();wS();function o(){return r&&R.jsxs("div",{style:{display:"flex",position:"fixed",width:"100%",zIndex:1},children:[R.jsx("div",{style:{backgroundColor:De.white,marginTop:`${e}vh`,height:`${100-e}vh`,width:"20%",overflowY:"auto",zIndex:1},children:R.jsx(vS,{})}),R.jsx("div",{style:{background:De.fadeBackground,width:"80%"},onClick:i})]})}return R.jsxs(R.Fragment,{children:[R.jsx(sS,{innerRef:t,page:n.pathname==="/observatorioiftm/"?"Home":n.pathname}),o(),R.jsx("div",{style:{marginTop:`${e}vh`},children:R.jsx(L0,{})}),R.jsx(mS,{})]})}const xS=P.memo(function(){return R.jsx(It,{children:R.jsx("h1",{children:"Home"})})});function ES(){return R.jsx(It,{children:R.jsx("h1",{children:"ProducaoBibliografica"})})}function kS(){return R.jsx(It,{children:R.jsx("h1",{children:"Orientacoes"})})}function CS(){return R.jsx(It,{children:R.jsx("h1",{children:"Inovacao"})})}function PS(){return R.jsx(It,{children:R.jsx("h1",{children:"FormacaoAcademica"})})}function _S(){return R.jsx(It,{children:R.jsx("h1",{children:"TemasDePesquisa"})})}function TS(){return R.jsx(It,{children:R.jsx("h1",{children:"ConsultaNome"})})}function RS(){return R.jsx(It,{children:R.jsx("h1",{children:"ConsultaTemasPesquisa"})})}function NS(){return R.jsx(It,{children:R.jsx("h1",{children:"ProducaoCientifica"})})}function OS(){return R.jsx(It,{children:R.jsx("h1",{children:"AvaliacaoPesquisador"})})}function LS(){return R.jsx(It,{children:R.jsx("h1",{children:"Login"})})}const jS=$0([{path:"/observatorioiftm/",element:R.jsx(SS,{}),children:[{index:!0,element:R.jsx(xS,{})},{path:"producaobibliografica",element:R.jsx(ES,{})},{path:"orientacoes",element:R.jsx(kS,{})},{path:"inovacao",element:R.jsx(CS,{})},{path:"formacaoacademica",element:R.jsx(PS,{})},{path:"temasdepesquisa",element:R.jsx(_S,{})},{path:"consultanome",element:R.jsx(TS,{})},{path:"consultatemaspesquisa",element:R.jsx(RS,{})},{path:"producaocientifica",element:R.jsx(NS,{})},{path:"avaliacaopesquisador",element:R.jsx(OS,{})},{path:"login",element:R.jsx(LS,{})}]}]);function AS(){const{setWindowHeight:e}=bm();return window.addEventListener("resize",function(){e(this.window.innerHeight)}),R.jsx(Y0,{router:jS})}Qa.createRoot(document.getElementById("root")).render(R.jsx(Tn.StrictMode,{children:R.jsx(AS,{})})); diff --git a/index.html b/index.html index 00cf716..ca5f842 100644 --- a/index.html +++ b/index.html @@ -22,7 +22,7 @@ referrerpolicy="no-referrer" /> Observatório IFTM - +