diff --git a/assets/index-C6HEdX59.js b/assets/index-B81xO90V.js similarity index 88% rename from assets/index-C6HEdX59.js rename to assets/index-B81xO90V.js index c95aa92..56ddc5b 100644 --- a/assets/index-C6HEdX59.js +++ b/assets/index-B81xO90V.js @@ -21,7 +21,7 @@ function Sd(e,t){for(var n=0;n=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Wd={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Jh=!1,em=/[A-Z]|^ms/g,tm=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Qd=function(t){return t.charCodeAt(1)===45},Oc=function(t){return t!=null&&typeof t!="boolean"},va=is(function(e){return Qd(e)?e:e.replace(em,"-$&").toLowerCase()}),Nc=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(tm,function(r,i,o){return Ht={name:i,styles:o,next:Ht},i})}return Wd[t]!==1&&!Qd(t)&&typeof n=="number"&&n!==0?n+"px":n},nm="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Mi(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var i=n;if(i.anim===1)return Ht={name:i.name,styles:i.styles,next:Ht},i.name;var o=n;if(o.styles!==void 0){var l=o.next;if(l!==void 0)for(;l!==void 0;)Ht={name:l.name,styles:l.styles,next:Ht},l=l.next;var a=o.styles+";";return a}return rm(e,t,n)}case"function":{if(e!==void 0){var u=Ht,s=n(e);return Ht=u,Mi(e,t,s)}break}}var f=n;return f}function rm(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Wd={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Jh=!1,em=/[A-Z]|^ms/g,tm=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Qd=function(t){return t.charCodeAt(1)===45},Oc=function(t){return t!=null&&typeof t!="boolean"},va=is(function(e){return Qd(e)?e:e.replace(em,"-$&").toLowerCase()}),Nc=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(tm,function(r,i,o){return Ht={name:i,styles:o,next:Ht},i})}return Wd[t]!==1&&!Qd(t)&&typeof n=="number"&&n!==0?n+"px":n},nm="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Mi(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var i=n;if(i.anim===1)return Ht={name:i.name,styles:i.styles,next:Ht},i.name;var o=n;if(o.styles!==void 0){var l=o.next;if(l!==void 0)for(;l!==void 0;)Ht={name:l.name,styles:l.styles,next:Ht},l=l.next;var a=o.styles+";";return a}return rm(e,t,n)}case"function":{if(e!==void 0){var u=Ht,s=n(e);return Ht=u,Mi(e,t,s)}break}}var f=n;return f}function rm(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i>>1,ce=I[ue];if(0>>1;uei(qt,W))Fei(St,qt)?(I[ue]=St,I[Fe]=W,ue=Fe):(I[ue]=qt,I[nt]=W,ue=nt);else if(Fei(St,W))I[ue]=St,I[Fe]=W,ue=Fe;else break e}}return F}function i(I,F){var W=I.sortIndex-F.sortIndex;return W!==0?W:I.id-F.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,a=l.now();e.unstable_now=function(){return l.now()-a}}var u=[],s=[],f=1,c=null,h=3,y=!1,E=!1,x=!1,P=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g(I){for(var F=n(s);F!==null;){if(F.callback===null)r(s);else if(F.startTime<=I)r(s),F.sortIndex=F.expirationTime,t(u,F);else break;F=n(s)}}function T(I){if(x=!1,g(I),!E)if(n(u)!==null)E=!0,_t(R);else{var F=n(s);F!==null&&dn(T,F.startTime-I)}}function R(I,F){E=!1,x&&(x=!1,m(w),w=-1),y=!0;var W=h;try{for(g(F),c=n(u);c!==null&&(!(c.expirationTime>F)||I&&!q());){var ue=c.callback;if(typeof ue=="function"){c.callback=null,h=c.priorityLevel;var ce=ue(c.expirationTime<=F);F=e.unstable_now(),typeof ce=="function"?c.callback=ce:c===n(u)&&r(u),g(F)}else r(u);c=n(u)}if(c!==null)var tt=!0;else{var nt=n(s);nt!==null&&dn(T,nt.startTime-F),tt=!1}return tt}finally{c=null,h=W,y=!1}}var O=!1,L=null,w=-1,j=5,A=-1;function q(){return!(e.unstable_now()-AI||125ue?(I.sortIndex=W,t(s,I),n(u)===null&&I===n(s)&&(x?(m(w),w=-1):x=!0,dn(T,W-ue))):(I.sortIndex=ce,t(u,I),E||y||(E=!0,_t(R))),I},e.unstable_shouldYield=q,e.unstable_wrapCallback=function(I){var F=h;return function(){var W=h;h=F;try{return I.apply(this,arguments)}finally{h=W}}}})(e0);Jd.exports=e0;var um=Jd.exports;/** + */(function(e){function t(I,F){var W=I.length;I.push(F);e:for(;0>>1,ce=I[ue];if(0>>1;uei(qt,W))Fei(St,qt)?(I[ue]=St,I[Fe]=W,ue=Fe):(I[ue]=qt,I[nt]=W,ue=nt);else if(Fei(St,W))I[ue]=St,I[Fe]=W,ue=Fe;else break e}}return F}function i(I,F){var W=I.sortIndex-F.sortIndex;return W!==0?W:I.id-F.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,a=l.now();e.unstable_now=function(){return l.now()-a}}var u=[],s=[],f=1,c=null,h=3,y=!1,E=!1,x=!1,P=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g(I){for(var F=n(s);F!==null;){if(F.callback===null)r(s);else if(F.startTime<=I)r(s),F.sortIndex=F.expirationTime,t(u,F);else break;F=n(s)}}function T(I){if(x=!1,g(I),!E)if(n(u)!==null)E=!0,_t(R);else{var F=n(s);F!==null&&dn(T,F.startTime-I)}}function R(I,F){E=!1,x&&(x=!1,m(w),w=-1),y=!0;var W=h;try{for(g(F),c=n(u);c!==null&&(!(c.expirationTime>F)||I&&!q());){var ue=c.callback;if(typeof ue=="function"){c.callback=null,h=c.priorityLevel;var ce=ue(c.expirationTime<=F);F=e.unstable_now(),typeof ce=="function"?c.callback=ce:c===n(u)&&r(u),g(F)}else r(u);c=n(u)}if(c!==null)var tt=!0;else{var nt=n(s);nt!==null&&dn(T,nt.startTime-F),tt=!1}return tt}finally{c=null,h=W,y=!1}}var O=!1,L=null,w=-1,U=5,A=-1;function q(){return!(e.unstable_now()-AI||125ue?(I.sortIndex=W,t(s,I),n(u)===null&&I===n(s)&&(x?(m(w),w=-1):x=!0,dn(T,W-ue))):(I.sortIndex=ce,t(u,I),E||y||(E=!0,_t(R))),I},e.unstable_shouldYield=q,e.unstable_wrapCallback=function(I){var F=h;return function(){var W=h;h=F;try{return I.apply(this,arguments)}finally{h=W}}}})(e0);Jd.exports=e0;var um=Jd.exports;/** * @license React * react-dom.production.min.js * @@ -42,7 +42,7 @@ function Sd(e,t){for(var n=0;na||i[l]!==o[a]){var u=` `+i[l].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=l&&0<=a);break}}}finally{ya=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?pi(e):""}function hm(e){switch(e.tag){case 5:return pi(e.type);case 16:return pi("Lazy");case 13:return pi("Suspense");case 19:return pi("SuspenseList");case 0:case 2:case 15:return e=wa(e.type,!1),e;case 11:return e=wa(e.type.render,!1),e;case 1:return e=wa(e.type,!0),e;default:return""}}function iu(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 hr:return"Fragment";case pr:return"Portal";case tu:return"Profiler";case vs:return"StrictMode";case nu:return"Suspense";case ru:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case r0:return(e.displayName||"Context")+".Consumer";case n0:return(e._context.displayName||"Context")+".Provider";case gs:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ys:return t=e.displayName||null,t!==null?t:iu(e.type)||"Memo";case yn:t=e._payload,e=e._init;try{return iu(e(t))}catch{}}return null}function mm(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 iu(t);case 8:return t===vs?"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 An(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function o0(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function vm(e){var t=o0(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(l){r=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function xo(e){e._valueTracker||(e._valueTracker=vm(e))}function l0(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=o0(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function il(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 ou(e,t){var n=t.checked;return Se({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function jc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=An(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 a0(e,t){t=t.checked,t!=null&&ms(e,"checked",t,!1)}function lu(e,t){a0(e,t);var n=An(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")?au(e,t.type,n):t.hasOwnProperty("defaultValue")&&au(e,t.type,An(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Uc(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 au(e,t,n){(t!=="number"||il(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var hi=Array.isArray;function Rr(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Eo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ni(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var yi={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},gm=["Webkit","ms","Moz","O"];Object.keys(yi).forEach(function(e){gm.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),yi[t]=yi[e]})});function f0(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||yi.hasOwnProperty(e)&&yi[e]?(""+t).trim():t+"px"}function d0(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=f0(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var ym=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 cu(e,t){if(t){if(ym[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(M(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(M(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(M(61))}if(t.style!=null&&typeof t.style!="object")throw Error(M(62))}}function fu(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 du=null;function ws(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var pu=null,Lr=null,Mr=null;function Bc(e){if(e=io(e)){if(typeof pu!="function")throw Error(M(280));var t=e.stateNode;t&&(t=Jl(t),pu(e.stateNode,e.type,t))}}function p0(e){Lr?Mr?Mr.push(e):Mr=[e]:Lr=e}function h0(){if(Lr){var e=Lr,t=Mr;if(Mr=Lr=null,Bc(e),t)for(e=0;e>>=0,e===0?32:31-(Lm(e)/Mm|0)|0}var Co=64,To=4194304;function mi(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 ul(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,l=n&268435455;if(l!==0){var a=l&~i;a!==0?r=mi(a):(o&=l,o!==0&&(r=mi(o)))}else l=n&~i,l!==0?r=mi(l):o!==0&&(r=mi(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function no(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-It(t),e[t]=n}function Im(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=Si),Zc=" ",Xc=!1;function I0(e,t){switch(e){case"keyup":return uv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function D0(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var mr=!1;function cv(e,t){switch(e){case"compositionend":return D0(t);case"keypress":return t.which!==32?null:(Xc=!0,Zc);case"textInput":return e=t.data,e===Zc&&Xc?null:e;default:return null}}function fv(e,t){if(mr)return e==="compositionend"||!_s&&I0(e,t)?(e=N0(),Wo=Ts=En=null,mr=!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=nf(n)}}function U0(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?U0(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function $0(){for(var e=window,t=il();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=il(e.document)}return t}function Rs(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 Sv(e){var t=$0(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&U0(n.ownerDocument.documentElement,n)){if(r!==null&&Rs(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=rf(n,o);var l=rf(n,r);i&&l&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,vr=null,wu=null,Ei=null,Su=!1;function of(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Su||vr==null||vr!==il(r)||(r=vr,"selectionStart"in r&&Rs(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}),Ei&&ji(Ei,r)||(Ei=r,r=fl(wu,"onSelect"),0wr||(e.current=Pu[wr],Pu[wr]=null,wr--)}function se(e,t){wr++,Pu[wr]=e.current,e.current=t}var In={},Qe=zn(In),lt=zn(!1),Jn=In;function Fr(e,t){var n=e.type.contextTypes;if(!n)return In;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function at(e){return e=e.childContextTypes,e!=null}function pl(){pe(lt),pe(Qe)}function df(e,t,n){if(Qe.current!==In)throw Error(M(168));se(Qe,t),se(lt,n)}function G0(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(M(108,mm(e)||"Unknown",i));return Se({},n,r)}function hl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||In,Jn=Qe.current,se(Qe,e),se(lt,lt.current),!0}function pf(e,t,n){var r=e.stateNode;if(!r)throw Error(M(169));n?(e=G0(e,t,Jn),r.__reactInternalMemoizedMergedChildContext=e,pe(lt),pe(Qe),se(Qe,e)):pe(lt),se(lt,n)}var en=null,ea=!1,Aa=!1;function K0(e){en===null?en=[e]:en.push(e)}function Nv(e){ea=!0,K0(e)}function Fn(){if(!Aa&&en!==null){Aa=!0;var e=0,t=ie;try{var n=en;for(ie=1;e>=l,i-=l,tn=1<<32-It(t)+i|n<w?(j=L,L=null):j=L.sibling;var A=h(m,L,g[w],T);if(A===null){L===null&&(L=j);break}e&&L&&A.alternate===null&&t(m,L),p=o(A,p,w),O===null?R=A:O.sibling=A,O=A,L=j}if(w===g.length)return n(m,L),ve&&bn(m,w),R;if(L===null){for(;ww?(j=L,L=null):j=L.sibling;var q=h(m,L,A.value,T);if(q===null){L===null&&(L=j);break}e&&L&&q.alternate===null&&t(m,L),p=o(q,p,w),O===null?R=q:O.sibling=q,O=q,L=j}if(A.done)return n(m,L),ve&&bn(m,w),R;if(L===null){for(;!A.done;w++,A=g.next())A=c(m,A.value,T),A!==null&&(p=o(A,p,w),O===null?R=A:O.sibling=A,O=A);return ve&&bn(m,w),R}for(L=r(m,L);!A.done;w++,A=g.next())A=y(L,m,w,A.value,T),A!==null&&(e&&A.alternate!==null&&L.delete(A.key===null?w:A.key),p=o(A,p,w),O===null?R=A:O.sibling=A,O=A);return e&&L.forEach(function(ae){return t(m,ae)}),ve&&bn(m,w),R}function P(m,p,g,T){if(typeof g=="object"&&g!==null&&g.type===hr&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case So:e:{for(var R=g.key,O=p;O!==null;){if(O.key===R){if(R=g.type,R===hr){if(O.tag===7){n(m,O.sibling),p=i(O,g.props.children),p.return=m,m=p;break e}}else if(O.elementType===R||typeof R=="object"&&R!==null&&R.$$typeof===yn&&vf(R)===O.type){n(m,O.sibling),p=i(O,g.props),p.ref=oi(m,O,g),p.return=m,m=p;break e}n(m,O);break}else t(m,O);O=O.sibling}g.type===hr?(p=Zn(g.props.children,m.mode,T,g.key),p.return=m,m=p):(T=Jo(g.type,g.key,g.props,null,m.mode,T),T.ref=oi(m,p,g),T.return=m,m=T)}return l(m);case pr:e:{for(O=g.key;p!==null;){if(p.key===O)if(p.tag===4&&p.stateNode.containerInfo===g.containerInfo&&p.stateNode.implementation===g.implementation){n(m,p.sibling),p=i(p,g.children||[]),p.return=m,m=p;break e}else{n(m,p);break}else t(m,p);p=p.sibling}p=Ha(g,m.mode,T),p.return=m,m=p}return l(m);case yn:return O=g._init,P(m,p,O(g._payload),T)}if(hi(g))return E(m,p,g,T);if(ei(g))return x(m,p,g,T);Oo(m,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,p!==null&&p.tag===6?(n(m,p.sibling),p=i(p,g),p.return=m,m=p):(n(m,p),p=$a(g,m.mode,T),p.return=m,m=p),l(m)):n(m,p)}return P}var Ur=e1(!0),t1=e1(!1),gl=zn(null),yl=null,Er=null,Ns=null;function As(){Ns=Er=yl=null}function Is(e){var t=gl.current;pe(gl),e._currentValue=t}function Lu(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Nr(e,t){yl=e,Ns=Er=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ot=!0),e.firstContext=null)}function kt(e){var t=e._currentValue;if(Ns!==e)if(e={context:e,memoizedValue:t,next:null},Er===null){if(yl===null)throw Error(M(308));Er=e,yl.dependencies={lanes:0,firstContext:e}}else Er=Er.next=e;return t}var qn=null;function Ds(e){qn===null?qn=[e]:qn.push(e)}function n1(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Ds(t)):(n.next=i.next,i.next=n),t.interleaved=n,un(e,r)}function un(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var wn=!1;function zs(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function r1(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function rn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ln(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,J&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,un(e,n)}return i=r.interleaved,i===null?(t.next=t,Ds(r)):(t.next=i.next,i.next=t),r.interleaved=t,un(e,n)}function qo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,xs(e,n)}}function gf(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=l:o=o.next=l,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function wl(e,t,n,r){var i=e.updateQueue;wn=!1;var o=i.firstBaseUpdate,l=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var u=a,s=u.next;u.next=null,l===null?o=s:l.next=s,l=u;var f=e.alternate;f!==null&&(f=f.updateQueue,a=f.lastBaseUpdate,a!==l&&(a===null?f.firstBaseUpdate=s:a.next=s,f.lastBaseUpdate=u))}if(o!==null){var c=i.baseState;l=0,f=s=u=null,a=o;do{var h=a.lane,y=a.eventTime;if((r&h)===h){f!==null&&(f=f.next={eventTime:y,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var E=e,x=a;switch(h=t,y=n,x.tag){case 1:if(E=x.payload,typeof E=="function"){c=E.call(y,c,h);break e}c=E;break e;case 3:E.flags=E.flags&-65537|128;case 0:if(E=x.payload,h=typeof E=="function"?E.call(y,c,h):E,h==null)break e;c=Se({},c,h);break e;case 2:wn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,h=i.effects,h===null?i.effects=[a]:h.push(a))}else y={eventTime:y,lane:h,tag:a.tag,payload:a.payload,callback:a.callback,next:null},f===null?(s=f=y,u=c):f=f.next=y,l|=h;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;h=a,a=h.next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}while(!0);if(f===null&&(u=c),i.baseState=u,i.firstBaseUpdate=s,i.lastBaseUpdate=f,t=i.shared.interleaved,t!==null){i=t;do l|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);nr|=l,e.lanes=l,e.memoizedState=c}}function yf(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Da.transition;Da.transition={};try{e(!1),t()}finally{ie=n,Da.transition=r}}function S1(){return Pt().memoizedState}function zv(e,t,n){var r=On(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},x1(e))E1(t,n);else if(n=n1(e,t,n,r),n!==null){var i=Xe();Dt(n,e,r,i),C1(n,t,r)}}function Fv(e,t,n){var r=On(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(x1(e))E1(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,a=o(l,n);if(i.hasEagerState=!0,i.eagerState=a,zt(a,l)){var u=t.interleaved;u===null?(i.next=i,Ds(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}n=n1(e,t,i,r),n!==null&&(i=Xe(),Dt(n,e,r,i),C1(n,t,r))}}function x1(e){var t=e.alternate;return e===we||t!==null&&t===we}function E1(e,t){Ci=xl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function C1(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,xs(e,n)}}var El={readContext:kt,useCallback:Be,useContext:Be,useEffect:Be,useImperativeHandle:Be,useInsertionEffect:Be,useLayoutEffect:Be,useMemo:Be,useReducer:Be,useRef:Be,useState:Be,useDebugValue:Be,useDeferredValue:Be,useTransition:Be,useMutableSource:Be,useSyncExternalStore:Be,useId:Be,unstable_isNewReconciler:!1},jv={readContext:kt,useCallback:function(e,t){return Ut().memoizedState=[e,t===void 0?null:t],e},useContext:kt,useEffect:Sf,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Go(4194308,4,m1.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Go(4194308,4,e,t)},useInsertionEffect:function(e,t){return Go(4,2,e,t)},useMemo:function(e,t){var n=Ut();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ut();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=zv.bind(null,we,e),[r.memoizedState,e]},useRef:function(e){var t=Ut();return e={current:e},t.memoizedState=e},useState:wf,useDebugValue:Vs,useDeferredValue:function(e){return Ut().memoizedState=e},useTransition:function(){var e=wf(!1),t=e[0];return e=Dv.bind(null,e[1]),Ut().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=we,i=Ut();if(ve){if(n===void 0)throw Error(M(407));n=n()}else{if(n=t(),De===null)throw Error(M(349));tr&30||a1(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Sf(s1.bind(null,r,o,e),[e]),r.flags|=2048,Qi(9,u1.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Ut(),t=De.identifierPrefix;if(ve){var n=nn,r=tn;n=(r&~(1<<32-It(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Vi++,0wr||(e.current=Pu[wr],Pu[wr]=null,wr--)}function se(e,t){wr++,Pu[wr]=e.current,e.current=t}var In={},Qe=zn(In),lt=zn(!1),Jn=In;function Fr(e,t){var n=e.type.contextTypes;if(!n)return In;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function at(e){return e=e.childContextTypes,e!=null}function pl(){pe(lt),pe(Qe)}function df(e,t,n){if(Qe.current!==In)throw Error(M(168));se(Qe,t),se(lt,n)}function G0(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(M(108,mm(e)||"Unknown",i));return Se({},n,r)}function hl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||In,Jn=Qe.current,se(Qe,e),se(lt,lt.current),!0}function pf(e,t,n){var r=e.stateNode;if(!r)throw Error(M(169));n?(e=G0(e,t,Jn),r.__reactInternalMemoizedMergedChildContext=e,pe(lt),pe(Qe),se(Qe,e)):pe(lt),se(lt,n)}var en=null,ea=!1,Aa=!1;function K0(e){en===null?en=[e]:en.push(e)}function Nv(e){ea=!0,K0(e)}function Fn(){if(!Aa&&en!==null){Aa=!0;var e=0,t=ie;try{var n=en;for(ie=1;e>=l,i-=l,tn=1<<32-It(t)+i|n<w?(U=L,L=null):U=L.sibling;var A=h(m,L,g[w],T);if(A===null){L===null&&(L=U);break}e&&L&&A.alternate===null&&t(m,L),p=o(A,p,w),O===null?R=A:O.sibling=A,O=A,L=U}if(w===g.length)return n(m,L),ve&&bn(m,w),R;if(L===null){for(;ww?(U=L,L=null):U=L.sibling;var q=h(m,L,A.value,T);if(q===null){L===null&&(L=U);break}e&&L&&q.alternate===null&&t(m,L),p=o(q,p,w),O===null?R=q:O.sibling=q,O=q,L=U}if(A.done)return n(m,L),ve&&bn(m,w),R;if(L===null){for(;!A.done;w++,A=g.next())A=c(m,A.value,T),A!==null&&(p=o(A,p,w),O===null?R=A:O.sibling=A,O=A);return ve&&bn(m,w),R}for(L=r(m,L);!A.done;w++,A=g.next())A=y(L,m,w,A.value,T),A!==null&&(e&&A.alternate!==null&&L.delete(A.key===null?w:A.key),p=o(A,p,w),O===null?R=A:O.sibling=A,O=A);return e&&L.forEach(function(ae){return t(m,ae)}),ve&&bn(m,w),R}function P(m,p,g,T){if(typeof g=="object"&&g!==null&&g.type===hr&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case So:e:{for(var R=g.key,O=p;O!==null;){if(O.key===R){if(R=g.type,R===hr){if(O.tag===7){n(m,O.sibling),p=i(O,g.props.children),p.return=m,m=p;break e}}else if(O.elementType===R||typeof R=="object"&&R!==null&&R.$$typeof===yn&&vf(R)===O.type){n(m,O.sibling),p=i(O,g.props),p.ref=oi(m,O,g),p.return=m,m=p;break e}n(m,O);break}else t(m,O);O=O.sibling}g.type===hr?(p=Zn(g.props.children,m.mode,T,g.key),p.return=m,m=p):(T=Jo(g.type,g.key,g.props,null,m.mode,T),T.ref=oi(m,p,g),T.return=m,m=T)}return l(m);case pr:e:{for(O=g.key;p!==null;){if(p.key===O)if(p.tag===4&&p.stateNode.containerInfo===g.containerInfo&&p.stateNode.implementation===g.implementation){n(m,p.sibling),p=i(p,g.children||[]),p.return=m,m=p;break e}else{n(m,p);break}else t(m,p);p=p.sibling}p=Ha(g,m.mode,T),p.return=m,m=p}return l(m);case yn:return O=g._init,P(m,p,O(g._payload),T)}if(hi(g))return E(m,p,g,T);if(ei(g))return x(m,p,g,T);Oo(m,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,p!==null&&p.tag===6?(n(m,p.sibling),p=i(p,g),p.return=m,m=p):(n(m,p),p=$a(g,m.mode,T),p.return=m,m=p),l(m)):n(m,p)}return P}var Ur=e1(!0),t1=e1(!1),gl=zn(null),yl=null,Er=null,Ns=null;function As(){Ns=Er=yl=null}function Is(e){var t=gl.current;pe(gl),e._currentValue=t}function Lu(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Nr(e,t){yl=e,Ns=Er=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ot=!0),e.firstContext=null)}function kt(e){var t=e._currentValue;if(Ns!==e)if(e={context:e,memoizedValue:t,next:null},Er===null){if(yl===null)throw Error(M(308));Er=e,yl.dependencies={lanes:0,firstContext:e}}else Er=Er.next=e;return t}var qn=null;function Ds(e){qn===null?qn=[e]:qn.push(e)}function n1(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Ds(t)):(n.next=i.next,i.next=n),t.interleaved=n,un(e,r)}function un(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var wn=!1;function zs(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function r1(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function rn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ln(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,J&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,un(e,n)}return i=r.interleaved,i===null?(t.next=t,Ds(r)):(t.next=i.next,i.next=t),r.interleaved=t,un(e,n)}function qo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,xs(e,n)}}function gf(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=l:o=o.next=l,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function wl(e,t,n,r){var i=e.updateQueue;wn=!1;var o=i.firstBaseUpdate,l=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var u=a,s=u.next;u.next=null,l===null?o=s:l.next=s,l=u;var f=e.alternate;f!==null&&(f=f.updateQueue,a=f.lastBaseUpdate,a!==l&&(a===null?f.firstBaseUpdate=s:a.next=s,f.lastBaseUpdate=u))}if(o!==null){var c=i.baseState;l=0,f=s=u=null,a=o;do{var h=a.lane,y=a.eventTime;if((r&h)===h){f!==null&&(f=f.next={eventTime:y,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var E=e,x=a;switch(h=t,y=n,x.tag){case 1:if(E=x.payload,typeof E=="function"){c=E.call(y,c,h);break e}c=E;break e;case 3:E.flags=E.flags&-65537|128;case 0:if(E=x.payload,h=typeof E=="function"?E.call(y,c,h):E,h==null)break e;c=Se({},c,h);break e;case 2:wn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,h=i.effects,h===null?i.effects=[a]:h.push(a))}else y={eventTime:y,lane:h,tag:a.tag,payload:a.payload,callback:a.callback,next:null},f===null?(s=f=y,u=c):f=f.next=y,l|=h;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;h=a,a=h.next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}while(!0);if(f===null&&(u=c),i.baseState=u,i.firstBaseUpdate=s,i.lastBaseUpdate=f,t=i.shared.interleaved,t!==null){i=t;do l|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);nr|=l,e.lanes=l,e.memoizedState=c}}function yf(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Da.transition;Da.transition={};try{e(!1),t()}finally{ie=n,Da.transition=r}}function S1(){return Pt().memoizedState}function zv(e,t,n){var r=On(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},x1(e))E1(t,n);else if(n=n1(e,t,n,r),n!==null){var i=Xe();Dt(n,e,r,i),C1(n,t,r)}}function Fv(e,t,n){var r=On(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(x1(e))E1(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,a=o(l,n);if(i.hasEagerState=!0,i.eagerState=a,zt(a,l)){var u=t.interleaved;u===null?(i.next=i,Ds(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}n=n1(e,t,i,r),n!==null&&(i=Xe(),Dt(n,e,r,i),C1(n,t,r))}}function x1(e){var t=e.alternate;return e===we||t!==null&&t===we}function E1(e,t){Ci=xl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function C1(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,xs(e,n)}}var El={readContext:kt,useCallback:Be,useContext:Be,useEffect:Be,useImperativeHandle:Be,useInsertionEffect:Be,useLayoutEffect:Be,useMemo:Be,useReducer:Be,useRef:Be,useState:Be,useDebugValue:Be,useDeferredValue:Be,useTransition:Be,useMutableSource:Be,useSyncExternalStore:Be,useId:Be,unstable_isNewReconciler:!1},jv={readContext:kt,useCallback:function(e,t){return Ut().memoizedState=[e,t===void 0?null:t],e},useContext:kt,useEffect:Sf,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Go(4194308,4,m1.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Go(4194308,4,e,t)},useInsertionEffect:function(e,t){return Go(4,2,e,t)},useMemo:function(e,t){var n=Ut();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ut();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=zv.bind(null,we,e),[r.memoizedState,e]},useRef:function(e){var t=Ut();return e={current:e},t.memoizedState=e},useState:wf,useDebugValue:Vs,useDeferredValue:function(e){return Ut().memoizedState=e},useTransition:function(){var e=wf(!1),t=e[0];return e=Dv.bind(null,e[1]),Ut().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=we,i=Ut();if(ve){if(n===void 0)throw Error(M(407));n=n()}else{if(n=t(),De===null)throw Error(M(349));tr&30||a1(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Sf(s1.bind(null,r,o,e),[e]),r.flags|=2048,Qi(9,u1.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Ut(),t=De.identifierPrefix;if(ve){var n=nn,r=tn;n=(r&~(1<<32-It(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Vi++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[bt]=t,e[Hi]=r,A1(e,t,!1,!1),t.stateNode=e;e:{switch(l=fu(n,r),n){case"dialog":de("cancel",e),de("close",e),i=r;break;case"iframe":case"object":case"embed":de("load",e),i=r;break;case"video":case"audio":for(i=0;iBr&&(t.flags|=128,r=!0,li(o,!1),t.lanes=4194304)}else{if(!r)if(e=Sl(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),li(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!ve)return be(t),null}else 2*ke()-o.renderingStartTime>Br&&n!==1073741824&&(t.flags|=128,r=!0,li(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(n=o.last,n!==null?n.sibling=l:t.child=l,o.last=l)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=ke(),t.sibling=null,n=ye.current,se(ye,r?n&1|2:n&1),t):(be(t),null);case 22:case 23:return Ks(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ft&1073741824&&(be(t),t.subtreeFlags&6&&(t.flags|=8192)):be(t),null;case 24:return null;case 25:return null}throw Error(M(156,t.tag))}function Qv(e,t){switch(Ms(t),t.tag){case 1:return at(t.type)&&pl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return $r(),pe(lt),pe(Qe),Us(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return js(t),null;case 13:if(pe(ye),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));jr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return pe(ye),null;case 4:return $r(),null;case 10:return Is(t.type._context),null;case 22:case 23:return Ks(),null;case 24:return null;default:return null}}var Ao=!1,We=!1,qv=typeof WeakSet=="function"?WeakSet:Set,z=null;function Cr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Te(e,t,r)}else n.current=null}function ju(e,t,n){try{n()}catch(r){Te(e,t,r)}}var Of=!1;function Yv(e,t){if(xu=sl,e=$0(),Rs(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var l=0,a=-1,u=-1,s=0,f=0,c=e,h=null;t:for(;;){for(var y;c!==n||i!==0&&c.nodeType!==3||(a=l+i),c!==o||r!==0&&c.nodeType!==3||(u=l+r),c.nodeType===3&&(l+=c.nodeValue.length),(y=c.firstChild)!==null;)h=c,c=y;for(;;){if(c===e)break t;if(h===n&&++s===i&&(a=l),h===o&&++f===r&&(u=l),(y=c.nextSibling)!==null)break;c=h,h=c.parentNode}c=y}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Eu={focusedElem:e,selectionRange:n},sl=!1,z=t;z!==null;)if(t=z,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,z=e;else for(;z!==null;){t=z;try{var E=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(E!==null){var x=E.memoizedProps,P=E.memoizedState,m=t.stateNode,p=m.getSnapshotBeforeUpdate(t.elementType===t.type?x:Lt(t.type,x),P);m.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var g=t.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(M(163))}}catch(T){Te(t,t.return,T)}if(e=t.sibling,e!==null){e.return=t.return,z=e;break}z=t.return}return E=Of,Of=!1,E}function Ti(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&ju(t,n,o)}i=i.next}while(i!==r)}}function ra(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 Uu(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 z1(e){var t=e.alternate;t!==null&&(e.alternate=null,z1(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[bt],delete t[Hi],delete t[ku],delete t[Mv],delete t[Ov])),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 F1(e){return e.tag===5||e.tag===3||e.tag===4}function Nf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||F1(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 $u(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=dl));else if(r!==4&&(e=e.child,e!==null))for($u(e,t,n),e=e.sibling;e!==null;)$u(e,t,n),e=e.sibling}function Hu(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(Hu(e,t,n),e=e.sibling;e!==null;)Hu(e,t,n),e=e.sibling}var je=null,Mt=!1;function vn(e,t,n){for(n=n.child;n!==null;)j1(e,t,n),n=n.sibling}function j1(e,t,n){if(Wt&&typeof Wt.onCommitFiberUnmount=="function")try{Wt.onCommitFiberUnmount(Gl,n)}catch{}switch(n.tag){case 5:We||Cr(n,t);case 6:var r=je,i=Mt;je=null,vn(e,t,n),je=r,Mt=i,je!==null&&(Mt?(e=je,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):je.removeChild(n.stateNode));break;case 18:je!==null&&(Mt?(e=je,n=n.stateNode,e.nodeType===8?Na(e.parentNode,n):e.nodeType===1&&Na(e,n),zi(e)):Na(je,n.stateNode));break;case 4:r=je,i=Mt,je=n.stateNode.containerInfo,Mt=!0,vn(e,t,n),je=r,Mt=i;break;case 0:case 11:case 14:case 15:if(!We&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,l=o.destroy;o=o.tag,l!==void 0&&(o&2||o&4)&&ju(n,t,l),i=i.next}while(i!==r)}vn(e,t,n);break;case 1:if(!We&&(Cr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Te(n,t,a)}vn(e,t,n);break;case 21:vn(e,t,n);break;case 22:n.mode&1?(We=(r=We)||n.memoizedState!==null,vn(e,t,n),We=r):vn(e,t,n);break;default:vn(e,t,n)}}function Af(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new qv),t.forEach(function(r){var i=r2.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Rt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=l),r&=~o}if(r=i,r=ke()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Kv(r/1960))-r,10e?16:e,Cn===null)var r=!1;else{if(e=Cn,Cn=null,kl=0,J&6)throw Error(M(331));var i=J;for(J|=4,z=e.current;z!==null;){var o=z,l=o.child;if(z.flags&16){var a=o.deletions;if(a!==null){for(var u=0;uke()-Ys?Kn(e,0):qs|=n),ut(e,t)}function Q1(e,t){t===0&&(e.mode&1?(t=To,To<<=1,!(To&130023424)&&(To=4194304)):t=1);var n=Xe();e=un(e,t),e!==null&&(no(e,t,n),ut(e,n))}function n2(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Q1(e,n)}function r2(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(M(314))}r!==null&&r.delete(t),Q1(e,n)}var q1;q1=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||lt.current)ot=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ot=!1,Vv(e,t,n);ot=!!(e.flags&131072)}else ot=!1,ve&&t.flags&1048576&&Z0(t,vl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ko(e,t),e=t.pendingProps;var i=Fr(t,Qe.current);Nr(t,n),i=Hs(null,t,r,e,i,n);var o=Bs();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,at(r)?(o=!0,hl(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,zs(t),i.updater=na,t.stateNode=i,i._reactInternals=t,Ou(t,r,e,n),t=Iu(null,t,r,!0,o,n)):(t.tag=0,ve&&o&&Ls(t),Ze(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ko(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=o2(r),e=Lt(r,e),i){case 0:t=Au(null,t,r,e,n);break e;case 1:t=Rf(null,t,r,e,n);break e;case 11:t=Pf(null,t,r,e,n);break e;case 14:t=_f(null,t,r,Lt(r.type,e),n);break e}throw Error(M(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Lt(r,i),Au(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Lt(r,i),Rf(e,t,r,i,n);case 3:e:{if(M1(t),e===null)throw Error(M(387));r=t.pendingProps,o=t.memoizedState,i=o.element,r1(e,t),wl(t,r,null,n);var l=t.memoizedState;if(r=l.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Hr(Error(M(423)),t),t=Lf(e,t,r,n,i);break e}else if(r!==i){i=Hr(Error(M(424)),t),t=Lf(e,t,r,n,i);break e}else for(pt=Rn(t.stateNode.containerInfo.firstChild),mt=t,ve=!0,Nt=null,n=t1(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(jr(),r===i){t=sn(e,t,n);break e}Ze(e,t,r,n)}t=t.child}return t;case 5:return i1(t),e===null&&Ru(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,l=i.children,Cu(r,i)?l=null:o!==null&&Cu(r,o)&&(t.flags|=32),L1(e,t),Ze(e,t,l,n),t.child;case 6:return e===null&&Ru(t),null;case 13:return O1(e,t,n);case 4:return Fs(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ur(t,null,r,n):Ze(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Lt(r,i),Pf(e,t,r,i,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,i=t.pendingProps,o=t.memoizedProps,l=i.value,se(gl,r._currentValue),r._currentValue=l,o!==null)if(zt(o.value,l)){if(o.children===i.children&&!lt.current){t=sn(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){l=o.child;for(var u=a.firstContext;u!==null;){if(u.context===r){if(o.tag===1){u=rn(-1,n&-n),u.tag=2;var s=o.updateQueue;if(s!==null){s=s.shared;var f=s.pending;f===null?u.next=u:(u.next=f.next,f.next=u),s.pending=u}}o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),Lu(o.return,n,t),a.lanes|=n;break}u=u.next}}else if(o.tag===10)l=o.type===t.type?null:o.child;else if(o.tag===18){if(l=o.return,l===null)throw Error(M(341));l.lanes|=n,a=l.alternate,a!==null&&(a.lanes|=n),Lu(l,n,t),l=o.sibling}else l=o.child;if(l!==null)l.return=o;else for(l=o;l!==null;){if(l===t){l=null;break}if(o=l.sibling,o!==null){o.return=l.return,l=o;break}l=l.return}o=l}Ze(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Nr(t,n),i=kt(i),r=r(i),t.flags|=1,Ze(e,t,r,n),t.child;case 14:return r=t.type,i=Lt(r,t.pendingProps),i=Lt(r.type,i),_f(e,t,r,i,n);case 15:return _1(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Lt(r,i),Ko(e,t),t.tag=1,at(r)?(e=!0,hl(t)):e=!1,Nr(t,n),T1(t,r,i),Ou(t,r,i,n),Iu(null,t,r,!0,e,n);case 19:return N1(e,t,n);case 22:return R1(e,t,n)}throw Error(M(156,t.tag))};function Y1(e,t){return x0(e,t)}function i2(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 Ct(e,t,n,r){return new i2(e,t,n,r)}function Xs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function o2(e){if(typeof e=="function")return Xs(e)?1:0;if(e!=null){if(e=e.$$typeof,e===gs)return 11;if(e===ys)return 14}return 2}function Nn(e,t){var n=e.alternate;return n===null?(n=Ct(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 Jo(e,t,n,r,i,o){var l=2;if(r=e,typeof e=="function")Xs(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case hr:return Zn(n.children,i,o,t);case vs:l=8,i|=8;break;case tu:return e=Ct(12,n,t,i|2),e.elementType=tu,e.lanes=o,e;case nu:return e=Ct(13,n,t,i),e.elementType=nu,e.lanes=o,e;case ru:return e=Ct(19,n,t,i),e.elementType=ru,e.lanes=o,e;case i0:return oa(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case n0:l=10;break e;case r0:l=9;break e;case gs:l=11;break e;case ys:l=14;break e;case yn:l=16,r=null;break e}throw Error(M(130,e==null?e:typeof e,""))}return t=Ct(l,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Zn(e,t,n,r){return e=Ct(7,e,r,t),e.lanes=n,e}function oa(e,t,n,r){return e=Ct(22,e,r,t),e.elementType=i0,e.lanes=n,e.stateNode={isHidden:!1},e}function $a(e,t,n){return e=Ct(6,e,null,t),e.lanes=n,e}function Ha(e,t,n){return t=Ct(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function l2(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=xa(0),this.expirationTimes=xa(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=xa(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Js(e,t,n,r,i,o,l,a,u){return e=new l2(e,t,n,a,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Ct(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},zs(o),e}function a2(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(X1)}catch(e){console.error(e)}}X1(),Xd.exports=yt;var rc=Xd.exports;const d2=Vr(rc),p2=Sd({__proto__:null,default:d2},[rc]);var J1,Hf=rc;J1=Hf.createRoot,Hf.hydrateRoot;/** * @remix-run/router v1.19.2 @@ -53,8 +53,8 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function ge(){return ge=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function br(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function m2(){return Math.random().toString(36).substr(2,8)}function bf(e,t){return{usr:e.state,key:e.key,idx:t}}function Yi(e,t,n,r){return n===void 0&&(n=null),ge({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?jn(t):t,{state:n,key:t&&t.key||r||m2()})}function ir(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 jn(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 v2(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,l=i.history,a=Re.Pop,u=null,s=f();s==null&&(s=0,l.replaceState(ge({},l.state,{idx:s}),""));function f(){return(l.state||{idx:null}).idx}function c(){a=Re.Pop;let P=f(),m=P==null?null:P-s;s=P,u&&u({action:a,location:x.location,delta:m})}function h(P,m){a=Re.Push;let p=Yi(x.location,P,m);s=f()+1;let g=bf(p,s),T=x.createHref(p);try{l.pushState(g,"",T)}catch(R){if(R instanceof DOMException&&R.name==="DataCloneError")throw R;i.location.assign(T)}o&&u&&u({action:a,location:x.location,delta:1})}function y(P,m){a=Re.Replace;let p=Yi(x.location,P,m);s=f();let g=bf(p,s),T=x.createHref(p);l.replaceState(g,"",T),o&&u&&u({action:a,location:x.location,delta:0})}function E(P){let m=i.location.origin!=="null"?i.location.origin:i.location.href,p=typeof P=="string"?P:ir(P);return p=p.replace(/ $/,"%20"),K(m,"No window.location.(origin|href) available to create URL for href: "+p),new URL(p,m)}let x={get action(){return a},get location(){return e(i,l)},listen(P){if(u)throw new Error("A history only accepts one active listener");return i.addEventListener(Bf,c),u=P,()=>{i.removeEventListener(Bf,c),u=null}},createHref(P){return t(i,P)},createURL:E,encodeLocation(P){let m=E(P);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:h,replace:y,go(P){return l.go(P)}};return x}var le;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(le||(le={}));const g2=new Set(["lazy","caseSensitive","path","id","index","children"]);function y2(e){return e.index===!0}function Gi(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((i,o)=>{let l=[...n,String(o)],a=typeof i.id=="string"?i.id:l.join("-");if(K(i.index!==!0||!i.children,"Cannot specify children on an index route"),K(!r[a],'Found a route id collision on id "'+a+`". Route id's must be globally unique within Data Router usages`),y2(i)){let u=ge({},i,t(i),{id:a});return r[a]=u,u}else{let u=ge({},i,t(i),{id:a,children:void 0});return r[a]=u,i.children&&(u.children=Gi(i.children,t,l,r)),u}})}function Wn(e,t,n){return n===void 0&&(n="/"),el(e,t,n,!1)}function el(e,t,n,r){let i=typeof t=="string"?jn(t):t,o=Gr(i.pathname||"/",n);if(o==null)return null;let l=ep(e);S2(l);let a=null;for(let u=0;a==null&&u{let u={relativePath:a===void 0?o.path||"":a,caseSensitive:o.caseSensitive===!0,childrenIndex:l,route:o};u.relativePath.startsWith("/")&&(K(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let s=on([r,u.relativePath]),f=n.concat(u);o.children&&o.children.length>0&&(K(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+s+'".')),ep(o.children,t,f,s)),!(o.path==null&&!o.index)&&t.push({path:s,score:_2(s,o.index),routesMeta:f})};return e.forEach((o,l)=>{var a;if(o.path===""||!((a=o.path)!=null&&a.includes("?")))i(o,l);else for(let u of tp(o.path))i(o,l,u)}),t}function tp(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let l=tp(r.join("/")),a=[];return a.push(...l.map(u=>u===""?o:[o,u].join("/"))),i&&a.push(...l),a.map(u=>e.startsWith("/")&&u===""?"/":u)}function S2(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:R2(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const x2=/^:[\w-]+$/,E2=3,C2=2,T2=1,k2=10,P2=-2,Vf=e=>e==="*";function _2(e,t){let n=e.split("/"),r=n.length;return n.some(Vf)&&(r+=P2),t&&(r+=C2),n.filter(i=>!Vf(i)).reduce((i,o)=>i+(x2.test(o)?E2:o===""?T2:k2),r)}function R2(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function L2(e,t,n){n===void 0&&(n=!1);let{routesMeta:r}=e,i={},o="/",l=[];for(let a=0;a{let{paramName:h,isOptional:y}=f;if(h==="*"){let x=a[c]||"";l=o.slice(0,o.length-x.length).replace(/(.)\/+$/,"$1")}const E=a[c];return y&&!E?s[h]=void 0:s[h]=(E||"").replace(/%2F/g,"/"),s},{}),pathname:o,pathnameBase:l,pattern:e}}function M2(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),br(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,a,u)=>(r.push({paramName:a,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function O2(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return br(!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 Gr(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 N2(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?jn(e):e;return{pathname:n?n.startsWith("/")?n:A2(n,t):t,search:D2(r),hash:z2(i)}}function A2(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Ba(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 np(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function ic(e,t){let n=np(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function oc(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=jn(e):(i=ge({},e),K(!i.pathname||!i.pathname.includes("?"),Ba("?","pathname","search",i)),K(!i.pathname||!i.pathname.includes("#"),Ba("#","pathname","hash",i)),K(!i.search||!i.search.includes("#"),Ba("#","search","hash",i)));let o=e===""||i.pathname==="",l=o?"/":i.pathname,a;if(l==null)a=n;else{let c=t.length-1;if(!r&&l.startsWith("..")){let h=l.split("/");for(;h[0]==="..";)h.shift(),c-=1;i.pathname=h.join("/")}a=c>=0?t[c]:"/"}let u=N2(i,a),s=l&&l!=="/"&&l.endsWith("/"),f=(o||l===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(s||f)&&(u.pathname+="/"),u}const on=e=>e.join("/").replace(/\/\/+/g,"/"),I2=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),D2=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,z2=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class Rl{constructor(t,n,r,i){i===void 0&&(i=!1),this.status=t,this.statusText=n||"",this.internal=i,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function ca(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const rp=["post","put","patch","delete"],F2=new Set(rp),j2=["get",...rp],U2=new Set(j2),$2=new Set([301,302,303,307,308]),H2=new Set([307,308]),ba={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},B2={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ui={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},lc=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,b2=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),ip="remix-router-transitions";function V2(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",r=!n;K(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let i;if(e.mapRouteProperties)i=e.mapRouteProperties;else if(e.detectErrorBoundary){let v=e.detectErrorBoundary;i=S=>({hasErrorBoundary:v(S)})}else i=b2;let o={},l=Gi(e.routes,i,void 0,o),a,u=e.basename||"/",s=e.unstable_dataStrategy||K2,f=e.unstable_patchRoutesOnNavigation,c=ge({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),h=null,y=new Set,E=1e3,x=new Set,P=null,m=null,p=null,g=e.hydrationData!=null,T=Wn(l,e.history.location,u),R=null;if(T==null&&!f){let v=Ke(404,{pathname:e.history.location.pathname}),{matches:S,route:C}=ed(l);T=S,R={[C.id]:v}}T&&!e.hydrationData&&fo(T,l,e.history.location.pathname).active&&(T=null);let O;if(T)if(T.some(v=>v.route.lazy))O=!1;else if(!T.some(v=>v.route.loader))O=!0;else if(c.v7_partialHydration){let v=e.hydrationData?e.hydrationData.loaderData:null,S=e.hydrationData?e.hydrationData.errors:null,C=_=>_.route.loader?typeof _.route.loader=="function"&&_.route.loader.hydrate===!0?!1:v&&v[_.route.id]!==void 0||S&&S[_.route.id]!==void 0:!0;if(S){let _=T.findIndex(D=>S[D.route.id]!==void 0);O=T.slice(0,_+1).every(C)}else O=T.every(C)}else O=e.hydrationData!=null;else if(O=!1,T=[],c.v7_partialHydration){let v=fo(null,l,e.history.location.pathname);v.active&&v.matches&&(T=v.matches)}let L,w={historyAction:e.history.action,location:e.history.location,matches:T,initialized:O,navigation:ba,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||R,fetchers:new Map,blockers:new Map},j=Re.Pop,A=!1,q,ae=!1,Pe=new Map,xe=null,Ft=!1,_t=!1,dn=[],I=new Set,F=new Map,W=0,ue=-1,ce=new Map,tt=new Set,nt=new Map,qt=new Map,Fe=new Set,St=new Map,$n=new Map,Lp=new Map,ao;function Mp(){if(h=e.history.listen(v=>{let{action:S,location:C,delta:_}=v;if(ao){ao(),ao=void 0;return}br($n.size===0||_!=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 D=Sc({currentLocation:w.location,nextLocation:C,historyAction:S});if(D&&_!=null){let B=new Promise(V=>{ao=V});e.history.go(_*-1),so(D,{state:"blocked",location:C,proceed(){so(D,{state:"proceeding",proceed:void 0,reset:void 0,location:C}),B.then(()=>e.history.go(_))},reset(){let V=new Map(w.blockers);V.set(D,ui),qe({blockers:V})}});return}return Hn(S,C)}),n){fg(t,Pe);let v=()=>dg(t,Pe);t.addEventListener("pagehide",v),xe=()=>t.removeEventListener("pagehide",v)}return w.initialized||Hn(Re.Pop,w.location,{initialHydration:!0}),L}function Op(){h&&h(),xe&&xe(),y.clear(),q&&q.abort(),w.fetchers.forEach((v,S)=>uo(S)),w.blockers.forEach((v,S)=>wc(S))}function Np(v){return y.add(v),()=>y.delete(v)}function qe(v,S){S===void 0&&(S={}),w=ge({},w,v);let C=[],_=[];c.v7_fetcherPersist&&w.fetchers.forEach((D,B)=>{D.state==="idle"&&(Fe.has(B)?_.push(B):C.push(B))}),[...y].forEach(D=>D(w,{deletedFetchers:_,unstable_viewTransitionOpts:S.viewTransitionOpts,unstable_flushSync:S.flushSync===!0})),c.v7_fetcherPersist&&(C.forEach(D=>w.fetchers.delete(D)),_.forEach(D=>uo(D)))}function ur(v,S,C){var _,D;let{flushSync:B}=C===void 0?{}:C,V=w.actionData!=null&&w.navigation.formMethod!=null&&Ot(w.navigation.formMethod)&&w.navigation.state==="loading"&&((_=v.state)==null?void 0:_._isRedirect)!==!0,N;S.actionData?Object.keys(S.actionData).length>0?N=S.actionData:N=null:V?N=w.actionData:N=null;let b=S.loaderData?Xf(w.loaderData,S.loaderData,S.matches||[],S.errors):w.loaderData,U=w.blockers;U.size>0&&(U=new Map(U),U.forEach((re,fe)=>U.set(fe,ui)));let H=A===!0||w.navigation.formMethod!=null&&Ot(w.navigation.formMethod)&&((D=v.state)==null?void 0:D._isRedirect)!==!0;a&&(l=a,a=void 0),Ft||j===Re.Pop||(j===Re.Push?e.history.push(v,v.state):j===Re.Replace&&e.history.replace(v,v.state));let ee;if(j===Re.Pop){let re=Pe.get(w.location.pathname);re&&re.has(v.pathname)?ee={currentLocation:w.location,nextLocation:v}:Pe.has(v.pathname)&&(ee={currentLocation:v,nextLocation:w.location})}else if(ae){let re=Pe.get(w.location.pathname);re?re.add(v.pathname):(re=new Set([v.pathname]),Pe.set(w.location.pathname,re)),ee={currentLocation:w.location,nextLocation:v}}qe(ge({},S,{actionData:N,loaderData:b,historyAction:j,location:v,initialized:!0,navigation:ba,revalidation:"idle",restoreScrollPosition:Ec(v,S.matches||w.matches),preventScrollReset:H,blockers:U}),{viewTransitionOpts:ee,flushSync:B===!0}),j=Re.Pop,A=!1,ae=!1,Ft=!1,_t=!1,dn=[]}async function dc(v,S){if(typeof v=="number"){e.history.go(v);return}let C=Qu(w.location,w.matches,u,c.v7_prependBasename,v,c.v7_relativeSplatPath,S==null?void 0:S.fromRouteId,S==null?void 0:S.relative),{path:_,submission:D,error:B}=Qf(c.v7_normalizeFormMethod,!1,C,S),V=w.location,N=Yi(w.location,_,S&&S.state);N=ge({},N,e.history.encodeLocation(N));let b=S&&S.replace!=null?S.replace:void 0,U=Re.Push;b===!0?U=Re.Replace:b===!1||D!=null&&Ot(D.formMethod)&&D.formAction===w.location.pathname+w.location.search&&(U=Re.Replace);let H=S&&"preventScrollReset"in S?S.preventScrollReset===!0:void 0,ee=(S&&S.unstable_flushSync)===!0,re=Sc({currentLocation:V,nextLocation:N,historyAction:U});if(re){so(re,{state:"blocked",location:N,proceed(){so(re,{state:"proceeding",proceed:void 0,reset:void 0,location:N}),dc(v,S)},reset(){let fe=new Map(w.blockers);fe.set(re,ui),qe({blockers:fe})}});return}return await Hn(U,N,{submission:D,pendingError:B,preventScrollReset:H,replace:S&&S.replace,enableViewTransition:S&&S.unstable_viewTransition,flushSync:ee})}function Ap(){if(da(),qe({revalidation:"loading"}),w.navigation.state!=="submitting"){if(w.navigation.state==="idle"){Hn(w.historyAction,w.location,{startUninterruptedRevalidation:!0});return}Hn(j||w.historyAction,w.navigation.location,{overrideNavigation:w.navigation,enableViewTransition:ae===!0})}}async function Hn(v,S,C){q&&q.abort(),q=null,j=v,Ft=(C&&C.startUninterruptedRevalidation)===!0,bp(w.location,w.matches),A=(C&&C.preventScrollReset)===!0,ae=(C&&C.enableViewTransition)===!0;let _=a||l,D=C&&C.overrideNavigation,B=Wn(_,S,u),V=(C&&C.flushSync)===!0,N=fo(B,_,S.pathname);if(N.active&&N.matches&&(B=N.matches),!B){let{error:X,notFoundMatches:Ae,route:_e}=pa(S.pathname);ur(S,{matches:Ae,loaderData:{},errors:{[_e.id]:X}},{flushSync:V});return}if(w.initialized&&!_t&&ng(w.location,S)&&!(C&&C.submission&&Ot(C.submission.formMethod))){ur(S,{matches:B},{flushSync:V});return}q=new AbortController;let b=fr(e.history,S,q.signal,C&&C.submission),U;if(C&&C.pendingError)U=[kr(B).route.id,{type:le.error,error:C.pendingError}];else if(C&&C.submission&&Ot(C.submission.formMethod)){let X=await Ip(b,S,C.submission,B,N.active,{replace:C.replace,flushSync:V});if(X.shortCircuited)return;if(X.pendingActionResult){let[Ae,_e]=X.pendingActionResult;if(dt(_e)&&ca(_e.error)&&_e.error.status===404){q=null,ur(S,{matches:X.matches,loaderData:{},errors:{[Ae]:_e.error}});return}}B=X.matches||B,U=X.pendingActionResult,D=Va(S,C.submission),V=!1,N.active=!1,b=fr(e.history,b.url,b.signal)}let{shortCircuited:H,matches:ee,loaderData:re,errors:fe}=await Dp(b,S,B,N.active,D,C&&C.submission,C&&C.fetcherSubmission,C&&C.replace,C&&C.initialHydration===!0,V,U);H||(q=null,ur(S,ge({matches:ee||B},Jf(U),{loaderData:re,errors:fe})))}async function Ip(v,S,C,_,D,B){B===void 0&&(B={}),da();let V=sg(S,C);if(qe({navigation:V},{flushSync:B.flushSync===!0}),D){let U=await po(_,S.pathname,v.signal);if(U.type==="aborted")return{shortCircuited:!0};if(U.type==="error"){let{boundaryId:H,error:ee}=co(S.pathname,U);return{matches:U.partialMatches,pendingActionResult:[H,{type:le.error,error:ee}]}}else if(U.matches)_=U.matches;else{let{notFoundMatches:H,error:ee,route:re}=pa(S.pathname);return{matches:H,pendingActionResult:[re.id,{type:le.error,error:ee}]}}}let N,b=gi(_,S);if(!b.route.action&&!b.route.lazy)N={type:le.error,error:Ke(405,{method:v.method,pathname:S.pathname,routeId:b.route.id})};else if(N=(await Zr("action",w,v,[b],_,null))[b.route.id],v.signal.aborted)return{shortCircuited:!0};if(Gn(N)){let U;return B&&B.replace!=null?U=B.replace:U=Gf(N.response.headers.get("Location"),new URL(v.url),u)===w.location.pathname+w.location.search,await Bn(v,N,!0,{submission:C,replace:U}),{shortCircuited:!0}}if(Tn(N))throw Ke(400,{type:"defer-action"});if(dt(N)){let U=kr(_,b.route.id);return(B&&B.replace)!==!0&&(j=Re.Push),{matches:_,pendingActionResult:[U.route.id,N]}}return{matches:_,pendingActionResult:[b.route.id,N]}}async function Dp(v,S,C,_,D,B,V,N,b,U,H){let ee=D||Va(S,B),re=B||V||nd(ee),fe=!Ft&&(!c.v7_partialHydration||!b);if(_){if(fe){let Ee=pc(H);qe(ge({navigation:ee},Ee!==void 0?{actionData:Ee}:{}),{flushSync:U})}let G=await po(C,S.pathname,v.signal);if(G.type==="aborted")return{shortCircuited:!0};if(G.type==="error"){let{boundaryId:Ee,error:ct}=co(S.pathname,G);return{matches:G.partialMatches,loaderData:{},errors:{[Ee]:ct}}}else if(G.matches)C=G.matches;else{let{error:Ee,notFoundMatches:ct,route:Ce}=pa(S.pathname);return{matches:ct,loaderData:{},errors:{[Ce.id]:Ee}}}}let X=a||l,[Ae,_e]=qf(e.history,w,C,re,S,c.v7_partialHydration&&b===!0,c.v7_skipActionErrorRevalidation,_t,dn,I,Fe,nt,tt,X,u,H);if(ha(G=>!(C&&C.some(Ee=>Ee.route.id===G))||Ae&&Ae.some(Ee=>Ee.route.id===G)),ue=++W,Ae.length===0&&_e.length===0){let G=gc();return ur(S,ge({matches:C,loaderData:{},errors:H&&dt(H[1])?{[H[0]]:H[1].error}:null},Jf(H),G?{fetchers:new Map(w.fetchers)}:{}),{flushSync:U}),{shortCircuited:!0}}if(fe){let G={};if(!_){G.navigation=ee;let Ee=pc(H);Ee!==void 0&&(G.actionData=Ee)}_e.length>0&&(G.fetchers=zp(_e)),qe(G,{flushSync:U})}_e.forEach(G=>{F.has(G.key)&&hn(G.key),G.controller&&F.set(G.key,G.controller)});let Xr=()=>_e.forEach(G=>hn(G.key));q&&q.signal.addEventListener("abort",Xr);let{loaderResults:Gt,fetcherResults:sr}=await hc(w,C,Ae,_e,v);if(v.signal.aborted)return{shortCircuited:!0};q&&q.signal.removeEventListener("abort",Xr),_e.forEach(G=>F.delete(G.key));let mn=zo(Gt);if(mn)return await Bn(v,mn.result,!0,{replace:N}),{shortCircuited:!0};if(mn=zo(sr),mn)return tt.add(mn.key),await Bn(v,mn.result,!0,{replace:N}),{shortCircuited:!0};let{loaderData:ho,errors:Kt}=Zf(w,C,Ae,Gt,H,_e,sr,St);St.forEach((G,Ee)=>{G.subscribe(ct=>{(ct||G.done)&&St.delete(Ee)})}),c.v7_partialHydration&&b&&w.errors&&Object.entries(w.errors).filter(G=>{let[Ee]=G;return!Ae.some(ct=>ct.route.id===Ee)}).forEach(G=>{let[Ee,ct]=G;Kt=Object.assign(Kt||{},{[Ee]:ct})});let mo=gc(),vo=yc(ue),go=mo||vo||_e.length>0;return ge({matches:C,loaderData:ho,errors:Kt},go?{fetchers:new Map(w.fetchers)}:{})}function pc(v){if(v&&!dt(v[1]))return{[v[0]]:v[1].data};if(w.actionData)return Object.keys(w.actionData).length===0?null:w.actionData}function zp(v){return v.forEach(S=>{let C=w.fetchers.get(S.key),_=si(void 0,C?C.data:void 0);w.fetchers.set(S.key,_)}),new Map(w.fetchers)}function Fp(v,S,C,_){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.");F.has(v)&&hn(v);let D=(_&&_.unstable_flushSync)===!0,B=a||l,V=Qu(w.location,w.matches,u,c.v7_prependBasename,C,c.v7_relativeSplatPath,S,_==null?void 0:_.relative),N=Wn(B,V,u),b=fo(N,B,V);if(b.active&&b.matches&&(N=b.matches),!N){Yt(v,S,Ke(404,{pathname:V}),{flushSync:D});return}let{path:U,submission:H,error:ee}=Qf(c.v7_normalizeFormMethod,!0,V,_);if(ee){Yt(v,S,ee,{flushSync:D});return}let re=gi(N,U);if(A=(_&&_.preventScrollReset)===!0,H&&Ot(H.formMethod)){jp(v,S,U,re,N,b.active,D,H);return}nt.set(v,{routeId:S,path:U}),Up(v,S,U,re,N,b.active,D,H)}async function jp(v,S,C,_,D,B,V,N){da(),nt.delete(v);function b(Ce){if(!Ce.route.action&&!Ce.route.lazy){let Zt=Ke(405,{method:N.formMethod,pathname:C,routeId:S});return Yt(v,S,Zt,{flushSync:V}),!0}return!1}if(!B&&b(_))return;let U=w.fetchers.get(v);pn(v,cg(N,U),{flushSync:V});let H=new AbortController,ee=fr(e.history,C,H.signal,N);if(B){let Ce=await po(D,C,ee.signal);if(Ce.type==="aborted")return;if(Ce.type==="error"){let{error:Zt}=co(C,Ce);Yt(v,S,Zt,{flushSync:V});return}else if(Ce.matches){if(D=Ce.matches,_=gi(D,C),b(_))return}else{Yt(v,S,Ke(404,{pathname:C}),{flushSync:V});return}}F.set(v,H);let re=W,X=(await Zr("action",w,ee,[_],D,v))[_.route.id];if(ee.signal.aborted){F.get(v)===H&&F.delete(v);return}if(c.v7_fetcherPersist&&Fe.has(v)){if(Gn(X)||dt(X)){pn(v,gn(void 0));return}}else{if(Gn(X))if(F.delete(v),ue>re){pn(v,gn(void 0));return}else return tt.add(v),pn(v,si(N)),Bn(ee,X,!1,{fetcherSubmission:N});if(dt(X)){Yt(v,S,X.error);return}}if(Tn(X))throw Ke(400,{type:"defer-action"});let Ae=w.navigation.location||w.location,_e=fr(e.history,Ae,H.signal),Xr=a||l,Gt=w.navigation.state!=="idle"?Wn(Xr,w.navigation.location,u):w.matches;K(Gt,"Didn't find any matches after fetcher action");let sr=++W;ce.set(v,sr);let mn=si(N,X.data);w.fetchers.set(v,mn);let[ho,Kt]=qf(e.history,w,Gt,N,Ae,!1,c.v7_skipActionErrorRevalidation,_t,dn,I,Fe,nt,tt,Xr,u,[_.route.id,X]);Kt.filter(Ce=>Ce.key!==v).forEach(Ce=>{let Zt=Ce.key,Tc=w.fetchers.get(Zt),Qp=si(void 0,Tc?Tc.data:void 0);w.fetchers.set(Zt,Qp),F.has(Zt)&&hn(Zt),Ce.controller&&F.set(Zt,Ce.controller)}),qe({fetchers:new Map(w.fetchers)});let mo=()=>Kt.forEach(Ce=>hn(Ce.key));H.signal.addEventListener("abort",mo);let{loaderResults:vo,fetcherResults:go}=await hc(w,Gt,ho,Kt,_e);if(H.signal.aborted)return;H.signal.removeEventListener("abort",mo),ce.delete(v),F.delete(v),Kt.forEach(Ce=>F.delete(Ce.key));let G=zo(vo);if(G)return Bn(_e,G.result,!1);if(G=zo(go),G)return tt.add(G.key),Bn(_e,G.result,!1);let{loaderData:Ee,errors:ct}=Zf(w,Gt,ho,vo,void 0,Kt,go,St);if(w.fetchers.has(v)){let Ce=gn(X.data);w.fetchers.set(v,Ce)}yc(sr),w.navigation.state==="loading"&&sr>ue?(K(j,"Expected pending action"),q&&q.abort(),ur(w.navigation.location,{matches:Gt,loaderData:Ee,errors:ct,fetchers:new Map(w.fetchers)})):(qe({errors:ct,loaderData:Xf(w.loaderData,Ee,Gt,ct),fetchers:new Map(w.fetchers)}),_t=!1)}async function Up(v,S,C,_,D,B,V,N){let b=w.fetchers.get(v);pn(v,si(N,b?b.data:void 0),{flushSync:V});let U=new AbortController,H=fr(e.history,C,U.signal);if(B){let X=await po(D,C,H.signal);if(X.type==="aborted")return;if(X.type==="error"){let{error:Ae}=co(C,X);Yt(v,S,Ae,{flushSync:V});return}else if(X.matches)D=X.matches,_=gi(D,C);else{Yt(v,S,Ke(404,{pathname:C}),{flushSync:V});return}}F.set(v,U);let ee=W,fe=(await Zr("loader",w,H,[_],D,v))[_.route.id];if(Tn(fe)&&(fe=await ac(fe,H.signal,!0)||fe),F.get(v)===U&&F.delete(v),!H.signal.aborted){if(Fe.has(v)){pn(v,gn(void 0));return}if(Gn(fe))if(ue>ee){pn(v,gn(void 0));return}else{tt.add(v),await Bn(H,fe,!1);return}if(dt(fe)){Yt(v,S,fe.error);return}K(!Tn(fe),"Unhandled fetcher deferred data"),pn(v,gn(fe.data))}}async function Bn(v,S,C,_){let{submission:D,fetcherSubmission:B,replace:V}=_===void 0?{}:_;S.response.headers.has("X-Remix-Revalidate")&&(_t=!0);let N=S.response.headers.get("Location");K(N,"Expected a Location header on the redirect Response"),N=Gf(N,new URL(v.url),u);let b=Yi(w.location,N,{_isRedirect:!0});if(n){let X=!1;if(S.response.headers.has("X-Remix-Reload-Document"))X=!0;else if(lc.test(N)){const Ae=e.history.createURL(N);X=Ae.origin!==t.location.origin||Gr(Ae.pathname,u)==null}if(X){V?t.location.replace(N):t.location.assign(N);return}}q=null;let U=V===!0||S.response.headers.has("X-Remix-Replace")?Re.Replace:Re.Push,{formMethod:H,formAction:ee,formEncType:re}=w.navigation;!D&&!B&&H&&ee&&re&&(D=nd(w.navigation));let fe=D||B;if(H2.has(S.response.status)&&fe&&Ot(fe.formMethod))await Hn(U,b,{submission:ge({},fe,{formAction:N}),preventScrollReset:A,enableViewTransition:C?ae:void 0});else{let X=Va(b,D);await Hn(U,b,{overrideNavigation:X,fetcherSubmission:B,preventScrollReset:A,enableViewTransition:C?ae:void 0})}}async function Zr(v,S,C,_,D,B){let V,N={};try{V=await Z2(s,v,S,C,_,D,B,o,i)}catch(b){return _.forEach(U=>{N[U.route.id]={type:le.error,error:b}}),N}for(let[b,U]of Object.entries(V))if(ig(U)){let H=U.result;N[b]={type:le.redirect,response:eg(H,C,b,D,u,c.v7_relativeSplatPath)}}else N[b]=await J2(U);return N}async function hc(v,S,C,_,D){let B=v.matches,V=Zr("loader",v,D,C,S,null),N=Promise.all(_.map(async H=>{if(H.matches&&H.match&&H.controller){let re=(await Zr("loader",v,fr(e.history,H.path,H.controller.signal),[H.match],H.matches,H.key))[H.match.route.id];return{[H.key]:re}}else return Promise.resolve({[H.key]:{type:le.error,error:Ke(404,{pathname:H.path})}})})),b=await V,U=(await N).reduce((H,ee)=>Object.assign(H,ee),{});return await Promise.all([ag(S,b,D.signal,B,v.loaderData),ug(S,U,_)]),{loaderResults:b,fetcherResults:U}}function da(){_t=!0,dn.push(...ha()),nt.forEach((v,S)=>{F.has(S)&&(I.add(S),hn(S))})}function pn(v,S,C){C===void 0&&(C={}),w.fetchers.set(v,S),qe({fetchers:new Map(w.fetchers)},{flushSync:(C&&C.flushSync)===!0})}function Yt(v,S,C,_){_===void 0&&(_={});let D=kr(w.matches,S);uo(v),qe({errors:{[D.route.id]:C},fetchers:new Map(w.fetchers)},{flushSync:(_&&_.flushSync)===!0})}function mc(v){return c.v7_fetcherPersist&&(qt.set(v,(qt.get(v)||0)+1),Fe.has(v)&&Fe.delete(v)),w.fetchers.get(v)||B2}function uo(v){let S=w.fetchers.get(v);F.has(v)&&!(S&&S.state==="loading"&&ce.has(v))&&hn(v),nt.delete(v),ce.delete(v),tt.delete(v),Fe.delete(v),I.delete(v),w.fetchers.delete(v)}function $p(v){if(c.v7_fetcherPersist){let S=(qt.get(v)||0)-1;S<=0?(qt.delete(v),Fe.add(v)):qt.set(v,S)}else uo(v);qe({fetchers:new Map(w.fetchers)})}function hn(v){let S=F.get(v);K(S,"Expected fetch controller: "+v),S.abort(),F.delete(v)}function vc(v){for(let S of v){let C=mc(S),_=gn(C.data);w.fetchers.set(S,_)}}function gc(){let v=[],S=!1;for(let C of tt){let _=w.fetchers.get(C);K(_,"Expected fetcher: "+C),_.state==="loading"&&(tt.delete(C),v.push(C),S=!0)}return vc(v),S}function yc(v){let S=[];for(let[C,_]of ce)if(_0}function Hp(v,S){let C=w.blockers.get(v)||ui;return $n.get(v)!==S&&$n.set(v,S),C}function wc(v){w.blockers.delete(v),$n.delete(v)}function so(v,S){let C=w.blockers.get(v)||ui;K(C.state==="unblocked"&&S.state==="blocked"||C.state==="blocked"&&S.state==="blocked"||C.state==="blocked"&&S.state==="proceeding"||C.state==="blocked"&&S.state==="unblocked"||C.state==="proceeding"&&S.state==="unblocked","Invalid blocker state transition: "+C.state+" -> "+S.state);let _=new Map(w.blockers);_.set(v,S),qe({blockers:_})}function Sc(v){let{currentLocation:S,nextLocation:C,historyAction:_}=v;if($n.size===0)return;$n.size>1&&br(!1,"A router only supports one blocker at a time");let D=Array.from($n.entries()),[B,V]=D[D.length-1],N=w.blockers.get(B);if(!(N&&N.state==="proceeding")&&V({currentLocation:S,nextLocation:C,historyAction:_}))return B}function pa(v){let S=Ke(404,{pathname:v}),C=a||l,{matches:_,route:D}=ed(C);return ha(),{notFoundMatches:_,route:D,error:S}}function co(v,S){return{boundaryId:kr(S.partialMatches).route.id,error:Ke(400,{type:"route-discovery",pathname:v,message:S.error!=null&&"message"in S.error?S.error:String(S.error)})}}function ha(v){let S=[];return St.forEach((C,_)=>{(!v||v(_))&&(C.cancel(),S.push(_),St.delete(_))}),S}function Bp(v,S,C){if(P=v,p=S,m=C||null,!g&&w.navigation===ba){g=!0;let _=Ec(w.location,w.matches);_!=null&&qe({restoreScrollPosition:_})}return()=>{P=null,p=null,m=null}}function xc(v,S){return m&&m(v,S.map(_=>w2(_,w.loaderData)))||v.key}function bp(v,S){if(P&&p){let C=xc(v,S);P[C]=p()}}function Ec(v,S){if(P){let C=xc(v,S),_=P[C];if(typeof _=="number")return _}return null}function fo(v,S,C){if(f){if(x.has(C))return{active:!1,matches:v};if(v){if(Object.keys(v[0].params).length>0)return{active:!0,matches:el(S,C,u,!0)}}else return{active:!0,matches:el(S,C,u,!0)||[]}}return{active:!1,matches:null}}async function po(v,S,C){let _=v;for(;;){let D=a==null,B=a||l;try{await Y2(f,S,_,B,o,i,Lp,C)}catch(b){return{type:"error",error:b,partialMatches:_}}finally{D&&(l=[...l])}if(C.aborted)return{type:"aborted"};let V=Wn(B,S,u);if(V)return Cc(S,x),{type:"success",matches:V};let N=el(B,S,u,!0);if(!N||_.length===N.length&&_.every((b,U)=>b.route.id===N[U].route.id))return Cc(S,x),{type:"success",matches:null};_=N}}function Cc(v,S){if(S.size>=E){let C=S.values().next().value;S.delete(C)}S.add(v)}function Vp(v){o={},a=Gi(v,i,void 0,o)}function Wp(v,S){let C=a==null;lp(v,S,a||l,o,i),C&&(l=[...l],qe({}))}return L={get basename(){return u},get future(){return c},get state(){return w},get routes(){return l},get window(){return t},initialize:Mp,subscribe:Np,enableScrollRestoration:Bp,navigate:dc,fetch:Fp,revalidate:Ap,createHref:v=>e.history.createHref(v),encodeLocation:v=>e.history.encodeLocation(v),getFetcher:mc,deleteFetcher:$p,dispose:Op,getBlocker:Hp,deleteBlocker:wc,patchRoutes:Wp,_internalFetchControllers:F,_internalActiveDeferreds:St,_internalSetRoutes:Vp},L}function W2(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function Qu(e,t,n,r,i,o,l,a){let u,s;if(l){u=[];for(let c of t)if(u.push(c),c.route.id===l){s=c;break}}else u=t,s=t[t.length-1];let f=oc(i||".",ic(u,o),Gr(e.pathname,n)||e.pathname,a==="path");return i==null&&(f.search=e.search,f.hash=e.hash),(i==null||i===""||i===".")&&s&&s.route.index&&!uc(f.search)&&(f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(f.pathname=f.pathname==="/"?n:on([n,f.pathname])),ir(f)}function Qf(e,t,n,r){if(!r||!W2(r))return{path:n};if(r.formMethod&&!lg(r.formMethod))return{path:n,error:Ke(405,{method:r.formMethod})};let i=()=>({path:n,error:Ke(400,{type:"invalid-body"})}),o=r.formMethod||"get",l=e?o.toUpperCase():o.toLowerCase(),a=ap(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!Ot(l))return i();let h=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((y,E)=>{let[x,P]=E;return""+y+x+"="+P+` -`},""):String(r.body);return{path:n,submission:{formMethod:l,formAction:a,formEncType:r.formEncType,formData:void 0,json:void 0,text:h}}}else if(r.formEncType==="application/json"){if(!Ot(l))return i();try{let h=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:l,formAction:a,formEncType:r.formEncType,formData:void 0,json:h,text:void 0}}}catch{return i()}}}K(typeof FormData=="function","FormData is not available in this environment");let u,s;if(r.formData)u=qu(r.formData),s=r.formData;else if(r.body instanceof FormData)u=qu(r.body),s=r.body;else if(r.body instanceof URLSearchParams)u=r.body,s=Kf(u);else if(r.body==null)u=new URLSearchParams,s=new FormData;else try{u=new URLSearchParams(r.body),s=Kf(u)}catch{return i()}let f={formMethod:l,formAction:a,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:s,json:void 0,text:void 0};if(Ot(f.formMethod))return{path:n,submission:f};let c=jn(n);return t&&c.search&&uc(c.search)&&u.append("index",""),c.search="?"+u,{path:ir(c),submission:f}}function Q2(e,t){let n=e;if(t){let r=e.findIndex(i=>i.route.id===t);r>=0&&(n=e.slice(0,r))}return n}function qf(e,t,n,r,i,o,l,a,u,s,f,c,h,y,E,x){let P=x?dt(x[1])?x[1].error:x[1].data:void 0,m=e.createURL(t.location),p=e.createURL(i),g=x&&dt(x[1])?x[0]:void 0,T=g?Q2(n,g):n,R=x?x[1].statusCode:void 0,O=l&&R&&R>=400,L=T.filter((j,A)=>{let{route:q}=j;if(q.lazy)return!0;if(q.loader==null)return!1;if(o)return typeof q.loader!="function"||q.loader.hydrate?!0:t.loaderData[q.id]===void 0&&(!t.errors||t.errors[q.id]===void 0);if(q2(t.loaderData,t.matches[A],j)||u.some(xe=>xe===j.route.id))return!0;let ae=t.matches[A],Pe=j;return Yf(j,ge({currentUrl:m,currentParams:ae.params,nextUrl:p,nextParams:Pe.params},r,{actionResult:P,actionStatus:R,defaultShouldRevalidate:O?!1:a||m.pathname+m.search===p.pathname+p.search||m.search!==p.search||op(ae,Pe)}))}),w=[];return c.forEach((j,A)=>{if(o||!n.some(Ft=>Ft.route.id===j.routeId)||f.has(A))return;let q=Wn(y,j.path,E);if(!q){w.push({key:A,routeId:j.routeId,path:j.path,matches:null,match:null,controller:null});return}let ae=t.fetchers.get(A),Pe=gi(q,j.path),xe=!1;h.has(A)?xe=!1:s.has(A)?(s.delete(A),xe=!0):ae&&ae.state!=="idle"&&ae.data===void 0?xe=a:xe=Yf(Pe,ge({currentUrl:m,currentParams:t.matches[t.matches.length-1].params,nextUrl:p,nextParams:n[n.length-1].params},r,{actionResult:P,actionStatus:R,defaultShouldRevalidate:O?!1:a})),xe&&w.push({key:A,routeId:j.routeId,path:j.path,matches:q,match:Pe,controller:new AbortController})}),[L,w]}function q2(e,t,n){let r=!t||n.route.id!==t.route.id,i=e[n.route.id]===void 0;return r||i}function op(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Yf(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function Y2(e,t,n,r,i,o,l,a){let u=[t,...n.map(s=>s.route.id)].join("-");try{let s=l.get(u);s||(s=e({path:t,matches:n,patch:(f,c)=>{a.aborted||lp(f,c,r,i,o)}}),l.set(u,s)),s&&rg(s)&&await s}finally{l.delete(u)}}function lp(e,t,n,r,i){if(e){var o;let l=r[e];K(l,"No route found to patch children into: routeId = "+e);let a=Gi(t,i,[e,"patch",String(((o=l.children)==null?void 0:o.length)||"0")],r);l.children?l.children.push(...a):l.children=a}else{let l=Gi(t,i,["patch",String(n.length||"0")],r);n.push(...l)}}async function G2(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let i=n[e.id];K(i,"No route found in manifest");let o={};for(let l in r){let u=i[l]!==void 0&&l!=="hasErrorBoundary";br(!u,'Route "'+i.id+'" has a static property "'+l+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+l+'" will be ignored.')),!u&&!g2.has(l)&&(o[l]=r[l])}Object.assign(i,o),Object.assign(i,ge({},t(i),{lazy:void 0}))}async function K2(e){let{matches:t}=e,n=t.filter(i=>i.shouldLoad);return(await Promise.all(n.map(i=>i.resolve()))).reduce((i,o,l)=>Object.assign(i,{[n[l].route.id]:o}),{})}async function Z2(e,t,n,r,i,o,l,a,u,s){let f=o.map(y=>y.route.lazy?G2(y.route,u,a):void 0),c=o.map((y,E)=>{let x=f[E],P=i.some(p=>p.route.id===y.route.id);return ge({},y,{shouldLoad:P,resolve:async p=>(p&&r.method==="GET"&&(y.route.lazy||y.route.loader)&&(P=!0),P?X2(t,r,y,x,p,s):Promise.resolve({type:le.data,result:void 0}))})}),h=await e({matches:c,request:r,params:o[0].params,fetcherKey:l,context:s});try{await Promise.all(f)}catch{}return h}async function X2(e,t,n,r,i,o){let l,a,u=s=>{let f,c=new Promise((E,x)=>f=x);a=()=>f(),t.signal.addEventListener("abort",a);let h=E=>typeof s!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: '+n.route.id+"]"))):s({request:t,params:n.params,context:o},...E!==void 0?[E]:[]),y=(async()=>{try{return{type:"data",result:await(i?i(x=>h(x)):h())}}catch(E){return{type:"error",result:E}}})();return Promise.race([y,c])};try{let s=n.route[e];if(r)if(s){let f,[c]=await Promise.all([u(s).catch(h=>{f=h}),r]);if(f!==void 0)throw f;l=c}else if(await r,s=n.route[e],s)l=await u(s);else if(e==="action"){let f=new URL(t.url),c=f.pathname+f.search;throw Ke(405,{method:t.method,pathname:c,routeId:n.route.id})}else return{type:le.data,result:void 0};else if(s)l=await u(s);else{let f=new URL(t.url),c=f.pathname+f.search;throw Ke(404,{pathname:c})}K(l.result!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(s){return{type:le.error,result:s}}finally{a&&t.signal.removeEventListener("abort",a)}return l}async function J2(e){let{result:t,type:n}=e;if(up(t)){let s;try{let f=t.headers.get("Content-Type");f&&/\bapplication\/json\b/.test(f)?t.body==null?s=null:s=await t.json():s=await t.text()}catch(f){return{type:le.error,error:f}}return n===le.error?{type:le.error,error:new Rl(t.status,t.statusText,s),statusCode:t.status,headers:t.headers}:{type:le.data,data:s,statusCode:t.status,headers:t.headers}}if(n===le.error){if(td(t)){var r;if(t.data instanceof Error){var i;return{type:le.error,error:t.data,statusCode:(i=t.init)==null?void 0:i.status}}t=new Rl(((r=t.init)==null?void 0:r.status)||500,void 0,t.data)}return{type:le.error,error:t,statusCode:ca(t)?t.status:void 0}}if(og(t)){var o,l;return{type:le.deferred,deferredData:t,statusCode:(o=t.init)==null?void 0:o.status,headers:((l=t.init)==null?void 0:l.headers)&&new Headers(t.init.headers)}}if(td(t)){var a,u;return{type:le.data,data:t.data,statusCode:(a=t.init)==null?void 0:a.status,headers:(u=t.init)!=null&&u.headers?new Headers(t.init.headers):void 0}}return{type:le.data,data:t}}function eg(e,t,n,r,i,o){let l=e.headers.get("Location");if(K(l,"Redirects returned/thrown from loaders/actions must have a Location header"),!lc.test(l)){let a=r.slice(0,r.findIndex(u=>u.route.id===n)+1);l=Qu(new URL(t.url),a,i,!0,l,o),e.headers.set("Location",l)}return e}function Gf(e,t,n){if(lc.test(e)){let r=e,i=r.startsWith("//")?new URL(t.protocol+r):new URL(r),o=Gr(i.pathname,n)!=null;if(i.origin===t.origin&&o)return i.pathname+i.search+i.hash}return e}function fr(e,t,n,r){let i=e.createURL(ap(t)).toString(),o={signal:n};if(r&&Ot(r.formMethod)){let{formMethod:l,formEncType:a}=r;o.method=l.toUpperCase(),a==="application/json"?(o.headers=new Headers({"Content-Type":a}),o.body=JSON.stringify(r.json)):a==="text/plain"?o.body=r.text:a==="application/x-www-form-urlencoded"&&r.formData?o.body=qu(r.formData):o.body=r.formData}return new Request(i,o)}function qu(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r=="string"?r:r.name);return t}function Kf(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function tg(e,t,n,r,i){let o={},l=null,a,u=!1,s={},f=n&&dt(n[1])?n[1].error:void 0;return e.forEach(c=>{if(!(c.route.id in t))return;let h=c.route.id,y=t[h];if(K(!Gn(y),"Cannot handle redirect results in processLoaderData"),dt(y)){let E=y.error;f!==void 0&&(E=f,f=void 0),l=l||{};{let x=kr(e,h);l[x.route.id]==null&&(l[x.route.id]=E)}o[h]=void 0,u||(u=!0,a=ca(y.error)?y.error.status:500),y.headers&&(s[h]=y.headers)}else Tn(y)?(r.set(h,y.deferredData),o[h]=y.deferredData.data,y.statusCode!=null&&y.statusCode!==200&&!u&&(a=y.statusCode),y.headers&&(s[h]=y.headers)):(o[h]=y.data,y.statusCode&&y.statusCode!==200&&!u&&(a=y.statusCode),y.headers&&(s[h]=y.headers))}),f!==void 0&&n&&(l={[n[0]]:f},o[n[0]]=void 0),{loaderData:o,errors:l,statusCode:a||200,loaderHeaders:s}}function Zf(e,t,n,r,i,o,l,a){let{loaderData:u,errors:s}=tg(t,r,i,a);return o.forEach(f=>{let{key:c,match:h,controller:y}=f,E=l[c];if(K(E,"Did not find corresponding fetcher result"),!(y&&y.signal.aborted))if(dt(E)){let x=kr(e.matches,h==null?void 0:h.route.id);s&&s[x.route.id]||(s=ge({},s,{[x.route.id]:E.error})),e.fetchers.delete(c)}else if(Gn(E))K(!1,"Unhandled fetcher revalidation redirect");else if(Tn(E))K(!1,"Unhandled fetcher deferred data");else{let x=gn(E.data);e.fetchers.set(c,x)}}),{loaderData:u,errors:s}}function Xf(e,t,n,r){let i=ge({},t);for(let o of n){let l=o.route.id;if(t.hasOwnProperty(l)?t[l]!==void 0&&(i[l]=t[l]):e[l]!==void 0&&o.route.loader&&(i[l]=e[l]),r&&r.hasOwnProperty(l))break}return i}function Jf(e){return e?dt(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function kr(e,t){return(t?e.slice(0,e.findIndex(r=>r.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function ed(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 Ke(e,t){let{pathname:n,routeId:r,method:i,type:o,message:l}=t===void 0?{}:t,a="Unknown Server Error",u="Unknown @remix-run/router error";return e===400?(a="Bad Request",o==="route-discovery"?u='Unable to match URL "'+n+'" - the `unstable_patchRoutesOnNavigation()` '+(`function threw the following error: + */function ge(){return ge=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function br(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function m2(){return Math.random().toString(36).substr(2,8)}function bf(e,t){return{usr:e.state,key:e.key,idx:t}}function Yi(e,t,n,r){return n===void 0&&(n=null),ge({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?jn(t):t,{state:n,key:t&&t.key||r||m2()})}function ir(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 jn(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 v2(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,l=i.history,a=Re.Pop,u=null,s=f();s==null&&(s=0,l.replaceState(ge({},l.state,{idx:s}),""));function f(){return(l.state||{idx:null}).idx}function c(){a=Re.Pop;let P=f(),m=P==null?null:P-s;s=P,u&&u({action:a,location:x.location,delta:m})}function h(P,m){a=Re.Push;let p=Yi(x.location,P,m);s=f()+1;let g=bf(p,s),T=x.createHref(p);try{l.pushState(g,"",T)}catch(R){if(R instanceof DOMException&&R.name==="DataCloneError")throw R;i.location.assign(T)}o&&u&&u({action:a,location:x.location,delta:1})}function y(P,m){a=Re.Replace;let p=Yi(x.location,P,m);s=f();let g=bf(p,s),T=x.createHref(p);l.replaceState(g,"",T),o&&u&&u({action:a,location:x.location,delta:0})}function E(P){let m=i.location.origin!=="null"?i.location.origin:i.location.href,p=typeof P=="string"?P:ir(P);return p=p.replace(/ $/,"%20"),K(m,"No window.location.(origin|href) available to create URL for href: "+p),new URL(p,m)}let x={get action(){return a},get location(){return e(i,l)},listen(P){if(u)throw new Error("A history only accepts one active listener");return i.addEventListener(Bf,c),u=P,()=>{i.removeEventListener(Bf,c),u=null}},createHref(P){return t(i,P)},createURL:E,encodeLocation(P){let m=E(P);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:h,replace:y,go(P){return l.go(P)}};return x}var le;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(le||(le={}));const g2=new Set(["lazy","caseSensitive","path","id","index","children"]);function y2(e){return e.index===!0}function Gi(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((i,o)=>{let l=[...n,String(o)],a=typeof i.id=="string"?i.id:l.join("-");if(K(i.index!==!0||!i.children,"Cannot specify children on an index route"),K(!r[a],'Found a route id collision on id "'+a+`". Route id's must be globally unique within Data Router usages`),y2(i)){let u=ge({},i,t(i),{id:a});return r[a]=u,u}else{let u=ge({},i,t(i),{id:a,children:void 0});return r[a]=u,i.children&&(u.children=Gi(i.children,t,l,r)),u}})}function Wn(e,t,n){return n===void 0&&(n="/"),el(e,t,n,!1)}function el(e,t,n,r){let i=typeof t=="string"?jn(t):t,o=Gr(i.pathname||"/",n);if(o==null)return null;let l=ep(e);S2(l);let a=null;for(let u=0;a==null&&u{let u={relativePath:a===void 0?o.path||"":a,caseSensitive:o.caseSensitive===!0,childrenIndex:l,route:o};u.relativePath.startsWith("/")&&(K(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let s=on([r,u.relativePath]),f=n.concat(u);o.children&&o.children.length>0&&(K(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+s+'".')),ep(o.children,t,f,s)),!(o.path==null&&!o.index)&&t.push({path:s,score:_2(s,o.index),routesMeta:f})};return e.forEach((o,l)=>{var a;if(o.path===""||!((a=o.path)!=null&&a.includes("?")))i(o,l);else for(let u of tp(o.path))i(o,l,u)}),t}function tp(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let l=tp(r.join("/")),a=[];return a.push(...l.map(u=>u===""?o:[o,u].join("/"))),i&&a.push(...l),a.map(u=>e.startsWith("/")&&u===""?"/":u)}function S2(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:R2(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const x2=/^:[\w-]+$/,E2=3,C2=2,T2=1,k2=10,P2=-2,Vf=e=>e==="*";function _2(e,t){let n=e.split("/"),r=n.length;return n.some(Vf)&&(r+=P2),t&&(r+=C2),n.filter(i=>!Vf(i)).reduce((i,o)=>i+(x2.test(o)?E2:o===""?T2:k2),r)}function R2(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function L2(e,t,n){n===void 0&&(n=!1);let{routesMeta:r}=e,i={},o="/",l=[];for(let a=0;a{let{paramName:h,isOptional:y}=f;if(h==="*"){let x=a[c]||"";l=o.slice(0,o.length-x.length).replace(/(.)\/+$/,"$1")}const E=a[c];return y&&!E?s[h]=void 0:s[h]=(E||"").replace(/%2F/g,"/"),s},{}),pathname:o,pathnameBase:l,pattern:e}}function M2(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),br(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,a,u)=>(r.push({paramName:a,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function O2(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return br(!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 Gr(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 N2(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?jn(e):e;return{pathname:n?n.startsWith("/")?n:A2(n,t):t,search:D2(r),hash:z2(i)}}function A2(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Ba(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 np(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function ic(e,t){let n=np(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function oc(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=jn(e):(i=ge({},e),K(!i.pathname||!i.pathname.includes("?"),Ba("?","pathname","search",i)),K(!i.pathname||!i.pathname.includes("#"),Ba("#","pathname","hash",i)),K(!i.search||!i.search.includes("#"),Ba("#","search","hash",i)));let o=e===""||i.pathname==="",l=o?"/":i.pathname,a;if(l==null)a=n;else{let c=t.length-1;if(!r&&l.startsWith("..")){let h=l.split("/");for(;h[0]==="..";)h.shift(),c-=1;i.pathname=h.join("/")}a=c>=0?t[c]:"/"}let u=N2(i,a),s=l&&l!=="/"&&l.endsWith("/"),f=(o||l===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(s||f)&&(u.pathname+="/"),u}const on=e=>e.join("/").replace(/\/\/+/g,"/"),I2=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),D2=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,z2=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class Rl{constructor(t,n,r,i){i===void 0&&(i=!1),this.status=t,this.statusText=n||"",this.internal=i,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function ca(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const rp=["post","put","patch","delete"],F2=new Set(rp),j2=["get",...rp],U2=new Set(j2),$2=new Set([301,302,303,307,308]),H2=new Set([307,308]),ba={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},B2={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ui={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},lc=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,b2=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),ip="remix-router-transitions";function V2(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",r=!n;K(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let i;if(e.mapRouteProperties)i=e.mapRouteProperties;else if(e.detectErrorBoundary){let v=e.detectErrorBoundary;i=S=>({hasErrorBoundary:v(S)})}else i=b2;let o={},l=Gi(e.routes,i,void 0,o),a,u=e.basename||"/",s=e.unstable_dataStrategy||K2,f=e.unstable_patchRoutesOnNavigation,c=ge({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),h=null,y=new Set,E=1e3,x=new Set,P=null,m=null,p=null,g=e.hydrationData!=null,T=Wn(l,e.history.location,u),R=null;if(T==null&&!f){let v=Ke(404,{pathname:e.history.location.pathname}),{matches:S,route:C}=ed(l);T=S,R={[C.id]:v}}T&&!e.hydrationData&&fo(T,l,e.history.location.pathname).active&&(T=null);let O;if(T)if(T.some(v=>v.route.lazy))O=!1;else if(!T.some(v=>v.route.loader))O=!0;else if(c.v7_partialHydration){let v=e.hydrationData?e.hydrationData.loaderData:null,S=e.hydrationData?e.hydrationData.errors:null,C=_=>_.route.loader?typeof _.route.loader=="function"&&_.route.loader.hydrate===!0?!1:v&&v[_.route.id]!==void 0||S&&S[_.route.id]!==void 0:!0;if(S){let _=T.findIndex(D=>S[D.route.id]!==void 0);O=T.slice(0,_+1).every(C)}else O=T.every(C)}else O=e.hydrationData!=null;else if(O=!1,T=[],c.v7_partialHydration){let v=fo(null,l,e.history.location.pathname);v.active&&v.matches&&(T=v.matches)}let L,w={historyAction:e.history.action,location:e.history.location,matches:T,initialized:O,navigation:ba,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||R,fetchers:new Map,blockers:new Map},U=Re.Pop,A=!1,q,ae=!1,Pe=new Map,xe=null,Ft=!1,_t=!1,dn=[],I=new Set,F=new Map,W=0,ue=-1,ce=new Map,tt=new Set,nt=new Map,qt=new Map,Fe=new Set,St=new Map,$n=new Map,Lp=new Map,ao;function Mp(){if(h=e.history.listen(v=>{let{action:S,location:C,delta:_}=v;if(ao){ao(),ao=void 0;return}br($n.size===0||_!=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 D=Sc({currentLocation:w.location,nextLocation:C,historyAction:S});if(D&&_!=null){let B=new Promise(V=>{ao=V});e.history.go(_*-1),so(D,{state:"blocked",location:C,proceed(){so(D,{state:"proceeding",proceed:void 0,reset:void 0,location:C}),B.then(()=>e.history.go(_))},reset(){let V=new Map(w.blockers);V.set(D,ui),qe({blockers:V})}});return}return Hn(S,C)}),n){fg(t,Pe);let v=()=>dg(t,Pe);t.addEventListener("pagehide",v),xe=()=>t.removeEventListener("pagehide",v)}return w.initialized||Hn(Re.Pop,w.location,{initialHydration:!0}),L}function Op(){h&&h(),xe&&xe(),y.clear(),q&&q.abort(),w.fetchers.forEach((v,S)=>uo(S)),w.blockers.forEach((v,S)=>wc(S))}function Np(v){return y.add(v),()=>y.delete(v)}function qe(v,S){S===void 0&&(S={}),w=ge({},w,v);let C=[],_=[];c.v7_fetcherPersist&&w.fetchers.forEach((D,B)=>{D.state==="idle"&&(Fe.has(B)?_.push(B):C.push(B))}),[...y].forEach(D=>D(w,{deletedFetchers:_,unstable_viewTransitionOpts:S.viewTransitionOpts,unstable_flushSync:S.flushSync===!0})),c.v7_fetcherPersist&&(C.forEach(D=>w.fetchers.delete(D)),_.forEach(D=>uo(D)))}function ur(v,S,C){var _,D;let{flushSync:B}=C===void 0?{}:C,V=w.actionData!=null&&w.navigation.formMethod!=null&&Ot(w.navigation.formMethod)&&w.navigation.state==="loading"&&((_=v.state)==null?void 0:_._isRedirect)!==!0,N;S.actionData?Object.keys(S.actionData).length>0?N=S.actionData:N=null:V?N=w.actionData:N=null;let b=S.loaderData?Xf(w.loaderData,S.loaderData,S.matches||[],S.errors):w.loaderData,$=w.blockers;$.size>0&&($=new Map($),$.forEach((re,fe)=>$.set(fe,ui)));let H=A===!0||w.navigation.formMethod!=null&&Ot(w.navigation.formMethod)&&((D=v.state)==null?void 0:D._isRedirect)!==!0;a&&(l=a,a=void 0),Ft||U===Re.Pop||(U===Re.Push?e.history.push(v,v.state):U===Re.Replace&&e.history.replace(v,v.state));let ee;if(U===Re.Pop){let re=Pe.get(w.location.pathname);re&&re.has(v.pathname)?ee={currentLocation:w.location,nextLocation:v}:Pe.has(v.pathname)&&(ee={currentLocation:v,nextLocation:w.location})}else if(ae){let re=Pe.get(w.location.pathname);re?re.add(v.pathname):(re=new Set([v.pathname]),Pe.set(w.location.pathname,re)),ee={currentLocation:w.location,nextLocation:v}}qe(ge({},S,{actionData:N,loaderData:b,historyAction:U,location:v,initialized:!0,navigation:ba,revalidation:"idle",restoreScrollPosition:Ec(v,S.matches||w.matches),preventScrollReset:H,blockers:$}),{viewTransitionOpts:ee,flushSync:B===!0}),U=Re.Pop,A=!1,ae=!1,Ft=!1,_t=!1,dn=[]}async function dc(v,S){if(typeof v=="number"){e.history.go(v);return}let C=Qu(w.location,w.matches,u,c.v7_prependBasename,v,c.v7_relativeSplatPath,S==null?void 0:S.fromRouteId,S==null?void 0:S.relative),{path:_,submission:D,error:B}=Qf(c.v7_normalizeFormMethod,!1,C,S),V=w.location,N=Yi(w.location,_,S&&S.state);N=ge({},N,e.history.encodeLocation(N));let b=S&&S.replace!=null?S.replace:void 0,$=Re.Push;b===!0?$=Re.Replace:b===!1||D!=null&&Ot(D.formMethod)&&D.formAction===w.location.pathname+w.location.search&&($=Re.Replace);let H=S&&"preventScrollReset"in S?S.preventScrollReset===!0:void 0,ee=(S&&S.unstable_flushSync)===!0,re=Sc({currentLocation:V,nextLocation:N,historyAction:$});if(re){so(re,{state:"blocked",location:N,proceed(){so(re,{state:"proceeding",proceed:void 0,reset:void 0,location:N}),dc(v,S)},reset(){let fe=new Map(w.blockers);fe.set(re,ui),qe({blockers:fe})}});return}return await Hn($,N,{submission:D,pendingError:B,preventScrollReset:H,replace:S&&S.replace,enableViewTransition:S&&S.unstable_viewTransition,flushSync:ee})}function Ap(){if(da(),qe({revalidation:"loading"}),w.navigation.state!=="submitting"){if(w.navigation.state==="idle"){Hn(w.historyAction,w.location,{startUninterruptedRevalidation:!0});return}Hn(U||w.historyAction,w.navigation.location,{overrideNavigation:w.navigation,enableViewTransition:ae===!0})}}async function Hn(v,S,C){q&&q.abort(),q=null,U=v,Ft=(C&&C.startUninterruptedRevalidation)===!0,bp(w.location,w.matches),A=(C&&C.preventScrollReset)===!0,ae=(C&&C.enableViewTransition)===!0;let _=a||l,D=C&&C.overrideNavigation,B=Wn(_,S,u),V=(C&&C.flushSync)===!0,N=fo(B,_,S.pathname);if(N.active&&N.matches&&(B=N.matches),!B){let{error:X,notFoundMatches:Ae,route:_e}=pa(S.pathname);ur(S,{matches:Ae,loaderData:{},errors:{[_e.id]:X}},{flushSync:V});return}if(w.initialized&&!_t&&ng(w.location,S)&&!(C&&C.submission&&Ot(C.submission.formMethod))){ur(S,{matches:B},{flushSync:V});return}q=new AbortController;let b=fr(e.history,S,q.signal,C&&C.submission),$;if(C&&C.pendingError)$=[kr(B).route.id,{type:le.error,error:C.pendingError}];else if(C&&C.submission&&Ot(C.submission.formMethod)){let X=await Ip(b,S,C.submission,B,N.active,{replace:C.replace,flushSync:V});if(X.shortCircuited)return;if(X.pendingActionResult){let[Ae,_e]=X.pendingActionResult;if(dt(_e)&&ca(_e.error)&&_e.error.status===404){q=null,ur(S,{matches:X.matches,loaderData:{},errors:{[Ae]:_e.error}});return}}B=X.matches||B,$=X.pendingActionResult,D=Va(S,C.submission),V=!1,N.active=!1,b=fr(e.history,b.url,b.signal)}let{shortCircuited:H,matches:ee,loaderData:re,errors:fe}=await Dp(b,S,B,N.active,D,C&&C.submission,C&&C.fetcherSubmission,C&&C.replace,C&&C.initialHydration===!0,V,$);H||(q=null,ur(S,ge({matches:ee||B},Jf($),{loaderData:re,errors:fe})))}async function Ip(v,S,C,_,D,B){B===void 0&&(B={}),da();let V=sg(S,C);if(qe({navigation:V},{flushSync:B.flushSync===!0}),D){let $=await po(_,S.pathname,v.signal);if($.type==="aborted")return{shortCircuited:!0};if($.type==="error"){let{boundaryId:H,error:ee}=co(S.pathname,$);return{matches:$.partialMatches,pendingActionResult:[H,{type:le.error,error:ee}]}}else if($.matches)_=$.matches;else{let{notFoundMatches:H,error:ee,route:re}=pa(S.pathname);return{matches:H,pendingActionResult:[re.id,{type:le.error,error:ee}]}}}let N,b=gi(_,S);if(!b.route.action&&!b.route.lazy)N={type:le.error,error:Ke(405,{method:v.method,pathname:S.pathname,routeId:b.route.id})};else if(N=(await Zr("action",w,v,[b],_,null))[b.route.id],v.signal.aborted)return{shortCircuited:!0};if(Gn(N)){let $;return B&&B.replace!=null?$=B.replace:$=Gf(N.response.headers.get("Location"),new URL(v.url),u)===w.location.pathname+w.location.search,await Bn(v,N,!0,{submission:C,replace:$}),{shortCircuited:!0}}if(Tn(N))throw Ke(400,{type:"defer-action"});if(dt(N)){let $=kr(_,b.route.id);return(B&&B.replace)!==!0&&(U=Re.Push),{matches:_,pendingActionResult:[$.route.id,N]}}return{matches:_,pendingActionResult:[b.route.id,N]}}async function Dp(v,S,C,_,D,B,V,N,b,$,H){let ee=D||Va(S,B),re=B||V||nd(ee),fe=!Ft&&(!c.v7_partialHydration||!b);if(_){if(fe){let Ee=pc(H);qe(ge({navigation:ee},Ee!==void 0?{actionData:Ee}:{}),{flushSync:$})}let G=await po(C,S.pathname,v.signal);if(G.type==="aborted")return{shortCircuited:!0};if(G.type==="error"){let{boundaryId:Ee,error:ct}=co(S.pathname,G);return{matches:G.partialMatches,loaderData:{},errors:{[Ee]:ct}}}else if(G.matches)C=G.matches;else{let{error:Ee,notFoundMatches:ct,route:Ce}=pa(S.pathname);return{matches:ct,loaderData:{},errors:{[Ce.id]:Ee}}}}let X=a||l,[Ae,_e]=qf(e.history,w,C,re,S,c.v7_partialHydration&&b===!0,c.v7_skipActionErrorRevalidation,_t,dn,I,Fe,nt,tt,X,u,H);if(ha(G=>!(C&&C.some(Ee=>Ee.route.id===G))||Ae&&Ae.some(Ee=>Ee.route.id===G)),ue=++W,Ae.length===0&&_e.length===0){let G=gc();return ur(S,ge({matches:C,loaderData:{},errors:H&&dt(H[1])?{[H[0]]:H[1].error}:null},Jf(H),G?{fetchers:new Map(w.fetchers)}:{}),{flushSync:$}),{shortCircuited:!0}}if(fe){let G={};if(!_){G.navigation=ee;let Ee=pc(H);Ee!==void 0&&(G.actionData=Ee)}_e.length>0&&(G.fetchers=zp(_e)),qe(G,{flushSync:$})}_e.forEach(G=>{F.has(G.key)&&hn(G.key),G.controller&&F.set(G.key,G.controller)});let Xr=()=>_e.forEach(G=>hn(G.key));q&&q.signal.addEventListener("abort",Xr);let{loaderResults:Gt,fetcherResults:sr}=await hc(w,C,Ae,_e,v);if(v.signal.aborted)return{shortCircuited:!0};q&&q.signal.removeEventListener("abort",Xr),_e.forEach(G=>F.delete(G.key));let mn=zo(Gt);if(mn)return await Bn(v,mn.result,!0,{replace:N}),{shortCircuited:!0};if(mn=zo(sr),mn)return tt.add(mn.key),await Bn(v,mn.result,!0,{replace:N}),{shortCircuited:!0};let{loaderData:ho,errors:Kt}=Zf(w,C,Ae,Gt,H,_e,sr,St);St.forEach((G,Ee)=>{G.subscribe(ct=>{(ct||G.done)&&St.delete(Ee)})}),c.v7_partialHydration&&b&&w.errors&&Object.entries(w.errors).filter(G=>{let[Ee]=G;return!Ae.some(ct=>ct.route.id===Ee)}).forEach(G=>{let[Ee,ct]=G;Kt=Object.assign(Kt||{},{[Ee]:ct})});let mo=gc(),vo=yc(ue),go=mo||vo||_e.length>0;return ge({matches:C,loaderData:ho,errors:Kt},go?{fetchers:new Map(w.fetchers)}:{})}function pc(v){if(v&&!dt(v[1]))return{[v[0]]:v[1].data};if(w.actionData)return Object.keys(w.actionData).length===0?null:w.actionData}function zp(v){return v.forEach(S=>{let C=w.fetchers.get(S.key),_=si(void 0,C?C.data:void 0);w.fetchers.set(S.key,_)}),new Map(w.fetchers)}function Fp(v,S,C,_){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.");F.has(v)&&hn(v);let D=(_&&_.unstable_flushSync)===!0,B=a||l,V=Qu(w.location,w.matches,u,c.v7_prependBasename,C,c.v7_relativeSplatPath,S,_==null?void 0:_.relative),N=Wn(B,V,u),b=fo(N,B,V);if(b.active&&b.matches&&(N=b.matches),!N){Yt(v,S,Ke(404,{pathname:V}),{flushSync:D});return}let{path:$,submission:H,error:ee}=Qf(c.v7_normalizeFormMethod,!0,V,_);if(ee){Yt(v,S,ee,{flushSync:D});return}let re=gi(N,$);if(A=(_&&_.preventScrollReset)===!0,H&&Ot(H.formMethod)){jp(v,S,$,re,N,b.active,D,H);return}nt.set(v,{routeId:S,path:$}),Up(v,S,$,re,N,b.active,D,H)}async function jp(v,S,C,_,D,B,V,N){da(),nt.delete(v);function b(Ce){if(!Ce.route.action&&!Ce.route.lazy){let Zt=Ke(405,{method:N.formMethod,pathname:C,routeId:S});return Yt(v,S,Zt,{flushSync:V}),!0}return!1}if(!B&&b(_))return;let $=w.fetchers.get(v);pn(v,cg(N,$),{flushSync:V});let H=new AbortController,ee=fr(e.history,C,H.signal,N);if(B){let Ce=await po(D,C,ee.signal);if(Ce.type==="aborted")return;if(Ce.type==="error"){let{error:Zt}=co(C,Ce);Yt(v,S,Zt,{flushSync:V});return}else if(Ce.matches){if(D=Ce.matches,_=gi(D,C),b(_))return}else{Yt(v,S,Ke(404,{pathname:C}),{flushSync:V});return}}F.set(v,H);let re=W,X=(await Zr("action",w,ee,[_],D,v))[_.route.id];if(ee.signal.aborted){F.get(v)===H&&F.delete(v);return}if(c.v7_fetcherPersist&&Fe.has(v)){if(Gn(X)||dt(X)){pn(v,gn(void 0));return}}else{if(Gn(X))if(F.delete(v),ue>re){pn(v,gn(void 0));return}else return tt.add(v),pn(v,si(N)),Bn(ee,X,!1,{fetcherSubmission:N});if(dt(X)){Yt(v,S,X.error);return}}if(Tn(X))throw Ke(400,{type:"defer-action"});let Ae=w.navigation.location||w.location,_e=fr(e.history,Ae,H.signal),Xr=a||l,Gt=w.navigation.state!=="idle"?Wn(Xr,w.navigation.location,u):w.matches;K(Gt,"Didn't find any matches after fetcher action");let sr=++W;ce.set(v,sr);let mn=si(N,X.data);w.fetchers.set(v,mn);let[ho,Kt]=qf(e.history,w,Gt,N,Ae,!1,c.v7_skipActionErrorRevalidation,_t,dn,I,Fe,nt,tt,Xr,u,[_.route.id,X]);Kt.filter(Ce=>Ce.key!==v).forEach(Ce=>{let Zt=Ce.key,Tc=w.fetchers.get(Zt),Qp=si(void 0,Tc?Tc.data:void 0);w.fetchers.set(Zt,Qp),F.has(Zt)&&hn(Zt),Ce.controller&&F.set(Zt,Ce.controller)}),qe({fetchers:new Map(w.fetchers)});let mo=()=>Kt.forEach(Ce=>hn(Ce.key));H.signal.addEventListener("abort",mo);let{loaderResults:vo,fetcherResults:go}=await hc(w,Gt,ho,Kt,_e);if(H.signal.aborted)return;H.signal.removeEventListener("abort",mo),ce.delete(v),F.delete(v),Kt.forEach(Ce=>F.delete(Ce.key));let G=zo(vo);if(G)return Bn(_e,G.result,!1);if(G=zo(go),G)return tt.add(G.key),Bn(_e,G.result,!1);let{loaderData:Ee,errors:ct}=Zf(w,Gt,ho,vo,void 0,Kt,go,St);if(w.fetchers.has(v)){let Ce=gn(X.data);w.fetchers.set(v,Ce)}yc(sr),w.navigation.state==="loading"&&sr>ue?(K(U,"Expected pending action"),q&&q.abort(),ur(w.navigation.location,{matches:Gt,loaderData:Ee,errors:ct,fetchers:new Map(w.fetchers)})):(qe({errors:ct,loaderData:Xf(w.loaderData,Ee,Gt,ct),fetchers:new Map(w.fetchers)}),_t=!1)}async function Up(v,S,C,_,D,B,V,N){let b=w.fetchers.get(v);pn(v,si(N,b?b.data:void 0),{flushSync:V});let $=new AbortController,H=fr(e.history,C,$.signal);if(B){let X=await po(D,C,H.signal);if(X.type==="aborted")return;if(X.type==="error"){let{error:Ae}=co(C,X);Yt(v,S,Ae,{flushSync:V});return}else if(X.matches)D=X.matches,_=gi(D,C);else{Yt(v,S,Ke(404,{pathname:C}),{flushSync:V});return}}F.set(v,$);let ee=W,fe=(await Zr("loader",w,H,[_],D,v))[_.route.id];if(Tn(fe)&&(fe=await ac(fe,H.signal,!0)||fe),F.get(v)===$&&F.delete(v),!H.signal.aborted){if(Fe.has(v)){pn(v,gn(void 0));return}if(Gn(fe))if(ue>ee){pn(v,gn(void 0));return}else{tt.add(v),await Bn(H,fe,!1);return}if(dt(fe)){Yt(v,S,fe.error);return}K(!Tn(fe),"Unhandled fetcher deferred data"),pn(v,gn(fe.data))}}async function Bn(v,S,C,_){let{submission:D,fetcherSubmission:B,replace:V}=_===void 0?{}:_;S.response.headers.has("X-Remix-Revalidate")&&(_t=!0);let N=S.response.headers.get("Location");K(N,"Expected a Location header on the redirect Response"),N=Gf(N,new URL(v.url),u);let b=Yi(w.location,N,{_isRedirect:!0});if(n){let X=!1;if(S.response.headers.has("X-Remix-Reload-Document"))X=!0;else if(lc.test(N)){const Ae=e.history.createURL(N);X=Ae.origin!==t.location.origin||Gr(Ae.pathname,u)==null}if(X){V?t.location.replace(N):t.location.assign(N);return}}q=null;let $=V===!0||S.response.headers.has("X-Remix-Replace")?Re.Replace:Re.Push,{formMethod:H,formAction:ee,formEncType:re}=w.navigation;!D&&!B&&H&&ee&&re&&(D=nd(w.navigation));let fe=D||B;if(H2.has(S.response.status)&&fe&&Ot(fe.formMethod))await Hn($,b,{submission:ge({},fe,{formAction:N}),preventScrollReset:A,enableViewTransition:C?ae:void 0});else{let X=Va(b,D);await Hn($,b,{overrideNavigation:X,fetcherSubmission:B,preventScrollReset:A,enableViewTransition:C?ae:void 0})}}async function Zr(v,S,C,_,D,B){let V,N={};try{V=await Z2(s,v,S,C,_,D,B,o,i)}catch(b){return _.forEach($=>{N[$.route.id]={type:le.error,error:b}}),N}for(let[b,$]of Object.entries(V))if(ig($)){let H=$.result;N[b]={type:le.redirect,response:eg(H,C,b,D,u,c.v7_relativeSplatPath)}}else N[b]=await J2($);return N}async function hc(v,S,C,_,D){let B=v.matches,V=Zr("loader",v,D,C,S,null),N=Promise.all(_.map(async H=>{if(H.matches&&H.match&&H.controller){let re=(await Zr("loader",v,fr(e.history,H.path,H.controller.signal),[H.match],H.matches,H.key))[H.match.route.id];return{[H.key]:re}}else return Promise.resolve({[H.key]:{type:le.error,error:Ke(404,{pathname:H.path})}})})),b=await V,$=(await N).reduce((H,ee)=>Object.assign(H,ee),{});return await Promise.all([ag(S,b,D.signal,B,v.loaderData),ug(S,$,_)]),{loaderResults:b,fetcherResults:$}}function da(){_t=!0,dn.push(...ha()),nt.forEach((v,S)=>{F.has(S)&&(I.add(S),hn(S))})}function pn(v,S,C){C===void 0&&(C={}),w.fetchers.set(v,S),qe({fetchers:new Map(w.fetchers)},{flushSync:(C&&C.flushSync)===!0})}function Yt(v,S,C,_){_===void 0&&(_={});let D=kr(w.matches,S);uo(v),qe({errors:{[D.route.id]:C},fetchers:new Map(w.fetchers)},{flushSync:(_&&_.flushSync)===!0})}function mc(v){return c.v7_fetcherPersist&&(qt.set(v,(qt.get(v)||0)+1),Fe.has(v)&&Fe.delete(v)),w.fetchers.get(v)||B2}function uo(v){let S=w.fetchers.get(v);F.has(v)&&!(S&&S.state==="loading"&&ce.has(v))&&hn(v),nt.delete(v),ce.delete(v),tt.delete(v),Fe.delete(v),I.delete(v),w.fetchers.delete(v)}function $p(v){if(c.v7_fetcherPersist){let S=(qt.get(v)||0)-1;S<=0?(qt.delete(v),Fe.add(v)):qt.set(v,S)}else uo(v);qe({fetchers:new Map(w.fetchers)})}function hn(v){let S=F.get(v);K(S,"Expected fetch controller: "+v),S.abort(),F.delete(v)}function vc(v){for(let S of v){let C=mc(S),_=gn(C.data);w.fetchers.set(S,_)}}function gc(){let v=[],S=!1;for(let C of tt){let _=w.fetchers.get(C);K(_,"Expected fetcher: "+C),_.state==="loading"&&(tt.delete(C),v.push(C),S=!0)}return vc(v),S}function yc(v){let S=[];for(let[C,_]of ce)if(_0}function Hp(v,S){let C=w.blockers.get(v)||ui;return $n.get(v)!==S&&$n.set(v,S),C}function wc(v){w.blockers.delete(v),$n.delete(v)}function so(v,S){let C=w.blockers.get(v)||ui;K(C.state==="unblocked"&&S.state==="blocked"||C.state==="blocked"&&S.state==="blocked"||C.state==="blocked"&&S.state==="proceeding"||C.state==="blocked"&&S.state==="unblocked"||C.state==="proceeding"&&S.state==="unblocked","Invalid blocker state transition: "+C.state+" -> "+S.state);let _=new Map(w.blockers);_.set(v,S),qe({blockers:_})}function Sc(v){let{currentLocation:S,nextLocation:C,historyAction:_}=v;if($n.size===0)return;$n.size>1&&br(!1,"A router only supports one blocker at a time");let D=Array.from($n.entries()),[B,V]=D[D.length-1],N=w.blockers.get(B);if(!(N&&N.state==="proceeding")&&V({currentLocation:S,nextLocation:C,historyAction:_}))return B}function pa(v){let S=Ke(404,{pathname:v}),C=a||l,{matches:_,route:D}=ed(C);return ha(),{notFoundMatches:_,route:D,error:S}}function co(v,S){return{boundaryId:kr(S.partialMatches).route.id,error:Ke(400,{type:"route-discovery",pathname:v,message:S.error!=null&&"message"in S.error?S.error:String(S.error)})}}function ha(v){let S=[];return St.forEach((C,_)=>{(!v||v(_))&&(C.cancel(),S.push(_),St.delete(_))}),S}function Bp(v,S,C){if(P=v,p=S,m=C||null,!g&&w.navigation===ba){g=!0;let _=Ec(w.location,w.matches);_!=null&&qe({restoreScrollPosition:_})}return()=>{P=null,p=null,m=null}}function xc(v,S){return m&&m(v,S.map(_=>w2(_,w.loaderData)))||v.key}function bp(v,S){if(P&&p){let C=xc(v,S);P[C]=p()}}function Ec(v,S){if(P){let C=xc(v,S),_=P[C];if(typeof _=="number")return _}return null}function fo(v,S,C){if(f){if(x.has(C))return{active:!1,matches:v};if(v){if(Object.keys(v[0].params).length>0)return{active:!0,matches:el(S,C,u,!0)}}else return{active:!0,matches:el(S,C,u,!0)||[]}}return{active:!1,matches:null}}async function po(v,S,C){let _=v;for(;;){let D=a==null,B=a||l;try{await Y2(f,S,_,B,o,i,Lp,C)}catch(b){return{type:"error",error:b,partialMatches:_}}finally{D&&(l=[...l])}if(C.aborted)return{type:"aborted"};let V=Wn(B,S,u);if(V)return Cc(S,x),{type:"success",matches:V};let N=el(B,S,u,!0);if(!N||_.length===N.length&&_.every((b,$)=>b.route.id===N[$].route.id))return Cc(S,x),{type:"success",matches:null};_=N}}function Cc(v,S){if(S.size>=E){let C=S.values().next().value;S.delete(C)}S.add(v)}function Vp(v){o={},a=Gi(v,i,void 0,o)}function Wp(v,S){let C=a==null;lp(v,S,a||l,o,i),C&&(l=[...l],qe({}))}return L={get basename(){return u},get future(){return c},get state(){return w},get routes(){return l},get window(){return t},initialize:Mp,subscribe:Np,enableScrollRestoration:Bp,navigate:dc,fetch:Fp,revalidate:Ap,createHref:v=>e.history.createHref(v),encodeLocation:v=>e.history.encodeLocation(v),getFetcher:mc,deleteFetcher:$p,dispose:Op,getBlocker:Hp,deleteBlocker:wc,patchRoutes:Wp,_internalFetchControllers:F,_internalActiveDeferreds:St,_internalSetRoutes:Vp},L}function W2(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function Qu(e,t,n,r,i,o,l,a){let u,s;if(l){u=[];for(let c of t)if(u.push(c),c.route.id===l){s=c;break}}else u=t,s=t[t.length-1];let f=oc(i||".",ic(u,o),Gr(e.pathname,n)||e.pathname,a==="path");return i==null&&(f.search=e.search,f.hash=e.hash),(i==null||i===""||i===".")&&s&&s.route.index&&!uc(f.search)&&(f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(f.pathname=f.pathname==="/"?n:on([n,f.pathname])),ir(f)}function Qf(e,t,n,r){if(!r||!W2(r))return{path:n};if(r.formMethod&&!lg(r.formMethod))return{path:n,error:Ke(405,{method:r.formMethod})};let i=()=>({path:n,error:Ke(400,{type:"invalid-body"})}),o=r.formMethod||"get",l=e?o.toUpperCase():o.toLowerCase(),a=ap(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!Ot(l))return i();let h=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((y,E)=>{let[x,P]=E;return""+y+x+"="+P+` +`},""):String(r.body);return{path:n,submission:{formMethod:l,formAction:a,formEncType:r.formEncType,formData:void 0,json:void 0,text:h}}}else if(r.formEncType==="application/json"){if(!Ot(l))return i();try{let h=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:l,formAction:a,formEncType:r.formEncType,formData:void 0,json:h,text:void 0}}}catch{return i()}}}K(typeof FormData=="function","FormData is not available in this environment");let u,s;if(r.formData)u=qu(r.formData),s=r.formData;else if(r.body instanceof FormData)u=qu(r.body),s=r.body;else if(r.body instanceof URLSearchParams)u=r.body,s=Kf(u);else if(r.body==null)u=new URLSearchParams,s=new FormData;else try{u=new URLSearchParams(r.body),s=Kf(u)}catch{return i()}let f={formMethod:l,formAction:a,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:s,json:void 0,text:void 0};if(Ot(f.formMethod))return{path:n,submission:f};let c=jn(n);return t&&c.search&&uc(c.search)&&u.append("index",""),c.search="?"+u,{path:ir(c),submission:f}}function Q2(e,t){let n=e;if(t){let r=e.findIndex(i=>i.route.id===t);r>=0&&(n=e.slice(0,r))}return n}function qf(e,t,n,r,i,o,l,a,u,s,f,c,h,y,E,x){let P=x?dt(x[1])?x[1].error:x[1].data:void 0,m=e.createURL(t.location),p=e.createURL(i),g=x&&dt(x[1])?x[0]:void 0,T=g?Q2(n,g):n,R=x?x[1].statusCode:void 0,O=l&&R&&R>=400,L=T.filter((U,A)=>{let{route:q}=U;if(q.lazy)return!0;if(q.loader==null)return!1;if(o)return typeof q.loader!="function"||q.loader.hydrate?!0:t.loaderData[q.id]===void 0&&(!t.errors||t.errors[q.id]===void 0);if(q2(t.loaderData,t.matches[A],U)||u.some(xe=>xe===U.route.id))return!0;let ae=t.matches[A],Pe=U;return Yf(U,ge({currentUrl:m,currentParams:ae.params,nextUrl:p,nextParams:Pe.params},r,{actionResult:P,actionStatus:R,defaultShouldRevalidate:O?!1:a||m.pathname+m.search===p.pathname+p.search||m.search!==p.search||op(ae,Pe)}))}),w=[];return c.forEach((U,A)=>{if(o||!n.some(Ft=>Ft.route.id===U.routeId)||f.has(A))return;let q=Wn(y,U.path,E);if(!q){w.push({key:A,routeId:U.routeId,path:U.path,matches:null,match:null,controller:null});return}let ae=t.fetchers.get(A),Pe=gi(q,U.path),xe=!1;h.has(A)?xe=!1:s.has(A)?(s.delete(A),xe=!0):ae&&ae.state!=="idle"&&ae.data===void 0?xe=a:xe=Yf(Pe,ge({currentUrl:m,currentParams:t.matches[t.matches.length-1].params,nextUrl:p,nextParams:n[n.length-1].params},r,{actionResult:P,actionStatus:R,defaultShouldRevalidate:O?!1:a})),xe&&w.push({key:A,routeId:U.routeId,path:U.path,matches:q,match:Pe,controller:new AbortController})}),[L,w]}function q2(e,t,n){let r=!t||n.route.id!==t.route.id,i=e[n.route.id]===void 0;return r||i}function op(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Yf(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function Y2(e,t,n,r,i,o,l,a){let u=[t,...n.map(s=>s.route.id)].join("-");try{let s=l.get(u);s||(s=e({path:t,matches:n,patch:(f,c)=>{a.aborted||lp(f,c,r,i,o)}}),l.set(u,s)),s&&rg(s)&&await s}finally{l.delete(u)}}function lp(e,t,n,r,i){if(e){var o;let l=r[e];K(l,"No route found to patch children into: routeId = "+e);let a=Gi(t,i,[e,"patch",String(((o=l.children)==null?void 0:o.length)||"0")],r);l.children?l.children.push(...a):l.children=a}else{let l=Gi(t,i,["patch",String(n.length||"0")],r);n.push(...l)}}async function G2(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let i=n[e.id];K(i,"No route found in manifest");let o={};for(let l in r){let u=i[l]!==void 0&&l!=="hasErrorBoundary";br(!u,'Route "'+i.id+'" has a static property "'+l+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+l+'" will be ignored.')),!u&&!g2.has(l)&&(o[l]=r[l])}Object.assign(i,o),Object.assign(i,ge({},t(i),{lazy:void 0}))}async function K2(e){let{matches:t}=e,n=t.filter(i=>i.shouldLoad);return(await Promise.all(n.map(i=>i.resolve()))).reduce((i,o,l)=>Object.assign(i,{[n[l].route.id]:o}),{})}async function Z2(e,t,n,r,i,o,l,a,u,s){let f=o.map(y=>y.route.lazy?G2(y.route,u,a):void 0),c=o.map((y,E)=>{let x=f[E],P=i.some(p=>p.route.id===y.route.id);return ge({},y,{shouldLoad:P,resolve:async p=>(p&&r.method==="GET"&&(y.route.lazy||y.route.loader)&&(P=!0),P?X2(t,r,y,x,p,s):Promise.resolve({type:le.data,result:void 0}))})}),h=await e({matches:c,request:r,params:o[0].params,fetcherKey:l,context:s});try{await Promise.all(f)}catch{}return h}async function X2(e,t,n,r,i,o){let l,a,u=s=>{let f,c=new Promise((E,x)=>f=x);a=()=>f(),t.signal.addEventListener("abort",a);let h=E=>typeof s!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: '+n.route.id+"]"))):s({request:t,params:n.params,context:o},...E!==void 0?[E]:[]),y=(async()=>{try{return{type:"data",result:await(i?i(x=>h(x)):h())}}catch(E){return{type:"error",result:E}}})();return Promise.race([y,c])};try{let s=n.route[e];if(r)if(s){let f,[c]=await Promise.all([u(s).catch(h=>{f=h}),r]);if(f!==void 0)throw f;l=c}else if(await r,s=n.route[e],s)l=await u(s);else if(e==="action"){let f=new URL(t.url),c=f.pathname+f.search;throw Ke(405,{method:t.method,pathname:c,routeId:n.route.id})}else return{type:le.data,result:void 0};else if(s)l=await u(s);else{let f=new URL(t.url),c=f.pathname+f.search;throw Ke(404,{pathname:c})}K(l.result!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(s){return{type:le.error,result:s}}finally{a&&t.signal.removeEventListener("abort",a)}return l}async function J2(e){let{result:t,type:n}=e;if(up(t)){let s;try{let f=t.headers.get("Content-Type");f&&/\bapplication\/json\b/.test(f)?t.body==null?s=null:s=await t.json():s=await t.text()}catch(f){return{type:le.error,error:f}}return n===le.error?{type:le.error,error:new Rl(t.status,t.statusText,s),statusCode:t.status,headers:t.headers}:{type:le.data,data:s,statusCode:t.status,headers:t.headers}}if(n===le.error){if(td(t)){var r;if(t.data instanceof Error){var i;return{type:le.error,error:t.data,statusCode:(i=t.init)==null?void 0:i.status}}t=new Rl(((r=t.init)==null?void 0:r.status)||500,void 0,t.data)}return{type:le.error,error:t,statusCode:ca(t)?t.status:void 0}}if(og(t)){var o,l;return{type:le.deferred,deferredData:t,statusCode:(o=t.init)==null?void 0:o.status,headers:((l=t.init)==null?void 0:l.headers)&&new Headers(t.init.headers)}}if(td(t)){var a,u;return{type:le.data,data:t.data,statusCode:(a=t.init)==null?void 0:a.status,headers:(u=t.init)!=null&&u.headers?new Headers(t.init.headers):void 0}}return{type:le.data,data:t}}function eg(e,t,n,r,i,o){let l=e.headers.get("Location");if(K(l,"Redirects returned/thrown from loaders/actions must have a Location header"),!lc.test(l)){let a=r.slice(0,r.findIndex(u=>u.route.id===n)+1);l=Qu(new URL(t.url),a,i,!0,l,o),e.headers.set("Location",l)}return e}function Gf(e,t,n){if(lc.test(e)){let r=e,i=r.startsWith("//")?new URL(t.protocol+r):new URL(r),o=Gr(i.pathname,n)!=null;if(i.origin===t.origin&&o)return i.pathname+i.search+i.hash}return e}function fr(e,t,n,r){let i=e.createURL(ap(t)).toString(),o={signal:n};if(r&&Ot(r.formMethod)){let{formMethod:l,formEncType:a}=r;o.method=l.toUpperCase(),a==="application/json"?(o.headers=new Headers({"Content-Type":a}),o.body=JSON.stringify(r.json)):a==="text/plain"?o.body=r.text:a==="application/x-www-form-urlencoded"&&r.formData?o.body=qu(r.formData):o.body=r.formData}return new Request(i,o)}function qu(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r=="string"?r:r.name);return t}function Kf(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function tg(e,t,n,r,i){let o={},l=null,a,u=!1,s={},f=n&&dt(n[1])?n[1].error:void 0;return e.forEach(c=>{if(!(c.route.id in t))return;let h=c.route.id,y=t[h];if(K(!Gn(y),"Cannot handle redirect results in processLoaderData"),dt(y)){let E=y.error;f!==void 0&&(E=f,f=void 0),l=l||{};{let x=kr(e,h);l[x.route.id]==null&&(l[x.route.id]=E)}o[h]=void 0,u||(u=!0,a=ca(y.error)?y.error.status:500),y.headers&&(s[h]=y.headers)}else Tn(y)?(r.set(h,y.deferredData),o[h]=y.deferredData.data,y.statusCode!=null&&y.statusCode!==200&&!u&&(a=y.statusCode),y.headers&&(s[h]=y.headers)):(o[h]=y.data,y.statusCode&&y.statusCode!==200&&!u&&(a=y.statusCode),y.headers&&(s[h]=y.headers))}),f!==void 0&&n&&(l={[n[0]]:f},o[n[0]]=void 0),{loaderData:o,errors:l,statusCode:a||200,loaderHeaders:s}}function Zf(e,t,n,r,i,o,l,a){let{loaderData:u,errors:s}=tg(t,r,i,a);return o.forEach(f=>{let{key:c,match:h,controller:y}=f,E=l[c];if(K(E,"Did not find corresponding fetcher result"),!(y&&y.signal.aborted))if(dt(E)){let x=kr(e.matches,h==null?void 0:h.route.id);s&&s[x.route.id]||(s=ge({},s,{[x.route.id]:E.error})),e.fetchers.delete(c)}else if(Gn(E))K(!1,"Unhandled fetcher revalidation redirect");else if(Tn(E))K(!1,"Unhandled fetcher deferred data");else{let x=gn(E.data);e.fetchers.set(c,x)}}),{loaderData:u,errors:s}}function Xf(e,t,n,r){let i=ge({},t);for(let o of n){let l=o.route.id;if(t.hasOwnProperty(l)?t[l]!==void 0&&(i[l]=t[l]):e[l]!==void 0&&o.route.loader&&(i[l]=e[l]),r&&r.hasOwnProperty(l))break}return i}function Jf(e){return e?dt(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function kr(e,t){return(t?e.slice(0,e.findIndex(r=>r.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function ed(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 Ke(e,t){let{pathname:n,routeId:r,method:i,type:o,message:l}=t===void 0?{}:t,a="Unknown Server Error",u="Unknown @remix-run/router error";return e===400?(a="Bad Request",o==="route-discovery"?u='Unable to match URL "'+n+'" - the `unstable_patchRoutesOnNavigation()` '+(`function threw the following error: `+l):i&&n&&r?u="You made a "+i+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":o==="defer-action"?u="defer() is not supported in actions":o==="invalid-body"&&(u="Unable to encode submission body")):e===403?(a="Forbidden",u='Route "'+r+'" does not match URL "'+n+'"'):e===404?(a="Not Found",u='No route matches URL "'+n+'"'):e===405&&(a="Method Not Allowed",i&&n&&r?u="You made a "+i.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":i&&(u='Invalid request method "'+i.toUpperCase()+'"')),new Rl(e||500,a,new Error(u),!0)}function zo(e){let t=Object.entries(e);for(let n=t.length-1;n>=0;n--){let[r,i]=t[n];if(Gn(i))return{key:r,result:i}}}function ap(e){let t=typeof e=="string"?jn(e):e;return ir(ge({},t,{hash:""}))}function ng(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function rg(e){return typeof e=="object"&&e!=null&&"then"in e}function ig(e){return up(e.result)&&$2.has(e.result.status)}function Tn(e){return e.type===le.deferred}function dt(e){return e.type===le.error}function Gn(e){return(e&&e.type)===le.redirect}function td(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function og(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 up(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function lg(e){return U2.has(e.toLowerCase())}function Ot(e){return F2.has(e.toLowerCase())}async function ag(e,t,n,r,i){let o=Object.entries(t);for(let l=0;l(h==null?void 0:h.route.id)===a);if(!s)continue;let f=r.find(h=>h.route.id===s.route.id),c=f!=null&&!op(f,s)&&(i&&i[s.route.id])!==void 0;Tn(u)&&c&&await ac(u,n,!1).then(h=>{h&&(t[a]=h)})}}async function ug(e,t,n){for(let r=0;r(s==null?void 0:s.route.id)===o)&&Tn(a)&&(K(l,"Expected an AbortController for revalidating fetcher deferred result"),await ac(a,l.signal,!0).then(s=>{s&&(t[i]=s)}))}}async function ac(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:le.data,data:e.deferredData.unwrappedData}}catch(i){return{type:le.error,error:i}}return{type:le.data,data:e.deferredData.data}}}function uc(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function gi(e,t){let n=typeof t=="string"?jn(t).search:t.search;if(e[e.length-1].route.index&&uc(n||""))return e[e.length-1];let r=np(e);return r[r.length-1]}function nd(e){let{formMethod:t,formAction:n,formEncType:r,text:i,formData:o,json:l}=e;if(!(!t||!n||!r)){if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:i};if(o!=null)return{formMethod:t,formAction:n,formEncType:r,formData:o,json:void 0,text:void 0};if(l!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:l,text:void 0}}}function Va(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 sg(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 si(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 cg(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 gn(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 fg(e,t){try{let n=e.sessionStorage.getItem(ip);if(n){let r=JSON.parse(n);for(let[i,o]of Object.entries(r||{}))o&&Array.isArray(o)&&t.set(i,new Set(o||[]))}}catch{}}function dg(e,t){if(t.size>0){let n={};for(let[r,i]of t)n[r]=[...i];try{e.sessionStorage.setItem(ip,JSON.stringify(n))}catch(r){br(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/** * React Router v6.26.2 * @@ -73,7 +73,7 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Ki(){return Ki=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function Ig(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Dg(e,t){return e.button===0&&(!t||t==="_self")&&!Ig(e)}const zg=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],Fg="6";try{window.__reactRouterVersion=Fg}catch{}function jg(e,t){return V2({basename:void 0,future:Ki({},void 0,{v7_prependBasename:!0}),history:h2({window:void 0}),hydrationData:Ug(),routes:e,mapRouteProperties:Ng,unstable_dataStrategy:void 0,unstable_patchRoutesOnNavigation:void 0,window:void 0}).initialize()}function Ug(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=Ki({},t,{errors:$g(t.errors)})),t}function $g(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,i]of t)if(i&&i.__type==="RouteErrorResponse")n[r]=new Rl(i.status,i.statusText,i.data,i.internal===!0);else if(i&&i.__type==="Error"){if(i.__subType){let o=window[i.__subType];if(typeof o=="function")try{let l=new o(i.message);l.stack="",n[r]=l}catch{}}if(n[r]==null){let o=new Error(i.message);o.stack="",n[r]=o}}else n[r]=i;return n}const Hg=k.createContext({isTransitioning:!1}),Bg=k.createContext(new Map),bg="startTransition",id=Ga[bg],Vg="flushSync",od=p2[Vg];function Wg(e){id?id(e):e()}function ci(e){od?od(e):e()}class Qg{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 qg(e){let{fallbackElement:t,router:n,future:r}=e,[i,o]=k.useState(n.state),[l,a]=k.useState(),[u,s]=k.useState({isTransitioning:!1}),[f,c]=k.useState(),[h,y]=k.useState(),[E,x]=k.useState(),P=k.useRef(new Map),{v7_startTransition:m}=r||{},p=k.useCallback(w=>{m?Wg(w):w()},[m]),g=k.useCallback((w,j)=>{let{deletedFetchers:A,unstable_flushSync:q,unstable_viewTransitionOpts:ae}=j;A.forEach(xe=>P.current.delete(xe)),w.fetchers.forEach((xe,Ft)=>{xe.data!==void 0&&P.current.set(Ft,xe.data)});let Pe=n.window==null||n.window.document==null||typeof n.window.document.startViewTransition!="function";if(!ae||Pe){q?ci(()=>o(w)):p(()=>o(w));return}if(q){ci(()=>{h&&(f&&f.resolve(),h.skipTransition()),s({isTransitioning:!0,flushSync:!0,currentLocation:ae.currentLocation,nextLocation:ae.nextLocation})});let xe=n.window.document.startViewTransition(()=>{ci(()=>o(w))});xe.finished.finally(()=>{ci(()=>{c(void 0),y(void 0),a(void 0),s({isTransitioning:!1})})}),ci(()=>y(xe));return}h?(f&&f.resolve(),h.skipTransition(),x({state:w,currentLocation:ae.currentLocation,nextLocation:ae.nextLocation})):(a(w),s({isTransitioning:!0,flushSync:!1,currentLocation:ae.currentLocation,nextLocation:ae.nextLocation}))},[n.window,h,f,P,p]);k.useLayoutEffect(()=>n.subscribe(g),[n,g]),k.useEffect(()=>{u.isTransitioning&&!u.flushSync&&c(new Qg)},[u]),k.useEffect(()=>{if(f&&l&&n.window){let w=l,j=f.promise,A=n.window.document.startViewTransition(async()=>{p(()=>o(w)),await j});A.finished.finally(()=>{c(void 0),y(void 0),a(void 0),s({isTransitioning:!1})}),y(A)}},[p,l,f,n.window]),k.useEffect(()=>{f&&l&&i.location.key===l.location.key&&f.resolve()},[f,h,i.location,l]),k.useEffect(()=>{!u.isTransitioning&&E&&(a(E.state),s({isTransitioning:!0,flushSync:!1,currentLocation:E.currentLocation,nextLocation:E.nextLocation}),x(void 0))},[u.isTransitioning,E]),k.useEffect(()=>{},[]);let T=k.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:w=>n.navigate(w),push:(w,j,A)=>n.navigate(w,{state:j,preventScrollReset:A==null?void 0:A.preventScrollReset}),replace:(w,j,A)=>n.navigate(w,{replace:!0,state:j,preventScrollReset:A==null?void 0:A.preventScrollReset})}),[n]),R=n.basename||"/",O=k.useMemo(()=>({router:n,navigator:T,static:!1,basename:R}),[n,T,R]),L=k.useMemo(()=>({v7_relativeSplatPath:n.future.v7_relativeSplatPath}),[n.future.v7_relativeSplatPath]);return k.createElement(k.Fragment,null,k.createElement(fa.Provider,{value:O},k.createElement(sp.Provider,{value:i},k.createElement(Bg.Provider,{value:P.current},k.createElement(Hg.Provider,{value:u},k.createElement(Og,{basename:R,location:i.location,navigationType:i.historyAction,navigator:T,future:L},i.initialized||n.future.v7_partialHydration?k.createElement(Yg,{routes:n.routes,future:n.future,state:i}):t))))),null)}const Yg=k.memo(Gg);function Gg(e){let{routes:t,future:n,state:r}=e;return yg(t,void 0,r,n)}const Kg=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Zg=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,_i=k.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:l,state:a,target:u,to:s,preventScrollReset:f,unstable_viewTransition:c}=t,h=Ag(t,zg),{basename:y}=k.useContext(ar),E,x=!1;if(typeof s=="string"&&Zg.test(s)&&(E=s,Kg))try{let g=new URL(window.location.href),T=s.startsWith("//")?new URL(g.protocol+s):new URL(s),R=Gr(T.pathname,y);T.origin===g.origin&&R!=null?s=R+T.search+T.hash:x=!0}catch{}let P=pg(s,{relative:i}),m=Xg(s,{replace:l,state:a,target:u,preventScrollReset:f,relative:i,unstable_viewTransition:c});function p(g){r&&r(g),g.defaultPrevented||m(g)}return k.createElement("a",Ki({},h,{href:E||P,onClick:x||o?r:p,ref:n,target:u}))});var ld;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ld||(ld={}));var ad;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(ad||(ad={}));function Xg(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:l,unstable_viewTransition:a}=t===void 0?{}:t,u=hg(),s=Kr(),f=dp(e,{relative:l});return k.useCallback(c=>{if(Dg(c,n)){c.preventDefault();let h=r!==void 0?r:ir(s)===ir(f);u(e,{replace:h,state:i,preventScrollReset:o,relative:l,unstable_viewTransition:a})}},[s,u,f,r,i,n,e,o,l,a])}var Jg=fs(function(e,t){var n=e.styles,r=cs([n],void 0,k.useContext(ds)),i=k.useRef();return Ic(function(){var o=t.key+"-global",l=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,u=document.querySelector('style[data-emotion="'+o+" "+r.name+'"]');return t.sheet.tags.length&&(l.before=t.sheet.tags[0]),u!==null&&(a=!0,u.setAttribute("data-emotion",o),l.hydrate([u])),i.current=[l,a],function(){l.flush()}},[t]),Ic(function(){var o=i.current,l=o[0],a=o[1];if(a){o[1]=!1;return}if(r.next!==void 0&&ss(t,r.next,!0),l.tags.length){var u=l.tags[l.tags.length-1].nextElementSibling;l.before=u,l.flush()}t.insert("",r,l,!1)},[t,r.name]),null});function Y(){for(var e=arguments.length,t=new Array(e),n=0;n=0)&&(n[i]=e[i]);return n}function Ig(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Dg(e,t){return e.button===0&&(!t||t==="_self")&&!Ig(e)}const zg=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],Fg="6";try{window.__reactRouterVersion=Fg}catch{}function jg(e,t){return V2({basename:void 0,future:Ki({},void 0,{v7_prependBasename:!0}),history:h2({window:void 0}),hydrationData:Ug(),routes:e,mapRouteProperties:Ng,unstable_dataStrategy:void 0,unstable_patchRoutesOnNavigation:void 0,window:void 0}).initialize()}function Ug(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=Ki({},t,{errors:$g(t.errors)})),t}function $g(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,i]of t)if(i&&i.__type==="RouteErrorResponse")n[r]=new Rl(i.status,i.statusText,i.data,i.internal===!0);else if(i&&i.__type==="Error"){if(i.__subType){let o=window[i.__subType];if(typeof o=="function")try{let l=new o(i.message);l.stack="",n[r]=l}catch{}}if(n[r]==null){let o=new Error(i.message);o.stack="",n[r]=o}}else n[r]=i;return n}const Hg=k.createContext({isTransitioning:!1}),Bg=k.createContext(new Map),bg="startTransition",id=Ga[bg],Vg="flushSync",od=p2[Vg];function Wg(e){id?id(e):e()}function ci(e){od?od(e):e()}class Qg{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 qg(e){let{fallbackElement:t,router:n,future:r}=e,[i,o]=k.useState(n.state),[l,a]=k.useState(),[u,s]=k.useState({isTransitioning:!1}),[f,c]=k.useState(),[h,y]=k.useState(),[E,x]=k.useState(),P=k.useRef(new Map),{v7_startTransition:m}=r||{},p=k.useCallback(w=>{m?Wg(w):w()},[m]),g=k.useCallback((w,U)=>{let{deletedFetchers:A,unstable_flushSync:q,unstable_viewTransitionOpts:ae}=U;A.forEach(xe=>P.current.delete(xe)),w.fetchers.forEach((xe,Ft)=>{xe.data!==void 0&&P.current.set(Ft,xe.data)});let Pe=n.window==null||n.window.document==null||typeof n.window.document.startViewTransition!="function";if(!ae||Pe){q?ci(()=>o(w)):p(()=>o(w));return}if(q){ci(()=>{h&&(f&&f.resolve(),h.skipTransition()),s({isTransitioning:!0,flushSync:!0,currentLocation:ae.currentLocation,nextLocation:ae.nextLocation})});let xe=n.window.document.startViewTransition(()=>{ci(()=>o(w))});xe.finished.finally(()=>{ci(()=>{c(void 0),y(void 0),a(void 0),s({isTransitioning:!1})})}),ci(()=>y(xe));return}h?(f&&f.resolve(),h.skipTransition(),x({state:w,currentLocation:ae.currentLocation,nextLocation:ae.nextLocation})):(a(w),s({isTransitioning:!0,flushSync:!1,currentLocation:ae.currentLocation,nextLocation:ae.nextLocation}))},[n.window,h,f,P,p]);k.useLayoutEffect(()=>n.subscribe(g),[n,g]),k.useEffect(()=>{u.isTransitioning&&!u.flushSync&&c(new Qg)},[u]),k.useEffect(()=>{if(f&&l&&n.window){let w=l,U=f.promise,A=n.window.document.startViewTransition(async()=>{p(()=>o(w)),await U});A.finished.finally(()=>{c(void 0),y(void 0),a(void 0),s({isTransitioning:!1})}),y(A)}},[p,l,f,n.window]),k.useEffect(()=>{f&&l&&i.location.key===l.location.key&&f.resolve()},[f,h,i.location,l]),k.useEffect(()=>{!u.isTransitioning&&E&&(a(E.state),s({isTransitioning:!0,flushSync:!1,currentLocation:E.currentLocation,nextLocation:E.nextLocation}),x(void 0))},[u.isTransitioning,E]),k.useEffect(()=>{},[]);let T=k.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:w=>n.navigate(w),push:(w,U,A)=>n.navigate(w,{state:U,preventScrollReset:A==null?void 0:A.preventScrollReset}),replace:(w,U,A)=>n.navigate(w,{replace:!0,state:U,preventScrollReset:A==null?void 0:A.preventScrollReset})}),[n]),R=n.basename||"/",O=k.useMemo(()=>({router:n,navigator:T,static:!1,basename:R}),[n,T,R]),L=k.useMemo(()=>({v7_relativeSplatPath:n.future.v7_relativeSplatPath}),[n.future.v7_relativeSplatPath]);return k.createElement(k.Fragment,null,k.createElement(fa.Provider,{value:O},k.createElement(sp.Provider,{value:i},k.createElement(Bg.Provider,{value:P.current},k.createElement(Hg.Provider,{value:u},k.createElement(Og,{basename:R,location:i.location,navigationType:i.historyAction,navigator:T,future:L},i.initialized||n.future.v7_partialHydration?k.createElement(Yg,{routes:n.routes,future:n.future,state:i}):t))))),null)}const Yg=k.memo(Gg);function Gg(e){let{routes:t,future:n,state:r}=e;return yg(t,void 0,r,n)}const Kg=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Zg=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,_i=k.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:l,state:a,target:u,to:s,preventScrollReset:f,unstable_viewTransition:c}=t,h=Ag(t,zg),{basename:y}=k.useContext(ar),E,x=!1;if(typeof s=="string"&&Zg.test(s)&&(E=s,Kg))try{let g=new URL(window.location.href),T=s.startsWith("//")?new URL(g.protocol+s):new URL(s),R=Gr(T.pathname,y);T.origin===g.origin&&R!=null?s=R+T.search+T.hash:x=!0}catch{}let P=pg(s,{relative:i}),m=Xg(s,{replace:l,state:a,target:u,preventScrollReset:f,relative:i,unstable_viewTransition:c});function p(g){r&&r(g),g.defaultPrevented||m(g)}return k.createElement("a",Ki({},h,{href:E||P,onClick:x||o?r:p,ref:n,target:u}))});var ld;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ld||(ld={}));var ad;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(ad||(ad={}));function Xg(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:l,unstable_viewTransition:a}=t===void 0?{}:t,u=hg(),s=Kr(),f=dp(e,{relative:l});return k.useCallback(c=>{if(Dg(c,n)){c.preventDefault();let h=r!==void 0?r:ir(s)===ir(f);u(e,{replace:h,state:i,preventScrollReset:o,relative:l,unstable_viewTransition:a})}},[s,u,f,r,i,n,e,o,l,a])}var Jg=fs(function(e,t){var n=e.styles,r=cs([n],void 0,k.useContext(ds)),i=k.useRef();return Ic(function(){var o=t.key+"-global",l=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,u=document.querySelector('style[data-emotion="'+o+" "+r.name+'"]');return t.sheet.tags.length&&(l.before=t.sheet.tags[0]),u!==null&&(a=!0,u.setAttribute("data-emotion",o),l.hydrate([u])),i.current=[l,a],function(){l.flush()}},[t]),Ic(function(){var o=i.current,l=o[0],a=o[1];if(a){o[1]=!1;return}if(r.next!==void 0&&ss(t,r.next,!0),l.tags.length){var u=l.tags[l.tags.length-1].nextElementSibling;l.before=u,l.flush()}t.insert("",r,l,!1)},[t,r.name]),null});function Y(){for(var e=arguments.length,t=new Array(e),n=0;n96?x4:E4},yd=function(t,n,r){var i;if(n){var o=n.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(l){return t.__emotion_forwardProp(l)&&o(l)}:o}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},C4=!1,T4=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return us(n,r,i),Yd(function(){return ss(n,r,i)}),null},k4=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,o,l;n!==void 0&&(o=n.label,l=n.target);var a=yd(t,n,r),u=a||gd(i),s=!u("as");return function(){var f=arguments,c=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&c.push("label:"+o+";"),f[0]==null||f[0].raw===void 0)c.push.apply(c,f);else{c.push(f[0][0]);for(var h=f.length,y=1;y96?x4:E4},yd=function(t,n,r){var i;if(n){var o=n.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(l){return t.__emotion_forwardProp(l)&&o(l)}:o}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},C4=!1,T4=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return us(n,r,i),Yd(function(){return ss(n,r,i)}),null},k4=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,o,l;n!==void 0&&(o=n.label,l=n.target);var a=yd(t,n,r),u=a||gd(i),s=!u("as");return function(){var f=arguments,c=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&c.push("label:"+o+";"),f[0]==null||f[0].raw===void 0)c.push.apply(c,f);else{c.push(f[0][0]);for(var h=f.length,y=1;y{gp()},css:{fontSize:"xxx-large"},"aria-label":"Toggle theme",title:"Toggle theme",children:"Toggle Theme"})})]})})}function L4({fill:e}){return d("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:e,children:d("path",{d:"M120-240v-80h720v80H120Zm0-200v-80h720v80H120Zm0-200v-80h720v80H120Z"})})}function M4(){return d("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor",children:d("path",{d:"m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z"})})}const O4=Y` +`;function Rp(){const{pathname:e}=Kr();return d("nav",{role:"navigation",children:j("ul",{css:_4,children:[d("li",{children:d(_i,{to:"/",css:[qa,e==="/"&&Ya],"aria-current":e==="/"?"page":void 0,children:"Home"})}),d("li",{children:d(_i,{to:"/about",css:[qa,e==="/about"&&Ya],"aria-current":e==="/about"?"page":void 0,children:"About"})}),d("li",{children:d(_i,{to:"/tech",css:[qa,e==="/tech"&&Ya],"aria-current":e==="/tech"?"page":void 0,children:"Tech"})}),d("li",{css:R4,children:d(Al,{onClick:()=>{gp()},css:{fontSize:"xxx-large"},"aria-label":"Toggle theme",title:"Toggle theme",children:"Toggle Theme"})})]})})}function L4({fill:e}){return d("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:e,children:d("path",{d:"M120-240v-80h720v80H120Zm0-200v-80h720v80H120Zm0-200v-80h720v80H120Z"})})}function M4(){return d("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor",children:d("path",{d:"m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z"})})}const O4=Y` display: none; `,N4=Y` width: 100%; @@ -276,7 +276,7 @@ object-assign top: 16px; right: 16px; font-size: xx-large; -`;function I4(){const[e,t]=k.useState(!1),{pathname:n}=Kr(),r=k.useRef(null);return k.useEffect(()=>{t(!1)},[n]),$(k.Fragment,{children:[d(Al,{"aria-expanded":e,"aria-controls":"menu",onClick:()=>{t(!e),setTimeout(()=>{var i;(i=r.current)==null||i.focus()},50)},"aria-label":"Open nav menu",children:d(L4,{fill:"var(--fg-color)"})}),$("div",{id:"menu",role:"dialog",css:[N4,!e&&O4],onKeyDown:i=>{i.key==="Escape"&&t(!1)},children:[d(Al,{ref:r,onClick:()=>{t(!1)},"aria-label":"close nav menu",css:A4,children:d(M4,{})}),d(Rp,{})]})]})}const D4=Y` +`;function I4(){const[e,t]=k.useState(!1),{pathname:n}=Kr(),r=k.useRef(null);return k.useEffect(()=>{t(!1)},[n]),j(k.Fragment,{children:[d(Al,{"aria-expanded":e,"aria-controls":"menu",onClick:()=>{t(!e),setTimeout(()=>{var i;(i=r.current)==null||i.focus()},50)},"aria-label":"Open nav menu",children:d(L4,{fill:"var(--fg-color)"})}),j("div",{id:"menu",role:"dialog",css:[N4,!e&&O4],onKeyDown:i=>{i.key==="Escape"&&t(!1)},children:[d(Al,{ref:r,onClick:()=>{t(!1)},"aria-label":"close nav menu",css:A4,children:d(M4,{})}),d(Rp,{})]})]})}const D4=Y` margin: 0; max-width: 320px; font-size: 1.2em; @@ -318,11 +318,11 @@ object-assign @media only screen and (max-width: ${fn}) { display: block; } -`;function H4(){return $("header",{css:z4,children:[$("div",{css:U4,children:[d(_i,{to:"/",children:d("img",{src:mp,css:j4,alt:"Picture of Joe Phelan",id:"joephela-avatar"})}),d("span",{css:D4,children:"Joseph D. Phelan"})]}),$("div",{children:[d("div",{css:$4,children:d(I4,{})}),$("div",{css:F4,children:[d(Rp,{}),d(Al,{onClick:()=>{gp()},"aria-label":"Toggle theme",title:"Toggle theme",children:d(d4,{fill:"var(--fg-color)"})})]})]})]})}function B4({fill:e}){return d("svg",{xmlns:"http://www.w3.org/2000/svg",fill:e,width:"24",height:"24",viewBox:"0 0 24 24","aria-label":"Github icon, click to view Joe's github page",children:d("path",{d:"M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"})})}function b4({fill:e}){return d("svg",{xmlns:"http://www.w3.org/2000/svg",fill:e,width:"24",height:"24",viewBox:"0 0 24 24","aria-label":"Linkedin icon, click to view Joe's linkedin profile",children:d("path",{d:"M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z"})})}const V4=Y` +`;function H4(){return j("header",{css:z4,children:[j("div",{css:U4,children:[d(_i,{to:"/",children:d("img",{src:mp,css:j4,alt:"Picture of Joe Phelan",id:"joephela-avatar"})}),d("span",{css:D4,children:"Joseph D. Phelan"})]}),j("div",{children:[d("div",{css:$4,children:d(I4,{})}),j("div",{css:F4,children:[d(Rp,{}),d(Al,{onClick:()=>{gp()},"aria-label":"Toggle theme",title:"Toggle theme",children:d(d4,{fill:"var(--fg-color)"})})]})]})]})}function B4({fill:e}){return d("svg",{xmlns:"http://www.w3.org/2000/svg",fill:e,width:"24",height:"24",viewBox:"0 0 24 24","aria-label":"Github icon, click to view Joe's github page",children:d("path",{d:"M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"})})}function b4({fill:e}){return d("svg",{xmlns:"http://www.w3.org/2000/svg",fill:e,width:"24",height:"24",viewBox:"0 0 24 24","aria-label":"Linkedin icon, click to view Joe's linkedin profile",children:d("path",{d:"M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z"})})}const V4=Y` display: flex; gap: 10px; padding: 10px; -`,W4="https://linkedin.com/in/joseph-phelan-3a871625",Q4="https://github.com/joephela";function q4(){return $("div",{css:V4,children:[d(wd,{as:"a","aria-label":"View Joe Phelan's Github",target:"_blank",href:Q4,children:d(B4,{fill:"var(--fg-color)"})}),d(wd,{as:"a","aria-label":"View Joe Phelan's Linkedin",href:W4,target:"_blank",children:d(b4,{fill:"var(--fg-color)"})})]})}const Y4=Y` +`,W4="https://linkedin.com/in/joseph-phelan-3a871625",Q4="https://github.com/joephela";function q4(){return j("div",{css:V4,children:[d(wd,{as:"a","aria-label":"View Joe Phelan's Github",target:"_blank",href:Q4,children:d(B4,{fill:"var(--fg-color)"})}),d(wd,{as:"a","aria-label":"View Joe Phelan's Linkedin",href:W4,target:"_blank",children:d(b4,{fill:"var(--fg-color)"})})]})}const Y4=Y` background: var(--bg-footer-header); margin-top: 50px; display: flex; @@ -333,11 +333,11 @@ object-assign padding-block: 8px; `,G4=Y` font-size: small; -`;function K4(){return $("footer",{css:Y4,children:[$("p",{css:G4,children:["Built by me using"," ",d("a",{href:"https://vite.dev/",rel:"noreferrer",target:"_blank",children:"Vite"}),".",d("br",{}),"Copyright © 2024 Joseph Phelan."]}),d(q4,{})]})}const Z4="128px",X4="123px",J4=Y` +`;function K4(){return j("footer",{css:Y4,children:[j("p",{css:G4,children:["Built by me using"," ",d("a",{href:"https://vite.dev/",rel:"noreferrer",target:"_blank",children:"Vite"}),".",d("br",{}),"Copyright © 2024 Joseph Phelan."]}),d(q4,{})]})}const Z4="/assets/moving-B_q13TNX.jpg";function X4(){return j("div",{css:{margin:"24px"},children:[d("h1",{children:"This site has moved!"}),j("p",{children:["Check out the new location ",d("a",{href:"https://www.joephela.com",children:"here"}),"."]}),d("img",{src:Z4,alt:"moving trucks"})]})}const J4="128px",e3="123px",t3=Y` height: 100%; margin-inline: var(--layout-padding); - min-height: calc(100vh - ${Z4} - ${X4}); -`,e3=Y` + min-height: calc(100vh - ${J4} - ${e3}); +`,n3=Y` body { ${ey} margin: 0; @@ -360,15 +360,15 @@ object-assign li { text-decoration: none; } -`;function t3(){return $(k.Fragment,{children:[d(Jg,{styles:e3}),d(H4,{}),d("main",{css:J4,children:d(Mg,{})}),d(K4,{})]})}function n3(){return $("svg",{width:"40",height:"40",viewBox:"-10.5 -9.45 21 18.9",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("circle",{cx:"0",cy:"0",r:"2",fill:"currentColor"}),$("g",{stroke:"currentColor","stroke-width":"1",fill:"none",children:[d("ellipse",{rx:"10",ry:"4.5"}),d("ellipse",{rx:"10",ry:"4.5",transform:"rotate(60)"}),d("ellipse",{rx:"10",ry:"4.5",transform:"rotate(120)"})]})]})}function r3(){return d("svg",{fill:"none",height:"40",viewBox:"0 0 27 26",width:"40",xmlns:"http://www.w3.org/2000/svg",children:d("path",{"clip-rule":"evenodd",d:"m.98608 0h24.32332c.5446 0 .9861.436522.9861.975v24.05c0 .5385-.4415.975-.9861.975h-24.32332c-.544597 0-.98608-.4365-.98608-.975v-24.05c0-.538478.441483-.975.98608-.975zm13.63142 13.8324v-2.1324h-9.35841v2.1324h3.34111v9.4946h2.6598v-9.4946zm1.0604 9.2439c.4289.2162.9362.3784 1.5218.4865.5857.1081 1.2029.1622 1.8518.1622.6324 0 1.2331-.0595 1.8023-.1784.5691-.1189 1.0681-.3149 1.497-.5879s.7685-.6297 1.0187-1.0703.3753-.9852.3753-1.6339c0-.4703-.0715-.8824-.2145-1.2365-.1429-.3541-.3491-.669-.6186-.9447-.2694-.2757-.5925-.523-.9692-.7419s-.8014-.4257-1.2743-.6203c-.3465-.1406-.6572-.2771-.9321-.4095-.275-.1324-.5087-.2676-.7011-.4054-.1925-.1379-.3409-.2838-.4454-.4379-.1045-.154-.1567-.3284-.1567-.523 0-.1784.0467-.3392.1402-.4824.0935-.1433.2254-.2663.3959-.369s.3794-.1824.6269-.2392c.2474-.0567.5224-.0851.8248-.0851.22 0 .4523.0162.697.0486.2447.0325.4908.0825.7382.15.2475.0676.4881.1527.7218.2555.2337.1027.4495.2216.6475.3567v-2.4244c-.4015-.1514-.84-.2636-1.3157-.3365-.4756-.073-1.0214-.1095-1.6373-.1095-.6268 0-1.2207.0662-1.7816.1987-.5609.1324-1.0544.3392-1.4806.6203s-.763.6392-1.0104 1.0743c-.2475.4352-.3712.9555-.3712 1.5609 0 .7731.2268 1.4326.6805 1.9785.4537.546 1.1424 1.0082 2.0662 1.3866.363.146.7011.2892 1.0146.4298.3134.1405.5842.2865.8124.4378.2282.1514.4083.3162.5403.4946s.198.3811.198.6082c0 .1676-.0413.323-.1238.4662-.0825.1433-.2076.2676-.3753.373s-.3766.1879-.6268.2473c-.2502.0595-.5431.0892-.8785.0892-.5719 0-1.1383-.0986-1.6992-.2959-.5608-.1973-1.0805-.4933-1.5589-.8879z",fill:"currentColor","fill-rule":"evenodd"})})}function i3(){return $("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 92 92",children:[d("defs",{children:d("clipPath",{id:"a",children:d("path",{d:"M0 .113h91.887V92H0Zm0 0"})})}),d("g",{"clip-path":"url(#a)",children:d("path",{fill:"currentColor",d:"M90.156 41.965 50.036 1.848a5.918 5.918 0 0 0-8.372 0l-8.328 8.332 10.566 10.566a7.03 7.03 0 0 1 7.23 1.684 7.034 7.034 0 0 1 1.669 7.277l10.187 10.184a7.028 7.028 0 0 1 7.278 1.672 7.04 7.04 0 0 1 0 9.957 7.05 7.05 0 0 1-9.965 0 7.044 7.044 0 0 1-1.528-7.66l-9.5-9.497V59.36a7.04 7.04 0 0 1 1.86 11.29 7.04 7.04 0 0 1-9.957 0 7.04 7.04 0 0 1 0-9.958 7.06 7.06 0 0 1 2.304-1.539V33.926a7.049 7.049 0 0 1-3.82-9.234L29.242 14.272 1.73 41.777a5.925 5.925 0 0 0 0 8.371L41.852 90.27a5.925 5.925 0 0 0 8.37 0l39.934-39.934a5.925 5.925 0 0 0 0-8.371"})})]})}function o3(){return d("svg",{height:"40",viewBox:"0 0 323.99971 285.09601",width:"40",xmlns:"http://www.w3.org/2000/svg",children:$("g",{transform:"matrix(1.2548929 0 0 1.2548929 -22.9868 -19.949332)",children:[d("path",{d:"m97.021 99.016l48.432-27.962c1.212-.7 2.706-.7 3.918 0l48.433 27.962c1.211.7 1.959 1.993 1.959 3.393v55.924c0 1.399-.748 2.693-1.959 3.394l-48.433 27.962c-1.212.7-2.706.7-3.918 0l-48.432-27.962c-1.212-.7-1.959-1.994-1.959-3.394v-55.924c.001-1.4.748-2.693 1.959-3.393",fill:"currentColor"}),d("path",{d:"m273.336 124.488l-57.867-100.672c-2.102-3.64-5.985-6.325-10.188-6.325h-115.736c-4.204 0-8.088 2.685-10.19 6.325l-57.867 100.45c-2.102 3.641-2.102 8.236 0 11.877l57.867 99.847c2.102 3.64 5.986 5.501 10.19 5.501h115.735c4.203 0 8.087-1.805 10.188-5.446l57.867-100.01c2.104-3.639 2.104-7.907.001-11.547m-47.917 48.41c0 1.48-.891 2.849-2.174 3.59l-73.71 42.527c-1.282.74-2.888.74-4.17 0l-73.767-42.527c-1.282-.741-2.179-2.109-2.179-3.59v-85.055c0-1.481.884-2.849 2.167-3.59l73.707-42.527c1.282-.741 2.886-.741 4.168 0l73.772 42.527c1.283.741 2.186 2.109 2.186 3.59z",fill:"currentColor"})]})})}function l3(){return d("svg",{width:"40",height:"40",viewBox:"0 0 256 256",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid",fill:"currentColor",children:$("g",{children:[d("rect",{x:"182.857143",y:"48.7619048",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"243.809524",width:"73.1428571",height:"12.1904762",rx:"5"}),d("rect",{x:"146.285714",y:"146.285714",width:"48.7619048",height:"12.1904762",rx:"5"}),d("rect",{x:"73.1428571",y:"146.285714",width:"60.952381",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"146.285714",width:"60.952381",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"195.047619",width:"73.1428571",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"97.5238095",width:"73.1428571",height:"12.1904762",rx:"5"}),d("rect",{x:"60.952381",y:"24.3809524",width:"134.095238",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"24.3809524",width:"48.7619048",height:"12.1904762",rx:"5"}),d("rect",{x:"48.7619048",y:"219.428571",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{x:"48.7619048",y:"73.1428571",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"219.428571",width:"36.5714286",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"73.1428571",width:"36.5714286",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"158.47619",y:"219.428571",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"85.3333333",y:"219.428571",width:"60.952381",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"195.047619",y:"219.428571",width:"60.952381",height:"12.1904762",rx:"5"}),d("rect",{x:"97.5238095",y:"121.904762",width:"109.714286",height:"12.1904762",rx:"5"}),d("rect",{x:"36.5714286",y:"121.904762",width:"48.7619048",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"121.904762",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{x:"109.714286",y:"48.7619048",width:"60.952381",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"48.7619048",width:"97.5238095",height:"12.1904762",rx:"5"}),d("rect",{x:"36.5714286",y:"170.666667",width:"121.904762",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"170.666667",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{x:"146.285714",y:"73.1428571",width:"73.1428571",height:"12.1904762",rx:"5"}),d("rect",{x:"146.285714",y:"97.5238095",width:"73.1428571",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"0",width:"158.47619",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"170.666667",y:"0",width:"85.3333333",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"170.666667",y:"170.666667",width:"36.5714286",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"219.428571",y:"170.666667",width:"36.5714286",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"207.238095",y:"146.285714",width:"48.7619048",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"207.238095",y:"24.3809524",width:"48.7619048",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"219.428571",y:"121.904762",width:"36.5714286",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"219.428571",y:"48.7619048",width:"36.5714286",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"231.619048",y:"73.1428571",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"231.619048",y:"97.5238095",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"134.095238",y:"195.047619",width:"121.904762",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"85.3333333",y:"195.047619",width:"36.5714286",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"182.857143",y:"243.809524",width:"73.1428571",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"85.3333333",y:"243.809524",width:"85.3333333",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"85.3333333",y:"73.1428571",width:"48.7619048",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"85.3333333",y:"97.5238095",width:"48.7619048",height:"12.1904762",rx:"5"})]})})}function a3(){return $("svg",{width:"40",height:"40",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",children:[d("title",{children:"file_type_vite"}),d("path",{d:"M29.8836 6.146L16.7418 29.6457c-.2714.4851-.9684.488-1.2439.0052L2.0956 6.1482c-.3-.5262.1498-1.1635.746-1.057l13.156 2.3516a.7144.7144 0 00.2537-.0004l12.8808-2.3478c.5942-.1083 1.0463.5241.7515 1.0513z",fill:"currentColor",fillOpacity:"50%"}),d("path",{d:"M22.2644 2.0069l-9.7253 1.9056a.3571.3571 0 00-.2879.3294l-.5982 10.1038c-.014.238.2045.4227.4367.3691l2.7077-.6248c.2534-.0585.4823.1647.4302.4194l-.8044 3.9393c-.0542.265.1947.4918.4536.4132l1.6724-.5082c.2593-.0787.5084.1487.4536.414l-1.2784 6.1877c-.08.387.4348.598.6495.2662L16.5173 25 24.442 9.1848c.1327-.2648-.096-.5667-.387-.5106l-2.787.5379c-.262.0505-.4848-.1934-.4109-.4497l1.8191-6.306c.074-.2568-.1496-.5009-.4118-.4495z",fill:"currentColor"})]})}function u3(){return d("svg",{width:"40",height:"40",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d("path",{d:"M12 1L24 22H0L12 1Z",fill:"currentColor"})})}function s3(){return $("svg",{width:"40",height:"40",viewBox:"0 0 32 32",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[d("path",{d:"M21.0016 3.11679C21.0016 2.23783 20.0175 2.23782 19.5801 2.34769C20.1924 1.86426 20.9105 1.98147 21.1656 2.12796L27.079 5.02747C27.6424 5.30375 27.9998 5.8786 27.9998 6.50857V25.5831C27.9998 26.2215 27.6329 26.8025 27.058 27.0743L21.4937 29.7054C21.1109 29.8701 20.2799 30.2767 19.5801 29.7053C20.4549 29.8702 20.9287 29.2476 21.0016 28.8264V3.11679Z"}),d("path",{d:"M19.6512 2.3319C20.1154 2.24017 21.0018 2.28271 21.0018 3.11685V9.68254L3.07359 23.2453C2.76022 23.4824 2.3192 23.443 2.05229 23.1542L0.204532 21.1548C-0.0849358 20.8416 -0.0646824 20.3513 0.249624 20.0633L19.5802 2.34775L19.6512 2.3319Z"}),d("path",{d:"M21.0018 22.3708L3.07359 8.80801C2.76022 8.57094 2.3192 8.61028 2.05229 8.8991L0.204532 10.8985C-0.0849358 11.2117 -0.0646824 11.702 0.249624 11.9901L19.5802 29.7056C20.455 29.8704 20.9289 29.2478 21.0018 28.8266V22.3708Z"}),$("defs",{children:[$("linearGradient",{id:"paint0_linear_87_8101",x1:"23.79",y1:"2",x2:"23.79",y2:"30",gradientUnits:"userSpaceOnUse",children:[d("stop",{"stop-color":"#32B5F1"}),d("stop",{offset:"1","stop-color":"#2B9FED"})]}),$("linearGradient",{id:"paint1_linear_87_8101",x1:"21.0018",y1:"5.53398",x2:"1.0217",y2:"22.3051",gradientUnits:"userSpaceOnUse",children:[d("stop",{"stop-color":"#0F6FB3"}),d("stop",{offset:"0.270551","stop-color":"#1279B7"}),d("stop",{offset:"0.421376","stop-color":"#1176B5"}),d("stop",{offset:"0.618197","stop-color":"#0E69AC"}),d("stop",{offset:"0.855344","stop-color":"#0F70AF"}),d("stop",{offset:"1","stop-color":"#0F6DAD"})]}),$("linearGradient",{id:"paint2_linear_87_8101",x1:"1.15522",y1:"9.98389",x2:"21.0791",y2:"26.4808",gradientUnits:"userSpaceOnUse",children:[d("stop",{"stop-color":"#1791D2"}),d("stop",{offset:"1","stop-color":"#1173C5"})]})]})]})}function c3(){return d("svg",{xmlns:"http://www.w3.org/2000/svg",height:"40",viewBox:"0 -960 960 960",width:"40",fill:"currentColor",children:d("path",{d:"M480-480Zm80 240q100 0 170-70t70-170q0-101-73.5-170.5T550-720q-48 0-93 11t-87 33l100 40q41 17 65.5 52.5T560-504q0 60-41.5 102T418-360H162q-2 24-2 54.5v65.5h400ZM176-440h240q27 0 45.5-18.5T480-504q0-19-10.5-34.5T440-562l-148-60q-42 37-71.5 84T176-440Zm384 280H160q-33 0-56.5-23.5T80-240v-90q0-98 37-183.5t100.5-149Q281-726 367-763t183-37q68 0 128 25t105 68.5Q828-663 854-605t26 125q0 66-25 124.5t-68.5 102Q743-210 684.5-185T560-160Z"})})}function f3(){return d("svg",{xmlns:"http://www.w3.org/2000/svg",height:"40",viewBox:"0 -960 960 960",width:"40",fill:"currentColor",children:d("path",{d:"M320-240h320v-80H320v80Zm0-160h320v-80H320v80ZM240-80q-33 0-56.5-23.5T160-160v-640q0-33 23.5-56.5T240-880h320l240 240v480q0 33-23.5 56.5T720-80H240Zm280-520v-200H240v640h480v-440H520ZM240-800v200-200 640-640Z"})})}function d3(){return $("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 35 35",width:"40",height:"40",preserveAspectRatio:"xMidYMid meet",fill:"currentColor",children:[$("defs",{children:[d("clipPath",{id:"__lottie_element_23",children:d("rect",{width:"35",height:"35",x:"0",y:"0"})}),d("mask",{id:"__lottie_element_38",children:d("path",{"clip-rule":"nonzero",d:"M0,0 h35 v35 h-35 v-35 M29.062000274658203,-3 C29.062000274658203,-3 14.753000259399414,-3 14.753000259399414,-3 C14.753000259399414,-3 14.753000259399414,29.816999435424805 14.753000259399414,29.816999435424805 C14.753000259399414,29.816999435424805 29.062000274658203,29.816999435424805 29.062000274658203,29.816999435424805 C29.062000274658203,29.816999435424805 29.062000274658203,-3 29.062000274658203,-3","fill-opacity":"1"})})]}),$("g",{"clip-path":"url(#__lottie_element_23)",children:[d("g",{mask:"url(#__lottie_element_38)",transform:"matrix(1,0,0,1,1.25,5.75)",opacity:"1",children:d("g",{opacity:"1",transform:"matrix(1,0,0,1,12,11.75)",children:d("path",{"fill-opacity":"1",d:" M-11.75,11.5 C-11.75,11.5 2.75,-11.5 2.75,-11.5 C2.75,-11.5 11.75,-11.5 11.75,-11.5 C11.75,-11.5 11.75,-8.300000190734863 11.75,-8.300000190734863 C11.75,-8.300000190734863 -0.75,11.5 -0.75,11.5"})})}),d("g",{transform:"matrix(1,0,0,1,15.75,5.75)",opacity:"1",children:d("g",{opacity:"1",transform:"matrix(1,0,0,1,4.75,11.75)",children:d("path",{"fill-opacity":"1",d:" M4.5,11.5 C4.5,11.5 -4.5,11.5 -4.5,11.5 C-4.5,11.5 -4.5,-11.5 -4.5,-11.5 C-4.5,-11.5 4.5,-11.5 4.5,-11.5 C4.5,-11.5 4.5,11.5 4.5,11.5z"})})}),d("g",{transform:"matrix(1,0,0,1,24.75,15.75)",opacity:"1",children:d("g",{opacity:"1",transform:"matrix(1,0,0,1,3.5,6.75)",children:d("path",{"fill-opacity":"1",d:" M3.25,0 C3.25,3.5899999141693115 0.3400000035762787,6.5 -3.25,6.5 C-3.25,6.5 -3.25,-6.5 -3.25,-6.5 C0.3400000035762787,-6.5 3.25,-3.5899999141693115 3.25,0z"})})}),d("g",{transform:"matrix(1,0,0,1,18.25,15.75)",opacity:"1",children:d("g",{opacity:"1",transform:"matrix(1,0,0,1,3.5,6.75)",children:d("path",{"fill-opacity":"1",d:" M3.25,6.5 C-0.3400000035762787,6.5 -3.25,3.5899999141693115 -3.25,0 C-3.25,-3.5899999141693115 -0.3400000035762787,-6.5 3.25,-6.5 C3.25,-6.5 3.25,6.5 3.25,6.5z"})})}),d("g",{transform:"matrix(0.9999958872795105,0,0,0.9999958872795105,24.75,5.750020980834961)",opacity:"1",children:d("g",{opacity:"1",transform:"matrix(1,0,0,1,2.75,5.25)",children:d("path",{"fill-opacity":"1",d:" M2.5,0 C2.5,2.760999917984009 0.2619999945163727,5 -2.5,5 C-2.5,5 -2.5,-5 -2.5,-5 C0.2619999945163727,-5 2.5,-2.760999917984009 2.5,0z"})})}),d("g",{transform:"matrix(0.9999958872795105,0,0,0.9999958872795105,19.75002098083496,5.750020980834961)",opacity:"1",children:d("g",{opacity:"1",transform:"matrix(1,0,0,1,2.75,5.25)",children:d("path",{"fill-opacity":"1",d:" M2.5,5 C-0.2619999945163727,5 -2.5,2.760999917984009 -2.5,0 C-2.5,-2.760999917984009 -0.2619999945163727,-5 2.5,-5 C2.5,-5 2.5,5 2.5,5z"})})}),d("g",{transform:"matrix(1,0,0,1,1.75,5.75)",opacity:"0.9999999999999999",children:d("g",{opacity:"1",transform:"matrix(1,0,0,1,4.75,4.75)",children:d("path",{"fill-opacity":"1",d:" M-4.5,0 C-4.5,-2.484999895095825 -2.484999895095825,-4.5 0,-4.5 C2.484999895095825,-4.5 4.5,-2.484999895095825 4.5,0 C4.5,2.484999895095825 2.484999895095825,4.5 0,4.5 C-2.484999895095825,4.5 -4.5,2.484999895095825 -4.5,0z"})})})]})]})}function p3(){return d("svg",{height:"40",viewBox:"0 0 24 24",version:"1.1",width:"40","data-view-component":"true",fill:"currentColor",children:d("path",{d:"M12.5.75C6.146.75 1 5.896 1 12.25c0 5.089 3.292 9.387 7.863 10.91.575.101.79-.244.79-.546 0-.273-.014-1.178-.014-2.142-2.889.532-3.636-.704-3.866-1.35-.13-.331-.69-1.352-1.18-1.625-.402-.216-.977-.748-.014-.762.906-.014 1.553.834 1.769 1.179 1.035 1.74 2.688 1.25 3.349.948.1-.747.402-1.25.733-1.538-2.559-.287-5.232-1.279-5.232-5.678 0-1.25.445-2.285 1.178-3.09-.115-.288-.517-1.467.115-3.048 0 0 .963-.302 3.163 1.179.92-.259 1.897-.388 2.875-.388.977 0 1.955.13 2.875.388 2.2-1.495 3.162-1.179 3.162-1.179.633 1.581.23 2.76.115 3.048.733.805 1.179 1.825 1.179 3.09 0 4.413-2.688 5.39-5.247 5.678.417.36.776 1.05.776 2.128 0 1.538-.014 2.774-.014 3.162 0 .302.216.662.79.547C20.709 21.637 24 17.324 24 12.25 24 5.896 18.854.75 12.5.75Z"})})}function h3(){return $("svg",{xmlns:"http://www.w3.org/2000/svg",width:"53.34",height:"40",viewBox:"0 0 256 192",children:[d("path",{fill:"currentColor",d:"M84.38 108.352c-9.556 2.712-15.826 7.467-19.956 12.218c3.956-3.461 9.255-6.639 16.402-8.665c7.311-2.072 13.548-2.057 18.702-1.062v-4.03c-4.397-.402-9.437-.082-15.148 1.539M63.987 74.475l-35.49 9.35s.646.914 1.844 2.133l30.092-7.93s-.427 5.495-4.13 10.41c7.005-5.299 7.684-13.963 7.684-13.963m29.709 83.41c-49.946 13.452-76.37-44.43-84.37-74.472c-3.696-13.868-5.31-24.37-5.74-31.148a11.5 11.5 0 0 1 .025-1.84C1.021 50.58-.22 51.927.032 55.82c.43 6.773 2.044 17.275 5.74 31.147c7.997 30.038 34.424 87.92 84.37 74.468c10.871-2.929 19.038-8.263 25.17-15.073c-5.652 5.104-12.724 9.123-21.616 11.523M103.08 39.05v3.555h19.59c-.401-1.259-.806-2.393-1.208-3.555z"}),d("path",{fill:"currentColor",d:"M127.05 68.325c8.81 2.503 13.47 8.68 15.933 14.146l9.824 2.79s-1.34-19.132-18.645-24.047c-16.189-4.6-26.151 8.995-27.363 10.754c4.71-3.355 11.586-6.102 20.251-3.643m78.197 14.234c-16.204-4.62-26.162 9.003-27.356 10.737c4.713-3.351 11.586-6.099 20.247-3.629c8.797 2.506 13.452 8.676 15.923 14.146l9.837 2.8s-1.361-19.135-18.651-24.054m-9.76 50.443l-81.718-22.845s.885 4.485 4.279 10.293l68.803 19.234c5.664-3.277 8.636-6.682 8.636-6.682m-56.655 49.174C74.127 164.828 81.949 82.386 92.419 43.32c4.311-16.1 8.743-28.066 12.419-36.088c-2.193-.451-4.01.704-5.804 4.354C95.13 19.5 90.14 32.387 85.312 50.427c-10.467 39.066-18.29 121.506 46.412 138.854c30.497 8.17 54.256-4.247 71.966-23.749c-16.81 15.226-38.274 23.763-64.858 16.644"}),d("path",{fill:"currentColor",d:"M103.081 138.565v-16.637l-46.223 13.108s3.415-19.846 27.522-26.684c7.311-2.072 13.549-2.058 18.701-1.063V39.05h23.145c-2.52-7.787-4.958-13.782-7.006-17.948c-3.387-6.895-6.859-2.324-14.741 4.269c-5.552 4.638-19.583 14.533-40.698 20.222c-21.114 5.694-38.185 4.184-45.307 2.95c-10.097-1.742-15.378-3.96-14.884 3.721c.43 6.774 2.043 17.277 5.74 31.148c7.996 30.039 34.424 87.92 84.37 74.468c13.046-3.515 22.254-10.464 28.637-19.32h-19.256zm-74.588-54.74l35.494-9.35s-1.034 13.654-14.34 17.162c-13.31 3.504-21.154-7.812-21.154-7.812"}),d("path",{fill:"currentColor",d:"M236.664 39.84c-9.226 1.617-31.361 3.632-58.716-3.7c-27.363-7.328-45.517-20.144-52.71-26.168c-10.197-8.54-14.682-14.476-19.096-5.498c-3.902 7.918-8.893 20.805-13.723 38.846c-10.466 39.066-18.289 121.505 46.413 138.853c64.687 17.333 99.126-57.978 109.593-97.047c4.83-18.037 6.948-31.695 7.53-40.502c.665-9.976-6.187-7.08-19.29-4.784M106.668 72.161s10.196-15.859 27.49-10.943c17.305 4.915 18.645 24.046 18.645 24.046zm42.215 71.163c-30.419-8.91-35.11-33.167-35.11-33.167l81.714 22.846c0-.004-16.494 19.12-46.604 10.32m28.89-49.85s10.183-15.847 27.474-10.918c17.29 4.923 18.651 24.054 18.651 24.054z"}),d("path",{fill:"currentColor",d:"m86.928 126.51l-30.07 8.522s3.266-18.609 25.418-25.983L65.25 45.147l-1.471.447c-21.115 5.694-38.185 4.184-45.307 2.95c-10.097-1.741-15.379-3.96-14.885 3.722c.43 6.774 2.044 17.276 5.74 31.147c7.997 30.039 34.425 87.92 84.37 74.468l1.471-.462zM28.493 83.825l35.494-9.351s-1.034 13.654-14.34 17.162c-13.31 3.504-21.154-7.811-21.154-7.811"}),d("path",{fill:"currentColor",d:"m150.255 143.658l-1.376-.335c-30.419-8.91-35.11-33.166-35.11-33.166l42.137 11.778l22.308-85.724l-.27-.07c-27.362-7.329-45.516-20.145-52.71-26.17c-10.196-8.54-14.682-14.475-19.096-5.497c-3.898 7.918-8.889 20.805-13.719 38.846c-10.466 39.066-18.289 121.505 46.413 138.852l1.326.3zM106.668 72.16s10.196-15.859 27.49-10.943c17.305 4.915 18.645 24.046 18.645 24.046z"}),d("path",{fill:"currentColor",d:"m88.46 126.072l-8.064 2.289c1.906 10.74 5.264 21.047 10.534 30.152c.918-.202 1.828-.376 2.762-.632c2.449-.66 4.72-1.479 6.906-2.371c-5.89-8.74-9.785-18.804-12.137-29.438m-3.148-75.644c-4.144 15.467-7.852 37.73-6.831 60.06c1.826-.793 3.756-1.532 5.9-2.14l1.492-.334c-1.82-23.852 2.114-48.157 6.546-64.694a323 323 0 0 1 3.373-11.704a105 105 0 0 1-5.974 3.547a307 307 0 0 0-4.506 15.265"})]})}function m3(){return d("svg",{xmlns:"http://www.w3.org/2000/svg",height:"40",viewBox:"0 -960 960 960",width:"40",fill:"currentColor",children:d("path",{d:"M480-80q-82 0-155-31.5t-127.5-86Q143-252 111.5-325T80-480q0-83 32.5-156t88-127Q256-817 330-848.5T488-880q80 0 151 27.5t124.5 76q53.5 48.5 85 115T880-518q0 115-70 176.5T640-280h-74q-9 0-12.5 5t-3.5 11q0 12 15 34.5t15 51.5q0 50-27.5 74T480-80Zm0-400Zm-220 40q26 0 43-17t17-43q0-26-17-43t-43-17q-26 0-43 17t-17 43q0 26 17 43t43 17Zm120-160q26 0 43-17t17-43q0-26-17-43t-43-17q-26 0-43 17t-17 43q0 26 17 43t43 17Zm200 0q26 0 43-17t17-43q0-26-17-43t-43-17q-26 0-43 17t-17 43q0 26 17 43t43 17Zm120 160q26 0 43-17t17-43q0-26-17-43t-43-17q-26 0-43 17t-17 43q0 26 17 43t43 17ZM480-160q9 0 14.5-5t5.5-13q0-14-15-33t-15-57q0-42 29-67t71-25h70q66 0 113-38.5T800-518q0-121-92.5-201.5T488-800q-136 0-232 93t-96 227q0 133 93.5 226.5T480-160Z"})})}function v3(){return d("svg",{fill:"currentColor",width:"40",height:"40",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",children:d("path",{d:"M29.667 15.76c0-1.885-1.276-3.536-3.104-4.015l3.984-11.745h-19.74l3.996 11.787c-1.772 0.516-2.991 2.135-2.996 3.979 0 1.391 0.693 2.625 1.751 3.385-0.421 0.599-0.907 1.152-1.443 1.656-0.984 0.939-2.141 1.683-3.401 2.199-1.115-0.751-1.593-2.079-1.161-3.26 4.531-1.412 3.531-8.089-1.208-8.109-2.292 0.004-4.151 1.859-4.151 4.151 0 1.131 0.457 2.167 1.203 2.911-0.068 0.125-0.131 0.261-0.199 0.396-0.619 1.281-1.323 2.724-1.593 4.344-0.536 3.245 0.344 5.849 2.469 7.323 1.145 0.808 2.52 1.245 3.927 1.24 2.432 0 4.907-1.224 7.297-2.412 1.708-0.839 3.468-1.719 5.197-2.145 0.641-0.156 1.308-0.249 2.011-0.355 1.427-0.203 2.901-0.416 4.224-1.187 1.531-0.875 2.599-2.385 2.911-4.12 0.229-1.323 0-2.656-0.593-3.828 0.401-0.641 0.62-1.385 0.62-2.193zM27.86 15.76c0 1.287-1.048 2.333-2.333 2.333-2.209-0.005-3.177-2.791-1.444-4.167l0.005-0.009c0.079-0.057 0.163-0.115 0.24-0.168 0 0 0.016 0 0.016-0.009 0.036-0.021 0.072-0.047 0.109-0.068 0.011 0 0.016-0.005 0.025-0.005 0.037-0.021 0.084-0.036 0.131-0.057s0.093-0.036 0.131-0.057c0.009 0 0.015-0.005 0.025-0.005 0.037-0.011 0.079-0.031 0.115-0.036 0.005 0 0.027-0.011 0.037-0.011 0.047-0.011 0.083-0.021 0.129-0.027h0.005l0.141-0.031c0.009 0 0.025 0 0.036-0.011 0.036 0 0.073-0.011 0.115-0.011h0.041c0.047 0 0.093-0.005 0.151-0.005h0.12c0.037 0 0.068 0 0.104 0.005h0.016c0.073 0.011 0.151 0.021 0.224 0.043 1.083 0.229 1.86 1.187 1.86 2.296zM13.391 1.855h14.573l-3.344 9.864c-0.141 0.027-0.276 0.073-0.417 0.12l-3.52-7.177-3.532 7.131c-0.135-0.043-0.287-0.073-0.437-0.099zM20.016 14.953c-0.172-0.855-0.609-1.636-1.251-2.224l1.917-3.869 1.937 3.952c-0.579 0.573-0.995 1.308-1.161 2.141zM15.375 13.489c0.041-0.011 0.084-0.020 0.131-0.025h0.025c0.037-0.011 0.073-0.011 0.109-0.021h0.037c0.036 0 0.068-0.011 0.104-0.011h0.359c0.037 0 0.068 0.011 0.095 0.011 0.020 0 0.025 0 0.047 0.011 0.036 0.011 0.063 0.011 0.099 0.016 0.011 0 0.021 0 0.041 0.009l0.125 0.027h0.011c0.036 0.011 0.079 0.021 0.115 0.041 0.005 0 0.016 0.005 0.036 0.005 0.027 0.011 0.063 0.021 0.095 0.036 0.004 0 0.015 0.011 0.025 0.011 0.036 0.021 0.073 0.032 0.109 0.047h0.011c0.041 0.016 0.083 0.037 0.12 0.068h0.011c0.036 0.016 0.072 0.041 0.109 0.063 0.009 0 0.009 0.011 0.020 0.011 0.037 0.016 0.063 0.047 0.099 0.063l0.011 0.011c0.109 0.083 0.213 0.176 0.319 0.271l0.004 0.005c0.417 0.437 0.647 1.015 0.641 1.613-0.099 3.011-4.568 3.011-4.667 0-0.005-1.067 0.724-2 1.76-2.26zM6.255 13.421c1.287 0 2.333 1.052 2.333 2.339s-1.047 2.333-2.333 2.333c-1.285 0-2.333-1.047-2.333-2.333s1.048-2.339 2.333-2.339zM27.807 21.459c-0.213 1.197-0.952 2.239-2.009 2.844-1.011 0.583-2.256 0.771-3.557 0.952-0.735 0.095-1.469 0.224-2.188 0.391-1.927 0.475-3.781 1.396-5.579 2.287-2.296 1.141-4.463 2.213-6.473 2.213-1.031 0.005-2.036-0.312-2.875-0.916-2.037-1.407-1.937-4.047-1.693-5.495 0.219-1.355 0.839-2.62 1.432-3.833 0.043-0.073 0.068-0.141 0.105-0.213 0.203 0.072 0.416 0.129 0.64 0.167-0.355 1.963 0.645 3.995 2.593 4.995l0.349 0.181 0.38-0.135c1.62-0.579 3.125-1.511 4.448-2.76 0.735-0.683 1.38-1.453 1.927-2.292 0.215 0.036 0.428 0.047 0.641 0.047 1.885-0.005 3.531-1.276 4.011-3.104h1.557c0.473 1.828 2.124 3.104 4.011 3.104 0.771 0 1.484-0.213 2.093-0.573 0.24 0.693 0.317 1.417 0.187 2.141z"})})}const g3=Y` +`;function r3(){return d(k.Fragment,{children:document.location.origin==="https://joephela.github.io"?d(X4,{}):j(k.Fragment,{children:[d(Jg,{styles:n3}),d(H4,{}),d("main",{css:t3,children:d(Mg,{})}),d(K4,{})]})})}function i3(){return j("svg",{width:"40",height:"40",viewBox:"-10.5 -9.45 21 18.9",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("circle",{cx:"0",cy:"0",r:"2",fill:"currentColor"}),j("g",{stroke:"currentColor","stroke-width":"1",fill:"none",children:[d("ellipse",{rx:"10",ry:"4.5"}),d("ellipse",{rx:"10",ry:"4.5",transform:"rotate(60)"}),d("ellipse",{rx:"10",ry:"4.5",transform:"rotate(120)"})]})]})}function o3(){return d("svg",{fill:"none",height:"40",viewBox:"0 0 27 26",width:"40",xmlns:"http://www.w3.org/2000/svg",children:d("path",{"clip-rule":"evenodd",d:"m.98608 0h24.32332c.5446 0 .9861.436522.9861.975v24.05c0 .5385-.4415.975-.9861.975h-24.32332c-.544597 0-.98608-.4365-.98608-.975v-24.05c0-.538478.441483-.975.98608-.975zm13.63142 13.8324v-2.1324h-9.35841v2.1324h3.34111v9.4946h2.6598v-9.4946zm1.0604 9.2439c.4289.2162.9362.3784 1.5218.4865.5857.1081 1.2029.1622 1.8518.1622.6324 0 1.2331-.0595 1.8023-.1784.5691-.1189 1.0681-.3149 1.497-.5879s.7685-.6297 1.0187-1.0703.3753-.9852.3753-1.6339c0-.4703-.0715-.8824-.2145-1.2365-.1429-.3541-.3491-.669-.6186-.9447-.2694-.2757-.5925-.523-.9692-.7419s-.8014-.4257-1.2743-.6203c-.3465-.1406-.6572-.2771-.9321-.4095-.275-.1324-.5087-.2676-.7011-.4054-.1925-.1379-.3409-.2838-.4454-.4379-.1045-.154-.1567-.3284-.1567-.523 0-.1784.0467-.3392.1402-.4824.0935-.1433.2254-.2663.3959-.369s.3794-.1824.6269-.2392c.2474-.0567.5224-.0851.8248-.0851.22 0 .4523.0162.697.0486.2447.0325.4908.0825.7382.15.2475.0676.4881.1527.7218.2555.2337.1027.4495.2216.6475.3567v-2.4244c-.4015-.1514-.84-.2636-1.3157-.3365-.4756-.073-1.0214-.1095-1.6373-.1095-.6268 0-1.2207.0662-1.7816.1987-.5609.1324-1.0544.3392-1.4806.6203s-.763.6392-1.0104 1.0743c-.2475.4352-.3712.9555-.3712 1.5609 0 .7731.2268 1.4326.6805 1.9785.4537.546 1.1424 1.0082 2.0662 1.3866.363.146.7011.2892 1.0146.4298.3134.1405.5842.2865.8124.4378.2282.1514.4083.3162.5403.4946s.198.3811.198.6082c0 .1676-.0413.323-.1238.4662-.0825.1433-.2076.2676-.3753.373s-.3766.1879-.6268.2473c-.2502.0595-.5431.0892-.8785.0892-.5719 0-1.1383-.0986-1.6992-.2959-.5608-.1973-1.0805-.4933-1.5589-.8879z",fill:"currentColor","fill-rule":"evenodd"})})}function l3(){return j("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 92 92",children:[d("defs",{children:d("clipPath",{id:"a",children:d("path",{d:"M0 .113h91.887V92H0Zm0 0"})})}),d("g",{"clip-path":"url(#a)",children:d("path",{fill:"currentColor",d:"M90.156 41.965 50.036 1.848a5.918 5.918 0 0 0-8.372 0l-8.328 8.332 10.566 10.566a7.03 7.03 0 0 1 7.23 1.684 7.034 7.034 0 0 1 1.669 7.277l10.187 10.184a7.028 7.028 0 0 1 7.278 1.672 7.04 7.04 0 0 1 0 9.957 7.05 7.05 0 0 1-9.965 0 7.044 7.044 0 0 1-1.528-7.66l-9.5-9.497V59.36a7.04 7.04 0 0 1 1.86 11.29 7.04 7.04 0 0 1-9.957 0 7.04 7.04 0 0 1 0-9.958 7.06 7.06 0 0 1 2.304-1.539V33.926a7.049 7.049 0 0 1-3.82-9.234L29.242 14.272 1.73 41.777a5.925 5.925 0 0 0 0 8.371L41.852 90.27a5.925 5.925 0 0 0 8.37 0l39.934-39.934a5.925 5.925 0 0 0 0-8.371"})})]})}function a3(){return d("svg",{height:"40",viewBox:"0 0 323.99971 285.09601",width:"40",xmlns:"http://www.w3.org/2000/svg",children:j("g",{transform:"matrix(1.2548929 0 0 1.2548929 -22.9868 -19.949332)",children:[d("path",{d:"m97.021 99.016l48.432-27.962c1.212-.7 2.706-.7 3.918 0l48.433 27.962c1.211.7 1.959 1.993 1.959 3.393v55.924c0 1.399-.748 2.693-1.959 3.394l-48.433 27.962c-1.212.7-2.706.7-3.918 0l-48.432-27.962c-1.212-.7-1.959-1.994-1.959-3.394v-55.924c.001-1.4.748-2.693 1.959-3.393",fill:"currentColor"}),d("path",{d:"m273.336 124.488l-57.867-100.672c-2.102-3.64-5.985-6.325-10.188-6.325h-115.736c-4.204 0-8.088 2.685-10.19 6.325l-57.867 100.45c-2.102 3.641-2.102 8.236 0 11.877l57.867 99.847c2.102 3.64 5.986 5.501 10.19 5.501h115.735c4.203 0 8.087-1.805 10.188-5.446l57.867-100.01c2.104-3.639 2.104-7.907.001-11.547m-47.917 48.41c0 1.48-.891 2.849-2.174 3.59l-73.71 42.527c-1.282.74-2.888.74-4.17 0l-73.767-42.527c-1.282-.741-2.179-2.109-2.179-3.59v-85.055c0-1.481.884-2.849 2.167-3.59l73.707-42.527c1.282-.741 2.886-.741 4.168 0l73.772 42.527c1.283.741 2.186 2.109 2.186 3.59z",fill:"currentColor"})]})})}function u3(){return d("svg",{width:"40",height:"40",viewBox:"0 0 256 256",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid",fill:"currentColor",children:j("g",{children:[d("rect",{x:"182.857143",y:"48.7619048",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"243.809524",width:"73.1428571",height:"12.1904762",rx:"5"}),d("rect",{x:"146.285714",y:"146.285714",width:"48.7619048",height:"12.1904762",rx:"5"}),d("rect",{x:"73.1428571",y:"146.285714",width:"60.952381",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"146.285714",width:"60.952381",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"195.047619",width:"73.1428571",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"97.5238095",width:"73.1428571",height:"12.1904762",rx:"5"}),d("rect",{x:"60.952381",y:"24.3809524",width:"134.095238",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"24.3809524",width:"48.7619048",height:"12.1904762",rx:"5"}),d("rect",{x:"48.7619048",y:"219.428571",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{x:"48.7619048",y:"73.1428571",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"219.428571",width:"36.5714286",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"73.1428571",width:"36.5714286",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"158.47619",y:"219.428571",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"85.3333333",y:"219.428571",width:"60.952381",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"195.047619",y:"219.428571",width:"60.952381",height:"12.1904762",rx:"5"}),d("rect",{x:"97.5238095",y:"121.904762",width:"109.714286",height:"12.1904762",rx:"5"}),d("rect",{x:"36.5714286",y:"121.904762",width:"48.7619048",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"121.904762",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{x:"109.714286",y:"48.7619048",width:"60.952381",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"48.7619048",width:"97.5238095",height:"12.1904762",rx:"5"}),d("rect",{x:"36.5714286",y:"170.666667",width:"121.904762",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"170.666667",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{x:"146.285714",y:"73.1428571",width:"73.1428571",height:"12.1904762",rx:"5"}),d("rect",{x:"146.285714",y:"97.5238095",width:"73.1428571",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"0",width:"158.47619",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"170.666667",y:"0",width:"85.3333333",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"170.666667",y:"170.666667",width:"36.5714286",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"219.428571",y:"170.666667",width:"36.5714286",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"207.238095",y:"146.285714",width:"48.7619048",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"207.238095",y:"24.3809524",width:"48.7619048",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"219.428571",y:"121.904762",width:"36.5714286",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"219.428571",y:"48.7619048",width:"36.5714286",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"231.619048",y:"73.1428571",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"231.619048",y:"97.5238095",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"134.095238",y:"195.047619",width:"121.904762",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"85.3333333",y:"195.047619",width:"36.5714286",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"182.857143",y:"243.809524",width:"73.1428571",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"85.3333333",y:"243.809524",width:"85.3333333",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"85.3333333",y:"73.1428571",width:"48.7619048",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"85.3333333",y:"97.5238095",width:"48.7619048",height:"12.1904762",rx:"5"})]})})}function s3(){return j("svg",{width:"40",height:"40",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",children:[d("title",{children:"file_type_vite"}),d("path",{d:"M29.8836 6.146L16.7418 29.6457c-.2714.4851-.9684.488-1.2439.0052L2.0956 6.1482c-.3-.5262.1498-1.1635.746-1.057l13.156 2.3516a.7144.7144 0 00.2537-.0004l12.8808-2.3478c.5942-.1083 1.0463.5241.7515 1.0513z",fill:"currentColor",fillOpacity:"50%"}),d("path",{d:"M22.2644 2.0069l-9.7253 1.9056a.3571.3571 0 00-.2879.3294l-.5982 10.1038c-.014.238.2045.4227.4367.3691l2.7077-.6248c.2534-.0585.4823.1647.4302.4194l-.8044 3.9393c-.0542.265.1947.4918.4536.4132l1.6724-.5082c.2593-.0787.5084.1487.4536.414l-1.2784 6.1877c-.08.387.4348.598.6495.2662L16.5173 25 24.442 9.1848c.1327-.2648-.096-.5667-.387-.5106l-2.787.5379c-.262.0505-.4848-.1934-.4109-.4497l1.8191-6.306c.074-.2568-.1496-.5009-.4118-.4495z",fill:"currentColor"})]})}function c3(){return d("svg",{width:"40",height:"40",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d("path",{d:"M12 1L24 22H0L12 1Z",fill:"currentColor"})})}function f3(){return j("svg",{width:"40",height:"40",viewBox:"0 0 32 32",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[d("path",{d:"M21.0016 3.11679C21.0016 2.23783 20.0175 2.23782 19.5801 2.34769C20.1924 1.86426 20.9105 1.98147 21.1656 2.12796L27.079 5.02747C27.6424 5.30375 27.9998 5.8786 27.9998 6.50857V25.5831C27.9998 26.2215 27.6329 26.8025 27.058 27.0743L21.4937 29.7054C21.1109 29.8701 20.2799 30.2767 19.5801 29.7053C20.4549 29.8702 20.9287 29.2476 21.0016 28.8264V3.11679Z"}),d("path",{d:"M19.6512 2.3319C20.1154 2.24017 21.0018 2.28271 21.0018 3.11685V9.68254L3.07359 23.2453C2.76022 23.4824 2.3192 23.443 2.05229 23.1542L0.204532 21.1548C-0.0849358 20.8416 -0.0646824 20.3513 0.249624 20.0633L19.5802 2.34775L19.6512 2.3319Z"}),d("path",{d:"M21.0018 22.3708L3.07359 8.80801C2.76022 8.57094 2.3192 8.61028 2.05229 8.8991L0.204532 10.8985C-0.0849358 11.2117 -0.0646824 11.702 0.249624 11.9901L19.5802 29.7056C20.455 29.8704 20.9289 29.2478 21.0018 28.8266V22.3708Z"}),j("defs",{children:[j("linearGradient",{id:"paint0_linear_87_8101",x1:"23.79",y1:"2",x2:"23.79",y2:"30",gradientUnits:"userSpaceOnUse",children:[d("stop",{"stop-color":"#32B5F1"}),d("stop",{offset:"1","stop-color":"#2B9FED"})]}),j("linearGradient",{id:"paint1_linear_87_8101",x1:"21.0018",y1:"5.53398",x2:"1.0217",y2:"22.3051",gradientUnits:"userSpaceOnUse",children:[d("stop",{"stop-color":"#0F6FB3"}),d("stop",{offset:"0.270551","stop-color":"#1279B7"}),d("stop",{offset:"0.421376","stop-color":"#1176B5"}),d("stop",{offset:"0.618197","stop-color":"#0E69AC"}),d("stop",{offset:"0.855344","stop-color":"#0F70AF"}),d("stop",{offset:"1","stop-color":"#0F6DAD"})]}),j("linearGradient",{id:"paint2_linear_87_8101",x1:"1.15522",y1:"9.98389",x2:"21.0791",y2:"26.4808",gradientUnits:"userSpaceOnUse",children:[d("stop",{"stop-color":"#1791D2"}),d("stop",{offset:"1","stop-color":"#1173C5"})]})]})]})}function d3(){return d("svg",{xmlns:"http://www.w3.org/2000/svg",height:"40",viewBox:"0 -960 960 960",width:"40",fill:"currentColor",children:d("path",{d:"M480-480Zm80 240q100 0 170-70t70-170q0-101-73.5-170.5T550-720q-48 0-93 11t-87 33l100 40q41 17 65.5 52.5T560-504q0 60-41.5 102T418-360H162q-2 24-2 54.5v65.5h400ZM176-440h240q27 0 45.5-18.5T480-504q0-19-10.5-34.5T440-562l-148-60q-42 37-71.5 84T176-440Zm384 280H160q-33 0-56.5-23.5T80-240v-90q0-98 37-183.5t100.5-149Q281-726 367-763t183-37q68 0 128 25t105 68.5Q828-663 854-605t26 125q0 66-25 124.5t-68.5 102Q743-210 684.5-185T560-160Z"})})}function p3(){return d("svg",{xmlns:"http://www.w3.org/2000/svg",height:"40",viewBox:"0 -960 960 960",width:"40",fill:"currentColor",children:d("path",{d:"M320-240h320v-80H320v80Zm0-160h320v-80H320v80ZM240-80q-33 0-56.5-23.5T160-160v-640q0-33 23.5-56.5T240-880h320l240 240v480q0 33-23.5 56.5T720-80H240Zm280-520v-200H240v640h480v-440H520ZM240-800v200-200 640-640Z"})})}function h3(){return j("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 35 35",width:"40",height:"40",preserveAspectRatio:"xMidYMid meet",fill:"currentColor",children:[j("defs",{children:[d("clipPath",{id:"__lottie_element_23",children:d("rect",{width:"35",height:"35",x:"0",y:"0"})}),d("mask",{id:"__lottie_element_38",children:d("path",{"clip-rule":"nonzero",d:"M0,0 h35 v35 h-35 v-35 M29.062000274658203,-3 C29.062000274658203,-3 14.753000259399414,-3 14.753000259399414,-3 C14.753000259399414,-3 14.753000259399414,29.816999435424805 14.753000259399414,29.816999435424805 C14.753000259399414,29.816999435424805 29.062000274658203,29.816999435424805 29.062000274658203,29.816999435424805 C29.062000274658203,29.816999435424805 29.062000274658203,-3 29.062000274658203,-3","fill-opacity":"1"})})]}),j("g",{"clip-path":"url(#__lottie_element_23)",children:[d("g",{mask:"url(#__lottie_element_38)",transform:"matrix(1,0,0,1,1.25,5.75)",opacity:"1",children:d("g",{opacity:"1",transform:"matrix(1,0,0,1,12,11.75)",children:d("path",{"fill-opacity":"1",d:" M-11.75,11.5 C-11.75,11.5 2.75,-11.5 2.75,-11.5 C2.75,-11.5 11.75,-11.5 11.75,-11.5 C11.75,-11.5 11.75,-8.300000190734863 11.75,-8.300000190734863 C11.75,-8.300000190734863 -0.75,11.5 -0.75,11.5"})})}),d("g",{transform:"matrix(1,0,0,1,15.75,5.75)",opacity:"1",children:d("g",{opacity:"1",transform:"matrix(1,0,0,1,4.75,11.75)",children:d("path",{"fill-opacity":"1",d:" M4.5,11.5 C4.5,11.5 -4.5,11.5 -4.5,11.5 C-4.5,11.5 -4.5,-11.5 -4.5,-11.5 C-4.5,-11.5 4.5,-11.5 4.5,-11.5 C4.5,-11.5 4.5,11.5 4.5,11.5z"})})}),d("g",{transform:"matrix(1,0,0,1,24.75,15.75)",opacity:"1",children:d("g",{opacity:"1",transform:"matrix(1,0,0,1,3.5,6.75)",children:d("path",{"fill-opacity":"1",d:" M3.25,0 C3.25,3.5899999141693115 0.3400000035762787,6.5 -3.25,6.5 C-3.25,6.5 -3.25,-6.5 -3.25,-6.5 C0.3400000035762787,-6.5 3.25,-3.5899999141693115 3.25,0z"})})}),d("g",{transform:"matrix(1,0,0,1,18.25,15.75)",opacity:"1",children:d("g",{opacity:"1",transform:"matrix(1,0,0,1,3.5,6.75)",children:d("path",{"fill-opacity":"1",d:" M3.25,6.5 C-0.3400000035762787,6.5 -3.25,3.5899999141693115 -3.25,0 C-3.25,-3.5899999141693115 -0.3400000035762787,-6.5 3.25,-6.5 C3.25,-6.5 3.25,6.5 3.25,6.5z"})})}),d("g",{transform:"matrix(0.9999958872795105,0,0,0.9999958872795105,24.75,5.750020980834961)",opacity:"1",children:d("g",{opacity:"1",transform:"matrix(1,0,0,1,2.75,5.25)",children:d("path",{"fill-opacity":"1",d:" M2.5,0 C2.5,2.760999917984009 0.2619999945163727,5 -2.5,5 C-2.5,5 -2.5,-5 -2.5,-5 C0.2619999945163727,-5 2.5,-2.760999917984009 2.5,0z"})})}),d("g",{transform:"matrix(0.9999958872795105,0,0,0.9999958872795105,19.75002098083496,5.750020980834961)",opacity:"1",children:d("g",{opacity:"1",transform:"matrix(1,0,0,1,2.75,5.25)",children:d("path",{"fill-opacity":"1",d:" M2.5,5 C-0.2619999945163727,5 -2.5,2.760999917984009 -2.5,0 C-2.5,-2.760999917984009 -0.2619999945163727,-5 2.5,-5 C2.5,-5 2.5,5 2.5,5z"})})}),d("g",{transform:"matrix(1,0,0,1,1.75,5.75)",opacity:"0.9999999999999999",children:d("g",{opacity:"1",transform:"matrix(1,0,0,1,4.75,4.75)",children:d("path",{"fill-opacity":"1",d:" M-4.5,0 C-4.5,-2.484999895095825 -2.484999895095825,-4.5 0,-4.5 C2.484999895095825,-4.5 4.5,-2.484999895095825 4.5,0 C4.5,2.484999895095825 2.484999895095825,4.5 0,4.5 C-2.484999895095825,4.5 -4.5,2.484999895095825 -4.5,0z"})})})]})]})}function m3(){return d("svg",{height:"40",viewBox:"0 0 24 24",version:"1.1",width:"40","data-view-component":"true",fill:"currentColor",children:d("path",{d:"M12.5.75C6.146.75 1 5.896 1 12.25c0 5.089 3.292 9.387 7.863 10.91.575.101.79-.244.79-.546 0-.273-.014-1.178-.014-2.142-2.889.532-3.636-.704-3.866-1.35-.13-.331-.69-1.352-1.18-1.625-.402-.216-.977-.748-.014-.762.906-.014 1.553.834 1.769 1.179 1.035 1.74 2.688 1.25 3.349.948.1-.747.402-1.25.733-1.538-2.559-.287-5.232-1.279-5.232-5.678 0-1.25.445-2.285 1.178-3.09-.115-.288-.517-1.467.115-3.048 0 0 .963-.302 3.163 1.179.92-.259 1.897-.388 2.875-.388.977 0 1.955.13 2.875.388 2.2-1.495 3.162-1.179 3.162-1.179.633 1.581.23 2.76.115 3.048.733.805 1.179 1.825 1.179 3.09 0 4.413-2.688 5.39-5.247 5.678.417.36.776 1.05.776 2.128 0 1.538-.014 2.774-.014 3.162 0 .302.216.662.79.547C20.709 21.637 24 17.324 24 12.25 24 5.896 18.854.75 12.5.75Z"})})}function v3(){return j("svg",{xmlns:"http://www.w3.org/2000/svg",width:"53.34",height:"40",viewBox:"0 0 256 192",children:[d("path",{fill:"currentColor",d:"M84.38 108.352c-9.556 2.712-15.826 7.467-19.956 12.218c3.956-3.461 9.255-6.639 16.402-8.665c7.311-2.072 13.548-2.057 18.702-1.062v-4.03c-4.397-.402-9.437-.082-15.148 1.539M63.987 74.475l-35.49 9.35s.646.914 1.844 2.133l30.092-7.93s-.427 5.495-4.13 10.41c7.005-5.299 7.684-13.963 7.684-13.963m29.709 83.41c-49.946 13.452-76.37-44.43-84.37-74.472c-3.696-13.868-5.31-24.37-5.74-31.148a11.5 11.5 0 0 1 .025-1.84C1.021 50.58-.22 51.927.032 55.82c.43 6.773 2.044 17.275 5.74 31.147c7.997 30.038 34.424 87.92 84.37 74.468c10.871-2.929 19.038-8.263 25.17-15.073c-5.652 5.104-12.724 9.123-21.616 11.523M103.08 39.05v3.555h19.59c-.401-1.259-.806-2.393-1.208-3.555z"}),d("path",{fill:"currentColor",d:"M127.05 68.325c8.81 2.503 13.47 8.68 15.933 14.146l9.824 2.79s-1.34-19.132-18.645-24.047c-16.189-4.6-26.151 8.995-27.363 10.754c4.71-3.355 11.586-6.102 20.251-3.643m78.197 14.234c-16.204-4.62-26.162 9.003-27.356 10.737c4.713-3.351 11.586-6.099 20.247-3.629c8.797 2.506 13.452 8.676 15.923 14.146l9.837 2.8s-1.361-19.135-18.651-24.054m-9.76 50.443l-81.718-22.845s.885 4.485 4.279 10.293l68.803 19.234c5.664-3.277 8.636-6.682 8.636-6.682m-56.655 49.174C74.127 164.828 81.949 82.386 92.419 43.32c4.311-16.1 8.743-28.066 12.419-36.088c-2.193-.451-4.01.704-5.804 4.354C95.13 19.5 90.14 32.387 85.312 50.427c-10.467 39.066-18.29 121.506 46.412 138.854c30.497 8.17 54.256-4.247 71.966-23.749c-16.81 15.226-38.274 23.763-64.858 16.644"}),d("path",{fill:"currentColor",d:"M103.081 138.565v-16.637l-46.223 13.108s3.415-19.846 27.522-26.684c7.311-2.072 13.549-2.058 18.701-1.063V39.05h23.145c-2.52-7.787-4.958-13.782-7.006-17.948c-3.387-6.895-6.859-2.324-14.741 4.269c-5.552 4.638-19.583 14.533-40.698 20.222c-21.114 5.694-38.185 4.184-45.307 2.95c-10.097-1.742-15.378-3.96-14.884 3.721c.43 6.774 2.043 17.277 5.74 31.148c7.996 30.039 34.424 87.92 84.37 74.468c13.046-3.515 22.254-10.464 28.637-19.32h-19.256zm-74.588-54.74l35.494-9.35s-1.034 13.654-14.34 17.162c-13.31 3.504-21.154-7.812-21.154-7.812"}),d("path",{fill:"currentColor",d:"M236.664 39.84c-9.226 1.617-31.361 3.632-58.716-3.7c-27.363-7.328-45.517-20.144-52.71-26.168c-10.197-8.54-14.682-14.476-19.096-5.498c-3.902 7.918-8.893 20.805-13.723 38.846c-10.466 39.066-18.289 121.505 46.413 138.853c64.687 17.333 99.126-57.978 109.593-97.047c4.83-18.037 6.948-31.695 7.53-40.502c.665-9.976-6.187-7.08-19.29-4.784M106.668 72.161s10.196-15.859 27.49-10.943c17.305 4.915 18.645 24.046 18.645 24.046zm42.215 71.163c-30.419-8.91-35.11-33.167-35.11-33.167l81.714 22.846c0-.004-16.494 19.12-46.604 10.32m28.89-49.85s10.183-15.847 27.474-10.918c17.29 4.923 18.651 24.054 18.651 24.054z"}),d("path",{fill:"currentColor",d:"m86.928 126.51l-30.07 8.522s3.266-18.609 25.418-25.983L65.25 45.147l-1.471.447c-21.115 5.694-38.185 4.184-45.307 2.95c-10.097-1.741-15.379-3.96-14.885 3.722c.43 6.774 2.044 17.276 5.74 31.147c7.997 30.039 34.425 87.92 84.37 74.468l1.471-.462zM28.493 83.825l35.494-9.351s-1.034 13.654-14.34 17.162c-13.31 3.504-21.154-7.811-21.154-7.811"}),d("path",{fill:"currentColor",d:"m150.255 143.658l-1.376-.335c-30.419-8.91-35.11-33.166-35.11-33.166l42.137 11.778l22.308-85.724l-.27-.07c-27.362-7.329-45.516-20.145-52.71-26.17c-10.196-8.54-14.682-14.475-19.096-5.497c-3.898 7.918-8.889 20.805-13.719 38.846c-10.466 39.066-18.289 121.505 46.413 138.852l1.326.3zM106.668 72.16s10.196-15.859 27.49-10.943c17.305 4.915 18.645 24.046 18.645 24.046z"}),d("path",{fill:"currentColor",d:"m88.46 126.072l-8.064 2.289c1.906 10.74 5.264 21.047 10.534 30.152c.918-.202 1.828-.376 2.762-.632c2.449-.66 4.72-1.479 6.906-2.371c-5.89-8.74-9.785-18.804-12.137-29.438m-3.148-75.644c-4.144 15.467-7.852 37.73-6.831 60.06c1.826-.793 3.756-1.532 5.9-2.14l1.492-.334c-1.82-23.852 2.114-48.157 6.546-64.694a323 323 0 0 1 3.373-11.704a105 105 0 0 1-5.974 3.547a307 307 0 0 0-4.506 15.265"})]})}function g3(){return d("svg",{xmlns:"http://www.w3.org/2000/svg",height:"40",viewBox:"0 -960 960 960",width:"40",fill:"currentColor",children:d("path",{d:"M480-80q-82 0-155-31.5t-127.5-86Q143-252 111.5-325T80-480q0-83 32.5-156t88-127Q256-817 330-848.5T488-880q80 0 151 27.5t124.5 76q53.5 48.5 85 115T880-518q0 115-70 176.5T640-280h-74q-9 0-12.5 5t-3.5 11q0 12 15 34.5t15 51.5q0 50-27.5 74T480-80Zm0-400Zm-220 40q26 0 43-17t17-43q0-26-17-43t-43-17q-26 0-43 17t-17 43q0 26 17 43t43 17Zm120-160q26 0 43-17t17-43q0-26-17-43t-43-17q-26 0-43 17t-17 43q0 26 17 43t43 17Zm200 0q26 0 43-17t17-43q0-26-17-43t-43-17q-26 0-43 17t-17 43q0 26 17 43t43 17Zm120 160q26 0 43-17t17-43q0-26-17-43t-43-17q-26 0-43 17t-17 43q0 26 17 43t43 17ZM480-160q9 0 14.5-5t5.5-13q0-14-15-33t-15-57q0-42 29-67t71-25h70q66 0 113-38.5T800-518q0-121-92.5-201.5T488-800q-136 0-232 93t-96 227q0 133 93.5 226.5T480-160Z"})})}function y3(){return d("svg",{fill:"currentColor",width:"40",height:"40",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",children:d("path",{d:"M29.667 15.76c0-1.885-1.276-3.536-3.104-4.015l3.984-11.745h-19.74l3.996 11.787c-1.772 0.516-2.991 2.135-2.996 3.979 0 1.391 0.693 2.625 1.751 3.385-0.421 0.599-0.907 1.152-1.443 1.656-0.984 0.939-2.141 1.683-3.401 2.199-1.115-0.751-1.593-2.079-1.161-3.26 4.531-1.412 3.531-8.089-1.208-8.109-2.292 0.004-4.151 1.859-4.151 4.151 0 1.131 0.457 2.167 1.203 2.911-0.068 0.125-0.131 0.261-0.199 0.396-0.619 1.281-1.323 2.724-1.593 4.344-0.536 3.245 0.344 5.849 2.469 7.323 1.145 0.808 2.52 1.245 3.927 1.24 2.432 0 4.907-1.224 7.297-2.412 1.708-0.839 3.468-1.719 5.197-2.145 0.641-0.156 1.308-0.249 2.011-0.355 1.427-0.203 2.901-0.416 4.224-1.187 1.531-0.875 2.599-2.385 2.911-4.12 0.229-1.323 0-2.656-0.593-3.828 0.401-0.641 0.62-1.385 0.62-2.193zM27.86 15.76c0 1.287-1.048 2.333-2.333 2.333-2.209-0.005-3.177-2.791-1.444-4.167l0.005-0.009c0.079-0.057 0.163-0.115 0.24-0.168 0 0 0.016 0 0.016-0.009 0.036-0.021 0.072-0.047 0.109-0.068 0.011 0 0.016-0.005 0.025-0.005 0.037-0.021 0.084-0.036 0.131-0.057s0.093-0.036 0.131-0.057c0.009 0 0.015-0.005 0.025-0.005 0.037-0.011 0.079-0.031 0.115-0.036 0.005 0 0.027-0.011 0.037-0.011 0.047-0.011 0.083-0.021 0.129-0.027h0.005l0.141-0.031c0.009 0 0.025 0 0.036-0.011 0.036 0 0.073-0.011 0.115-0.011h0.041c0.047 0 0.093-0.005 0.151-0.005h0.12c0.037 0 0.068 0 0.104 0.005h0.016c0.073 0.011 0.151 0.021 0.224 0.043 1.083 0.229 1.86 1.187 1.86 2.296zM13.391 1.855h14.573l-3.344 9.864c-0.141 0.027-0.276 0.073-0.417 0.12l-3.52-7.177-3.532 7.131c-0.135-0.043-0.287-0.073-0.437-0.099zM20.016 14.953c-0.172-0.855-0.609-1.636-1.251-2.224l1.917-3.869 1.937 3.952c-0.579 0.573-0.995 1.308-1.161 2.141zM15.375 13.489c0.041-0.011 0.084-0.020 0.131-0.025h0.025c0.037-0.011 0.073-0.011 0.109-0.021h0.037c0.036 0 0.068-0.011 0.104-0.011h0.359c0.037 0 0.068 0.011 0.095 0.011 0.020 0 0.025 0 0.047 0.011 0.036 0.011 0.063 0.011 0.099 0.016 0.011 0 0.021 0 0.041 0.009l0.125 0.027h0.011c0.036 0.011 0.079 0.021 0.115 0.041 0.005 0 0.016 0.005 0.036 0.005 0.027 0.011 0.063 0.021 0.095 0.036 0.004 0 0.015 0.011 0.025 0.011 0.036 0.021 0.073 0.032 0.109 0.047h0.011c0.041 0.016 0.083 0.037 0.12 0.068h0.011c0.036 0.016 0.072 0.041 0.109 0.063 0.009 0 0.009 0.011 0.020 0.011 0.037 0.016 0.063 0.047 0.099 0.063l0.011 0.011c0.109 0.083 0.213 0.176 0.319 0.271l0.004 0.005c0.417 0.437 0.647 1.015 0.641 1.613-0.099 3.011-4.568 3.011-4.667 0-0.005-1.067 0.724-2 1.76-2.26zM6.255 13.421c1.287 0 2.333 1.052 2.333 2.339s-1.047 2.333-2.333 2.333c-1.285 0-2.333-1.047-2.333-2.333s1.048-2.339 2.333-2.339zM27.807 21.459c-0.213 1.197-0.952 2.239-2.009 2.844-1.011 0.583-2.256 0.771-3.557 0.952-0.735 0.095-1.469 0.224-2.188 0.391-1.927 0.475-3.781 1.396-5.579 2.287-2.296 1.141-4.463 2.213-6.473 2.213-1.031 0.005-2.036-0.312-2.875-0.916-2.037-1.407-1.937-4.047-1.693-5.495 0.219-1.355 0.839-2.62 1.432-3.833 0.043-0.073 0.068-0.141 0.105-0.213 0.203 0.072 0.416 0.129 0.64 0.167-0.355 1.963 0.645 3.995 2.593 4.995l0.349 0.181 0.38-0.135c1.62-0.579 3.125-1.511 4.448-2.76 0.735-0.683 1.38-1.453 1.927-2.292 0.215 0.036 0.428 0.047 0.641 0.047 1.885-0.005 3.531-1.276 4.011-3.104h1.557c0.473 1.828 2.124 3.104 4.011 3.104 0.771 0 1.484-0.213 2.093-0.573 0.24 0.693 0.317 1.417 0.187 2.141z"})})}const w3=Y` ${cc} -`,y3=Y` +`,S3=Y` display: flex; gap: 24px; flex-wrap: wrap; margin-block-start: 40px; justify-content: center; -`,w3=Y` +`,x3=Y` width: 120px; height: 120px; box-shadow: 1px 1px 4px var(--fg-color); @@ -386,9 +386,9 @@ object-assign &:focus { box-shadow: 1px 1px 1px var(--hover-color); } -`;function Ge({children:e,href:t}){return d("a",{css:w3,href:t,target:"_blank",children:e})}function S3(){return $("div",{css:g3,children:[$(Xi,{children:[d("meta",{name:"description",content:`A collection of technologies used in the process of making this - website and in my day to day work.`}),d("title",{children:"Tech - Joseph D. Phelan"})]}),d("h1",{children:"Technology"}),d("p",{children:"A collection of technologies used in the process of making this website and in my day to day work."}),d("p",{children:"My preferred stack includes working in typescript and react with some sort of css-in-js library (in my case I am using emotion). I use git and github for version control and code reviews. Eslint and prettier are used for code formatting. Vite was used to generate the skeleton of this project."}),d("p",{children:"My preferred code editor is visual studio code, but I've also used some jetbrains editors in the past. I use vercel to host my website. I like to use Playwright for e2e testing and jest for js unit testing."}),$("div",{css:y3,children:[$(Ge,{href:"https://react.dev/",children:[d(n3,{}),d("p",{children:"React"})]}),$(Ge,{href:"https://www.typescriptlang.org/",children:[d(r3,{}),d("p",{children:"Typescript"})]}),$(Ge,{href:"https://git-scm.com/",children:[d(i3,{}),d("p",{children:"Git"})]}),$(Ge,{href:"https://github.com/",children:[d(p3,{}),d("p",{children:"Github"})]}),$(Ge,{href:"https://eslint.org/",children:[d(o3,{}),d("p",{children:"Eslint"})]}),$(Ge,{href:"https://prettier.io/",children:[d(l3,{}),d("p",{children:"Prettier"})]}),$(Ge,{href:"https://vite.dev/",children:[d(a3,{}),d("p",{children:"Vite"})]}),$(Ge,{href:"https://vercel.com",children:[d(u3,{}),d("p",{children:"Vercel"})]}),$(Ge,{href:"https://code.visualstudio.com/",children:[d(s3,{}),d("p",{children:"VS code"})]}),$(Ge,{href:"https://playwright.dev",children:[d(h3,{}),d("p",{children:"Playwright"})]}),$(Ge,{href:"https://jestjs.io/",children:[d(v3,{}),d("p",{children:"Jest"})]}),$(Ge,{href:"https://emotion.sh",children:[d(m3,{}),d("p",{children:"Emotion"})]}),$(Ge,{href:"https://fonts.google.com/icons",children:[d(d3,{}),d("p",{children:"Material icons"})]}),$(Ge,{href:"https://github.com/nfl/react-helmet",children:[d(c3,{}),d("p",{children:"React-helmet"})]}),$(Ge,{href:"https://github.com/tschaub/gh-pages",children:[d(f3,{}),d("p",{children:"Gh-pages"})]})]})]})}function x3(){return d("svg",{xmlns:"http://www.w3.org/2000/svg",height:"40px",viewBox:"0 -960 960 960",width:"40px",fill:"currentColor",children:d("path",{d:"M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm-40-160h80v-240h-80v240Zm40 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"})})}const E3=Y` +`;function Ge({children:e,href:t}){return d("a",{css:x3,href:t,target:"_blank",children:e})}function E3(){return j("div",{css:w3,children:[j(Xi,{children:[d("meta",{name:"description",content:`A collection of technologies used in the process of making this + website and in my day to day work.`}),d("title",{children:"Tech - Joseph D. Phelan"})]}),d("h1",{children:"Technology"}),d("p",{children:"A collection of technologies used in the process of making this website and in my day to day work."}),d("p",{children:"My preferred stack includes working in typescript and react with some sort of css-in-js library (in my case I am using emotion). I use git and github for version control and code reviews. Eslint and prettier are used for code formatting. Vite was used to generate the skeleton of this project."}),d("p",{children:"My preferred code editor is visual studio code, but I've also used some jetbrains editors in the past. I use vercel to host my website. I like to use Playwright for e2e testing and jest for js unit testing."}),j("div",{css:S3,children:[j(Ge,{href:"https://react.dev/",children:[d(i3,{}),d("p",{children:"React"})]}),j(Ge,{href:"https://www.typescriptlang.org/",children:[d(o3,{}),d("p",{children:"Typescript"})]}),j(Ge,{href:"https://git-scm.com/",children:[d(l3,{}),d("p",{children:"Git"})]}),j(Ge,{href:"https://github.com/",children:[d(m3,{}),d("p",{children:"Github"})]}),j(Ge,{href:"https://eslint.org/",children:[d(a3,{}),d("p",{children:"Eslint"})]}),j(Ge,{href:"https://prettier.io/",children:[d(u3,{}),d("p",{children:"Prettier"})]}),j(Ge,{href:"https://vite.dev/",children:[d(s3,{}),d("p",{children:"Vite"})]}),j(Ge,{href:"https://vercel.com",children:[d(c3,{}),d("p",{children:"Vercel"})]}),j(Ge,{href:"https://code.visualstudio.com/",children:[d(f3,{}),d("p",{children:"VS code"})]}),j(Ge,{href:"https://playwright.dev",children:[d(v3,{}),d("p",{children:"Playwright"})]}),j(Ge,{href:"https://jestjs.io/",children:[d(y3,{}),d("p",{children:"Jest"})]}),j(Ge,{href:"https://emotion.sh",children:[d(g3,{}),d("p",{children:"Emotion"})]}),j(Ge,{href:"https://fonts.google.com/icons",children:[d(h3,{}),d("p",{children:"Material icons"})]}),j(Ge,{href:"https://github.com/nfl/react-helmet",children:[d(d3,{}),d("p",{children:"React-helmet"})]}),j(Ge,{href:"https://github.com/tschaub/gh-pages",children:[d(p3,{}),d("p",{children:"Gh-pages"})]})]})]})}function C3(){return d("svg",{xmlns:"http://www.w3.org/2000/svg",height:"40px",viewBox:"0 -960 960 960",width:"40px",fill:"currentColor",children:d("path",{d:"M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm-40-160h80v-240h-80v240Zm40 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"})})}const T3=Y` display: flex; align-items: center; gap: 8px; -`;function C3(){return $("div",{children:[$("h1",{css:E3,children:[d(x3,{}),"Path not found"]}),"Looks like the path you are trying to reach does not exist. Run back"," ",d(_i,{to:"/",children:"Home"}),"!"]})}function T3(){const e=jg([{path:"/",element:d(t3,{}),children:[{path:"/",Component:o4,index:!0},{path:"/about",Component:f4},{path:"/tech",Component:S3},{path:"*",Component:C3}]}]);return k.useLayoutEffect(()=>{typeof window<"u"&&vp(window.localStorage.getItem("theme"))},[]),d(qg,{router:e})}J1(document.getElementById("root")).render(d(k.StrictMode,{children:d(T3,{})})); +`;function k3(){return j("div",{children:[j("h1",{css:T3,children:[d(C3,{}),"Path not found"]}),"Looks like the path you are trying to reach does not exist. Run back"," ",d(_i,{to:"/",children:"Home"}),"!"]})}function P3(){const e=jg([{path:"/",element:d(r3,{}),children:[{path:"/",Component:o4,index:!0},{path:"/about",Component:f4},{path:"/tech",Component:E3},{path:"*",Component:k3}]}]);return k.useLayoutEffect(()=>{typeof window<"u"&&vp(window.localStorage.getItem("theme"))},[]),d(qg,{router:e})}J1(document.getElementById("root")).render(d(k.StrictMode,{children:d(P3,{})})); diff --git a/assets/moving-B_q13TNX.jpg b/assets/moving-B_q13TNX.jpg new file mode 100644 index 0000000..eb14fd3 Binary files /dev/null and b/assets/moving-B_q13TNX.jpg differ diff --git a/index.html b/index.html index 2c4d0ee..6f8a8a8 100644 --- a/index.html +++ b/index.html @@ -2,10 +2,10 @@ - + Joseph D. Phelan - +