From 75f8083a87a94992bc85b05b2c9f490468410f11 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 18 Jan 2024 02:48:38 +0000 Subject: [PATCH] Deploy to GitHub pages --- assets/index-42bcf297.js | 81 ++++++++++++++++++++++++++++++++++++++++ index.html | 2 +- 2 files changed, 82 insertions(+), 1 deletion(-) create mode 100644 assets/index-42bcf297.js diff --git a/assets/index-42bcf297.js b/assets/index-42bcf297.js new file mode 100644 index 0000000..bdca696 --- /dev/null +++ b/assets/index-42bcf297.js @@ -0,0 +1,81 @@ +function uc(e,t){for(var n=0;nr[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const i of l)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(l){if(l.ep)return;l.ep=!0;const i=n(l);fetch(l.href,i)}})();function sc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var cc={exports:{}},Ei={},dc={exports:{}},Q={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var dl=Symbol.for("react.element"),ah=Symbol.for("react.portal"),uh=Symbol.for("react.fragment"),sh=Symbol.for("react.strict_mode"),ch=Symbol.for("react.profiler"),dh=Symbol.for("react.provider"),fh=Symbol.for("react.context"),hh=Symbol.for("react.forward_ref"),ph=Symbol.for("react.suspense"),mh=Symbol.for("react.memo"),vh=Symbol.for("react.lazy"),Mu=Symbol.iterator;function gh(e){return e===null||typeof e!="object"?null:(e=Mu&&e[Mu]||e["@@iterator"],typeof e=="function"?e:null)}var fc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},hc=Object.assign,pc={};function dr(e,t,n){this.props=e,this.context=t,this.refs=pc,this.updater=n||fc}dr.prototype.isReactComponent={};dr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};dr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function mc(){}mc.prototype=dr.prototype;function xa(e,t,n){this.props=e,this.context=t,this.refs=pc,this.updater=n||fc}var Ea=xa.prototype=new mc;Ea.constructor=xa;hc(Ea,dr.prototype);Ea.isPureReactComponent=!0;var Nu=Array.isArray,vc=Object.prototype.hasOwnProperty,ka={current:null},gc={key:!0,ref:!0,__self:!0,__source:!0};function yc(e,t,n){var r,l={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)vc.call(t,r)&&!gc.hasOwnProperty(r)&&(l[r]=t[r]);var a=arguments.length-2;if(a===1)l.children=n;else if(1>>1,ee=D[X];if(0>>1;Xl(it,$))jel(Ot,it)?(D[X]=Ot,D[je]=$,X=je):(D[X]=it,D[ke]=$,X=ke);else if(jel(Ot,$))D[X]=Ot,D[je]=$,X=je;else break e}}return A}function l(D,A){var $=D.sortIndex-A.sortIndex;return $!==0?$:D.id-A.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var u=[],s=[],c=1,h=null,m=3,w=!1,x=!1,S=!1,_=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(D){for(var A=n(s);A!==null;){if(A.callback===null)r(s);else if(A.startTime<=D)r(s),A.sortIndex=A.expirationTime,t(u,A);else break;A=n(s)}}function E(D){if(S=!1,p(D),!x)if(n(u)!==null)x=!0,zt(L);else{var A=n(s);A!==null&&re(E,A.startTime-D)}}function L(D,A){x=!1,S&&(S=!1,f(M),M=-1),w=!0;var $=m;try{for(p(A),h=n(u);h!==null&&(!(h.expirationTime>A)||D&&!G());){var X=h.callback;if(typeof X=="function"){h.callback=null,m=h.priorityLevel;var ee=X(h.expirationTime<=A);A=e.unstable_now(),typeof ee=="function"?h.callback=ee:h===n(u)&&r(u),p(A)}else r(u);h=n(u)}if(h!==null)var pt=!0;else{var ke=n(s);ke!==null&&re(E,ke.startTime-A),pt=!1}return pt}finally{h=null,m=$,w=!1}}var v=!1,P=null,M=-1,O=5,U=-1;function G(){return!(e.unstable_now()-UD||125X?(D.sortIndex=$,t(s,D),n(u)===null&&D===n(s)&&(S?(f(M),M=-1):S=!0,re(E,$-X))):(D.sortIndex=ee,t(u,D),x||w||(x=!0,zt(L))),D},e.unstable_shouldYield=G,e.unstable_wrapCallback=function(D){var A=m;return function(){var $=m;m=A;try{return D.apply(this,arguments)}finally{m=$}}}})(Ec);xc.exports=Ec;var Lh=xc.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var kc=C,Ye=Lh;function R(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),_o=Object.prototype.hasOwnProperty,Mh=/^[: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]*$/,ju={},zu={};function Nh(e){return _o.call(zu,e)?!0:_o.call(ju,e)?!1:Mh.test(e)?zu[e]=!0:(ju[e]=!0,!1)}function Dh(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 jh(e,t,n,r){if(t===null||typeof t>"u"||Dh(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 Ue(e,t,n,r,l,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var Re={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Re[e]=new Ue(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Re[t]=new Ue(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Re[e]=new Ue(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Re[e]=new Ue(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){Re[e]=new Ue(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Re[e]=new Ue(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Re[e]=new Ue(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Re[e]=new Ue(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Re[e]=new Ue(e,5,!1,e.toLowerCase(),null,!1,!1)});var _a=/[\-:]([a-z])/g;function Pa(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(_a,Pa);Re[t]=new Ue(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(_a,Pa);Re[t]=new Ue(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(_a,Pa);Re[t]=new Ue(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Re[e]=new Ue(e,1,!1,e.toLowerCase(),null,!1,!1)});Re.xlinkHref=new Ue("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Re[e]=new Ue(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ra(e,t,n,r){var l=Re.hasOwnProperty(t)?Re[t]:null;(l!==null?l.type!==0:r||!(2a||l[o]!==i[a]){var u=` +`+l[o].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=o&&0<=a);break}}}finally{Xi=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Nr(e):""}function zh(e){switch(e.tag){case 5:return Nr(e.type);case 16:return Nr("Lazy");case 13:return Nr("Suspense");case 19:return Nr("SuspenseList");case 0:case 2:case 15:return e=Ji(e.type,!1),e;case 11:return e=Ji(e.type.render,!1),e;case 1:return e=Ji(e.type,!0),e;default:return""}}function Lo(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 Fn:return"Fragment";case Un:return"Portal";case Po:return"Profiler";case Ta:return"StrictMode";case Ro:return"Suspense";case To:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Pc:return(e.displayName||"Context")+".Consumer";case _c:return(e._context.displayName||"Context")+".Provider";case La:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ma:return t=e.displayName||null,t!==null?t:Lo(e.type)||"Memo";case $t:t=e._payload,e=e._init;try{return Lo(e(t))}catch{}}return null}function Oh(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 Lo(t);case 8:return t===Ta?"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 Tc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ih(e){var t=Tc(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 l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function kl(e){e._valueTracker||(e._valueTracker=Ih(e))}function Lc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Tc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Jl(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 Mo(e,t){var n=t.checked;return se({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Iu(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 Mc(e,t){t=t.checked,t!=null&&Ra(e,"checked",t,!1)}function No(e,t){Mc(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")?Do(e,t.type,n):t.hasOwnProperty("defaultValue")&&Do(e,t.type,rn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Uu(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 Do(e,t,n){(t!=="number"||Jl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Dr=Array.isArray;function Zn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=Cl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Kr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Or={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},Uh=["Webkit","ms","Moz","O"];Object.keys(Or).forEach(function(e){Uh.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Or[t]=Or[e]})});function zc(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Or.hasOwnProperty(e)&&Or[e]?(""+t).trim():t+"px"}function Oc(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=zc(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Fh=se({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 Oo(e,t){if(t){if(Fh[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(R(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(R(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(R(61))}if(t.style!=null&&typeof t.style!="object")throw Error(R(62))}}function Io(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 Uo=null;function Na(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Fo=null,qn=null,bn=null;function Hu(e){if(e=pl(e)){if(typeof Fo!="function")throw Error(R(280));var t=e.stateNode;t&&(t=Ri(t),Fo(e.stateNode,e.type,t))}}function Ic(e){qn?bn?bn.push(e):bn=[e]:qn=e}function Uc(){if(qn){var e=qn,t=bn;if(bn=qn=null,Hu(e),t)for(e=0;e>>=0,e===0?32:31-(Xh(e)/Jh|0)|0}var _l=64,Pl=4194304;function jr(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 ei(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~l;a!==0?r=jr(a):(i&=o,i!==0&&(r=jr(i)))}else o=n&~l,o!==0?r=jr(o):i!==0&&(r=jr(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function fl(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-dt(t),e[t]=n}function ep(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=Ur),Xu=String.fromCharCode(32),Ju=!1;function rd(e,t){switch(e){case"keyup":return Tp.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ld(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var An=!1;function Mp(e,t){switch(e){case"compositionend":return ld(t);case"keypress":return t.which!==32?null:(Ju=!0,Xu);case"textInput":return e=t.data,e===Xu&&Ju?null:e;default:return null}}function Np(e,t){if(An)return e==="compositionend"||!Aa&&rd(e,t)?(e=td(),$l=Ia=Kt=null,An=!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=es(n)}}function ud(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ud(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function sd(){for(var e=window,t=Jl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Jl(e.document)}return t}function Ha(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 Hp(e){var t=sd(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ud(n.ownerDocument.documentElement,n)){if(r!==null&&Ha(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 l=n.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=ts(n,i);var o=ts(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Hn=null,Vo=null,Ar=null,Qo=!1;function ns(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Qo||Hn==null||Hn!==Jl(r)||(r=Hn,"selectionStart"in r&&Ha(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}),Ar&&qr(Ar,r)||(Ar=r,r=ri(Vo,"onSelect"),0Wn||(e.current=Zo[Wn],Zo[Wn]=null,Wn--)}function b(e,t){Wn++,Zo[Wn]=e.current,e.current=t}var ln={},De=an(ln),He=an(!1),En=ln;function ir(e,t){var n=e.type.contextTypes;if(!n)return ln;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function $e(e){return e=e.childContextTypes,e!=null}function ii(){ne(He),ne(De)}function ss(e,t,n){if(De.current!==ln)throw Error(R(168));b(De,t),b(He,n)}function yd(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(R(108,Oh(e)||"Unknown",l));return se({},n,r)}function oi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ln,En=De.current,b(De,e),b(He,He.current),!0}function cs(e,t,n){var r=e.stateNode;if(!r)throw Error(R(169));n?(e=yd(e,t,En),r.__reactInternalMemoizedMergedChildContext=e,ne(He),ne(De),b(De,e)):ne(He),b(He,n)}var kt=null,Ti=!1,co=!1;function Sd(e){kt===null?kt=[e]:kt.push(e)}function qp(e){Ti=!0,Sd(e)}function un(){if(!co&&kt!==null){co=!0;var e=0,t=J;try{var n=kt;for(J=1;e>=o,l-=o,Ct=1<<32-dt(t)+l|n<M?(O=P,P=null):O=P.sibling;var U=m(f,P,p[M],E);if(U===null){P===null&&(P=O);break}e&&P&&U.alternate===null&&t(f,P),d=i(U,d,M),v===null?L=U:v.sibling=U,v=U,P=O}if(M===p.length)return n(f,P),ie&&fn(f,M),L;if(P===null){for(;MM?(O=P,P=null):O=P.sibling;var G=m(f,P,U.value,E);if(G===null){P===null&&(P=O);break}e&&P&&G.alternate===null&&t(f,P),d=i(G,d,M),v===null?L=G:v.sibling=G,v=G,P=O}if(U.done)return n(f,P),ie&&fn(f,M),L;if(P===null){for(;!U.done;M++,U=p.next())U=h(f,U.value,E),U!==null&&(d=i(U,d,M),v===null?L=U:v.sibling=U,v=U);return ie&&fn(f,M),L}for(P=r(f,P);!U.done;M++,U=p.next())U=w(P,f,M,U.value,E),U!==null&&(e&&U.alternate!==null&&P.delete(U.key===null?M:U.key),d=i(U,d,M),v===null?L=U:v.sibling=U,v=U);return e&&P.forEach(function(ve){return t(f,ve)}),ie&&fn(f,M),L}function _(f,d,p,E){if(typeof p=="object"&&p!==null&&p.type===Fn&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case El:e:{for(var L=p.key,v=d;v!==null;){if(v.key===L){if(L=p.type,L===Fn){if(v.tag===7){n(f,v.sibling),d=l(v,p.props.children),d.return=f,f=d;break e}}else if(v.elementType===L||typeof L=="object"&&L!==null&&L.$$typeof===$t&&gs(L)===v.type){n(f,v.sibling),d=l(v,p.props),d.ref=kr(f,v,p),d.return=f,f=d;break e}n(f,v);break}else t(f,v);v=v.sibling}p.type===Fn?(d=xn(p.props.children,f.mode,E,p.key),d.return=f,f=d):(E=Xl(p.type,p.key,p.props,null,f.mode,E),E.ref=kr(f,d,p),E.return=f,f=E)}return o(f);case Un:e:{for(v=p.key;d!==null;){if(d.key===v)if(d.tag===4&&d.stateNode.containerInfo===p.containerInfo&&d.stateNode.implementation===p.implementation){n(f,d.sibling),d=l(d,p.children||[]),d.return=f,f=d;break e}else{n(f,d);break}else t(f,d);d=d.sibling}d=So(p,f.mode,E),d.return=f,f=d}return o(f);case $t:return v=p._init,_(f,d,v(p._payload),E)}if(Dr(p))return x(f,d,p,E);if(yr(p))return S(f,d,p,E);jl(f,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,d!==null&&d.tag===6?(n(f,d.sibling),d=l(d,p),d.return=f,f=d):(n(f,d),d=yo(p,f.mode,E),d.return=f,f=d),o(f)):n(f,d)}return _}var ar=Rd(!0),Td=Rd(!1),ml={},wt=an(ml),nl=an(ml),rl=an(ml);function vn(e){if(e===ml)throw Error(R(174));return e}function Xa(e,t){switch(b(rl,t),b(nl,e),b(wt,ml),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:zo(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=zo(t,e)}ne(wt),b(wt,t)}function ur(){ne(wt),ne(nl),ne(rl)}function Ld(e){vn(rl.current);var t=vn(wt.current),n=zo(t,e.type);t!==n&&(b(nl,e),b(wt,n))}function Ja(e){nl.current===e&&(ne(wt),ne(nl))}var ae=an(0);function fi(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 fo=[];function Za(){for(var e=0;en?n:4,e(!0);var r=ho.transition;ho.transition={};try{e(!1),t()}finally{J=n,ho.transition=r}}function Qd(){return lt().memoizedState}function nm(e,t,n){var r=en(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Kd(e))Yd(t,n);else if(n=kd(e,t,n,r),n!==null){var l=Oe();ft(n,e,r,l),Gd(n,t,r)}}function rm(e,t,n){var r=en(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Kd(e))Yd(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,a=i(o,n);if(l.hasEagerState=!0,l.eagerState=a,ht(a,o)){var u=t.interleaved;u===null?(l.next=l,Ya(t)):(l.next=u.next,u.next=l),t.interleaved=l;return}}catch{}finally{}n=kd(e,t,l,r),n!==null&&(l=Oe(),ft(n,e,r,l),Gd(n,t,r))}}function Kd(e){var t=e.alternate;return e===ue||t!==null&&t===ue}function Yd(e,t){Hr=hi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Gd(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ja(e,n)}}var pi={readContext:rt,useCallback:Te,useContext:Te,useEffect:Te,useImperativeHandle:Te,useInsertionEffect:Te,useLayoutEffect:Te,useMemo:Te,useReducer:Te,useRef:Te,useState:Te,useDebugValue:Te,useDeferredValue:Te,useTransition:Te,useMutableSource:Te,useSyncExternalStore:Te,useId:Te,unstable_isNewReconciler:!1},lm={readContext:rt,useCallback:function(e,t){return gt().memoizedState=[e,t===void 0?null:t],e},useContext:rt,useEffect:Ss,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ql(4194308,4,Hd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ql(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ql(4,2,e,t)},useMemo:function(e,t){var n=gt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=gt();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=nm.bind(null,ue,e),[r.memoizedState,e]},useRef:function(e){var t=gt();return e={current:e},t.memoizedState=e},useState:ys,useDebugValue:nu,useDeferredValue:function(e){return gt().memoizedState=e},useTransition:function(){var e=ys(!1),t=e[0];return e=tm.bind(null,e[1]),gt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ue,l=gt();if(ie){if(n===void 0)throw Error(R(407));n=n()}else{if(n=t(),Ee===null)throw Error(R(349));Cn&30||Dd(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,Ss(zd.bind(null,r,i,e),[e]),r.flags|=2048,ol(9,jd.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=gt(),t=Ee.identifierPrefix;if(ie){var n=_t,r=Ct;n=(r&~(1<<32-dt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ll++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[yt]=t,e[tl]=r,rf(e,t,!1,!1),t.stateNode=e;e:{switch(o=Io(n,r),n){case"dialog":te("cancel",e),te("close",e),l=r;break;case"iframe":case"object":case"embed":te("load",e),l=r;break;case"video":case"audio":for(l=0;lcr&&(t.flags|=128,r=!0,Cr(i,!1),t.lanes=4194304)}else{if(!r)if(e=fi(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Cr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!ie)return Le(t),null}else 2*he()-i.renderingStartTime>cr&&n!==1073741824&&(t.flags|=128,r=!0,Cr(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=he(),t.sibling=null,n=ae.current,b(ae,r?n&1|2:n&1),t):(Le(t),null);case 22:case 23:return uu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ve&1073741824&&(Le(t),t.subtreeFlags&6&&(t.flags|=8192)):Le(t),null;case 24:return null;case 25:return null}throw Error(R(156,t.tag))}function fm(e,t){switch(Ba(t),t.tag){case 1:return $e(t.type)&&ii(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ur(),ne(He),ne(De),Za(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ja(t),null;case 13:if(ne(ae),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(R(340));or()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ne(ae),null;case 4:return ur(),null;case 10:return Ka(t.type._context),null;case 22:case 23:return uu(),null;case 24:return null;default:return null}}var Ol=!1,Ne=!1,hm=typeof WeakSet=="function"?WeakSet:Set,j=null;function Yn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){de(e,t,r)}else n.current=null}function sa(e,t,n){try{n()}catch(r){de(e,t,r)}}var Ts=!1;function pm(e,t){if(Ko=ti,e=sd(),Ha(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 l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,a=-1,u=-1,s=0,c=0,h=e,m=null;t:for(;;){for(var w;h!==n||l!==0&&h.nodeType!==3||(a=o+l),h!==i||r!==0&&h.nodeType!==3||(u=o+r),h.nodeType===3&&(o+=h.nodeValue.length),(w=h.firstChild)!==null;)m=h,h=w;for(;;){if(h===e)break t;if(m===n&&++s===l&&(a=o),m===i&&++c===r&&(u=o),(w=h.nextSibling)!==null)break;h=m,m=h.parentNode}h=w}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Yo={focusedElem:e,selectionRange:n},ti=!1,j=t;j!==null;)if(t=j,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,j=e;else for(;j!==null;){t=j;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var S=x.memoizedProps,_=x.memoizedState,f=t.stateNode,d=f.getSnapshotBeforeUpdate(t.elementType===t.type?S:at(t.type,S),_);f.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(R(163))}}catch(E){de(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,j=e;break}j=t.return}return x=Ts,Ts=!1,x}function $r(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&sa(t,n,i)}l=l.next}while(l!==r)}}function Ni(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 ca(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 af(e){var t=e.alternate;t!==null&&(e.alternate=null,af(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[yt],delete t[tl],delete t[Jo],delete t[Jp],delete t[Zp])),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 uf(e){return e.tag===5||e.tag===3||e.tag===4}function Ls(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||uf(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 da(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=li));else if(r!==4&&(e=e.child,e!==null))for(da(e,t,n),e=e.sibling;e!==null;)da(e,t,n),e=e.sibling}function fa(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(fa(e,t,n),e=e.sibling;e!==null;)fa(e,t,n),e=e.sibling}var _e=null,ut=!1;function At(e,t,n){for(n=n.child;n!==null;)sf(e,t,n),n=n.sibling}function sf(e,t,n){if(St&&typeof St.onCommitFiberUnmount=="function")try{St.onCommitFiberUnmount(ki,n)}catch{}switch(n.tag){case 5:Ne||Yn(n,t);case 6:var r=_e,l=ut;_e=null,At(e,t,n),_e=r,ut=l,_e!==null&&(ut?(e=_e,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):_e.removeChild(n.stateNode));break;case 18:_e!==null&&(ut?(e=_e,n=n.stateNode,e.nodeType===8?so(e.parentNode,n):e.nodeType===1&&so(e,n),Jr(e)):so(_e,n.stateNode));break;case 4:r=_e,l=ut,_e=n.stateNode.containerInfo,ut=!0,At(e,t,n),_e=r,ut=l;break;case 0:case 11:case 14:case 15:if(!Ne&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&sa(n,t,o),l=l.next}while(l!==r)}At(e,t,n);break;case 1:if(!Ne&&(Yn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){de(n,t,a)}At(e,t,n);break;case 21:At(e,t,n);break;case 22:n.mode&1?(Ne=(r=Ne)||n.memoizedState!==null,At(e,t,n),Ne=r):At(e,t,n);break;default:At(e,t,n)}}function Ms(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new hm),t.forEach(function(r){var l=km.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function ot(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=o),r&=~i}if(r=l,r=he()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*vm(r/1960))-r,10e?16:e,Yt===null)var r=!1;else{if(e=Yt,Yt=null,gi=0,Y&6)throw Error(R(331));var l=Y;for(Y|=4,j=e.current;j!==null;){var i=j,o=i.child;if(j.flags&16){var a=i.deletions;if(a!==null){for(var u=0;uhe()-ou?wn(e,0):iu|=n),Be(e,t)}function gf(e,t){t===0&&(e.mode&1?(t=Pl,Pl<<=1,!(Pl&130023424)&&(Pl=4194304)):t=1);var n=Oe();e=Mt(e,t),e!==null&&(fl(e,t,n),Be(e,n))}function Em(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),gf(e,n)}function km(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(R(314))}r!==null&&r.delete(t),gf(e,n)}var yf;yf=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||He.current)Ae=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ae=!1,cm(e,t,n);Ae=!!(e.flags&131072)}else Ae=!1,ie&&t.flags&1048576&&wd(t,ui,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Kl(e,t),e=t.pendingProps;var l=ir(t,De.current);tr(t,n),l=ba(null,t,r,e,l,n);var i=eu();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,$e(r)?(i=!0,oi(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Ga(t),l.updater=Li,t.stateNode=l,l._reactInternals=t,na(t,r,e,n),t=ia(null,t,r,!0,i,n)):(t.tag=0,ie&&i&&$a(t),ze(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Kl(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=_m(r),e=at(r,e),l){case 0:t=la(null,t,r,e,n);break e;case 1:t=_s(null,t,r,e,n);break e;case 11:t=ks(null,t,r,e,n);break e;case 14:t=Cs(null,t,r,at(r.type,e),n);break e}throw Error(R(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:at(r,l),la(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:at(r,l),_s(e,t,r,l,n);case 3:e:{if(ef(t),e===null)throw Error(R(387));r=t.pendingProps,i=t.memoizedState,l=i.element,Cd(e,t),di(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=sr(Error(R(423)),t),t=Ps(e,t,r,n,l);break e}else if(r!==l){l=sr(Error(R(424)),t),t=Ps(e,t,r,n,l);break e}else for(Qe=Zt(t.stateNode.containerInfo.firstChild),Ke=t,ie=!0,ct=null,n=Td(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(or(),r===l){t=Nt(e,t,n);break e}ze(e,t,r,n)}t=t.child}return t;case 5:return Ld(t),e===null&&bo(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,Go(r,l)?o=null:i!==null&&Go(r,i)&&(t.flags|=32),bd(e,t),ze(e,t,o,n),t.child;case 6:return e===null&&bo(t),null;case 13:return tf(e,t,n);case 4:return Xa(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ar(t,null,r,n):ze(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:at(r,l),ks(e,t,r,l,n);case 7:return ze(e,t,t.pendingProps,n),t.child;case 8:return ze(e,t,t.pendingProps.children,n),t.child;case 12:return ze(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value,b(si,r._currentValue),r._currentValue=o,i!==null)if(ht(i.value,o)){if(i.children===l.children&&!He.current){t=Nt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){o=i.child;for(var u=a.firstContext;u!==null;){if(u.context===r){if(i.tag===1){u=Pt(-1,n&-n),u.tag=2;var s=i.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}}i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),ea(i.return,n,t),a.lanes|=n;break}u=u.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(R(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),ea(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}ze(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,tr(t,n),l=rt(l),r=r(l),t.flags|=1,ze(e,t,r,n),t.child;case 14:return r=t.type,l=at(r,t.pendingProps),l=at(r.type,l),Cs(e,t,r,l,n);case 15:return Zd(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:at(r,l),Kl(e,t),t.tag=1,$e(r)?(e=!0,oi(t)):e=!1,tr(t,n),Pd(t,r,l),na(t,r,l,n),ia(null,t,r,!0,e,n);case 19:return nf(e,t,n);case 22:return qd(e,t,n)}throw Error(R(156,t.tag))};function Sf(e,t){return Vc(e,t)}function Cm(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 tt(e,t,n,r){return new Cm(e,t,n,r)}function cu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _m(e){if(typeof e=="function")return cu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===La)return 11;if(e===Ma)return 14}return 2}function tn(e,t){var n=e.alternate;return n===null?(n=tt(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 Xl(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")cu(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Fn:return xn(n.children,l,i,t);case Ta:o=8,l|=8;break;case Po:return e=tt(12,n,t,l|2),e.elementType=Po,e.lanes=i,e;case Ro:return e=tt(13,n,t,l),e.elementType=Ro,e.lanes=i,e;case To:return e=tt(19,n,t,l),e.elementType=To,e.lanes=i,e;case Rc:return ji(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case _c:o=10;break e;case Pc:o=9;break e;case La:o=11;break e;case Ma:o=14;break e;case $t:o=16,r=null;break e}throw Error(R(130,e==null?e:typeof e,""))}return t=tt(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function xn(e,t,n,r){return e=tt(7,e,r,t),e.lanes=n,e}function ji(e,t,n,r){return e=tt(22,e,r,t),e.elementType=Rc,e.lanes=n,e.stateNode={isHidden:!1},e}function yo(e,t,n){return e=tt(6,e,null,t),e.lanes=n,e}function So(e,t,n){return t=tt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Pm(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=qi(0),this.expirationTimes=qi(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=qi(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function du(e,t,n,r,l,i,o,a,u){return e=new Pm(e,t,n,a,u),t===1?(t=1,i===!0&&(t|=8)):t=0,i=tt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ga(i),e}function Rm(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(kf)}catch(e){console.error(e)}}kf(),wc.exports=Ge;var mu=wc.exports;const Dm=sc(mu),jm=uc({__proto__:null,default:Dm},[mu]);var Fs=mu;Co.createRoot=Fs.createRoot,Co.hydrateRoot=Fs.hydrateRoot;/** + * @remix-run/router v1.14.2 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function oe(){return oe=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Rn(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Om(){return Math.random().toString(36).substr(2,8)}function Hs(e,t){return{usr:e.state,key:e.key,idx:t}}function ul(e,t,n,r){return n===void 0&&(n=null),oe({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?jt(t):t,{state:n,key:t&&t.key||r||Om()})}function Tn(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 jt(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 Im(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:i=!1}=r,o=l.history,a=fe.Pop,u=null,s=c();s==null&&(s=0,o.replaceState(oe({},o.state,{idx:s}),""));function c(){return(o.state||{idx:null}).idx}function h(){a=fe.Pop;let _=c(),f=_==null?null:_-s;s=_,u&&u({action:a,location:S.location,delta:f})}function m(_,f){a=fe.Push;let d=ul(S.location,_,f);n&&n(d,_),s=c()+1;let p=Hs(d,s),E=S.createHref(d);try{o.pushState(p,"",E)}catch(L){if(L instanceof DOMException&&L.name==="DataCloneError")throw L;l.location.assign(E)}i&&u&&u({action:a,location:S.location,delta:1})}function w(_,f){a=fe.Replace;let d=ul(S.location,_,f);n&&n(d,_),s=c();let p=Hs(d,s),E=S.createHref(d);o.replaceState(p,"",E),i&&u&&u({action:a,location:S.location,delta:0})}function x(_){let f=l.location.origin!=="null"?l.location.origin:l.location.href,d=typeof _=="string"?_:Tn(_);return V(f,"No window.location.(origin|href) available to create URL for href: "+d),new URL(d,f)}let S={get action(){return a},get location(){return e(l,o)},listen(_){if(u)throw new Error("A history only accepts one active listener");return l.addEventListener(As,h),u=_,()=>{l.removeEventListener(As,h),u=null}},createHref(_){return t(l,_)},createURL:x,encodeLocation(_){let f=x(_);return{pathname:f.pathname,search:f.search,hash:f.hash}},push:m,replace:w,go(_){return o.go(_)}};return S}var ce;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(ce||(ce={}));const Um=new Set(["lazy","caseSensitive","path","id","index","children"]);function Fm(e){return e.index===!0}function ga(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((l,i)=>{let o=[...n,i],a=typeof l.id=="string"?l.id:o.join("-");if(V(l.index!==!0||!l.children,"Cannot specify children on an index route"),V(!r[a],'Found a route id collision on id "'+a+`". Route id's must be globally unique within Data Router usages`),Fm(l)){let u=oe({},l,t(l),{id:a});return r[a]=u,u}else{let u=oe({},l,t(l),{id:a,children:void 0});return r[a]=u,l.children&&(u.children=ga(l.children,t,o,r)),u}})}function Xn(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?jt(t):t,l=pr(r.pathname||"/",n);if(l==null)return null;let i=Cf(e);Hm(i);let o=null;for(let a=0;o==null&&a{let u={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};u.relativePath.startsWith("/")&&(V(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=Rt([r,u.relativePath]),c=n.concat(u);i.children&&i.children.length>0&&(V(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+s+'".')),Cf(i.children,t,c,s)),!(i.path==null&&!i.index)&&t.push({path:s,score:Ym(s,i.index),routesMeta:c})};return e.forEach((i,o)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))l(i,o);else for(let u of _f(i.path))l(i,o,u)}),t}function _f(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return l?[i,""]:[i];let o=_f(r.join("/")),a=[];return a.push(...o.map(u=>u===""?i:[i,u].join("/"))),l&&a.push(...o),a.map(u=>e.startsWith("/")&&u===""?"/":u)}function Hm(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Gm(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const $m=/^:[\w-]+$/,Bm=3,Wm=2,Vm=1,Qm=10,Km=-2,$s=e=>e==="*";function Ym(e,t){let n=e.split("/"),r=n.length;return n.some($s)&&(r+=Km),t&&(r+=Wm),n.filter(l=>!$s(l)).reduce((l,i)=>l+($m.test(i)?Bm:i===""?Vm:Qm),r)}function Gm(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function Xm(e,t){let{routesMeta:n}=e,r={},l="/",i=[];for(let o=0;o{let{paramName:m,isOptional:w}=c;if(m==="*"){let S=a[h]||"";o=i.slice(0,i.length-S.length).replace(/(.)\/+$/,"$1")}const x=a[h];return w&&!x?s[m]=void 0:s[m]=bm(x||"",m),s},{}),pathname:i,pathnameBase:o,pattern:e}}function Zm(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Rn(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=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,a,u)=>(r.push({paramName:a,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function qm(e){try{return decodeURI(e)}catch(t){return Rn(!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 bm(e,t){try{return decodeURIComponent(e)}catch(n){return Rn(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function pr(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 ev(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?jt(e):e;return{pathname:n?n.startsWith("/")?n:tv(n,t):t,search:rv(r),hash:lv(l)}}function tv(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function wo(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 Pf(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function vu(e,t){let n=Pf(e);return t?n.map((r,l)=>l===e.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function gu(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=jt(e):(l=oe({},e),V(!l.pathname||!l.pathname.includes("?"),wo("?","pathname","search",l)),V(!l.pathname||!l.pathname.includes("#"),wo("#","pathname","hash",l)),V(!l.search||!l.search.includes("#"),wo("#","search","hash",l)));let i=e===""||l.pathname==="",o=i?"/":l.pathname,a;if(o==null)a=n;else{let h=t.length-1;if(!r&&o.startsWith("..")){let m=o.split("/");for(;m[0]==="..";)m.shift(),h-=1;l.pathname=m.join("/")}a=h>=0?t[h]:"/"}let u=ev(l,a),s=o&&o!=="/"&&o.endsWith("/"),c=(i||o===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(s||c)&&(u.pathname+="/"),u}const Rt=e=>e.join("/").replace(/\/\/+/g,"/"),nv=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),rv=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,lv=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,iv=function(t,n){n===void 0&&(n=302);let r=n;typeof r=="number"?r={status:r}:typeof r.status>"u"&&(r.status=302);let l=new Headers(r.headers);return l.set("Location",t),new Response(null,oe({},r,{headers:l}))};class yu{constructor(t,n,r,l){l===void 0&&(l=!1),this.status=t,this.statusText=n||"",this.internal=l,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function Rf(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Tf=["post","put","patch","delete"],ov=new Set(Tf),av=["get",...Tf],uv=new Set(av),sv=new Set([301,302,303,307,308]),cv=new Set([307,308]),xo={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},dv={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Pr={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Lf=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,fv=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),Mf="remix-router-transitions";function hv(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;V(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let l;if(e.mapRouteProperties)l=e.mapRouteProperties;else if(e.detectErrorBoundary){let g=e.detectErrorBoundary;l=y=>({hasErrorBoundary:g(y)})}else l=fv;let i={},o=ga(e.routes,l,void 0,i),a,u=e.basename||"/",s=oe({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1},e.future),c=null,h=new Set,m=null,w=null,x=null,S=e.hydrationData!=null,_=Xn(o,e.history.location,u),f=null;if(_==null){let g=qe(404,{pathname:e.history.location.pathname}),{matches:y,route:k}=Xs(o);_=y,f={[k.id]:g}}let d,p=_.some(g=>g.route.lazy),E=_.some(g=>g.route.loader);if(p)d=!1;else if(!E)d=!0;else if(s.v7_partialHydration){let g=e.hydrationData?e.hydrationData.loaderData:null,y=e.hydrationData?e.hydrationData.errors:null;d=_.every(k=>k.route.loader&&k.route.loader.hydrate!==!0&&(g&&g[k.route.id]!==void 0||y&&y[k.route.id]!==void 0))}else d=e.hydrationData!=null;let L,v={historyAction:e.history.action,location:e.history.location,matches:_,initialized:d,navigation:xo,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||f,fetchers:new Map,blockers:new Map},P=fe.Pop,M=!1,O,U=!1,G=new Map,ve=null,pe=!1,Je=!1,Dn=[],zt=[],re=new Map,D=0,A=-1,$=new Map,X=new Set,ee=new Map,pt=new Map,ke=new Set,it=new Map,je=new Map,Ot=!1;function Kf(){if(c=e.history.listen(g=>{let{action:y,location:k,delta:N}=g;if(Ot){Ot=!1;return}Rn(je.size===0||N!=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 z=Ru({currentLocation:v.location,nextLocation:k,historyAction:y});if(z&&N!=null){Ot=!0,e.history.go(N*-1),yl(z,{state:"blocked",location:k,proceed(){yl(z,{state:"proceeding",proceed:void 0,reset:void 0,location:k}),e.history.go(N)},reset(){let W=new Map(v.blockers);W.set(z,Pr),We({blockers:W})}});return}return cn(y,k)}),n){Cv(t,G);let g=()=>_v(t,G);t.addEventListener("pagehide",g),ve=()=>t.removeEventListener("pagehide",g)}return v.initialized||cn(fe.Pop,v.location,{initialHydration:!0}),L}function Yf(){c&&c(),ve&&ve(),h.clear(),O&&O.abort(),v.fetchers.forEach((g,y)=>gl(y)),v.blockers.forEach((g,y)=>Pu(y))}function Gf(g){return h.add(g),()=>h.delete(g)}function We(g,y){y===void 0&&(y={}),v=oe({},v,g);let k=[],N=[];s.v7_fetcherPersist&&v.fetchers.forEach((z,W)=>{z.state==="idle"&&(ke.has(W)?N.push(W):k.push(W))}),[...h].forEach(z=>z(v,{deletedFetchers:N,unstable_viewTransitionOpts:y.viewTransitionOpts,unstable_flushSync:y.flushSync===!0})),s.v7_fetcherPersist&&(k.forEach(z=>v.fetchers.delete(z)),N.forEach(z=>gl(z)))}function mr(g,y,k){var N,z;let{flushSync:W}=k===void 0?{}:k,H=v.actionData!=null&&v.navigation.formMethod!=null&&st(v.navigation.formMethod)&&v.navigation.state==="loading"&&((N=g.state)==null?void 0:N._isRedirect)!==!0,F;y.actionData?Object.keys(y.actionData).length>0?F=y.actionData:F=null:H?F=v.actionData:F=null;let I=y.loaderData?Gs(v.loaderData,y.loaderData,y.matches||[],y.errors):v.loaderData,K=v.blockers;K.size>0&&(K=new Map(K),K.forEach((q,Ce)=>K.set(Ce,Pr)));let Se=M===!0||v.navigation.formMethod!=null&&st(v.navigation.formMethod)&&((z=g.state)==null?void 0:z._isRedirect)!==!0;a&&(o=a,a=void 0),pe||P===fe.Pop||(P===fe.Push?e.history.push(g,g.state):P===fe.Replace&&e.history.replace(g,g.state));let B;if(P===fe.Pop){let q=G.get(v.location.pathname);q&&q.has(g.pathname)?B={currentLocation:v.location,nextLocation:g}:G.has(g.pathname)&&(B={currentLocation:g,nextLocation:v.location})}else if(U){let q=G.get(v.location.pathname);q?q.add(g.pathname):(q=new Set([g.pathname]),G.set(v.location.pathname,q)),B={currentLocation:v.location,nextLocation:g}}We(oe({},y,{actionData:F,loaderData:I,historyAction:P,location:g,initialized:!0,navigation:xo,revalidation:"idle",restoreScrollPosition:Lu(g,y.matches||v.matches),preventScrollReset:Se,blockers:K}),{viewTransitionOpts:B,flushSync:W===!0}),P=fe.Pop,M=!1,U=!1,pe=!1,Je=!1,Dn=[],zt=[]}async function wu(g,y){if(typeof g=="number"){e.history.go(g);return}let k=ya(v.location,v.matches,u,s.v7_prependBasename,g,s.v7_relativeSplatPath,y==null?void 0:y.fromRouteId,y==null?void 0:y.relative),{path:N,submission:z,error:W}=Bs(s.v7_normalizeFormMethod,!1,k,y),H=v.location,F=ul(v.location,N,y&&y.state);F=oe({},F,e.history.encodeLocation(F));let I=y&&y.replace!=null?y.replace:void 0,K=fe.Push;I===!0?K=fe.Replace:I===!1||z!=null&&st(z.formMethod)&&z.formAction===v.location.pathname+v.location.search&&(K=fe.Replace);let Se=y&&"preventScrollReset"in y?y.preventScrollReset===!0:void 0,B=(y&&y.unstable_flushSync)===!0,q=Ru({currentLocation:H,nextLocation:F,historyAction:K});if(q){yl(q,{state:"blocked",location:F,proceed(){yl(q,{state:"proceeding",proceed:void 0,reset:void 0,location:F}),wu(g,y)},reset(){let Ce=new Map(v.blockers);Ce.set(q,Pr),We({blockers:Ce})}});return}return await cn(K,F,{submission:z,pendingError:W,preventScrollReset:Se,replace:y&&y.replace,enableViewTransition:y&&y.unstable_viewTransition,flushSync:B})}function Xf(){if($i(),We({revalidation:"loading"}),v.navigation.state!=="submitting"){if(v.navigation.state==="idle"){cn(v.historyAction,v.location,{startUninterruptedRevalidation:!0});return}cn(P||v.historyAction,v.navigation.location,{overrideNavigation:v.navigation})}}async function cn(g,y,k){O&&O.abort(),O=null,P=g,pe=(k&&k.startUninterruptedRevalidation)===!0,lh(v.location,v.matches),M=(k&&k.preventScrollReset)===!0,U=(k&&k.enableViewTransition)===!0;let N=a||o,z=k&&k.overrideNavigation,W=Xn(N,y,u),H=(k&&k.flushSync)===!0;if(!W){let Ce=qe(404,{pathname:y.pathname}),{matches:Ze,route:we}=Xs(N);Bi(),mr(y,{matches:Ze,loaderData:{},errors:{[we.id]:Ce}},{flushSync:H});return}if(v.initialized&&!Je&&yv(v.location,y)&&!(k&&k.submission&&st(k.submission.formMethod))){mr(y,{matches:W},{flushSync:H});return}O=new AbortController;let F=Tr(e.history,y,O.signal,k&&k.submission),I,K;if(k&&k.pendingError)K={[Vr(W).route.id]:k.pendingError};else if(k&&k.submission&&st(k.submission.formMethod)){let Ce=await Jf(F,y,k.submission,W,{replace:k.replace,flushSync:H});if(Ce.shortCircuited)return;I=Ce.pendingActionData,K=Ce.pendingActionError,z=Eo(y,k.submission),H=!1,F=new Request(F.url,{signal:F.signal})}let{shortCircuited:Se,loaderData:B,errors:q}=await Zf(F,y,W,z,k&&k.submission,k&&k.fetcherSubmission,k&&k.replace,k&&k.initialHydration===!0,H,I,K);Se||(O=null,mr(y,oe({matches:W},I?{actionData:I}:{},{loaderData:B,errors:q})))}async function Jf(g,y,k,N,z){z===void 0&&(z={}),$i();let W=Ev(y,k);We({navigation:W},{flushSync:z.flushSync===!0});let H,F=wa(N,y);if(!F.route.action&&!F.route.lazy)H={type:ce.error,error:qe(405,{method:g.method,pathname:y.pathname,routeId:F.route.id})};else if(H=await Rr("action",g,F,N,i,l,u,s.v7_relativeSplatPath),g.signal.aborted)return{shortCircuited:!0};if(yn(H)){let I;return z&&z.replace!=null?I=z.replace:I=H.location===v.location.pathname+v.location.search,await vr(v,H,{submission:k,replace:I}),{shortCircuited:!0}}if(Jn(H)){let I=Vr(N,F.route.id);return(z&&z.replace)!==!0&&(P=fe.Push),{pendingActionData:{},pendingActionError:{[I.route.id]:H.error}}}if(gn(H))throw qe(400,{type:"defer-action"});return{pendingActionData:{[F.route.id]:H.data}}}async function Zf(g,y,k,N,z,W,H,F,I,K,Se){let B=N||Eo(y,z),q=z||W||qs(B),Ce=a||o,[Ze,we]=Ws(e.history,v,k,q,y,s.v7_partialHydration&&F===!0,Je,Dn,zt,ke,ee,X,Ce,u,K,Se);if(Bi(Z=>!(k&&k.some(le=>le.route.id===Z))||Ze&&Ze.some(le=>le.route.id===Z)),A=++D,Ze.length===0&&we.length===0){let Z=Cu();return mr(y,oe({matches:k,loaderData:{},errors:Se||null},K?{actionData:K}:{},Z?{fetchers:new Map(v.fetchers)}:{}),{flushSync:I}),{shortCircuited:!0}}if(!pe&&(!s.v7_partialHydration||!F)){we.forEach(le=>{let mt=v.fetchers.get(le.key),wl=Lr(void 0,mt?mt.data:void 0);v.fetchers.set(le.key,wl)});let Z=K||v.actionData;We(oe({navigation:B},Z?Object.keys(Z).length===0?{actionData:null}:{actionData:Z}:{},we.length>0?{fetchers:new Map(v.fetchers)}:{}),{flushSync:I})}we.forEach(Z=>{re.has(Z.key)&&Ut(Z.key),Z.controller&&re.set(Z.key,Z.controller)});let jn=()=>we.forEach(Z=>Ut(Z.key));O&&O.signal.addEventListener("abort",jn);let{results:Wi,loaderResults:zn,fetcherResults:Ft}=await xu(v.matches,k,Ze,we,g);if(g.signal.aborted)return{shortCircuited:!0};O&&O.signal.removeEventListener("abort",jn),we.forEach(Z=>re.delete(Z.key));let dn=Js(Wi);if(dn){if(dn.idx>=Ze.length){let Z=we[dn.idx-Ze.length].key;X.add(Z)}return await vr(v,dn.result,{replace:H}),{shortCircuited:!0}}let{loaderData:Vi,errors:Qi}=Ys(v,k,Ze,zn,Se,we,Ft,it);it.forEach((Z,le)=>{Z.subscribe(mt=>{(mt||Z.done)&&it.delete(le)})});let Ki=Cu(),On=_u(A),Sl=Ki||On||we.length>0;return oe({loaderData:Vi,errors:Qi},Sl?{fetchers:new Map(v.fetchers)}:{})}function qf(g,y,k,N){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.");re.has(g)&&Ut(g);let z=(N&&N.unstable_flushSync)===!0,W=a||o,H=ya(v.location,v.matches,u,s.v7_prependBasename,k,s.v7_relativeSplatPath,y,N==null?void 0:N.relative),F=Xn(W,H,u);if(!F){gr(g,y,qe(404,{pathname:H}),{flushSync:z});return}let{path:I,submission:K,error:Se}=Bs(s.v7_normalizeFormMethod,!0,H,N);if(Se){gr(g,y,Se,{flushSync:z});return}let B=wa(F,I);if(M=(N&&N.preventScrollReset)===!0,K&&st(K.formMethod)){bf(g,y,I,B,F,z,K);return}ee.set(g,{routeId:y,path:I}),eh(g,y,I,B,F,z,K)}async function bf(g,y,k,N,z,W,H){if($i(),ee.delete(g),!N.route.action&&!N.route.lazy){let le=qe(405,{method:H.formMethod,pathname:k,routeId:y});gr(g,y,le,{flushSync:W});return}let F=v.fetchers.get(g);It(g,kv(H,F),{flushSync:W});let I=new AbortController,K=Tr(e.history,k,I.signal,H);re.set(g,I);let Se=D,B=await Rr("action",K,N,z,i,l,u,s.v7_relativeSplatPath);if(K.signal.aborted){re.get(g)===I&&re.delete(g);return}if(s.v7_fetcherPersist&&ke.has(g)){if(yn(B)||Jn(B)){It(g,Ht(void 0));return}}else{if(yn(B))if(re.delete(g),A>Se){It(g,Ht(void 0));return}else return X.add(g),It(g,Lr(H)),vr(v,B,{fetcherSubmission:H});if(Jn(B)){gr(g,y,B.error);return}}if(gn(B))throw qe(400,{type:"defer-action"});let q=v.navigation.location||v.location,Ce=Tr(e.history,q,I.signal),Ze=a||o,we=v.navigation.state!=="idle"?Xn(Ze,v.navigation.location,u):v.matches;V(we,"Didn't find any matches after fetcher action");let jn=++D;$.set(g,jn);let Wi=Lr(H,B.data);v.fetchers.set(g,Wi);let[zn,Ft]=Ws(e.history,v,we,H,q,!1,Je,Dn,zt,ke,ee,X,Ze,u,{[N.route.id]:B.data},void 0);Ft.filter(le=>le.key!==g).forEach(le=>{let mt=le.key,wl=v.fetchers.get(mt),oh=Lr(void 0,wl?wl.data:void 0);v.fetchers.set(mt,oh),re.has(mt)&&Ut(mt),le.controller&&re.set(mt,le.controller)}),We({fetchers:new Map(v.fetchers)});let dn=()=>Ft.forEach(le=>Ut(le.key));I.signal.addEventListener("abort",dn);let{results:Vi,loaderResults:Qi,fetcherResults:Ki}=await xu(v.matches,we,zn,Ft,Ce);if(I.signal.aborted)return;I.signal.removeEventListener("abort",dn),$.delete(g),re.delete(g),Ft.forEach(le=>re.delete(le.key));let On=Js(Vi);if(On){if(On.idx>=zn.length){let le=Ft[On.idx-zn.length].key;X.add(le)}return vr(v,On.result)}let{loaderData:Sl,errors:Z}=Ys(v,v.matches,zn,Qi,void 0,Ft,Ki,it);if(v.fetchers.has(g)){let le=Ht(B.data);v.fetchers.set(g,le)}_u(jn),v.navigation.state==="loading"&&jn>A?(V(P,"Expected pending action"),O&&O.abort(),mr(v.navigation.location,{matches:we,loaderData:Sl,errors:Z,fetchers:new Map(v.fetchers)})):(We({errors:Z,loaderData:Gs(v.loaderData,Sl,we,Z),fetchers:new Map(v.fetchers)}),Je=!1)}async function eh(g,y,k,N,z,W,H){let F=v.fetchers.get(g);It(g,Lr(H,F?F.data:void 0),{flushSync:W});let I=new AbortController,K=Tr(e.history,k,I.signal);re.set(g,I);let Se=D,B=await Rr("loader",K,N,z,i,l,u,s.v7_relativeSplatPath);if(gn(B)&&(B=await jf(B,K.signal,!0)||B),re.get(g)===I&&re.delete(g),!K.signal.aborted){if(ke.has(g)){It(g,Ht(void 0));return}if(yn(B))if(A>Se){It(g,Ht(void 0));return}else{X.add(g),await vr(v,B);return}if(Jn(B)){gr(g,y,B.error);return}V(!gn(B),"Unhandled fetcher deferred data"),It(g,Ht(B.data))}}async function vr(g,y,k){let{submission:N,fetcherSubmission:z,replace:W}=k===void 0?{}:k;y.revalidate&&(Je=!0);let H=ul(g.location,y.location,{_isRedirect:!0});if(V(H,"Expected a location on the redirect navigation"),n){let q=!1;if(y.reloadDocument)q=!0;else if(Lf.test(y.location)){const Ce=e.history.createURL(y.location);q=Ce.origin!==t.location.origin||pr(Ce.pathname,u)==null}if(q){W?t.location.replace(y.location):t.location.assign(y.location);return}}O=null;let F=W===!0?fe.Replace:fe.Push,{formMethod:I,formAction:K,formEncType:Se}=g.navigation;!N&&!z&&I&&K&&Se&&(N=qs(g.navigation));let B=N||z;if(cv.has(y.status)&&B&&st(B.formMethod))await cn(F,H,{submission:oe({},B,{formAction:y.location}),preventScrollReset:M});else{let q=Eo(H,N);await cn(F,H,{overrideNavigation:q,fetcherSubmission:z,preventScrollReset:M})}}async function xu(g,y,k,N,z){let W=await Promise.all([...k.map(I=>Rr("loader",z,I,y,i,l,u,s.v7_relativeSplatPath)),...N.map(I=>I.matches&&I.match&&I.controller?Rr("loader",Tr(e.history,I.path,I.controller.signal),I.match,I.matches,i,l,u,s.v7_relativeSplatPath):{type:ce.error,error:qe(404,{pathname:I.path})})]),H=W.slice(0,k.length),F=W.slice(k.length);return await Promise.all([Zs(g,k,H,H.map(()=>z.signal),!1,v.loaderData),Zs(g,N.map(I=>I.match),F,N.map(I=>I.controller?I.controller.signal:null),!0)]),{results:W,loaderResults:H,fetcherResults:F}}function $i(){Je=!0,Dn.push(...Bi()),ee.forEach((g,y)=>{re.has(y)&&(zt.push(y),Ut(y))})}function It(g,y,k){k===void 0&&(k={}),v.fetchers.set(g,y),We({fetchers:new Map(v.fetchers)},{flushSync:(k&&k.flushSync)===!0})}function gr(g,y,k,N){N===void 0&&(N={});let z=Vr(v.matches,y);gl(g),We({errors:{[z.route.id]:k},fetchers:new Map(v.fetchers)},{flushSync:(N&&N.flushSync)===!0})}function Eu(g){return s.v7_fetcherPersist&&(pt.set(g,(pt.get(g)||0)+1),ke.has(g)&&ke.delete(g)),v.fetchers.get(g)||dv}function gl(g){let y=v.fetchers.get(g);re.has(g)&&!(y&&y.state==="loading"&&$.has(g))&&Ut(g),ee.delete(g),$.delete(g),X.delete(g),ke.delete(g),v.fetchers.delete(g)}function th(g){if(s.v7_fetcherPersist){let y=(pt.get(g)||0)-1;y<=0?(pt.delete(g),ke.add(g)):pt.set(g,y)}else gl(g);We({fetchers:new Map(v.fetchers)})}function Ut(g){let y=re.get(g);V(y,"Expected fetch controller: "+g),y.abort(),re.delete(g)}function ku(g){for(let y of g){let k=Eu(y),N=Ht(k.data);v.fetchers.set(y,N)}}function Cu(){let g=[],y=!1;for(let k of X){let N=v.fetchers.get(k);V(N,"Expected fetcher: "+k),N.state==="loading"&&(X.delete(k),g.push(k),y=!0)}return ku(g),y}function _u(g){let y=[];for(let[k,N]of $)if(N0}function nh(g,y){let k=v.blockers.get(g)||Pr;return je.get(g)!==y&&je.set(g,y),k}function Pu(g){v.blockers.delete(g),je.delete(g)}function yl(g,y){let k=v.blockers.get(g)||Pr;V(k.state==="unblocked"&&y.state==="blocked"||k.state==="blocked"&&y.state==="blocked"||k.state==="blocked"&&y.state==="proceeding"||k.state==="blocked"&&y.state==="unblocked"||k.state==="proceeding"&&y.state==="unblocked","Invalid blocker state transition: "+k.state+" -> "+y.state);let N=new Map(v.blockers);N.set(g,y),We({blockers:N})}function Ru(g){let{currentLocation:y,nextLocation:k,historyAction:N}=g;if(je.size===0)return;je.size>1&&Rn(!1,"A router only supports one blocker at a time");let z=Array.from(je.entries()),[W,H]=z[z.length-1],F=v.blockers.get(W);if(!(F&&F.state==="proceeding")&&H({currentLocation:y,nextLocation:k,historyAction:N}))return W}function Bi(g){let y=[];return it.forEach((k,N)=>{(!g||g(N))&&(k.cancel(),y.push(N),it.delete(N))}),y}function rh(g,y,k){if(m=g,x=y,w=k||null,!S&&v.navigation===xo){S=!0;let N=Lu(v.location,v.matches);N!=null&&We({restoreScrollPosition:N})}return()=>{m=null,x=null,w=null}}function Tu(g,y){return w&&w(g,y.map(N=>Am(N,v.loaderData)))||g.key}function lh(g,y){if(m&&x){let k=Tu(g,y);m[k]=x()}}function Lu(g,y){if(m){let k=Tu(g,y),N=m[k];if(typeof N=="number")return N}return null}function ih(g){i={},a=ga(g,l,void 0,i)}return L={get basename(){return u},get future(){return s},get state(){return v},get routes(){return o},get window(){return t},initialize:Kf,subscribe:Gf,enableScrollRestoration:rh,navigate:wu,fetch:qf,revalidate:Xf,createHref:g=>e.history.createHref(g),encodeLocation:g=>e.history.encodeLocation(g),getFetcher:Eu,deleteFetcher:th,dispose:Yf,getBlocker:nh,deleteBlocker:Pu,_internalFetchControllers:re,_internalActiveDeferreds:it,_internalSetRoutes:ih},L}function pv(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function ya(e,t,n,r,l,i,o,a){let u,s;if(o){u=[];for(let h of t)if(u.push(h),h.route.id===o){s=h;break}}else u=t,s=t[t.length-1];let c=gu(l||".",vu(u,i),pr(e.pathname,n)||e.pathname,a==="path");return l==null&&(c.search=e.search,c.hash=e.hash),(l==null||l===""||l===".")&&s&&s.route.index&&!Su(c.search)&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(c.pathname=c.pathname==="/"?n:Rt([n,c.pathname])),Tn(c)}function Bs(e,t,n,r){if(!r||!pv(r))return{path:n};if(r.formMethod&&!xv(r.formMethod))return{path:n,error:qe(405,{method:r.formMethod})};let l=()=>({path:n,error:qe(400,{type:"invalid-body"})}),i=r.formMethod||"get",o=e?i.toUpperCase():i.toLowerCase(),a=Df(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!st(o))return l();let m=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((w,x)=>{let[S,_]=x;return""+w+S+"="+_+` +`},""):String(r.body);return{path:n,submission:{formMethod:o,formAction:a,formEncType:r.formEncType,formData:void 0,json:void 0,text:m}}}else if(r.formEncType==="application/json"){if(!st(o))return l();try{let m=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:o,formAction:a,formEncType:r.formEncType,formData:void 0,json:m,text:void 0}}}catch{return l()}}}V(typeof FormData=="function","FormData is not available in this environment");let u,s;if(r.formData)u=Sa(r.formData),s=r.formData;else if(r.body instanceof FormData)u=Sa(r.body),s=r.body;else if(r.body instanceof URLSearchParams)u=r.body,s=Ks(u);else if(r.body==null)u=new URLSearchParams,s=new FormData;else try{u=new URLSearchParams(r.body),s=Ks(u)}catch{return l()}let c={formMethod:o,formAction:a,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:s,json:void 0,text:void 0};if(st(c.formMethod))return{path:n,submission:c};let h=jt(n);return t&&h.search&&Su(h.search)&&u.append("index",""),h.search="?"+u,{path:Tn(h),submission:c}}function mv(e,t){let n=e;if(t){let r=e.findIndex(l=>l.route.id===t);r>=0&&(n=e.slice(0,r))}return n}function Ws(e,t,n,r,l,i,o,a,u,s,c,h,m,w,x,S){let _=S?Object.values(S)[0]:x?Object.values(x)[0]:void 0,f=e.createURL(t.location),d=e.createURL(l),p=S?Object.keys(S)[0]:void 0,L=mv(n,p).filter((P,M)=>{let{route:O}=P;if(O.lazy)return!0;if(O.loader==null)return!1;if(i)return O.loader.hydrate?!0:t.loaderData[O.id]===void 0&&(!t.errors||t.errors[O.id]===void 0);if(vv(t.loaderData,t.matches[M],P)||a.some(ve=>ve===P.route.id))return!0;let U=t.matches[M],G=P;return Vs(P,oe({currentUrl:f,currentParams:U.params,nextUrl:d,nextParams:G.params},r,{actionResult:_,defaultShouldRevalidate:o||f.pathname+f.search===d.pathname+d.search||f.search!==d.search||Nf(U,G)}))}),v=[];return c.forEach((P,M)=>{if(i||!n.some(pe=>pe.route.id===P.routeId)||s.has(M))return;let O=Xn(m,P.path,w);if(!O){v.push({key:M,routeId:P.routeId,path:P.path,matches:null,match:null,controller:null});return}let U=t.fetchers.get(M),G=wa(O,P.path),ve=!1;h.has(M)?ve=!1:u.includes(M)?ve=!0:U&&U.state!=="idle"&&U.data===void 0?ve=o:ve=Vs(G,oe({currentUrl:f,currentParams:t.matches[t.matches.length-1].params,nextUrl:d,nextParams:n[n.length-1].params},r,{actionResult:_,defaultShouldRevalidate:o})),ve&&v.push({key:M,routeId:P.routeId,path:P.path,matches:O,match:G,controller:new AbortController})}),[L,v]}function vv(e,t,n){let r=!t||n.route.id!==t.route.id,l=e[n.route.id]===void 0;return r||l}function Nf(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Vs(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function Qs(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let l=n[e.id];V(l,"No route found in manifest");let i={};for(let o in r){let u=l[o]!==void 0&&o!=="hasErrorBoundary";Rn(!u,'Route "'+l.id+'" has a static property "'+o+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+o+'" will be ignored.')),!u&&!Um.has(o)&&(i[o]=r[o])}Object.assign(l,i),Object.assign(l,oe({},t(l),{lazy:void 0}))}async function Rr(e,t,n,r,l,i,o,a,u){u===void 0&&(u={});let s,c,h,m=S=>{let _,f=new Promise((d,p)=>_=p);return h=()=>_(),t.signal.addEventListener("abort",h),Promise.race([S({request:t,params:n.params,context:u.requestContext}),f])};try{let S=n.route[e];if(n.route.lazy)if(S){let _,f=await Promise.all([m(S).catch(d=>{_=d}),Qs(n.route,i,l)]);if(_)throw _;c=f[0]}else if(await Qs(n.route,i,l),S=n.route[e],S)c=await m(S);else if(e==="action"){let _=new URL(t.url),f=_.pathname+_.search;throw qe(405,{method:t.method,pathname:f,routeId:n.route.id})}else return{type:ce.data,data:void 0};else if(S)c=await m(S);else{let _=new URL(t.url),f=_.pathname+_.search;throw qe(404,{pathname:f})}V(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(S){s=ce.error,c=S}finally{h&&t.signal.removeEventListener("abort",h)}if(wv(c)){let S=c.status;if(sv.has(S)){let f=c.headers.get("Location");if(V(f,"Redirects returned/thrown from loaders/actions must have a Location header"),!Lf.test(f))f=ya(new URL(t.url),r.slice(0,r.indexOf(n)+1),o,!0,f,a);else if(!u.isStaticRequest){let d=new URL(t.url),p=f.startsWith("//")?new URL(d.protocol+f):new URL(f),E=pr(p.pathname,o)!=null;p.origin===d.origin&&E&&(f=p.pathname+p.search+p.hash)}if(u.isStaticRequest)throw c.headers.set("Location",f),c;return{type:ce.redirect,status:S,location:f,revalidate:c.headers.get("X-Remix-Revalidate")!==null,reloadDocument:c.headers.get("X-Remix-Reload-Document")!==null}}if(u.isRouteRequest)throw{type:s===ce.error?ce.error:ce.data,response:c};let _;try{let f=c.headers.get("Content-Type");f&&/\bapplication\/json\b/.test(f)?c.body==null?_=null:_=await c.json():_=await c.text()}catch(f){return{type:ce.error,error:f}}return s===ce.error?{type:s,error:new yu(S,c.statusText,_),headers:c.headers}:{type:ce.data,data:_,statusCode:c.status,headers:c.headers}}if(s===ce.error)return{type:s,error:c};if(Sv(c)){var w,x;return{type:ce.deferred,deferredData:c,statusCode:(w=c.init)==null?void 0:w.status,headers:((x=c.init)==null?void 0:x.headers)&&new Headers(c.init.headers)}}return{type:ce.data,data:c}}function Tr(e,t,n,r){let l=e.createURL(Df(t)).toString(),i={signal:n};if(r&&st(r.formMethod)){let{formMethod:o,formEncType:a}=r;i.method=o.toUpperCase(),a==="application/json"?(i.headers=new Headers({"Content-Type":a}),i.body=JSON.stringify(r.json)):a==="text/plain"?i.body=r.text:a==="application/x-www-form-urlencoded"&&r.formData?i.body=Sa(r.formData):i.body=r.formData}return new Request(l,i)}function Sa(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r=="string"?r:r.name);return t}function Ks(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function gv(e,t,n,r,l){let i={},o=null,a,u=!1,s={};return n.forEach((c,h)=>{let m=t[h].route.id;if(V(!yn(c),"Cannot handle redirect results in processLoaderData"),Jn(c)){let w=Vr(e,m),x=c.error;r&&(x=Object.values(r)[0],r=void 0),o=o||{},o[w.route.id]==null&&(o[w.route.id]=x),i[m]=void 0,u||(u=!0,a=Rf(c.error)?c.error.status:500),c.headers&&(s[m]=c.headers)}else gn(c)?(l.set(m,c.deferredData),i[m]=c.deferredData.data):i[m]=c.data,c.statusCode!=null&&c.statusCode!==200&&!u&&(a=c.statusCode),c.headers&&(s[m]=c.headers)}),r&&(o=r,i[Object.keys(r)[0]]=void 0),{loaderData:i,errors:o,statusCode:a||200,loaderHeaders:s}}function Ys(e,t,n,r,l,i,o,a){let{loaderData:u,errors:s}=gv(t,n,r,l,a);for(let c=0;cr.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function Xs(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 qe(e,t){let{pathname:n,routeId:r,method:l,type:i}=t===void 0?{}:t,o="Unknown Server Error",a="Unknown @remix-run/router error";return e===400?(o="Bad Request",l&&n&&r?a="You made a "+l+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":i==="defer-action"?a="defer() is not supported in actions":i==="invalid-body"&&(a="Unable to encode submission body")):e===403?(o="Forbidden",a='Route "'+r+'" does not match URL "'+n+'"'):e===404?(o="Not Found",a='No route matches URL "'+n+'"'):e===405&&(o="Method Not Allowed",l&&n&&r?a="You made a "+l.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":l&&(a='Invalid request method "'+l.toUpperCase()+'"')),new yu(e||500,o,new Error(a),!0)}function Js(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(yn(n))return{result:n,idx:t}}}function Df(e){let t=typeof e=="string"?jt(e):e;return Tn(oe({},t,{hash:""}))}function yv(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function gn(e){return e.type===ce.deferred}function Jn(e){return e.type===ce.error}function yn(e){return(e&&e.type)===ce.redirect}function Sv(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 wv(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function xv(e){return uv.has(e.toLowerCase())}function st(e){return ov.has(e.toLowerCase())}async function Zs(e,t,n,r,l,i){for(let o=0;oh.route.id===u.route.id),c=s!=null&&!Nf(s,u)&&(i&&i[u.route.id])!==void 0;if(gn(a)&&(l||c)){let h=r[o];V(h,"Expected an AbortSignal for revalidating fetcher deferred result"),await jf(a,h,l).then(m=>{m&&(n[o]=m||n[o])})}}}async function jf(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:ce.data,data:e.deferredData.unwrappedData}}catch(l){return{type:ce.error,error:l}}return{type:ce.data,data:e.deferredData.data}}}function Su(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function wa(e,t){let n=typeof t=="string"?jt(t).search:t.search;if(e[e.length-1].route.index&&Su(n||""))return e[e.length-1];let r=Pf(e);return r[r.length-1]}function qs(e){let{formMethod:t,formAction:n,formEncType:r,text:l,formData:i,json:o}=e;if(!(!t||!n||!r)){if(l!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:l};if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:i,json:void 0,text:void 0};if(o!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:o,text:void 0}}}function Eo(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 Ev(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 Lr(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 kv(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 Ht(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 Cv(e,t){try{let n=e.sessionStorage.getItem(Mf);if(n){let r=JSON.parse(n);for(let[l,i]of Object.entries(r||{}))i&&Array.isArray(i)&&t.set(l,new Set(i||[]))}}catch{}}function _v(e,t){if(t.size>0){let n={};for(let[r,l]of t)n[r]=[...l];try{e.sessionStorage.setItem(Mf,JSON.stringify(n))}catch(r){Rn(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/** + * React Router v6.21.2 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function sl(){return sl=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),C.useCallback(function(s,c){if(c===void 0&&(c={}),!a.current)return;if(typeof s=="number"){r.go(s);return}let h=gu(s,JSON.parse(o),i,c.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:Rt([t,h.pathname])),(c.replace?r.replace:r.push)(h,c.state,c)},[t,r,o,i,e])}const Lv=C.createContext(null);function Mv(e){let t=C.useContext(sn).outlet;return t&&C.createElement(Lv.Provider,{value:e},t)}function Uf(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=C.useContext(Nn),{matches:l}=C.useContext(sn),{pathname:i}=Hi(),o=JSON.stringify(vu(l,r.v7_relativeSplatPath));return C.useMemo(()=>gu(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function Nv(e,t,n,r){vl()||V(!1);let{navigator:l}=C.useContext(Nn),{matches:i}=C.useContext(sn),o=i[i.length-1],a=o?o.params:{};o&&o.pathname;let u=o?o.pathnameBase:"/";o&&o.route;let s=Hi(),c;if(t){var h;let _=typeof t=="string"?jt(t):t;u==="/"||(h=_.pathname)!=null&&h.startsWith(u)||V(!1),c=_}else c=s;let m=c.pathname||"/",w=u==="/"?m:m.slice(u.length)||"/",x=Xn(e,{pathname:w}),S=Iv(x&&x.map(_=>Object.assign({},_,{params:Object.assign({},a,_.params),pathname:Rt([u,l.encodeLocation?l.encodeLocation(_.pathname).pathname:_.pathname]),pathnameBase:_.pathnameBase==="/"?u:Rt([u,l.encodeLocation?l.encodeLocation(_.pathnameBase).pathname:_.pathnameBase])})),i,n,r);return t&&S?C.createElement(Ai.Provider,{value:{location:sl({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:fe.Pop}},S):S}function Dv(){let e=Hv(),t=Rf(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},i=null;return C.createElement(C.Fragment,null,C.createElement("h2",null,"Unexpected Application Error!"),C.createElement("h3",{style:{fontStyle:"italic"}},t),n?C.createElement("pre",{style:l},n):null,i)}const jv=C.createElement(Dv,null);class zv extends C.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?C.createElement(sn.Provider,{value:this.props.routeContext},C.createElement(Of.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Ov(e){let{routeContext:t,match:n,children:r}=e,l=C.useContext(Fi);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),C.createElement(sn.Provider,{value:t},r)}function Iv(e,t,n,r){var l;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if((i=n)!=null&&i.errors)e=n.matches;else return null}let o=e,a=(l=n)==null?void 0:l.errors;if(a!=null){let c=o.findIndex(h=>h.route.id&&(a==null?void 0:a[h.route.id]));c>=0||V(!1),o=o.slice(0,Math.min(o.length,c+1))}let u=!1,s=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c=0?o=o.slice(0,s+1):o=[o[0]];break}}}return o.reduceRight((c,h,m)=>{let w,x=!1,S=null,_=null;n&&(w=a&&h.route.id?a[h.route.id]:void 0,S=h.route.errorElement||jv,u&&(s<0&&m===0?(Bv("route-fallback",!1),x=!0,_=null):s===m&&(x=!0,_=h.route.hydrateFallbackElement||null)));let f=t.concat(o.slice(0,m+1)),d=()=>{let p;return w?p=S:x?p=_:h.route.Component?p=C.createElement(h.route.Component,null):h.route.element?p=h.route.element:p=c,C.createElement(Ov,{match:h,routeContext:{outlet:c,matches:f,isDataRoute:n!=null},children:p})};return n&&(h.route.ErrorBoundary||h.route.errorElement||m===0)?C.createElement(zv,{location:n.location,revalidation:n.revalidation,component:S,error:w,children:d(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):d()},null)}var Ff=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Ff||{}),wi=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}(wi||{});function Uv(e){let t=C.useContext(Fi);return t||V(!1),t}function Fv(e){let t=C.useContext(zf);return t||V(!1),t}function Av(e){let t=C.useContext(sn);return t||V(!1),t}function Af(e){let t=Av(),n=t.matches[t.matches.length-1];return n.route.id||V(!1),n.route.id}function Hv(){var e;let t=C.useContext(Of),n=Fv(wi.UseRouteError),r=Af(wi.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function $v(){let{router:e}=Uv(Ff.UseNavigateStable),t=Af(wi.UseNavigateStable),n=C.useRef(!1);return If(()=>{n.current=!0}),C.useCallback(function(l,i){i===void 0&&(i={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,sl({fromRouteId:t},i)))},[e,t])}const bs={};function Bv(e,t,n){!t&&!bs[e]&&(bs[e]=!0)}function Wv(e){return Mv(e.context)}function Vv(e){let{basename:t="/",children:n=null,location:r,navigationType:l=fe.Pop,navigator:i,static:o=!1,future:a}=e;vl()&&V(!1);let u=t.replace(/^\/*/,"/"),s=C.useMemo(()=>({basename:u,navigator:i,static:o,future:sl({v7_relativeSplatPath:!1},a)}),[u,a,i,o]);typeof r=="string"&&(r=jt(r));let{pathname:c="/",search:h="",hash:m="",state:w=null,key:x="default"}=r,S=C.useMemo(()=>{let _=pr(c,u);return _==null?null:{location:{pathname:_,search:h,hash:m,state:w,key:x},navigationType:l}},[u,c,h,m,w,x,l]);return S==null?null:C.createElement(Nn.Provider,{value:s},C.createElement(Ai.Provider,{children:n,value:S}))}new Promise(()=>{});function Qv(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:C.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:C.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:C.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** + * React Router DOM v6.21.2 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function cl(){return cl=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[l]=e[l]);return n}function Yv(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Gv(e,t){return e.button===0&&(!t||t==="_self")&&!Yv(e)}const Xv=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"];function Jv(e,t){return hv({basename:t==null?void 0:t.basename,future:cl({},t==null?void 0:t.future,{v7_prependBasename:!0}),history:zm({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||Zv(),routes:e,mapRouteProperties:Qv,window:t==null?void 0:t.window}).initialize()}function Zv(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=cl({},t,{errors:qv(t.errors)})),t}function qv(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,l]of t)if(l&&l.__type==="RouteErrorResponse")n[r]=new yu(l.status,l.statusText,l.data,l.internal===!0);else if(l&&l.__type==="Error"){if(l.__subType){let i=window[l.__subType];if(typeof i=="function")try{let o=new i(l.message);o.stack="",n[r]=o}catch{}}if(n[r]==null){let i=new Error(l.message);i.stack="",n[r]=i}}else n[r]=l;return n}const bv=C.createContext({isTransitioning:!1}),e0=C.createContext(new Map),t0="startTransition",ec=Eh[t0],n0="flushSync",tc=jm[n0];function r0(e){ec?ec(e):e()}function Mr(e){tc?tc(e):e()}class l0{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 i0(e){let{fallbackElement:t,router:n,future:r}=e,[l,i]=C.useState(n.state),[o,a]=C.useState(),[u,s]=C.useState({isTransitioning:!1}),[c,h]=C.useState(),[m,w]=C.useState(),[x,S]=C.useState(),_=C.useRef(new Map),{v7_startTransition:f}=r||{},d=C.useCallback(P=>{f?r0(P):P()},[f]),p=C.useCallback((P,M)=>{let{deletedFetchers:O,unstable_flushSync:U,unstable_viewTransitionOpts:G}=M;O.forEach(pe=>_.current.delete(pe)),P.fetchers.forEach((pe,Je)=>{pe.data!==void 0&&_.current.set(Je,pe.data)});let ve=n.window==null||typeof n.window.document.startViewTransition!="function";if(!G||ve){U?Mr(()=>i(P)):d(()=>i(P));return}if(U){Mr(()=>{m&&(c&&c.resolve(),m.skipTransition()),s({isTransitioning:!0,flushSync:!0,currentLocation:G.currentLocation,nextLocation:G.nextLocation})});let pe=n.window.document.startViewTransition(()=>{Mr(()=>i(P))});pe.finished.finally(()=>{Mr(()=>{h(void 0),w(void 0),a(void 0),s({isTransitioning:!1})})}),Mr(()=>w(pe));return}m?(c&&c.resolve(),m.skipTransition(),S({state:P,currentLocation:G.currentLocation,nextLocation:G.nextLocation})):(a(P),s({isTransitioning:!0,flushSync:!1,currentLocation:G.currentLocation,nextLocation:G.nextLocation}))},[n.window,m,c,_,d]);C.useLayoutEffect(()=>n.subscribe(p),[n,p]),C.useEffect(()=>{u.isTransitioning&&!u.flushSync&&h(new l0)},[u]),C.useEffect(()=>{if(c&&o&&n.window){let P=o,M=c.promise,O=n.window.document.startViewTransition(async()=>{d(()=>i(P)),await M});O.finished.finally(()=>{h(void 0),w(void 0),a(void 0),s({isTransitioning:!1})}),w(O)}},[d,o,c,n.window]),C.useEffect(()=>{c&&o&&l.location.key===o.location.key&&c.resolve()},[c,m,l.location,o]),C.useEffect(()=>{!u.isTransitioning&&x&&(a(x.state),s({isTransitioning:!0,flushSync:!1,currentLocation:x.currentLocation,nextLocation:x.nextLocation}),S(void 0))},[u.isTransitioning,x]),C.useEffect(()=>{},[]);let E=C.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:P=>n.navigate(P),push:(P,M,O)=>n.navigate(P,{state:M,preventScrollReset:O==null?void 0:O.preventScrollReset}),replace:(P,M,O)=>n.navigate(P,{replace:!0,state:M,preventScrollReset:O==null?void 0:O.preventScrollReset})}),[n]),L=n.basename||"/",v=C.useMemo(()=>({router:n,navigator:E,static:!1,basename:L}),[n,E,L]);return C.createElement(C.Fragment,null,C.createElement(Fi.Provider,{value:v},C.createElement(zf.Provider,{value:l},C.createElement(e0.Provider,{value:_.current},C.createElement(bv.Provider,{value:u},C.createElement(Vv,{basename:L,location:l.location,navigationType:l.historyAction,navigator:E,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},l.initialized||n.future.v7_partialHydration?C.createElement(o0,{routes:n.routes,future:n.future,state:l}):t))))),null)}function o0(e){let{routes:t,future:n,state:r}=e;return Nv(t,void 0,r,n)}const a0=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",u0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,s0=C.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:i,replace:o,state:a,target:u,to:s,preventScrollReset:c,unstable_viewTransition:h}=t,m=Kv(t,Xv),{basename:w}=C.useContext(Nn),x,S=!1;if(typeof s=="string"&&u0.test(s)&&(x=s,a0))try{let p=new URL(window.location.href),E=s.startsWith("//")?new URL(p.protocol+s):new URL(s),L=pr(E.pathname,w);E.origin===p.origin&&L!=null?s=L+E.search+E.hash:S=!0}catch{}let _=Pv(s,{relative:l}),f=c0(s,{replace:o,state:a,target:u,preventScrollReset:c,relative:l,unstable_viewTransition:h});function d(p){r&&r(p),p.defaultPrevented||f(p)}return C.createElement("a",cl({},m,{href:x||_,onClick:S||i?r:d,ref:n,target:u}))});var nc;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(nc||(nc={}));var rc;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(rc||(rc={}));function c0(e,t){let{target:n,replace:r,state:l,preventScrollReset:i,relative:o,unstable_viewTransition:a}=t===void 0?{}:t,u=Rv(),s=Hi(),c=Uf(e,{relative:o});return C.useCallback(h=>{if(Gv(h,n)){h.preventDefault();let m=r!==void 0?r:Tn(s)===Tn(c);u(e,{replace:m,state:l,preventScrollReset:i,relative:o,unstable_viewTransition:a})}},[s,u,c,r,l,n,e,i,o,a])}const Hf=e=>C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:100,height:100,viewBox:"0 0 100 100",xmlSpace:"preserve",...e},C.createElement("defs",null),C.createElement("g",{transform:"matrix(6.4 0 0 6.4 50.4 50.1)"},C.createElement("path",{style:{stroke:"none",strokeWidth:.2281,strokeDasharray:"none",strokeLinecap:"butt",strokeDashoffset:0,strokeLinejoin:"miter",strokeMiterlimit:4,fill:"inherit",fillRule:"nonzero",opacity:1},transform:" translate(-11.55, -13.23)",d:"m 9.9919 5.9866 c -0.70167 0.15599 -1.3955 0.37323 -2.0462 0.70078 c 0.014881 0.57462 0.052107 1.1252 0.12741 1.6845 c -0.25272 0.16191 -0.51864 0.30096 -0.75469 0.4905 c -0.23984 0.18451 -0.4845 0.36114 -0.70167 0.57693 c -0.43386 -0.28697 -0.8933 -0.55673 -1.3664 -0.79478 c -0.50993 0.54878 -0.98668 1.141 -1.3762 1.8039 c 0.3061 0.48048 0.63463 0.96347 0.93868 1.3401 v 4.0679 l -0.00446 0.53817 c 0.00103 0.24101 0.00446 0.50476 0.00446 0.55733 c 0 2.3684 3.0042 3.5069 6.7369 3.5199 h 0.009 c 3.7327 -0.01309 6.7361 -1.1516 6.7361 -3.5199 c 0 -0.05354 0.0033 -0.31618 0.0045 -0.55733 l -0.0045 -0.53817 v -0.32477 l 0.0013 -0.000445 v -3.7427 c 0.35118 -0.44209 0.68346 -0.9298 0.93824 -1.3401 c -0.38944 -0.66281 -0.8663 -1.2551 -1.3762 -1.8039 c -0.47293 0.23805 -0.93251 0.50782 -1.3664 0.79478 c -0.2171 -0.21579 -0.46149 -0.39242 -0.70167 -0.57693 c -0.23598 -0.18954 -0.502 -0.32859 -0.75424 -0.4905 c 0.075099 -0.55926 0.11246 -1.1098 0.12741 -1.6845 c -0.65082 -0.32755 -1.3451 -0.54479 -2.0471 -0.70078 c -0.28028 0.47107 -0.53635 0.98128 -0.75959 1.48 c -0.26471 -0.044233 -0.53071 -0.060538 -0.79701 -0.063707 v -0.0004455 c -0.0019 0 -0.0038 0.0004455 -0.0053 0.0004455 c -0.0016 0 -0.0033 -0.0004455 -0.0049 -0.0004455 v 0.0004455 c -0.26678 0.00317 -0.53268 0.019473 -0.79746 0.063707 c -0.22313 -0.49869 -0.47938 -1.0089 -0.76008 -1.48 z",strokeLinecap:"round"}))),$f=({color:e})=>(e||(e="primary"),T.jsxs("div",{className:["navbar__navbar",e].join(" "),children:[T.jsx("div",{className:"navbar__logoWrapper",children:T.jsx(Hf,{style:{fill:"var(--primary-text)"}})}),T.jsxs("div",{className:"navbar__spaceWrapper",children:[T.jsx("h3",{children:"Godot Indonesia"}),T.jsxs("div",{className:"navbar__linksWrapper",children:[T.jsx("a",{href:"#profil",children:"Profil"}),T.jsx("a",{href:"https://itch.io/jams/hosted-by-hanzceo",children:"Kompetisi"}),T.jsx(s0,{to:"/gallery",children:"Galeri"}),T.jsx("button",{onClick:()=>window.open("https://t.me/godot_indonesia","_blank"),children:"Gabung"})]})]})]}));function xt({imgsrc:e,title:t,desc:n}){return T.jsxs("li",{className:"gallery__item",children:[T.jsx("img",{src:e}),T.jsxs("div",{className:"gallery__item__overlay",children:[T.jsx("b",{children:t}),T.jsx("p",{children:n})]})]})}function d0(){return T.jsxs("div",{className:"gallery__gallery",children:[T.jsx($f,{color:"secondary"}),T.jsxs("div",{className:"gallery__content",children:[T.jsxs("div",{className:"gallery__hero",children:[T.jsx("h1",{children:"Galeri Komunitas"}),T.jsx("p",{children:"Karya, kegiatan, dan penghargaan"})]}),T.jsxs("ul",{className:"gallery__masonry",children:[T.jsx(xt,{imgsrc:"https://picsum.photos/600/400",title:"My Game",desc:"A very great game with many developmental breakthrough"}),T.jsx(xt,{imgsrc:"https://picsum.photos/800/400",title:"My Game",desc:"A very great game with many developmental breakthrough"}),T.jsx(xt,{imgsrc:"https://picsum.photos/600/600",title:"My Game",desc:"A very great game with many developmental breakthrough"}),T.jsx(xt,{imgsrc:"https://picsum.photos/700/400",title:"My Game",desc:"A very great game with many developmental breakthrough"}),T.jsx(xt,{imgsrc:"https://picsum.photos/400/600",title:"My Game",desc:"A very great game with many developmental breakthrough"}),T.jsx(xt,{imgsrc:"https://picsum.photos/500/600",title:"My Game",desc:"A very great game with many developmental breakthrough"}),T.jsx(xt,{imgsrc:"https://picsum.photos/800/600",title:"My Game",desc:"A very great game with many developmental breakthrough"}),T.jsx(xt,{imgsrc:"https://picsum.photos/900/600",title:"My Game",desc:"A very great game with many developmental breakthrough"}),T.jsx(xt,{imgsrc:"https://picsum.photos/800/680",title:"My Game",desc:"A very great game with many developmental breakthrough"})]})]})]})}const f0=Object.freeze(Object.defineProperty({__proto__:null,default:d0},Symbol.toStringTag,{value:"Module"}));/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */function h0(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,r=Object.getOwnPropertySymbols(e);lthis.power&&(this.newEvent=!0),this.power=r}controlOngoingEvent(t,n){this.isMaxPower(t,n),(this.newEvent||this.hash===0)&&(this.hash=Date.now(),this.hasReachedMaxPower=!1,this.newEvent=!1),this.timer&&clearTimeout(this.timer),this.timer=setTimeout(()=>{this.hasReachedMaxPower&&(this.hasReachedMaxPower=!1,this.power=0,this.hash=0)},this.scrollControlFrequency)}get id(){return this.hash||0}}class m0 extends Bf{controlOngoingEvent(){this.hash===0&&this.setId(),this.timer&&clearTimeout(this.timer),this.timer=setTimeout(()=>{this.hash=0},this.scrollControlFrequency)}get id(){return this.hash||0}}class v0{static fireScroll({currentChildIndex:t,childs:n,pagesContainer:r,direction:l,onScrollEnd:i,animationDuration:o}){let a=0,u="offsetHeight",s="translateY";l===nn.horizontal&&(s="translateX",u="offsetWidth");for(let c=0;c{i()},o),this}}class g0{constructor(t,n,r){this.wheelScrollEvent=new p0,this.touchScrollEvent=new m0,this.lasHandledEventId=0,this.skippedFirstTouchs=0,this.lastTouchMouve=null,this.container=t,this.scrollUIState=n,this.scrollManager=r,this.bindedShouldHandleWheelScroll=this.shouldHandleWheelScrollEvent.bind(this),this.bindedShouldHandleTouchScroll=this.shouldHandleTouchScrollEvent.bind(this),this.bindedHandleResize=this.handleResize.bind(this)}reinitializeScrollState(){this.scrollUIState.scrollState={YDirection:"stationary",XDirection:"stationary"},this.lastTouchMouve=null,this.skippedFirstTouchs=0}handleResize(){let t=0,n="offsetHeight",r="translateY";this.UIScrollStateCopy.direction===nn.horizontal&&(r="translateX",n="offsetWidth");for(let l=0;li?l>1&&(t.deltaY>0?n="down":n="up"):i>1&&(t.deltaX>0?r="left":r="right"),this.scrollUIState.scrollState={XDirection:r,YDirection:n},this.scrollUIState.scrollState}captureOngoingTouchScrollState(t){const{currentChildIndex:n,childs:r}=this.scrollUIState;let l="stationary",i="stationary";const a=n==0||n==r.length-1?4:1;if(this.skippedFirstTouchs>a)if(this.lastTouchMouve){const{screenY:u,screenX:s}=t.changedTouches[0],c=u-this.lastTouchMouve.screenY,h=s-this.lastTouchMouve.screenX,m=Math.abs(c)>Math.abs(h),w=0;m?c>w?l="up":c<-w&&(l="down"):h>w?i="right":h<-w&&(i="left")}else this.lastTouchMouve=t.changedTouches[0];else this.skippedFirstTouchs++;return this.scrollUIState.scrollState={XDirection:i,YDirection:l},this.scrollUIState.scrollState}setNextChild(){const{currentChildIndex:t,childs:n,scrollState:r}=this.scrollUIState;return this.scrollUIState.direction===nn.vertical&&r.YDirection!=="stationary"?r.YDirection==="down"?t0?(this.scrollUIState.currentChildIndex--,!0):!1:this.scrollUIState.direction===nn.horizontal&&r.XDirection!=="stationary"?r.XDirection==="left"?t0?(this.scrollUIState.currentChildIndex--,!0):!1:!1}onScrollEnd(){this.lastTouchMouve=null,this.scrollManager.shouldCedeControlToChld(this.scrollUIState)?this.disable():(this.reinitializeScrollState(),this.enableScroll());const{onScrollEnd:n,currentChildIndex:r}=this.scrollUIState;n&&n({currentIndex:r})}shouldHandleWheelScrollEvent(t){t.preventDefault(),t.stopPropagation(),this.captureOngoingWheelScrollState(t),this.wheelScrollEvent.controlOngoingEvent(t,this.scrollUIState.scrollState),this.wheelScrollEvent.id>this.lasHandledEventId&&(this.lasHandledEventId=this.wheelScrollEvent.id,this.handleScroll())}shouldHandleTouchScrollEvent(t){t.preventDefault(),t.stopPropagation(),this.captureOngoingTouchScrollState(t),this.touchScrollEvent.controlOngoingEvent();const{YDirection:n,XDirection:r}=this.scrollUIState.scrollState,l=n!=="stationary"||r!=="stationary";this.touchScrollEvent.id>this.lasHandledEventId&&l&&(this.lasHandledEventId=this.touchScrollEvent.id,this.handleScroll())}handleScroll(){this.blockScroll(),this.setNextChild()?this.scroll():(!this.UIScrollStateCopy.isRoot&&this.scrollManager.shouldCedeControlToParent(this.UIScrollStateCopy)?this.disable():this.enableScroll(),this.reinitializeScrollState())}initializeScroll(){this.scrollUIState.pagesContainer&&(this.scrollUIState.pagesContainer.style.overflow="visible")}setScrollState(t){const{currentChildIndex:n}=this.scrollUIState,{direction:r}=this.scrollUIState;let l="stationary",i="stationary";const o=r==="vertical";return n>t?o?l="up":i="left":o?l="down":i="right",this.scrollUIState.scrollState={XDirection:i,YDirection:l},this.scrollUIState.scrollState}scrollTo(t){return this.setScrollState(t),this.scrollUIState.currentChildIndex=t,this.blockScroll(),this.scroll()}scroll(){const{onScrollStart:t,childs:n,currentChildIndex:r,animationDuration:l,direction:i,pagesContainer:o}=this.scrollUIState;t&&t({targetIndex:r}),v0.fireScroll({childs:n,currentChildIndex:r,animationDuration:l,direction:i,pagesContainer:o,onScrollEnd:this.onScrollEnd.bind(this)})}init(t){const{onScrollInit:n,scrollEnabled:r,currentChildIndex:l,childs:i}=this.scrollUIState;this.initializeScroll(),r&&this.attachScrollListener();for(let o=0;o=0;r--){const{scrollState:{reachedEndOfDocument:l,direction:i},hash:o}=this.scrollStack.item(r),a=this.getScrollMove(t);if(!(l&&i===a)){let u="";for(let m=this.scrollStack.length-1;m>r;m--)u=((n=this.scrollStack.pop())===null||n===void 0?void 0:n.hash)||"",this.scrollHandlersMap[u].disable();const{onScrollCommandCede:s,pagesContainer:c,currentChildIndex:h}=this.scrollHandlersMap[u].UIScrollStateCopy;return c.parentElement&&s&&s({lastChildIndex:h}),this.initializeScrollHandler(this.scrollHandlersMap[o]),!0}}return!1}initializeScrollHandler(t){t.init(this.scrollControl)}get activeScrollHandler(){return this.scrollHandlersMap[this.scrollStack.current.hash]}shouldCedeControlToChld({childs:t,currentChildIndex:n}){const r=t[n].dataset.reactScroller;return r?this.transferControlToChild(r):!1}shouldCedeControlToParent({childs:t,currentChildIndex:n,scrollState:r}){return this.shouldParentResumeScrolling(r)||this.hasReachedEndOfDocument(n,t,r)?this.transferControlToParent(r):!1}subscribe(t,n){var r;const l=new g0(t,n,this),{currentChildIndex:i,childs:o,scrollState:a,isRoot:u}=n;if(u)this.scrollHandlersMap.root=l,this.scrollStack.push({hash:"root",scrollState:{reachedEndOfDocument:this.hasReachedEndOfDocument(i,o,a),direction:this.getScrollMove(a)}}),this.initializeScrollHandler(l);else{const s="nested-"+(Object.keys(this.scrollHandlersMap).length+1);this.scrollHandlersMap[s]=l,((r=l.container)===null||r===void 0?void 0:r.parentElement).setAttribute("data-react-scroller",s)}return l}}new Wf;const Vf=C.createContext({scrollManager:null,scrollContext:!0});function w0(){return C.useContext(Vf)}const x0={currentChildIndex:0,scrollState:{YDirection:"stationary",XDirection:"stationary"},childs:[],pagesContainer:null,direction:nn.vertical,scrollEnabled:!1,animationDuration:400,isRoot:!1};function E0({children:e,scrollEnabled:t=!1,animationDuration:n=400,animationEasing:r="cubic-bezier(0.76, 0, 0.24, 1)",direction:l=nn.vertical,isRoot:i=!1,width:o="100vw",height:a="100vh",onScrollStart:u=()=>{},onScrollInit:s=()=>{},onScrollCommandCede:c=()=>{},onScrollEnd:h=()=>{}}){const m=C.useRef(Object.assign(Object.assign({},x0),{direction:l,scrollEnabled:t,animationDuration:n,isRoot:i,onScrollStart:u,onScrollEnd:h,onScrollInit:s,onScrollCommandCede:c})),w=C.useRef(null),x=C.useRef(!1),{scrollManager:S,scrollContext:_}=w0();if(C.useEffect(()=>{if(S&&!x.current){const f=w.current;let d=m.current;if(f){const E=f.childNodes[0],v=E.childNodes;d=Object.assign(Object.assign({},d),{pagesContainer:E,childs:v}),S.subscribe(w.current,d),x.current=!0}}},[S,i]),!_&&!i)throw new Error("Only use inside ");return Sn.createElement("div",{style:{width:o,height:a,overflow:"hidden",position:"relative"}},Sn.createElement("div",{ref:w,style:{width:"100%",height:"100%",overflow:"hidden",position:"absolute"}},Sn.createElement("div",{style:{transition:`transform ${n}ms ${r}`},className:(l==="vertical"?"flex-col":"flex")+" scroll-container"},e)))}function k0(e){var{children:t}=e,n=h0(e,["children"]);const[r,l]=C.useState(null);return C.useEffect(()=>{r||l(new Wf)},[r]),Sn.createElement(Vf.Provider,{value:{scrollManager:r,scrollContext:!0}},Sn.createElement(E0,Object.assign({},n,{scrollEnabled:!0,isRoot:!0}),t))}var C0={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const _0=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Qf=(e,t)=>{const n=C.forwardRef(({color:r="currentColor",size:l=24,strokeWidth:i=2,absoluteStrokeWidth:o,children:a,...u},s)=>C.createElement("svg",{ref:s,...C0,width:l,height:l,stroke:r,strokeWidth:o?Number(i)*24/Number(l):i,className:`lucide lucide-${_0(e)}`,...u},[...t.map(([c,h])=>C.createElement(c,h)),...(Array.isArray(a)?a:[a])||[]]));return n.displayName=`${e}`,n},lc=Qf("Mouse",[["rect",{x:"5",y:"2",width:"14",height:"20",rx:"7",key:"11ol66"}],["path",{d:"M12 6v4",key:"16clxf"}]]),ic=Qf("MoveDown",[["path",{d:"M8 18L12 22L16 18",key:"cskvfv"}],["path",{d:"M12 2V22",key:"r89rzk"}]]);const P0=({progress:e})=>T.jsxs("div",{className:"sidebar__wrapper",children:[T.jsxs("div",{className:"sidebar__mouse",children:[T.jsx(ic,{}),T.jsx(lc,{})]}),T.jsxs("div",{className:"sidebar__progress",style:{height:e},children:[T.jsxs("div",{className:"sidebar__mouse",style:{color:"var(--secondary-text)"},children:[T.jsx(ic,{}),T.jsx(lc,{})]}),T.jsx("div",{className:"navbar__logoWrapper",style:{fill:"var(--secondary-text)"},children:T.jsx(Hf,{})})]})]});const R0=()=>T.jsxs("div",{className:"hero__hero",children:[T.jsxs("h1",{className:"hero__headline",children:["Komunitas Developer Game",T.jsx("br",{}),"Engine Godot #1 di Indonesia"]}),T.jsxs("p",{children:["Bergabung bersama lebih dari 300 godotters dan",T.jsx("br",{}),"ikuti berbagai event menarik!"]}),T.jsxs("p",{className:"hero__disclaimer",children:["Godot Indonesia is ",T.jsx("a",{href:"https://godotengine.org/community/user-groups/",children:"the unofficial national community"})," forum for Indonesia.",T.jsx("br",{}),"Godot Engine is courtesy of ",T.jsx("a",{href:"https://godotengine.org",children:"Godot Core Team"}),"."]})]});const T0=()=>T.jsxs("div",{className:"visimisi__main",children:[T.jsx("h2",{className:"visimisi__header",children:"Visi"}),T.jsxs("p",{className:"visimisi__text",children:["Menjadi pembimbing budaya penggunaan dan pembuatan",T.jsx("br",{}),"media hiburan virtual bagi generasi muda Indonesia",T.jsx("br",{}),"khususnya untuk perangkat lunak 'Godot Engine'."]})]}),L0=()=>T.jsxs("div",{className:"visimisi__main",children:[T.jsx("h2",{className:"visimisi__header",children:"Misi"}),T.jsx("ul",{className:"visimisi__text",children:T.jsxs("li",{children:[T.jsx("b",{children:"Generasi muda proaktif"}),T.jsxs("p",{children:["Pengadaan peran dan peluang bagi generasi muda Indonesia",T.jsx("br",{}),"melalui program perlombaan dan sukarelawan."]})]})})]});const M0="/assets/godot_indonesia-9f909dc5.jpg",N0=()=>T.jsxs("div",{className:"profil__main",children:[T.jsxs("div",{className:"profil__left",children:[T.jsx("h2",{className:"profil__header",children:"Profil Godot Indonesia"}),T.jsx("p",{className:"profil__text",children:"Berawal dari bulan Januari tahun 2021 sebagai sebuah group Telegram biasa. Kemudian pada bulan Maret 2021 menjadi komunitas yang memiliki komitmen untuk memajukan generasi muda bangsa Indonesia pada dunia teknik informasi."}),T.jsx("p",{className:"profil__text",children:"Komunitas Godot Indonesia mendukung kreatifitas anak muda Indonesia dengan menyediakan perlombaan, forum diskusi, dan berbagai kesempatan berkontribusi lainnya."})]}),T.jsx("div",{className:"profil__right",children:T.jsx("img",{className:"profil__right__image",src:M0})})]}),oc=["hero","visi","misi","profil"],D0=()=>{let[e,t]=C.useState("0%");function n({targetIndex:i}){t(Math.ceil(i/3*100)+"%")}let r;function l({scrollControl:i}){if(r=i.scrollTo.bind(i),window.location.hash.substr(1)){let o=window.location.hash.substr(1);o[0]=="/"?iv(o):r(oc.indexOf(window.location.hash.substr(1)))}window.addEventListener("hashchange",()=>{r(oc.indexOf(window.location.hash.substr(1)))})}return T.jsxs("div",{className:"homepage__homepage",children:[T.jsx($f,{}),T.jsxs("div",{className:"homepage__content",children:[T.jsx(P0,{progress:e}),T.jsxs(k0,{className:"homepage__main",onScrollStart:n,onScrollInit:l,children:[T.jsx(R0,{}),T.jsx(T0,{}),T.jsx(L0,{}),T.jsx(N0,{})]})]})]})},j0=Object.freeze(Object.defineProperty({__proto__:null,default:D0},Symbol.toStringTag,{value:"Module"}));var Wt={route:[/^.*\/src\/pages\/|\.(jsx|tsx|mdx)$/g,""],splat:[/\[\.{3}\w+\]/g,"*"],param:[/\[([^\]]+)\]/g,":$1"],slash:[/^index$|\./g,"/"],optional:[/^-(:?[\w-]+|\*)/,"$1?"]},z0=e=>Object.keys(e).reduce((t,n)=>{const r=n.replace(...Wt.route);return{...t,[r]:e[n]}},{}),O0=(e,t)=>Object.keys(e).filter(r=>!r.includes("/_")||/_layout\.(jsx|tsx)$/.test(r)).reduce((r,l)=>{const i=e[l],o={id:l.replace(...Wt.route),...t(i,l)},a=l.replace(...Wt.route).replace(...Wt.splat).replace(...Wt.param).split("/").filter(Boolean);return a.reduce((u,s,c)=>{var d;const h=s.replace(...Wt.slash).replace(...Wt.optional),m=c===0,w=c===a.length-1&&a.length>1,x=!m&&!w,S=s==="_layout",_=/\([\w-]+\)/.test(h),f=/^\w|\//.test(h)?"unshift":"push";if(m&&a.length===1)return r.push({path:h,...o}),u;if(m||x){const p=m?r:u.children,E=p==null?void 0:p.find(v=>{var P;return v.path===h||((P=v.id)==null?void 0:P.replace("/_layout","").endsWith(h))}),L=_?o!=null&&o.component?{id:h,path:"/"}:{id:h}:{path:h};return E?E.children??(E.children=[]):p==null||p[f]({...L,children:[]}),E||(p==null?void 0:p[f==="unshift"?0:p.length-1])}return S?Object.assign(u,o):(w&&((d=u==null?void 0:u.children)==null||d[f](o!=null&&o.index?o:{path:h,...o})),u)},{}),r},[]),I0=e=>Object.keys(e).reduce((t,n)=>{var l;const r=n.replace(...Wt.route).replace(/\+|\([\w-]+\)\//g,"").replace(/(\/)?index/g,"").replace(/\./g,"/");return{...t,[`/${r}`]:(l=e[n])==null?void 0:l.default}},{}),U0=Object.assign({}),F0=Object.assign({}),A0=Object.assign({"/src/pages/gallery.jsx":f0,"/src/pages/index.jsx":j0}),rr=z0(U0);I0(F0);var H0=O0(A0,(e,t)=>{const n=/index\.(jsx|tsx|mdx)$/.test(t)&&!t.includes("pages/index")?{index:!0}:{},r=(e==null?void 0:e.default)||C.Fragment;return{...n,Component:()=>e!=null&&e.Pending?T.jsx(C.Suspense,{fallback:T.jsx(e.Pending,{}),children:T.jsx(r,{})}):T.jsx(r,{}),ErrorBoundary:e==null?void 0:e.Catch,loader:e==null?void 0:e.Loader,action:e==null?void 0:e.Action}}),Me=rr==null?void 0:rr._app,ko=rr==null?void 0:rr["404"],ac=(Me==null?void 0:Me.default)||C.Fragment,$0=()=>Me!=null&&Me.Pending?T.jsx(C.Suspense,{fallback:T.jsx(Me.Pending,{}),children:T.jsx(ac,{})}):T.jsx(ac,{}),B0={Component:Me!=null&&Me.default?$0:Wv,ErrorBoundary:Me==null?void 0:Me.Catch,loader:Me==null?void 0:Me.Loader},W0={path:"*",Component:(ko==null?void 0:ko.default)||C.Fragment},V0=[{...B0,children:[...H0,W0]}],Q0=()=>T.jsx(i0,{router:Jv(V0)});const K0=Co.createRoot(document.getElementById("root"));K0.render(T.jsx(Sn.StrictMode,{children:T.jsx(Q0,{})})); diff --git a/index.html b/index.html index 77faff7..4b3679e 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ - +