Files
handyman/dist/assets/index-Bj-KDMGO.js
T
Dan Dobos 89144c85d9 chore: update package.json for deployment and add homepage
- Added "homepage" field for GitHub Pages deployment.
- Introduced "predeploy" and "deploy" scripts for building and deploying the app.
- Moved "@radix-ui/react-toggle-group" to the correct position in dependencies.
- Added "gh-pages" as a dev dependency for deployment.
2026-02-20 16:54:27 +01:00

183 lines
274 KiB
JavaScript

function ap(l,a){for(var o=0;o<a.length;o++){const u=a[o];if(typeof u!="string"&&!Array.isArray(u)){for(const c in u)if(c!=="default"&&!(c in l)){const d=Object.getOwnPropertyDescriptor(u,c);d&&Object.defineProperty(l,c,d.get?d:{enumerable:!0,get:()=>u[c]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))u(c);new MutationObserver(c=>{for(const d of c)if(d.type==="childList")for(const p of d.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&u(p)}).observe(document,{childList:!0,subtree:!0});function o(c){const d={};return c.integrity&&(d.integrity=c.integrity),c.referrerPolicy&&(d.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?d.credentials="include":c.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function u(c){if(c.ep)return;c.ep=!0;const d=o(c);fetch(c.href,d)}})();function op(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var as={exports:{}},Vl={},os={exports:{}},Ee={};/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var ld;function sp(){if(ld)return Ee;ld=1;var l=Symbol.for("react.element"),a=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),d=Symbol.for("react.provider"),p=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),x=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),E=Symbol.iterator;function M(N){return N===null||typeof N!="object"?null:(N=E&&N[E]||N["@@iterator"],typeof N=="function"?N:null)}var T={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,U={};function A(N,D,ce){this.props=N,this.context=D,this.refs=U,this.updater=ce||T}A.prototype.isReactComponent={},A.prototype.setState=function(N,D){if(typeof N!="object"&&typeof N!="function"&&N!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,N,D,"setState")},A.prototype.forceUpdate=function(N){this.updater.enqueueForceUpdate(this,N,"forceUpdate")};function G(){}G.prototype=A.prototype;function B(N,D,ce){this.props=N,this.context=D,this.refs=U,this.updater=ce||T}var re=B.prototype=new G;re.constructor=B,b(re,A.prototype),re.isPureReactComponent=!0;var we=Array.isArray,ge=Object.prototype.hasOwnProperty,Ne={current:null},z={key:!0,ref:!0,__self:!0,__source:!0};function ae(N,D,ce){var fe,de={},ve=null,Te=null;if(D!=null)for(fe in D.ref!==void 0&&(Te=D.ref),D.key!==void 0&&(ve=""+D.key),D)ge.call(D,fe)&&!z.hasOwnProperty(fe)&&(de[fe]=D[fe]);var Ce=arguments.length-2;if(Ce===1)de.children=ce;else if(1<Ce){for(var Ue=Array(Ce),yt=0;yt<Ce;yt++)Ue[yt]=arguments[yt+2];de.children=Ue}if(N&&N.defaultProps)for(fe in Ce=N.defaultProps,Ce)de[fe]===void 0&&(de[fe]=Ce[fe]);return{$$typeof:l,type:N,key:ve,ref:Te,props:de,_owner:Ne.current}}function he(N,D){return{$$typeof:l,type:N.type,key:D,ref:N.ref,props:N.props,_owner:N._owner}}function ke(N){return typeof N=="object"&&N!==null&&N.$$typeof===l}function _e(N){var D={"=":"=0",":":"=2"};return"$"+N.replace(/[=:]/g,function(ce){return D[ce]})}var Oe=/\/+/g;function $e(N,D){return typeof N=="object"&&N!==null&&N.key!=null?_e(""+N.key):D.toString(36)}function ze(N,D,ce,fe,de){var ve=typeof N;(ve==="undefined"||ve==="boolean")&&(N=null);var Te=!1;if(N===null)Te=!0;else switch(ve){case"string":case"number":Te=!0;break;case"object":switch(N.$$typeof){case l:case a:Te=!0}}if(Te)return Te=N,de=de(Te),N=fe===""?"."+$e(Te,0):fe,we(de)?(ce="",N!=null&&(ce=N.replace(Oe,"$&/")+"/"),ze(de,D,ce,"",function(yt){return yt})):de!=null&&(ke(de)&&(de=he(de,ce+(!de.key||Te&&Te.key===de.key?"":(""+de.key).replace(Oe,"$&/")+"/")+N)),D.push(de)),1;if(Te=0,fe=fe===""?".":fe+":",we(N))for(var Ce=0;Ce<N.length;Ce++){ve=N[Ce];var Ue=fe+$e(ve,Ce);Te+=ze(ve,D,ce,Ue,de)}else if(Ue=M(N),typeof Ue=="function")for(N=Ue.call(N),Ce=0;!(ve=N.next()).done;)ve=ve.value,Ue=fe+$e(ve,Ce++),Te+=ze(ve,D,ce,Ue,de);else if(ve==="object")throw D=String(N),Error("Objects are not valid as a React child (found: "+(D==="[object Object]"?"object with keys {"+Object.keys(N).join(", ")+"}":D)+"). If you meant to render a collection of children, use an array instead.");return Te}function Be(N,D,ce){if(N==null)return N;var fe=[],de=0;return ze(N,fe,"","",function(ve){return D.call(ce,ve,de++)}),fe}function Se(N){if(N._status===-1){var D=N._result;D=D(),D.then(function(ce){(N._status===0||N._status===-1)&&(N._status=1,N._result=ce)},function(ce){(N._status===0||N._status===-1)&&(N._status=2,N._result=ce)}),N._status===-1&&(N._status=0,N._result=D)}if(N._status===1)return N._result.default;throw N._result}var ye={current:null},H={transition:null},X={ReactCurrentDispatcher:ye,ReactCurrentBatchConfig:H,ReactCurrentOwner:Ne};function Y(){throw Error("act(...) is not supported in production builds of React.")}return Ee.Children={map:Be,forEach:function(N,D,ce){Be(N,function(){D.apply(this,arguments)},ce)},count:function(N){var D=0;return Be(N,function(){D++}),D},toArray:function(N){return Be(N,function(D){return D})||[]},only:function(N){if(!ke(N))throw Error("React.Children.only expected to receive a single React element child.");return N}},Ee.Component=A,Ee.Fragment=o,Ee.Profiler=c,Ee.PureComponent=B,Ee.StrictMode=u,Ee.Suspense=y,Ee.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=X,Ee.act=Y,Ee.cloneElement=function(N,D,ce){if(N==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+N+".");var fe=b({},N.props),de=N.key,ve=N.ref,Te=N._owner;if(D!=null){if(D.ref!==void 0&&(ve=D.ref,Te=Ne.current),D.key!==void 0&&(de=""+D.key),N.type&&N.type.defaultProps)var Ce=N.type.defaultProps;for(Ue in D)ge.call(D,Ue)&&!z.hasOwnProperty(Ue)&&(fe[Ue]=D[Ue]===void 0&&Ce!==void 0?Ce[Ue]:D[Ue])}var Ue=arguments.length-2;if(Ue===1)fe.children=ce;else if(1<Ue){Ce=Array(Ue);for(var yt=0;yt<Ue;yt++)Ce[yt]=arguments[yt+2];fe.children=Ce}return{$$typeof:l,type:N.type,key:de,ref:ve,props:fe,_owner:Te}},Ee.createContext=function(N){return N={$$typeof:p,_currentValue:N,_currentValue2:N,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},N.Provider={$$typeof:d,_context:N},N.Consumer=N},Ee.createElement=ae,Ee.createFactory=function(N){var D=ae.bind(null,N);return D.type=N,D},Ee.createRef=function(){return{current:null}},Ee.forwardRef=function(N){return{$$typeof:m,render:N}},Ee.isValidElement=ke,Ee.lazy=function(N){return{$$typeof:j,_payload:{_status:-1,_result:N},_init:Se}},Ee.memo=function(N,D){return{$$typeof:x,type:N,compare:D===void 0?null:D}},Ee.startTransition=function(N){var D=H.transition;H.transition={};try{N()}finally{H.transition=D}},Ee.unstable_act=Y,Ee.useCallback=function(N,D){return ye.current.useCallback(N,D)},Ee.useContext=function(N){return ye.current.useContext(N)},Ee.useDebugValue=function(){},Ee.useDeferredValue=function(N){return ye.current.useDeferredValue(N)},Ee.useEffect=function(N,D){return ye.current.useEffect(N,D)},Ee.useId=function(){return ye.current.useId()},Ee.useImperativeHandle=function(N,D,ce){return ye.current.useImperativeHandle(N,D,ce)},Ee.useInsertionEffect=function(N,D){return ye.current.useInsertionEffect(N,D)},Ee.useLayoutEffect=function(N,D){return ye.current.useLayoutEffect(N,D)},Ee.useMemo=function(N,D){return ye.current.useMemo(N,D)},Ee.useReducer=function(N,D,ce){return ye.current.useReducer(N,D,ce)},Ee.useRef=function(N){return ye.current.useRef(N)},Ee.useState=function(N){return ye.current.useState(N)},Ee.useSyncExternalStore=function(N,D,ce){return ye.current.useSyncExternalStore(N,D,ce)},Ee.useTransition=function(){return ye.current.useTransition()},Ee.version="18.3.1",Ee}var id;function Ss(){return id||(id=1,os.exports=sp()),os.exports}/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var ad;function up(){if(ad)return Vl;ad=1;var l=Ss(),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),u=Object.prototype.hasOwnProperty,c=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,d={key:!0,ref:!0,__self:!0,__source:!0};function p(m,y,x){var j,E={},M=null,T=null;x!==void 0&&(M=""+x),y.key!==void 0&&(M=""+y.key),y.ref!==void 0&&(T=y.ref);for(j in y)u.call(y,j)&&!d.hasOwnProperty(j)&&(E[j]=y[j]);if(m&&m.defaultProps)for(j in y=m.defaultProps,y)E[j]===void 0&&(E[j]=y[j]);return{$$typeof:a,type:m,key:M,ref:T,props:E,_owner:c.current}}return Vl.Fragment=o,Vl.jsx=p,Vl.jsxs=p,Vl}var od;function cp(){return od||(od=1,as.exports=up()),as.exports}var h=cp(),ma={},ss={exports:{}},Pt={},us={exports:{}},cs={};/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var sd;function dp(){return sd||(sd=1,(function(l){function a(H,X){var Y=H.length;H.push(X);e:for(;0<Y;){var N=Y-1>>>1,D=H[N];if(0<c(D,X))H[N]=X,H[Y]=D,Y=N;else break e}}function o(H){return H.length===0?null:H[0]}function u(H){if(H.length===0)return null;var X=H[0],Y=H.pop();if(Y!==X){H[0]=Y;e:for(var N=0,D=H.length,ce=D>>>1;N<ce;){var fe=2*(N+1)-1,de=H[fe],ve=fe+1,Te=H[ve];if(0>c(de,Y))ve<D&&0>c(Te,de)?(H[N]=Te,H[ve]=Y,N=ve):(H[N]=de,H[fe]=Y,N=fe);else if(ve<D&&0>c(Te,Y))H[N]=Te,H[ve]=Y,N=ve;else break e}}return X}function c(H,X){var Y=H.sortIndex-X.sortIndex;return Y!==0?Y:H.id-X.id}if(typeof performance=="object"&&typeof performance.now=="function"){var d=performance;l.unstable_now=function(){return d.now()}}else{var p=Date,m=p.now();l.unstable_now=function(){return p.now()-m}}var y=[],x=[],j=1,E=null,M=3,T=!1,b=!1,U=!1,A=typeof setTimeout=="function"?setTimeout:null,G=typeof clearTimeout=="function"?clearTimeout:null,B=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function re(H){for(var X=o(x);X!==null;){if(X.callback===null)u(x);else if(X.startTime<=H)u(x),X.sortIndex=X.expirationTime,a(y,X);else break;X=o(x)}}function we(H){if(U=!1,re(H),!b)if(o(y)!==null)b=!0,Se(ge);else{var X=o(x);X!==null&&ye(we,X.startTime-H)}}function ge(H,X){b=!1,U&&(U=!1,G(ae),ae=-1),T=!0;var Y=M;try{for(re(X),E=o(y);E!==null&&(!(E.expirationTime>X)||H&&!_e());){var N=E.callback;if(typeof N=="function"){E.callback=null,M=E.priorityLevel;var D=N(E.expirationTime<=X);X=l.unstable_now(),typeof D=="function"?E.callback=D:E===o(y)&&u(y),re(X)}else u(y);E=o(y)}if(E!==null)var ce=!0;else{var fe=o(x);fe!==null&&ye(we,fe.startTime-X),ce=!1}return ce}finally{E=null,M=Y,T=!1}}var Ne=!1,z=null,ae=-1,he=5,ke=-1;function _e(){return!(l.unstable_now()-ke<he)}function Oe(){if(z!==null){var H=l.unstable_now();ke=H;var X=!0;try{X=z(!0,H)}finally{X?$e():(Ne=!1,z=null)}}else Ne=!1}var $e;if(typeof B=="function")$e=function(){B(Oe)};else if(typeof MessageChannel<"u"){var ze=new MessageChannel,Be=ze.port2;ze.port1.onmessage=Oe,$e=function(){Be.postMessage(null)}}else $e=function(){A(Oe,0)};function Se(H){z=H,Ne||(Ne=!0,$e())}function ye(H,X){ae=A(function(){H(l.unstable_now())},X)}l.unstable_IdlePriority=5,l.unstable_ImmediatePriority=1,l.unstable_LowPriority=4,l.unstable_NormalPriority=3,l.unstable_Profiling=null,l.unstable_UserBlockingPriority=2,l.unstable_cancelCallback=function(H){H.callback=null},l.unstable_continueExecution=function(){b||T||(b=!0,Se(ge))},l.unstable_forceFrameRate=function(H){0>H||125<H?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):he=0<H?Math.floor(1e3/H):5},l.unstable_getCurrentPriorityLevel=function(){return M},l.unstable_getFirstCallbackNode=function(){return o(y)},l.unstable_next=function(H){switch(M){case 1:case 2:case 3:var X=3;break;default:X=M}var Y=M;M=X;try{return H()}finally{M=Y}},l.unstable_pauseExecution=function(){},l.unstable_requestPaint=function(){},l.unstable_runWithPriority=function(H,X){switch(H){case 1:case 2:case 3:case 4:case 5:break;default:H=3}var Y=M;M=H;try{return X()}finally{M=Y}},l.unstable_scheduleCallback=function(H,X,Y){var N=l.unstable_now();switch(typeof Y=="object"&&Y!==null?(Y=Y.delay,Y=typeof Y=="number"&&0<Y?N+Y:N):Y=N,H){case 1:var D=-1;break;case 2:D=250;break;case 5:D=1073741823;break;case 4:D=1e4;break;default:D=5e3}return D=Y+D,H={id:j++,callback:X,priorityLevel:H,startTime:Y,expirationTime:D,sortIndex:-1},Y>N?(H.sortIndex=Y,a(x,H),o(y)===null&&H===o(x)&&(U?(G(ae),ae=-1):U=!0,ye(we,Y-N))):(H.sortIndex=D,a(y,H),b||T||(b=!0,Se(ge))),H},l.unstable_shouldYield=_e,l.unstable_wrapCallback=function(H){var X=M;return function(){var Y=M;M=X;try{return H.apply(this,arguments)}finally{M=Y}}}})(cs)),cs}var ud;function fp(){return ud||(ud=1,us.exports=dp()),us.exports}/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var cd;function hp(){if(cd)return Pt;cd=1;var l=Ss(),a=fp();function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var u=new Set,c={};function d(e,t){p(e,t),p(e+"Capture",t)}function p(e,t){for(c[e]=t,e=0;e<t.length;e++)u.add(t[e])}var m=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),y=Object.prototype.hasOwnProperty,x=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,j={},E={};function M(e){return y.call(E,e)?!0:y.call(j,e)?!1:x.test(e)?E[e]=!0:(j[e]=!0,!1)}function T(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function b(e,t,r,n){if(t===null||typeof t>"u"||T(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function U(e,t,r,n,i,s,f){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=f}var A={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){A[e]=new U(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];A[t]=new U(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){A[e]=new U(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){A[e]=new U(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){A[e]=new U(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){A[e]=new U(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){A[e]=new U(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){A[e]=new U(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){A[e]=new U(e,5,!1,e.toLowerCase(),null,!1,!1)});var G=/[\-:]([a-z])/g;function B(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(G,B);A[t]=new U(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(G,B);A[t]=new U(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(G,B);A[t]=new U(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){A[e]=new U(e,1,!1,e.toLowerCase(),null,!1,!1)}),A.xlinkHref=new U("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){A[e]=new U(e,1,!1,e.toLowerCase(),null,!0,!0)});function re(e,t,r,n){var i=A.hasOwnProperty(t)?A[t]:null;(i!==null?i.type!==0:n||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(b(t,r,i,n)&&(r=null),n||i===null?M(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):i.mustUseProperty?e[i.propertyName]=r===null?i.type===3?!1:"":r:(t=i.attributeName,n=i.attributeNamespace,r===null?e.removeAttribute(t):(i=i.type,r=i===3||i===4&&r===!0?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}var we=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ge=Symbol.for("react.element"),Ne=Symbol.for("react.portal"),z=Symbol.for("react.fragment"),ae=Symbol.for("react.strict_mode"),he=Symbol.for("react.profiler"),ke=Symbol.for("react.provider"),_e=Symbol.for("react.context"),Oe=Symbol.for("react.forward_ref"),$e=Symbol.for("react.suspense"),ze=Symbol.for("react.suspense_list"),Be=Symbol.for("react.memo"),Se=Symbol.for("react.lazy"),ye=Symbol.for("react.offscreen"),H=Symbol.iterator;function X(e){return e===null||typeof e!="object"?null:(e=H&&e[H]||e["@@iterator"],typeof e=="function"?e:null)}var Y=Object.assign,N;function D(e){if(N===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);N=t&&t[1]||""}return`
`+N+e}var ce=!1;function fe(e,t){if(!e||ce)return"";ce=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(L){var n=L}Reflect.construct(e,[],t)}else{try{t.call()}catch(L){n=L}e.call(t.prototype)}else{try{throw Error()}catch(L){n=L}e()}}catch(L){if(L&&n&&typeof L.stack=="string"){for(var i=L.stack.split(`
`),s=n.stack.split(`
`),f=i.length-1,g=s.length-1;1<=f&&0<=g&&i[f]!==s[g];)g--;for(;1<=f&&0<=g;f--,g--)if(i[f]!==s[g]){if(f!==1||g!==1)do if(f--,g--,0>g||i[f]!==s[g]){var w=`
`+i[f].replace(" at new "," at ");return e.displayName&&w.includes("<anonymous>")&&(w=w.replace("<anonymous>",e.displayName)),w}while(1<=f&&0<=g);break}}}finally{ce=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?D(e):""}function de(e){switch(e.tag){case 5:return D(e.type);case 16:return D("Lazy");case 13:return D("Suspense");case 19:return D("SuspenseList");case 0:case 2:case 15:return e=fe(e.type,!1),e;case 11:return e=fe(e.type.render,!1),e;case 1:return e=fe(e.type,!0),e;default:return""}}function ve(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 z:return"Fragment";case Ne:return"Portal";case he:return"Profiler";case ae:return"StrictMode";case $e:return"Suspense";case ze:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case _e:return(e.displayName||"Context")+".Consumer";case ke:return(e._context.displayName||"Context")+".Provider";case Oe:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Be:return t=e.displayName||null,t!==null?t:ve(e.type)||"Memo";case Se:t=e._payload,e=e._init;try{return ve(e(t))}catch{}}return null}function Te(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 ve(t);case 8:return t===ae?"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 Ce(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ue(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function yt(e){var t=Ue(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var i=r.get,s=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(f){n=""+f,s.call(this,f)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(f){n=""+f},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Cn(e){e._valueTracker||(e._valueTracker=yt(e))}function rt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=Ue(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function Qt(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 Rn(e,t){var r=t.checked;return Y({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function oi(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=Ce(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function er(e,t){t=t.checked,t!=null&&re(e,"checked",t,!1)}function ll(e,t){er(e,t);var r=Ce(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Pn(e,t.type,r):t.hasOwnProperty("defaultValue")&&Pn(e,t.type,Ce(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function si(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Pn(e,t,r){(t!=="number"||Qt(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var tn=Array.isArray;function Er(e,t,r,n){if(e=e.options,t){t={};for(var i=0;i<r.length;i++)t["$"+r[i]]=!0;for(r=0;r<e.length;r++)i=t.hasOwnProperty("$"+e[r].value),e[r].selected!==i&&(e[r].selected=i),i&&n&&(e[r].defaultSelected=!0)}else{for(r=""+Ce(r),t=null,i=0;i<e.length;i++){if(e[i].value===r){e[i].selected=!0,n&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function il(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(o(91));return Y({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ui(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(o(92));if(tn(r)){if(1<r.length)throw Error(o(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:Ce(r)}}function tr(e,t){var r=Ce(t.value),n=Ce(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),n!=null&&(e.defaultValue=""+n)}function jr(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function al(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function rn(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?al(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var St,Ot=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,r,n,i){MSApp.execUnsafeLocalFunction(function(){return e(t,r,n,i)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(St=St||document.createElement("div"),St.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=St.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Cr(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var nn={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},ol=["Webkit","ms","Moz","O"];Object.keys(nn).forEach(function(e){ol.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),nn[t]=nn[e]})});function ci(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||nn.hasOwnProperty(e)&&nn[e]?(""+t).trim():t+"px"}function Ft(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=ci(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}var di=Y({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 _n(e,t){if(t){if(di[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(o(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(o(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(t.style!=null&&typeof t.style!="object")throw Error(o(62))}}function Mn(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 sl=null;function Ln(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Rr=null,dr=null,rr=null;function fi(e){if(e=Ml(e)){if(typeof Rr!="function")throw Error(o(280));var t=e.stateNode;t&&(t=Mi(t),Rr(e.stateNode,e.type,t))}}function ul(e){dr?rr?rr.push(e):rr=[e]:dr=e}function hi(){if(dr){var e=dr,t=rr;if(rr=dr=null,fi(e),t)for(e=0;e<t.length;e++)fi(t[e])}}function cl(e,t){return e(t)}function ln(){}var Pr=!1;function dl(e,t,r){if(Pr)return e(t,r);Pr=!0;try{return cl(e,t,r)}finally{Pr=!1,(dr!==null||rr!==null)&&(ln(),hi())}}function an(e,t){var r=e.stateNode;if(r===null)return null;var n=Mi(r);if(n===null)return null;r=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(o(231,t,typeof r));return r}var fl=!1;if(m)try{var v={};Object.defineProperty(v,"passive",{get:function(){fl=!0}}),window.addEventListener("test",v,v),window.removeEventListener("test",v,v)}catch{fl=!1}function k(e,t,r,n,i,s,f,g,w){var L=Array.prototype.slice.call(arguments,3);try{t.apply(r,L)}catch(I){this.onError(I)}}var P=!1,F=null,V=!1,ne=null,oe={onError:function(e){P=!0,F=e}};function K(e,t,r,n,i,s,f,g,w){P=!1,F=null,k.apply(oe,arguments)}function Z(e,t,r,n,i,s,f,g,w){if(K.apply(this,arguments),P){if(P){var L=F;P=!1,F=null}else throw Error(o(198));V||(V=!0,ne=L)}}function ee(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function me(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function ie(e){if(ee(e)!==e)throw Error(o(188))}function xe(e){var t=e.alternate;if(!t){if(t=ee(e),t===null)throw Error(o(188));return t!==e?null:e}for(var r=e,n=t;;){var i=r.return;if(i===null)break;var s=i.alternate;if(s===null){if(n=i.return,n!==null){r=n;continue}break}if(i.child===s.child){for(s=i.child;s;){if(s===r)return ie(i),e;if(s===n)return ie(i),t;s=s.sibling}throw Error(o(188))}if(r.return!==n.return)r=i,n=s;else{for(var f=!1,g=i.child;g;){if(g===r){f=!0,r=i,n=s;break}if(g===n){f=!0,n=i,r=s;break}g=g.sibling}if(!f){for(g=s.child;g;){if(g===r){f=!0,r=s,n=i;break}if(g===n){f=!0,n=s,r=i;break}g=g.sibling}if(!f)throw Error(o(189))}}if(r.alternate!==n)throw Error(o(190))}if(r.tag!==3)throw Error(o(188));return r.stateNode.current===r?e:t}function Re(e){return e=xe(e),e!==null?qe(e):null}function qe(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=qe(e);if(t!==null)return t;e=e.sibling}return null}var Xe=a.unstable_scheduleCallback,it=a.unstable_cancelCallback,De=a.unstable_shouldYield,Nt=a.unstable_requestPaint,Fe=a.unstable_now,on=a.unstable_getCurrentPriorityLevel,It=a.unstable_ImmediatePriority,_t=a.unstable_UserBlockingPriority,_r=a.unstable_NormalPriority,sn=a.unstable_LowPriority,nr=a.unstable_IdlePriority,fr=null,vt=null;function Pe(e){if(vt&&typeof vt.onCommitFiberRoot=="function")try{vt.onCommitFiberRoot(fr,e,void 0,(e.current.flags&128)===128)}catch{}}var He=Math.clz32?Math.clz32:Ve,Mr=Math.log,hr=Math.LN2;function Ve(e){return e>>>=0,e===0?32:31-(Mr(e)/hr|0)|0}var pr=64,un=4194304;function cn(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 pi(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,i=e.suspendedLanes,s=e.pingedLanes,f=r&268435455;if(f!==0){var g=f&~i;g!==0?n=cn(g):(s&=f,s!==0&&(n=cn(s)))}else f=r&~i,f!==0?n=cn(f):s!==0&&(n=cn(s));if(n===0)return 0;if(t!==0&&t!==n&&(t&i)===0&&(i=n&-n,s=t&-t,i>=s||i===16&&(s&4194240)!==0))return t;if((n&4)!==0&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0<t;)r=31-He(t),i=1<<r,n|=e[r],t&=~i;return n}function jf(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Cf(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,i=e.expirationTimes,s=e.pendingLanes;0<s;){var f=31-He(s),g=1<<f,w=i[f];w===-1?((g&r)===0||(g&n)!==0)&&(i[f]=jf(g,t)):w<=t&&(e.expiredLanes|=g),s&=~g}}function Ca(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Os(){var e=pr;return pr<<=1,(pr&4194240)===0&&(pr=64),e}function Ra(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function hl(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-He(t),e[t]=r}function Rf(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0<r;){var i=31-He(r),s=1<<i;t[i]=0,n[i]=-1,e[i]=-1,r&=~s}}function Pa(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-He(r),i=1<<n;i&t|e[n]&t&&(e[n]|=t),r&=~i}}var Ie=0;function Fs(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Is,_a,Hs,Us,As,Ma=!1,mi=[],Lr=null,zr=null,Tr=null,pl=new Map,ml=new Map,Dr=[],Pf="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function $s(e,t){switch(e){case"focusin":case"focusout":Lr=null;break;case"dragenter":case"dragleave":zr=null;break;case"mouseover":case"mouseout":Tr=null;break;case"pointerover":case"pointerout":pl.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ml.delete(t.pointerId)}}function gl(e,t,r,n,i,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:s,targetContainers:[i]},t!==null&&(t=Ml(t),t!==null&&_a(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function _f(e,t,r,n,i){switch(t){case"focusin":return Lr=gl(Lr,e,t,r,n,i),!0;case"dragenter":return zr=gl(zr,e,t,r,n,i),!0;case"mouseover":return Tr=gl(Tr,e,t,r,n,i),!0;case"pointerover":var s=i.pointerId;return pl.set(s,gl(pl.get(s)||null,e,t,r,n,i)),!0;case"gotpointercapture":return s=i.pointerId,ml.set(s,gl(ml.get(s)||null,e,t,r,n,i)),!0}return!1}function bs(e){var t=dn(e.target);if(t!==null){var r=ee(t);if(r!==null){if(t=r.tag,t===13){if(t=me(r),t!==null){e.blockedOn=t,As(e.priority,function(){Hs(r)});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function gi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=za(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r===null){r=e.nativeEvent;var n=new r.constructor(r.type,r);sl=n,r.target.dispatchEvent(n),sl=null}else return t=Ml(r),t!==null&&_a(t),e.blockedOn=r,!1;t.shift()}return!0}function Ws(e,t,r){gi(e)&&r.delete(t)}function Mf(){Ma=!1,Lr!==null&&gi(Lr)&&(Lr=null),zr!==null&&gi(zr)&&(zr=null),Tr!==null&&gi(Tr)&&(Tr=null),pl.forEach(Ws),ml.forEach(Ws)}function yl(e,t){e.blockedOn===t&&(e.blockedOn=null,Ma||(Ma=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Mf)))}function vl(e){function t(i){return yl(i,e)}if(0<mi.length){yl(mi[0],e);for(var r=1;r<mi.length;r++){var n=mi[r];n.blockedOn===e&&(n.blockedOn=null)}}for(Lr!==null&&yl(Lr,e),zr!==null&&yl(zr,e),Tr!==null&&yl(Tr,e),pl.forEach(t),ml.forEach(t),r=0;r<Dr.length;r++)n=Dr[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<Dr.length&&(r=Dr[0],r.blockedOn===null);)bs(r),r.blockedOn===null&&Dr.shift()}var zn=we.ReactCurrentBatchConfig,yi=!0;function Lf(e,t,r,n){var i=Ie,s=zn.transition;zn.transition=null;try{Ie=1,La(e,t,r,n)}finally{Ie=i,zn.transition=s}}function zf(e,t,r,n){var i=Ie,s=zn.transition;zn.transition=null;try{Ie=4,La(e,t,r,n)}finally{Ie=i,zn.transition=s}}function La(e,t,r,n){if(yi){var i=za(e,t,r,n);if(i===null)Ka(e,t,n,vi,r),$s(e,n);else if(_f(i,e,t,r,n))n.stopPropagation();else if($s(e,n),t&4&&-1<Pf.indexOf(e)){for(;i!==null;){var s=Ml(i);if(s!==null&&Is(s),s=za(e,t,r,n),s===null&&Ka(e,t,n,vi,r),s===i)break;i=s}i!==null&&n.stopPropagation()}else Ka(e,t,n,null,r)}}var vi=null;function za(e,t,r,n){if(vi=null,e=Ln(n),e=dn(e),e!==null)if(t=ee(e),t===null)e=null;else if(r=t.tag,r===13){if(e=me(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return vi=e,null}function Bs(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(on()){case It:return 1;case _t:return 4;case _r:case sn:return 16;case nr:return 536870912;default:return 16}default:return 16}}var Or=null,Ta=null,xi=null;function Vs(){if(xi)return xi;var e,t=Ta,r=t.length,n,i="value"in Or?Or.value:Or.textContent,s=i.length;for(e=0;e<r&&t[e]===i[e];e++);var f=r-e;for(n=1;n<=f&&t[r-n]===i[s-n];n++);return xi=i.slice(e,1<n?1-n:void 0)}function wi(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Si(){return!0}function Ys(){return!1}function Mt(e){function t(r,n,i,s,f){this._reactName=r,this._targetInst=i,this.type=n,this.nativeEvent=s,this.target=f,this.currentTarget=null;for(var g in e)e.hasOwnProperty(g)&&(r=e[g],this[g]=r?r(s):s[g]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?Si:Ys,this.isPropagationStopped=Ys,this}return Y(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Si)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Si)},persist:function(){},isPersistent:Si}),t}var Tn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Da=Mt(Tn),xl=Y({},Tn,{view:0,detail:0}),Tf=Mt(xl),Oa,Fa,wl,Ni=Y({},xl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ha,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==wl&&(wl&&e.type==="mousemove"?(Oa=e.screenX-wl.screenX,Fa=e.screenY-wl.screenY):Fa=Oa=0,wl=e),Oa)},movementY:function(e){return"movementY"in e?e.movementY:Fa}}),Qs=Mt(Ni),Df=Y({},Ni,{dataTransfer:0}),Of=Mt(Df),Ff=Y({},xl,{relatedTarget:0}),Ia=Mt(Ff),If=Y({},Tn,{animationName:0,elapsedTime:0,pseudoElement:0}),Hf=Mt(If),Uf=Y({},Tn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Af=Mt(Uf),$f=Y({},Tn,{data:0}),Gs=Mt($f),bf={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Wf={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Bf={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Vf(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Bf[e])?!!t[e]:!1}function Ha(){return Vf}var Yf=Y({},xl,{key:function(e){if(e.key){var t=bf[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=wi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Wf[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ha,charCode:function(e){return e.type==="keypress"?wi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?wi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Qf=Mt(Yf),Gf=Y({},Ni,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ks=Mt(Gf),Kf=Y({},xl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ha}),Jf=Mt(Kf),Xf=Y({},Tn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Zf=Mt(Xf),qf=Y({},Ni,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),eh=Mt(qf),th=[9,13,27,32],Ua=m&&"CompositionEvent"in window,Sl=null;m&&"documentMode"in document&&(Sl=document.documentMode);var rh=m&&"TextEvent"in window&&!Sl,Js=m&&(!Ua||Sl&&8<Sl&&11>=Sl),Xs=" ",Zs=!1;function qs(e,t){switch(e){case"keyup":return th.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function eu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Dn=!1;function nh(e,t){switch(e){case"compositionend":return eu(t);case"keypress":return t.which!==32?null:(Zs=!0,Xs);case"textInput":return e=t.data,e===Xs&&Zs?null:e;default:return null}}function lh(e,t){if(Dn)return e==="compositionend"||!Ua&&qs(e,t)?(e=Vs(),xi=Ta=Or=null,Dn=!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.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Js&&t.locale!=="ko"?null:t.data;default:return null}}var ih={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function tu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!ih[e.type]:t==="textarea"}function ru(e,t,r,n){ul(n),t=Ri(t,"onChange"),0<t.length&&(r=new Da("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var Nl=null,kl=null;function ah(e){wu(e,0)}function ki(e){var t=Un(e);if(rt(t))return e}function oh(e,t){if(e==="change")return t}var nu=!1;if(m){var Aa;if(m){var $a="oninput"in document;if(!$a){var lu=document.createElement("div");lu.setAttribute("oninput","return;"),$a=typeof lu.oninput=="function"}Aa=$a}else Aa=!1;nu=Aa&&(!document.documentMode||9<document.documentMode)}function iu(){Nl&&(Nl.detachEvent("onpropertychange",au),kl=Nl=null)}function au(e){if(e.propertyName==="value"&&ki(kl)){var t=[];ru(t,kl,e,Ln(e)),dl(ah,t)}}function sh(e,t,r){e==="focusin"?(iu(),Nl=t,kl=r,Nl.attachEvent("onpropertychange",au)):e==="focusout"&&iu()}function uh(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ki(kl)}function ch(e,t){if(e==="click")return ki(t)}function dh(e,t){if(e==="input"||e==="change")return ki(t)}function fh(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Gt=typeof Object.is=="function"?Object.is:fh;function El(e,t){if(Gt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var i=r[n];if(!y.call(t,i)||!Gt(e[i],t[i]))return!1}return!0}function ou(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function su(e,t){var r=ou(e);e=0;for(var n;r;){if(r.nodeType===3){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ou(r)}}function uu(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?uu(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function cu(){for(var e=window,t=Qt();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Qt(e.document)}return t}function ba(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 hh(e){var t=cu(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&uu(r.ownerDocument.documentElement,r)){if(n!==null&&ba(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=r.textContent.length,s=Math.min(n.start,i);n=n.end===void 0?s:Math.min(n.end,i),!e.extend&&s>n&&(i=n,n=s,s=i),i=su(r,s);var f=su(r,n);i&&f&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==f.node||e.focusOffset!==f.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),s>n?(e.addRange(t),e.extend(f.node,f.offset)):(t.setEnd(f.node,f.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<t.length;r++)e=t[r],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var ph=m&&"documentMode"in document&&11>=document.documentMode,On=null,Wa=null,jl=null,Ba=!1;function du(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Ba||On==null||On!==Qt(n)||(n=On,"selectionStart"in n&&ba(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),jl&&El(jl,n)||(jl=n,n=Ri(Wa,"onSelect"),0<n.length&&(t=new Da("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=On)))}function Ei(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var Fn={animationend:Ei("Animation","AnimationEnd"),animationiteration:Ei("Animation","AnimationIteration"),animationstart:Ei("Animation","AnimationStart"),transitionend:Ei("Transition","TransitionEnd")},Va={},fu={};m&&(fu=document.createElement("div").style,"AnimationEvent"in window||(delete Fn.animationend.animation,delete Fn.animationiteration.animation,delete Fn.animationstart.animation),"TransitionEvent"in window||delete Fn.transitionend.transition);function ji(e){if(Va[e])return Va[e];if(!Fn[e])return e;var t=Fn[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in fu)return Va[e]=t[r];return e}var hu=ji("animationend"),pu=ji("animationiteration"),mu=ji("animationstart"),gu=ji("transitionend"),yu=new Map,vu="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Fr(e,t){yu.set(e,t),d(t,[e])}for(var Ya=0;Ya<vu.length;Ya++){var Qa=vu[Ya],mh=Qa.toLowerCase(),gh=Qa[0].toUpperCase()+Qa.slice(1);Fr(mh,"on"+gh)}Fr(hu,"onAnimationEnd"),Fr(pu,"onAnimationIteration"),Fr(mu,"onAnimationStart"),Fr("dblclick","onDoubleClick"),Fr("focusin","onFocus"),Fr("focusout","onBlur"),Fr(gu,"onTransitionEnd"),p("onMouseEnter",["mouseout","mouseover"]),p("onMouseLeave",["mouseout","mouseover"]),p("onPointerEnter",["pointerout","pointerover"]),p("onPointerLeave",["pointerout","pointerover"]),d("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),d("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),d("onBeforeInput",["compositionend","keypress","textInput","paste"]),d("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),d("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),d("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Cl="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),yh=new Set("cancel close invalid load scroll toggle".split(" ").concat(Cl));function xu(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,Z(n,t,void 0,e),e.currentTarget=null}function wu(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var n=e[r],i=n.event;n=n.listeners;e:{var s=void 0;if(t)for(var f=n.length-1;0<=f;f--){var g=n[f],w=g.instance,L=g.currentTarget;if(g=g.listener,w!==s&&i.isPropagationStopped())break e;xu(i,g,L),s=w}else for(f=0;f<n.length;f++){if(g=n[f],w=g.instance,L=g.currentTarget,g=g.listener,w!==s&&i.isPropagationStopped())break e;xu(i,g,L),s=w}}}if(V)throw e=ne,V=!1,ne=null,e}function be(e,t){var r=t[to];r===void 0&&(r=t[to]=new Set);var n=e+"__bubble";r.has(n)||(Su(t,e,2,!1),r.add(n))}function Ga(e,t,r){var n=0;t&&(n|=4),Su(r,e,n,t)}var Ci="_reactListening"+Math.random().toString(36).slice(2);function Rl(e){if(!e[Ci]){e[Ci]=!0,u.forEach(function(r){r!=="selectionchange"&&(yh.has(r)||Ga(r,!1,e),Ga(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ci]||(t[Ci]=!0,Ga("selectionchange",!1,t))}}function Su(e,t,r,n){switch(Bs(t)){case 1:var i=Lf;break;case 4:i=zf;break;default:i=La}r=i.bind(null,t,r,e),i=void 0,!fl||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),n?i!==void 0?e.addEventListener(t,r,{capture:!0,passive:i}):e.addEventListener(t,r,!0):i!==void 0?e.addEventListener(t,r,{passive:i}):e.addEventListener(t,r,!1)}function Ka(e,t,r,n,i){var s=n;if((t&1)===0&&(t&2)===0&&n!==null)e:for(;;){if(n===null)return;var f=n.tag;if(f===3||f===4){var g=n.stateNode.containerInfo;if(g===i||g.nodeType===8&&g.parentNode===i)break;if(f===4)for(f=n.return;f!==null;){var w=f.tag;if((w===3||w===4)&&(w=f.stateNode.containerInfo,w===i||w.nodeType===8&&w.parentNode===i))return;f=f.return}for(;g!==null;){if(f=dn(g),f===null)return;if(w=f.tag,w===5||w===6){n=s=f;continue e}g=g.parentNode}}n=n.return}dl(function(){var L=s,I=Ln(r),$=[];e:{var O=yu.get(e);if(O!==void 0){var Q=Da,q=e;switch(e){case"keypress":if(wi(r)===0)break e;case"keydown":case"keyup":Q=Qf;break;case"focusin":q="focus",Q=Ia;break;case"focusout":q="blur",Q=Ia;break;case"beforeblur":case"afterblur":Q=Ia;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Q=Qs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Q=Of;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Q=Jf;break;case hu:case pu:case mu:Q=Hf;break;case gu:Q=Zf;break;case"scroll":Q=Tf;break;case"wheel":Q=eh;break;case"copy":case"cut":case"paste":Q=Af;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Q=Ks}var te=(t&4)!==0,Ze=!te&&e==="scroll",C=te?O!==null?O+"Capture":null:O;te=[];for(var S=L,R;S!==null;){R=S;var W=R.stateNode;if(R.tag===5&&W!==null&&(R=W,C!==null&&(W=an(S,C),W!=null&&te.push(Pl(S,W,R)))),Ze)break;S=S.return}0<te.length&&(O=new Q(O,q,null,r,I),$.push({event:O,listeners:te}))}}if((t&7)===0){e:{if(O=e==="mouseover"||e==="pointerover",Q=e==="mouseout"||e==="pointerout",O&&r!==sl&&(q=r.relatedTarget||r.fromElement)&&(dn(q)||q[mr]))break e;if((Q||O)&&(O=I.window===I?I:(O=I.ownerDocument)?O.defaultView||O.parentWindow:window,Q?(q=r.relatedTarget||r.toElement,Q=L,q=q?dn(q):null,q!==null&&(Ze=ee(q),q!==Ze||q.tag!==5&&q.tag!==6)&&(q=null)):(Q=null,q=L),Q!==q)){if(te=Qs,W="onMouseLeave",C="onMouseEnter",S="mouse",(e==="pointerout"||e==="pointerover")&&(te=Ks,W="onPointerLeave",C="onPointerEnter",S="pointer"),Ze=Q==null?O:Un(Q),R=q==null?O:Un(q),O=new te(W,S+"leave",Q,r,I),O.target=Ze,O.relatedTarget=R,W=null,dn(I)===L&&(te=new te(C,S+"enter",q,r,I),te.target=R,te.relatedTarget=Ze,W=te),Ze=W,Q&&q)t:{for(te=Q,C=q,S=0,R=te;R;R=In(R))S++;for(R=0,W=C;W;W=In(W))R++;for(;0<S-R;)te=In(te),S--;for(;0<R-S;)C=In(C),R--;for(;S--;){if(te===C||C!==null&&te===C.alternate)break t;te=In(te),C=In(C)}te=null}else te=null;Q!==null&&Nu($,O,Q,te,!1),q!==null&&Ze!==null&&Nu($,Ze,q,te,!0)}}e:{if(O=L?Un(L):window,Q=O.nodeName&&O.nodeName.toLowerCase(),Q==="select"||Q==="input"&&O.type==="file")var le=oh;else if(tu(O))if(nu)le=dh;else{le=uh;var se=sh}else(Q=O.nodeName)&&Q.toLowerCase()==="input"&&(O.type==="checkbox"||O.type==="radio")&&(le=ch);if(le&&(le=le(e,L))){ru($,le,r,I);break e}se&&se(e,O,L),e==="focusout"&&(se=O._wrapperState)&&se.controlled&&O.type==="number"&&Pn(O,"number",O.value)}switch(se=L?Un(L):window,e){case"focusin":(tu(se)||se.contentEditable==="true")&&(On=se,Wa=L,jl=null);break;case"focusout":jl=Wa=On=null;break;case"mousedown":Ba=!0;break;case"contextmenu":case"mouseup":case"dragend":Ba=!1,du($,r,I);break;case"selectionchange":if(ph)break;case"keydown":case"keyup":du($,r,I)}var ue;if(Ua)e:{switch(e){case"compositionstart":var pe="onCompositionStart";break e;case"compositionend":pe="onCompositionEnd";break e;case"compositionupdate":pe="onCompositionUpdate";break e}pe=void 0}else Dn?qs(e,r)&&(pe="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(pe="onCompositionStart");pe&&(Js&&r.locale!=="ko"&&(Dn||pe!=="onCompositionStart"?pe==="onCompositionEnd"&&Dn&&(ue=Vs()):(Or=I,Ta="value"in Or?Or.value:Or.textContent,Dn=!0)),se=Ri(L,pe),0<se.length&&(pe=new Gs(pe,e,null,r,I),$.push({event:pe,listeners:se}),ue?pe.data=ue:(ue=eu(r),ue!==null&&(pe.data=ue)))),(ue=rh?nh(e,r):lh(e,r))&&(L=Ri(L,"onBeforeInput"),0<L.length&&(I=new Gs("onBeforeInput","beforeinput",null,r,I),$.push({event:I,listeners:L}),I.data=ue))}wu($,t)})}function Pl(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Ri(e,t){for(var r=t+"Capture",n=[];e!==null;){var i=e,s=i.stateNode;i.tag===5&&s!==null&&(i=s,s=an(e,r),s!=null&&n.unshift(Pl(e,s,i)),s=an(e,t),s!=null&&n.push(Pl(e,s,i))),e=e.return}return n}function In(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Nu(e,t,r,n,i){for(var s=t._reactName,f=[];r!==null&&r!==n;){var g=r,w=g.alternate,L=g.stateNode;if(w!==null&&w===n)break;g.tag===5&&L!==null&&(g=L,i?(w=an(r,s),w!=null&&f.unshift(Pl(r,w,g))):i||(w=an(r,s),w!=null&&f.push(Pl(r,w,g)))),r=r.return}f.length!==0&&e.push({event:t,listeners:f})}var vh=/\r\n?/g,xh=/\u0000|\uFFFD/g;function ku(e){return(typeof e=="string"?e:""+e).replace(vh,`
`).replace(xh,"")}function Pi(e,t,r){if(t=ku(t),ku(e)!==t&&r)throw Error(o(425))}function _i(){}var Ja=null,Xa=null;function Za(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var qa=typeof setTimeout=="function"?setTimeout:void 0,wh=typeof clearTimeout=="function"?clearTimeout:void 0,Eu=typeof Promise=="function"?Promise:void 0,Sh=typeof queueMicrotask=="function"?queueMicrotask:typeof Eu<"u"?function(e){return Eu.resolve(null).then(e).catch(Nh)}:qa;function Nh(e){setTimeout(function(){throw e})}function eo(e,t){var r=t,n=0;do{var i=r.nextSibling;if(e.removeChild(r),i&&i.nodeType===8)if(r=i.data,r==="/$"){if(n===0){e.removeChild(i),vl(t);return}n--}else r!=="$"&&r!=="$?"&&r!=="$!"||n++;r=i}while(r);vl(t)}function Ir(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function ju(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var Hn=Math.random().toString(36).slice(2),lr="__reactFiber$"+Hn,_l="__reactProps$"+Hn,mr="__reactContainer$"+Hn,to="__reactEvents$"+Hn,kh="__reactListeners$"+Hn,Eh="__reactHandles$"+Hn;function dn(e){var t=e[lr];if(t)return t;for(var r=e.parentNode;r;){if(t=r[mr]||r[lr]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=ju(e);e!==null;){if(r=e[lr])return r;e=ju(e)}return t}e=r,r=e.parentNode}return null}function Ml(e){return e=e[lr]||e[mr],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Un(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(o(33))}function Mi(e){return e[_l]||null}var ro=[],An=-1;function Hr(e){return{current:e}}function We(e){0>An||(e.current=ro[An],ro[An]=null,An--)}function Ae(e,t){An++,ro[An]=e.current,e.current=t}var Ur={},ft=Hr(Ur),kt=Hr(!1),fn=Ur;function $n(e,t){var r=e.type.contextTypes;if(!r)return Ur;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in r)i[s]=t[s];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Et(e){return e=e.childContextTypes,e!=null}function Li(){We(kt),We(ft)}function Cu(e,t,r){if(ft.current!==Ur)throw Error(o(168));Ae(ft,t),Ae(kt,r)}function Ru(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var i in n)if(!(i in t))throw Error(o(108,Te(e)||"Unknown",i));return Y({},r,n)}function zi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ur,fn=ft.current,Ae(ft,e),Ae(kt,kt.current),!0}function Pu(e,t,r){var n=e.stateNode;if(!n)throw Error(o(169));r?(e=Ru(e,t,fn),n.__reactInternalMemoizedMergedChildContext=e,We(kt),We(ft),Ae(ft,e)):We(kt),Ae(kt,r)}var gr=null,Ti=!1,no=!1;function _u(e){gr===null?gr=[e]:gr.push(e)}function jh(e){Ti=!0,_u(e)}function Ar(){if(!no&&gr!==null){no=!0;var e=0,t=Ie;try{var r=gr;for(Ie=1;e<r.length;e++){var n=r[e];do n=n(!0);while(n!==null)}gr=null,Ti=!1}catch(i){throw gr!==null&&(gr=gr.slice(e+1)),Xe(It,Ar),i}finally{Ie=t,no=!1}}return null}var bn=[],Wn=0,Di=null,Oi=0,Ht=[],Ut=0,hn=null,yr=1,vr="";function pn(e,t){bn[Wn++]=Oi,bn[Wn++]=Di,Di=e,Oi=t}function Mu(e,t,r){Ht[Ut++]=yr,Ht[Ut++]=vr,Ht[Ut++]=hn,hn=e;var n=yr;e=vr;var i=32-He(n)-1;n&=~(1<<i),r+=1;var s=32-He(t)+i;if(30<s){var f=i-i%5;s=(n&(1<<f)-1).toString(32),n>>=f,i-=f,yr=1<<32-He(t)+i|r<<i|n,vr=s+e}else yr=1<<s|r<<i|n,vr=e}function lo(e){e.return!==null&&(pn(e,1),Mu(e,1,0))}function io(e){for(;e===Di;)Di=bn[--Wn],bn[Wn]=null,Oi=bn[--Wn],bn[Wn]=null;for(;e===hn;)hn=Ht[--Ut],Ht[Ut]=null,vr=Ht[--Ut],Ht[Ut]=null,yr=Ht[--Ut],Ht[Ut]=null}var Lt=null,zt=null,Ye=!1,Kt=null;function Lu(e,t){var r=Wt(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletions,t===null?(e.deletions=[r],e.flags|=16):t.push(r)}function zu(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Lt=e,zt=Ir(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Lt=e,zt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=hn!==null?{id:yr,overflow:vr}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=Wt(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,Lt=e,zt=null,!0):!1;default:return!1}}function ao(e){return(e.mode&1)!==0&&(e.flags&128)===0}function oo(e){if(Ye){var t=zt;if(t){var r=t;if(!zu(e,t)){if(ao(e))throw Error(o(418));t=Ir(r.nextSibling);var n=Lt;t&&zu(e,t)?Lu(n,r):(e.flags=e.flags&-4097|2,Ye=!1,Lt=e)}}else{if(ao(e))throw Error(o(418));e.flags=e.flags&-4097|2,Ye=!1,Lt=e}}}function Tu(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Lt=e}function Fi(e){if(e!==Lt)return!1;if(!Ye)return Tu(e),Ye=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Za(e.type,e.memoizedProps)),t&&(t=zt)){if(ao(e))throw Du(),Error(o(418));for(;t;)Lu(e,t),t=Ir(t.nextSibling)}if(Tu(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){zt=Ir(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}zt=null}}else zt=Lt?Ir(e.stateNode.nextSibling):null;return!0}function Du(){for(var e=zt;e;)e=Ir(e.nextSibling)}function Bn(){zt=Lt=null,Ye=!1}function so(e){Kt===null?Kt=[e]:Kt.push(e)}var Ch=we.ReactCurrentBatchConfig;function Ll(e,t,r){if(e=r.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(o(309));var n=r.stateNode}if(!n)throw Error(o(147,e));var i=n,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(f){var g=i.refs;f===null?delete g[s]:g[s]=f},t._stringRef=s,t)}if(typeof e!="string")throw Error(o(284));if(!r._owner)throw Error(o(290,e))}return e}function Ii(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ou(e){var t=e._init;return t(e._payload)}function Fu(e){function t(C,S){if(e){var R=C.deletions;R===null?(C.deletions=[S],C.flags|=16):R.push(S)}}function r(C,S){if(!e)return null;for(;S!==null;)t(C,S),S=S.sibling;return null}function n(C,S){for(C=new Map;S!==null;)S.key!==null?C.set(S.key,S):C.set(S.index,S),S=S.sibling;return C}function i(C,S){return C=Gr(C,S),C.index=0,C.sibling=null,C}function s(C,S,R){return C.index=R,e?(R=C.alternate,R!==null?(R=R.index,R<S?(C.flags|=2,S):R):(C.flags|=2,S)):(C.flags|=1048576,S)}function f(C){return e&&C.alternate===null&&(C.flags|=2),C}function g(C,S,R,W){return S===null||S.tag!==6?(S=es(R,C.mode,W),S.return=C,S):(S=i(S,R),S.return=C,S)}function w(C,S,R,W){var le=R.type;return le===z?I(C,S,R.props.children,W,R.key):S!==null&&(S.elementType===le||typeof le=="object"&&le!==null&&le.$$typeof===Se&&Ou(le)===S.type)?(W=i(S,R.props),W.ref=Ll(C,S,R),W.return=C,W):(W=oa(R.type,R.key,R.props,null,C.mode,W),W.ref=Ll(C,S,R),W.return=C,W)}function L(C,S,R,W){return S===null||S.tag!==4||S.stateNode.containerInfo!==R.containerInfo||S.stateNode.implementation!==R.implementation?(S=ts(R,C.mode,W),S.return=C,S):(S=i(S,R.children||[]),S.return=C,S)}function I(C,S,R,W,le){return S===null||S.tag!==7?(S=Nn(R,C.mode,W,le),S.return=C,S):(S=i(S,R),S.return=C,S)}function $(C,S,R){if(typeof S=="string"&&S!==""||typeof S=="number")return S=es(""+S,C.mode,R),S.return=C,S;if(typeof S=="object"&&S!==null){switch(S.$$typeof){case ge:return R=oa(S.type,S.key,S.props,null,C.mode,R),R.ref=Ll(C,null,S),R.return=C,R;case Ne:return S=ts(S,C.mode,R),S.return=C,S;case Se:var W=S._init;return $(C,W(S._payload),R)}if(tn(S)||X(S))return S=Nn(S,C.mode,R,null),S.return=C,S;Ii(C,S)}return null}function O(C,S,R,W){var le=S!==null?S.key:null;if(typeof R=="string"&&R!==""||typeof R=="number")return le!==null?null:g(C,S,""+R,W);if(typeof R=="object"&&R!==null){switch(R.$$typeof){case ge:return R.key===le?w(C,S,R,W):null;case Ne:return R.key===le?L(C,S,R,W):null;case Se:return le=R._init,O(C,S,le(R._payload),W)}if(tn(R)||X(R))return le!==null?null:I(C,S,R,W,null);Ii(C,R)}return null}function Q(C,S,R,W,le){if(typeof W=="string"&&W!==""||typeof W=="number")return C=C.get(R)||null,g(S,C,""+W,le);if(typeof W=="object"&&W!==null){switch(W.$$typeof){case ge:return C=C.get(W.key===null?R:W.key)||null,w(S,C,W,le);case Ne:return C=C.get(W.key===null?R:W.key)||null,L(S,C,W,le);case Se:var se=W._init;return Q(C,S,R,se(W._payload),le)}if(tn(W)||X(W))return C=C.get(R)||null,I(S,C,W,le,null);Ii(S,W)}return null}function q(C,S,R,W){for(var le=null,se=null,ue=S,pe=S=0,st=null;ue!==null&&pe<R.length;pe++){ue.index>pe?(st=ue,ue=null):st=ue.sibling;var Le=O(C,ue,R[pe],W);if(Le===null){ue===null&&(ue=st);break}e&&ue&&Le.alternate===null&&t(C,ue),S=s(Le,S,pe),se===null?le=Le:se.sibling=Le,se=Le,ue=st}if(pe===R.length)return r(C,ue),Ye&&pn(C,pe),le;if(ue===null){for(;pe<R.length;pe++)ue=$(C,R[pe],W),ue!==null&&(S=s(ue,S,pe),se===null?le=ue:se.sibling=ue,se=ue);return Ye&&pn(C,pe),le}for(ue=n(C,ue);pe<R.length;pe++)st=Q(ue,C,pe,R[pe],W),st!==null&&(e&&st.alternate!==null&&ue.delete(st.key===null?pe:st.key),S=s(st,S,pe),se===null?le=st:se.sibling=st,se=st);return e&&ue.forEach(function(Kr){return t(C,Kr)}),Ye&&pn(C,pe),le}function te(C,S,R,W){var le=X(R);if(typeof le!="function")throw Error(o(150));if(R=le.call(R),R==null)throw Error(o(151));for(var se=le=null,ue=S,pe=S=0,st=null,Le=R.next();ue!==null&&!Le.done;pe++,Le=R.next()){ue.index>pe?(st=ue,ue=null):st=ue.sibling;var Kr=O(C,ue,Le.value,W);if(Kr===null){ue===null&&(ue=st);break}e&&ue&&Kr.alternate===null&&t(C,ue),S=s(Kr,S,pe),se===null?le=Kr:se.sibling=Kr,se=Kr,ue=st}if(Le.done)return r(C,ue),Ye&&pn(C,pe),le;if(ue===null){for(;!Le.done;pe++,Le=R.next())Le=$(C,Le.value,W),Le!==null&&(S=s(Le,S,pe),se===null?le=Le:se.sibling=Le,se=Le);return Ye&&pn(C,pe),le}for(ue=n(C,ue);!Le.done;pe++,Le=R.next())Le=Q(ue,C,pe,Le.value,W),Le!==null&&(e&&Le.alternate!==null&&ue.delete(Le.key===null?pe:Le.key),S=s(Le,S,pe),se===null?le=Le:se.sibling=Le,se=Le);return e&&ue.forEach(function(ip){return t(C,ip)}),Ye&&pn(C,pe),le}function Ze(C,S,R,W){if(typeof R=="object"&&R!==null&&R.type===z&&R.key===null&&(R=R.props.children),typeof R=="object"&&R!==null){switch(R.$$typeof){case ge:e:{for(var le=R.key,se=S;se!==null;){if(se.key===le){if(le=R.type,le===z){if(se.tag===7){r(C,se.sibling),S=i(se,R.props.children),S.return=C,C=S;break e}}else if(se.elementType===le||typeof le=="object"&&le!==null&&le.$$typeof===Se&&Ou(le)===se.type){r(C,se.sibling),S=i(se,R.props),S.ref=Ll(C,se,R),S.return=C,C=S;break e}r(C,se);break}else t(C,se);se=se.sibling}R.type===z?(S=Nn(R.props.children,C.mode,W,R.key),S.return=C,C=S):(W=oa(R.type,R.key,R.props,null,C.mode,W),W.ref=Ll(C,S,R),W.return=C,C=W)}return f(C);case Ne:e:{for(se=R.key;S!==null;){if(S.key===se)if(S.tag===4&&S.stateNode.containerInfo===R.containerInfo&&S.stateNode.implementation===R.implementation){r(C,S.sibling),S=i(S,R.children||[]),S.return=C,C=S;break e}else{r(C,S);break}else t(C,S);S=S.sibling}S=ts(R,C.mode,W),S.return=C,C=S}return f(C);case Se:return se=R._init,Ze(C,S,se(R._payload),W)}if(tn(R))return q(C,S,R,W);if(X(R))return te(C,S,R,W);Ii(C,R)}return typeof R=="string"&&R!==""||typeof R=="number"?(R=""+R,S!==null&&S.tag===6?(r(C,S.sibling),S=i(S,R),S.return=C,C=S):(r(C,S),S=es(R,C.mode,W),S.return=C,C=S),f(C)):r(C,S)}return Ze}var Vn=Fu(!0),Iu=Fu(!1),Hi=Hr(null),Ui=null,Yn=null,uo=null;function co(){uo=Yn=Ui=null}function fo(e){var t=Hi.current;We(Hi),e._currentValue=t}function ho(e,t,r){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function Qn(e,t){Ui=e,uo=Yn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(jt=!0),e.firstContext=null)}function At(e){var t=e._currentValue;if(uo!==e)if(e={context:e,memoizedValue:t,next:null},Yn===null){if(Ui===null)throw Error(o(308));Yn=e,Ui.dependencies={lanes:0,firstContext:e}}else Yn=Yn.next=e;return t}var mn=null;function po(e){mn===null?mn=[e]:mn.push(e)}function Hu(e,t,r,n){var i=t.interleaved;return i===null?(r.next=r,po(t)):(r.next=i.next,i.next=r),t.interleaved=r,xr(e,n)}function xr(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var $r=!1;function mo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Uu(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 wr(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function br(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,(Me&2)!==0){var i=n.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),n.pending=t,xr(e,r)}return i=n.interleaved,i===null?(t.next=t,po(n)):(t.next=i.next,i.next=t),n.interleaved=t,xr(e,r)}function Ai(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Pa(e,r)}}function Au(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var i=null,s=null;if(r=r.firstBaseUpdate,r!==null){do{var f={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};s===null?i=s=f:s=s.next=f,r=r.next}while(r!==null);s===null?i=s=t:s=s.next=t}else i=s=t;r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:s,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function $i(e,t,r,n){var i=e.updateQueue;$r=!1;var s=i.firstBaseUpdate,f=i.lastBaseUpdate,g=i.shared.pending;if(g!==null){i.shared.pending=null;var w=g,L=w.next;w.next=null,f===null?s=L:f.next=L,f=w;var I=e.alternate;I!==null&&(I=I.updateQueue,g=I.lastBaseUpdate,g!==f&&(g===null?I.firstBaseUpdate=L:g.next=L,I.lastBaseUpdate=w))}if(s!==null){var $=i.baseState;f=0,I=L=w=null,g=s;do{var O=g.lane,Q=g.eventTime;if((n&O)===O){I!==null&&(I=I.next={eventTime:Q,lane:0,tag:g.tag,payload:g.payload,callback:g.callback,next:null});e:{var q=e,te=g;switch(O=t,Q=r,te.tag){case 1:if(q=te.payload,typeof q=="function"){$=q.call(Q,$,O);break e}$=q;break e;case 3:q.flags=q.flags&-65537|128;case 0:if(q=te.payload,O=typeof q=="function"?q.call(Q,$,O):q,O==null)break e;$=Y({},$,O);break e;case 2:$r=!0}}g.callback!==null&&g.lane!==0&&(e.flags|=64,O=i.effects,O===null?i.effects=[g]:O.push(g))}else Q={eventTime:Q,lane:O,tag:g.tag,payload:g.payload,callback:g.callback,next:null},I===null?(L=I=Q,w=$):I=I.next=Q,f|=O;if(g=g.next,g===null){if(g=i.shared.pending,g===null)break;O=g,g=O.next,O.next=null,i.lastBaseUpdate=O,i.shared.pending=null}}while(!0);if(I===null&&(w=$),i.baseState=w,i.firstBaseUpdate=L,i.lastBaseUpdate=I,t=i.shared.interleaved,t!==null){i=t;do f|=i.lane,i=i.next;while(i!==t)}else s===null&&(i.shared.lanes=0);vn|=f,e.lanes=f,e.memoizedState=$}}function $u(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var n=e[t],i=n.callback;if(i!==null){if(n.callback=null,n=r,typeof i!="function")throw Error(o(191,i));i.call(n)}}}var zl={},ir=Hr(zl),Tl=Hr(zl),Dl=Hr(zl);function gn(e){if(e===zl)throw Error(o(174));return e}function go(e,t){switch(Ae(Dl,t),Ae(Tl,e),Ae(ir,zl),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:rn(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=rn(t,e)}We(ir),Ae(ir,t)}function Gn(){We(ir),We(Tl),We(Dl)}function bu(e){gn(Dl.current);var t=gn(ir.current),r=rn(t,e.type);t!==r&&(Ae(Tl,e),Ae(ir,r))}function yo(e){Tl.current===e&&(We(ir),We(Tl))}var Qe=Hr(0);function bi(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var vo=[];function xo(){for(var e=0;e<vo.length;e++)vo[e]._workInProgressVersionPrimary=null;vo.length=0}var Wi=we.ReactCurrentDispatcher,wo=we.ReactCurrentBatchConfig,yn=0,Ge=null,nt=null,at=null,Bi=!1,Ol=!1,Fl=0,Rh=0;function ht(){throw Error(o(321))}function So(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!Gt(e[r],t[r]))return!1;return!0}function No(e,t,r,n,i,s){if(yn=s,Ge=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Wi.current=e===null||e.memoizedState===null?Lh:zh,e=r(n,i),Ol){s=0;do{if(Ol=!1,Fl=0,25<=s)throw Error(o(301));s+=1,at=nt=null,t.updateQueue=null,Wi.current=Th,e=r(n,i)}while(Ol)}if(Wi.current=Qi,t=nt!==null&&nt.next!==null,yn=0,at=nt=Ge=null,Bi=!1,t)throw Error(o(300));return e}function ko(){var e=Fl!==0;return Fl=0,e}function ar(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return at===null?Ge.memoizedState=at=e:at=at.next=e,at}function $t(){if(nt===null){var e=Ge.alternate;e=e!==null?e.memoizedState:null}else e=nt.next;var t=at===null?Ge.memoizedState:at.next;if(t!==null)at=t,nt=e;else{if(e===null)throw Error(o(310));nt=e,e={memoizedState:nt.memoizedState,baseState:nt.baseState,baseQueue:nt.baseQueue,queue:nt.queue,next:null},at===null?Ge.memoizedState=at=e:at=at.next=e}return at}function Il(e,t){return typeof t=="function"?t(e):t}function Eo(e){var t=$t(),r=t.queue;if(r===null)throw Error(o(311));r.lastRenderedReducer=e;var n=nt,i=n.baseQueue,s=r.pending;if(s!==null){if(i!==null){var f=i.next;i.next=s.next,s.next=f}n.baseQueue=i=s,r.pending=null}if(i!==null){s=i.next,n=n.baseState;var g=f=null,w=null,L=s;do{var I=L.lane;if((yn&I)===I)w!==null&&(w=w.next={lane:0,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null}),n=L.hasEagerState?L.eagerState:e(n,L.action);else{var $={lane:I,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null};w===null?(g=w=$,f=n):w=w.next=$,Ge.lanes|=I,vn|=I}L=L.next}while(L!==null&&L!==s);w===null?f=n:w.next=g,Gt(n,t.memoizedState)||(jt=!0),t.memoizedState=n,t.baseState=f,t.baseQueue=w,r.lastRenderedState=n}if(e=r.interleaved,e!==null){i=e;do s=i.lane,Ge.lanes|=s,vn|=s,i=i.next;while(i!==e)}else i===null&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function jo(e){var t=$t(),r=t.queue;if(r===null)throw Error(o(311));r.lastRenderedReducer=e;var n=r.dispatch,i=r.pending,s=t.memoizedState;if(i!==null){r.pending=null;var f=i=i.next;do s=e(s,f.action),f=f.next;while(f!==i);Gt(s,t.memoizedState)||(jt=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),r.lastRenderedState=s}return[s,n]}function Wu(){}function Bu(e,t){var r=Ge,n=$t(),i=t(),s=!Gt(n.memoizedState,i);if(s&&(n.memoizedState=i,jt=!0),n=n.queue,Co(Qu.bind(null,r,n,e),[e]),n.getSnapshot!==t||s||at!==null&&at.memoizedState.tag&1){if(r.flags|=2048,Hl(9,Yu.bind(null,r,n,i,t),void 0,null),ot===null)throw Error(o(349));(yn&30)!==0||Vu(r,t,i)}return i}function Vu(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=Ge.updateQueue,t===null?(t={lastEffect:null,stores:null},Ge.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function Yu(e,t,r,n){t.value=r,t.getSnapshot=n,Gu(t)&&Ku(e)}function Qu(e,t,r){return r(function(){Gu(t)&&Ku(e)})}function Gu(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!Gt(e,r)}catch{return!0}}function Ku(e){var t=xr(e,1);t!==null&&qt(t,e,1,-1)}function Ju(e){var t=ar();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Il,lastRenderedState:e},t.queue=e,e=e.dispatch=Mh.bind(null,Ge,e),[t.memoizedState,e]}function Hl(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},t=Ge.updateQueue,t===null?(t={lastEffect:null,stores:null},Ge.updateQueue=t,t.lastEffect=e.next=e):(r=t.lastEffect,r===null?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e)),e}function Xu(){return $t().memoizedState}function Vi(e,t,r,n){var i=ar();Ge.flags|=e,i.memoizedState=Hl(1|t,r,void 0,n===void 0?null:n)}function Yi(e,t,r,n){var i=$t();n=n===void 0?null:n;var s=void 0;if(nt!==null){var f=nt.memoizedState;if(s=f.destroy,n!==null&&So(n,f.deps)){i.memoizedState=Hl(t,r,s,n);return}}Ge.flags|=e,i.memoizedState=Hl(1|t,r,s,n)}function Zu(e,t){return Vi(8390656,8,e,t)}function Co(e,t){return Yi(2048,8,e,t)}function qu(e,t){return Yi(4,2,e,t)}function ec(e,t){return Yi(4,4,e,t)}function tc(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function rc(e,t,r){return r=r!=null?r.concat([e]):null,Yi(4,4,tc.bind(null,t,e),r)}function Ro(){}function nc(e,t){var r=$t();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&So(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function lc(e,t){var r=$t();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&So(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function ic(e,t,r){return(yn&21)===0?(e.baseState&&(e.baseState=!1,jt=!0),e.memoizedState=r):(Gt(r,t)||(r=Os(),Ge.lanes|=r,vn|=r,e.baseState=!0),t)}function Ph(e,t){var r=Ie;Ie=r!==0&&4>r?r:4,e(!0);var n=wo.transition;wo.transition={};try{e(!1),t()}finally{Ie=r,wo.transition=n}}function ac(){return $t().memoizedState}function _h(e,t,r){var n=Yr(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},oc(e))sc(t,r);else if(r=Hu(e,t,r,n),r!==null){var i=wt();qt(r,e,n,i),uc(r,t,n)}}function Mh(e,t,r){var n=Yr(e),i={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(oc(e))sc(t,i);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var f=t.lastRenderedState,g=s(f,r);if(i.hasEagerState=!0,i.eagerState=g,Gt(g,f)){var w=t.interleaved;w===null?(i.next=i,po(t)):(i.next=w.next,w.next=i),t.interleaved=i;return}}catch{}finally{}r=Hu(e,t,i,n),r!==null&&(i=wt(),qt(r,e,n,i),uc(r,t,n))}}function oc(e){var t=e.alternate;return e===Ge||t!==null&&t===Ge}function sc(e,t){Ol=Bi=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function uc(e,t,r){if((r&4194240)!==0){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Pa(e,r)}}var Qi={readContext:At,useCallback:ht,useContext:ht,useEffect:ht,useImperativeHandle:ht,useInsertionEffect:ht,useLayoutEffect:ht,useMemo:ht,useReducer:ht,useRef:ht,useState:ht,useDebugValue:ht,useDeferredValue:ht,useTransition:ht,useMutableSource:ht,useSyncExternalStore:ht,useId:ht,unstable_isNewReconciler:!1},Lh={readContext:At,useCallback:function(e,t){return ar().memoizedState=[e,t===void 0?null:t],e},useContext:At,useEffect:Zu,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Vi(4194308,4,tc.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Vi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Vi(4,2,e,t)},useMemo:function(e,t){var r=ar();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=ar();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=_h.bind(null,Ge,e),[n.memoizedState,e]},useRef:function(e){var t=ar();return e={current:e},t.memoizedState=e},useState:Ju,useDebugValue:Ro,useDeferredValue:function(e){return ar().memoizedState=e},useTransition:function(){var e=Ju(!1),t=e[0];return e=Ph.bind(null,e[1]),ar().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=Ge,i=ar();if(Ye){if(r===void 0)throw Error(o(407));r=r()}else{if(r=t(),ot===null)throw Error(o(349));(yn&30)!==0||Vu(n,t,r)}i.memoizedState=r;var s={value:r,getSnapshot:t};return i.queue=s,Zu(Qu.bind(null,n,s,e),[e]),n.flags|=2048,Hl(9,Yu.bind(null,n,s,r,t),void 0,null),r},useId:function(){var e=ar(),t=ot.identifierPrefix;if(Ye){var r=vr,n=yr;r=(n&~(1<<32-He(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=Fl++,0<r&&(t+="H"+r.toString(32)),t+=":"}else r=Rh++,t=":"+t+"r"+r.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},zh={readContext:At,useCallback:nc,useContext:At,useEffect:Co,useImperativeHandle:rc,useInsertionEffect:qu,useLayoutEffect:ec,useMemo:lc,useReducer:Eo,useRef:Xu,useState:function(){return Eo(Il)},useDebugValue:Ro,useDeferredValue:function(e){var t=$t();return ic(t,nt.memoizedState,e)},useTransition:function(){var e=Eo(Il)[0],t=$t().memoizedState;return[e,t]},useMutableSource:Wu,useSyncExternalStore:Bu,useId:ac,unstable_isNewReconciler:!1},Th={readContext:At,useCallback:nc,useContext:At,useEffect:Co,useImperativeHandle:rc,useInsertionEffect:qu,useLayoutEffect:ec,useMemo:lc,useReducer:jo,useRef:Xu,useState:function(){return jo(Il)},useDebugValue:Ro,useDeferredValue:function(e){var t=$t();return nt===null?t.memoizedState=e:ic(t,nt.memoizedState,e)},useTransition:function(){var e=jo(Il)[0],t=$t().memoizedState;return[e,t]},useMutableSource:Wu,useSyncExternalStore:Bu,useId:ac,unstable_isNewReconciler:!1};function Jt(e,t){if(e&&e.defaultProps){t=Y({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}function Po(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:Y({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var Gi={isMounted:function(e){return(e=e._reactInternals)?ee(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=wt(),i=Yr(e),s=wr(n,i);s.payload=t,r!=null&&(s.callback=r),t=br(e,s,i),t!==null&&(qt(t,e,i,n),Ai(t,e,i))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=wt(),i=Yr(e),s=wr(n,i);s.tag=1,s.payload=t,r!=null&&(s.callback=r),t=br(e,s,i),t!==null&&(qt(t,e,i,n),Ai(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=wt(),n=Yr(e),i=wr(r,n);i.tag=2,t!=null&&(i.callback=t),t=br(e,i,n),t!==null&&(qt(t,e,n,r),Ai(t,e,n))}};function cc(e,t,r,n,i,s,f){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,s,f):t.prototype&&t.prototype.isPureReactComponent?!El(r,n)||!El(i,s):!0}function dc(e,t,r){var n=!1,i=Ur,s=t.contextType;return typeof s=="object"&&s!==null?s=At(s):(i=Et(t)?fn:ft.current,n=t.contextTypes,s=(n=n!=null)?$n(e,i):Ur),t=new t(r,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Gi,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=s),t}function fc(e,t,r,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&Gi.enqueueReplaceState(t,t.state,null)}function _o(e,t,r,n){var i=e.stateNode;i.props=r,i.state=e.memoizedState,i.refs={},mo(e);var s=t.contextType;typeof s=="object"&&s!==null?i.context=At(s):(s=Et(t)?fn:ft.current,i.context=$n(e,s)),i.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(Po(e,t,s,r),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Gi.enqueueReplaceState(i,i.state,null),$i(e,r,i,n),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function Kn(e,t){try{var r="",n=t;do r+=de(n),n=n.return;while(n);var i=r}catch(s){i=`
Error generating stack: `+s.message+`
`+s.stack}return{value:e,source:t,stack:i,digest:null}}function Mo(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function Lo(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var Dh=typeof WeakMap=="function"?WeakMap:Map;function hc(e,t,r){r=wr(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){ta||(ta=!0,Yo=n),Lo(e,t)},r}function pc(e,t,r){r=wr(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var i=t.value;r.payload=function(){return n(i)},r.callback=function(){Lo(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(r.callback=function(){Lo(e,t),typeof n!="function"&&(Br===null?Br=new Set([this]):Br.add(this));var f=t.stack;this.componentDidCatch(t.value,{componentStack:f!==null?f:""})}),r}function mc(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new Dh;var i=new Set;n.set(t,i)}else i=n.get(t),i===void 0&&(i=new Set,n.set(t,i));i.has(r)||(i.add(r),e=Gh.bind(null,e,t,r),t.then(e,e))}function gc(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function yc(e,t,r,n,i){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=wr(-1,1),t.tag=2,br(r,t,1))),r.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}var Oh=we.ReactCurrentOwner,jt=!1;function xt(e,t,r,n){t.child=e===null?Iu(t,null,r,n):Vn(t,e.child,r,n)}function vc(e,t,r,n,i){r=r.render;var s=t.ref;return Qn(t,i),n=No(e,t,r,n,s,i),r=ko(),e!==null&&!jt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Sr(e,t,i)):(Ye&&r&&lo(t),t.flags|=1,xt(e,t,n,i),t.child)}function xc(e,t,r,n,i){if(e===null){var s=r.type;return typeof s=="function"&&!qo(s)&&s.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=s,wc(e,t,s,n,i)):(e=oa(r.type,null,n,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,(e.lanes&i)===0){var f=s.memoizedProps;if(r=r.compare,r=r!==null?r:El,r(f,n)&&e.ref===t.ref)return Sr(e,t,i)}return t.flags|=1,e=Gr(s,n),e.ref=t.ref,e.return=t,t.child=e}function wc(e,t,r,n,i){if(e!==null){var s=e.memoizedProps;if(El(s,n)&&e.ref===t.ref)if(jt=!1,t.pendingProps=n=s,(e.lanes&i)!==0)(e.flags&131072)!==0&&(jt=!0);else return t.lanes=e.lanes,Sr(e,t,i)}return zo(e,t,r,n,i)}function Sc(e,t,r){var n=t.pendingProps,i=n.children,s=e!==null?e.memoizedState:null;if(n.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ae(Xn,Tt),Tt|=r;else{if((r&1073741824)===0)return e=s!==null?s.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ae(Xn,Tt),Tt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=s!==null?s.baseLanes:r,Ae(Xn,Tt),Tt|=n}else s!==null?(n=s.baseLanes|r,t.memoizedState=null):n=r,Ae(Xn,Tt),Tt|=n;return xt(e,t,i,r),t.child}function Nc(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function zo(e,t,r,n,i){var s=Et(r)?fn:ft.current;return s=$n(t,s),Qn(t,i),r=No(e,t,r,n,s,i),n=ko(),e!==null&&!jt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Sr(e,t,i)):(Ye&&n&&lo(t),t.flags|=1,xt(e,t,r,i),t.child)}function kc(e,t,r,n,i){if(Et(r)){var s=!0;zi(t)}else s=!1;if(Qn(t,i),t.stateNode===null)Ji(e,t),dc(t,r,n),_o(t,r,n,i),n=!0;else if(e===null){var f=t.stateNode,g=t.memoizedProps;f.props=g;var w=f.context,L=r.contextType;typeof L=="object"&&L!==null?L=At(L):(L=Et(r)?fn:ft.current,L=$n(t,L));var I=r.getDerivedStateFromProps,$=typeof I=="function"||typeof f.getSnapshotBeforeUpdate=="function";$||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(g!==n||w!==L)&&fc(t,f,n,L),$r=!1;var O=t.memoizedState;f.state=O,$i(t,n,f,i),w=t.memoizedState,g!==n||O!==w||kt.current||$r?(typeof I=="function"&&(Po(t,r,I,n),w=t.memoizedState),(g=$r||cc(t,r,g,n,O,w,L))?($||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount()),typeof f.componentDidMount=="function"&&(t.flags|=4194308)):(typeof f.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=w),f.props=n,f.state=w,f.context=L,n=g):(typeof f.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{f=t.stateNode,Uu(e,t),g=t.memoizedProps,L=t.type===t.elementType?g:Jt(t.type,g),f.props=L,$=t.pendingProps,O=f.context,w=r.contextType,typeof w=="object"&&w!==null?w=At(w):(w=Et(r)?fn:ft.current,w=$n(t,w));var Q=r.getDerivedStateFromProps;(I=typeof Q=="function"||typeof f.getSnapshotBeforeUpdate=="function")||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(g!==$||O!==w)&&fc(t,f,n,w),$r=!1,O=t.memoizedState,f.state=O,$i(t,n,f,i);var q=t.memoizedState;g!==$||O!==q||kt.current||$r?(typeof Q=="function"&&(Po(t,r,Q,n),q=t.memoizedState),(L=$r||cc(t,r,L,n,O,q,w)||!1)?(I||typeof f.UNSAFE_componentWillUpdate!="function"&&typeof f.componentWillUpdate!="function"||(typeof f.componentWillUpdate=="function"&&f.componentWillUpdate(n,q,w),typeof f.UNSAFE_componentWillUpdate=="function"&&f.UNSAFE_componentWillUpdate(n,q,w)),typeof f.componentDidUpdate=="function"&&(t.flags|=4),typeof f.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof f.componentDidUpdate!="function"||g===e.memoizedProps&&O===e.memoizedState||(t.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||g===e.memoizedProps&&O===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=q),f.props=n,f.state=q,f.context=w,n=L):(typeof f.componentDidUpdate!="function"||g===e.memoizedProps&&O===e.memoizedState||(t.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||g===e.memoizedProps&&O===e.memoizedState||(t.flags|=1024),n=!1)}return To(e,t,r,n,s,i)}function To(e,t,r,n,i,s){Nc(e,t);var f=(t.flags&128)!==0;if(!n&&!f)return i&&Pu(t,r,!1),Sr(e,t,s);n=t.stateNode,Oh.current=t;var g=f&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&f?(t.child=Vn(t,e.child,null,s),t.child=Vn(t,null,g,s)):xt(e,t,g,s),t.memoizedState=n.state,i&&Pu(t,r,!0),t.child}function Ec(e){var t=e.stateNode;t.pendingContext?Cu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Cu(e,t.context,!1),go(e,t.containerInfo)}function jc(e,t,r,n,i){return Bn(),so(i),t.flags|=256,xt(e,t,r,n),t.child}var Do={dehydrated:null,treeContext:null,retryLane:0};function Oo(e){return{baseLanes:e,cachePool:null,transitions:null}}function Cc(e,t,r){var n=t.pendingProps,i=Qe.current,s=!1,f=(t.flags&128)!==0,g;if((g=f)||(g=e!==null&&e.memoizedState===null?!1:(i&2)!==0),g?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),Ae(Qe,i&1),e===null)return oo(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(f=n.children,e=n.fallback,s?(n=t.mode,s=t.child,f={mode:"hidden",children:f},(n&1)===0&&s!==null?(s.childLanes=0,s.pendingProps=f):s=sa(f,n,0,null),e=Nn(e,n,r,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Oo(r),t.memoizedState=Do,e):Fo(t,f));if(i=e.memoizedState,i!==null&&(g=i.dehydrated,g!==null))return Fh(e,t,f,n,g,i,r);if(s){s=n.fallback,f=t.mode,i=e.child,g=i.sibling;var w={mode:"hidden",children:n.children};return(f&1)===0&&t.child!==i?(n=t.child,n.childLanes=0,n.pendingProps=w,t.deletions=null):(n=Gr(i,w),n.subtreeFlags=i.subtreeFlags&14680064),g!==null?s=Gr(g,s):(s=Nn(s,f,r,null),s.flags|=2),s.return=t,n.return=t,n.sibling=s,t.child=n,n=s,s=t.child,f=e.child.memoizedState,f=f===null?Oo(r):{baseLanes:f.baseLanes|r,cachePool:null,transitions:f.transitions},s.memoizedState=f,s.childLanes=e.childLanes&~r,t.memoizedState=Do,n}return s=e.child,e=s.sibling,n=Gr(s,{mode:"visible",children:n.children}),(t.mode&1)===0&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n}function Fo(e,t){return t=sa({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ki(e,t,r,n){return n!==null&&so(n),Vn(t,e.child,null,r),e=Fo(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Fh(e,t,r,n,i,s,f){if(r)return t.flags&256?(t.flags&=-257,n=Mo(Error(o(422))),Ki(e,t,f,n)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=n.fallback,i=t.mode,n=sa({mode:"visible",children:n.children},i,0,null),s=Nn(s,i,f,null),s.flags|=2,n.return=t,s.return=t,n.sibling=s,t.child=n,(t.mode&1)!==0&&Vn(t,e.child,null,f),t.child.memoizedState=Oo(f),t.memoizedState=Do,s);if((t.mode&1)===0)return Ki(e,t,f,null);if(i.data==="$!"){if(n=i.nextSibling&&i.nextSibling.dataset,n)var g=n.dgst;return n=g,s=Error(o(419)),n=Mo(s,n,void 0),Ki(e,t,f,n)}if(g=(f&e.childLanes)!==0,jt||g){if(n=ot,n!==null){switch(f&-f){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=(i&(n.suspendedLanes|f))!==0?0:i,i!==0&&i!==s.retryLane&&(s.retryLane=i,xr(e,i),qt(n,e,i,-1))}return Zo(),n=Mo(Error(o(421))),Ki(e,t,f,n)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=Kh.bind(null,e),i._reactRetry=t,null):(e=s.treeContext,zt=Ir(i.nextSibling),Lt=t,Ye=!0,Kt=null,e!==null&&(Ht[Ut++]=yr,Ht[Ut++]=vr,Ht[Ut++]=hn,yr=e.id,vr=e.overflow,hn=t),t=Fo(t,n.children),t.flags|=4096,t)}function Rc(e,t,r){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),ho(e.return,t,r)}function Io(e,t,r,n,i){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:i}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=n,s.tail=r,s.tailMode=i)}function Pc(e,t,r){var n=t.pendingProps,i=n.revealOrder,s=n.tail;if(xt(e,t,n.children,r),n=Qe.current,(n&2)!==0)n=n&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Rc(e,r,t);else if(e.tag===19)Rc(e,r,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(Ae(Qe,n),(t.mode&1)===0)t.memoizedState=null;else switch(i){case"forwards":for(r=t.child,i=null;r!==null;)e=r.alternate,e!==null&&bi(e)===null&&(i=r),r=r.sibling;r=i,r===null?(i=t.child,t.child=null):(i=r.sibling,r.sibling=null),Io(t,!1,i,r,s);break;case"backwards":for(r=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&bi(e)===null){t.child=i;break}e=i.sibling,i.sibling=r,r=i,i=e}Io(t,!0,r,null,s);break;case"together":Io(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ji(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Sr(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),vn|=t.lanes,(r&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(o(153));if(t.child!==null){for(e=t.child,r=Gr(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=Gr(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function Ih(e,t,r){switch(t.tag){case 3:Ec(t),Bn();break;case 5:bu(t);break;case 1:Et(t.type)&&zi(t);break;case 4:go(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,i=t.memoizedProps.value;Ae(Hi,n._currentValue),n._currentValue=i;break;case 13:if(n=t.memoizedState,n!==null)return n.dehydrated!==null?(Ae(Qe,Qe.current&1),t.flags|=128,null):(r&t.child.childLanes)!==0?Cc(e,t,r):(Ae(Qe,Qe.current&1),e=Sr(e,t,r),e!==null?e.sibling:null);Ae(Qe,Qe.current&1);break;case 19:if(n=(r&t.childLanes)!==0,(e.flags&128)!==0){if(n)return Pc(e,t,r);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ae(Qe,Qe.current),n)break;return null;case 22:case 23:return t.lanes=0,Sc(e,t,r)}return Sr(e,t,r)}var _c,Ho,Mc,Lc;_c=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},Ho=function(){},Mc=function(e,t,r,n){var i=e.memoizedProps;if(i!==n){e=t.stateNode,gn(ir.current);var s=null;switch(r){case"input":i=Rn(e,i),n=Rn(e,n),s=[];break;case"select":i=Y({},i,{value:void 0}),n=Y({},n,{value:void 0}),s=[];break;case"textarea":i=il(e,i),n=il(e,n),s=[];break;default:typeof i.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=_i)}_n(r,n);var f;r=null;for(L in i)if(!n.hasOwnProperty(L)&&i.hasOwnProperty(L)&&i[L]!=null)if(L==="style"){var g=i[L];for(f in g)g.hasOwnProperty(f)&&(r||(r={}),r[f]="")}else L!=="dangerouslySetInnerHTML"&&L!=="children"&&L!=="suppressContentEditableWarning"&&L!=="suppressHydrationWarning"&&L!=="autoFocus"&&(c.hasOwnProperty(L)?s||(s=[]):(s=s||[]).push(L,null));for(L in n){var w=n[L];if(g=i!=null?i[L]:void 0,n.hasOwnProperty(L)&&w!==g&&(w!=null||g!=null))if(L==="style")if(g){for(f in g)!g.hasOwnProperty(f)||w&&w.hasOwnProperty(f)||(r||(r={}),r[f]="");for(f in w)w.hasOwnProperty(f)&&g[f]!==w[f]&&(r||(r={}),r[f]=w[f])}else r||(s||(s=[]),s.push(L,r)),r=w;else L==="dangerouslySetInnerHTML"?(w=w?w.__html:void 0,g=g?g.__html:void 0,w!=null&&g!==w&&(s=s||[]).push(L,w)):L==="children"?typeof w!="string"&&typeof w!="number"||(s=s||[]).push(L,""+w):L!=="suppressContentEditableWarning"&&L!=="suppressHydrationWarning"&&(c.hasOwnProperty(L)?(w!=null&&L==="onScroll"&&be("scroll",e),s||g===w||(s=[])):(s=s||[]).push(L,w))}r&&(s=s||[]).push("style",r);var L=s;(t.updateQueue=L)&&(t.flags|=4)}},Lc=function(e,t,r,n){r!==n&&(t.flags|=4)};function Ul(e,t){if(!Ye)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function pt(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,n=0;if(t)for(var i=e.child;i!==null;)r|=i.lanes|i.childLanes,n|=i.subtreeFlags&14680064,n|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)r|=i.lanes|i.childLanes,n|=i.subtreeFlags,n|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function Hh(e,t,r){var n=t.pendingProps;switch(io(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return pt(t),null;case 1:return Et(t.type)&&Li(),pt(t),null;case 3:return n=t.stateNode,Gn(),We(kt),We(ft),xo(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Fi(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Kt!==null&&(Ko(Kt),Kt=null))),Ho(e,t),pt(t),null;case 5:yo(t);var i=gn(Dl.current);if(r=t.type,e!==null&&t.stateNode!=null)Mc(e,t,r,n,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(t.stateNode===null)throw Error(o(166));return pt(t),null}if(e=gn(ir.current),Fi(t)){n=t.stateNode,r=t.type;var s=t.memoizedProps;switch(n[lr]=t,n[_l]=s,e=(t.mode&1)!==0,r){case"dialog":be("cancel",n),be("close",n);break;case"iframe":case"object":case"embed":be("load",n);break;case"video":case"audio":for(i=0;i<Cl.length;i++)be(Cl[i],n);break;case"source":be("error",n);break;case"img":case"image":case"link":be("error",n),be("load",n);break;case"details":be("toggle",n);break;case"input":oi(n,s),be("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!s.multiple},be("invalid",n);break;case"textarea":ui(n,s),be("invalid",n)}_n(r,s),i=null;for(var f in s)if(s.hasOwnProperty(f)){var g=s[f];f==="children"?typeof g=="string"?n.textContent!==g&&(s.suppressHydrationWarning!==!0&&Pi(n.textContent,g,e),i=["children",g]):typeof g=="number"&&n.textContent!==""+g&&(s.suppressHydrationWarning!==!0&&Pi(n.textContent,g,e),i=["children",""+g]):c.hasOwnProperty(f)&&g!=null&&f==="onScroll"&&be("scroll",n)}switch(r){case"input":Cn(n),si(n,s,!0);break;case"textarea":Cn(n),jr(n);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(n.onclick=_i)}n=i,t.updateQueue=n,n!==null&&(t.flags|=4)}else{f=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=al(r)),e==="http://www.w3.org/1999/xhtml"?r==="script"?(e=f.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=f.createElement(r,{is:n.is}):(e=f.createElement(r),r==="select"&&(f=e,n.multiple?f.multiple=!0:n.size&&(f.size=n.size))):e=f.createElementNS(e,r),e[lr]=t,e[_l]=n,_c(e,t,!1,!1),t.stateNode=e;e:{switch(f=Mn(r,n),r){case"dialog":be("cancel",e),be("close",e),i=n;break;case"iframe":case"object":case"embed":be("load",e),i=n;break;case"video":case"audio":for(i=0;i<Cl.length;i++)be(Cl[i],e);i=n;break;case"source":be("error",e),i=n;break;case"img":case"image":case"link":be("error",e),be("load",e),i=n;break;case"details":be("toggle",e),i=n;break;case"input":oi(e,n),i=Rn(e,n),be("invalid",e);break;case"option":i=n;break;case"select":e._wrapperState={wasMultiple:!!n.multiple},i=Y({},n,{value:void 0}),be("invalid",e);break;case"textarea":ui(e,n),i=il(e,n),be("invalid",e);break;default:i=n}_n(r,i),g=i;for(s in g)if(g.hasOwnProperty(s)){var w=g[s];s==="style"?Ft(e,w):s==="dangerouslySetInnerHTML"?(w=w?w.__html:void 0,w!=null&&Ot(e,w)):s==="children"?typeof w=="string"?(r!=="textarea"||w!=="")&&Cr(e,w):typeof w=="number"&&Cr(e,""+w):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(c.hasOwnProperty(s)?w!=null&&s==="onScroll"&&be("scroll",e):w!=null&&re(e,s,w,f))}switch(r){case"input":Cn(e),si(e,n,!1);break;case"textarea":Cn(e),jr(e);break;case"option":n.value!=null&&e.setAttribute("value",""+Ce(n.value));break;case"select":e.multiple=!!n.multiple,s=n.value,s!=null?Er(e,!!n.multiple,s,!1):n.defaultValue!=null&&Er(e,!!n.multiple,n.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=_i)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return pt(t),null;case 6:if(e&&t.stateNode!=null)Lc(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(o(166));if(r=gn(Dl.current),gn(ir.current),Fi(t)){if(n=t.stateNode,r=t.memoizedProps,n[lr]=t,(s=n.nodeValue!==r)&&(e=Lt,e!==null))switch(e.tag){case 3:Pi(n.nodeValue,r,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Pi(n.nodeValue,r,(e.mode&1)!==0)}s&&(t.flags|=4)}else n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[lr]=t,t.stateNode=n}return pt(t),null;case 13:if(We(Qe),n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Ye&&zt!==null&&(t.mode&1)!==0&&(t.flags&128)===0)Du(),Bn(),t.flags|=98560,s=!1;else if(s=Fi(t),n!==null&&n.dehydrated!==null){if(e===null){if(!s)throw Error(o(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(o(317));s[lr]=t}else Bn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;pt(t),s=!1}else Kt!==null&&(Ko(Kt),Kt=null),s=!0;if(!s)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=r,t):(n=n!==null,n!==(e!==null&&e.memoizedState!==null)&&n&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(Qe.current&1)!==0?lt===0&&(lt=3):Zo())),t.updateQueue!==null&&(t.flags|=4),pt(t),null);case 4:return Gn(),Ho(e,t),e===null&&Rl(t.stateNode.containerInfo),pt(t),null;case 10:return fo(t.type._context),pt(t),null;case 17:return Et(t.type)&&Li(),pt(t),null;case 19:if(We(Qe),s=t.memoizedState,s===null)return pt(t),null;if(n=(t.flags&128)!==0,f=s.rendering,f===null)if(n)Ul(s,!1);else{if(lt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(f=bi(e),f!==null){for(t.flags|=128,Ul(s,!1),n=f.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),t.subtreeFlags=0,n=r,r=t.child;r!==null;)s=r,e=n,s.flags&=14680066,f=s.alternate,f===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=f.childLanes,s.lanes=f.lanes,s.child=f.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=f.memoizedProps,s.memoizedState=f.memoizedState,s.updateQueue=f.updateQueue,s.type=f.type,e=f.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Ae(Qe,Qe.current&1|2),t.child}e=e.sibling}s.tail!==null&&Fe()>Zn&&(t.flags|=128,n=!0,Ul(s,!1),t.lanes=4194304)}else{if(!n)if(e=bi(f),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Ul(s,!0),s.tail===null&&s.tailMode==="hidden"&&!f.alternate&&!Ye)return pt(t),null}else 2*Fe()-s.renderingStartTime>Zn&&r!==1073741824&&(t.flags|=128,n=!0,Ul(s,!1),t.lanes=4194304);s.isBackwards?(f.sibling=t.child,t.child=f):(r=s.last,r!==null?r.sibling=f:t.child=f,s.last=f)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Fe(),t.sibling=null,r=Qe.current,Ae(Qe,n?r&1|2:r&1),t):(pt(t),null);case 22:case 23:return Xo(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&(t.mode&1)!==0?(Tt&1073741824)!==0&&(pt(t),t.subtreeFlags&6&&(t.flags|=8192)):pt(t),null;case 24:return null;case 25:return null}throw Error(o(156,t.tag))}function Uh(e,t){switch(io(t),t.tag){case 1:return Et(t.type)&&Li(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Gn(),We(kt),We(ft),xo(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return yo(t),null;case 13:if(We(Qe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));Bn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return We(Qe),null;case 4:return Gn(),null;case 10:return fo(t.type._context),null;case 22:case 23:return Xo(),null;case 24:return null;default:return null}}var Xi=!1,mt=!1,Ah=typeof WeakSet=="function"?WeakSet:Set,J=null;function Jn(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){Ke(e,t,n)}else r.current=null}function Uo(e,t,r){try{r()}catch(n){Ke(e,t,n)}}var zc=!1;function $h(e,t){if(Ja=yi,e=cu(),ba(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var i=n.anchorOffset,s=n.focusNode;n=n.focusOffset;try{r.nodeType,s.nodeType}catch{r=null;break e}var f=0,g=-1,w=-1,L=0,I=0,$=e,O=null;t:for(;;){for(var Q;$!==r||i!==0&&$.nodeType!==3||(g=f+i),$!==s||n!==0&&$.nodeType!==3||(w=f+n),$.nodeType===3&&(f+=$.nodeValue.length),(Q=$.firstChild)!==null;)O=$,$=Q;for(;;){if($===e)break t;if(O===r&&++L===i&&(g=f),O===s&&++I===n&&(w=f),(Q=$.nextSibling)!==null)break;$=O,O=$.parentNode}$=Q}r=g===-1||w===-1?null:{start:g,end:w}}else r=null}r=r||{start:0,end:0}}else r=null;for(Xa={focusedElem:e,selectionRange:r},yi=!1,J=t;J!==null;)if(t=J,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,J=e;else for(;J!==null;){t=J;try{var q=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(q!==null){var te=q.memoizedProps,Ze=q.memoizedState,C=t.stateNode,S=C.getSnapshotBeforeUpdate(t.elementType===t.type?te:Jt(t.type,te),Ze);C.__reactInternalSnapshotBeforeUpdate=S}break;case 3:var R=t.stateNode.containerInfo;R.nodeType===1?R.textContent="":R.nodeType===9&&R.documentElement&&R.removeChild(R.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(o(163))}}catch(W){Ke(t,t.return,W)}if(e=t.sibling,e!==null){e.return=t.return,J=e;break}J=t.return}return q=zc,zc=!1,q}function Al(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var i=n=n.next;do{if((i.tag&e)===e){var s=i.destroy;i.destroy=void 0,s!==void 0&&Uo(t,r,s)}i=i.next}while(i!==n)}}function Zi(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function Ao(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function Tc(e){var t=e.alternate;t!==null&&(e.alternate=null,Tc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[lr],delete t[_l],delete t[to],delete t[kh],delete t[Eh])),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 Dc(e){return e.tag===5||e.tag===3||e.tag===4}function Oc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Dc(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 $o(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=_i));else if(n!==4&&(e=e.child,e!==null))for($o(e,t,r),e=e.sibling;e!==null;)$o(e,t,r),e=e.sibling}function bo(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(bo(e,t,r),e=e.sibling;e!==null;)bo(e,t,r),e=e.sibling}var ct=null,Xt=!1;function Wr(e,t,r){for(r=r.child;r!==null;)Fc(e,t,r),r=r.sibling}function Fc(e,t,r){if(vt&&typeof vt.onCommitFiberUnmount=="function")try{vt.onCommitFiberUnmount(fr,r)}catch{}switch(r.tag){case 5:mt||Jn(r,t);case 6:var n=ct,i=Xt;ct=null,Wr(e,t,r),ct=n,Xt=i,ct!==null&&(Xt?(e=ct,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):ct.removeChild(r.stateNode));break;case 18:ct!==null&&(Xt?(e=ct,r=r.stateNode,e.nodeType===8?eo(e.parentNode,r):e.nodeType===1&&eo(e,r),vl(e)):eo(ct,r.stateNode));break;case 4:n=ct,i=Xt,ct=r.stateNode.containerInfo,Xt=!0,Wr(e,t,r),ct=n,Xt=i;break;case 0:case 11:case 14:case 15:if(!mt&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){i=n=n.next;do{var s=i,f=s.destroy;s=s.tag,f!==void 0&&((s&2)!==0||(s&4)!==0)&&Uo(r,t,f),i=i.next}while(i!==n)}Wr(e,t,r);break;case 1:if(!mt&&(Jn(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(g){Ke(r,t,g)}Wr(e,t,r);break;case 21:Wr(e,t,r);break;case 22:r.mode&1?(mt=(n=mt)||r.memoizedState!==null,Wr(e,t,r),mt=n):Wr(e,t,r);break;default:Wr(e,t,r)}}function Ic(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new Ah),t.forEach(function(n){var i=Jh.bind(null,e,n);r.has(n)||(r.add(n),n.then(i,i))})}}function Zt(e,t){var r=t.deletions;if(r!==null)for(var n=0;n<r.length;n++){var i=r[n];try{var s=e,f=t,g=f;e:for(;g!==null;){switch(g.tag){case 5:ct=g.stateNode,Xt=!1;break e;case 3:ct=g.stateNode.containerInfo,Xt=!0;break e;case 4:ct=g.stateNode.containerInfo,Xt=!0;break e}g=g.return}if(ct===null)throw Error(o(160));Fc(s,f,i),ct=null,Xt=!1;var w=i.alternate;w!==null&&(w.return=null),i.return=null}catch(L){Ke(i,t,L)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Hc(t,e),t=t.sibling}function Hc(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Zt(t,e),or(e),n&4){try{Al(3,e,e.return),Zi(3,e)}catch(te){Ke(e,e.return,te)}try{Al(5,e,e.return)}catch(te){Ke(e,e.return,te)}}break;case 1:Zt(t,e),or(e),n&512&&r!==null&&Jn(r,r.return);break;case 5:if(Zt(t,e),or(e),n&512&&r!==null&&Jn(r,r.return),e.flags&32){var i=e.stateNode;try{Cr(i,"")}catch(te){Ke(e,e.return,te)}}if(n&4&&(i=e.stateNode,i!=null)){var s=e.memoizedProps,f=r!==null?r.memoizedProps:s,g=e.type,w=e.updateQueue;if(e.updateQueue=null,w!==null)try{g==="input"&&s.type==="radio"&&s.name!=null&&er(i,s),Mn(g,f);var L=Mn(g,s);for(f=0;f<w.length;f+=2){var I=w[f],$=w[f+1];I==="style"?Ft(i,$):I==="dangerouslySetInnerHTML"?Ot(i,$):I==="children"?Cr(i,$):re(i,I,$,L)}switch(g){case"input":ll(i,s);break;case"textarea":tr(i,s);break;case"select":var O=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!s.multiple;var Q=s.value;Q!=null?Er(i,!!s.multiple,Q,!1):O!==!!s.multiple&&(s.defaultValue!=null?Er(i,!!s.multiple,s.defaultValue,!0):Er(i,!!s.multiple,s.multiple?[]:"",!1))}i[_l]=s}catch(te){Ke(e,e.return,te)}}break;case 6:if(Zt(t,e),or(e),n&4){if(e.stateNode===null)throw Error(o(162));i=e.stateNode,s=e.memoizedProps;try{i.nodeValue=s}catch(te){Ke(e,e.return,te)}}break;case 3:if(Zt(t,e),or(e),n&4&&r!==null&&r.memoizedState.isDehydrated)try{vl(t.containerInfo)}catch(te){Ke(e,e.return,te)}break;case 4:Zt(t,e),or(e);break;case 13:Zt(t,e),or(e),i=e.child,i.flags&8192&&(s=i.memoizedState!==null,i.stateNode.isHidden=s,!s||i.alternate!==null&&i.alternate.memoizedState!==null||(Vo=Fe())),n&4&&Ic(e);break;case 22:if(I=r!==null&&r.memoizedState!==null,e.mode&1?(mt=(L=mt)||I,Zt(t,e),mt=L):Zt(t,e),or(e),n&8192){if(L=e.memoizedState!==null,(e.stateNode.isHidden=L)&&!I&&(e.mode&1)!==0)for(J=e,I=e.child;I!==null;){for($=J=I;J!==null;){switch(O=J,Q=O.child,O.tag){case 0:case 11:case 14:case 15:Al(4,O,O.return);break;case 1:Jn(O,O.return);var q=O.stateNode;if(typeof q.componentWillUnmount=="function"){n=O,r=O.return;try{t=n,q.props=t.memoizedProps,q.state=t.memoizedState,q.componentWillUnmount()}catch(te){Ke(n,r,te)}}break;case 5:Jn(O,O.return);break;case 22:if(O.memoizedState!==null){$c($);continue}}Q!==null?(Q.return=O,J=Q):$c($)}I=I.sibling}e:for(I=null,$=e;;){if($.tag===5){if(I===null){I=$;try{i=$.stateNode,L?(s=i.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(g=$.stateNode,w=$.memoizedProps.style,f=w!=null&&w.hasOwnProperty("display")?w.display:null,g.style.display=ci("display",f))}catch(te){Ke(e,e.return,te)}}}else if($.tag===6){if(I===null)try{$.stateNode.nodeValue=L?"":$.memoizedProps}catch(te){Ke(e,e.return,te)}}else if(($.tag!==22&&$.tag!==23||$.memoizedState===null||$===e)&&$.child!==null){$.child.return=$,$=$.child;continue}if($===e)break e;for(;$.sibling===null;){if($.return===null||$.return===e)break e;I===$&&(I=null),$=$.return}I===$&&(I=null),$.sibling.return=$.return,$=$.sibling}}break;case 19:Zt(t,e),or(e),n&4&&Ic(e);break;case 21:break;default:Zt(t,e),or(e)}}function or(e){var t=e.flags;if(t&2){try{e:{for(var r=e.return;r!==null;){if(Dc(r)){var n=r;break e}r=r.return}throw Error(o(160))}switch(n.tag){case 5:var i=n.stateNode;n.flags&32&&(Cr(i,""),n.flags&=-33);var s=Oc(e);bo(e,s,i);break;case 3:case 4:var f=n.stateNode.containerInfo,g=Oc(e);$o(e,g,f);break;default:throw Error(o(161))}}catch(w){Ke(e,e.return,w)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function bh(e,t,r){J=e,Uc(e)}function Uc(e,t,r){for(var n=(e.mode&1)!==0;J!==null;){var i=J,s=i.child;if(i.tag===22&&n){var f=i.memoizedState!==null||Xi;if(!f){var g=i.alternate,w=g!==null&&g.memoizedState!==null||mt;g=Xi;var L=mt;if(Xi=f,(mt=w)&&!L)for(J=i;J!==null;)f=J,w=f.child,f.tag===22&&f.memoizedState!==null?bc(i):w!==null?(w.return=f,J=w):bc(i);for(;s!==null;)J=s,Uc(s),s=s.sibling;J=i,Xi=g,mt=L}Ac(e)}else(i.subtreeFlags&8772)!==0&&s!==null?(s.return=i,J=s):Ac(e)}}function Ac(e){for(;J!==null;){var t=J;if((t.flags&8772)!==0){var r=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:mt||Zi(5,t);break;case 1:var n=t.stateNode;if(t.flags&4&&!mt)if(r===null)n.componentDidMount();else{var i=t.elementType===t.type?r.memoizedProps:Jt(t.type,r.memoizedProps);n.componentDidUpdate(i,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&$u(t,s,n);break;case 3:var f=t.updateQueue;if(f!==null){if(r=null,t.child!==null)switch(t.child.tag){case 5:r=t.child.stateNode;break;case 1:r=t.child.stateNode}$u(t,f,r)}break;case 5:var g=t.stateNode;if(r===null&&t.flags&4){r=g;var w=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":w.autoFocus&&r.focus();break;case"img":w.src&&(r.src=w.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var L=t.alternate;if(L!==null){var I=L.memoizedState;if(I!==null){var $=I.dehydrated;$!==null&&vl($)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(o(163))}mt||t.flags&512&&Ao(t)}catch(O){Ke(t,t.return,O)}}if(t===e){J=null;break}if(r=t.sibling,r!==null){r.return=t.return,J=r;break}J=t.return}}function $c(e){for(;J!==null;){var t=J;if(t===e){J=null;break}var r=t.sibling;if(r!==null){r.return=t.return,J=r;break}J=t.return}}function bc(e){for(;J!==null;){var t=J;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{Zi(4,t)}catch(w){Ke(t,r,w)}break;case 1:var n=t.stateNode;if(typeof n.componentDidMount=="function"){var i=t.return;try{n.componentDidMount()}catch(w){Ke(t,i,w)}}var s=t.return;try{Ao(t)}catch(w){Ke(t,s,w)}break;case 5:var f=t.return;try{Ao(t)}catch(w){Ke(t,f,w)}}}catch(w){Ke(t,t.return,w)}if(t===e){J=null;break}var g=t.sibling;if(g!==null){g.return=t.return,J=g;break}J=t.return}}var Wh=Math.ceil,qi=we.ReactCurrentDispatcher,Wo=we.ReactCurrentOwner,bt=we.ReactCurrentBatchConfig,Me=0,ot=null,et=null,dt=0,Tt=0,Xn=Hr(0),lt=0,$l=null,vn=0,ea=0,Bo=0,bl=null,Ct=null,Vo=0,Zn=1/0,Nr=null,ta=!1,Yo=null,Br=null,ra=!1,Vr=null,na=0,Wl=0,Qo=null,la=-1,ia=0;function wt(){return(Me&6)!==0?Fe():la!==-1?la:la=Fe()}function Yr(e){return(e.mode&1)===0?1:(Me&2)!==0&&dt!==0?dt&-dt:Ch.transition!==null?(ia===0&&(ia=Os()),ia):(e=Ie,e!==0||(e=window.event,e=e===void 0?16:Bs(e.type)),e)}function qt(e,t,r,n){if(50<Wl)throw Wl=0,Qo=null,Error(o(185));hl(e,r,n),((Me&2)===0||e!==ot)&&(e===ot&&((Me&2)===0&&(ea|=r),lt===4&&Qr(e,dt)),Rt(e,n),r===1&&Me===0&&(t.mode&1)===0&&(Zn=Fe()+500,Ti&&Ar()))}function Rt(e,t){var r=e.callbackNode;Cf(e,t);var n=pi(e,e===ot?dt:0);if(n===0)r!==null&&it(r),e.callbackNode=null,e.callbackPriority=0;else if(t=n&-n,e.callbackPriority!==t){if(r!=null&&it(r),t===1)e.tag===0?jh(Bc.bind(null,e)):_u(Bc.bind(null,e)),Sh(function(){(Me&6)===0&&Ar()}),r=null;else{switch(Fs(n)){case 1:r=It;break;case 4:r=_t;break;case 16:r=_r;break;case 536870912:r=nr;break;default:r=_r}r=Zc(r,Wc.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function Wc(e,t){if(la=-1,ia=0,(Me&6)!==0)throw Error(o(327));var r=e.callbackNode;if(qn()&&e.callbackNode!==r)return null;var n=pi(e,e===ot?dt:0);if(n===0)return null;if((n&30)!==0||(n&e.expiredLanes)!==0||t)t=aa(e,n);else{t=n;var i=Me;Me|=2;var s=Yc();(ot!==e||dt!==t)&&(Nr=null,Zn=Fe()+500,wn(e,t));do try{Yh();break}catch(g){Vc(e,g)}while(!0);co(),qi.current=s,Me=i,et!==null?t=0:(ot=null,dt=0,t=lt)}if(t!==0){if(t===2&&(i=Ca(e),i!==0&&(n=i,t=Go(e,i))),t===1)throw r=$l,wn(e,0),Qr(e,n),Rt(e,Fe()),r;if(t===6)Qr(e,n);else{if(i=e.current.alternate,(n&30)===0&&!Bh(i)&&(t=aa(e,n),t===2&&(s=Ca(e),s!==0&&(n=s,t=Go(e,s))),t===1))throw r=$l,wn(e,0),Qr(e,n),Rt(e,Fe()),r;switch(e.finishedWork=i,e.finishedLanes=n,t){case 0:case 1:throw Error(o(345));case 2:Sn(e,Ct,Nr);break;case 3:if(Qr(e,n),(n&130023424)===n&&(t=Vo+500-Fe(),10<t)){if(pi(e,0)!==0)break;if(i=e.suspendedLanes,(i&n)!==n){wt(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=qa(Sn.bind(null,e,Ct,Nr),t);break}Sn(e,Ct,Nr);break;case 4:if(Qr(e,n),(n&4194240)===n)break;for(t=e.eventTimes,i=-1;0<n;){var f=31-He(n);s=1<<f,f=t[f],f>i&&(i=f),n&=~s}if(n=i,n=Fe()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Wh(n/1960))-n,10<n){e.timeoutHandle=qa(Sn.bind(null,e,Ct,Nr),n);break}Sn(e,Ct,Nr);break;case 5:Sn(e,Ct,Nr);break;default:throw Error(o(329))}}}return Rt(e,Fe()),e.callbackNode===r?Wc.bind(null,e):null}function Go(e,t){var r=bl;return e.current.memoizedState.isDehydrated&&(wn(e,t).flags|=256),e=aa(e,t),e!==2&&(t=Ct,Ct=r,t!==null&&Ko(t)),e}function Ko(e){Ct===null?Ct=e:Ct.push.apply(Ct,e)}function Bh(e){for(var t=e;;){if(t.flags&16384){var r=t.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var n=0;n<r.length;n++){var i=r[n],s=i.getSnapshot;i=i.value;try{if(!Gt(s(),i))return!1}catch{return!1}}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Qr(e,t){for(t&=~Bo,t&=~ea,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-He(t),n=1<<r;e[r]=-1,t&=~n}}function Bc(e){if((Me&6)!==0)throw Error(o(327));qn();var t=pi(e,0);if((t&1)===0)return Rt(e,Fe()),null;var r=aa(e,t);if(e.tag!==0&&r===2){var n=Ca(e);n!==0&&(t=n,r=Go(e,n))}if(r===1)throw r=$l,wn(e,0),Qr(e,t),Rt(e,Fe()),r;if(r===6)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Sn(e,Ct,Nr),Rt(e,Fe()),null}function Jo(e,t){var r=Me;Me|=1;try{return e(t)}finally{Me=r,Me===0&&(Zn=Fe()+500,Ti&&Ar())}}function xn(e){Vr!==null&&Vr.tag===0&&(Me&6)===0&&qn();var t=Me;Me|=1;var r=bt.transition,n=Ie;try{if(bt.transition=null,Ie=1,e)return e()}finally{Ie=n,bt.transition=r,Me=t,(Me&6)===0&&Ar()}}function Xo(){Tt=Xn.current,We(Xn)}function wn(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,wh(r)),et!==null)for(r=et.return;r!==null;){var n=r;switch(io(n),n.tag){case 1:n=n.type.childContextTypes,n!=null&&Li();break;case 3:Gn(),We(kt),We(ft),xo();break;case 5:yo(n);break;case 4:Gn();break;case 13:We(Qe);break;case 19:We(Qe);break;case 10:fo(n.type._context);break;case 22:case 23:Xo()}r=r.return}if(ot=e,et=e=Gr(e.current,null),dt=Tt=t,lt=0,$l=null,Bo=ea=vn=0,Ct=bl=null,mn!==null){for(t=0;t<mn.length;t++)if(r=mn[t],n=r.interleaved,n!==null){r.interleaved=null;var i=n.next,s=r.pending;if(s!==null){var f=s.next;s.next=i,n.next=f}r.pending=n}mn=null}return e}function Vc(e,t){do{var r=et;try{if(co(),Wi.current=Qi,Bi){for(var n=Ge.memoizedState;n!==null;){var i=n.queue;i!==null&&(i.pending=null),n=n.next}Bi=!1}if(yn=0,at=nt=Ge=null,Ol=!1,Fl=0,Wo.current=null,r===null||r.return===null){lt=1,$l=t,et=null;break}e:{var s=e,f=r.return,g=r,w=t;if(t=dt,g.flags|=32768,w!==null&&typeof w=="object"&&typeof w.then=="function"){var L=w,I=g,$=I.tag;if((I.mode&1)===0&&($===0||$===11||$===15)){var O=I.alternate;O?(I.updateQueue=O.updateQueue,I.memoizedState=O.memoizedState,I.lanes=O.lanes):(I.updateQueue=null,I.memoizedState=null)}var Q=gc(f);if(Q!==null){Q.flags&=-257,yc(Q,f,g,s,t),Q.mode&1&&mc(s,L,t),t=Q,w=L;var q=t.updateQueue;if(q===null){var te=new Set;te.add(w),t.updateQueue=te}else q.add(w);break e}else{if((t&1)===0){mc(s,L,t),Zo();break e}w=Error(o(426))}}else if(Ye&&g.mode&1){var Ze=gc(f);if(Ze!==null){(Ze.flags&65536)===0&&(Ze.flags|=256),yc(Ze,f,g,s,t),so(Kn(w,g));break e}}s=w=Kn(w,g),lt!==4&&(lt=2),bl===null?bl=[s]:bl.push(s),s=f;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var C=hc(s,w,t);Au(s,C);break e;case 1:g=w;var S=s.type,R=s.stateNode;if((s.flags&128)===0&&(typeof S.getDerivedStateFromError=="function"||R!==null&&typeof R.componentDidCatch=="function"&&(Br===null||!Br.has(R)))){s.flags|=65536,t&=-t,s.lanes|=t;var W=pc(s,g,t);Au(s,W);break e}}s=s.return}while(s!==null)}Gc(r)}catch(le){t=le,et===r&&r!==null&&(et=r=r.return);continue}break}while(!0)}function Yc(){var e=qi.current;return qi.current=Qi,e===null?Qi:e}function Zo(){(lt===0||lt===3||lt===2)&&(lt=4),ot===null||(vn&268435455)===0&&(ea&268435455)===0||Qr(ot,dt)}function aa(e,t){var r=Me;Me|=2;var n=Yc();(ot!==e||dt!==t)&&(Nr=null,wn(e,t));do try{Vh();break}catch(i){Vc(e,i)}while(!0);if(co(),Me=r,qi.current=n,et!==null)throw Error(o(261));return ot=null,dt=0,lt}function Vh(){for(;et!==null;)Qc(et)}function Yh(){for(;et!==null&&!De();)Qc(et)}function Qc(e){var t=Xc(e.alternate,e,Tt);e.memoizedProps=e.pendingProps,t===null?Gc(e):et=t,Wo.current=null}function Gc(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&32768)===0){if(r=Hh(r,t,Tt),r!==null){et=r;return}}else{if(r=Uh(r,t),r!==null){r.flags&=32767,et=r;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{lt=6,et=null;return}}if(t=t.sibling,t!==null){et=t;return}et=t=e}while(t!==null);lt===0&&(lt=5)}function Sn(e,t,r){var n=Ie,i=bt.transition;try{bt.transition=null,Ie=1,Qh(e,t,r,n)}finally{bt.transition=i,Ie=n}return null}function Qh(e,t,r,n){do qn();while(Vr!==null);if((Me&6)!==0)throw Error(o(327));r=e.finishedWork;var i=e.finishedLanes;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var s=r.lanes|r.childLanes;if(Rf(e,s),e===ot&&(et=ot=null,dt=0),(r.subtreeFlags&2064)===0&&(r.flags&2064)===0||ra||(ra=!0,Zc(_r,function(){return qn(),null})),s=(r.flags&15990)!==0,(r.subtreeFlags&15990)!==0||s){s=bt.transition,bt.transition=null;var f=Ie;Ie=1;var g=Me;Me|=4,Wo.current=null,$h(e,r),Hc(r,e),hh(Xa),yi=!!Ja,Xa=Ja=null,e.current=r,bh(r),Nt(),Me=g,Ie=f,bt.transition=s}else e.current=r;if(ra&&(ra=!1,Vr=e,na=i),s=e.pendingLanes,s===0&&(Br=null),Pe(r.stateNode),Rt(e,Fe()),t!==null)for(n=e.onRecoverableError,r=0;r<t.length;r++)i=t[r],n(i.value,{componentStack:i.stack,digest:i.digest});if(ta)throw ta=!1,e=Yo,Yo=null,e;return(na&1)!==0&&e.tag!==0&&qn(),s=e.pendingLanes,(s&1)!==0?e===Qo?Wl++:(Wl=0,Qo=e):Wl=0,Ar(),null}function qn(){if(Vr!==null){var e=Fs(na),t=bt.transition,r=Ie;try{if(bt.transition=null,Ie=16>e?16:e,Vr===null)var n=!1;else{if(e=Vr,Vr=null,na=0,(Me&6)!==0)throw Error(o(331));var i=Me;for(Me|=4,J=e.current;J!==null;){var s=J,f=s.child;if((J.flags&16)!==0){var g=s.deletions;if(g!==null){for(var w=0;w<g.length;w++){var L=g[w];for(J=L;J!==null;){var I=J;switch(I.tag){case 0:case 11:case 15:Al(8,I,s)}var $=I.child;if($!==null)$.return=I,J=$;else for(;J!==null;){I=J;var O=I.sibling,Q=I.return;if(Tc(I),I===L){J=null;break}if(O!==null){O.return=Q,J=O;break}J=Q}}}var q=s.alternate;if(q!==null){var te=q.child;if(te!==null){q.child=null;do{var Ze=te.sibling;te.sibling=null,te=Ze}while(te!==null)}}J=s}}if((s.subtreeFlags&2064)!==0&&f!==null)f.return=s,J=f;else e:for(;J!==null;){if(s=J,(s.flags&2048)!==0)switch(s.tag){case 0:case 11:case 15:Al(9,s,s.return)}var C=s.sibling;if(C!==null){C.return=s.return,J=C;break e}J=s.return}}var S=e.current;for(J=S;J!==null;){f=J;var R=f.child;if((f.subtreeFlags&2064)!==0&&R!==null)R.return=f,J=R;else e:for(f=S;J!==null;){if(g=J,(g.flags&2048)!==0)try{switch(g.tag){case 0:case 11:case 15:Zi(9,g)}}catch(le){Ke(g,g.return,le)}if(g===f){J=null;break e}var W=g.sibling;if(W!==null){W.return=g.return,J=W;break e}J=g.return}}if(Me=i,Ar(),vt&&typeof vt.onPostCommitFiberRoot=="function")try{vt.onPostCommitFiberRoot(fr,e)}catch{}n=!0}return n}finally{Ie=r,bt.transition=t}}return!1}function Kc(e,t,r){t=Kn(r,t),t=hc(e,t,1),e=br(e,t,1),t=wt(),e!==null&&(hl(e,1,t),Rt(e,t))}function Ke(e,t,r){if(e.tag===3)Kc(e,e,r);else for(;t!==null;){if(t.tag===3){Kc(t,e,r);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(Br===null||!Br.has(n))){e=Kn(r,e),e=pc(t,e,1),t=br(t,e,1),e=wt(),t!==null&&(hl(t,1,e),Rt(t,e));break}}t=t.return}}function Gh(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=wt(),e.pingedLanes|=e.suspendedLanes&r,ot===e&&(dt&r)===r&&(lt===4||lt===3&&(dt&130023424)===dt&&500>Fe()-Vo?wn(e,0):Bo|=r),Rt(e,t)}function Jc(e,t){t===0&&((e.mode&1)===0?t=1:(t=un,un<<=1,(un&130023424)===0&&(un=4194304)));var r=wt();e=xr(e,t),e!==null&&(hl(e,t,r),Rt(e,r))}function Kh(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),Jc(e,r)}function Jh(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,i=e.memoizedState;i!==null&&(r=i.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(o(314))}n!==null&&n.delete(t),Jc(e,r)}var Xc;Xc=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||kt.current)jt=!0;else{if((e.lanes&r)===0&&(t.flags&128)===0)return jt=!1,Ih(e,t,r);jt=(e.flags&131072)!==0}else jt=!1,Ye&&(t.flags&1048576)!==0&&Mu(t,Oi,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Ji(e,t),e=t.pendingProps;var i=$n(t,ft.current);Qn(t,r),i=No(null,t,n,e,i,r);var s=ko();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,Et(n)?(s=!0,zi(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,mo(t),i.updater=Gi,t.stateNode=i,i._reactInternals=t,_o(t,n,e,r),t=To(null,t,n,!0,s,r)):(t.tag=0,Ye&&s&&lo(t),xt(null,t,i,r),t=t.child),t;case 16:n=t.elementType;e:{switch(Ji(e,t),e=t.pendingProps,i=n._init,n=i(n._payload),t.type=n,i=t.tag=Zh(n),e=Jt(n,e),i){case 0:t=zo(null,t,n,e,r);break e;case 1:t=kc(null,t,n,e,r);break e;case 11:t=vc(null,t,n,e,r);break e;case 14:t=xc(null,t,n,Jt(n.type,e),r);break e}throw Error(o(306,n,""))}return t;case 0:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Jt(n,i),zo(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Jt(n,i),kc(e,t,n,i,r);case 3:e:{if(Ec(t),e===null)throw Error(o(387));n=t.pendingProps,s=t.memoizedState,i=s.element,Uu(e,t),$i(t,n,null,r);var f=t.memoizedState;if(n=f.element,s.isDehydrated)if(s={element:n,isDehydrated:!1,cache:f.cache,pendingSuspenseBoundaries:f.pendingSuspenseBoundaries,transitions:f.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){i=Kn(Error(o(423)),t),t=jc(e,t,n,r,i);break e}else if(n!==i){i=Kn(Error(o(424)),t),t=jc(e,t,n,r,i);break e}else for(zt=Ir(t.stateNode.containerInfo.firstChild),Lt=t,Ye=!0,Kt=null,r=Iu(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Bn(),n===i){t=Sr(e,t,r);break e}xt(e,t,n,r)}t=t.child}return t;case 5:return bu(t),e===null&&oo(t),n=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,f=i.children,Za(n,i)?f=null:s!==null&&Za(n,s)&&(t.flags|=32),Nc(e,t),xt(e,t,f,r),t.child;case 6:return e===null&&oo(t),null;case 13:return Cc(e,t,r);case 4:return go(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Vn(t,null,n,r):xt(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Jt(n,i),vc(e,t,n,i,r);case 7:return xt(e,t,t.pendingProps,r),t.child;case 8:return xt(e,t,t.pendingProps.children,r),t.child;case 12:return xt(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,i=t.pendingProps,s=t.memoizedProps,f=i.value,Ae(Hi,n._currentValue),n._currentValue=f,s!==null)if(Gt(s.value,f)){if(s.children===i.children&&!kt.current){t=Sr(e,t,r);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var g=s.dependencies;if(g!==null){f=s.child;for(var w=g.firstContext;w!==null;){if(w.context===n){if(s.tag===1){w=wr(-1,r&-r),w.tag=2;var L=s.updateQueue;if(L!==null){L=L.shared;var I=L.pending;I===null?w.next=w:(w.next=I.next,I.next=w),L.pending=w}}s.lanes|=r,w=s.alternate,w!==null&&(w.lanes|=r),ho(s.return,r,t),g.lanes|=r;break}w=w.next}}else if(s.tag===10)f=s.type===t.type?null:s.child;else if(s.tag===18){if(f=s.return,f===null)throw Error(o(341));f.lanes|=r,g=f.alternate,g!==null&&(g.lanes|=r),ho(f,r,t),f=s.sibling}else f=s.child;if(f!==null)f.return=s;else for(f=s;f!==null;){if(f===t){f=null;break}if(s=f.sibling,s!==null){s.return=f.return,f=s;break}f=f.return}s=f}xt(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,n=t.pendingProps.children,Qn(t,r),i=At(i),n=n(i),t.flags|=1,xt(e,t,n,r),t.child;case 14:return n=t.type,i=Jt(n,t.pendingProps),i=Jt(n.type,i),xc(e,t,n,i,r);case 15:return wc(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Jt(n,i),Ji(e,t),t.tag=1,Et(n)?(e=!0,zi(t)):e=!1,Qn(t,r),dc(t,n,i),_o(t,n,i,r),To(null,t,n,!0,e,r);case 19:return Pc(e,t,r);case 22:return Sc(e,t,r)}throw Error(o(156,t.tag))};function Zc(e,t){return Xe(e,t)}function Xh(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Wt(e,t,r,n){return new Xh(e,t,r,n)}function qo(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Zh(e){if(typeof e=="function")return qo(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Oe)return 11;if(e===Be)return 14}return 2}function Gr(e,t){var r=e.alternate;return r===null?(r=Wt(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function oa(e,t,r,n,i,s){var f=2;if(n=e,typeof e=="function")qo(e)&&(f=1);else if(typeof e=="string")f=5;else e:switch(e){case z:return Nn(r.children,i,s,t);case ae:f=8,i|=8;break;case he:return e=Wt(12,r,t,i|2),e.elementType=he,e.lanes=s,e;case $e:return e=Wt(13,r,t,i),e.elementType=$e,e.lanes=s,e;case ze:return e=Wt(19,r,t,i),e.elementType=ze,e.lanes=s,e;case ye:return sa(r,i,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ke:f=10;break e;case _e:f=9;break e;case Oe:f=11;break e;case Be:f=14;break e;case Se:f=16,n=null;break e}throw Error(o(130,e==null?e:typeof e,""))}return t=Wt(f,r,t,i),t.elementType=e,t.type=n,t.lanes=s,t}function Nn(e,t,r,n){return e=Wt(7,e,n,t),e.lanes=r,e}function sa(e,t,r,n){return e=Wt(22,e,n,t),e.elementType=ye,e.lanes=r,e.stateNode={isHidden:!1},e}function es(e,t,r){return e=Wt(6,e,null,t),e.lanes=r,e}function ts(e,t,r){return t=Wt(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function qh(e,t,r,n,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ra(0),this.expirationTimes=Ra(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ra(0),this.identifierPrefix=n,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function rs(e,t,r,n,i,s,f,g,w){return e=new qh(e,t,r,g,w),t===1?(t=1,s===!0&&(t|=8)):t=0,s=Wt(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},mo(s),e}function ep(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Ne,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function qc(e){if(!e)return Ur;e=e._reactInternals;e:{if(ee(e)!==e||e.tag!==1)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Et(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(o(171))}if(e.tag===1){var r=e.type;if(Et(r))return Ru(e,r,t)}return t}function ed(e,t,r,n,i,s,f,g,w){return e=rs(r,n,!0,e,i,s,f,g,w),e.context=qc(null),r=e.current,n=wt(),i=Yr(r),s=wr(n,i),s.callback=t??null,br(r,s,i),e.current.lanes=i,hl(e,i,n),Rt(e,n),e}function ua(e,t,r,n){var i=t.current,s=wt(),f=Yr(i);return r=qc(r),t.context===null?t.context=r:t.pendingContext=r,t=wr(s,f),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),e=br(i,t,f),e!==null&&(qt(e,i,f,s),Ai(e,i,f)),f}function ca(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function td(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function ns(e,t){td(e,t),(e=e.alternate)&&td(e,t)}function tp(){return null}var rd=typeof reportError=="function"?reportError:function(e){console.error(e)};function ls(e){this._internalRoot=e}da.prototype.render=ls.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));ua(e,t,null,null)},da.prototype.unmount=ls.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;xn(function(){ua(null,e,null,null)}),t[mr]=null}};function da(e){this._internalRoot=e}da.prototype.unstable_scheduleHydration=function(e){if(e){var t=Us();e={blockedOn:null,target:e,priority:t};for(var r=0;r<Dr.length&&t!==0&&t<Dr[r].priority;r++);Dr.splice(r,0,e),r===0&&bs(e)}};function is(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function fa(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function nd(){}function rp(e,t,r,n,i){if(i){if(typeof n=="function"){var s=n;n=function(){var L=ca(f);s.call(L)}}var f=ed(t,n,e,0,null,!1,!1,"",nd);return e._reactRootContainer=f,e[mr]=f.current,Rl(e.nodeType===8?e.parentNode:e),xn(),f}for(;i=e.lastChild;)e.removeChild(i);if(typeof n=="function"){var g=n;n=function(){var L=ca(w);g.call(L)}}var w=rs(e,0,!1,null,null,!1,!1,"",nd);return e._reactRootContainer=w,e[mr]=w.current,Rl(e.nodeType===8?e.parentNode:e),xn(function(){ua(t,w,r,n)}),w}function ha(e,t,r,n,i){var s=r._reactRootContainer;if(s){var f=s;if(typeof i=="function"){var g=i;i=function(){var w=ca(f);g.call(w)}}ua(t,f,e,i)}else f=rp(r,t,e,i,n);return ca(f)}Is=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=cn(t.pendingLanes);r!==0&&(Pa(t,r|1),Rt(t,Fe()),(Me&6)===0&&(Zn=Fe()+500,Ar()))}break;case 13:xn(function(){var n=xr(e,1);if(n!==null){var i=wt();qt(n,e,1,i)}}),ns(e,1)}},_a=function(e){if(e.tag===13){var t=xr(e,134217728);if(t!==null){var r=wt();qt(t,e,134217728,r)}ns(e,134217728)}},Hs=function(e){if(e.tag===13){var t=Yr(e),r=xr(e,t);if(r!==null){var n=wt();qt(r,e,t,n)}ns(e,t)}},Us=function(){return Ie},As=function(e,t){var r=Ie;try{return Ie=e,t()}finally{Ie=r}},Rr=function(e,t,r){switch(t){case"input":if(ll(e,r),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var i=Mi(n);if(!i)throw Error(o(90));rt(n),ll(n,i)}}}break;case"textarea":tr(e,r);break;case"select":t=r.value,t!=null&&Er(e,!!r.multiple,t,!1)}},cl=Jo,ln=xn;var np={usingClientEntryPoint:!1,Events:[Ml,Un,Mi,ul,hi,Jo]},Bl={findFiberByHostInstance:dn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},lp={bundleType:Bl.bundleType,version:Bl.version,rendererPackageName:Bl.rendererPackageName,rendererConfig:Bl.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:we.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Re(e),e===null?null:e.stateNode},findFiberByHostInstance:Bl.findFiberByHostInstance||tp,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var pa=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!pa.isDisabled&&pa.supportsFiber)try{fr=pa.inject(lp),vt=pa}catch{}}return Pt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=np,Pt.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!is(t))throw Error(o(200));return ep(e,t,null,r)},Pt.createRoot=function(e,t){if(!is(e))throw Error(o(299));var r=!1,n="",i=rd;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=rs(e,1,!1,null,null,r,!1,n,i),e[mr]=t.current,Rl(e.nodeType===8?e.parentNode:e),new ls(t)},Pt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=Re(t),e=e===null?null:e.stateNode,e},Pt.flushSync=function(e){return xn(e)},Pt.hydrate=function(e,t,r){if(!fa(t))throw Error(o(200));return ha(null,e,t,!0,r)},Pt.hydrateRoot=function(e,t,r){if(!is(e))throw Error(o(405));var n=r!=null&&r.hydratedSources||null,i=!1,s="",f=rd;if(r!=null&&(r.unstable_strictMode===!0&&(i=!0),r.identifierPrefix!==void 0&&(s=r.identifierPrefix),r.onRecoverableError!==void 0&&(f=r.onRecoverableError)),t=ed(t,null,e,1,r??null,i,!1,s,f),e[mr]=t.current,Rl(e),n)for(e=0;e<n.length;e++)r=n[e],i=r._getVersion,i=i(r._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[r,i]:t.mutableSourceEagerHydrationData.push(r,i);return new da(t)},Pt.render=function(e,t,r){if(!fa(t))throw Error(o(200));return ha(null,e,t,!1,r)},Pt.unmountComponentAtNode=function(e){if(!fa(e))throw Error(o(40));return e._reactRootContainer?(xn(function(){ha(null,null,e,!1,function(){e._reactRootContainer=null,e[mr]=null})}),!0):!1},Pt.unstable_batchedUpdates=Jo,Pt.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!fa(r))throw Error(o(200));if(e==null||e._reactInternals===void 0)throw Error(o(38));return ha(e,t,r,!1,n)},Pt.version="18.3.1-next-f1338f8080-20240426",Pt}var dd;function pp(){if(dd)return ss.exports;dd=1;function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(a){console.error(a)}}return l(),ss.exports=hp(),ss.exports}var fd;function mp(){if(fd)return ma;fd=1;var l=pp();return ma.createRoot=l.createRoot,ma.hydrateRoot=l.hydrateRoot,ma}var gp=mp(),_=Ss();const yp=op(_),vp=ap({__proto__:null,default:yp},[_]);/**
* react-router v7.13.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/var Bd=l=>{throw TypeError(l)},xp=(l,a,o)=>a.has(l)||Bd("Cannot "+o),ds=(l,a,o)=>(xp(l,a,"read from private field"),o?o.call(l):a.get(l)),wp=(l,a,o)=>a.has(l)?Bd("Cannot add the same private member more than once"):a instanceof WeakSet?a.add(l):a.set(l,o),hd="popstate";function Sp(l={}){function a(u,c){let{pathname:d,search:p,hash:m}=u.location;return ql("",{pathname:d,search:p,hash:m},c.state&&c.state.usr||null,c.state&&c.state.key||"default")}function o(u,c){return typeof c=="string"?c:ur(c)}return kp(a,o,null,l)}function je(l,a){if(l===!1||l===null||typeof l>"u")throw new Error(a)}function tt(l,a){if(!l){typeof console<"u"&&console.warn(a);try{throw new Error(a)}catch{}}}function Np(){return Math.random().toString(36).substring(2,10)}function pd(l,a){return{usr:l.state,key:l.key,idx:a}}function ql(l,a,o=null,u){return{pathname:typeof l=="string"?l:l.pathname,search:"",hash:"",...typeof a=="string"?qr(a):a,state:o,key:a&&a.key||u||Np()}}function ur({pathname:l="/",search:a="",hash:o=""}){return a&&a!=="?"&&(l+=a.charAt(0)==="?"?a:"?"+a),o&&o!=="#"&&(l+=o.charAt(0)==="#"?o:"#"+o),l}function qr(l){let a={};if(l){let o=l.indexOf("#");o>=0&&(a.hash=l.substring(o),l=l.substring(0,o));let u=l.indexOf("?");u>=0&&(a.search=l.substring(u),l=l.substring(0,u)),l&&(a.pathname=l)}return a}function kp(l,a,o,u={}){let{window:c=document.defaultView,v5Compat:d=!1}=u,p=c.history,m="POP",y=null,x=j();x==null&&(x=0,p.replaceState({...p.state,idx:x},""));function j(){return(p.state||{idx:null}).idx}function E(){m="POP";let A=j(),G=A==null?null:A-x;x=A,y&&y({action:m,location:U.location,delta:G})}function M(A,G){m="PUSH";let B=ql(U.location,A,G);x=j()+1;let re=pd(B,x),we=U.createHref(B);try{p.pushState(re,"",we)}catch(ge){if(ge instanceof DOMException&&ge.name==="DataCloneError")throw ge;c.location.assign(we)}d&&y&&y({action:m,location:U.location,delta:1})}function T(A,G){m="REPLACE";let B=ql(U.location,A,G);x=j();let re=pd(B,x),we=U.createHref(B);p.replaceState(re,"",we),d&&y&&y({action:m,location:U.location,delta:0})}function b(A){return Vd(A)}let U={get action(){return m},get location(){return l(c,p)},listen(A){if(y)throw new Error("A history only accepts one active listener");return c.addEventListener(hd,E),y=A,()=>{c.removeEventListener(hd,E),y=null}},createHref(A){return a(c,A)},createURL:b,encodeLocation(A){let G=b(A);return{pathname:G.pathname,search:G.search,hash:G.hash}},push:M,replace:T,go(A){return p.go(A)}};return U}function Vd(l,a=!1){let o="http://localhost";typeof window<"u"&&(o=window.location.origin!=="null"?window.location.origin:window.location.href),je(o,"No window.location.(origin|href) available to create URL");let u=typeof l=="string"?l:ur(l);return u=u.replace(/ $/,"%20"),!a&&u.startsWith("//")&&(u=o+u),new URL(u,o)}var Kl,md=class{constructor(l){if(wp(this,Kl,new Map),l)for(let[a,o]of l)this.set(a,o)}get(l){if(ds(this,Kl).has(l))return ds(this,Kl).get(l);if(l.defaultValue!==void 0)return l.defaultValue;throw new Error("No value found for context")}set(l,a){ds(this,Kl).set(l,a)}};Kl=new WeakMap;var Ep=new Set(["lazy","caseSensitive","path","id","index","children"]);function jp(l){return Ep.has(l)}var Cp=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function Rp(l){return Cp.has(l)}function Pp(l){return l.index===!0}function ei(l,a,o=[],u={},c=!1){return l.map((d,p)=>{let m=[...o,String(p)],y=typeof d.id=="string"?d.id:m.join("-");if(je(d.index!==!0||!d.children,"Cannot specify children on an index route"),je(c||!u[y],`Found a route id collision on id "${y}". Route id's must be globally unique within Data Router usages`),Pp(d)){let x={...d,id:y};return u[y]=gd(x,a(x)),x}else{let x={...d,id:y,children:void 0};return u[y]=gd(x,a(x)),d.children&&(x.children=ei(d.children,a,m,u,c)),x}})}function gd(l,a){return Object.assign(l,{...a,...typeof a.lazy=="object"&&a.lazy!=null?{lazy:{...l.lazy,...a.lazy}}:{}})}function Jr(l,a,o="/"){return Jl(l,a,o,!1)}function Jl(l,a,o,u){let c=typeof a=="string"?qr(a):a,d=Vt(c.pathname||"/",o);if(d==null)return null;let p=Yd(l);Mp(p);let m=null;for(let y=0;m==null&&y<p.length;++y){let x=$p(d);m=Up(p[y],x,u)}return m}function _p(l,a){let{route:o,pathname:u,params:c}=l;return{id:o.id,pathname:u,params:c,data:a[o.id],loaderData:a[o.id],handle:o.handle}}function Yd(l,a=[],o=[],u="",c=!1){let d=(p,m,y=c,x)=>{let j={relativePath:x===void 0?p.path||"":x,caseSensitive:p.caseSensitive===!0,childrenIndex:m,route:p};if(j.relativePath.startsWith("/")){if(!j.relativePath.startsWith(u)&&y)return;je(j.relativePath.startsWith(u),`Absolute route path "${j.relativePath}" nested under path "${u}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),j.relativePath=j.relativePath.slice(u.length)}let E=sr([u,j.relativePath]),M=o.concat(j);p.children&&p.children.length>0&&(je(p.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${E}".`),Yd(p.children,a,M,E,y)),!(p.path==null&&!p.index)&&a.push({path:E,score:Ip(E,p.index),routesMeta:M})};return l.forEach((p,m)=>{var y;if(p.path===""||!((y=p.path)!=null&&y.includes("?")))d(p,m);else for(let x of Qd(p.path))d(p,m,!0,x)}),a}function Qd(l){let a=l.split("/");if(a.length===0)return[];let[o,...u]=a,c=o.endsWith("?"),d=o.replace(/\?$/,"");if(u.length===0)return c?[d,""]:[d];let p=Qd(u.join("/")),m=[];return m.push(...p.map(y=>y===""?d:[d,y].join("/"))),c&&m.push(...p),m.map(y=>l.startsWith("/")&&y===""?"/":y)}function Mp(l){l.sort((a,o)=>a.score!==o.score?o.score-a.score:Hp(a.routesMeta.map(u=>u.childrenIndex),o.routesMeta.map(u=>u.childrenIndex)))}var Lp=/^:[\w-]+$/,zp=3,Tp=2,Dp=1,Op=10,Fp=-2,yd=l=>l==="*";function Ip(l,a){let o=l.split("/"),u=o.length;return o.some(yd)&&(u+=Fp),a&&(u+=Tp),o.filter(c=>!yd(c)).reduce((c,d)=>c+(Lp.test(d)?zp:d===""?Dp:Op),u)}function Hp(l,a){return l.length===a.length&&l.slice(0,-1).every((u,c)=>u===a[c])?l[l.length-1]-a[a.length-1]:0}function Up(l,a,o=!1){let{routesMeta:u}=l,c={},d="/",p=[];for(let m=0;m<u.length;++m){let y=u[m],x=m===u.length-1,j=d==="/"?a:a.slice(d.length)||"/",E=Na({path:y.relativePath,caseSensitive:y.caseSensitive,end:x},j),M=y.route;if(!E&&x&&o&&!u[u.length-1].route.index&&(E=Na({path:y.relativePath,caseSensitive:y.caseSensitive,end:!1},j)),!E)return null;Object.assign(c,E.params),p.push({params:c,pathname:sr([d,E.pathname]),pathnameBase:Bp(sr([d,E.pathnameBase])),route:M}),E.pathnameBase!=="/"&&(d=sr([d,E.pathnameBase]))}return p}function Na(l,a){typeof l=="string"&&(l={path:l,caseSensitive:!1,end:!0});let[o,u]=Ap(l.path,l.caseSensitive,l.end),c=a.match(o);if(!c)return null;let d=c[0],p=d.replace(/(.)\/+$/,"$1"),m=c.slice(1);return{params:u.reduce((x,{paramName:j,isOptional:E},M)=>{if(j==="*"){let b=m[M]||"";p=d.slice(0,d.length-b.length).replace(/(.)\/+$/,"$1")}const T=m[M];return E&&!T?x[j]=void 0:x[j]=(T||"").replace(/%2F/g,"/"),x},{}),pathname:d,pathnameBase:p,pattern:l}}function Ap(l,a=!1,o=!0){tt(l==="*"||!l.endsWith("*")||l.endsWith("/*"),`Route path "${l}" will be treated as if it were "${l.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${l.replace(/\*$/,"/*")}".`);let u=[],c="^"+l.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(p,m,y)=>(u.push({paramName:m,isOptional:y!=null}),y?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return l.endsWith("*")?(u.push({paramName:"*"}),c+=l==="*"||l==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?c+="\\/*$":l!==""&&l!=="/"&&(c+="(?:(?=\\/|$))"),[new RegExp(c,a?void 0:"i"),u]}function $p(l){try{return l.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return tt(!1,`The URL path "${l}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${a}).`),l}}function Vt(l,a){if(a==="/")return l;if(!l.toLowerCase().startsWith(a.toLowerCase()))return null;let o=a.endsWith("/")?a.length-1:a.length,u=l.charAt(o);return u&&u!=="/"?null:l.slice(o)||"/"}function bp({basename:l,pathname:a}){return a==="/"?l:sr([l,a])}var Gd=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ns=l=>Gd.test(l);function Wp(l,a="/"){let{pathname:o,search:u="",hash:c=""}=typeof l=="string"?qr(l):l,d;return o?(o=o.replace(/\/\/+/g,"/"),o.startsWith("/")?d=vd(o.substring(1),"/"):d=vd(o,a)):d=a,{pathname:d,search:Vp(u),hash:Yp(c)}}function vd(l,a){let o=a.replace(/\/+$/,"").split("/");return l.split("/").forEach(c=>{c===".."?o.length>1&&o.pop():c!=="."&&o.push(c)}),o.length>1?o.join("/"):"/"}function fs(l,a,o,u){return`Cannot include a '${l}' character in a manually specified \`to.${a}\` field [${JSON.stringify(u)}]. Please separate it out to the \`to.${o}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Kd(l){return l.filter((a,o)=>o===0||a.route.path&&a.route.path.length>0)}function ks(l){let a=Kd(l);return a.map((o,u)=>u===a.length-1?o.pathname:o.pathnameBase)}function Es(l,a,o,u=!1){let c;typeof l=="string"?c=qr(l):(c={...l},je(!c.pathname||!c.pathname.includes("?"),fs("?","pathname","search",c)),je(!c.pathname||!c.pathname.includes("#"),fs("#","pathname","hash",c)),je(!c.search||!c.search.includes("#"),fs("#","search","hash",c)));let d=l===""||c.pathname==="",p=d?"/":c.pathname,m;if(p==null)m=o;else{let E=a.length-1;if(!u&&p.startsWith("..")){let M=p.split("/");for(;M[0]==="..";)M.shift(),E-=1;c.pathname=M.join("/")}m=E>=0?a[E]:"/"}let y=Wp(c,m),x=p&&p!=="/"&&p.endsWith("/"),j=(d||p===".")&&o.endsWith("/");return!y.pathname.endsWith("/")&&(x||j)&&(y.pathname+="/"),y}var sr=l=>l.join("/").replace(/\/\/+/g,"/"),Bp=l=>l.replace(/\/+$/,"").replace(/^\/*/,"/"),Vp=l=>!l||l==="?"?"":l.startsWith("?")?l:"?"+l,Yp=l=>!l||l==="#"?"":l.startsWith("#")?l:"#"+l,ri=class{constructor(l,a,o,u=!1){this.status=l,this.statusText=a||"",this.internal=u,o instanceof Error?(this.data=o.toString(),this.error=o):this.data=o}};function ti(l){return l!=null&&typeof l.status=="number"&&typeof l.statusText=="string"&&typeof l.internal=="boolean"&&"data"in l}function ni(l){return l.map(a=>a.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Jd=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Xd(l,a){let o=l;if(typeof o!="string"||!Gd.test(o))return{absoluteURL:void 0,isExternal:!1,to:o};let u=o,c=!1;if(Jd)try{let d=new URL(window.location.href),p=o.startsWith("//")?new URL(d.protocol+o):new URL(o),m=Vt(p.pathname,a);p.origin===d.origin&&m!=null?o=m+p.search+p.hash:c=!0}catch{tt(!1,`<Link to="${o}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:u,isExternal:c,to:o}}var Zr=Symbol("Uninstrumented");function Qp(l,a){let o={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};l.forEach(c=>c({id:a.id,index:a.index,path:a.path,instrument(d){let p=Object.keys(o);for(let m of p)d[m]&&o[m].push(d[m])}}));let u={};if(typeof a.lazy=="function"&&o.lazy.length>0){let c=rl(o.lazy,a.lazy,()=>{});c&&(u.lazy=c)}if(typeof a.lazy=="object"){let c=a.lazy;["middleware","loader","action"].forEach(d=>{let p=c[d],m=o[`lazy.${d}`];if(typeof p=="function"&&m.length>0){let y=rl(m,p,()=>{});y&&(u.lazy=Object.assign(u.lazy||{},{[d]:y}))}})}return["loader","action"].forEach(c=>{let d=a[c];if(typeof d=="function"&&o[c].length>0){let p=d[Zr]??d,m=rl(o[c],p,(...y)=>xd(y[0]));m&&(c==="loader"&&p.hydrate===!0&&(m.hydrate=!0),m[Zr]=p,u[c]=m)}}),a.middleware&&a.middleware.length>0&&o.middleware.length>0&&(u.middleware=a.middleware.map(c=>{let d=c[Zr]??c,p=rl(o.middleware,d,(...m)=>xd(m[0]));return p?(p[Zr]=d,p):c})),u}function Gp(l,a){let o={navigate:[],fetch:[]};if(a.forEach(u=>u({instrument(c){let d=Object.keys(c);for(let p of d)c[p]&&o[p].push(c[p])}})),o.navigate.length>0){let u=l.navigate[Zr]??l.navigate,c=rl(o.navigate,u,(...d)=>{let[p,m]=d;return{to:typeof p=="number"||typeof p=="string"?p:p?ur(p):".",...wd(l,m??{})}});c&&(c[Zr]=u,l.navigate=c)}if(o.fetch.length>0){let u=l.fetch[Zr]??l.fetch,c=rl(o.fetch,u,(...d)=>{let[p,,m,y]=d;return{href:m??".",fetcherKey:p,...wd(l,y??{})}});c&&(c[Zr]=u,l.fetch=c)}return l}function rl(l,a,o){return l.length===0?null:async(...u)=>{let c=await Zd(l,o(...u),()=>a(...u),l.length-1);if(c.type==="error")throw c.value;return c.value}}async function Zd(l,a,o,u){let c=l[u],d;if(c){let p,m=async()=>(p?console.error("You cannot call instrumented handlers more than once"):p=Zd(l,a,o,u-1),d=await p,je(d,"Expected a result"),d.type==="error"&&d.value instanceof Error?{status:"error",error:d.value}:{status:"success",error:void 0});try{await c(m,a)}catch(y){console.error("An instrumentation function threw an error:",y)}p||await m(),await p}else try{d={type:"success",value:await o()}}catch(p){d={type:"error",value:p}}return d||{type:"error",value:new Error("No result assigned in instrumentation chain.")}}function xd(l){let{request:a,context:o,params:u,unstable_pattern:c}=l;return{request:Kp(a),params:{...u},unstable_pattern:c,context:Jp(o)}}function wd(l,a){return{currentUrl:ur(l.state.location),..."formMethod"in a?{formMethod:a.formMethod}:{},..."formEncType"in a?{formEncType:a.formEncType}:{},..."formData"in a?{formData:a.formData}:{},..."body"in a?{body:a.body}:{}}}function Kp(l){return{method:l.method,url:l.url,headers:{get:(...a)=>l.headers.get(...a)}}}function Jp(l){if(Zp(l)){let a={...l};return Object.freeze(a),a}else return{get:a=>l.get(a)}}var Xp=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Zp(l){if(l===null||typeof l!="object")return!1;const a=Object.getPrototypeOf(l);return a===Object.prototype||a===null||Object.getOwnPropertyNames(a).sort().join("\0")===Xp}var qd=["POST","PUT","PATCH","DELETE"],qp=new Set(qd),em=["GET",...qd],tm=new Set(em),ef=new Set([301,302,303,307,308]),rm=new Set([307,308]),hs={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},nm={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Yl={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},lm=l=>({hasErrorBoundary:!!l.hasErrorBoundary}),tf="remix-router-transitions",rf=Symbol("ResetLoaderData");function im(l){const a=l.window?l.window:typeof window<"u"?window:void 0,o=typeof a<"u"&&typeof a.document<"u"&&typeof a.document.createElement<"u";je(l.routes.length>0,"You must provide a non-empty routes array to createRouter");let u=l.hydrationRouteProperties||[],c=l.mapRouteProperties||lm,d=c;if(l.unstable_instrumentations){let v=l.unstable_instrumentations;d=k=>({...c(k),...Qp(v.map(P=>P.route).filter(Boolean),k)})}let p={},m=ei(l.routes,d,void 0,p),y,x=l.basename||"/";x.startsWith("/")||(x=`/${x}`);let j=l.dataStrategy||cm,E={...l.future},M=null,T=new Set,b=null,U=null,A=null,G=l.hydrationData!=null,B=Jr(m,l.history.location,x),re=!1,we=null,ge;if(B==null&&!l.patchRoutesOnNavigation){let v=Bt(404,{pathname:l.history.location.pathname}),{matches:k,route:P}=ga(m);ge=!0,B=k,we={[P.id]:v}}else if(B&&!l.hydrationData&&ln(B,m,l.history.location.pathname).active&&(B=null),B)if(B.some(v=>v.route.lazy))ge=!1;else if(!B.some(v=>js(v.route)))ge=!0;else{let v=l.hydrationData?l.hydrationData.loaderData:null,k=l.hydrationData?l.hydrationData.errors:null;if(k){let P=B.findIndex(F=>k[F.route.id]!==void 0);ge=B.slice(0,P+1).every(F=>!vs(F.route,v,k))}else ge=B.every(P=>!vs(P.route,v,k))}else{ge=!1,B=[];let v=ln(null,m,l.history.location.pathname);v.active&&v.matches&&(re=!0,B=v.matches)}let Ne,z={historyAction:l.history.action,location:l.history.location,matches:B,initialized:ge,navigation:hs,restoreScrollPosition:l.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:l.hydrationData&&l.hydrationData.loaderData||{},actionData:l.hydrationData&&l.hydrationData.actionData||null,errors:l.hydrationData&&l.hydrationData.errors||we,fetchers:new Map,blockers:new Map},ae="POP",he=null,ke=!1,_e,Oe=!1,$e=new Map,ze=null,Be=!1,Se=!1,ye=new Set,H=new Map,X=0,Y=-1,N=new Map,D=new Set,ce=new Map,fe=new Map,de=new Set,ve=new Map,Te,Ce=null;function Ue(){if(M=l.history.listen(({action:v,location:k,delta:P})=>{if(Te){Te(),Te=void 0;return}tt(ve.size===0||P!=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 F=dr({currentLocation:z.location,nextLocation:k,historyAction:v});if(F&&P!=null){let V=new Promise(ne=>{Te=ne});l.history.go(P*-1),Rr(F,{state:"blocked",location:k,proceed(){Rr(F,{state:"proceeding",proceed:void 0,reset:void 0,location:k}),V.then(()=>l.history.go(P))},reset(){let ne=new Map(z.blockers);ne.set(F,Yl),rt({blockers:ne})}}),he==null||he.resolve(),he=null;return}return er(v,k)}),o){Pm(a,$e);let v=()=>_m(a,$e);a.addEventListener("pagehide",v),ze=()=>a.removeEventListener("pagehide",v)}return z.initialized||er("POP",z.location,{initialHydration:!0}),Ne}function yt(){M&&M(),ze&&ze(),T.clear(),_e&&_e.abort(),z.fetchers.forEach((v,k)=>ol(k)),z.blockers.forEach((v,k)=>Ln(k))}function Cn(v){return T.add(v),()=>T.delete(v)}function rt(v,k={}){v.matches&&(v.matches=v.matches.map(V=>{let ne=p[V.route.id],oe=V.route;return oe.element!==ne.element||oe.errorElement!==ne.errorElement||oe.hydrateFallbackElement!==ne.hydrateFallbackElement?{...V,route:ne}:V})),z={...z,...v};let P=[],F=[];z.fetchers.forEach((V,ne)=>{V.state==="idle"&&(de.has(ne)?P.push(ne):F.push(ne))}),de.forEach(V=>{!z.fetchers.has(V)&&!H.has(V)&&P.push(V)}),[...T].forEach(V=>V(z,{deletedFetchers:P,newErrors:v.errors??null,viewTransitionOpts:k.viewTransitionOpts,flushSync:k.flushSync===!0})),P.forEach(V=>ol(V)),F.forEach(V=>z.fetchers.delete(V))}function Qt(v,k,{flushSync:P}={}){var me,ie;let F=z.actionData!=null&&z.navigation.formMethod!=null&&gt(z.navigation.formMethod)&&z.navigation.state==="loading"&&((me=v.state)==null?void 0:me._isRedirect)!==!0,V;k.actionData?Object.keys(k.actionData).length>0?V=k.actionData:V=null:F?V=z.actionData:V=null;let ne=k.loaderData?Md(z.loaderData,k.loaderData,k.matches||[],k.errors):z.loaderData,oe=z.blockers;oe.size>0&&(oe=new Map(oe),oe.forEach((xe,Re)=>oe.set(Re,Yl)));let K=Be?!1:cl(v,k.matches||z.matches),Z=ke===!0||z.navigation.formMethod!=null&&gt(z.navigation.formMethod)&&((ie=v.state)==null?void 0:ie._isRedirect)!==!0;y&&(m=y,y=void 0),Be||ae==="POP"||(ae==="PUSH"?l.history.push(v,v.state):ae==="REPLACE"&&l.history.replace(v,v.state));let ee;if(ae==="POP"){let xe=$e.get(z.location.pathname);xe&&xe.has(v.pathname)?ee={currentLocation:z.location,nextLocation:v}:$e.has(v.pathname)&&(ee={currentLocation:v,nextLocation:z.location})}else if(Oe){let xe=$e.get(z.location.pathname);xe?xe.add(v.pathname):(xe=new Set([v.pathname]),$e.set(z.location.pathname,xe)),ee={currentLocation:z.location,nextLocation:v}}rt({...k,actionData:V,loaderData:ne,historyAction:ae,location:v,initialized:!0,navigation:hs,revalidation:"idle",restoreScrollPosition:K,preventScrollReset:Z,blockers:oe},{viewTransitionOpts:ee,flushSync:P===!0}),ae="POP",ke=!1,Oe=!1,Be=!1,Se=!1,he==null||he.resolve(),he=null,Ce==null||Ce.resolve(),Ce=null}async function Rn(v,k){if(he==null||he.resolve(),he=null,typeof v=="number"){he||(he=Dd());let Re=he.promise;return l.history.go(v),Re}let P=ys(z.location,z.matches,x,v,k==null?void 0:k.fromRouteId,k==null?void 0:k.relative),{path:F,submission:V,error:ne}=Sd(!1,P,k),oe=z.location,K=ql(z.location,F,k&&k.state);K={...K,...l.history.encodeLocation(K)};let Z=k&&k.replace!=null?k.replace:void 0,ee="PUSH";Z===!0?ee="REPLACE":Z===!1||V!=null&&gt(V.formMethod)&&V.formAction===z.location.pathname+z.location.search&&(ee="REPLACE");let me=k&&"preventScrollReset"in k?k.preventScrollReset===!0:void 0,ie=(k&&k.flushSync)===!0,xe=dr({currentLocation:oe,nextLocation:K,historyAction:ee});if(xe){Rr(xe,{state:"blocked",location:K,proceed(){Rr(xe,{state:"proceeding",proceed:void 0,reset:void 0,location:K}),Rn(v,k)},reset(){let Re=new Map(z.blockers);Re.set(xe,Yl),rt({blockers:Re})}});return}await er(ee,K,{submission:V,pendingError:ne,preventScrollReset:me,replace:k&&k.replace,enableViewTransition:k&&k.viewTransition,flushSync:ie,callSiteDefaultShouldRevalidate:k&&k.unstable_defaultShouldRevalidate})}function oi(){Ce||(Ce=Dd()),rn(),rt({revalidation:"loading"});let v=Ce.promise;return z.navigation.state==="submitting"?v:z.navigation.state==="idle"?(er(z.historyAction,z.location,{startUninterruptedRevalidation:!0}),v):(er(ae||z.historyAction,z.navigation.location,{overrideNavigation:z.navigation,enableViewTransition:Oe===!0}),v)}async function er(v,k,P){_e&&_e.abort(),_e=null,ae=v,Be=(P&&P.startUninterruptedRevalidation)===!0,hi(z.location,z.matches),ke=(P&&P.preventScrollReset)===!0,Oe=(P&&P.enableViewTransition)===!0;let F=y||m,V=P&&P.overrideNavigation,ne=P!=null&&P.initialHydration&&z.matches&&z.matches.length>0&&!re?z.matches:Jr(F,k,x),oe=(P&&P.flushSync)===!0;if(ne&&z.initialized&&!Se&&vm(z.location,k)&&!(P&&P.submission&&gt(P.submission.formMethod))){Qt(k,{matches:ne},{flushSync:oe});return}let K=ln(ne,F,k.pathname);if(K.active&&K.matches&&(ne=K.matches),!ne){let{error:Xe,notFoundMatches:it,route:De}=rr(k.pathname);Qt(k,{matches:it,loaderData:{},errors:{[De.id]:Xe}},{flushSync:oe});return}_e=new AbortController;let Z=el(l.history,k,_e.signal,P&&P.submission),ee=l.getContext?await l.getContext():new md,me;if(P&&P.pendingError)me=[Xr(ne).route.id,{type:"error",error:P.pendingError}];else if(P&&P.submission&&gt(P.submission.formMethod)){let Xe=await ll(Z,k,P.submission,ne,ee,K.active,P&&P.initialHydration===!0,{replace:P.replace,flushSync:oe});if(Xe.shortCircuited)return;if(Xe.pendingActionResult){let[it,De]=Xe.pendingActionResult;if(Dt(De)&&ti(De.error)&&De.error.status===404){_e=null,Qt(k,{matches:Xe.matches,loaderData:{},errors:{[it]:De.error}});return}}ne=Xe.matches||ne,me=Xe.pendingActionResult,V=ps(k,P.submission),oe=!1,K.active=!1,Z=el(l.history,Z.url,Z.signal)}let{shortCircuited:ie,matches:xe,loaderData:Re,errors:qe}=await si(Z,k,ne,ee,K.active,V,P&&P.submission,P&&P.fetcherSubmission,P&&P.replace,P&&P.initialHydration===!0,oe,me,P&&P.callSiteDefaultShouldRevalidate);ie||(_e=null,Qt(k,{matches:xe||ne,...Ld(me),loaderData:Re,errors:qe}))}async function ll(v,k,P,F,V,ne,oe,K={}){rn();let Z=Cm(k,P);if(rt({navigation:Z},{flushSync:K.flushSync===!0}),ne){let ie=await Pr(F,k.pathname,v.signal);if(ie.type==="aborted")return{shortCircuited:!0};if(ie.type==="error"){if(ie.partialMatches.length===0){let{matches:Re,route:qe}=ga(m);return{matches:Re,pendingActionResult:[qe.id,{type:"error",error:ie.error}]}}let xe=Xr(ie.partialMatches).route.id;return{matches:ie.partialMatches,pendingActionResult:[xe,{type:"error",error:ie.error}]}}else if(ie.matches)F=ie.matches;else{let{notFoundMatches:xe,error:Re,route:qe}=rr(k.pathname);return{matches:xe,pendingActionResult:[qe.id,{type:"error",error:Re}]}}}let ee,me=xa(F,k);if(!me.route.action&&!me.route.lazy)ee={type:"error",error:Bt(405,{method:v.method,pathname:k.pathname,routeId:me.route.id})};else{let ie=nl(d,p,v,F,me,oe?[]:u,V),xe=await jr(v,ie,V,null);if(ee=xe[me.route.id],!ee){for(let Re of F)if(xe[Re.route.id]){ee=xe[Re.route.id];break}}if(v.signal.aborted)return{shortCircuited:!0}}if(kn(ee)){let ie;return K&&K.replace!=null?ie=K.replace:ie=Rd(ee.response.headers.get("Location"),new URL(v.url),x,l.history)===z.location.pathname+z.location.search,await tr(v,ee,!0,{submission:P,replace:ie}),{shortCircuited:!0}}if(Dt(ee)){let ie=Xr(F,me.route.id);return(K&&K.replace)!==!0&&(ae="PUSH"),{matches:F,pendingActionResult:[ie.route.id,ee,me.route.id]}}return{matches:F,pendingActionResult:[me.route.id,ee]}}async function si(v,k,P,F,V,ne,oe,K,Z,ee,me,ie,xe){let Re=ne||ps(k,oe),qe=oe||K||Td(Re),Xe=!Be&&!ee;if(V){if(Xe){let He=Pn(ie);rt({navigation:Re,...He!==void 0?{actionData:He}:{}},{flushSync:me})}let Pe=await Pr(P,k.pathname,v.signal);if(Pe.type==="aborted")return{shortCircuited:!0};if(Pe.type==="error"){if(Pe.partialMatches.length===0){let{matches:Mr,route:hr}=ga(m);return{matches:Mr,loaderData:{},errors:{[hr.id]:Pe.error}}}let He=Xr(Pe.partialMatches).route.id;return{matches:Pe.partialMatches,loaderData:{},errors:{[He]:Pe.error}}}else if(Pe.matches)P=Pe.matches;else{let{error:He,notFoundMatches:Mr,route:hr}=rr(k.pathname);return{matches:Mr,loaderData:{},errors:{[hr.id]:He}}}}let it=y||m,{dsMatches:De,revalidatingFetchers:Nt}=Nd(v,F,d,p,l.history,z,P,qe,k,ee?[]:u,ee===!0,Se,ye,de,ce,D,it,x,l.patchRoutesOnNavigation!=null,ie,xe);if(Y=++X,!l.dataStrategy&&!De.some(Pe=>Pe.shouldLoad)&&!De.some(Pe=>Pe.route.middleware&&Pe.route.middleware.length>0)&&Nt.length===0){let Pe=_n();return Qt(k,{matches:P,loaderData:{},errors:ie&&Dt(ie[1])?{[ie[0]]:ie[1].error}:null,...Ld(ie),...Pe?{fetchers:new Map(z.fetchers)}:{}},{flushSync:me}),{shortCircuited:!0}}if(Xe){let Pe={};if(!V){Pe.navigation=Re;let He=Pn(ie);He!==void 0&&(Pe.actionData=He)}Nt.length>0&&(Pe.fetchers=tn(Nt)),rt(Pe,{flushSync:me})}Nt.forEach(Pe=>{Ft(Pe.key),Pe.controller&&H.set(Pe.key,Pe.controller)});let Fe=()=>Nt.forEach(Pe=>Ft(Pe.key));_e&&_e.signal.addEventListener("abort",Fe);let{loaderResults:on,fetcherResults:It}=await al(De,Nt,v,F);if(v.signal.aborted)return{shortCircuited:!0};_e&&_e.signal.removeEventListener("abort",Fe),Nt.forEach(Pe=>H.delete(Pe.key));let _t=ya(on);if(_t)return await tr(v,_t.result,!0,{replace:Z}),{shortCircuited:!0};if(_t=ya(It),_t)return D.add(_t.key),await tr(v,_t.result,!0,{replace:Z}),{shortCircuited:!0};let{loaderData:_r,errors:sn}=_d(z,P,on,ie,Nt,It);ee&&z.errors&&(sn={...z.errors,...sn});let nr=_n(),fr=Mn(Y),vt=nr||fr||Nt.length>0;return{matches:P,loaderData:_r,errors:sn,...vt?{fetchers:new Map(z.fetchers)}:{}}}function Pn(v){if(v&&!Dt(v[1]))return{[v[0]]:v[1].data};if(z.actionData)return Object.keys(z.actionData).length===0?null:z.actionData}function tn(v){return v.forEach(k=>{let P=z.fetchers.get(k.key),F=Ql(void 0,P?P.data:void 0);z.fetchers.set(k.key,F)}),new Map(z.fetchers)}async function Er(v,k,P,F){Ft(v);let V=(F&&F.flushSync)===!0,ne=y||m,oe=ys(z.location,z.matches,x,P,k,F==null?void 0:F.relative),K=Jr(ne,oe,x),Z=ln(K,ne,oe);if(Z.active&&Z.matches&&(K=Z.matches),!K){Ot(v,k,Bt(404,{pathname:oe}),{flushSync:V});return}let{path:ee,submission:me,error:ie}=Sd(!0,oe,F);if(ie){Ot(v,k,ie,{flushSync:V});return}let xe=l.getContext?await l.getContext():new md,Re=(F&&F.preventScrollReset)===!0;if(me&&gt(me.formMethod)){await il(v,k,ee,K,xe,Z.active,V,Re,me,F&&F.unstable_defaultShouldRevalidate);return}ce.set(v,{routeId:k,path:ee}),await ui(v,k,ee,K,xe,Z.active,V,Re,me)}async function il(v,k,P,F,V,ne,oe,K,Z,ee){rn(),ce.delete(v);let me=z.fetchers.get(v);St(v,Rm(Z,me),{flushSync:oe});let ie=new AbortController,xe=el(l.history,P,ie.signal,Z);if(ne){let Ve=await Pr(F,new URL(xe.url).pathname,xe.signal,v);if(Ve.type==="aborted")return;if(Ve.type==="error"){Ot(v,k,Ve.error,{flushSync:oe});return}else if(Ve.matches)F=Ve.matches;else{Ot(v,k,Bt(404,{pathname:P}),{flushSync:oe});return}}let Re=xa(F,P);if(!Re.route.action&&!Re.route.lazy){let Ve=Bt(405,{method:Z.formMethod,pathname:P,routeId:k});Ot(v,k,Ve,{flushSync:oe});return}H.set(v,ie);let qe=X,Xe=nl(d,p,xe,F,Re,u,V),it=await jr(xe,Xe,V,v),De=it[Re.route.id];if(!De){for(let Ve of Xe)if(it[Ve.route.id]){De=it[Ve.route.id];break}}if(xe.signal.aborted){H.get(v)===ie&&H.delete(v);return}if(de.has(v)){if(kn(De)||Dt(De)){St(v,kr(void 0));return}}else{if(kn(De))if(H.delete(v),Y>qe){St(v,kr(void 0));return}else return D.add(v),St(v,Ql(Z)),tr(xe,De,!1,{fetcherSubmission:Z,preventScrollReset:K});if(Dt(De)){Ot(v,k,De.error);return}}let Nt=z.navigation.location||z.location,Fe=el(l.history,Nt,ie.signal),on=y||m,It=z.navigation.state!=="idle"?Jr(on,z.navigation.location,x):z.matches;je(It,"Didn't find any matches after fetcher action");let _t=++X;N.set(v,_t);let _r=Ql(Z,De.data);z.fetchers.set(v,_r);let{dsMatches:sn,revalidatingFetchers:nr}=Nd(Fe,V,d,p,l.history,z,It,Z,Nt,u,!1,Se,ye,de,ce,D,on,x,l.patchRoutesOnNavigation!=null,[Re.route.id,De],ee);nr.filter(Ve=>Ve.key!==v).forEach(Ve=>{let pr=Ve.key,un=z.fetchers.get(pr),cn=Ql(void 0,un?un.data:void 0);z.fetchers.set(pr,cn),Ft(pr),Ve.controller&&H.set(pr,Ve.controller)}),rt({fetchers:new Map(z.fetchers)});let fr=()=>nr.forEach(Ve=>Ft(Ve.key));ie.signal.addEventListener("abort",fr);let{loaderResults:vt,fetcherResults:Pe}=await al(sn,nr,Fe,V);if(ie.signal.aborted)return;if(ie.signal.removeEventListener("abort",fr),N.delete(v),H.delete(v),nr.forEach(Ve=>H.delete(Ve.key)),z.fetchers.has(v)){let Ve=kr(De.data);z.fetchers.set(v,Ve)}let He=ya(vt);if(He)return tr(Fe,He.result,!1,{preventScrollReset:K});if(He=ya(Pe),He)return D.add(He.key),tr(Fe,He.result,!1,{preventScrollReset:K});let{loaderData:Mr,errors:hr}=_d(z,It,vt,void 0,nr,Pe);Mn(_t),z.navigation.state==="loading"&&_t>Y?(je(ae,"Expected pending action"),_e&&_e.abort(),Qt(z.navigation.location,{matches:It,loaderData:Mr,errors:hr,fetchers:new Map(z.fetchers)})):(rt({errors:hr,loaderData:Md(z.loaderData,Mr,It,hr),fetchers:new Map(z.fetchers)}),Se=!1)}async function ui(v,k,P,F,V,ne,oe,K,Z){let ee=z.fetchers.get(v);St(v,Ql(Z,ee?ee.data:void 0),{flushSync:oe});let me=new AbortController,ie=el(l.history,P,me.signal);if(ne){let De=await Pr(F,new URL(ie.url).pathname,ie.signal,v);if(De.type==="aborted")return;if(De.type==="error"){Ot(v,k,De.error,{flushSync:oe});return}else if(De.matches)F=De.matches;else{Ot(v,k,Bt(404,{pathname:P}),{flushSync:oe});return}}let xe=xa(F,P);H.set(v,me);let Re=X,qe=nl(d,p,ie,F,xe,u,V),it=(await jr(ie,qe,V,v))[xe.route.id];if(H.get(v)===me&&H.delete(v),!ie.signal.aborted){if(de.has(v)){St(v,kr(void 0));return}if(kn(it))if(Y>Re){St(v,kr(void 0));return}else{D.add(v),await tr(ie,it,!1,{preventScrollReset:K});return}if(Dt(it)){Ot(v,k,it.error);return}St(v,kr(it.data))}}async function tr(v,k,P,{submission:F,fetcherSubmission:V,preventScrollReset:ne,replace:oe}={}){P||(he==null||he.resolve(),he=null),k.response.headers.has("X-Remix-Revalidate")&&(Se=!0);let K=k.response.headers.get("Location");je(K,"Expected a Location header on the redirect Response"),K=Rd(K,new URL(v.url),x,l.history);let Z=ql(z.location,K,{_isRedirect:!0});if(o){let qe=!1;if(k.response.headers.has("X-Remix-Reload-Document"))qe=!0;else if(Ns(K)){const Xe=Vd(K,!0);qe=Xe.origin!==a.location.origin||Vt(Xe.pathname,x)==null}if(qe){oe?a.location.replace(K):a.location.assign(K);return}}_e=null;let ee=oe===!0||k.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:me,formAction:ie,formEncType:xe}=z.navigation;!F&&!V&&me&&ie&&xe&&(F=Td(z.navigation));let Re=F||V;if(rm.has(k.response.status)&&Re&&gt(Re.formMethod))await er(ee,Z,{submission:{...Re,formAction:K},preventScrollReset:ne||ke,enableViewTransition:P?Oe:void 0});else{let qe=ps(Z,F);await er(ee,Z,{overrideNavigation:qe,fetcherSubmission:V,preventScrollReset:ne||ke,enableViewTransition:P?Oe:void 0})}}async function jr(v,k,P,F){var oe;let V,ne={};try{V=await fm(j,v,k,F,P,!1)}catch(K){return k.filter(Z=>Z.shouldLoad).forEach(Z=>{ne[Z.route.id]={type:"error",error:K}}),ne}if(v.signal.aborted)return ne;if(!gt(v.method))for(let K of k){if(((oe=V[K.route.id])==null?void 0:oe.type)==="error")break;!V.hasOwnProperty(K.route.id)&&!z.loaderData.hasOwnProperty(K.route.id)&&(!z.errors||!z.errors.hasOwnProperty(K.route.id))&&K.shouldCallHandler()&&(V[K.route.id]={type:"error",result:new Error(`No result returned from dataStrategy for route ${K.route.id}`)})}for(let[K,Z]of Object.entries(V))if(Nm(Z)){let ee=Z.result;ne[K]={type:"redirect",response:gm(ee,v,K,k,x)}}else ne[K]=await mm(Z);return ne}async function al(v,k,P,F){let V=jr(P,v,F,null),ne=Promise.all(k.map(async Z=>{if(Z.matches&&Z.match&&Z.request&&Z.controller){let me=(await jr(Z.request,Z.matches,F,Z.key))[Z.match.route.id];return{[Z.key]:me}}else return Promise.resolve({[Z.key]:{type:"error",error:Bt(404,{pathname:Z.path})}})})),oe=await V,K=(await ne).reduce((Z,ee)=>Object.assign(Z,ee),{});return{loaderResults:oe,fetcherResults:K}}function rn(){Se=!0,ce.forEach((v,k)=>{H.has(k)&&ye.add(k),Ft(k)})}function St(v,k,P={}){z.fetchers.set(v,k),rt({fetchers:new Map(z.fetchers)},{flushSync:(P&&P.flushSync)===!0})}function Ot(v,k,P,F={}){let V=Xr(z.matches,k);ol(v),rt({errors:{[V.route.id]:P},fetchers:new Map(z.fetchers)},{flushSync:(F&&F.flushSync)===!0})}function Cr(v){return fe.set(v,(fe.get(v)||0)+1),de.has(v)&&de.delete(v),z.fetchers.get(v)||nm}function nn(v,k){Ft(v,k==null?void 0:k.reason),St(v,kr(null))}function ol(v){let k=z.fetchers.get(v);H.has(v)&&!(k&&k.state==="loading"&&N.has(v))&&Ft(v),ce.delete(v),N.delete(v),D.delete(v),de.delete(v),ye.delete(v),z.fetchers.delete(v)}function ci(v){let k=(fe.get(v)||0)-1;k<=0?(fe.delete(v),de.add(v)):fe.set(v,k),rt({fetchers:new Map(z.fetchers)})}function Ft(v,k){let P=H.get(v);P&&(P.abort(k),H.delete(v))}function di(v){for(let k of v){let P=Cr(k),F=kr(P.data);z.fetchers.set(k,F)}}function _n(){let v=[],k=!1;for(let P of D){let F=z.fetchers.get(P);je(F,`Expected fetcher: ${P}`),F.state==="loading"&&(D.delete(P),v.push(P),k=!0)}return di(v),k}function Mn(v){let k=[];for(let[P,F]of N)if(F<v){let V=z.fetchers.get(P);je(V,`Expected fetcher: ${P}`),V.state==="loading"&&(Ft(P),N.delete(P),k.push(P))}return di(k),k.length>0}function sl(v,k){let P=z.blockers.get(v)||Yl;return ve.get(v)!==k&&ve.set(v,k),P}function Ln(v){z.blockers.delete(v),ve.delete(v)}function Rr(v,k){let P=z.blockers.get(v)||Yl;je(P.state==="unblocked"&&k.state==="blocked"||P.state==="blocked"&&k.state==="blocked"||P.state==="blocked"&&k.state==="proceeding"||P.state==="blocked"&&k.state==="unblocked"||P.state==="proceeding"&&k.state==="unblocked",`Invalid blocker state transition: ${P.state} -> ${k.state}`);let F=new Map(z.blockers);F.set(v,k),rt({blockers:F})}function dr({currentLocation:v,nextLocation:k,historyAction:P}){if(ve.size===0)return;ve.size>1&&tt(!1,"A router only supports one blocker at a time");let F=Array.from(ve.entries()),[V,ne]=F[F.length-1],oe=z.blockers.get(V);if(!(oe&&oe.state==="proceeding")&&ne({currentLocation:v,nextLocation:k,historyAction:P}))return V}function rr(v){let k=Bt(404,{pathname:v}),P=y||m,{matches:F,route:V}=ga(P);return{notFoundMatches:F,route:V,error:k}}function fi(v,k,P){if(b=v,A=k,U=P||null,!G&&z.navigation===hs){G=!0;let F=cl(z.location,z.matches);F!=null&&rt({restoreScrollPosition:F})}return()=>{b=null,A=null,U=null}}function ul(v,k){return U&&U(v,k.map(F=>_p(F,z.loaderData)))||v.key}function hi(v,k){if(b&&A){let P=ul(v,k);b[P]=A()}}function cl(v,k){if(b){let P=ul(v,k),F=b[P];if(typeof F=="number")return F}return null}function ln(v,k,P){if(l.patchRoutesOnNavigation)if(v){if(Object.keys(v[0].params).length>0)return{active:!0,matches:Jl(k,P,x,!0)}}else return{active:!0,matches:Jl(k,P,x,!0)||[]};return{active:!1,matches:null}}async function Pr(v,k,P,F){if(!l.patchRoutesOnNavigation)return{type:"success",matches:v};let V=v;for(;;){let ne=y==null,oe=y||m,K=p;try{await l.patchRoutesOnNavigation({signal:P,path:k,matches:V,fetcherKey:F,patch:(me,ie)=>{P.aborted||kd(me,ie,oe,K,d,!1)}})}catch(me){return{type:"error",error:me,partialMatches:V}}finally{ne&&!P.aborted&&(m=[...m])}if(P.aborted)return{type:"aborted"};let Z=Jr(oe,k,x),ee=null;if(Z){if(Object.keys(Z[0].params).length===0)return{type:"success",matches:Z};if(ee=Jl(oe,k,x,!0),!(ee&&V.length<ee.length&&dl(V,ee.slice(0,V.length))))return{type:"success",matches:Z}}if(ee||(ee=Jl(oe,k,x,!0)),!ee||dl(V,ee))return{type:"success",matches:null};V=ee}}function dl(v,k){return v.length===k.length&&v.every((P,F)=>P.route.id===k[F].route.id)}function an(v){p={},y=ei(v,d,void 0,p)}function fl(v,k,P=!1){let F=y==null;kd(v,k,y||m,p,d,P),F&&(m=[...m],rt({}))}return Ne={get basename(){return x},get future(){return E},get state(){return z},get routes(){return m},get window(){return a},initialize:Ue,subscribe:Cn,enableScrollRestoration:fi,navigate:Rn,fetch:Er,revalidate:oi,createHref:v=>l.history.createHref(v),encodeLocation:v=>l.history.encodeLocation(v),getFetcher:Cr,resetFetcher:nn,deleteFetcher:ci,dispose:yt,getBlocker:sl,deleteBlocker:Ln,patchRoutes:fl,_internalFetchControllers:H,_internalSetRoutes:an,_internalSetStateDoNotUseOrYouWillBreakYourApp(v){rt(v)}},l.unstable_instrumentations&&(Ne=Gp(Ne,l.unstable_instrumentations.map(v=>v.router).filter(Boolean))),Ne}function am(l){return l!=null&&("formData"in l&&l.formData!=null||"body"in l&&l.body!==void 0)}function ys(l,a,o,u,c,d){let p,m;if(c){p=[];for(let x of a)if(p.push(x),x.route.id===c){m=x;break}}else p=a,m=a[a.length-1];let y=Es(u||".",ks(p),Vt(l.pathname,o)||l.pathname,d==="path");if(u==null&&(y.search=l.search,y.hash=l.hash),(u==null||u===""||u===".")&&m){let x=Rs(y.search);if(m.route.index&&!x)y.search=y.search?y.search.replace(/^\?/,"?index&"):"?index";else if(!m.route.index&&x){let j=new URLSearchParams(y.search),E=j.getAll("index");j.delete("index"),E.filter(T=>T).forEach(T=>j.append("index",T));let M=j.toString();y.search=M?`?${M}`:""}}return o!=="/"&&(y.pathname=bp({basename:o,pathname:y.pathname})),ur(y)}function Sd(l,a,o){if(!o||!am(o))return{path:a};if(o.formMethod&&!jm(o.formMethod))return{path:a,error:Bt(405,{method:o.formMethod})};let u=()=>({path:a,error:Bt(400,{type:"invalid-body"})}),d=(o.formMethod||"get").toUpperCase(),p=uf(a);if(o.body!==void 0){if(o.formEncType==="text/plain"){if(!gt(d))return u();let E=typeof o.body=="string"?o.body:o.body instanceof FormData||o.body instanceof URLSearchParams?Array.from(o.body.entries()).reduce((M,[T,b])=>`${M}${T}=${b}
`,""):String(o.body);return{path:a,submission:{formMethod:d,formAction:p,formEncType:o.formEncType,formData:void 0,json:void 0,text:E}}}else if(o.formEncType==="application/json"){if(!gt(d))return u();try{let E=typeof o.body=="string"?JSON.parse(o.body):o.body;return{path:a,submission:{formMethod:d,formAction:p,formEncType:o.formEncType,formData:void 0,json:E,text:void 0}}}catch{return u()}}}je(typeof FormData=="function","FormData is not available in this environment");let m,y;if(o.formData)m=ws(o.formData),y=o.formData;else if(o.body instanceof FormData)m=ws(o.body),y=o.body;else if(o.body instanceof URLSearchParams)m=o.body,y=Pd(m);else if(o.body==null)m=new URLSearchParams,y=new FormData;else try{m=new URLSearchParams(o.body),y=Pd(m)}catch{return u()}let x={formMethod:d,formAction:p,formEncType:o&&o.formEncType||"application/x-www-form-urlencoded",formData:y,json:void 0,text:void 0};if(gt(x.formMethod))return{path:a,submission:x};let j=qr(a);return l&&j.search&&Rs(j.search)&&m.append("index",""),j.search=`?${m}`,{path:ur(j),submission:x}}function Nd(l,a,o,u,c,d,p,m,y,x,j,E,M,T,b,U,A,G,B,re,we){var Be;let ge=re?Dt(re[1])?re[1].error:re[1].data:void 0,Ne=c.createURL(d.location),z=c.createURL(y),ae;if(j&&d.errors){let Se=Object.keys(d.errors)[0];ae=p.findIndex(ye=>ye.route.id===Se)}else if(re&&Dt(re[1])){let Se=re[0];ae=p.findIndex(ye=>ye.route.id===Se)-1}let he=re?re[1].statusCode:void 0,ke=he&&he>=400,_e={currentUrl:Ne,currentParams:((Be=d.matches[0])==null?void 0:Be.params)||{},nextUrl:z,nextParams:p[0].params,...m,actionResult:ge,actionStatus:he},Oe=ni(p),$e=p.map((Se,ye)=>{let{route:H}=Se,X=null;if(ae!=null&&ye>ae?X=!1:H.lazy?X=!0:js(H)?j?X=vs(H,d.loaderData,d.errors):om(d.loaderData,d.matches[ye],Se)&&(X=!0):X=!1,X!==null)return xs(o,u,l,Oe,Se,x,a,X);let Y=!1;typeof we=="boolean"?Y=we:ke?Y=!1:(E||Ne.pathname+Ne.search===z.pathname+z.search||Ne.search!==z.search||sm(d.matches[ye],Se))&&(Y=!0);let N={..._e,defaultShouldRevalidate:Y},D=Xl(Se,N);return xs(o,u,l,Oe,Se,x,a,D,N,we)}),ze=[];return b.forEach((Se,ye)=>{if(j||!p.some(de=>de.route.id===Se.routeId)||T.has(ye))return;let H=d.fetchers.get(ye),X=H&&H.state!=="idle"&&H.data===void 0,Y=Jr(A,Se.path,G);if(!Y){if(B&&X)return;ze.push({key:ye,routeId:Se.routeId,path:Se.path,matches:null,match:null,request:null,controller:null});return}if(U.has(ye))return;let N=xa(Y,Se.path),D=new AbortController,ce=el(c,Se.path,D.signal),fe=null;if(M.has(ye))M.delete(ye),fe=nl(o,u,ce,Y,N,x,a);else if(X)E&&(fe=nl(o,u,ce,Y,N,x,a));else{let de;typeof we=="boolean"?de=we:ke?de=!1:de=E;let ve={..._e,defaultShouldRevalidate:de};Xl(N,ve)&&(fe=nl(o,u,ce,Y,N,x,a,ve))}fe&&ze.push({key:ye,routeId:Se.routeId,path:Se.path,matches:fe,match:N,request:ce,controller:D})}),{dsMatches:$e,revalidatingFetchers:ze}}function js(l){return l.loader!=null||l.middleware!=null&&l.middleware.length>0}function vs(l,a,o){if(l.lazy)return!0;if(!js(l))return!1;let u=a!=null&&l.id in a,c=o!=null&&o[l.id]!==void 0;return!u&&c?!1:typeof l.loader=="function"&&l.loader.hydrate===!0?!0:!u&&!c}function om(l,a,o){let u=!a||o.route.id!==a.route.id,c=!l.hasOwnProperty(o.route.id);return u||c}function sm(l,a){let o=l.route.path;return l.pathname!==a.pathname||o!=null&&o.endsWith("*")&&l.params["*"]!==a.params["*"]}function Xl(l,a){if(l.route.shouldRevalidate){let o=l.route.shouldRevalidate(a);if(typeof o=="boolean")return o}return a.defaultShouldRevalidate}function kd(l,a,o,u,c,d){let p;if(l){let x=u[l];je(x,`No route found to patch children into: routeId = ${l}`),x.children||(x.children=[]),p=x.children}else p=o;let m=[],y=[];if(a.forEach(x=>{let j=p.find(E=>nf(x,E));j?y.push({existingRoute:j,newRoute:x}):m.push(x)}),m.length>0){let x=ei(m,c,[l||"_","patch",String((p==null?void 0:p.length)||"0")],u);p.push(...x)}if(d&&y.length>0)for(let x=0;x<y.length;x++){let{existingRoute:j,newRoute:E}=y[x],M=j,[T]=ei([E],c,[],{},!0);Object.assign(M,{element:T.element?T.element:M.element,errorElement:T.errorElement?T.errorElement:M.errorElement,hydrateFallbackElement:T.hydrateFallbackElement?T.hydrateFallbackElement:M.hydrateFallbackElement})}}function nf(l,a){return"id"in l&&"id"in a&&l.id===a.id?!0:l.index===a.index&&l.path===a.path&&l.caseSensitive===a.caseSensitive?(!l.children||l.children.length===0)&&(!a.children||a.children.length===0)?!0:l.children.every((o,u)=>{var c;return(c=a.children)==null?void 0:c.some(d=>nf(o,d))}):!1}var Ed=new WeakMap,lf=({key:l,route:a,manifest:o,mapRouteProperties:u})=>{let c=o[a.id];if(je(c,"No route found in manifest"),!c.lazy||typeof c.lazy!="object")return;let d=c.lazy[l];if(!d)return;let p=Ed.get(c);p||(p={},Ed.set(c,p));let m=p[l];if(m)return m;let y=(async()=>{let x=jp(l),E=c[l]!==void 0&&l!=="hasErrorBoundary";if(x)tt(!x,"Route property "+l+" is not a supported lazy route property. This property will be ignored."),p[l]=Promise.resolve();else if(E)tt(!1,`Route "${c.id}" has a static property "${l}" defined. The lazy property will be ignored.`);else{let M=await d();M!=null&&(Object.assign(c,{[l]:M}),Object.assign(c,u(c)))}typeof c.lazy=="object"&&(c.lazy[l]=void 0,Object.values(c.lazy).every(M=>M===void 0)&&(c.lazy=void 0))})();return p[l]=y,y},jd=new WeakMap;function um(l,a,o,u,c){let d=o[l.id];if(je(d,"No route found in manifest"),!l.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof l.lazy=="function"){let j=jd.get(d);if(j)return{lazyRoutePromise:j,lazyHandlerPromise:j};let E=(async()=>{je(typeof l.lazy=="function","No lazy route function found");let M=await l.lazy(),T={};for(let b in M){let U=M[b];if(U===void 0)continue;let A=Rp(b),B=d[b]!==void 0&&b!=="hasErrorBoundary";A?tt(!A,"Route property "+b+" is not a supported property to be returned from a lazy route function. This property will be ignored."):B?tt(!B,`Route "${d.id}" has a static property "${b}" defined but its lazy function is also returning a value for this property. The lazy route property "${b}" will be ignored.`):T[b]=U}Object.assign(d,T),Object.assign(d,{...u(d),lazy:void 0})})();return jd.set(d,E),E.catch(()=>{}),{lazyRoutePromise:E,lazyHandlerPromise:E}}let p=Object.keys(l.lazy),m=[],y;for(let j of p){if(c&&c.includes(j))continue;let E=lf({key:j,route:l,manifest:o,mapRouteProperties:u});E&&(m.push(E),j===a&&(y=E))}let x=m.length>0?Promise.all(m).then(()=>{}):void 0;return x==null||x.catch(()=>{}),y==null||y.catch(()=>{}),{lazyRoutePromise:x,lazyHandlerPromise:y}}async function Cd(l){let a=l.matches.filter(c=>c.shouldLoad),o={};return(await Promise.all(a.map(c=>c.resolve()))).forEach((c,d)=>{o[a[d].route.id]=c}),o}async function cm(l){return l.matches.some(a=>a.route.middleware)?af(l,()=>Cd(l)):Cd(l)}function af(l,a){return dm(l,a,u=>{if(Em(u))throw u;return u},wm,o);function o(u,c,d){if(d)return Promise.resolve(Object.assign(d.value,{[c]:{type:"error",result:u}}));{let{matches:p}=l,m=Math.min(Math.max(p.findIndex(x=>x.route.id===c),0),Math.max(p.findIndex(x=>x.shouldCallHandler()),0)),y=Xr(p,p[m].route.id).route.id;return Promise.resolve({[y]:{type:"error",result:u}})}}}async function dm(l,a,o,u,c){let{matches:d,request:p,params:m,context:y,unstable_pattern:x}=l,j=d.flatMap(M=>M.route.middleware?M.route.middleware.map(T=>[M.route.id,T]):[]);return await of({request:p,params:m,context:y,unstable_pattern:x},j,a,o,u,c)}async function of(l,a,o,u,c,d,p=0){let{request:m}=l;if(m.signal.aborted)throw m.signal.reason??new Error(`Request aborted: ${m.method} ${m.url}`);let y=a[p];if(!y)return await o();let[x,j]=y,E,M=async()=>{if(E)throw new Error("You may only call `next()` once per middleware");try{return E={value:await of(l,a,o,u,c,d,p+1)},E.value}catch(T){return E={value:await d(T,x,E)},E.value}};try{let T=await j(l,M),b=T!=null?u(T):void 0;return c(b)?b:E?b??E.value:(E={value:await M()},E.value)}catch(T){return await d(T,x,E)}}function sf(l,a,o,u,c){let d=lf({key:"middleware",route:u.route,manifest:a,mapRouteProperties:l}),p=um(u.route,gt(o.method)?"action":"loader",a,l,c);return{middleware:d,route:p.lazyRoutePromise,handler:p.lazyHandlerPromise}}function xs(l,a,o,u,c,d,p,m,y=null,x){let j=!1,E=sf(l,a,o,c,d);return{...c,_lazyPromises:E,shouldLoad:m,shouldRevalidateArgs:y,shouldCallHandler(M){return j=!0,y?typeof x=="boolean"?Xl(c,{...y,defaultShouldRevalidate:x}):typeof M=="boolean"?Xl(c,{...y,defaultShouldRevalidate:M}):Xl(c,y):m},resolve(M){let{lazy:T,loader:b,middleware:U}=c.route,A=j||m||M&&!gt(o.method)&&(T||b),G=U&&U.length>0&&!b&&!T;return A&&(gt(o.method)||!G)?hm({request:o,unstable_pattern:u,match:c,lazyHandlerPromise:E==null?void 0:E.handler,lazyRoutePromise:E==null?void 0:E.route,handlerOverride:M,scopedContext:p}):Promise.resolve({type:"data",result:void 0})}}}function nl(l,a,o,u,c,d,p,m=null){return u.map(y=>y.route.id!==c.route.id?{...y,shouldLoad:!1,shouldRevalidateArgs:m,shouldCallHandler:()=>!1,_lazyPromises:sf(l,a,o,y,d),resolve:()=>Promise.resolve({type:"data",result:void 0})}:xs(l,a,o,ni(u),y,d,p,!0,m))}async function fm(l,a,o,u,c,d){o.some(x=>{var j;return(j=x._lazyPromises)==null?void 0:j.middleware})&&await Promise.all(o.map(x=>{var j;return(j=x._lazyPromises)==null?void 0:j.middleware}));let p={request:a,unstable_pattern:ni(o),params:o[0].params,context:c,matches:o},y=await l({...p,fetcherKey:u,runClientMiddleware:x=>{let j=p;return af(j,()=>x({...j,fetcherKey:u,runClientMiddleware:()=>{throw new Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))}});try{await Promise.all(o.flatMap(x=>{var j,E;return[(j=x._lazyPromises)==null?void 0:j.handler,(E=x._lazyPromises)==null?void 0:E.route]}))}catch{}return y}async function hm({request:l,unstable_pattern:a,match:o,lazyHandlerPromise:u,lazyRoutePromise:c,handlerOverride:d,scopedContext:p}){let m,y,x=gt(l.method),j=x?"action":"loader",E=M=>{let T,b=new Promise((G,B)=>T=B);y=()=>T(),l.signal.addEventListener("abort",y);let U=G=>typeof M!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${j}" [routeId: ${o.route.id}]`)):M({request:l,unstable_pattern:a,params:o.params,context:p},...G!==void 0?[G]:[]),A=(async()=>{try{return{type:"data",result:await(d?d(B=>U(B)):U())}}catch(G){return{type:"error",result:G}}})();return Promise.race([A,b])};try{let M=x?o.route.action:o.route.loader;if(u||c)if(M){let T,[b]=await Promise.all([E(M).catch(U=>{T=U}),u,c]);if(T!==void 0)throw T;m=b}else{await u;let T=x?o.route.action:o.route.loader;if(T)[m]=await Promise.all([E(T),c]);else if(j==="action"){let b=new URL(l.url),U=b.pathname+b.search;throw Bt(405,{method:l.method,pathname:U,routeId:o.route.id})}else return{type:"data",result:void 0}}else if(M)m=await E(M);else{let T=new URL(l.url),b=T.pathname+T.search;throw Bt(404,{pathname:b})}}catch(M){return{type:"error",result:M}}finally{y&&l.signal.removeEventListener("abort",y)}return m}async function pm(l){let a=l.headers.get("Content-Type");return a&&/\bapplication\/json\b/.test(a)?l.body==null?null:l.json():l.text()}async function mm(l){var u,c,d,p,m;let{result:a,type:o}=l;if(Cs(a)){let y;try{y=await pm(a)}catch(x){return{type:"error",error:x}}return o==="error"?{type:"error",error:new ri(a.status,a.statusText,y),statusCode:a.status,headers:a.headers}:{type:"data",data:y,statusCode:a.status,headers:a.headers}}return o==="error"?zd(a)?a.data instanceof Error?{type:"error",error:a.data,statusCode:(u=a.init)==null?void 0:u.status,headers:(c=a.init)!=null&&c.headers?new Headers(a.init.headers):void 0}:{type:"error",error:xm(a),statusCode:ti(a)?a.status:void 0,headers:(d=a.init)!=null&&d.headers?new Headers(a.init.headers):void 0}:{type:"error",error:a,statusCode:ti(a)?a.status:void 0}:zd(a)?{type:"data",data:a.data,statusCode:(p=a.init)==null?void 0:p.status,headers:(m=a.init)!=null&&m.headers?new Headers(a.init.headers):void 0}:{type:"data",data:a}}function gm(l,a,o,u,c){let d=l.headers.get("Location");if(je(d,"Redirects returned/thrown from loaders/actions must have a Location header"),!Ns(d)){let p=u.slice(0,u.findIndex(m=>m.route.id===o)+1);d=ys(new URL(a.url),p,c,d),l.headers.set("Location",d)}return l}function Rd(l,a,o,u){let c=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];if(Ns(l)){let d=l,p=d.startsWith("//")?new URL(a.protocol+d):new URL(d);if(c.includes(p.protocol))throw new Error("Invalid redirect location");let m=Vt(p.pathname,o)!=null;if(p.origin===a.origin&&m)return p.pathname+p.search+p.hash}try{let d=u.createURL(l);if(c.includes(d.protocol))throw new Error("Invalid redirect location")}catch{}return l}function el(l,a,o,u){let c=l.createURL(uf(a)).toString(),d={signal:o};if(u&&gt(u.formMethod)){let{formMethod:p,formEncType:m}=u;d.method=p.toUpperCase(),m==="application/json"?(d.headers=new Headers({"Content-Type":m}),d.body=JSON.stringify(u.json)):m==="text/plain"?d.body=u.text:m==="application/x-www-form-urlencoded"&&u.formData?d.body=ws(u.formData):d.body=u.formData}return new Request(c,d)}function ws(l){let a=new URLSearchParams;for(let[o,u]of l.entries())a.append(o,typeof u=="string"?u:u.name);return a}function Pd(l){let a=new FormData;for(let[o,u]of l.entries())a.append(o,u);return a}function ym(l,a,o,u=!1,c=!1){let d={},p=null,m,y=!1,x={},j=o&&Dt(o[1])?o[1].error:void 0;return l.forEach(E=>{if(!(E.route.id in a))return;let M=E.route.id,T=a[M];if(je(!kn(T),"Cannot handle redirect results in processLoaderData"),Dt(T)){let b=T.error;if(j!==void 0&&(b=j,j=void 0),p=p||{},c)p[M]=b;else{let U=Xr(l,M);p[U.route.id]==null&&(p[U.route.id]=b)}u||(d[M]=rf),y||(y=!0,m=ti(T.error)?T.error.status:500),T.headers&&(x[M]=T.headers)}else d[M]=T.data,T.statusCode&&T.statusCode!==200&&!y&&(m=T.statusCode),T.headers&&(x[M]=T.headers)}),j!==void 0&&o&&(p={[o[0]]:j},o[2]&&(d[o[2]]=void 0)),{loaderData:d,errors:p,statusCode:m||200,loaderHeaders:x}}function _d(l,a,o,u,c,d){let{loaderData:p,errors:m}=ym(a,o,u);return c.filter(y=>!y.matches||y.matches.some(x=>x.shouldLoad)).forEach(y=>{let{key:x,match:j,controller:E}=y;if(E&&E.signal.aborted)return;let M=d[x];if(je(M,"Did not find corresponding fetcher result"),Dt(M)){let T=Xr(l.matches,j==null?void 0:j.route.id);m&&m[T.route.id]||(m={...m,[T.route.id]:M.error}),l.fetchers.delete(x)}else if(kn(M))je(!1,"Unhandled fetcher revalidation redirect");else{let T=kr(M.data);l.fetchers.set(x,T)}}),{loaderData:p,errors:m}}function Md(l,a,o,u){let c=Object.entries(a).filter(([,d])=>d!==rf).reduce((d,[p,m])=>(d[p]=m,d),{});for(let d of o){let p=d.route.id;if(!a.hasOwnProperty(p)&&l.hasOwnProperty(p)&&d.route.loader&&(c[p]=l[p]),u&&u.hasOwnProperty(p))break}return c}function Ld(l){return l?Dt(l[1])?{actionData:{}}:{actionData:{[l[0]]:l[1].data}}:{}}function Xr(l,a){return(a?l.slice(0,l.findIndex(u=>u.route.id===a)+1):[...l]).reverse().find(u=>u.route.hasErrorBoundary===!0)||l[0]}function ga(l){let a=l.length===1?l[0]:l.find(o=>o.index||!o.path||o.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:a}],route:a}}function Bt(l,{pathname:a,routeId:o,method:u,type:c,message:d}={}){let p="Unknown Server Error",m="Unknown @remix-run/router error";return l===400?(p="Bad Request",u&&a&&o?m=`You made a ${u} request to "${a}" but did not provide a \`loader\` for route "${o}", so there is no way to handle the request.`:c==="invalid-body"&&(m="Unable to encode submission body")):l===403?(p="Forbidden",m=`Route "${o}" does not match URL "${a}"`):l===404?(p="Not Found",m=`No route matches URL "${a}"`):l===405&&(p="Method Not Allowed",u&&a&&o?m=`You made a ${u.toUpperCase()} request to "${a}" but did not provide an \`action\` for route "${o}", so there is no way to handle the request.`:u&&(m=`Invalid request method "${u.toUpperCase()}"`)),new ri(l||500,p,new Error(m),!0)}function ya(l){let a=Object.entries(l);for(let o=a.length-1;o>=0;o--){let[u,c]=a[o];if(kn(c))return{key:u,result:c}}}function uf(l){let a=typeof l=="string"?qr(l):l;return ur({...a,hash:""})}function vm(l,a){return l.pathname!==a.pathname||l.search!==a.search?!1:l.hash===""?a.hash!=="":l.hash===a.hash?!0:a.hash!==""}function xm(l){var a,o;return new ri(((a=l.init)==null?void 0:a.status)??500,((o=l.init)==null?void 0:o.statusText)??"Internal Server Error",l.data)}function wm(l){return l!=null&&typeof l=="object"&&Object.entries(l).every(([a,o])=>typeof a=="string"&&Sm(o))}function Sm(l){return l!=null&&typeof l=="object"&&"type"in l&&"result"in l&&(l.type==="data"||l.type==="error")}function Nm(l){return Cs(l.result)&&ef.has(l.result.status)}function Dt(l){return l.type==="error"}function kn(l){return(l&&l.type)==="redirect"}function zd(l){return typeof l=="object"&&l!=null&&"type"in l&&"data"in l&&"init"in l&&l.type==="DataWithResponseInit"}function Cs(l){return l!=null&&typeof l.status=="number"&&typeof l.statusText=="string"&&typeof l.headers=="object"&&typeof l.body<"u"}function km(l){return ef.has(l)}function Em(l){return Cs(l)&&km(l.status)&&l.headers.has("Location")}function jm(l){return tm.has(l.toUpperCase())}function gt(l){return qp.has(l.toUpperCase())}function Rs(l){return new URLSearchParams(l).getAll("index").some(a=>a==="")}function xa(l,a){let o=typeof a=="string"?qr(a).search:a.search;if(l[l.length-1].route.index&&Rs(o||""))return l[l.length-1];let u=Kd(l);return u[u.length-1]}function Td(l){let{formMethod:a,formAction:o,formEncType:u,text:c,formData:d,json:p}=l;if(!(!a||!o||!u)){if(c!=null)return{formMethod:a,formAction:o,formEncType:u,formData:void 0,json:void 0,text:c};if(d!=null)return{formMethod:a,formAction:o,formEncType:u,formData:d,json:void 0,text:void 0};if(p!==void 0)return{formMethod:a,formAction:o,formEncType:u,formData:void 0,json:p,text:void 0}}}function ps(l,a){return a?{state:"loading",location:l,formMethod:a.formMethod,formAction:a.formAction,formEncType:a.formEncType,formData:a.formData,json:a.json,text:a.text}:{state:"loading",location:l,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Cm(l,a){return{state:"submitting",location:l,formMethod:a.formMethod,formAction:a.formAction,formEncType:a.formEncType,formData:a.formData,json:a.json,text:a.text}}function Ql(l,a){return l?{state:"loading",formMethod:l.formMethod,formAction:l.formAction,formEncType:l.formEncType,formData:l.formData,json:l.json,text:l.text,data:a}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:a}}function Rm(l,a){return{state:"submitting",formMethod:l.formMethod,formAction:l.formAction,formEncType:l.formEncType,formData:l.formData,json:l.json,text:l.text,data:a?a.data:void 0}}function kr(l){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:l}}function Pm(l,a){try{let o=l.sessionStorage.getItem(tf);if(o){let u=JSON.parse(o);for(let[c,d]of Object.entries(u||{}))d&&Array.isArray(d)&&a.set(c,new Set(d||[]))}}catch{}}function _m(l,a){if(a.size>0){let o={};for(let[u,c]of a)o[u]=[...c];try{l.sessionStorage.setItem(tf,JSON.stringify(o))}catch(u){tt(!1,`Failed to save applied view transitions in sessionStorage (${u}).`)}}}function Dd(){let l,a,o=new Promise((u,c)=>{l=async d=>{u(d);try{await o}catch{}},a=async d=>{c(d);try{await o}catch{}}});return{promise:o,resolve:l,reject:a}}var jn=_.createContext(null);jn.displayName="DataRouter";var li=_.createContext(null);li.displayName="DataRouterState";var cf=_.createContext(!1);function Mm(){return _.useContext(cf)}var Ps=_.createContext({isTransitioning:!1});Ps.displayName="ViewTransition";var df=_.createContext(new Map);df.displayName="Fetchers";var Lm=_.createContext(null);Lm.displayName="Await";var Yt=_.createContext(null);Yt.displayName="Navigation";var Ea=_.createContext(null);Ea.displayName="Location";var cr=_.createContext({outlet:null,matches:[],isDataRoute:!1});cr.displayName="Route";var _s=_.createContext(null);_s.displayName="RouteError";var ff="REACT_ROUTER_ERROR",zm="REDIRECT",Tm="ROUTE_ERROR_RESPONSE";function Dm(l){if(l.startsWith(`${ff}:${zm}:{`))try{let a=JSON.parse(l.slice(28));if(typeof a=="object"&&a&&typeof a.status=="number"&&typeof a.statusText=="string"&&typeof a.location=="string"&&typeof a.reloadDocument=="boolean"&&typeof a.replace=="boolean")return a}catch{}}function Om(l){if(l.startsWith(`${ff}:${Tm}:{`))try{let a=JSON.parse(l.slice(40));if(typeof a=="object"&&a&&typeof a.status=="number"&&typeof a.statusText=="string")return new ri(a.status,a.statusText,a.data)}catch{}}function Fm(l,{relative:a}={}){je(ii(),"useHref() may be used only in the context of a <Router> component.");let{basename:o,navigator:u}=_.useContext(Yt),{hash:c,pathname:d,search:p}=ai(l,{relative:a}),m=d;return o!=="/"&&(m=d==="/"?o:sr([o,d])),u.createHref({pathname:m,search:p,hash:c})}function ii(){return _.useContext(Ea)!=null}function en(){return je(ii(),"useLocation() may be used only in the context of a <Router> component."),_.useContext(Ea).location}var hf="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function pf(l){_.useContext(Yt).static||_.useLayoutEffect(l)}function Im(){let{isDataRoute:l}=_.useContext(cr);return l?Zm():Hm()}function Hm(){je(ii(),"useNavigate() may be used only in the context of a <Router> component.");let l=_.useContext(jn),{basename:a,navigator:o}=_.useContext(Yt),{matches:u}=_.useContext(cr),{pathname:c}=en(),d=JSON.stringify(ks(u)),p=_.useRef(!1);return pf(()=>{p.current=!0}),_.useCallback((y,x={})=>{if(tt(p.current,hf),!p.current)return;if(typeof y=="number"){o.go(y);return}let j=Es(y,JSON.parse(d),c,x.relative==="path");l==null&&a!=="/"&&(j.pathname=j.pathname==="/"?a:sr([a,j.pathname])),(x.replace?o.replace:o.push)(j,x.state,x)},[a,o,d,c,l])}var Um=_.createContext(null);function Am(l){let a=_.useContext(cr).outlet;return _.useMemo(()=>a&&_.createElement(Um.Provider,{value:l},a),[a,l])}function ai(l,{relative:a}={}){let{matches:o}=_.useContext(cr),{pathname:u}=en(),c=JSON.stringify(ks(o));return _.useMemo(()=>Es(l,JSON.parse(c),u,a==="path"),[l,c,u,a])}function $m(l,a,o,u,c){je(ii(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:d}=_.useContext(Yt),{matches:p}=_.useContext(cr),m=p[p.length-1],y=m?m.params:{},x=m?m.pathname:"/",j=m?m.pathnameBase:"/",E=m&&m.route;{let B=E&&E.path||"";gf(x,!E||B.endsWith("*")||B.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${x}" (under <Route path="${B}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
Please change the parent <Route path="${B}"> to <Route path="${B==="/"?"*":`${B}/*`}">.`)}let M=en(),T;T=M;let b=T.pathname||"/",U=b;if(j!=="/"){let B=j.replace(/^\//,"").split("/");U="/"+b.replace(/^\//,"").split("/").slice(B.length).join("/")}let A=Jr(l,{pathname:U});return tt(E||A!=null,`No routes matched location "${T.pathname}${T.search}${T.hash}" `),tt(A==null||A[A.length-1].route.element!==void 0||A[A.length-1].route.Component!==void 0||A[A.length-1].route.lazy!==void 0,`Matched leaf route at location "${T.pathname}${T.search}${T.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`),Ym(A&&A.map(B=>Object.assign({},B,{params:Object.assign({},y,B.params),pathname:sr([j,d.encodeLocation?d.encodeLocation(B.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:B.pathname]),pathnameBase:B.pathnameBase==="/"?j:sr([j,d.encodeLocation?d.encodeLocation(B.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:B.pathnameBase])})),p,o,u,c)}function bm(){let l=Xm(),a=ti(l)?`${l.status} ${l.statusText}`:l instanceof Error?l.message:JSON.stringify(l),o=l instanceof Error?l.stack:null,u="rgba(200,200,200, 0.5)",c={padding:"0.5rem",backgroundColor:u},d={padding:"2px 4px",backgroundColor:u},p=null;return console.error("Error handled by React Router default ErrorBoundary:",l),p=_.createElement(_.Fragment,null,_.createElement("p",null,"💿 Hey developer 👋"),_.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",_.createElement("code",{style:d},"ErrorBoundary")," or"," ",_.createElement("code",{style:d},"errorElement")," prop on your route.")),_.createElement(_.Fragment,null,_.createElement("h2",null,"Unexpected Application Error!"),_.createElement("h3",{style:{fontStyle:"italic"}},a),o?_.createElement("pre",{style:c},o):null,p)}var Wm=_.createElement(bm,null),mf=class extends _.Component{constructor(l){super(l),this.state={location:l.location,revalidation:l.revalidation,error:l.error}}static getDerivedStateFromError(l){return{error:l}}static getDerivedStateFromProps(l,a){return a.location!==l.location||a.revalidation!=="idle"&&l.revalidation==="idle"?{error:l.error,location:l.location,revalidation:l.revalidation}:{error:l.error!==void 0?l.error:a.error,location:a.location,revalidation:l.revalidation||a.revalidation}}componentDidCatch(l,a){this.props.onError?this.props.onError(l,a):console.error("React Router caught the following error during render",l)}render(){let l=this.state.error;if(this.context&&typeof l=="object"&&l&&"digest"in l&&typeof l.digest=="string"){const o=Om(l.digest);o&&(l=o)}let a=l!==void 0?_.createElement(cr.Provider,{value:this.props.routeContext},_.createElement(_s.Provider,{value:l,children:this.props.component})):this.props.children;return this.context?_.createElement(Bm,{error:l},a):a}};mf.contextType=cf;var ms=new WeakMap;function Bm({children:l,error:a}){let{basename:o}=_.useContext(Yt);if(typeof a=="object"&&a&&"digest"in a&&typeof a.digest=="string"){let u=Dm(a.digest);if(u){let c=ms.get(a);if(c)throw c;let d=Xd(u.location,o);if(Jd&&!ms.get(a))if(d.isExternal||u.reloadDocument)window.location.href=d.absoluteURL||d.to;else{const p=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(d.to,{replace:u.replace}));throw ms.set(a,p),p}return _.createElement("meta",{httpEquiv:"refresh",content:`0;url=${d.absoluteURL||d.to}`})}}return l}function Vm({routeContext:l,match:a,children:o}){let u=_.useContext(jn);return u&&u.static&&u.staticContext&&(a.route.errorElement||a.route.ErrorBoundary)&&(u.staticContext._deepestRenderedBoundaryId=a.route.id),_.createElement(cr.Provider,{value:l},o)}function Ym(l,a=[],o=null,u=null,c=null){if(l==null){if(!o)return null;if(o.errors)l=o.matches;else if(a.length===0&&!o.initialized&&o.matches.length>0)l=o.matches;else return null}let d=l,p=o==null?void 0:o.errors;if(p!=null){let j=d.findIndex(E=>E.route.id&&(p==null?void 0:p[E.route.id])!==void 0);je(j>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(p).join(",")}`),d=d.slice(0,Math.min(d.length,j+1))}let m=!1,y=-1;if(o)for(let j=0;j<d.length;j++){let E=d[j];if((E.route.HydrateFallback||E.route.hydrateFallbackElement)&&(y=j),E.route.id){let{loaderData:M,errors:T}=o,b=E.route.loader&&!M.hasOwnProperty(E.route.id)&&(!T||T[E.route.id]===void 0);if(E.route.lazy||b){m=!0,y>=0?d=d.slice(0,y+1):d=[d[0]];break}}}let x=o&&u?(j,E)=>{var M,T;u(j,{location:o.location,params:((T=(M=o.matches)==null?void 0:M[0])==null?void 0:T.params)??{},unstable_pattern:ni(o.matches),errorInfo:E})}:void 0;return d.reduceRight((j,E,M)=>{let T,b=!1,U=null,A=null;o&&(T=p&&E.route.id?p[E.route.id]:void 0,U=E.route.errorElement||Wm,m&&(y<0&&M===0?(gf("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),b=!0,A=null):y===M&&(b=!0,A=E.route.hydrateFallbackElement||null)));let G=a.concat(d.slice(0,M+1)),B=()=>{let re;return T?re=U:b?re=A:E.route.Component?re=_.createElement(E.route.Component,null):E.route.element?re=E.route.element:re=j,_.createElement(Vm,{match:E,routeContext:{outlet:j,matches:G,isDataRoute:o!=null},children:re})};return o&&(E.route.ErrorBoundary||E.route.errorElement||M===0)?_.createElement(mf,{location:o.location,revalidation:o.revalidation,component:U,error:T,children:B(),routeContext:{outlet:null,matches:G,isDataRoute:!0},onError:x}):B()},null)}function Ms(l){return`${l} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Qm(l){let a=_.useContext(jn);return je(a,Ms(l)),a}function Gm(l){let a=_.useContext(li);return je(a,Ms(l)),a}function Km(l){let a=_.useContext(cr);return je(a,Ms(l)),a}function Ls(l){let a=Km(l),o=a.matches[a.matches.length-1];return je(o.route.id,`${l} can only be used on routes that contain a unique "id"`),o.route.id}function Jm(){return Ls("useRouteId")}function Xm(){var u;let l=_.useContext(_s),a=Gm("useRouteError"),o=Ls("useRouteError");return l!==void 0?l:(u=a.errors)==null?void 0:u[o]}function Zm(){let{router:l}=Qm("useNavigate"),a=Ls("useNavigate"),o=_.useRef(!1);return pf(()=>{o.current=!0}),_.useCallback(async(c,d={})=>{tt(o.current,hf),o.current&&(typeof c=="number"?await l.navigate(c):await l.navigate(c,{fromRouteId:a,...d}))},[l,a])}var Od={};function gf(l,a,o){!a&&!Od[l]&&(Od[l]=!0,tt(!1,o))}var Fd={};function Id(l,a){!l&&!Fd[a]&&(Fd[a]=!0,console.warn(a))}var qm="useOptimistic",Hd=vp[qm],eg=()=>{};function tg(l){return Hd?Hd(l):[l,eg]}function rg(l){let a={hasErrorBoundary:l.hasErrorBoundary||l.ErrorBoundary!=null||l.errorElement!=null};return l.Component&&(l.element&&tt(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(a,{element:_.createElement(l.Component),Component:void 0})),l.HydrateFallback&&(l.hydrateFallbackElement&&tt(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(a,{hydrateFallbackElement:_.createElement(l.HydrateFallback),HydrateFallback:void 0})),l.ErrorBoundary&&(l.errorElement&&tt(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(a,{errorElement:_.createElement(l.ErrorBoundary),ErrorBoundary:void 0})),a}var ng=["HydrateFallback","hydrateFallbackElement"],lg=class{constructor(){this.status="pending",this.promise=new Promise((l,a)=>{this.resolve=o=>{this.status==="pending"&&(this.status="resolved",l(o))},this.reject=o=>{this.status==="pending"&&(this.status="rejected",a(o))}})}};function ig({router:l,flushSync:a,onError:o,unstable_useTransitions:u}){u=Mm()||u;let[d,p]=_.useState(l.state),[m,y]=tg(d),[x,j]=_.useState(),[E,M]=_.useState({isTransitioning:!1}),[T,b]=_.useState(),[U,A]=_.useState(),[G,B]=_.useState(),re=_.useRef(new Map),we=_.useCallback((ae,{deletedFetchers:he,newErrors:ke,flushSync:_e,viewTransitionOpts:Oe})=>{ke&&o&&Object.values(ke).forEach(ze=>{var Be;return o(ze,{location:ae.location,params:((Be=ae.matches[0])==null?void 0:Be.params)??{},unstable_pattern:ni(ae.matches)})}),ae.fetchers.forEach((ze,Be)=>{ze.data!==void 0&&re.current.set(Be,ze.data)}),he.forEach(ze=>re.current.delete(ze)),Id(_e===!1||a!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let $e=l.window!=null&&l.window.document!=null&&typeof l.window.document.startViewTransition=="function";if(Id(Oe==null||$e,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!Oe||!$e){a&&_e?a(()=>p(ae)):u===!1?p(ae):_.startTransition(()=>{u===!0&&y(ze=>Ud(ze,ae)),p(ae)});return}if(a&&_e){a(()=>{U&&(T==null||T.resolve(),U.skipTransition()),M({isTransitioning:!0,flushSync:!0,currentLocation:Oe.currentLocation,nextLocation:Oe.nextLocation})});let ze=l.window.document.startViewTransition(()=>{a(()=>p(ae))});ze.finished.finally(()=>{a(()=>{b(void 0),A(void 0),j(void 0),M({isTransitioning:!1})})}),a(()=>A(ze));return}U?(T==null||T.resolve(),U.skipTransition(),B({state:ae,currentLocation:Oe.currentLocation,nextLocation:Oe.nextLocation})):(j(ae),M({isTransitioning:!0,flushSync:!1,currentLocation:Oe.currentLocation,nextLocation:Oe.nextLocation}))},[l.window,a,U,T,u,y,o]);_.useLayoutEffect(()=>l.subscribe(we),[l,we]),_.useEffect(()=>{E.isTransitioning&&!E.flushSync&&b(new lg)},[E]),_.useEffect(()=>{if(T&&x&&l.window){let ae=x,he=T.promise,ke=l.window.document.startViewTransition(async()=>{u===!1?p(ae):_.startTransition(()=>{u===!0&&y(_e=>Ud(_e,ae)),p(ae)}),await he});ke.finished.finally(()=>{b(void 0),A(void 0),j(void 0),M({isTransitioning:!1})}),A(ke)}},[x,T,l.window,u,y]),_.useEffect(()=>{T&&x&&m.location.key===x.location.key&&T.resolve()},[T,U,m.location,x]),_.useEffect(()=>{!E.isTransitioning&&G&&(j(G.state),M({isTransitioning:!0,flushSync:!1,currentLocation:G.currentLocation,nextLocation:G.nextLocation}),B(void 0))},[E.isTransitioning,G]);let ge=_.useMemo(()=>({createHref:l.createHref,encodeLocation:l.encodeLocation,go:ae=>l.navigate(ae),push:(ae,he,ke)=>l.navigate(ae,{state:he,preventScrollReset:ke==null?void 0:ke.preventScrollReset}),replace:(ae,he,ke)=>l.navigate(ae,{replace:!0,state:he,preventScrollReset:ke==null?void 0:ke.preventScrollReset})}),[l]),Ne=l.basename||"/",z=_.useMemo(()=>({router:l,navigator:ge,static:!1,basename:Ne,onError:o}),[l,ge,Ne,o]);return _.createElement(_.Fragment,null,_.createElement(jn.Provider,{value:z},_.createElement(li.Provider,{value:m},_.createElement(df.Provider,{value:re.current},_.createElement(Ps.Provider,{value:E},_.createElement(ug,{basename:Ne,location:m.location,navigationType:m.historyAction,navigator:ge,unstable_useTransitions:u},_.createElement(ag,{routes:l.routes,future:l.future,state:m,onError:o})))))),null)}function Ud(l,a){return{...l,navigation:a.navigation.state!=="idle"?a.navigation:l.navigation,revalidation:a.revalidation!=="idle"?a.revalidation:l.revalidation,actionData:a.navigation.state!=="submitting"?a.actionData:l.actionData,fetchers:a.fetchers}}var ag=_.memo(og);function og({routes:l,future:a,state:o,onError:u}){return $m(l,void 0,o,u,a)}function sg(l){return Am(l.context)}function ug({basename:l="/",children:a=null,location:o,navigationType:u="POP",navigator:c,static:d=!1,unstable_useTransitions:p}){je(!ii(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let m=l.replace(/^\/*/,"/"),y=_.useMemo(()=>({basename:m,navigator:c,static:d,unstable_useTransitions:p,future:{}}),[m,c,d,p]);typeof o=="string"&&(o=qr(o));let{pathname:x="/",search:j="",hash:E="",state:M=null,key:T="default"}=o,b=_.useMemo(()=>{let U=Vt(x,m);return U==null?null:{location:{pathname:U,search:j,hash:E,state:M,key:T},navigationType:u}},[m,x,j,E,M,T,u]);return tt(b!=null,`<Router basename="${m}"> is not able to match the URL "${x}${j}${E}" because it does not start with the basename, so the <Router> won't render anything.`),b==null?null:_.createElement(Yt.Provider,{value:y},_.createElement(Ea.Provider,{children:a,value:b}))}var wa="get",Sa="application/x-www-form-urlencoded";function ja(l){return typeof HTMLElement<"u"&&l instanceof HTMLElement}function cg(l){return ja(l)&&l.tagName.toLowerCase()==="button"}function dg(l){return ja(l)&&l.tagName.toLowerCase()==="form"}function fg(l){return ja(l)&&l.tagName.toLowerCase()==="input"}function hg(l){return!!(l.metaKey||l.altKey||l.ctrlKey||l.shiftKey)}function pg(l,a){return l.button===0&&(!a||a==="_self")&&!hg(l)}var va=null;function mg(){if(va===null)try{new FormData(document.createElement("form"),0),va=!1}catch{va=!0}return va}var gg=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function gs(l){return l!=null&&!gg.has(l)?(tt(!1,`"${l}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Sa}"`),null):l}function yg(l,a){let o,u,c,d,p;if(dg(l)){let m=l.getAttribute("action");u=m?Vt(m,a):null,o=l.getAttribute("method")||wa,c=gs(l.getAttribute("enctype"))||Sa,d=new FormData(l)}else if(cg(l)||fg(l)&&(l.type==="submit"||l.type==="image")){let m=l.form;if(m==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let y=l.getAttribute("formaction")||m.getAttribute("action");if(u=y?Vt(y,a):null,o=l.getAttribute("formmethod")||m.getAttribute("method")||wa,c=gs(l.getAttribute("formenctype"))||gs(m.getAttribute("enctype"))||Sa,d=new FormData(m,l),!mg()){let{name:x,type:j,value:E}=l;if(j==="image"){let M=x?`${x}.`:"";d.append(`${M}x`,"0"),d.append(`${M}y`,"0")}else x&&d.append(x,E)}}else{if(ja(l))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');o=wa,u=null,c=Sa,p=l}return d&&c==="text/plain"&&(p=d,d=void 0),{action:u,method:o.toLowerCase(),encType:c,formData:d,body:p}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function zs(l,a){if(l===!1||l===null||typeof l>"u")throw new Error(a)}function vg(l,a,o,u){let c=typeof l=="string"?new URL(l,typeof window>"u"?"server://singlefetch/":window.location.origin):l;return o?c.pathname.endsWith("/")?c.pathname=`${c.pathname}_.${u}`:c.pathname=`${c.pathname}.${u}`:c.pathname==="/"?c.pathname=`_root.${u}`:a&&Vt(c.pathname,a)==="/"?c.pathname=`${a.replace(/\/$/,"")}/_root.${u}`:c.pathname=`${c.pathname.replace(/\/$/,"")}.${u}`,c}async function xg(l,a){if(l.id in a)return a[l.id];try{let o=await import(l.module);return a[l.id]=o,o}catch(o){return console.error(`Error loading route module \`${l.module}\`, reloading page...`),console.error(o),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function wg(l){return l==null?!1:l.href==null?l.rel==="preload"&&typeof l.imageSrcSet=="string"&&typeof l.imageSizes=="string":typeof l.rel=="string"&&typeof l.href=="string"}async function Sg(l,a,o){let u=await Promise.all(l.map(async c=>{let d=a.routes[c.route.id];if(d){let p=await xg(d,o);return p.links?p.links():[]}return[]}));return jg(u.flat(1).filter(wg).filter(c=>c.rel==="stylesheet"||c.rel==="preload").map(c=>c.rel==="stylesheet"?{...c,rel:"prefetch",as:"style"}:{...c,rel:"prefetch"}))}function Ad(l,a,o,u,c,d){let p=(y,x)=>o[x]?y.route.id!==o[x].route.id:!0,m=(y,x)=>{var j;return o[x].pathname!==y.pathname||((j=o[x].route.path)==null?void 0:j.endsWith("*"))&&o[x].params["*"]!==y.params["*"]};return d==="assets"?a.filter((y,x)=>p(y,x)||m(y,x)):d==="data"?a.filter((y,x)=>{var E;let j=u.routes[y.route.id];if(!j||!j.hasLoader)return!1;if(p(y,x)||m(y,x))return!0;if(y.route.shouldRevalidate){let M=y.route.shouldRevalidate({currentUrl:new URL(c.pathname+c.search+c.hash,window.origin),currentParams:((E=o[0])==null?void 0:E.params)||{},nextUrl:new URL(l,window.origin),nextParams:y.params,defaultShouldRevalidate:!0});if(typeof M=="boolean")return M}return!0}):[]}function Ng(l,a,{includeHydrateFallback:o}={}){return kg(l.map(u=>{let c=a.routes[u.route.id];if(!c)return[];let d=[c.module];return c.clientActionModule&&(d=d.concat(c.clientActionModule)),c.clientLoaderModule&&(d=d.concat(c.clientLoaderModule)),o&&c.hydrateFallbackModule&&(d=d.concat(c.hydrateFallbackModule)),c.imports&&(d=d.concat(c.imports)),d}).flat(1))}function kg(l){return[...new Set(l)]}function Eg(l){let a={},o=Object.keys(l).sort();for(let u of o)a[u]=l[u];return a}function jg(l,a){let o=new Set;return new Set(a),l.reduce((u,c)=>{let d=JSON.stringify(Eg(c));return o.has(d)||(o.add(d),u.push({key:d,link:c})),u},[])}function yf(){let l=_.useContext(jn);return zs(l,"You must render this element inside a <DataRouterContext.Provider> element"),l}function Cg(){let l=_.useContext(li);return zs(l,"You must render this element inside a <DataRouterStateContext.Provider> element"),l}var Ts=_.createContext(void 0);Ts.displayName="FrameworkContext";function vf(){let l=_.useContext(Ts);return zs(l,"You must render this element inside a <HydratedRouter> element"),l}function Rg(l,a){let o=_.useContext(Ts),[u,c]=_.useState(!1),[d,p]=_.useState(!1),{onFocus:m,onBlur:y,onMouseEnter:x,onMouseLeave:j,onTouchStart:E}=a,M=_.useRef(null);_.useEffect(()=>{if(l==="render"&&p(!0),l==="viewport"){let U=G=>{G.forEach(B=>{p(B.isIntersecting)})},A=new IntersectionObserver(U,{threshold:.5});return M.current&&A.observe(M.current),()=>{A.disconnect()}}},[l]),_.useEffect(()=>{if(u){let U=setTimeout(()=>{p(!0)},100);return()=>{clearTimeout(U)}}},[u]);let T=()=>{c(!0)},b=()=>{c(!1),p(!1)};return o?l!=="intent"?[d,M,{}]:[d,M,{onFocus:Gl(m,T),onBlur:Gl(y,b),onMouseEnter:Gl(x,T),onMouseLeave:Gl(j,b),onTouchStart:Gl(E,T)}]:[!1,M,{}]}function Gl(l,a){return o=>{l&&l(o),o.defaultPrevented||a(o)}}function Pg({page:l,...a}){let{router:o}=yf(),u=_.useMemo(()=>Jr(o.routes,l,o.basename),[o.routes,l,o.basename]);return u?_.createElement(Mg,{page:l,matches:u,...a}):null}function _g(l){let{manifest:a,routeModules:o}=vf(),[u,c]=_.useState([]);return _.useEffect(()=>{let d=!1;return Sg(l,a,o).then(p=>{d||c(p)}),()=>{d=!0}},[l,a,o]),u}function Mg({page:l,matches:a,...o}){let u=en(),{future:c,manifest:d,routeModules:p}=vf(),{basename:m}=yf(),{loaderData:y,matches:x}=Cg(),j=_.useMemo(()=>Ad(l,a,x,d,u,"data"),[l,a,x,d,u]),E=_.useMemo(()=>Ad(l,a,x,d,u,"assets"),[l,a,x,d,u]),M=_.useMemo(()=>{if(l===u.pathname+u.search+u.hash)return[];let U=new Set,A=!1;if(a.forEach(B=>{var we;let re=d.routes[B.route.id];!re||!re.hasLoader||(!j.some(ge=>ge.route.id===B.route.id)&&B.route.id in y&&((we=p[B.route.id])!=null&&we.shouldRevalidate)||re.hasClientLoader?A=!0:U.add(B.route.id))}),U.size===0)return[];let G=vg(l,m,c.unstable_trailingSlashAwareDataRequests,"data");return A&&U.size>0&&G.searchParams.set("_routes",a.filter(B=>U.has(B.route.id)).map(B=>B.route.id).join(",")),[G.pathname+G.search]},[m,c.unstable_trailingSlashAwareDataRequests,y,u,d,j,a,l,p]),T=_.useMemo(()=>Ng(E,d),[E,d]),b=_g(E);return _.createElement(_.Fragment,null,M.map(U=>_.createElement("link",{key:U,rel:"prefetch",as:"fetch",href:U,...o})),T.map(U=>_.createElement("link",{key:U,rel:"modulepreload",href:U,...o})),b.map(({key:U,link:A})=>_.createElement("link",{key:U,nonce:o.nonce,...A,crossOrigin:A.crossOrigin??o.crossOrigin})))}function Lg(...l){return a=>{l.forEach(o=>{typeof o=="function"?o(a):o!=null&&(o.current=a)})}}var zg=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{zg&&(window.__reactRouterVersion="7.13.0")}catch{}function Tg(l,a){return im({basename:a==null?void 0:a.basename,getContext:a==null?void 0:a.getContext,future:a==null?void 0:a.future,history:Sp({window:a==null?void 0:a.window}),hydrationData:Dg(),routes:l,mapRouteProperties:rg,hydrationRouteProperties:ng,dataStrategy:a==null?void 0:a.dataStrategy,patchRoutesOnNavigation:a==null?void 0:a.patchRoutesOnNavigation,window:a==null?void 0:a.window,unstable_instrumentations:a==null?void 0:a.unstable_instrumentations}).initialize()}function Dg(){let l=window==null?void 0:window.__staticRouterHydrationData;return l&&l.errors&&(l={...l,errors:Og(l.errors)}),l}function Og(l){if(!l)return null;let a=Object.entries(l),o={};for(let[u,c]of a)if(c&&c.__type==="RouteErrorResponse")o[u]=new ri(c.status,c.statusText,c.data,c.internal===!0);else if(c&&c.__type==="Error"){if(c.__subType){let d=window[c.__subType];if(typeof d=="function")try{let p=new d(c.message);p.stack="",o[u]=p}catch{}}if(o[u]==null){let d=new Error(c.message);d.stack="",o[u]=d}}else o[u]=c;return o}var xf=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ut=_.forwardRef(function({onClick:a,discover:o="render",prefetch:u="none",relative:c,reloadDocument:d,replace:p,state:m,target:y,to:x,preventScrollReset:j,viewTransition:E,unstable_defaultShouldRevalidate:M,...T},b){let{basename:U,unstable_useTransitions:A}=_.useContext(Yt),G=typeof x=="string"&&xf.test(x),B=Xd(x,U);x=B.to;let re=Fm(x,{relative:c}),[we,ge,Ne]=Rg(u,T),z=Ug(x,{replace:p,state:m,target:y,preventScrollReset:j,relative:c,viewTransition:E,unstable_defaultShouldRevalidate:M,unstable_useTransitions:A});function ae(ke){a&&a(ke),ke.defaultPrevented||z(ke)}let he=_.createElement("a",{...T,...Ne,href:B.absoluteURL||re,onClick:B.isExternal||d?a:ae,ref:Lg(b,ge),target:y,"data-discover":!G&&o==="render"?"true":void 0});return we&&!G?_.createElement(_.Fragment,null,he,_.createElement(Pg,{page:re})):he});ut.displayName="Link";var Fg=_.forwardRef(function({"aria-current":a="page",caseSensitive:o=!1,className:u="",end:c=!1,style:d,to:p,viewTransition:m,children:y,...x},j){let E=ai(p,{relative:x.relative}),M=en(),T=_.useContext(li),{navigator:b,basename:U}=_.useContext(Yt),A=T!=null&&Bg(E)&&m===!0,G=b.encodeLocation?b.encodeLocation(E).pathname:E.pathname,B=M.pathname,re=T&&T.navigation&&T.navigation.location?T.navigation.location.pathname:null;o||(B=B.toLowerCase(),re=re?re.toLowerCase():null,G=G.toLowerCase()),re&&U&&(re=Vt(re,U)||re);const we=G!=="/"&&G.endsWith("/")?G.length-1:G.length;let ge=B===G||!c&&B.startsWith(G)&&B.charAt(we)==="/",Ne=re!=null&&(re===G||!c&&re.startsWith(G)&&re.charAt(G.length)==="/"),z={isActive:ge,isPending:Ne,isTransitioning:A},ae=ge?a:void 0,he;typeof u=="function"?he=u(z):he=[u,ge?"active":null,Ne?"pending":null,A?"transitioning":null].filter(Boolean).join(" ");let ke=typeof d=="function"?d(z):d;return _.createElement(ut,{...x,"aria-current":ae,className:he,ref:j,style:ke,to:p,viewTransition:m},typeof y=="function"?y(z):y)});Fg.displayName="NavLink";var Ig=_.forwardRef(({discover:l="render",fetcherKey:a,navigate:o,reloadDocument:u,replace:c,state:d,method:p=wa,action:m,onSubmit:y,relative:x,preventScrollReset:j,viewTransition:E,unstable_defaultShouldRevalidate:M,...T},b)=>{let{unstable_useTransitions:U}=_.useContext(Yt),A=bg(),G=Wg(m,{relative:x}),B=p.toLowerCase()==="get"?"get":"post",re=typeof m=="string"&&xf.test(m),we=ge=>{if(y&&y(ge),ge.defaultPrevented)return;ge.preventDefault();let Ne=ge.nativeEvent.submitter,z=(Ne==null?void 0:Ne.getAttribute("formmethod"))||p,ae=()=>A(Ne||ge.currentTarget,{fetcherKey:a,method:z,navigate:o,replace:c,state:d,relative:x,preventScrollReset:j,viewTransition:E,unstable_defaultShouldRevalidate:M});U&&o!==!1?_.startTransition(()=>ae()):ae()};return _.createElement("form",{ref:b,method:B,action:G,onSubmit:u?y:we,...T,"data-discover":!re&&l==="render"?"true":void 0})});Ig.displayName="Form";function Hg(l){return`${l} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function wf(l){let a=_.useContext(jn);return je(a,Hg(l)),a}function Ug(l,{target:a,replace:o,state:u,preventScrollReset:c,relative:d,viewTransition:p,unstable_defaultShouldRevalidate:m,unstable_useTransitions:y}={}){let x=Im(),j=en(),E=ai(l,{relative:d});return _.useCallback(M=>{if(pg(M,a)){M.preventDefault();let T=o!==void 0?o:ur(j)===ur(E),b=()=>x(l,{replace:T,state:u,preventScrollReset:c,relative:d,viewTransition:p,unstable_defaultShouldRevalidate:m});y?_.startTransition(()=>b()):b()}},[j,x,E,o,u,a,l,c,d,p,m,y])}var Ag=0,$g=()=>`__${String(++Ag)}__`;function bg(){let{router:l}=wf("useSubmit"),{basename:a}=_.useContext(Yt),o=Jm(),u=l.fetch,c=l.navigate;return _.useCallback(async(d,p={})=>{let{action:m,method:y,encType:x,formData:j,body:E}=yg(d,a);if(p.navigate===!1){let M=p.fetcherKey||$g();await u(M,o,p.action||m,{unstable_defaultShouldRevalidate:p.unstable_defaultShouldRevalidate,preventScrollReset:p.preventScrollReset,formData:j,body:E,formMethod:p.method||y,formEncType:p.encType||x,flushSync:p.flushSync})}else await c(p.action||m,{unstable_defaultShouldRevalidate:p.unstable_defaultShouldRevalidate,preventScrollReset:p.preventScrollReset,formData:j,body:E,formMethod:p.method||y,formEncType:p.encType||x,replace:p.replace,state:p.state,fromRouteId:o,flushSync:p.flushSync,viewTransition:p.viewTransition})},[u,c,a,o])}function Wg(l,{relative:a}={}){let{basename:o}=_.useContext(Yt),u=_.useContext(cr);je(u,"useFormAction must be used inside a RouteContext");let[c]=u.matches.slice(-1),d={...ai(l||".",{relative:a})},p=en();if(l==null){d.search=p.search;let m=new URLSearchParams(d.search),y=m.getAll("index");if(y.some(j=>j==="")){m.delete("index"),y.filter(E=>E).forEach(E=>m.append("index",E));let j=m.toString();d.search=j?`?${j}`:""}}return(!l||l===".")&&c.route.index&&(d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index"),o!=="/"&&(d.pathname=d.pathname==="/"?o:sr([o,d.pathname])),ur(d)}function Bg(l,{relative:a}={}){let o=_.useContext(Ps);je(o!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:u}=wf("useViewTransitionState"),c=ai(l,{relative:a});if(!o.isTransitioning)return!1;let d=Vt(o.currentLocation.pathname,u)||o.currentLocation.pathname,p=Vt(o.nextLocation.pathname,u)||o.nextLocation.pathname;return Na(c.pathname,p)!=null||Na(c.pathname,d)!=null}/**
* @license lucide-react v0.487.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Vg=l=>l.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Yg=l=>l.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,o,u)=>u?u.toUpperCase():o.toLowerCase()),$d=l=>{const a=Yg(l);return a.charAt(0).toUpperCase()+a.slice(1)},Sf=(...l)=>l.filter((a,o,u)=>!!a&&a.trim()!==""&&u.indexOf(a)===o).join(" ").trim();/**
* @license lucide-react v0.487.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/var Qg={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
* @license lucide-react v0.487.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Gg=_.forwardRef(({color:l="currentColor",size:a=24,strokeWidth:o=2,absoluteStrokeWidth:u,className:c="",children:d,iconNode:p,...m},y)=>_.createElement("svg",{ref:y,...Qg,width:a,height:a,stroke:l,strokeWidth:u?Number(o)*24/Number(a):o,className:Sf("lucide",c),...m},[...p.map(([x,j])=>_.createElement(x,j)),...Array.isArray(d)?d:[d]]));/**
* @license lucide-react v0.487.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Je=(l,a)=>{const o=_.forwardRef(({className:u,...c},d)=>_.createElement(Gg,{ref:d,iconNode:a,className:Sf(`lucide-${Vg($d(l))}`,`lucide-${l}`,u),...c}));return o.displayName=$d(l),o};/**
* @license lucide-react v0.487.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Kg=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],tl=Je("arrow-right",Kg);/**
* @license lucide-react v0.487.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Jg=[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]],Xg=Je("award",Jg);/**
* @license lucide-react v0.487.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Zg=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],En=Je("circle-check-big",Zg);/**
* @license lucide-react v0.487.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qg=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]],Ds=Je("clock",qg);/**
* @license lucide-react v0.487.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ey=[["path",{d:"M12 22a7 7 0 0 0 7-7c0-2-1-3.9-3-5.5s-3.5-4-4-6.5c-.5 2.5-2 4.9-4 6.5C6 11.1 5 13 5 15a7 7 0 0 0 7 7z",key:"c7niix"}]],ty=Je("droplet",ey);/**
* @license lucide-react v0.487.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ry=[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],ny=Je("facebook",ry);/**
* @license lucide-react v0.487.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ly=[["path",{d:"m15 12-8.373 8.373a1 1 0 1 1-3-3L12 9",key:"eefl8a"}],["path",{d:"m18 15 4-4",key:"16gjal"}],["path",{d:"m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172V7l-2.26-2.26a6 6 0 0 0-4.202-1.756L9 2.96l.92.82A6.18 6.18 0 0 1 12 8.4V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5",key:"b7pghm"}]],iy=Je("hammer",ly);/**
* @license lucide-react v0.487.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ay=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]],oy=Je("house",ay);/**
* @license lucide-react v0.487.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sy=[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]],uy=Je("instagram",sy);/**
* @license lucide-react v0.487.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cy=[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]],Nf=Je("mail",cy);/**
* @license lucide-react v0.487.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dy=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],kf=Je("map-pin",dy);/**
* @license lucide-react v0.487.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fy=[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]],hy=Je("menu",fy);/**
* @license lucide-react v0.487.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const py=[["path",{d:"m19 11-8-8-8.6 8.6a2 2 0 0 0 0 2.8l5.2 5.2c.8.8 2 .8 2.8 0L19 11Z",key:"irua1i"}],["path",{d:"m5 2 5 5",key:"1lls2c"}],["path",{d:"M2 13h15",key:"1hkzvu"}],["path",{d:"M22 20a2 2 0 1 1-4 0c0-1.6 1.7-2.4 2-4 .3 1.6 2 2.4 2 4Z",key:"xk76lq"}]],my=Je("paint-bucket",py);/**
* @license lucide-react v0.487.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gy=[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]],ka=Je("phone",gy);/**
* @license lucide-react v0.487.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yy=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],bd=Je("send",yy);/**
* @license lucide-react v0.487.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vy=[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],xy=Je("settings",vy);/**
* @license lucide-react v0.487.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wy=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],Sy=Je("star",wy);/**
* @license lucide-react v0.487.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ny=[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]],ky=Je("twitter",Ny);/**
* @license lucide-react v0.487.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ey=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]],Wd=Je("users",Ey);/**
* @license lucide-react v0.487.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jy=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]],Ef=Je("wrench",jy);/**
* @license lucide-react v0.487.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Cy=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Ry=Je("x",Cy);/**
* @license lucide-react v0.487.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Py=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],_y=Je("zap",Py),My="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iODgiIGhlaWdodD0iODgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBvcGFjaXR5PSIuMyIgZmlsbD0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIzLjciPjxyZWN0IHg9IjE2IiB5PSIxNiIgd2lkdGg9IjU2IiBoZWlnaHQ9IjU2IiByeD0iNiIvPjxwYXRoIGQ9Im0xNiA1OCAxNi0xOCAzMiAzMiIvPjxjaXJjbGUgY3g9IjUzIiBjeT0iMzUiIHI9IjciLz48L3N2Zz4KCg==";function Zl(l){const[a,o]=_.useState(!1),u=()=>{o(!0)},{src:c,alt:d,style:p,className:m,...y}=l;return a?h.jsx("div",{className:`inline-block bg-gray-100 text-center align-middle ${m??""}`,style:p,children:h.jsx("div",{className:"flex items-center justify-center w-full h-full",children:h.jsx("img",{src:My,alt:"Error loading image",...y,"data-original-url":c})})}):h.jsx("img",{src:c,alt:d,className:m,style:p,...y,onError:u})}function Ly(){const l=[{title:"Plumbing",description:"From leaky faucets to pipe repairs, we handle all your plumbing needs.",image:"https://images.unsplash.com/photo-1760571327612-8ab776dcd462?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3Nzg4Nzd8MHwxfHNlYXJjaHwxfHxob21lJTIwcmVwYWlyJTIwcGx1bWJpbmd8ZW58MXx8fHwxNzcxNTE2ODQ2fDA&ixlib=rb-4.1.0&q=80&w=1080&utm_source=figma&utm_medium=referral"},{title:"Electrical",description:"Safe and reliable electrical installations, repairs, and upgrades.",image:"https://images.unsplash.com/photo-1767514536570-83d70c024247?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3Nzg4Nzd8MHwxfHNlYXJjaHwxfHxlbGVjdHJpY2FsJTIwd29yayUyMGluc3RhbGxhdGlvbnxlbnwxfHx8fDE3NzE1OTg3OTh8MA&ixlib=rb-4.1.0&q=80&w=1080&utm_source=figma&utm_medium=referral"},{title:"Painting",description:"Professional painting services for interior and exterior projects.",image:"https://images.unsplash.com/photo-1574359411659-15573a27fd0c?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3Nzg4Nzd8MHwxfHNlYXJjaHwxfHxob3VzZSUyMHBhaW50aW5nJTIwY29udHJhY3RvcnxlbnwxfHx8fDE3NzE1OTg3OTh8MA&ixlib=rb-4.1.0&q=80&w=1080&utm_source=figma&utm_medium=referral"}],a=["Licensed & Insured","Same-Day Service","Quality Workmanship","Affordable Pricing","100% Satisfaction Guarantee","Emergency Services Available"],o=[{name:"Sarah Johnson",text:"Outstanding service! They fixed our plumbing issue quickly and professionally. Highly recommend!",rating:5},{name:"Mike Thompson",text:"ProFix is my go-to for all home repairs. Always reliable, fair pricing, and excellent work.",rating:5},{name:"Emily Davis",text:"They remodeled our bathroom and the results exceeded our expectations. True professionals!",rating:5}];return h.jsxs("div",{children:[h.jsx("section",{className:"relative bg-gradient-to-br from-orange-50 to-orange-100 overflow-hidden",children:h.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-20 lg:py-28",children:h.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[h.jsxs("div",{children:[h.jsxs("h1",{className:"text-4xl md:text-5xl lg:text-6xl mb-6 text-gray-900",children:["Your Trusted ",h.jsx("span",{className:"text-orange-600",children:"Handyman"})," Service"]}),h.jsx("p",{className:"text-xl text-gray-700 mb-8",children:"Professional home repair and maintenance services. From small fixes to major renovations, we do it all with quality and care."}),h.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[h.jsxs(ut,{to:"/contact",className:"inline-flex items-center justify-center bg-orange-600 text-white px-8 py-4 rounded-lg hover:bg-orange-700 transition-colors",children:["Get Free Quote",h.jsx(tl,{className:"ml-2 h-5 w-5"})]}),h.jsxs("a",{href:"tel:5551234567",className:"inline-flex items-center justify-center bg-white text-orange-600 px-8 py-4 rounded-lg border-2 border-orange-600 hover:bg-orange-50 transition-colors",children:[h.jsx(ka,{className:"mr-2 h-5 w-5"}),"(555) 123-4567"]})]})]}),h.jsx("div",{className:"relative",children:h.jsx(Zl,{src:"https://images.unsplash.com/photo-1620838883342-ca19cf8448d6?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3Nzg4Nzd8MHwxfHNlYXJjaHwxfHxwcm9mZXNzaW9uYWwlMjBoYW5keW1hbiUyMHNlcnZpY2V8ZW58MXx8fHwxNzcxNTk4Nzk4fDA&ixlib=rb-4.1.0&q=80&w=1080&utm_source=figma&utm_medium=referral",alt:"Professional handyman at work",className:"rounded-lg shadow-2xl w-full"})})]})})}),h.jsx("section",{className:"py-16 bg-white",children:h.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:h.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-6",children:a.map((u,c)=>h.jsxs("div",{className:"flex items-center space-x-3",children:[h.jsx(En,{className:"h-6 w-6 text-orange-600 flex-shrink-0"}),h.jsx("span",{className:"text-gray-700",children:u})]},c))})})}),h.jsx("section",{className:"py-16 bg-gray-50",children:h.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[h.jsxs("div",{className:"text-center mb-12",children:[h.jsx("h2",{className:"text-3xl md:text-4xl mb-4 text-gray-900",children:"Our Services"}),h.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto",children:"We offer a comprehensive range of handyman services to keep your home in perfect condition."})]}),h.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:l.map((u,c)=>h.jsxs("div",{className:"bg-white rounded-lg overflow-hidden shadow-lg hover:shadow-xl transition-shadow",children:[h.jsx(Zl,{src:u.image,alt:u.title,className:"w-full h-48 object-cover"}),h.jsxs("div",{className:"p-6",children:[h.jsx("h3",{className:"text-xl mb-2 text-gray-900",children:u.title}),h.jsx("p",{className:"text-gray-600 mb-4",children:u.description}),h.jsxs(ut,{to:"/services",className:"inline-flex items-center text-orange-600 hover:text-orange-700",children:["Learn More",h.jsx(tl,{className:"ml-2 h-4 w-4"})]})]})]},c))}),h.jsx("div",{className:"text-center mt-12",children:h.jsxs(ut,{to:"/services",className:"inline-flex items-center bg-orange-600 text-white px-8 py-3 rounded-lg hover:bg-orange-700 transition-colors",children:["View All Services",h.jsx(tl,{className:"ml-2 h-5 w-5"})]})})]})}),h.jsx("section",{className:"py-16 bg-white",children:h.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:h.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[h.jsx(Zl,{src:"https://images.unsplash.com/photo-1581783898377-1c85bf937427?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3Nzg4Nzd8MHwxfHNlYXJjaHwxfHxoYW5keW1hbiUyMGNhcnBlbnRlciUyMHRvb2xzfGVufDF8fHx8MTc3MTU5ODc5N3ww&ixlib=rb-4.1.0&q=80&w=1080&utm_source=figma&utm_medium=referral",alt:"Handyman tools",className:"rounded-lg shadow-lg w-full"}),h.jsxs("div",{children:[h.jsx("h2",{className:"text-3xl md:text-4xl mb-6 text-gray-900",children:"Why Choose ProFix Handyman?"}),h.jsx("p",{className:"text-lg text-gray-600 mb-6",children:"With over 15 years of experience, we've become the most trusted handyman service in the area. Our team of skilled professionals is committed to delivering exceptional quality and customer satisfaction."}),h.jsxs("ul",{className:"space-y-4 mb-8",children:[h.jsxs("li",{className:"flex items-start space-x-3",children:[h.jsx(En,{className:"h-6 w-6 text-orange-600 flex-shrink-0 mt-0.5"}),h.jsxs("div",{children:[h.jsx("span",{className:"text-gray-900",children:"Experienced Professionals"}),h.jsx("p",{className:"text-gray-600",children:"Skilled craftsmen with years of expertise"})]})]}),h.jsxs("li",{className:"flex items-start space-x-3",children:[h.jsx(En,{className:"h-6 w-6 text-orange-600 flex-shrink-0 mt-0.5"}),h.jsxs("div",{children:[h.jsx("span",{className:"text-gray-900",children:"Fair & Transparent Pricing"}),h.jsx("p",{className:"text-gray-600",children:"No hidden fees, upfront quotes"})]})]}),h.jsxs("li",{className:"flex items-start space-x-3",children:[h.jsx(En,{className:"h-6 w-6 text-orange-600 flex-shrink-0 mt-0.5"}),h.jsxs("div",{children:[h.jsx("span",{className:"text-gray-900",children:"Quality Guaranteed"}),h.jsx("p",{className:"text-gray-600",children:"100% satisfaction or your money back"})]})]})]}),h.jsxs(ut,{to:"/about",className:"inline-flex items-center text-orange-600 hover:text-orange-700 text-lg",children:["Learn More About Us",h.jsx(tl,{className:"ml-2 h-5 w-5"})]})]})]})})}),h.jsx("section",{className:"py-16 bg-gray-50",children:h.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[h.jsxs("div",{className:"text-center mb-12",children:[h.jsx("h2",{className:"text-3xl md:text-4xl mb-4 text-gray-900",children:"What Our Clients Say"}),h.jsx("p",{className:"text-xl text-gray-600",children:"Don't just take our word for it - hear from our satisfied customers"})]}),h.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:o.map((u,c)=>h.jsxs("div",{className:"bg-white rounded-lg p-6 shadow-lg",children:[h.jsx("div",{className:"flex mb-4",children:[...Array(u.rating)].map((d,p)=>h.jsx(Sy,{className:"h-5 w-5 text-yellow-400 fill-current"},p))}),h.jsxs("p",{className:"text-gray-700 mb-4",children:['"',u.text,'"']}),h.jsxs("p",{className:"text-gray-900",children:["- ",u.name]})]},c))})]})}),h.jsx("section",{className:"py-16 bg-orange-600",children:h.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[h.jsx("h2",{className:"text-3xl md:text-4xl mb-6 text-white",children:"Ready to Get Started?"}),h.jsx("p",{className:"text-xl text-orange-100 mb-8",children:"Contact us today for a free quote and let us take care of your home repair needs!"}),h.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[h.jsxs(ut,{to:"/contact",className:"inline-flex items-center justify-center bg-white text-orange-600 px-8 py-4 rounded-lg hover:bg-gray-100 transition-colors",children:["Get Free Quote",h.jsx(tl,{className:"ml-2 h-5 w-5"})]}),h.jsxs("a",{href:"tel:5551234567",className:"inline-flex items-center justify-center bg-orange-700 text-white px-8 py-4 rounded-lg hover:bg-orange-800 transition-colors",children:[h.jsx(ka,{className:"mr-2 h-5 w-5"}),"Call Now"]})]})]})})]})}function zy(){const l=[{icon:ty,title:"Plumbing Services",description:"Expert plumbing repairs and installations for your home.",items:["Faucet & Fixture Repairs","Toilet Repairs & Replacement","Pipe Repairs & Leak Detection","Drain Cleaning","Water Heater Services","Garbage Disposal Installation"]},{icon:_y,title:"Electrical Work",description:"Safe and reliable electrical services by licensed professionals.",items:["Light Fixture Installation","Outlet & Switch Repair","Ceiling Fan Installation","Circuit Breaker Services","Home Rewiring","Electrical Safety Inspections"]},{icon:my,title:"Painting & Drywall",description:"Transform your space with professional painting services.",items:["Interior Painting","Exterior Painting","Drywall Installation","Drywall Repair","Texture Matching","Wallpaper Removal"]},{icon:iy,title:"Carpentry",description:"Custom carpentry work for all your woodworking needs.",items:["Custom Shelving","Cabinet Installation","Door Installation & Repair","Crown Molding","Deck Repairs","Trim & Baseboards"]},{icon:oy,title:"Home Repairs",description:"General home repairs to keep your property in top shape.",items:["Window Repairs","Door Repairs","Lock Installation","Weather Stripping","Caulking & Sealing","Minor Roof Repairs"]},{icon:xy,title:"Maintenance Services",description:"Regular maintenance to prevent future problems.",items:["Seasonal Home Inspections","Gutter Cleaning","Pressure Washing","HVAC Filter Changes","Preventive Maintenance","Home Safety Checks"]}];return h.jsxs("div",{children:[h.jsx("section",{className:"bg-gradient-to-br from-orange-50 to-orange-100 py-16",children:h.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[h.jsx("h1",{className:"text-4xl md:text-5xl mb-6 text-gray-900",children:"Our Services"}),h.jsx("p",{className:"text-xl text-gray-700 max-w-3xl mx-auto",children:"From minor repairs to major renovations, we offer comprehensive handyman services to meet all your home improvement needs."})]})}),h.jsx("section",{className:"py-16 bg-white",children:h.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:h.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:l.map((a,o)=>{const u=a.icon;return h.jsxs("div",{className:"bg-white border border-gray-200 rounded-lg p-6 hover:shadow-xl transition-shadow",children:[h.jsx("div",{className:"bg-orange-100 w-14 h-14 rounded-lg flex items-center justify-center mb-4",children:h.jsx(u,{className:"h-7 w-7 text-orange-600"})}),h.jsx("h3",{className:"text-xl mb-3 text-gray-900",children:a.title}),h.jsx("p",{className:"text-gray-600 mb-4",children:a.description}),h.jsx("ul",{className:"space-y-2",children:a.items.map((c,d)=>h.jsxs("li",{className:"flex items-start space-x-2",children:[h.jsx(En,{className:"h-5 w-5 text-orange-600 flex-shrink-0 mt-0.5"}),h.jsx("span",{className:"text-gray-700",children:c})]},d))})]},o)})})})}),h.jsx("section",{className:"py-16 bg-gray-50",children:h.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[h.jsxs("div",{className:"text-center mb-12",children:[h.jsx("h2",{className:"text-3xl md:text-4xl mb-4 text-gray-900",children:"How It Works"}),h.jsx("p",{className:"text-xl text-gray-600",children:"Getting your home repairs done is easy with our simple process"})]}),h.jsx("div",{className:"grid md:grid-cols-4 gap-8",children:[{step:"1",title:"Contact Us",description:"Call or fill out our online form to describe your project"},{step:"2",title:"Get a Quote",description:"Receive a fair, transparent estimate for the work"},{step:"3",title:"Schedule Service",description:"Choose a convenient time that works for you"},{step:"4",title:"Job Complete",description:"We complete the work with quality and care"}].map((a,o)=>h.jsxs("div",{className:"text-center",children:[h.jsx("div",{className:"bg-orange-600 text-white w-16 h-16 rounded-full flex items-center justify-center text-2xl mx-auto mb-4",children:a.step}),h.jsx("h3",{className:"text-xl mb-2 text-gray-900",children:a.title}),h.jsx("p",{className:"text-gray-600",children:a.description})]},o))})]})}),h.jsx("section",{className:"py-16 bg-orange-600",children:h.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[h.jsx("h2",{className:"text-3xl md:text-4xl mb-6 text-white",children:"Need a Handyman?"}),h.jsx("p",{className:"text-xl text-orange-100 mb-8",children:"Contact us today for a free estimate on any of our services!"}),h.jsxs(ut,{to:"/contact",className:"inline-flex items-center bg-white text-orange-600 px-8 py-4 rounded-lg hover:bg-gray-100 transition-colors",children:["Request a Quote",h.jsx(tl,{className:"ml-2 h-5 w-5"})]})]})})]})}function Ty(){const l=[{label:"Years in Business",value:"15+"},{label:"Happy Clients",value:"5,000+"},{label:"Projects Completed",value:"10,000+"},{label:"Customer Satisfaction",value:"99%"}],a=[{icon:En,title:"Quality First",description:"We never compromise on the quality of our work. Every job is done right the first time."},{icon:Xg,title:"Professional Excellence",description:"Our team consists of skilled, licensed professionals with years of experience."},{icon:Wd,title:"Customer Focus",description:"Your satisfaction is our priority. We listen to your needs and deliver results."},{icon:Ds,title:"Reliable Service",description:"We show up on time, every time. Count on us to be there when you need us."}];return h.jsxs("div",{children:[h.jsx("section",{className:"bg-gradient-to-br from-orange-50 to-orange-100 py-16",children:h.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[h.jsx("h1",{className:"text-4xl md:text-5xl mb-6 text-gray-900",children:"About ProFix Handyman"}),h.jsx("p",{className:"text-xl text-gray-700 max-w-3xl mx-auto",children:"Your trusted partner for all home repair and maintenance needs since 2011"})]})}),h.jsx("section",{className:"py-16 bg-white",children:h.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:h.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[h.jsxs("div",{children:[h.jsx("h2",{className:"text-3xl md:text-4xl mb-6 text-gray-900",children:"Our Story"}),h.jsx("p",{className:"text-lg text-gray-700 mb-4",children:"ProFix Handyman was founded in 2011 with a simple mission: to provide reliable, high-quality handyman services at fair prices. What started as a one-person operation has grown into a trusted team of skilled professionals serving the community."}),h.jsx("p",{className:"text-lg text-gray-700 mb-4",children:"Over the years, we've completed thousands of projects, from simple repairs to complete home renovations. Our reputation for quality work and excellent customer service has made us the go-to handyman service in the area."}),h.jsx("p",{className:"text-lg text-gray-700",children:"Today, we continue to uphold the same values that guided us from the beginning: integrity, quality, and customer satisfaction. Every member of our team is dedicated to exceeding your expectations."})]}),h.jsx(Zl,{src:"https://images.unsplash.com/photo-1768321901750-f7b96d774456?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3Nzg4Nzd8MHwxfHNlYXJjaHwxfHxob21lJTIwcmVub3ZhdGlvbiUyMHdvcmt8ZW58MXx8fHwxNzcxNTk4Nzk4fDA&ixlib=rb-4.1.0&q=80&w=1080&utm_source=figma&utm_medium=referral",alt:"Home renovation work",className:"rounded-lg shadow-lg w-full"})]})})}),h.jsx("section",{className:"py-16 bg-orange-600",children:h.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:h.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-8",children:l.map((o,u)=>h.jsxs("div",{className:"text-center",children:[h.jsx("div",{className:"text-4xl md:text-5xl text-white mb-2",children:o.value}),h.jsx("div",{className:"text-orange-100",children:o.label})]},u))})})}),h.jsx("section",{className:"py-16 bg-gray-50",children:h.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[h.jsxs("div",{className:"text-center mb-12",children:[h.jsx("h2",{className:"text-3xl md:text-4xl mb-4 text-gray-900",children:"Our Values"}),h.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto",children:"These core principles guide everything we do"})]}),h.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-8",children:a.map((o,u)=>{const c=o.icon;return h.jsxs("div",{className:"bg-white rounded-lg p-6 shadow-lg text-center",children:[h.jsx("div",{className:"bg-orange-100 w-14 h-14 rounded-full flex items-center justify-center mx-auto mb-4",children:h.jsx(c,{className:"h-7 w-7 text-orange-600"})}),h.jsx("h3",{className:"text-xl mb-3 text-gray-900",children:o.title}),h.jsx("p",{className:"text-gray-600",children:o.description})]},u)})})]})}),h.jsx("section",{className:"py-16 bg-white",children:h.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[h.jsxs("div",{className:"text-center mb-12",children:[h.jsx("h2",{className:"text-3xl md:text-4xl mb-4 text-gray-900",children:"Meet Our Team"}),h.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto",children:"Skilled professionals dedicated to your home's care"})]}),h.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:[{name:"John Mitchell",role:"Founder & Lead Handyman",description:"15+ years of experience in all aspects of home repair and maintenance."},{name:"David Chen",role:"Master Electrician",description:"Licensed electrician specializing in residential electrical work."},{name:"Robert Garcia",role:"Master Plumber",description:"Expert plumber with extensive experience in repairs and installations."}].map((o,u)=>h.jsxs("div",{className:"bg-gray-50 rounded-lg p-6 text-center",children:[h.jsx("div",{className:"bg-orange-100 w-24 h-24 rounded-full mx-auto mb-4 flex items-center justify-center",children:h.jsx(Wd,{className:"h-12 w-12 text-orange-600"})}),h.jsx("h3",{className:"text-xl mb-1 text-gray-900",children:o.name}),h.jsx("p",{className:"text-orange-600 mb-3",children:o.role}),h.jsx("p",{className:"text-gray-600",children:o.description})]},u))})]})}),h.jsx("section",{className:"py-16 bg-gray-50",children:h.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[h.jsxs("div",{className:"text-center mb-12",children:[h.jsx("h2",{className:"text-3xl md:text-4xl mb-4 text-gray-900",children:"Licensed & Insured"}),h.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto",children:"We maintain all necessary licenses and insurance for your protection and peace of mind"})]}),h.jsx("div",{className:"grid md:grid-cols-3 gap-6 max-w-4xl mx-auto",children:["State Licensed Contractor","Fully Insured & Bonded","BBB Accredited Business","Master Electrician License","Master Plumber License","OSHA Safety Certified"].map((o,u)=>h.jsxs("div",{className:"flex items-center space-x-3 bg-white p-4 rounded-lg",children:[h.jsx(En,{className:"h-6 w-6 text-orange-600 flex-shrink-0"}),h.jsx("span",{className:"text-gray-700",children:o})]},u))})]})})]})}function Dy(){const[l,a]=_.useState("All"),o=["All","Plumbing","Electrical","Painting","Carpentry","Renovation"],u=[{title:"Kitchen Renovation",category:"Renovation",image:"https://images.unsplash.com/photo-1768321901750-f7b96d774456?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3Nzg4Nzd8MHwxfHNlYXJjaHwxfHxob21lJTIwcmVub3ZhdGlvbiUyMHdvcmt8ZW58MXx8fHwxNzcxNTk4Nzk4fDA&ixlib=rb-4.1.0&q=80&w=1080&utm_source=figma&utm_medium=referral",description:"Complete kitchen remodel with custom cabinets and new fixtures"},{title:"Plumbing Repair",category:"Plumbing",image:"https://images.unsplash.com/photo-1760571327612-8ab776dcd462?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3Nzg4Nzd8MHwxfHNlYXJjaHwxfHxob21lJTIwcmVwYWlyJTIwcGx1bWJpbmd8ZW58MXx8fHwxNzcxNTE2ODQ2fDA&ixlib=rb-4.1.0&q=80&w=1080&utm_source=figma&utm_medium=referral",description:"Professional pipe repair and fixture installation"},{title:"Electrical Installation",category:"Electrical",image:"https://images.unsplash.com/photo-1767514536570-83d70c024247?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3Nzg4Nzd8MHwxfHNlYXJjaHwxfHxlbGVjdHJpY2FsJTIwd29yayUyMGluc3RhbGxhdGlvbnxlbnwxfHx8fDE3NzE1OTg3OTh8MA&ixlib=rb-4.1.0&q=80&w=1080&utm_source=figma&utm_medium=referral",description:"Safe and reliable electrical work with proper certification"},{title:"Interior Painting",category:"Painting",image:"https://images.unsplash.com/photo-1574359411659-15573a27fd0c?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3Nzg4Nzd8MHwxfHNlYXJjaHwxfHxob3VzZSUyMHBhaW50aW5nJTIwY29udHJhY3RvcnxlbnwxfHx8fDE3NzE1OTg3OTh8MA&ixlib=rb-4.1.0&q=80&w=1080&utm_source=figma&utm_medium=referral",description:"Professional interior painting with attention to detail"},{title:"Custom Carpentry",category:"Carpentry",image:"https://images.unsplash.com/photo-1581783898377-1c85bf937427?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3Nzg4Nzd8MHwxfHNlYXJjaHwxfHxoYW5keW1hbiUyMGNhcnBlbnRlciUyMHRvb2xzfGVufDF8fHx8MTc3MTU5ODc5N3ww&ixlib=rb-4.1.0&q=80&w=1080&utm_source=figma&utm_medium=referral",description:"Custom woodworking and carpentry projects"},{title:"Home Maintenance",category:"Renovation",image:"https://images.unsplash.com/photo-1620838883342-ca19cf8448d6?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3Nzg4Nzd8MHwxfHNlYXJjaHwxfHxwcm9mZXNzaW9uYWwlMjBoYW5keW1hbiUyMHNlcnZpY2V8ZW58MXx8fHwxNzcxNTk4Nzk4fDA&ixlib=rb-4.1.0&q=80&w=1080&utm_source=figma&utm_medium=referral",description:"Regular home maintenance and repair services"}],c=l==="All"?u:u.filter(d=>d.category===l);return h.jsxs("div",{children:[h.jsx("section",{className:"bg-gradient-to-br from-orange-50 to-orange-100 py-16",children:h.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[h.jsx("h1",{className:"text-4xl md:text-5xl mb-6 text-gray-900",children:"Project Gallery"}),h.jsx("p",{className:"text-xl text-gray-700 max-w-3xl mx-auto",children:"Browse through our portfolio of completed projects and see the quality of our work"})]})}),h.jsx("section",{className:"py-8 bg-white border-b border-gray-200",children:h.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:h.jsx("div",{className:"flex flex-wrap gap-3 justify-center",children:o.map(d=>h.jsx("button",{onClick:()=>a(d),className:`px-6 py-2 rounded-full transition-colors ${l===d?"bg-orange-600 text-white":"bg-gray-100 text-gray-700 hover:bg-gray-200"}`,children:d},d))})})}),h.jsx("section",{className:"py-16 bg-white",children:h.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[h.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:c.map((d,p)=>h.jsxs("div",{className:"group relative overflow-hidden rounded-lg shadow-lg hover:shadow-2xl transition-shadow cursor-pointer",children:[h.jsx(Zl,{src:d.image,alt:d.title,className:"w-full h-72 object-cover group-hover:scale-110 transition-transform duration-300"}),h.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/40 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300",children:h.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-6 text-white",children:[h.jsx("div",{className:"inline-block bg-orange-600 px-3 py-1 rounded-full text-sm mb-2",children:d.category}),h.jsx("h3",{className:"text-xl mb-2",children:d.title}),h.jsx("p",{className:"text-sm text-gray-200",children:d.description})]})})]},p))}),c.length===0&&h.jsx("div",{className:"text-center py-12",children:h.jsx("p",{className:"text-xl text-gray-600",children:"No projects found in this category."})})]})}),h.jsx("section",{className:"py-16 bg-gray-50",children:h.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[h.jsx("h2",{className:"text-3xl md:text-4xl mb-6 text-gray-900",children:"Want Your Project Featured Here?"}),h.jsx("p",{className:"text-xl text-gray-600 mb-8",children:"Let us help you transform your home with our professional services"}),h.jsx("a",{href:"/contact",className:"inline-flex items-center bg-orange-600 text-white px-8 py-4 rounded-lg hover:bg-orange-700 transition-colors",children:"Start Your Project"})]})})]})}function Oy(){const[l,a]=_.useState({name:"",email:"",phone:"",service:"",message:""}),[o,u]=_.useState(!1),c=m=>{a({...l,[m.target.name]:m.target.value})},d=m=>{m.preventDefault(),console.log("Form submitted:",l),u(!0),setTimeout(()=>{u(!1),a({name:"",email:"",phone:"",service:"",message:""})},3e3)},p=["General Repair","Plumbing","Electrical","Painting","Carpentry","Home Maintenance","Other"];return h.jsxs("div",{children:[h.jsx("section",{className:"bg-gradient-to-br from-orange-50 to-orange-100 py-16",children:h.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[h.jsx("h1",{className:"text-4xl md:text-5xl mb-6 text-gray-900",children:"Contact Us"}),h.jsx("p",{className:"text-xl text-gray-700 max-w-3xl mx-auto",children:"Get in touch with us for a free quote or to schedule a service"})]})}),h.jsx("section",{className:"py-16 bg-white",children:h.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:h.jsxs("div",{className:"grid lg:grid-cols-5 gap-12",children:[h.jsxs("div",{className:"lg:col-span-2 space-y-8",children:[h.jsxs("div",{children:[h.jsx("h2",{className:"text-3xl mb-6 text-gray-900",children:"Get in Touch"}),h.jsx("p",{className:"text-gray-600 mb-8",children:"Have a question or ready to start your project? We'd love to hear from you. Reach out using any of the methods below."})]}),h.jsxs("div",{className:"space-y-6",children:[h.jsxs("div",{className:"flex items-start space-x-4",children:[h.jsx("div",{className:"bg-orange-100 p-3 rounded-lg",children:h.jsx(ka,{className:"h-6 w-6 text-orange-600"})}),h.jsxs("div",{children:[h.jsx("h3",{className:"text-gray-900 mb-1",children:"Phone"}),h.jsx("a",{href:"tel:5551234567",className:"text-orange-600 hover:text-orange-700",children:"(555) 123-4567"}),h.jsx("p",{className:"text-gray-600 text-sm mt-1",children:"Mon-Sat: 8AM-6PM"})]})]}),h.jsxs("div",{className:"flex items-start space-x-4",children:[h.jsx("div",{className:"bg-orange-100 p-3 rounded-lg",children:h.jsx(Nf,{className:"h-6 w-6 text-orange-600"})}),h.jsxs("div",{children:[h.jsx("h3",{className:"text-gray-900 mb-1",children:"Email"}),h.jsx("a",{href:"mailto:info@profix.com",className:"text-orange-600 hover:text-orange-700",children:"info@profix.com"}),h.jsx("p",{className:"text-gray-600 text-sm mt-1",children:"We'll respond within 24 hours"})]})]}),h.jsxs("div",{className:"flex items-start space-x-4",children:[h.jsx("div",{className:"bg-orange-100 p-3 rounded-lg",children:h.jsx(kf,{className:"h-6 w-6 text-orange-600"})}),h.jsxs("div",{children:[h.jsx("h3",{className:"text-gray-900 mb-1",children:"Address"}),h.jsxs("p",{className:"text-gray-600",children:["123 Main Street",h.jsx("br",{}),"New York, NY 10001"]})]})]}),h.jsxs("div",{className:"flex items-start space-x-4",children:[h.jsx("div",{className:"bg-orange-100 p-3 rounded-lg",children:h.jsx(Ds,{className:"h-6 w-6 text-orange-600"})}),h.jsxs("div",{children:[h.jsx("h3",{className:"text-gray-900 mb-1",children:"Business Hours"}),h.jsxs("p",{className:"text-gray-600",children:["Monday - Friday: 8:00 AM - 6:00 PM",h.jsx("br",{}),"Saturday: 9:00 AM - 4:00 PM",h.jsx("br",{}),"Sunday: Closed"]})]})]})]}),h.jsxs("div",{className:"bg-orange-50 p-6 rounded-lg border border-orange-200",children:[h.jsx("h3",{className:"text-gray-900 mb-2",children:"Emergency Services"}),h.jsx("p",{className:"text-gray-600 mb-3",children:"For urgent repairs outside business hours, call our emergency line:"}),h.jsx("a",{href:"tel:5559876543",className:"text-xl text-orange-600 hover:text-orange-700",children:"(555) 987-6543"})]})]}),h.jsxs("div",{className:"lg:col-span-3 bg-gray-50 p-8 rounded-lg",children:[h.jsx("h2",{className:"text-2xl mb-6 text-gray-900",children:"Request a Free Quote"}),o?h.jsxs("div",{className:"bg-green-50 border border-green-200 rounded-lg p-8 text-center",children:[h.jsx("div",{className:"bg-green-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4",children:h.jsx(bd,{className:"h-8 w-8 text-green-600"})}),h.jsx("h3",{className:"text-2xl text-green-900 mb-2",children:"Thank You!"}),h.jsx("p",{className:"text-green-800",children:"Your message has been received. We'll get back to you within 24 hours."})]}):h.jsxs("form",{onSubmit:d,className:"space-y-6",children:[h.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[h.jsxs("div",{children:[h.jsx("label",{htmlFor:"name",className:"block text-sm text-gray-700 mb-2",children:"Full Name *"}),h.jsx("input",{type:"text",id:"name",name:"name",required:!0,value:l.name,onChange:c,className:"w-full px-4 py-3 rounded-lg border border-gray-300 focus:border-orange-600 focus:ring-2 focus:ring-orange-200 outline-none transition-all",placeholder:"John Doe"})]}),h.jsxs("div",{children:[h.jsx("label",{htmlFor:"phone",className:"block text-sm text-gray-700 mb-2",children:"Phone Number *"}),h.jsx("input",{type:"tel",id:"phone",name:"phone",required:!0,value:l.phone,onChange:c,className:"w-full px-4 py-3 rounded-lg border border-gray-300 focus:border-orange-600 focus:ring-2 focus:ring-orange-200 outline-none transition-all",placeholder:"(555) 123-4567"})]})]}),h.jsxs("div",{children:[h.jsx("label",{htmlFor:"email",className:"block text-sm text-gray-700 mb-2",children:"Email Address *"}),h.jsx("input",{type:"email",id:"email",name:"email",required:!0,value:l.email,onChange:c,className:"w-full px-4 py-3 rounded-lg border border-gray-300 focus:border-orange-600 focus:ring-2 focus:ring-orange-200 outline-none transition-all",placeholder:"john@example.com"})]}),h.jsxs("div",{children:[h.jsx("label",{htmlFor:"service",className:"block text-sm text-gray-700 mb-2",children:"Service Needed *"}),h.jsxs("select",{id:"service",name:"service",required:!0,value:l.service,onChange:c,className:"w-full px-4 py-3 rounded-lg border border-gray-300 focus:border-orange-600 focus:ring-2 focus:ring-orange-200 outline-none transition-all",children:[h.jsx("option",{value:"",children:"Select a service"}),p.map(m=>h.jsx("option",{value:m,children:m},m))]})]}),h.jsxs("div",{children:[h.jsx("label",{htmlFor:"message",className:"block text-sm text-gray-700 mb-2",children:"Project Details *"}),h.jsx("textarea",{id:"message",name:"message",required:!0,value:l.message,onChange:c,rows:6,className:"w-full px-4 py-3 rounded-lg border border-gray-300 focus:border-orange-600 focus:ring-2 focus:ring-orange-200 outline-none transition-all resize-none",placeholder:"Please describe your project in detail..."})]}),h.jsxs("button",{type:"submit",className:"w-full bg-orange-600 text-white px-8 py-4 rounded-lg hover:bg-orange-700 transition-colors flex items-center justify-center",children:[h.jsx(bd,{className:"mr-2 h-5 w-5"}),"Send Message"]}),h.jsx("p",{className:"text-sm text-gray-600 text-center",children:"By submitting this form, you agree to our terms and privacy policy."})]})]})]})})}),h.jsx("section",{className:"py-16 bg-gray-50",children:h.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[h.jsx("h2",{className:"text-3xl text-center mb-8 text-gray-900",children:"Our Location"}),h.jsx("div",{className:"bg-gray-300 rounded-lg overflow-hidden h-96 flex items-center justify-center",children:h.jsx("p",{className:"text-gray-600",children:"Map would be displayed here (e.g., Google Maps integration)"})})]})})]})}function Fy(){const[l,a]=_.useState(!1),o=en(),u=[{name:"Home",path:"/"},{name:"Services",path:"/services"},{name:"About",path:"/about"},{name:"Gallery",path:"/gallery"},{name:"Contact",path:"/contact"}],c=d=>o.pathname===d;return h.jsx("header",{className:"bg-white shadow-md sticky top-0 z-50",children:h.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[h.jsxs("div",{className:"flex justify-between items-center h-16",children:[h.jsxs(ut,{to:"/",className:"flex items-center space-x-2",children:[h.jsx(Ef,{className:"h-8 w-8 text-orange-600"}),h.jsx("span",{className:"font-bold text-xl text-gray-900",children:"ProFix Handyman"})]}),h.jsx("nav",{className:"hidden md:flex space-x-8",children:u.map(d=>h.jsx(ut,{to:d.path,className:`transition-colors ${c(d.path)?"text-orange-600":"text-gray-700 hover:text-orange-600"}`,children:d.name},d.path))}),h.jsx(ut,{to:"/contact",className:"hidden md:block bg-orange-600 text-white px-6 py-2 rounded-md hover:bg-orange-700 transition-colors",children:"Get a Quote"}),h.jsx("button",{className:"md:hidden",onClick:()=>a(!l),children:l?h.jsx(Ry,{className:"h-6 w-6 text-gray-900"}):h.jsx(hy,{className:"h-6 w-6 text-gray-900"})})]}),l&&h.jsxs("nav",{className:"md:hidden pb-4 pt-2",children:[u.map(d=>h.jsx(ut,{to:d.path,onClick:()=>a(!1),className:`block py-2 transition-colors ${c(d.path)?"text-orange-600":"text-gray-700 hover:text-orange-600"}`,children:d.name},d.path)),h.jsx(ut,{to:"/contact",onClick:()=>a(!1),className:"block mt-4 bg-orange-600 text-white px-6 py-2 rounded-md text-center hover:bg-orange-700 transition-colors",children:"Get a Quote"})]})]})})}function Iy(){return h.jsx("footer",{className:"bg-gray-900 text-gray-300",children:h.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12",children:[h.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:[h.jsxs("div",{children:[h.jsxs("div",{className:"flex items-center space-x-2 mb-4",children:[h.jsx(Ef,{className:"h-8 w-8 text-orange-600"}),h.jsx("span",{className:"font-bold text-xl text-white",children:"ProFix Handyman"})]}),h.jsx("p",{className:"text-sm mb-4",children:"Professional handyman services for all your home repair and maintenance needs. Quality work, affordable prices."}),h.jsxs("div",{className:"flex space-x-4",children:[h.jsx("a",{href:"#",className:"hover:text-orange-600 transition-colors",children:h.jsx(ny,{className:"h-5 w-5"})}),h.jsx("a",{href:"#",className:"hover:text-orange-600 transition-colors",children:h.jsx(uy,{className:"h-5 w-5"})}),h.jsx("a",{href:"#",className:"hover:text-orange-600 transition-colors",children:h.jsx(ky,{className:"h-5 w-5"})})]})]}),h.jsxs("div",{children:[h.jsx("h3",{className:"text-white font-semibold mb-4",children:"Quick Links"}),h.jsxs("ul",{className:"space-y-2",children:[h.jsx("li",{children:h.jsx(ut,{to:"/",className:"hover:text-orange-600 transition-colors",children:"Home"})}),h.jsx("li",{children:h.jsx(ut,{to:"/services",className:"hover:text-orange-600 transition-colors",children:"Services"})}),h.jsx("li",{children:h.jsx(ut,{to:"/about",className:"hover:text-orange-600 transition-colors",children:"About Us"})}),h.jsx("li",{children:h.jsx(ut,{to:"/gallery",className:"hover:text-orange-600 transition-colors",children:"Gallery"})}),h.jsx("li",{children:h.jsx(ut,{to:"/contact",className:"hover:text-orange-600 transition-colors",children:"Contact"})})]})]}),h.jsxs("div",{children:[h.jsx("h3",{className:"text-white font-semibold mb-4",children:"Our Services"}),h.jsxs("ul",{className:"space-y-2 text-sm",children:[h.jsx("li",{children:"Plumbing Repairs"}),h.jsx("li",{children:"Electrical Work"}),h.jsx("li",{children:"Painting & Drywall"}),h.jsx("li",{children:"Carpentry"}),h.jsx("li",{children:"General Repairs"}),h.jsx("li",{children:"Home Maintenance"})]})]}),h.jsxs("div",{children:[h.jsx("h3",{className:"text-white font-semibold mb-4",children:"Contact Info"}),h.jsxs("ul",{className:"space-y-3",children:[h.jsxs("li",{className:"flex items-start space-x-3",children:[h.jsx(ka,{className:"h-5 w-5 text-orange-600 flex-shrink-0 mt-0.5"}),h.jsxs("div",{children:[h.jsx("p",{className:"text-sm",children:"Call Us"}),h.jsx("p",{className:"text-white",children:"(555) 123-4567"})]})]}),h.jsxs("li",{className:"flex items-start space-x-3",children:[h.jsx(Nf,{className:"h-5 w-5 text-orange-600 flex-shrink-0 mt-0.5"}),h.jsxs("div",{children:[h.jsx("p",{className:"text-sm",children:"Email Us"}),h.jsx("p",{className:"text-white",children:"info@profix.com"})]})]}),h.jsxs("li",{className:"flex items-start space-x-3",children:[h.jsx(kf,{className:"h-5 w-5 text-orange-600 flex-shrink-0 mt-0.5"}),h.jsxs("div",{children:[h.jsx("p",{className:"text-sm",children:"Location"}),h.jsxs("p",{className:"text-white",children:["123 Main Street",h.jsx("br",{}),"New York, NY 10001"]})]})]}),h.jsxs("li",{className:"flex items-start space-x-3",children:[h.jsx(Ds,{className:"h-5 w-5 text-orange-600 flex-shrink-0 mt-0.5"}),h.jsxs("div",{children:[h.jsx("p",{className:"text-sm",children:"Working Hours"}),h.jsx("p",{className:"text-white",children:"Mon-Sat: 8AM-6PM"})]})]})]})]})]}),h.jsx("div",{className:"border-t border-gray-800 mt-8 pt-8 text-center text-sm",children:h.jsx("p",{children:"© 2026 ProFix Handyman. All rights reserved."})})]})})}function Hy(){return h.jsxs("div",{className:"min-h-screen flex flex-col",children:[h.jsx(Fy,{}),h.jsx("main",{className:"flex-1",children:h.jsx(sg,{})}),h.jsx(Iy,{})]})}const Uy=Tg([{path:"/",Component:Hy,children:[{index:!0,Component:Ly},{path:"services",Component:zy},{path:"about",Component:Ty},{path:"gallery",Component:Dy},{path:"contact",Component:Oy}]}]);function Ay(){return h.jsx(ig,{router:Uy})}gp.createRoot(document.getElementById("root")).render(h.jsx(Ay,{}));