Files
handyman/dist/assets/index-BG-CcNj-.js
T

201 lines
351 KiB
JavaScript

function nm(n,i){for(var l=0;l<i.length;l++){const u=i[l];if(typeof u!="string"&&!Array.isArray(u)){for(const o in u)if(o!=="default"&&!(o in n)){const c=Object.getOwnPropertyDescriptor(u,o);c&&Object.defineProperty(n,o,c.get?c:{enumerable:!0,get:()=>u[o]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))u(o);new MutationObserver(o=>{for(const c of o)if(c.type==="childList")for(const f of c.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&u(f)}).observe(document,{childList:!0,subtree:!0});function l(o){const c={};return o.integrity&&(c.integrity=o.integrity),o.referrerPolicy&&(c.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?c.credentials="include":o.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function u(o){if(o.ep)return;o.ep=!0;const c=l(o);fetch(o.href,c)}})();function im(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Ss={exports:{}},Xi={},Ns={exports:{}},Pe={};/**
* @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 bd;function am(){if(bd)return Pe;bd=1;var n=Symbol.for("react.element"),i=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),f=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),v=Symbol.iterator;function S(E){return E===null||typeof E!="object"?null:(E=v&&E[v]||E["@@iterator"],typeof E=="function"?E:null)}var N={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,z={};function F(E,D,me){this.props=E,this.context=D,this.refs=z,this.updater=me||N}F.prototype.isReactComponent={},F.prototype.setState=function(E,D){if(typeof E!="object"&&typeof E!="function"&&E!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,E,D,"setState")},F.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function Y(){}Y.prototype=F.prototype;function H(E,D,me){this.props=E,this.context=D,this.refs=z,this.updater=me||N}var G=H.prototype=new Y;G.constructor=H,b(G,F.prototype),G.isPureReactComponent=!0;var ne=Array.isArray,ue=Object.prototype.hasOwnProperty,Se={current:null},O={key:!0,ref:!0,__self:!0,__source:!0};function Z(E,D,me){var xe,ve={},Re=null,Fe=null;if(D!=null)for(xe in D.ref!==void 0&&(Fe=D.ref),D.key!==void 0&&(Re=""+D.key),D)ue.call(D,xe)&&!O.hasOwnProperty(xe)&&(ve[xe]=D[xe]);var Me=arguments.length-2;if(Me===1)ve.children=me;else if(1<Me){for(var Ae=Array(Me),vt=0;vt<Me;vt++)Ae[vt]=arguments[vt+2];ve.children=Ae}if(E&&E.defaultProps)for(xe in Me=E.defaultProps,Me)ve[xe]===void 0&&(ve[xe]=Me[xe]);return{$$typeof:n,type:E,key:Re,ref:Fe,props:ve,_owner:Se.current}}function ee(E,D){return{$$typeof:n,type:E.type,key:D,ref:E.ref,props:E.props,_owner:E._owner}}function ce(E){return typeof E=="object"&&E!==null&&E.$$typeof===n}function Le(E){var D={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(me){return D[me]})}var pe=/\/+/g;function fe(E,D){return typeof E=="object"&&E!==null&&E.key!=null?Le(""+E.key):D.toString(36)}function ie(E,D,me,xe,ve){var Re=typeof E;(Re==="undefined"||Re==="boolean")&&(E=null);var Fe=!1;if(E===null)Fe=!0;else switch(Re){case"string":case"number":Fe=!0;break;case"object":switch(E.$$typeof){case n:case i:Fe=!0}}if(Fe)return Fe=E,ve=ve(Fe),E=xe===""?"."+fe(Fe,0):xe,ne(ve)?(me="",E!=null&&(me=E.replace(pe,"$&/")+"/"),ie(ve,D,me,"",function(vt){return vt})):ve!=null&&(ce(ve)&&(ve=ee(ve,me+(!ve.key||Fe&&Fe.key===ve.key?"":(""+ve.key).replace(pe,"$&/")+"/")+E)),D.push(ve)),1;if(Fe=0,xe=xe===""?".":xe+":",ne(E))for(var Me=0;Me<E.length;Me++){Re=E[Me];var Ae=xe+fe(Re,Me);Fe+=ie(Re,D,me,Ae,ve)}else if(Ae=S(E),typeof Ae=="function")for(E=Ae.call(E),Me=0;!(Re=E.next()).done;)Re=Re.value,Ae=xe+fe(Re,Me++),Fe+=ie(Re,D,me,Ae,ve);else if(Re==="object")throw D=String(E),Error("Objects are not valid as a React child (found: "+(D==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":D)+"). If you meant to render a collection of children, use an array instead.");return Fe}function Ee(E,D,me){if(E==null)return E;var xe=[],ve=0;return ie(E,xe,"","",function(Re){return D.call(me,Re,ve++)}),xe}function he(E){if(E._status===-1){var D=E._result;D=D(),D.then(function(me){(E._status===0||E._status===-1)&&(E._status=1,E._result=me)},function(me){(E._status===0||E._status===-1)&&(E._status=2,E._result=me)}),E._status===-1&&(E._status=0,E._result=D)}if(E._status===1)return E._result.default;throw E._result}var ge={current:null},I={transition:null},Q={ReactCurrentDispatcher:ge,ReactCurrentBatchConfig:I,ReactCurrentOwner:Se};function W(){throw Error("act(...) is not supported in production builds of React.")}return Pe.Children={map:Ee,forEach:function(E,D,me){Ee(E,function(){D.apply(this,arguments)},me)},count:function(E){var D=0;return Ee(E,function(){D++}),D},toArray:function(E){return Ee(E,function(D){return D})||[]},only:function(E){if(!ce(E))throw Error("React.Children.only expected to receive a single React element child.");return E}},Pe.Component=F,Pe.Fragment=l,Pe.Profiler=o,Pe.PureComponent=H,Pe.StrictMode=u,Pe.Suspense=p,Pe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Q,Pe.act=W,Pe.cloneElement=function(E,D,me){if(E==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+E+".");var xe=b({},E.props),ve=E.key,Re=E.ref,Fe=E._owner;if(D!=null){if(D.ref!==void 0&&(Re=D.ref,Fe=Se.current),D.key!==void 0&&(ve=""+D.key),E.type&&E.type.defaultProps)var Me=E.type.defaultProps;for(Ae in D)ue.call(D,Ae)&&!O.hasOwnProperty(Ae)&&(xe[Ae]=D[Ae]===void 0&&Me!==void 0?Me[Ae]:D[Ae])}var Ae=arguments.length-2;if(Ae===1)xe.children=me;else if(1<Ae){Me=Array(Ae);for(var vt=0;vt<Ae;vt++)Me[vt]=arguments[vt+2];xe.children=Me}return{$$typeof:n,type:E.type,key:ve,ref:Re,props:xe,_owner:Fe}},Pe.createContext=function(E){return E={$$typeof:f,_currentValue:E,_currentValue2:E,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},E.Provider={$$typeof:c,_context:E},E.Consumer=E},Pe.createElement=Z,Pe.createFactory=function(E){var D=Z.bind(null,E);return D.type=E,D},Pe.createRef=function(){return{current:null}},Pe.forwardRef=function(E){return{$$typeof:h,render:E}},Pe.isValidElement=ce,Pe.lazy=function(E){return{$$typeof:x,_payload:{_status:-1,_result:E},_init:he}},Pe.memo=function(E,D){return{$$typeof:y,type:E,compare:D===void 0?null:D}},Pe.startTransition=function(E){var D=I.transition;I.transition={};try{E()}finally{I.transition=D}},Pe.unstable_act=W,Pe.useCallback=function(E,D){return ge.current.useCallback(E,D)},Pe.useContext=function(E){return ge.current.useContext(E)},Pe.useDebugValue=function(){},Pe.useDeferredValue=function(E){return ge.current.useDeferredValue(E)},Pe.useEffect=function(E,D){return ge.current.useEffect(E,D)},Pe.useId=function(){return ge.current.useId()},Pe.useImperativeHandle=function(E,D,me){return ge.current.useImperativeHandle(E,D,me)},Pe.useInsertionEffect=function(E,D){return ge.current.useInsertionEffect(E,D)},Pe.useLayoutEffect=function(E,D){return ge.current.useLayoutEffect(E,D)},Pe.useMemo=function(E,D){return ge.current.useMemo(E,D)},Pe.useReducer=function(E,D,me){return ge.current.useReducer(E,D,me)},Pe.useRef=function(E){return ge.current.useRef(E)},Pe.useState=function(E){return ge.current.useState(E)},Pe.useSyncExternalStore=function(E,D,me){return ge.current.useSyncExternalStore(E,D,me)},Pe.useTransition=function(){return ge.current.useTransition()},Pe.version="18.3.1",Pe}var Ld;function Il(){return Ld||(Ld=1,Ns.exports=am()),Ns.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 Pd;function lm(){if(Pd)return Xi;Pd=1;var n=Il(),i=Symbol.for("react.element"),l=Symbol.for("react.fragment"),u=Object.prototype.hasOwnProperty,o=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function f(h,p,y){var x,v={},S=null,N=null;y!==void 0&&(S=""+y),p.key!==void 0&&(S=""+p.key),p.ref!==void 0&&(N=p.ref);for(x in p)u.call(p,x)&&!c.hasOwnProperty(x)&&(v[x]=p[x]);if(h&&h.defaultProps)for(x in p=h.defaultProps,p)v[x]===void 0&&(v[x]=p[x]);return{$$typeof:i,type:h,key:S,ref:N,props:v,_owner:o.current}}return Xi.Fragment=l,Xi.jsx=f,Xi.jsxs=f,Xi}var Od;function om(){return Od||(Od=1,Ss.exports=lm()),Ss.exports}var g=om(),El={},js={exports:{}},Pt={},Es={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 Md;function sm(){return Md||(Md=1,(function(n){function i(I,Q){var W=I.length;I.push(Q);e:for(;0<W;){var E=W-1>>>1,D=I[E];if(0<o(D,Q))I[E]=Q,I[W]=D,W=E;else break e}}function l(I){return I.length===0?null:I[0]}function u(I){if(I.length===0)return null;var Q=I[0],W=I.pop();if(W!==Q){I[0]=W;e:for(var E=0,D=I.length,me=D>>>1;E<me;){var xe=2*(E+1)-1,ve=I[xe],Re=xe+1,Fe=I[Re];if(0>o(ve,W))Re<D&&0>o(Fe,ve)?(I[E]=Fe,I[Re]=W,E=Re):(I[E]=ve,I[xe]=W,E=xe);else if(Re<D&&0>o(Fe,W))I[E]=Fe,I[Re]=W,E=Re;else break e}}return Q}function o(I,Q){var W=I.sortIndex-Q.sortIndex;return W!==0?W:I.id-Q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;n.unstable_now=function(){return c.now()}}else{var f=Date,h=f.now();n.unstable_now=function(){return f.now()-h}}var p=[],y=[],x=1,v=null,S=3,N=!1,b=!1,z=!1,F=typeof setTimeout=="function"?setTimeout:null,Y=typeof clearTimeout=="function"?clearTimeout:null,H=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function G(I){for(var Q=l(y);Q!==null;){if(Q.callback===null)u(y);else if(Q.startTime<=I)u(y),Q.sortIndex=Q.expirationTime,i(p,Q);else break;Q=l(y)}}function ne(I){if(z=!1,G(I),!b)if(l(p)!==null)b=!0,he(ue);else{var Q=l(y);Q!==null&&ge(ne,Q.startTime-I)}}function ue(I,Q){b=!1,z&&(z=!1,Y(Z),Z=-1),N=!0;var W=S;try{for(G(Q),v=l(p);v!==null&&(!(v.expirationTime>Q)||I&&!Le());){var E=v.callback;if(typeof E=="function"){v.callback=null,S=v.priorityLevel;var D=E(v.expirationTime<=Q);Q=n.unstable_now(),typeof D=="function"?v.callback=D:v===l(p)&&u(p),G(Q)}else u(p);v=l(p)}if(v!==null)var me=!0;else{var xe=l(y);xe!==null&&ge(ne,xe.startTime-Q),me=!1}return me}finally{v=null,S=W,N=!1}}var Se=!1,O=null,Z=-1,ee=5,ce=-1;function Le(){return!(n.unstable_now()-ce<ee)}function pe(){if(O!==null){var I=n.unstable_now();ce=I;var Q=!0;try{Q=O(!0,I)}finally{Q?fe():(Se=!1,O=null)}}else Se=!1}var fe;if(typeof H=="function")fe=function(){H(pe)};else if(typeof MessageChannel<"u"){var ie=new MessageChannel,Ee=ie.port2;ie.port1.onmessage=pe,fe=function(){Ee.postMessage(null)}}else fe=function(){F(pe,0)};function he(I){O=I,Se||(Se=!0,fe())}function ge(I,Q){Z=F(function(){I(n.unstable_now())},Q)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(I){I.callback=null},n.unstable_continueExecution=function(){b||N||(b=!0,he(ue))},n.unstable_forceFrameRate=function(I){0>I||125<I?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ee=0<I?Math.floor(1e3/I):5},n.unstable_getCurrentPriorityLevel=function(){return S},n.unstable_getFirstCallbackNode=function(){return l(p)},n.unstable_next=function(I){switch(S){case 1:case 2:case 3:var Q=3;break;default:Q=S}var W=S;S=Q;try{return I()}finally{S=W}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(I,Q){switch(I){case 1:case 2:case 3:case 4:case 5:break;default:I=3}var W=S;S=I;try{return Q()}finally{S=W}},n.unstable_scheduleCallback=function(I,Q,W){var E=n.unstable_now();switch(typeof W=="object"&&W!==null?(W=W.delay,W=typeof W=="number"&&0<W?E+W:E):W=E,I){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=W+D,I={id:x++,callback:Q,priorityLevel:I,startTime:W,expirationTime:D,sortIndex:-1},W>E?(I.sortIndex=W,i(y,I),l(p)===null&&I===l(y)&&(z?(Y(Z),Z=-1):z=!0,ge(ne,W-E))):(I.sortIndex=D,i(p,I),b||N||(b=!0,he(ue))),I},n.unstable_shouldYield=Le,n.unstable_wrapCallback=function(I){var Q=S;return function(){var W=S;S=Q;try{return I.apply(this,arguments)}finally{S=W}}}})(Cs)),Cs}var _d;function um(){return _d||(_d=1,Es.exports=sm()),Es.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 Td;function cm(){if(Td)return Pt;Td=1;var n=Il(),i=um();function l(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,o={};function c(e,t){f(e,t),f(e+"Capture",t)}function f(e,t){for(o[e]=t,e=0;e<t.length;e++)u.add(t[e])}var h=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),p=Object.prototype.hasOwnProperty,y=/^[: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]*$/,x={},v={};function S(e){return p.call(v,e)?!0:p.call(x,e)?!1:y.test(e)?v[e]=!0:(x[e]=!0,!1)}function N(e,t,r,a){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return a?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function b(e,t,r,a){if(t===null||typeof t>"u"||N(e,t,r,a))return!0;if(a)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 z(e,t,r,a,s,d,m){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=a,this.attributeNamespace=s,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=d,this.removeEmptyString=m}var F={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){F[e]=new z(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];F[t]=new z(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){F[e]=new z(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){F[e]=new z(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){F[e]=new z(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){F[e]=new z(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){F[e]=new z(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){F[e]=new z(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){F[e]=new z(e,5,!1,e.toLowerCase(),null,!1,!1)});var Y=/[\-:]([a-z])/g;function H(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(Y,H);F[t]=new z(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(Y,H);F[t]=new z(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(Y,H);F[t]=new z(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){F[e]=new z(e,1,!1,e.toLowerCase(),null,!1,!1)}),F.xlinkHref=new z("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){F[e]=new z(e,1,!1,e.toLowerCase(),null,!0,!0)});function G(e,t,r,a){var s=F.hasOwnProperty(t)?F[t]:null;(s!==null?s.type!==0:a||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(b(t,r,s,a)&&(r=null),a||s===null?S(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):s.mustUseProperty?e[s.propertyName]=r===null?s.type===3?!1:"":r:(t=s.attributeName,a=s.attributeNamespace,r===null?e.removeAttribute(t):(s=s.type,r=s===3||s===4&&r===!0?"":""+r,a?e.setAttributeNS(a,t,r):e.setAttribute(t,r))))}var ne=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ue=Symbol.for("react.element"),Se=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),Z=Symbol.for("react.strict_mode"),ee=Symbol.for("react.profiler"),ce=Symbol.for("react.provider"),Le=Symbol.for("react.context"),pe=Symbol.for("react.forward_ref"),fe=Symbol.for("react.suspense"),ie=Symbol.for("react.suspense_list"),Ee=Symbol.for("react.memo"),he=Symbol.for("react.lazy"),ge=Symbol.for("react.offscreen"),I=Symbol.iterator;function Q(e){return e===null||typeof e!="object"?null:(e=I&&e[I]||e["@@iterator"],typeof e=="function"?e:null)}var W=Object.assign,E;function D(e){if(E===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);E=t&&t[1]||""}return`
`+E+e}var me=!1;function xe(e,t){if(!e||me)return"";me=!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(T){var a=T}Reflect.construct(e,[],t)}else{try{t.call()}catch(T){a=T}e.call(t.prototype)}else{try{throw Error()}catch(T){a=T}e()}}catch(T){if(T&&a&&typeof T.stack=="string"){for(var s=T.stack.split(`
`),d=a.stack.split(`
`),m=s.length-1,w=d.length-1;1<=m&&0<=w&&s[m]!==d[w];)w--;for(;1<=m&&0<=w;m--,w--)if(s[m]!==d[w]){if(m!==1||w!==1)do if(m--,w--,0>w||s[m]!==d[w]){var j=`
`+s[m].replace(" at new "," at ");return e.displayName&&j.includes("<anonymous>")&&(j=j.replace("<anonymous>",e.displayName)),j}while(1<=m&&0<=w);break}}}finally{me=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?D(e):""}function ve(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=xe(e.type,!1),e;case 11:return e=xe(e.type.render,!1),e;case 1:return e=xe(e.type,!0),e;default:return""}}function Re(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 O:return"Fragment";case Se:return"Portal";case ee:return"Profiler";case Z:return"StrictMode";case fe:return"Suspense";case ie:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Le:return(e.displayName||"Context")+".Consumer";case ce:return(e._context.displayName||"Context")+".Provider";case pe:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ee:return t=e.displayName||null,t!==null?t:Re(e.type)||"Memo";case he:t=e._payload,e=e._init;try{return Re(e(t))}catch{}}return null}function Fe(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 Re(t);case 8:return t===Z?"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 Me(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ae(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function vt(e){var t=Ae(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var s=r.get,d=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(m){a=""+m,d.call(this,m)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return a},setValue:function(m){a=""+m},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Mn(e){e._valueTracker||(e._valueTracker=vt(e))}function nt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),a="";return e&&(a=Ae(e)?e.checked?"true":"false":e.value),e=a,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 _n(e,t){var r=t.checked;return W({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function ya(e,t){var r=t.defaultValue==null?"":t.defaultValue,a=t.checked!=null?t.checked:t.defaultChecked;r=Me(t.value!=null?t.value:r),e._wrapperState={initialChecked:a,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function rr(e,t){t=t.checked,t!=null&&G(e,"checked",t,!1)}function ci(e,t){rr(e,t);var r=Me(t.value),a=t.type;if(r!=null)a==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(a==="submit"||a==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Tn(e,t.type,r):t.hasOwnProperty("defaultValue")&&Tn(e,t.type,Me(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function va(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var a=t.type;if(!(a!=="submit"&&a!=="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 Tn(e,t,r){(t!=="number"||Qt(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var ln=Array.isArray;function Rr(e,t,r,a){if(e=e.options,t){t={};for(var s=0;s<r.length;s++)t["$"+r[s]]=!0;for(r=0;r<e.length;r++)s=t.hasOwnProperty("$"+e[r].value),e[r].selected!==s&&(e[r].selected=s),s&&a&&(e[r].defaultSelected=!0)}else{for(r=""+Me(r),t=null,s=0;s<e.length;s++){if(e[s].value===r){e[s].selected=!0,a&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function di(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(l(91));return W({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function xa(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(l(92));if(ln(r)){if(1<r.length)throw Error(l(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:Me(r)}}function nr(e,t){var r=Me(t.value),a=Me(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),a!=null&&(e.defaultValue=""+a)}function br(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function fi(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 on(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?fi(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Nt,Ft=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,r,a,s){MSApp.execUnsafeLocalFunction(function(){return e(t,r,a,s)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Nt=Nt||document.createElement("div"),Nt.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Nt.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Lr(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var sn={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},hi=["Webkit","ms","Moz","O"];Object.keys(sn).forEach(function(e){hi.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),sn[t]=sn[e]})});function wa(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||sn.hasOwnProperty(e)&&sn[e]?(""+t).trim():t+"px"}function It(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var a=r.indexOf("--")===0,s=wa(r,t[r],a);r==="float"&&(r="cssFloat"),a?e.setProperty(r,s):e[r]=s}}var ka=W({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 zn(e,t){if(t){if(ka[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(l(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(l(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(l(61))}if(t.style!=null&&typeof t.style!="object")throw Error(l(62))}}function Dn(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 pi=null;function Fn(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Pr=null,pr=null,ir=null;function Sa(e){if(e=Di(e)){if(typeof Pr!="function")throw Error(l(280));var t=e.stateNode;t&&(t=$a(t),Pr(e.stateNode,e.type,t))}}function mi(e){pr?ir?ir.push(e):ir=[e]:pr=e}function Na(){if(pr){var e=pr,t=ir;if(ir=pr=null,Sa(e),t)for(e=0;e<t.length;e++)Sa(t[e])}}function gi(e,t){return e(t)}function un(){}var Or=!1;function yi(e,t,r){if(Or)return e(t,r);Or=!0;try{return gi(e,t,r)}finally{Or=!1,(pr!==null||ir!==null)&&(un(),Na())}}function cn(e,t){var r=e.stateNode;if(r===null)return null;var a=$a(r);if(a===null)return null;r=a[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":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(l(231,t,typeof r));return r}var vi=!1;if(h)try{var k={};Object.defineProperty(k,"passive",{get:function(){vi=!0}}),window.addEventListener("test",k,k),window.removeEventListener("test",k,k)}catch{vi=!1}function R(e,t,r,a,s,d,m,w,j){var T=Array.prototype.slice.call(arguments,3);try{t.apply(r,T)}catch(A){this.onError(A)}}var _=!1,U=null,K=!1,oe=null,ye={onError:function(e){_=!0,U=e}};function X(e,t,r,a,s,d,m,w,j){_=!1,U=null,R.apply(ye,arguments)}function te(e,t,r,a,s,d,m,w,j){if(X.apply(this,arguments),_){if(_){var T=U;_=!1,U=null}else throw Error(l(198));K||(K=!0,oe=T)}}function ae(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 Ce(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 de(e){if(ae(e)!==e)throw Error(l(188))}function be(e){var t=e.alternate;if(!t){if(t=ae(e),t===null)throw Error(l(188));return t!==e?null:e}for(var r=e,a=t;;){var s=r.return;if(s===null)break;var d=s.alternate;if(d===null){if(a=s.return,a!==null){r=a;continue}break}if(s.child===d.child){for(d=s.child;d;){if(d===r)return de(s),e;if(d===a)return de(s),t;d=d.sibling}throw Error(l(188))}if(r.return!==a.return)r=s,a=d;else{for(var m=!1,w=s.child;w;){if(w===r){m=!0,r=s,a=d;break}if(w===a){m=!0,a=s,r=d;break}w=w.sibling}if(!m){for(w=d.child;w;){if(w===r){m=!0,r=d,a=s;break}if(w===a){m=!0,a=d,r=s;break}w=w.sibling}if(!m)throw Error(l(189))}}if(r.alternate!==a)throw Error(l(190))}if(r.tag!==3)throw Error(l(188));return r.stateNode.current===r?e:t}function _e(e){return e=be(e),e!==null?et(e):null}function et(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=et(e);if(t!==null)return t;e=e.sibling}return null}var qe=i.unstable_scheduleCallback,lt=i.unstable_cancelCallback,Ie=i.unstable_shouldYield,jt=i.unstable_requestPaint,He=i.unstable_now,dn=i.unstable_getCurrentPriorityLevel,Ht=i.unstable_ImmediatePriority,Ot=i.unstable_UserBlockingPriority,Mr=i.unstable_NormalPriority,fn=i.unstable_LowPriority,ar=i.unstable_IdlePriority,mr=null,xt=null;function Te(e){if(xt&&typeof xt.onCommitFiberRoot=="function")try{xt.onCommitFiberRoot(mr,e,void 0,(e.current.flags&128)===128)}catch{}}var Ue=Math.clz32?Math.clz32:Ke,_r=Math.log,gr=Math.LN2;function Ke(e){return e>>>=0,e===0?32:31-(_r(e)/gr|0)|0}var yr=64,hn=4194304;function pn(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 ja(e,t){var r=e.pendingLanes;if(r===0)return 0;var a=0,s=e.suspendedLanes,d=e.pingedLanes,m=r&268435455;if(m!==0){var w=m&~s;w!==0?a=pn(w):(d&=m,d!==0&&(a=pn(d)))}else m=r&~s,m!==0?a=pn(m):d!==0&&(a=pn(d));if(a===0)return 0;if(t!==0&&t!==a&&(t&s)===0&&(s=a&-a,d=t&-t,s>=d||s===16&&(d&4194240)!==0))return t;if((a&4)!==0&&(a|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=a;0<t;)r=31-Ue(t),s=1<<r,a|=e[r],t&=~s;return a}function Sh(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 Nh(e,t){for(var r=e.suspendedLanes,a=e.pingedLanes,s=e.expirationTimes,d=e.pendingLanes;0<d;){var m=31-Ue(d),w=1<<m,j=s[m];j===-1?((w&r)===0||(w&a)!==0)&&(s[m]=Sh(w,t)):j<=t&&(e.expiredLanes|=w),d&=~w}}function Al(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function au(){var e=yr;return yr<<=1,(yr&4194240)===0&&(yr=64),e}function Vl(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function xi(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ue(t),e[t]=r}function jh(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 a=e.eventTimes;for(e=e.expirationTimes;0<r;){var s=31-Ue(r),d=1<<s;t[s]=0,a[s]=-1,e[s]=-1,r&=~d}}function Bl(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var a=31-Ue(r),s=1<<a;s&t|e[a]&t&&(e[a]|=t),r&=~s}}var $e=0;function lu(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var ou,Wl,su,uu,cu,Kl=!1,Ea=[],Tr=null,zr=null,Dr=null,wi=new Map,ki=new Map,Fr=[],Eh="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 du(e,t){switch(e){case"focusin":case"focusout":Tr=null;break;case"dragenter":case"dragleave":zr=null;break;case"mouseover":case"mouseout":Dr=null;break;case"pointerover":case"pointerout":wi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ki.delete(t.pointerId)}}function Si(e,t,r,a,s,d){return e===null||e.nativeEvent!==d?(e={blockedOn:t,domEventName:r,eventSystemFlags:a,nativeEvent:d,targetContainers:[s]},t!==null&&(t=Di(t),t!==null&&Wl(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function Ch(e,t,r,a,s){switch(t){case"focusin":return Tr=Si(Tr,e,t,r,a,s),!0;case"dragenter":return zr=Si(zr,e,t,r,a,s),!0;case"mouseover":return Dr=Si(Dr,e,t,r,a,s),!0;case"pointerover":var d=s.pointerId;return wi.set(d,Si(wi.get(d)||null,e,t,r,a,s)),!0;case"gotpointercapture":return d=s.pointerId,ki.set(d,Si(ki.get(d)||null,e,t,r,a,s)),!0}return!1}function fu(e){var t=mn(e.target);if(t!==null){var r=ae(t);if(r!==null){if(t=r.tag,t===13){if(t=Ce(r),t!==null){e.blockedOn=t,cu(e.priority,function(){su(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 Ca(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=Gl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r===null){r=e.nativeEvent;var a=new r.constructor(r.type,r);pi=a,r.target.dispatchEvent(a),pi=null}else return t=Di(r),t!==null&&Wl(t),e.blockedOn=r,!1;t.shift()}return!0}function hu(e,t,r){Ca(e)&&r.delete(t)}function Rh(){Kl=!1,Tr!==null&&Ca(Tr)&&(Tr=null),zr!==null&&Ca(zr)&&(zr=null),Dr!==null&&Ca(Dr)&&(Dr=null),wi.forEach(hu),ki.forEach(hu)}function Ni(e,t){e.blockedOn===t&&(e.blockedOn=null,Kl||(Kl=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Rh)))}function ji(e){function t(s){return Ni(s,e)}if(0<Ea.length){Ni(Ea[0],e);for(var r=1;r<Ea.length;r++){var a=Ea[r];a.blockedOn===e&&(a.blockedOn=null)}}for(Tr!==null&&Ni(Tr,e),zr!==null&&Ni(zr,e),Dr!==null&&Ni(Dr,e),wi.forEach(t),ki.forEach(t),r=0;r<Fr.length;r++)a=Fr[r],a.blockedOn===e&&(a.blockedOn=null);for(;0<Fr.length&&(r=Fr[0],r.blockedOn===null);)fu(r),r.blockedOn===null&&Fr.shift()}var In=ne.ReactCurrentBatchConfig,Ra=!0;function bh(e,t,r,a){var s=$e,d=In.transition;In.transition=null;try{$e=1,Yl(e,t,r,a)}finally{$e=s,In.transition=d}}function Lh(e,t,r,a){var s=$e,d=In.transition;In.transition=null;try{$e=4,Yl(e,t,r,a)}finally{$e=s,In.transition=d}}function Yl(e,t,r,a){if(Ra){var s=Gl(e,t,r,a);if(s===null)fo(e,t,a,ba,r),du(e,a);else if(Ch(s,e,t,r,a))a.stopPropagation();else if(du(e,a),t&4&&-1<Eh.indexOf(e)){for(;s!==null;){var d=Di(s);if(d!==null&&ou(d),d=Gl(e,t,r,a),d===null&&fo(e,t,a,ba,r),d===s)break;s=d}s!==null&&a.stopPropagation()}else fo(e,t,a,null,r)}}var ba=null;function Gl(e,t,r,a){if(ba=null,e=Fn(a),e=mn(e),e!==null)if(t=ae(e),t===null)e=null;else if(r=t.tag,r===13){if(e=Ce(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 ba=e,null}function pu(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(dn()){case Ht:return 1;case Ot:return 4;case Mr:case fn:return 16;case ar:return 536870912;default:return 16}default:return 16}}var Ir=null,Ql=null,La=null;function mu(){if(La)return La;var e,t=Ql,r=t.length,a,s="value"in Ir?Ir.value:Ir.textContent,d=s.length;for(e=0;e<r&&t[e]===s[e];e++);var m=r-e;for(a=1;a<=m&&t[r-a]===s[d-a];a++);return La=s.slice(e,1<a?1-a:void 0)}function Pa(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 Oa(){return!0}function gu(){return!1}function Mt(e){function t(r,a,s,d,m){this._reactName=r,this._targetInst=s,this.type=a,this.nativeEvent=d,this.target=m,this.currentTarget=null;for(var w in e)e.hasOwnProperty(w)&&(r=e[w],this[w]=r?r(d):d[w]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?Oa:gu,this.isPropagationStopped=gu,this}return W(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=Oa)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Oa)},persist:function(){},isPersistent:Oa}),t}var Hn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Jl=Mt(Hn),Ei=W({},Hn,{view:0,detail:0}),Ph=Mt(Ei),Xl,ql,Ci,Ma=W({},Ei,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:eo,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!==Ci&&(Ci&&e.type==="mousemove"?(Xl=e.screenX-Ci.screenX,ql=e.screenY-Ci.screenY):ql=Xl=0,Ci=e),Xl)},movementY:function(e){return"movementY"in e?e.movementY:ql}}),yu=Mt(Ma),Oh=W({},Ma,{dataTransfer:0}),Mh=Mt(Oh),_h=W({},Ei,{relatedTarget:0}),Zl=Mt(_h),Th=W({},Hn,{animationName:0,elapsedTime:0,pseudoElement:0}),zh=Mt(Th),Dh=W({},Hn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Fh=Mt(Dh),Ih=W({},Hn,{data:0}),vu=Mt(Ih),Hh={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},$h={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"},Uh={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ah(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Uh[e])?!!t[e]:!1}function eo(){return Ah}var Vh=W({},Ei,{key:function(e){if(e.key){var t=Hh[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Pa(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?$h[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:eo,charCode:function(e){return e.type==="keypress"?Pa(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Pa(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Bh=Mt(Vh),Wh=W({},Ma,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),xu=Mt(Wh),Kh=W({},Ei,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:eo}),Yh=Mt(Kh),Gh=W({},Hn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Qh=Mt(Gh),Jh=W({},Ma,{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}),Xh=Mt(Jh),qh=[9,13,27,32],to=h&&"CompositionEvent"in window,Ri=null;h&&"documentMode"in document&&(Ri=document.documentMode);var Zh=h&&"TextEvent"in window&&!Ri,wu=h&&(!to||Ri&&8<Ri&&11>=Ri),ku=" ",Su=!1;function Nu(e,t){switch(e){case"keyup":return qh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ju(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var $n=!1;function ep(e,t){switch(e){case"compositionend":return ju(t);case"keypress":return t.which!==32?null:(Su=!0,ku);case"textInput":return e=t.data,e===ku&&Su?null:e;default:return null}}function tp(e,t){if($n)return e==="compositionend"||!to&&Nu(e,t)?(e=mu(),La=Ql=Ir=null,$n=!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 wu&&t.locale!=="ko"?null:t.data;default:return null}}var rp={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 Eu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!rp[e.type]:t==="textarea"}function Cu(e,t,r,a){mi(a),t=Fa(t,"onChange"),0<t.length&&(r=new Jl("onChange","change",null,r,a),e.push({event:r,listeners:t}))}var bi=null,Li=null;function np(e){Bu(e,0)}function _a(e){var t=Wn(e);if(nt(t))return e}function ip(e,t){if(e==="change")return t}var Ru=!1;if(h){var ro;if(h){var no="oninput"in document;if(!no){var bu=document.createElement("div");bu.setAttribute("oninput","return;"),no=typeof bu.oninput=="function"}ro=no}else ro=!1;Ru=ro&&(!document.documentMode||9<document.documentMode)}function Lu(){bi&&(bi.detachEvent("onpropertychange",Pu),Li=bi=null)}function Pu(e){if(e.propertyName==="value"&&_a(Li)){var t=[];Cu(t,Li,e,Fn(e)),yi(np,t)}}function ap(e,t,r){e==="focusin"?(Lu(),bi=t,Li=r,bi.attachEvent("onpropertychange",Pu)):e==="focusout"&&Lu()}function lp(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return _a(Li)}function op(e,t){if(e==="click")return _a(t)}function sp(e,t){if(e==="input"||e==="change")return _a(t)}function up(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Jt=typeof Object.is=="function"?Object.is:up;function Pi(e,t){if(Jt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),a=Object.keys(t);if(r.length!==a.length)return!1;for(a=0;a<r.length;a++){var s=r[a];if(!p.call(t,s)||!Jt(e[s],t[s]))return!1}return!0}function Ou(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Mu(e,t){var r=Ou(e);e=0;for(var a;r;){if(r.nodeType===3){if(a=e+r.textContent.length,e<=t&&a>=t)return{node:r,offset:t-e};e=a}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Ou(r)}}function _u(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?_u(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Tu(){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 io(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 cp(e){var t=Tu(),r=e.focusedElem,a=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&_u(r.ownerDocument.documentElement,r)){if(a!==null&&io(r)){if(t=a.start,e=a.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 s=r.textContent.length,d=Math.min(a.start,s);a=a.end===void 0?d:Math.min(a.end,s),!e.extend&&d>a&&(s=a,a=d,d=s),s=Mu(r,d);var m=Mu(r,a);s&&m&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==m.node||e.focusOffset!==m.offset)&&(t=t.createRange(),t.setStart(s.node,s.offset),e.removeAllRanges(),d>a?(e.addRange(t),e.extend(m.node,m.offset)):(t.setEnd(m.node,m.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 dp=h&&"documentMode"in document&&11>=document.documentMode,Un=null,ao=null,Oi=null,lo=!1;function zu(e,t,r){var a=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;lo||Un==null||Un!==Qt(a)||(a=Un,"selectionStart"in a&&io(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Oi&&Pi(Oi,a)||(Oi=a,a=Fa(ao,"onSelect"),0<a.length&&(t=new Jl("onSelect","select",null,t,r),e.push({event:t,listeners:a}),t.target=Un)))}function Ta(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var An={animationend:Ta("Animation","AnimationEnd"),animationiteration:Ta("Animation","AnimationIteration"),animationstart:Ta("Animation","AnimationStart"),transitionend:Ta("Transition","TransitionEnd")},oo={},Du={};h&&(Du=document.createElement("div").style,"AnimationEvent"in window||(delete An.animationend.animation,delete An.animationiteration.animation,delete An.animationstart.animation),"TransitionEvent"in window||delete An.transitionend.transition);function za(e){if(oo[e])return oo[e];if(!An[e])return e;var t=An[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in Du)return oo[e]=t[r];return e}var Fu=za("animationend"),Iu=za("animationiteration"),Hu=za("animationstart"),$u=za("transitionend"),Uu=new Map,Au="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 Hr(e,t){Uu.set(e,t),c(t,[e])}for(var so=0;so<Au.length;so++){var uo=Au[so],fp=uo.toLowerCase(),hp=uo[0].toUpperCase()+uo.slice(1);Hr(fp,"on"+hp)}Hr(Fu,"onAnimationEnd"),Hr(Iu,"onAnimationIteration"),Hr(Hu,"onAnimationStart"),Hr("dblclick","onDoubleClick"),Hr("focusin","onFocus"),Hr("focusout","onBlur"),Hr($u,"onTransitionEnd"),f("onMouseEnter",["mouseout","mouseover"]),f("onMouseLeave",["mouseout","mouseover"]),f("onPointerEnter",["pointerout","pointerover"]),f("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Mi="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(" "),pp=new Set("cancel close invalid load scroll toggle".split(" ").concat(Mi));function Vu(e,t,r){var a=e.type||"unknown-event";e.currentTarget=r,te(a,t,void 0,e),e.currentTarget=null}function Bu(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var a=e[r],s=a.event;a=a.listeners;e:{var d=void 0;if(t)for(var m=a.length-1;0<=m;m--){var w=a[m],j=w.instance,T=w.currentTarget;if(w=w.listener,j!==d&&s.isPropagationStopped())break e;Vu(s,w,T),d=j}else for(m=0;m<a.length;m++){if(w=a[m],j=w.instance,T=w.currentTarget,w=w.listener,j!==d&&s.isPropagationStopped())break e;Vu(s,w,T),d=j}}}if(K)throw e=oe,K=!1,oe=null,e}function Be(e,t){var r=t[vo];r===void 0&&(r=t[vo]=new Set);var a=e+"__bubble";r.has(a)||(Wu(t,e,2,!1),r.add(a))}function co(e,t,r){var a=0;t&&(a|=4),Wu(r,e,a,t)}var Da="_reactListening"+Math.random().toString(36).slice(2);function _i(e){if(!e[Da]){e[Da]=!0,u.forEach(function(r){r!=="selectionchange"&&(pp.has(r)||co(r,!1,e),co(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Da]||(t[Da]=!0,co("selectionchange",!1,t))}}function Wu(e,t,r,a){switch(pu(t)){case 1:var s=bh;break;case 4:s=Lh;break;default:s=Yl}r=s.bind(null,t,r,e),s=void 0,!vi||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),a?s!==void 0?e.addEventListener(t,r,{capture:!0,passive:s}):e.addEventListener(t,r,!0):s!==void 0?e.addEventListener(t,r,{passive:s}):e.addEventListener(t,r,!1)}function fo(e,t,r,a,s){var d=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var m=a.tag;if(m===3||m===4){var w=a.stateNode.containerInfo;if(w===s||w.nodeType===8&&w.parentNode===s)break;if(m===4)for(m=a.return;m!==null;){var j=m.tag;if((j===3||j===4)&&(j=m.stateNode.containerInfo,j===s||j.nodeType===8&&j.parentNode===s))return;m=m.return}for(;w!==null;){if(m=mn(w),m===null)return;if(j=m.tag,j===5||j===6){a=d=m;continue e}w=w.parentNode}}a=a.return}yi(function(){var T=d,A=Fn(r),V=[];e:{var $=Uu.get(e);if($!==void 0){var J=Jl,re=e;switch(e){case"keypress":if(Pa(r)===0)break e;case"keydown":case"keyup":J=Bh;break;case"focusin":re="focus",J=Zl;break;case"focusout":re="blur",J=Zl;break;case"beforeblur":case"afterblur":J=Zl;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":J=yu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":J=Mh;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":J=Yh;break;case Fu:case Iu:case Hu:J=zh;break;case $u:J=Qh;break;case"scroll":J=Ph;break;case"wheel":J=Xh;break;case"copy":case"cut":case"paste":J=Fh;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":J=xu}var le=(t&4)!==0,Ze=!le&&e==="scroll",P=le?$!==null?$+"Capture":null:$;le=[];for(var C=T,M;C!==null;){M=C;var B=M.stateNode;if(M.tag===5&&B!==null&&(M=B,P!==null&&(B=cn(C,P),B!=null&&le.push(Ti(C,B,M)))),Ze)break;C=C.return}0<le.length&&($=new J($,re,null,r,A),V.push({event:$,listeners:le}))}}if((t&7)===0){e:{if($=e==="mouseover"||e==="pointerover",J=e==="mouseout"||e==="pointerout",$&&r!==pi&&(re=r.relatedTarget||r.fromElement)&&(mn(re)||re[vr]))break e;if((J||$)&&($=A.window===A?A:($=A.ownerDocument)?$.defaultView||$.parentWindow:window,J?(re=r.relatedTarget||r.toElement,J=T,re=re?mn(re):null,re!==null&&(Ze=ae(re),re!==Ze||re.tag!==5&&re.tag!==6)&&(re=null)):(J=null,re=T),J!==re)){if(le=yu,B="onMouseLeave",P="onMouseEnter",C="mouse",(e==="pointerout"||e==="pointerover")&&(le=xu,B="onPointerLeave",P="onPointerEnter",C="pointer"),Ze=J==null?$:Wn(J),M=re==null?$:Wn(re),$=new le(B,C+"leave",J,r,A),$.target=Ze,$.relatedTarget=M,B=null,mn(A)===T&&(le=new le(P,C+"enter",re,r,A),le.target=M,le.relatedTarget=Ze,B=le),Ze=B,J&&re)t:{for(le=J,P=re,C=0,M=le;M;M=Vn(M))C++;for(M=0,B=P;B;B=Vn(B))M++;for(;0<C-M;)le=Vn(le),C--;for(;0<M-C;)P=Vn(P),M--;for(;C--;){if(le===P||P!==null&&le===P.alternate)break t;le=Vn(le),P=Vn(P)}le=null}else le=null;J!==null&&Ku(V,$,J,le,!1),re!==null&&Ze!==null&&Ku(V,Ze,re,le,!0)}}e:{if($=T?Wn(T):window,J=$.nodeName&&$.nodeName.toLowerCase(),J==="select"||J==="input"&&$.type==="file")var se=ip;else if(Eu($))if(Ru)se=sp;else{se=lp;var we=ap}else(J=$.nodeName)&&J.toLowerCase()==="input"&&($.type==="checkbox"||$.type==="radio")&&(se=op);if(se&&(se=se(e,T))){Cu(V,se,r,A);break e}we&&we(e,$,T),e==="focusout"&&(we=$._wrapperState)&&we.controlled&&$.type==="number"&&Tn($,"number",$.value)}switch(we=T?Wn(T):window,e){case"focusin":(Eu(we)||we.contentEditable==="true")&&(Un=we,ao=T,Oi=null);break;case"focusout":Oi=ao=Un=null;break;case"mousedown":lo=!0;break;case"contextmenu":case"mouseup":case"dragend":lo=!1,zu(V,r,A);break;case"selectionchange":if(dp)break;case"keydown":case"keyup":zu(V,r,A)}var ke;if(to)e:{switch(e){case"compositionstart":var Ne="onCompositionStart";break e;case"compositionend":Ne="onCompositionEnd";break e;case"compositionupdate":Ne="onCompositionUpdate";break e}Ne=void 0}else $n?Nu(e,r)&&(Ne="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(Ne="onCompositionStart");Ne&&(wu&&r.locale!=="ko"&&($n||Ne!=="onCompositionStart"?Ne==="onCompositionEnd"&&$n&&(ke=mu()):(Ir=A,Ql="value"in Ir?Ir.value:Ir.textContent,$n=!0)),we=Fa(T,Ne),0<we.length&&(Ne=new vu(Ne,e,null,r,A),V.push({event:Ne,listeners:we}),ke?Ne.data=ke:(ke=ju(r),ke!==null&&(Ne.data=ke)))),(ke=Zh?ep(e,r):tp(e,r))&&(T=Fa(T,"onBeforeInput"),0<T.length&&(A=new vu("onBeforeInput","beforeinput",null,r,A),V.push({event:A,listeners:T}),A.data=ke))}Bu(V,t)})}function Ti(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Fa(e,t){for(var r=t+"Capture",a=[];e!==null;){var s=e,d=s.stateNode;s.tag===5&&d!==null&&(s=d,d=cn(e,r),d!=null&&a.unshift(Ti(e,d,s)),d=cn(e,t),d!=null&&a.push(Ti(e,d,s))),e=e.return}return a}function Vn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Ku(e,t,r,a,s){for(var d=t._reactName,m=[];r!==null&&r!==a;){var w=r,j=w.alternate,T=w.stateNode;if(j!==null&&j===a)break;w.tag===5&&T!==null&&(w=T,s?(j=cn(r,d),j!=null&&m.unshift(Ti(r,j,w))):s||(j=cn(r,d),j!=null&&m.push(Ti(r,j,w)))),r=r.return}m.length!==0&&e.push({event:t,listeners:m})}var mp=/\r\n?/g,gp=/\u0000|\uFFFD/g;function Yu(e){return(typeof e=="string"?e:""+e).replace(mp,`
`).replace(gp,"")}function Ia(e,t,r){if(t=Yu(t),Yu(e)!==t&&r)throw Error(l(425))}function Ha(){}var ho=null,po=null;function mo(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 go=typeof setTimeout=="function"?setTimeout:void 0,yp=typeof clearTimeout=="function"?clearTimeout:void 0,Gu=typeof Promise=="function"?Promise:void 0,vp=typeof queueMicrotask=="function"?queueMicrotask:typeof Gu<"u"?function(e){return Gu.resolve(null).then(e).catch(xp)}:go;function xp(e){setTimeout(function(){throw e})}function yo(e,t){var r=t,a=0;do{var s=r.nextSibling;if(e.removeChild(r),s&&s.nodeType===8)if(r=s.data,r==="/$"){if(a===0){e.removeChild(s),ji(t);return}a--}else r!=="$"&&r!=="$?"&&r!=="$!"||a++;r=s}while(r);ji(t)}function $r(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 Qu(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 Bn=Math.random().toString(36).slice(2),lr="__reactFiber$"+Bn,zi="__reactProps$"+Bn,vr="__reactContainer$"+Bn,vo="__reactEvents$"+Bn,wp="__reactListeners$"+Bn,kp="__reactHandles$"+Bn;function mn(e){var t=e[lr];if(t)return t;for(var r=e.parentNode;r;){if(t=r[vr]||r[lr]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=Qu(e);e!==null;){if(r=e[lr])return r;e=Qu(e)}return t}e=r,r=e.parentNode}return null}function Di(e){return e=e[lr]||e[vr],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Wn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(l(33))}function $a(e){return e[zi]||null}var xo=[],Kn=-1;function Ur(e){return{current:e}}function We(e){0>Kn||(e.current=xo[Kn],xo[Kn]=null,Kn--)}function Ve(e,t){Kn++,xo[Kn]=e.current,e.current=t}var Ar={},ht=Ur(Ar),Et=Ur(!1),gn=Ar;function Yn(e,t){var r=e.type.contextTypes;if(!r)return Ar;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===t)return a.__reactInternalMemoizedMaskedChildContext;var s={},d;for(d in r)s[d]=t[d];return a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function Ct(e){return e=e.childContextTypes,e!=null}function Ua(){We(Et),We(ht)}function Ju(e,t,r){if(ht.current!==Ar)throw Error(l(168));Ve(ht,t),Ve(Et,r)}function Xu(e,t,r){var a=e.stateNode;if(t=t.childContextTypes,typeof a.getChildContext!="function")return r;a=a.getChildContext();for(var s in a)if(!(s in t))throw Error(l(108,Fe(e)||"Unknown",s));return W({},r,a)}function Aa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ar,gn=ht.current,Ve(ht,e),Ve(Et,Et.current),!0}function qu(e,t,r){var a=e.stateNode;if(!a)throw Error(l(169));r?(e=Xu(e,t,gn),a.__reactInternalMemoizedMergedChildContext=e,We(Et),We(ht),Ve(ht,e)):We(Et),Ve(Et,r)}var xr=null,Va=!1,wo=!1;function Zu(e){xr===null?xr=[e]:xr.push(e)}function Sp(e){Va=!0,Zu(e)}function Vr(){if(!wo&&xr!==null){wo=!0;var e=0,t=$e;try{var r=xr;for($e=1;e<r.length;e++){var a=r[e];do a=a(!0);while(a!==null)}xr=null,Va=!1}catch(s){throw xr!==null&&(xr=xr.slice(e+1)),qe(Ht,Vr),s}finally{$e=t,wo=!1}}return null}var Gn=[],Qn=0,Ba=null,Wa=0,$t=[],Ut=0,yn=null,wr=1,kr="";function vn(e,t){Gn[Qn++]=Wa,Gn[Qn++]=Ba,Ba=e,Wa=t}function ec(e,t,r){$t[Ut++]=wr,$t[Ut++]=kr,$t[Ut++]=yn,yn=e;var a=wr;e=kr;var s=32-Ue(a)-1;a&=~(1<<s),r+=1;var d=32-Ue(t)+s;if(30<d){var m=s-s%5;d=(a&(1<<m)-1).toString(32),a>>=m,s-=m,wr=1<<32-Ue(t)+s|r<<s|a,kr=d+e}else wr=1<<d|r<<s|a,kr=e}function ko(e){e.return!==null&&(vn(e,1),ec(e,1,0))}function So(e){for(;e===Ba;)Ba=Gn[--Qn],Gn[Qn]=null,Wa=Gn[--Qn],Gn[Qn]=null;for(;e===yn;)yn=$t[--Ut],$t[Ut]=null,kr=$t[--Ut],$t[Ut]=null,wr=$t[--Ut],$t[Ut]=null}var _t=null,Tt=null,Ye=!1,Xt=null;function tc(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 rc(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,_t=e,Tt=$r(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,_t=e,Tt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=yn!==null?{id:wr,overflow:kr}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=Wt(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,_t=e,Tt=null,!0):!1;default:return!1}}function No(e){return(e.mode&1)!==0&&(e.flags&128)===0}function jo(e){if(Ye){var t=Tt;if(t){var r=t;if(!rc(e,t)){if(No(e))throw Error(l(418));t=$r(r.nextSibling);var a=_t;t&&rc(e,t)?tc(a,r):(e.flags=e.flags&-4097|2,Ye=!1,_t=e)}}else{if(No(e))throw Error(l(418));e.flags=e.flags&-4097|2,Ye=!1,_t=e}}}function nc(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;_t=e}function Ka(e){if(e!==_t)return!1;if(!Ye)return nc(e),Ye=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!mo(e.type,e.memoizedProps)),t&&(t=Tt)){if(No(e))throw ic(),Error(l(418));for(;t;)tc(e,t),t=$r(t.nextSibling)}if(nc(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(l(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){Tt=$r(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}Tt=null}}else Tt=_t?$r(e.stateNode.nextSibling):null;return!0}function ic(){for(var e=Tt;e;)e=$r(e.nextSibling)}function Jn(){Tt=_t=null,Ye=!1}function Eo(e){Xt===null?Xt=[e]:Xt.push(e)}var Np=ne.ReactCurrentBatchConfig;function Fi(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(l(309));var a=r.stateNode}if(!a)throw Error(l(147,e));var s=a,d=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===d?t.ref:(t=function(m){var w=s.refs;m===null?delete w[d]:w[d]=m},t._stringRef=d,t)}if(typeof e!="string")throw Error(l(284));if(!r._owner)throw Error(l(290,e))}return e}function Ya(e,t){throw e=Object.prototype.toString.call(t),Error(l(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ac(e){var t=e._init;return t(e._payload)}function lc(e){function t(P,C){if(e){var M=P.deletions;M===null?(P.deletions=[C],P.flags|=16):M.push(C)}}function r(P,C){if(!e)return null;for(;C!==null;)t(P,C),C=C.sibling;return null}function a(P,C){for(P=new Map;C!==null;)C.key!==null?P.set(C.key,C):P.set(C.index,C),C=C.sibling;return P}function s(P,C){return P=Xr(P,C),P.index=0,P.sibling=null,P}function d(P,C,M){return P.index=M,e?(M=P.alternate,M!==null?(M=M.index,M<C?(P.flags|=2,C):M):(P.flags|=2,C)):(P.flags|=1048576,C)}function m(P){return e&&P.alternate===null&&(P.flags|=2),P}function w(P,C,M,B){return C===null||C.tag!==6?(C=gs(M,P.mode,B),C.return=P,C):(C=s(C,M),C.return=P,C)}function j(P,C,M,B){var se=M.type;return se===O?A(P,C,M.props.children,B,M.key):C!==null&&(C.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===he&&ac(se)===C.type)?(B=s(C,M.props),B.ref=Fi(P,C,M),B.return=P,B):(B=yl(M.type,M.key,M.props,null,P.mode,B),B.ref=Fi(P,C,M),B.return=P,B)}function T(P,C,M,B){return C===null||C.tag!==4||C.stateNode.containerInfo!==M.containerInfo||C.stateNode.implementation!==M.implementation?(C=ys(M,P.mode,B),C.return=P,C):(C=s(C,M.children||[]),C.return=P,C)}function A(P,C,M,B,se){return C===null||C.tag!==7?(C=Cn(M,P.mode,B,se),C.return=P,C):(C=s(C,M),C.return=P,C)}function V(P,C,M){if(typeof C=="string"&&C!==""||typeof C=="number")return C=gs(""+C,P.mode,M),C.return=P,C;if(typeof C=="object"&&C!==null){switch(C.$$typeof){case ue:return M=yl(C.type,C.key,C.props,null,P.mode,M),M.ref=Fi(P,null,C),M.return=P,M;case Se:return C=ys(C,P.mode,M),C.return=P,C;case he:var B=C._init;return V(P,B(C._payload),M)}if(ln(C)||Q(C))return C=Cn(C,P.mode,M,null),C.return=P,C;Ya(P,C)}return null}function $(P,C,M,B){var se=C!==null?C.key:null;if(typeof M=="string"&&M!==""||typeof M=="number")return se!==null?null:w(P,C,""+M,B);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case ue:return M.key===se?j(P,C,M,B):null;case Se:return M.key===se?T(P,C,M,B):null;case he:return se=M._init,$(P,C,se(M._payload),B)}if(ln(M)||Q(M))return se!==null?null:A(P,C,M,B,null);Ya(P,M)}return null}function J(P,C,M,B,se){if(typeof B=="string"&&B!==""||typeof B=="number")return P=P.get(M)||null,w(C,P,""+B,se);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case ue:return P=P.get(B.key===null?M:B.key)||null,j(C,P,B,se);case Se:return P=P.get(B.key===null?M:B.key)||null,T(C,P,B,se);case he:var we=B._init;return J(P,C,M,we(B._payload),se)}if(ln(B)||Q(B))return P=P.get(M)||null,A(C,P,B,se,null);Ya(C,B)}return null}function re(P,C,M,B){for(var se=null,we=null,ke=C,Ne=C=0,ut=null;ke!==null&&Ne<M.length;Ne++){ke.index>Ne?(ut=ke,ke=null):ut=ke.sibling;var De=$(P,ke,M[Ne],B);if(De===null){ke===null&&(ke=ut);break}e&&ke&&De.alternate===null&&t(P,ke),C=d(De,C,Ne),we===null?se=De:we.sibling=De,we=De,ke=ut}if(Ne===M.length)return r(P,ke),Ye&&vn(P,Ne),se;if(ke===null){for(;Ne<M.length;Ne++)ke=V(P,M[Ne],B),ke!==null&&(C=d(ke,C,Ne),we===null?se=ke:we.sibling=ke,we=ke);return Ye&&vn(P,Ne),se}for(ke=a(P,ke);Ne<M.length;Ne++)ut=J(ke,P,Ne,M[Ne],B),ut!==null&&(e&&ut.alternate!==null&&ke.delete(ut.key===null?Ne:ut.key),C=d(ut,C,Ne),we===null?se=ut:we.sibling=ut,we=ut);return e&&ke.forEach(function(qr){return t(P,qr)}),Ye&&vn(P,Ne),se}function le(P,C,M,B){var se=Q(M);if(typeof se!="function")throw Error(l(150));if(M=se.call(M),M==null)throw Error(l(151));for(var we=se=null,ke=C,Ne=C=0,ut=null,De=M.next();ke!==null&&!De.done;Ne++,De=M.next()){ke.index>Ne?(ut=ke,ke=null):ut=ke.sibling;var qr=$(P,ke,De.value,B);if(qr===null){ke===null&&(ke=ut);break}e&&ke&&qr.alternate===null&&t(P,ke),C=d(qr,C,Ne),we===null?se=qr:we.sibling=qr,we=qr,ke=ut}if(De.done)return r(P,ke),Ye&&vn(P,Ne),se;if(ke===null){for(;!De.done;Ne++,De=M.next())De=V(P,De.value,B),De!==null&&(C=d(De,C,Ne),we===null?se=De:we.sibling=De,we=De);return Ye&&vn(P,Ne),se}for(ke=a(P,ke);!De.done;Ne++,De=M.next())De=J(ke,P,Ne,De.value,B),De!==null&&(e&&De.alternate!==null&&ke.delete(De.key===null?Ne:De.key),C=d(De,C,Ne),we===null?se=De:we.sibling=De,we=De);return e&&ke.forEach(function(rm){return t(P,rm)}),Ye&&vn(P,Ne),se}function Ze(P,C,M,B){if(typeof M=="object"&&M!==null&&M.type===O&&M.key===null&&(M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case ue:e:{for(var se=M.key,we=C;we!==null;){if(we.key===se){if(se=M.type,se===O){if(we.tag===7){r(P,we.sibling),C=s(we,M.props.children),C.return=P,P=C;break e}}else if(we.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===he&&ac(se)===we.type){r(P,we.sibling),C=s(we,M.props),C.ref=Fi(P,we,M),C.return=P,P=C;break e}r(P,we);break}else t(P,we);we=we.sibling}M.type===O?(C=Cn(M.props.children,P.mode,B,M.key),C.return=P,P=C):(B=yl(M.type,M.key,M.props,null,P.mode,B),B.ref=Fi(P,C,M),B.return=P,P=B)}return m(P);case Se:e:{for(we=M.key;C!==null;){if(C.key===we)if(C.tag===4&&C.stateNode.containerInfo===M.containerInfo&&C.stateNode.implementation===M.implementation){r(P,C.sibling),C=s(C,M.children||[]),C.return=P,P=C;break e}else{r(P,C);break}else t(P,C);C=C.sibling}C=ys(M,P.mode,B),C.return=P,P=C}return m(P);case he:return we=M._init,Ze(P,C,we(M._payload),B)}if(ln(M))return re(P,C,M,B);if(Q(M))return le(P,C,M,B);Ya(P,M)}return typeof M=="string"&&M!==""||typeof M=="number"?(M=""+M,C!==null&&C.tag===6?(r(P,C.sibling),C=s(C,M),C.return=P,P=C):(r(P,C),C=gs(M,P.mode,B),C.return=P,P=C),m(P)):r(P,C)}return Ze}var Xn=lc(!0),oc=lc(!1),Ga=Ur(null),Qa=null,qn=null,Co=null;function Ro(){Co=qn=Qa=null}function bo(e){var t=Ga.current;We(Ga),e._currentValue=t}function Lo(e,t,r){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===r)break;e=e.return}}function Zn(e,t){Qa=e,Co=qn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Rt=!0),e.firstContext=null)}function At(e){var t=e._currentValue;if(Co!==e)if(e={context:e,memoizedValue:t,next:null},qn===null){if(Qa===null)throw Error(l(308));qn=e,Qa.dependencies={lanes:0,firstContext:e}}else qn=qn.next=e;return t}var xn=null;function Po(e){xn===null?xn=[e]:xn.push(e)}function sc(e,t,r,a){var s=t.interleaved;return s===null?(r.next=r,Po(t)):(r.next=s.next,s.next=r),t.interleaved=r,Sr(e,a)}function Sr(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 Br=!1;function Oo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function uc(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 Nr(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Wr(e,t,r){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(ze&2)!==0){var s=a.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),a.pending=t,Sr(e,r)}return s=a.interleaved,s===null?(t.next=t,Po(a)):(t.next=s.next,s.next=t),a.interleaved=t,Sr(e,r)}function Ja(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var a=t.lanes;a&=e.pendingLanes,r|=a,t.lanes=r,Bl(e,r)}}function cc(e,t){var r=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,r===a)){var s=null,d=null;if(r=r.firstBaseUpdate,r!==null){do{var m={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};d===null?s=d=m:d=d.next=m,r=r.next}while(r!==null);d===null?s=d=t:d=d.next=t}else s=d=t;r={baseState:a.baseState,firstBaseUpdate:s,lastBaseUpdate:d,shared:a.shared,effects:a.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function Xa(e,t,r,a){var s=e.updateQueue;Br=!1;var d=s.firstBaseUpdate,m=s.lastBaseUpdate,w=s.shared.pending;if(w!==null){s.shared.pending=null;var j=w,T=j.next;j.next=null,m===null?d=T:m.next=T,m=j;var A=e.alternate;A!==null&&(A=A.updateQueue,w=A.lastBaseUpdate,w!==m&&(w===null?A.firstBaseUpdate=T:w.next=T,A.lastBaseUpdate=j))}if(d!==null){var V=s.baseState;m=0,A=T=j=null,w=d;do{var $=w.lane,J=w.eventTime;if((a&$)===$){A!==null&&(A=A.next={eventTime:J,lane:0,tag:w.tag,payload:w.payload,callback:w.callback,next:null});e:{var re=e,le=w;switch($=t,J=r,le.tag){case 1:if(re=le.payload,typeof re=="function"){V=re.call(J,V,$);break e}V=re;break e;case 3:re.flags=re.flags&-65537|128;case 0:if(re=le.payload,$=typeof re=="function"?re.call(J,V,$):re,$==null)break e;V=W({},V,$);break e;case 2:Br=!0}}w.callback!==null&&w.lane!==0&&(e.flags|=64,$=s.effects,$===null?s.effects=[w]:$.push(w))}else J={eventTime:J,lane:$,tag:w.tag,payload:w.payload,callback:w.callback,next:null},A===null?(T=A=J,j=V):A=A.next=J,m|=$;if(w=w.next,w===null){if(w=s.shared.pending,w===null)break;$=w,w=$.next,$.next=null,s.lastBaseUpdate=$,s.shared.pending=null}}while(!0);if(A===null&&(j=V),s.baseState=j,s.firstBaseUpdate=T,s.lastBaseUpdate=A,t=s.shared.interleaved,t!==null){s=t;do m|=s.lane,s=s.next;while(s!==t)}else d===null&&(s.shared.lanes=0);Sn|=m,e.lanes=m,e.memoizedState=V}}function dc(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var a=e[t],s=a.callback;if(s!==null){if(a.callback=null,a=r,typeof s!="function")throw Error(l(191,s));s.call(a)}}}var Ii={},or=Ur(Ii),Hi=Ur(Ii),$i=Ur(Ii);function wn(e){if(e===Ii)throw Error(l(174));return e}function Mo(e,t){switch(Ve($i,t),Ve(Hi,e),Ve(or,Ii),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:on(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=on(t,e)}We(or),Ve(or,t)}function ei(){We(or),We(Hi),We($i)}function fc(e){wn($i.current);var t=wn(or.current),r=on(t,e.type);t!==r&&(Ve(Hi,e),Ve(or,r))}function _o(e){Hi.current===e&&(We(or),We(Hi))}var Qe=Ur(0);function qa(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 To=[];function zo(){for(var e=0;e<To.length;e++)To[e]._workInProgressVersionPrimary=null;To.length=0}var Za=ne.ReactCurrentDispatcher,Do=ne.ReactCurrentBatchConfig,kn=0,Je=null,it=null,ot=null,el=!1,Ui=!1,Ai=0,jp=0;function pt(){throw Error(l(321))}function Fo(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!Jt(e[r],t[r]))return!1;return!0}function Io(e,t,r,a,s,d){if(kn=d,Je=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Za.current=e===null||e.memoizedState===null?bp:Lp,e=r(a,s),Ui){d=0;do{if(Ui=!1,Ai=0,25<=d)throw Error(l(301));d+=1,ot=it=null,t.updateQueue=null,Za.current=Pp,e=r(a,s)}while(Ui)}if(Za.current=nl,t=it!==null&&it.next!==null,kn=0,ot=it=Je=null,el=!1,t)throw Error(l(300));return e}function Ho(){var e=Ai!==0;return Ai=0,e}function sr(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ot===null?Je.memoizedState=ot=e:ot=ot.next=e,ot}function Vt(){if(it===null){var e=Je.alternate;e=e!==null?e.memoizedState:null}else e=it.next;var t=ot===null?Je.memoizedState:ot.next;if(t!==null)ot=t,it=e;else{if(e===null)throw Error(l(310));it=e,e={memoizedState:it.memoizedState,baseState:it.baseState,baseQueue:it.baseQueue,queue:it.queue,next:null},ot===null?Je.memoizedState=ot=e:ot=ot.next=e}return ot}function Vi(e,t){return typeof t=="function"?t(e):t}function $o(e){var t=Vt(),r=t.queue;if(r===null)throw Error(l(311));r.lastRenderedReducer=e;var a=it,s=a.baseQueue,d=r.pending;if(d!==null){if(s!==null){var m=s.next;s.next=d.next,d.next=m}a.baseQueue=s=d,r.pending=null}if(s!==null){d=s.next,a=a.baseState;var w=m=null,j=null,T=d;do{var A=T.lane;if((kn&A)===A)j!==null&&(j=j.next={lane:0,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null}),a=T.hasEagerState?T.eagerState:e(a,T.action);else{var V={lane:A,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null};j===null?(w=j=V,m=a):j=j.next=V,Je.lanes|=A,Sn|=A}T=T.next}while(T!==null&&T!==d);j===null?m=a:j.next=w,Jt(a,t.memoizedState)||(Rt=!0),t.memoizedState=a,t.baseState=m,t.baseQueue=j,r.lastRenderedState=a}if(e=r.interleaved,e!==null){s=e;do d=s.lane,Je.lanes|=d,Sn|=d,s=s.next;while(s!==e)}else s===null&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function Uo(e){var t=Vt(),r=t.queue;if(r===null)throw Error(l(311));r.lastRenderedReducer=e;var a=r.dispatch,s=r.pending,d=t.memoizedState;if(s!==null){r.pending=null;var m=s=s.next;do d=e(d,m.action),m=m.next;while(m!==s);Jt(d,t.memoizedState)||(Rt=!0),t.memoizedState=d,t.baseQueue===null&&(t.baseState=d),r.lastRenderedState=d}return[d,a]}function hc(){}function pc(e,t){var r=Je,a=Vt(),s=t(),d=!Jt(a.memoizedState,s);if(d&&(a.memoizedState=s,Rt=!0),a=a.queue,Ao(yc.bind(null,r,a,e),[e]),a.getSnapshot!==t||d||ot!==null&&ot.memoizedState.tag&1){if(r.flags|=2048,Bi(9,gc.bind(null,r,a,s,t),void 0,null),st===null)throw Error(l(349));(kn&30)!==0||mc(r,t,s)}return s}function mc(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=Je.updateQueue,t===null?(t={lastEffect:null,stores:null},Je.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function gc(e,t,r,a){t.value=r,t.getSnapshot=a,vc(t)&&xc(e)}function yc(e,t,r){return r(function(){vc(t)&&xc(e)})}function vc(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!Jt(e,r)}catch{return!0}}function xc(e){var t=Sr(e,1);t!==null&&tr(t,e,1,-1)}function wc(e){var t=sr();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Vi,lastRenderedState:e},t.queue=e,e=e.dispatch=Rp.bind(null,Je,e),[t.memoizedState,e]}function Bi(e,t,r,a){return e={tag:e,create:t,destroy:r,deps:a,next:null},t=Je.updateQueue,t===null?(t={lastEffect:null,stores:null},Je.updateQueue=t,t.lastEffect=e.next=e):(r=t.lastEffect,r===null?t.lastEffect=e.next=e:(a=r.next,r.next=e,e.next=a,t.lastEffect=e)),e}function kc(){return Vt().memoizedState}function tl(e,t,r,a){var s=sr();Je.flags|=e,s.memoizedState=Bi(1|t,r,void 0,a===void 0?null:a)}function rl(e,t,r,a){var s=Vt();a=a===void 0?null:a;var d=void 0;if(it!==null){var m=it.memoizedState;if(d=m.destroy,a!==null&&Fo(a,m.deps)){s.memoizedState=Bi(t,r,d,a);return}}Je.flags|=e,s.memoizedState=Bi(1|t,r,d,a)}function Sc(e,t){return tl(8390656,8,e,t)}function Ao(e,t){return rl(2048,8,e,t)}function Nc(e,t){return rl(4,2,e,t)}function jc(e,t){return rl(4,4,e,t)}function Ec(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 Cc(e,t,r){return r=r!=null?r.concat([e]):null,rl(4,4,Ec.bind(null,t,e),r)}function Vo(){}function Rc(e,t){var r=Vt();t=t===void 0?null:t;var a=r.memoizedState;return a!==null&&t!==null&&Fo(t,a[1])?a[0]:(r.memoizedState=[e,t],e)}function bc(e,t){var r=Vt();t=t===void 0?null:t;var a=r.memoizedState;return a!==null&&t!==null&&Fo(t,a[1])?a[0]:(e=e(),r.memoizedState=[e,t],e)}function Lc(e,t,r){return(kn&21)===0?(e.baseState&&(e.baseState=!1,Rt=!0),e.memoizedState=r):(Jt(r,t)||(r=au(),Je.lanes|=r,Sn|=r,e.baseState=!0),t)}function Ep(e,t){var r=$e;$e=r!==0&&4>r?r:4,e(!0);var a=Do.transition;Do.transition={};try{e(!1),t()}finally{$e=r,Do.transition=a}}function Pc(){return Vt().memoizedState}function Cp(e,t,r){var a=Qr(e);if(r={lane:a,action:r,hasEagerState:!1,eagerState:null,next:null},Oc(e))Mc(t,r);else if(r=sc(e,t,r,a),r!==null){var s=kt();tr(r,e,a,s),_c(r,t,a)}}function Rp(e,t,r){var a=Qr(e),s={lane:a,action:r,hasEagerState:!1,eagerState:null,next:null};if(Oc(e))Mc(t,s);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=t.lastRenderedReducer,d!==null))try{var m=t.lastRenderedState,w=d(m,r);if(s.hasEagerState=!0,s.eagerState=w,Jt(w,m)){var j=t.interleaved;j===null?(s.next=s,Po(t)):(s.next=j.next,j.next=s),t.interleaved=s;return}}catch{}finally{}r=sc(e,t,s,a),r!==null&&(s=kt(),tr(r,e,a,s),_c(r,t,a))}}function Oc(e){var t=e.alternate;return e===Je||t!==null&&t===Je}function Mc(e,t){Ui=el=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function _c(e,t,r){if((r&4194240)!==0){var a=t.lanes;a&=e.pendingLanes,r|=a,t.lanes=r,Bl(e,r)}}var nl={readContext:At,useCallback:pt,useContext:pt,useEffect:pt,useImperativeHandle:pt,useInsertionEffect:pt,useLayoutEffect:pt,useMemo:pt,useReducer:pt,useRef:pt,useState:pt,useDebugValue:pt,useDeferredValue:pt,useTransition:pt,useMutableSource:pt,useSyncExternalStore:pt,useId:pt,unstable_isNewReconciler:!1},bp={readContext:At,useCallback:function(e,t){return sr().memoizedState=[e,t===void 0?null:t],e},useContext:At,useEffect:Sc,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,tl(4194308,4,Ec.bind(null,t,e),r)},useLayoutEffect:function(e,t){return tl(4194308,4,e,t)},useInsertionEffect:function(e,t){return tl(4,2,e,t)},useMemo:function(e,t){var r=sr();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var a=sr();return t=r!==void 0?r(t):t,a.memoizedState=a.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},a.queue=e,e=e.dispatch=Cp.bind(null,Je,e),[a.memoizedState,e]},useRef:function(e){var t=sr();return e={current:e},t.memoizedState=e},useState:wc,useDebugValue:Vo,useDeferredValue:function(e){return sr().memoizedState=e},useTransition:function(){var e=wc(!1),t=e[0];return e=Ep.bind(null,e[1]),sr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var a=Je,s=sr();if(Ye){if(r===void 0)throw Error(l(407));r=r()}else{if(r=t(),st===null)throw Error(l(349));(kn&30)!==0||mc(a,t,r)}s.memoizedState=r;var d={value:r,getSnapshot:t};return s.queue=d,Sc(yc.bind(null,a,d,e),[e]),a.flags|=2048,Bi(9,gc.bind(null,a,d,r,t),void 0,null),r},useId:function(){var e=sr(),t=st.identifierPrefix;if(Ye){var r=kr,a=wr;r=(a&~(1<<32-Ue(a)-1)).toString(32)+r,t=":"+t+"R"+r,r=Ai++,0<r&&(t+="H"+r.toString(32)),t+=":"}else r=jp++,t=":"+t+"r"+r.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Lp={readContext:At,useCallback:Rc,useContext:At,useEffect:Ao,useImperativeHandle:Cc,useInsertionEffect:Nc,useLayoutEffect:jc,useMemo:bc,useReducer:$o,useRef:kc,useState:function(){return $o(Vi)},useDebugValue:Vo,useDeferredValue:function(e){var t=Vt();return Lc(t,it.memoizedState,e)},useTransition:function(){var e=$o(Vi)[0],t=Vt().memoizedState;return[e,t]},useMutableSource:hc,useSyncExternalStore:pc,useId:Pc,unstable_isNewReconciler:!1},Pp={readContext:At,useCallback:Rc,useContext:At,useEffect:Ao,useImperativeHandle:Cc,useInsertionEffect:Nc,useLayoutEffect:jc,useMemo:bc,useReducer:Uo,useRef:kc,useState:function(){return Uo(Vi)},useDebugValue:Vo,useDeferredValue:function(e){var t=Vt();return it===null?t.memoizedState=e:Lc(t,it.memoizedState,e)},useTransition:function(){var e=Uo(Vi)[0],t=Vt().memoizedState;return[e,t]},useMutableSource:hc,useSyncExternalStore:pc,useId:Pc,unstable_isNewReconciler:!1};function qt(e,t){if(e&&e.defaultProps){t=W({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}function Bo(e,t,r,a){t=e.memoizedState,r=r(a,t),r=r==null?t:W({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var il={isMounted:function(e){return(e=e._reactInternals)?ae(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var a=kt(),s=Qr(e),d=Nr(a,s);d.payload=t,r!=null&&(d.callback=r),t=Wr(e,d,s),t!==null&&(tr(t,e,s,a),Ja(t,e,s))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var a=kt(),s=Qr(e),d=Nr(a,s);d.tag=1,d.payload=t,r!=null&&(d.callback=r),t=Wr(e,d,s),t!==null&&(tr(t,e,s,a),Ja(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=kt(),a=Qr(e),s=Nr(r,a);s.tag=2,t!=null&&(s.callback=t),t=Wr(e,s,a),t!==null&&(tr(t,e,a,r),Ja(t,e,a))}};function Tc(e,t,r,a,s,d,m){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,d,m):t.prototype&&t.prototype.isPureReactComponent?!Pi(r,a)||!Pi(s,d):!0}function zc(e,t,r){var a=!1,s=Ar,d=t.contextType;return typeof d=="object"&&d!==null?d=At(d):(s=Ct(t)?gn:ht.current,a=t.contextTypes,d=(a=a!=null)?Yn(e,s):Ar),t=new t(r,d),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=il,e.stateNode=t,t._reactInternals=e,a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=s,e.__reactInternalMemoizedMaskedChildContext=d),t}function Dc(e,t,r,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,a),t.state!==e&&il.enqueueReplaceState(t,t.state,null)}function Wo(e,t,r,a){var s=e.stateNode;s.props=r,s.state=e.memoizedState,s.refs={},Oo(e);var d=t.contextType;typeof d=="object"&&d!==null?s.context=At(d):(d=Ct(t)?gn:ht.current,s.context=Yn(e,d)),s.state=e.memoizedState,d=t.getDerivedStateFromProps,typeof d=="function"&&(Bo(e,t,d,r),s.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(t=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),t!==s.state&&il.enqueueReplaceState(s,s.state,null),Xa(e,r,s,a),s.state=e.memoizedState),typeof s.componentDidMount=="function"&&(e.flags|=4194308)}function ti(e,t){try{var r="",a=t;do r+=ve(a),a=a.return;while(a);var s=r}catch(d){s=`
Error generating stack: `+d.message+`
`+d.stack}return{value:e,source:t,stack:s,digest:null}}function Ko(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function Yo(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var Op=typeof WeakMap=="function"?WeakMap:Map;function Fc(e,t,r){r=Nr(-1,r),r.tag=3,r.payload={element:null};var a=t.value;return r.callback=function(){dl||(dl=!0,ss=a),Yo(e,t)},r}function Ic(e,t,r){r=Nr(-1,r),r.tag=3;var a=e.type.getDerivedStateFromError;if(typeof a=="function"){var s=t.value;r.payload=function(){return a(s)},r.callback=function(){Yo(e,t)}}var d=e.stateNode;return d!==null&&typeof d.componentDidCatch=="function"&&(r.callback=function(){Yo(e,t),typeof a!="function"&&(Yr===null?Yr=new Set([this]):Yr.add(this));var m=t.stack;this.componentDidCatch(t.value,{componentStack:m!==null?m:""})}),r}function Hc(e,t,r){var a=e.pingCache;if(a===null){a=e.pingCache=new Op;var s=new Set;a.set(t,s)}else s=a.get(t),s===void 0&&(s=new Set,a.set(t,s));s.has(r)||(s.add(r),e=Wp.bind(null,e,t,r),t.then(e,e))}function $c(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 Uc(e,t,r,a,s){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=Nr(-1,1),t.tag=2,Wr(r,t,1))),r.lanes|=1),e):(e.flags|=65536,e.lanes=s,e)}var Mp=ne.ReactCurrentOwner,Rt=!1;function wt(e,t,r,a){t.child=e===null?oc(t,null,r,a):Xn(t,e.child,r,a)}function Ac(e,t,r,a,s){r=r.render;var d=t.ref;return Zn(t,s),a=Io(e,t,r,a,d,s),r=Ho(),e!==null&&!Rt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,jr(e,t,s)):(Ye&&r&&ko(t),t.flags|=1,wt(e,t,a,s),t.child)}function Vc(e,t,r,a,s){if(e===null){var d=r.type;return typeof d=="function"&&!ms(d)&&d.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=d,Bc(e,t,d,a,s)):(e=yl(r.type,null,a,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(d=e.child,(e.lanes&s)===0){var m=d.memoizedProps;if(r=r.compare,r=r!==null?r:Pi,r(m,a)&&e.ref===t.ref)return jr(e,t,s)}return t.flags|=1,e=Xr(d,a),e.ref=t.ref,e.return=t,t.child=e}function Bc(e,t,r,a,s){if(e!==null){var d=e.memoizedProps;if(Pi(d,a)&&e.ref===t.ref)if(Rt=!1,t.pendingProps=a=d,(e.lanes&s)!==0)(e.flags&131072)!==0&&(Rt=!0);else return t.lanes=e.lanes,jr(e,t,s)}return Go(e,t,r,a,s)}function Wc(e,t,r){var a=t.pendingProps,s=a.children,d=e!==null?e.memoizedState:null;if(a.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ve(ni,zt),zt|=r;else{if((r&1073741824)===0)return e=d!==null?d.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ve(ni,zt),zt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},a=d!==null?d.baseLanes:r,Ve(ni,zt),zt|=a}else d!==null?(a=d.baseLanes|r,t.memoizedState=null):a=r,Ve(ni,zt),zt|=a;return wt(e,t,s,r),t.child}function Kc(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function Go(e,t,r,a,s){var d=Ct(r)?gn:ht.current;return d=Yn(t,d),Zn(t,s),r=Io(e,t,r,a,d,s),a=Ho(),e!==null&&!Rt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,jr(e,t,s)):(Ye&&a&&ko(t),t.flags|=1,wt(e,t,r,s),t.child)}function Yc(e,t,r,a,s){if(Ct(r)){var d=!0;Aa(t)}else d=!1;if(Zn(t,s),t.stateNode===null)ll(e,t),zc(t,r,a),Wo(t,r,a,s),a=!0;else if(e===null){var m=t.stateNode,w=t.memoizedProps;m.props=w;var j=m.context,T=r.contextType;typeof T=="object"&&T!==null?T=At(T):(T=Ct(r)?gn:ht.current,T=Yn(t,T));var A=r.getDerivedStateFromProps,V=typeof A=="function"||typeof m.getSnapshotBeforeUpdate=="function";V||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(w!==a||j!==T)&&Dc(t,m,a,T),Br=!1;var $=t.memoizedState;m.state=$,Xa(t,a,m,s),j=t.memoizedState,w!==a||$!==j||Et.current||Br?(typeof A=="function"&&(Bo(t,r,A,a),j=t.memoizedState),(w=Br||Tc(t,r,w,a,$,j,T))?(V||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount()),typeof m.componentDidMount=="function"&&(t.flags|=4194308)):(typeof m.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=j),m.props=a,m.state=j,m.context=T,a=w):(typeof m.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{m=t.stateNode,uc(e,t),w=t.memoizedProps,T=t.type===t.elementType?w:qt(t.type,w),m.props=T,V=t.pendingProps,$=m.context,j=r.contextType,typeof j=="object"&&j!==null?j=At(j):(j=Ct(r)?gn:ht.current,j=Yn(t,j));var J=r.getDerivedStateFromProps;(A=typeof J=="function"||typeof m.getSnapshotBeforeUpdate=="function")||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(w!==V||$!==j)&&Dc(t,m,a,j),Br=!1,$=t.memoizedState,m.state=$,Xa(t,a,m,s);var re=t.memoizedState;w!==V||$!==re||Et.current||Br?(typeof J=="function"&&(Bo(t,r,J,a),re=t.memoizedState),(T=Br||Tc(t,r,T,a,$,re,j)||!1)?(A||typeof m.UNSAFE_componentWillUpdate!="function"&&typeof m.componentWillUpdate!="function"||(typeof m.componentWillUpdate=="function"&&m.componentWillUpdate(a,re,j),typeof m.UNSAFE_componentWillUpdate=="function"&&m.UNSAFE_componentWillUpdate(a,re,j)),typeof m.componentDidUpdate=="function"&&(t.flags|=4),typeof m.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof m.componentDidUpdate!="function"||w===e.memoizedProps&&$===e.memoizedState||(t.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||w===e.memoizedProps&&$===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=re),m.props=a,m.state=re,m.context=j,a=T):(typeof m.componentDidUpdate!="function"||w===e.memoizedProps&&$===e.memoizedState||(t.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||w===e.memoizedProps&&$===e.memoizedState||(t.flags|=1024),a=!1)}return Qo(e,t,r,a,d,s)}function Qo(e,t,r,a,s,d){Kc(e,t);var m=(t.flags&128)!==0;if(!a&&!m)return s&&qu(t,r,!1),jr(e,t,d);a=t.stateNode,Mp.current=t;var w=m&&typeof r.getDerivedStateFromError!="function"?null:a.render();return t.flags|=1,e!==null&&m?(t.child=Xn(t,e.child,null,d),t.child=Xn(t,null,w,d)):wt(e,t,w,d),t.memoizedState=a.state,s&&qu(t,r,!0),t.child}function Gc(e){var t=e.stateNode;t.pendingContext?Ju(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Ju(e,t.context,!1),Mo(e,t.containerInfo)}function Qc(e,t,r,a,s){return Jn(),Eo(s),t.flags|=256,wt(e,t,r,a),t.child}var Jo={dehydrated:null,treeContext:null,retryLane:0};function Xo(e){return{baseLanes:e,cachePool:null,transitions:null}}function Jc(e,t,r){var a=t.pendingProps,s=Qe.current,d=!1,m=(t.flags&128)!==0,w;if((w=m)||(w=e!==null&&e.memoizedState===null?!1:(s&2)!==0),w?(d=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(s|=1),Ve(Qe,s&1),e===null)return jo(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):(m=a.children,e=a.fallback,d?(a=t.mode,d=t.child,m={mode:"hidden",children:m},(a&1)===0&&d!==null?(d.childLanes=0,d.pendingProps=m):d=vl(m,a,0,null),e=Cn(e,a,r,null),d.return=t,e.return=t,d.sibling=e,t.child=d,t.child.memoizedState=Xo(r),t.memoizedState=Jo,e):qo(t,m));if(s=e.memoizedState,s!==null&&(w=s.dehydrated,w!==null))return _p(e,t,m,a,w,s,r);if(d){d=a.fallback,m=t.mode,s=e.child,w=s.sibling;var j={mode:"hidden",children:a.children};return(m&1)===0&&t.child!==s?(a=t.child,a.childLanes=0,a.pendingProps=j,t.deletions=null):(a=Xr(s,j),a.subtreeFlags=s.subtreeFlags&14680064),w!==null?d=Xr(w,d):(d=Cn(d,m,r,null),d.flags|=2),d.return=t,a.return=t,a.sibling=d,t.child=a,a=d,d=t.child,m=e.child.memoizedState,m=m===null?Xo(r):{baseLanes:m.baseLanes|r,cachePool:null,transitions:m.transitions},d.memoizedState=m,d.childLanes=e.childLanes&~r,t.memoizedState=Jo,a}return d=e.child,e=d.sibling,a=Xr(d,{mode:"visible",children:a.children}),(t.mode&1)===0&&(a.lanes=r),a.return=t,a.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=a,t.memoizedState=null,a}function qo(e,t){return t=vl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function al(e,t,r,a){return a!==null&&Eo(a),Xn(t,e.child,null,r),e=qo(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function _p(e,t,r,a,s,d,m){if(r)return t.flags&256?(t.flags&=-257,a=Ko(Error(l(422))),al(e,t,m,a)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(d=a.fallback,s=t.mode,a=vl({mode:"visible",children:a.children},s,0,null),d=Cn(d,s,m,null),d.flags|=2,a.return=t,d.return=t,a.sibling=d,t.child=a,(t.mode&1)!==0&&Xn(t,e.child,null,m),t.child.memoizedState=Xo(m),t.memoizedState=Jo,d);if((t.mode&1)===0)return al(e,t,m,null);if(s.data==="$!"){if(a=s.nextSibling&&s.nextSibling.dataset,a)var w=a.dgst;return a=w,d=Error(l(419)),a=Ko(d,a,void 0),al(e,t,m,a)}if(w=(m&e.childLanes)!==0,Rt||w){if(a=st,a!==null){switch(m&-m){case 4:s=2;break;case 16:s=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:s=32;break;case 536870912:s=268435456;break;default:s=0}s=(s&(a.suspendedLanes|m))!==0?0:s,s!==0&&s!==d.retryLane&&(d.retryLane=s,Sr(e,s),tr(a,e,s,-1))}return ps(),a=Ko(Error(l(421))),al(e,t,m,a)}return s.data==="$?"?(t.flags|=128,t.child=e.child,t=Kp.bind(null,e),s._reactRetry=t,null):(e=d.treeContext,Tt=$r(s.nextSibling),_t=t,Ye=!0,Xt=null,e!==null&&($t[Ut++]=wr,$t[Ut++]=kr,$t[Ut++]=yn,wr=e.id,kr=e.overflow,yn=t),t=qo(t,a.children),t.flags|=4096,t)}function Xc(e,t,r){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),Lo(e.return,t,r)}function Zo(e,t,r,a,s){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:r,tailMode:s}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=a,d.tail=r,d.tailMode=s)}function qc(e,t,r){var a=t.pendingProps,s=a.revealOrder,d=a.tail;if(wt(e,t,a.children,r),a=Qe.current,(a&2)!==0)a=a&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&&Xc(e,r,t);else if(e.tag===19)Xc(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}a&=1}if(Ve(Qe,a),(t.mode&1)===0)t.memoizedState=null;else switch(s){case"forwards":for(r=t.child,s=null;r!==null;)e=r.alternate,e!==null&&qa(e)===null&&(s=r),r=r.sibling;r=s,r===null?(s=t.child,t.child=null):(s=r.sibling,r.sibling=null),Zo(t,!1,s,r,d);break;case"backwards":for(r=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&qa(e)===null){t.child=s;break}e=s.sibling,s.sibling=r,r=s,s=e}Zo(t,!0,r,null,d);break;case"together":Zo(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ll(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function jr(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),Sn|=t.lanes,(r&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(l(153));if(t.child!==null){for(e=t.child,r=Xr(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=Xr(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function Tp(e,t,r){switch(t.tag){case 3:Gc(t),Jn();break;case 5:fc(t);break;case 1:Ct(t.type)&&Aa(t);break;case 4:Mo(t,t.stateNode.containerInfo);break;case 10:var a=t.type._context,s=t.memoizedProps.value;Ve(Ga,a._currentValue),a._currentValue=s;break;case 13:if(a=t.memoizedState,a!==null)return a.dehydrated!==null?(Ve(Qe,Qe.current&1),t.flags|=128,null):(r&t.child.childLanes)!==0?Jc(e,t,r):(Ve(Qe,Qe.current&1),e=jr(e,t,r),e!==null?e.sibling:null);Ve(Qe,Qe.current&1);break;case 19:if(a=(r&t.childLanes)!==0,(e.flags&128)!==0){if(a)return qc(e,t,r);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),Ve(Qe,Qe.current),a)break;return null;case 22:case 23:return t.lanes=0,Wc(e,t,r)}return jr(e,t,r)}var Zc,es,ed,td;Zc=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}},es=function(){},ed=function(e,t,r,a){var s=e.memoizedProps;if(s!==a){e=t.stateNode,wn(or.current);var d=null;switch(r){case"input":s=_n(e,s),a=_n(e,a),d=[];break;case"select":s=W({},s,{value:void 0}),a=W({},a,{value:void 0}),d=[];break;case"textarea":s=di(e,s),a=di(e,a),d=[];break;default:typeof s.onClick!="function"&&typeof a.onClick=="function"&&(e.onclick=Ha)}zn(r,a);var m;r=null;for(T in s)if(!a.hasOwnProperty(T)&&s.hasOwnProperty(T)&&s[T]!=null)if(T==="style"){var w=s[T];for(m in w)w.hasOwnProperty(m)&&(r||(r={}),r[m]="")}else T!=="dangerouslySetInnerHTML"&&T!=="children"&&T!=="suppressContentEditableWarning"&&T!=="suppressHydrationWarning"&&T!=="autoFocus"&&(o.hasOwnProperty(T)?d||(d=[]):(d=d||[]).push(T,null));for(T in a){var j=a[T];if(w=s!=null?s[T]:void 0,a.hasOwnProperty(T)&&j!==w&&(j!=null||w!=null))if(T==="style")if(w){for(m in w)!w.hasOwnProperty(m)||j&&j.hasOwnProperty(m)||(r||(r={}),r[m]="");for(m in j)j.hasOwnProperty(m)&&w[m]!==j[m]&&(r||(r={}),r[m]=j[m])}else r||(d||(d=[]),d.push(T,r)),r=j;else T==="dangerouslySetInnerHTML"?(j=j?j.__html:void 0,w=w?w.__html:void 0,j!=null&&w!==j&&(d=d||[]).push(T,j)):T==="children"?typeof j!="string"&&typeof j!="number"||(d=d||[]).push(T,""+j):T!=="suppressContentEditableWarning"&&T!=="suppressHydrationWarning"&&(o.hasOwnProperty(T)?(j!=null&&T==="onScroll"&&Be("scroll",e),d||w===j||(d=[])):(d=d||[]).push(T,j))}r&&(d=d||[]).push("style",r);var T=d;(t.updateQueue=T)&&(t.flags|=4)}},td=function(e,t,r,a){r!==a&&(t.flags|=4)};function Wi(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 a=null;r!==null;)r.alternate!==null&&(a=r),r=r.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function mt(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,a=0;if(t)for(var s=e.child;s!==null;)r|=s.lanes|s.childLanes,a|=s.subtreeFlags&14680064,a|=s.flags&14680064,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)r|=s.lanes|s.childLanes,a|=s.subtreeFlags,a|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=a,e.childLanes=r,t}function zp(e,t,r){var a=t.pendingProps;switch(So(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return mt(t),null;case 1:return Ct(t.type)&&Ua(),mt(t),null;case 3:return a=t.stateNode,ei(),We(Et),We(ht),zo(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Ka(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Xt!==null&&(ds(Xt),Xt=null))),es(e,t),mt(t),null;case 5:_o(t);var s=wn($i.current);if(r=t.type,e!==null&&t.stateNode!=null)ed(e,t,r,a,s),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!a){if(t.stateNode===null)throw Error(l(166));return mt(t),null}if(e=wn(or.current),Ka(t)){a=t.stateNode,r=t.type;var d=t.memoizedProps;switch(a[lr]=t,a[zi]=d,e=(t.mode&1)!==0,r){case"dialog":Be("cancel",a),Be("close",a);break;case"iframe":case"object":case"embed":Be("load",a);break;case"video":case"audio":for(s=0;s<Mi.length;s++)Be(Mi[s],a);break;case"source":Be("error",a);break;case"img":case"image":case"link":Be("error",a),Be("load",a);break;case"details":Be("toggle",a);break;case"input":ya(a,d),Be("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!d.multiple},Be("invalid",a);break;case"textarea":xa(a,d),Be("invalid",a)}zn(r,d),s=null;for(var m in d)if(d.hasOwnProperty(m)){var w=d[m];m==="children"?typeof w=="string"?a.textContent!==w&&(d.suppressHydrationWarning!==!0&&Ia(a.textContent,w,e),s=["children",w]):typeof w=="number"&&a.textContent!==""+w&&(d.suppressHydrationWarning!==!0&&Ia(a.textContent,w,e),s=["children",""+w]):o.hasOwnProperty(m)&&w!=null&&m==="onScroll"&&Be("scroll",a)}switch(r){case"input":Mn(a),va(a,d,!0);break;case"textarea":Mn(a),br(a);break;case"select":case"option":break;default:typeof d.onClick=="function"&&(a.onclick=Ha)}a=s,t.updateQueue=a,a!==null&&(t.flags|=4)}else{m=s.nodeType===9?s:s.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=fi(r)),e==="http://www.w3.org/1999/xhtml"?r==="script"?(e=m.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof a.is=="string"?e=m.createElement(r,{is:a.is}):(e=m.createElement(r),r==="select"&&(m=e,a.multiple?m.multiple=!0:a.size&&(m.size=a.size))):e=m.createElementNS(e,r),e[lr]=t,e[zi]=a,Zc(e,t,!1,!1),t.stateNode=e;e:{switch(m=Dn(r,a),r){case"dialog":Be("cancel",e),Be("close",e),s=a;break;case"iframe":case"object":case"embed":Be("load",e),s=a;break;case"video":case"audio":for(s=0;s<Mi.length;s++)Be(Mi[s],e);s=a;break;case"source":Be("error",e),s=a;break;case"img":case"image":case"link":Be("error",e),Be("load",e),s=a;break;case"details":Be("toggle",e),s=a;break;case"input":ya(e,a),s=_n(e,a),Be("invalid",e);break;case"option":s=a;break;case"select":e._wrapperState={wasMultiple:!!a.multiple},s=W({},a,{value:void 0}),Be("invalid",e);break;case"textarea":xa(e,a),s=di(e,a),Be("invalid",e);break;default:s=a}zn(r,s),w=s;for(d in w)if(w.hasOwnProperty(d)){var j=w[d];d==="style"?It(e,j):d==="dangerouslySetInnerHTML"?(j=j?j.__html:void 0,j!=null&&Ft(e,j)):d==="children"?typeof j=="string"?(r!=="textarea"||j!=="")&&Lr(e,j):typeof j=="number"&&Lr(e,""+j):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(o.hasOwnProperty(d)?j!=null&&d==="onScroll"&&Be("scroll",e):j!=null&&G(e,d,j,m))}switch(r){case"input":Mn(e),va(e,a,!1);break;case"textarea":Mn(e),br(e);break;case"option":a.value!=null&&e.setAttribute("value",""+Me(a.value));break;case"select":e.multiple=!!a.multiple,d=a.value,d!=null?Rr(e,!!a.multiple,d,!1):a.defaultValue!=null&&Rr(e,!!a.multiple,a.defaultValue,!0);break;default:typeof s.onClick=="function"&&(e.onclick=Ha)}switch(r){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}}a&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return mt(t),null;case 6:if(e&&t.stateNode!=null)td(e,t,e.memoizedProps,a);else{if(typeof a!="string"&&t.stateNode===null)throw Error(l(166));if(r=wn($i.current),wn(or.current),Ka(t)){if(a=t.stateNode,r=t.memoizedProps,a[lr]=t,(d=a.nodeValue!==r)&&(e=_t,e!==null))switch(e.tag){case 3:Ia(a.nodeValue,r,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ia(a.nodeValue,r,(e.mode&1)!==0)}d&&(t.flags|=4)}else a=(r.nodeType===9?r:r.ownerDocument).createTextNode(a),a[lr]=t,t.stateNode=a}return mt(t),null;case 13:if(We(Qe),a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Ye&&Tt!==null&&(t.mode&1)!==0&&(t.flags&128)===0)ic(),Jn(),t.flags|=98560,d=!1;else if(d=Ka(t),a!==null&&a.dehydrated!==null){if(e===null){if(!d)throw Error(l(318));if(d=t.memoizedState,d=d!==null?d.dehydrated:null,!d)throw Error(l(317));d[lr]=t}else Jn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;mt(t),d=!1}else Xt!==null&&(ds(Xt),Xt=null),d=!0;if(!d)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=r,t):(a=a!==null,a!==(e!==null&&e.memoizedState!==null)&&a&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(Qe.current&1)!==0?at===0&&(at=3):ps())),t.updateQueue!==null&&(t.flags|=4),mt(t),null);case 4:return ei(),es(e,t),e===null&&_i(t.stateNode.containerInfo),mt(t),null;case 10:return bo(t.type._context),mt(t),null;case 17:return Ct(t.type)&&Ua(),mt(t),null;case 19:if(We(Qe),d=t.memoizedState,d===null)return mt(t),null;if(a=(t.flags&128)!==0,m=d.rendering,m===null)if(a)Wi(d,!1);else{if(at!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(m=qa(e),m!==null){for(t.flags|=128,Wi(d,!1),a=m.updateQueue,a!==null&&(t.updateQueue=a,t.flags|=4),t.subtreeFlags=0,a=r,r=t.child;r!==null;)d=r,e=a,d.flags&=14680066,m=d.alternate,m===null?(d.childLanes=0,d.lanes=e,d.child=null,d.subtreeFlags=0,d.memoizedProps=null,d.memoizedState=null,d.updateQueue=null,d.dependencies=null,d.stateNode=null):(d.childLanes=m.childLanes,d.lanes=m.lanes,d.child=m.child,d.subtreeFlags=0,d.deletions=null,d.memoizedProps=m.memoizedProps,d.memoizedState=m.memoizedState,d.updateQueue=m.updateQueue,d.type=m.type,e=m.dependencies,d.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Ve(Qe,Qe.current&1|2),t.child}e=e.sibling}d.tail!==null&&He()>ii&&(t.flags|=128,a=!0,Wi(d,!1),t.lanes=4194304)}else{if(!a)if(e=qa(m),e!==null){if(t.flags|=128,a=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Wi(d,!0),d.tail===null&&d.tailMode==="hidden"&&!m.alternate&&!Ye)return mt(t),null}else 2*He()-d.renderingStartTime>ii&&r!==1073741824&&(t.flags|=128,a=!0,Wi(d,!1),t.lanes=4194304);d.isBackwards?(m.sibling=t.child,t.child=m):(r=d.last,r!==null?r.sibling=m:t.child=m,d.last=m)}return d.tail!==null?(t=d.tail,d.rendering=t,d.tail=t.sibling,d.renderingStartTime=He(),t.sibling=null,r=Qe.current,Ve(Qe,a?r&1|2:r&1),t):(mt(t),null);case 22:case 23:return hs(),a=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==a&&(t.flags|=8192),a&&(t.mode&1)!==0?(zt&1073741824)!==0&&(mt(t),t.subtreeFlags&6&&(t.flags|=8192)):mt(t),null;case 24:return null;case 25:return null}throw Error(l(156,t.tag))}function Dp(e,t){switch(So(t),t.tag){case 1:return Ct(t.type)&&Ua(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ei(),We(Et),We(ht),zo(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return _o(t),null;case 13:if(We(Qe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(l(340));Jn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return We(Qe),null;case 4:return ei(),null;case 10:return bo(t.type._context),null;case 22:case 23:return hs(),null;case 24:return null;default:return null}}var ol=!1,gt=!1,Fp=typeof WeakSet=="function"?WeakSet:Set,q=null;function ri(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(a){Xe(e,t,a)}else r.current=null}function ts(e,t,r){try{r()}catch(a){Xe(e,t,a)}}var rd=!1;function Ip(e,t){if(ho=Ra,e=Tu(),io(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var a=r.getSelection&&r.getSelection();if(a&&a.rangeCount!==0){r=a.anchorNode;var s=a.anchorOffset,d=a.focusNode;a=a.focusOffset;try{r.nodeType,d.nodeType}catch{r=null;break e}var m=0,w=-1,j=-1,T=0,A=0,V=e,$=null;t:for(;;){for(var J;V!==r||s!==0&&V.nodeType!==3||(w=m+s),V!==d||a!==0&&V.nodeType!==3||(j=m+a),V.nodeType===3&&(m+=V.nodeValue.length),(J=V.firstChild)!==null;)$=V,V=J;for(;;){if(V===e)break t;if($===r&&++T===s&&(w=m),$===d&&++A===a&&(j=m),(J=V.nextSibling)!==null)break;V=$,$=V.parentNode}V=J}r=w===-1||j===-1?null:{start:w,end:j}}else r=null}r=r||{start:0,end:0}}else r=null;for(po={focusedElem:e,selectionRange:r},Ra=!1,q=t;q!==null;)if(t=q,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,q=e;else for(;q!==null;){t=q;try{var re=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(re!==null){var le=re.memoizedProps,Ze=re.memoizedState,P=t.stateNode,C=P.getSnapshotBeforeUpdate(t.elementType===t.type?le:qt(t.type,le),Ze);P.__reactInternalSnapshotBeforeUpdate=C}break;case 3:var M=t.stateNode.containerInfo;M.nodeType===1?M.textContent="":M.nodeType===9&&M.documentElement&&M.removeChild(M.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(l(163))}}catch(B){Xe(t,t.return,B)}if(e=t.sibling,e!==null){e.return=t.return,q=e;break}q=t.return}return re=rd,rd=!1,re}function Ki(e,t,r){var a=t.updateQueue;if(a=a!==null?a.lastEffect:null,a!==null){var s=a=a.next;do{if((s.tag&e)===e){var d=s.destroy;s.destroy=void 0,d!==void 0&&ts(t,r,d)}s=s.next}while(s!==a)}}function sl(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 a=r.create;r.destroy=a()}r=r.next}while(r!==t)}}function rs(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 nd(e){var t=e.alternate;t!==null&&(e.alternate=null,nd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[lr],delete t[zi],delete t[vo],delete t[wp],delete t[kp])),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 id(e){return e.tag===5||e.tag===3||e.tag===4}function ad(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||id(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 ns(e,t,r){var a=e.tag;if(a===5||a===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=Ha));else if(a!==4&&(e=e.child,e!==null))for(ns(e,t,r),e=e.sibling;e!==null;)ns(e,t,r),e=e.sibling}function is(e,t,r){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(a!==4&&(e=e.child,e!==null))for(is(e,t,r),e=e.sibling;e!==null;)is(e,t,r),e=e.sibling}var dt=null,Zt=!1;function Kr(e,t,r){for(r=r.child;r!==null;)ld(e,t,r),r=r.sibling}function ld(e,t,r){if(xt&&typeof xt.onCommitFiberUnmount=="function")try{xt.onCommitFiberUnmount(mr,r)}catch{}switch(r.tag){case 5:gt||ri(r,t);case 6:var a=dt,s=Zt;dt=null,Kr(e,t,r),dt=a,Zt=s,dt!==null&&(Zt?(e=dt,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):dt.removeChild(r.stateNode));break;case 18:dt!==null&&(Zt?(e=dt,r=r.stateNode,e.nodeType===8?yo(e.parentNode,r):e.nodeType===1&&yo(e,r),ji(e)):yo(dt,r.stateNode));break;case 4:a=dt,s=Zt,dt=r.stateNode.containerInfo,Zt=!0,Kr(e,t,r),dt=a,Zt=s;break;case 0:case 11:case 14:case 15:if(!gt&&(a=r.updateQueue,a!==null&&(a=a.lastEffect,a!==null))){s=a=a.next;do{var d=s,m=d.destroy;d=d.tag,m!==void 0&&((d&2)!==0||(d&4)!==0)&&ts(r,t,m),s=s.next}while(s!==a)}Kr(e,t,r);break;case 1:if(!gt&&(ri(r,t),a=r.stateNode,typeof a.componentWillUnmount=="function"))try{a.props=r.memoizedProps,a.state=r.memoizedState,a.componentWillUnmount()}catch(w){Xe(r,t,w)}Kr(e,t,r);break;case 21:Kr(e,t,r);break;case 22:r.mode&1?(gt=(a=gt)||r.memoizedState!==null,Kr(e,t,r),gt=a):Kr(e,t,r);break;default:Kr(e,t,r)}}function od(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new Fp),t.forEach(function(a){var s=Yp.bind(null,e,a);r.has(a)||(r.add(a),a.then(s,s))})}}function er(e,t){var r=t.deletions;if(r!==null)for(var a=0;a<r.length;a++){var s=r[a];try{var d=e,m=t,w=m;e:for(;w!==null;){switch(w.tag){case 5:dt=w.stateNode,Zt=!1;break e;case 3:dt=w.stateNode.containerInfo,Zt=!0;break e;case 4:dt=w.stateNode.containerInfo,Zt=!0;break e}w=w.return}if(dt===null)throw Error(l(160));ld(d,m,s),dt=null,Zt=!1;var j=s.alternate;j!==null&&(j.return=null),s.return=null}catch(T){Xe(s,t,T)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)sd(t,e),t=t.sibling}function sd(e,t){var r=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(er(t,e),ur(e),a&4){try{Ki(3,e,e.return),sl(3,e)}catch(le){Xe(e,e.return,le)}try{Ki(5,e,e.return)}catch(le){Xe(e,e.return,le)}}break;case 1:er(t,e),ur(e),a&512&&r!==null&&ri(r,r.return);break;case 5:if(er(t,e),ur(e),a&512&&r!==null&&ri(r,r.return),e.flags&32){var s=e.stateNode;try{Lr(s,"")}catch(le){Xe(e,e.return,le)}}if(a&4&&(s=e.stateNode,s!=null)){var d=e.memoizedProps,m=r!==null?r.memoizedProps:d,w=e.type,j=e.updateQueue;if(e.updateQueue=null,j!==null)try{w==="input"&&d.type==="radio"&&d.name!=null&&rr(s,d),Dn(w,m);var T=Dn(w,d);for(m=0;m<j.length;m+=2){var A=j[m],V=j[m+1];A==="style"?It(s,V):A==="dangerouslySetInnerHTML"?Ft(s,V):A==="children"?Lr(s,V):G(s,A,V,T)}switch(w){case"input":ci(s,d);break;case"textarea":nr(s,d);break;case"select":var $=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!d.multiple;var J=d.value;J!=null?Rr(s,!!d.multiple,J,!1):$!==!!d.multiple&&(d.defaultValue!=null?Rr(s,!!d.multiple,d.defaultValue,!0):Rr(s,!!d.multiple,d.multiple?[]:"",!1))}s[zi]=d}catch(le){Xe(e,e.return,le)}}break;case 6:if(er(t,e),ur(e),a&4){if(e.stateNode===null)throw Error(l(162));s=e.stateNode,d=e.memoizedProps;try{s.nodeValue=d}catch(le){Xe(e,e.return,le)}}break;case 3:if(er(t,e),ur(e),a&4&&r!==null&&r.memoizedState.isDehydrated)try{ji(t.containerInfo)}catch(le){Xe(e,e.return,le)}break;case 4:er(t,e),ur(e);break;case 13:er(t,e),ur(e),s=e.child,s.flags&8192&&(d=s.memoizedState!==null,s.stateNode.isHidden=d,!d||s.alternate!==null&&s.alternate.memoizedState!==null||(os=He())),a&4&&od(e);break;case 22:if(A=r!==null&&r.memoizedState!==null,e.mode&1?(gt=(T=gt)||A,er(t,e),gt=T):er(t,e),ur(e),a&8192){if(T=e.memoizedState!==null,(e.stateNode.isHidden=T)&&!A&&(e.mode&1)!==0)for(q=e,A=e.child;A!==null;){for(V=q=A;q!==null;){switch($=q,J=$.child,$.tag){case 0:case 11:case 14:case 15:Ki(4,$,$.return);break;case 1:ri($,$.return);var re=$.stateNode;if(typeof re.componentWillUnmount=="function"){a=$,r=$.return;try{t=a,re.props=t.memoizedProps,re.state=t.memoizedState,re.componentWillUnmount()}catch(le){Xe(a,r,le)}}break;case 5:ri($,$.return);break;case 22:if($.memoizedState!==null){dd(V);continue}}J!==null?(J.return=$,q=J):dd(V)}A=A.sibling}e:for(A=null,V=e;;){if(V.tag===5){if(A===null){A=V;try{s=V.stateNode,T?(d=s.style,typeof d.setProperty=="function"?d.setProperty("display","none","important"):d.display="none"):(w=V.stateNode,j=V.memoizedProps.style,m=j!=null&&j.hasOwnProperty("display")?j.display:null,w.style.display=wa("display",m))}catch(le){Xe(e,e.return,le)}}}else if(V.tag===6){if(A===null)try{V.stateNode.nodeValue=T?"":V.memoizedProps}catch(le){Xe(e,e.return,le)}}else if((V.tag!==22&&V.tag!==23||V.memoizedState===null||V===e)&&V.child!==null){V.child.return=V,V=V.child;continue}if(V===e)break e;for(;V.sibling===null;){if(V.return===null||V.return===e)break e;A===V&&(A=null),V=V.return}A===V&&(A=null),V.sibling.return=V.return,V=V.sibling}}break;case 19:er(t,e),ur(e),a&4&&od(e);break;case 21:break;default:er(t,e),ur(e)}}function ur(e){var t=e.flags;if(t&2){try{e:{for(var r=e.return;r!==null;){if(id(r)){var a=r;break e}r=r.return}throw Error(l(160))}switch(a.tag){case 5:var s=a.stateNode;a.flags&32&&(Lr(s,""),a.flags&=-33);var d=ad(e);is(e,d,s);break;case 3:case 4:var m=a.stateNode.containerInfo,w=ad(e);ns(e,w,m);break;default:throw Error(l(161))}}catch(j){Xe(e,e.return,j)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Hp(e,t,r){q=e,ud(e)}function ud(e,t,r){for(var a=(e.mode&1)!==0;q!==null;){var s=q,d=s.child;if(s.tag===22&&a){var m=s.memoizedState!==null||ol;if(!m){var w=s.alternate,j=w!==null&&w.memoizedState!==null||gt;w=ol;var T=gt;if(ol=m,(gt=j)&&!T)for(q=s;q!==null;)m=q,j=m.child,m.tag===22&&m.memoizedState!==null?fd(s):j!==null?(j.return=m,q=j):fd(s);for(;d!==null;)q=d,ud(d),d=d.sibling;q=s,ol=w,gt=T}cd(e)}else(s.subtreeFlags&8772)!==0&&d!==null?(d.return=s,q=d):cd(e)}}function cd(e){for(;q!==null;){var t=q;if((t.flags&8772)!==0){var r=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:gt||sl(5,t);break;case 1:var a=t.stateNode;if(t.flags&4&&!gt)if(r===null)a.componentDidMount();else{var s=t.elementType===t.type?r.memoizedProps:qt(t.type,r.memoizedProps);a.componentDidUpdate(s,r.memoizedState,a.__reactInternalSnapshotBeforeUpdate)}var d=t.updateQueue;d!==null&&dc(t,d,a);break;case 3:var m=t.updateQueue;if(m!==null){if(r=null,t.child!==null)switch(t.child.tag){case 5:r=t.child.stateNode;break;case 1:r=t.child.stateNode}dc(t,m,r)}break;case 5:var w=t.stateNode;if(r===null&&t.flags&4){r=w;var j=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":j.autoFocus&&r.focus();break;case"img":j.src&&(r.src=j.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var T=t.alternate;if(T!==null){var A=T.memoizedState;if(A!==null){var V=A.dehydrated;V!==null&&ji(V)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(l(163))}gt||t.flags&512&&rs(t)}catch($){Xe(t,t.return,$)}}if(t===e){q=null;break}if(r=t.sibling,r!==null){r.return=t.return,q=r;break}q=t.return}}function dd(e){for(;q!==null;){var t=q;if(t===e){q=null;break}var r=t.sibling;if(r!==null){r.return=t.return,q=r;break}q=t.return}}function fd(e){for(;q!==null;){var t=q;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{sl(4,t)}catch(j){Xe(t,r,j)}break;case 1:var a=t.stateNode;if(typeof a.componentDidMount=="function"){var s=t.return;try{a.componentDidMount()}catch(j){Xe(t,s,j)}}var d=t.return;try{rs(t)}catch(j){Xe(t,d,j)}break;case 5:var m=t.return;try{rs(t)}catch(j){Xe(t,m,j)}}}catch(j){Xe(t,t.return,j)}if(t===e){q=null;break}var w=t.sibling;if(w!==null){w.return=t.return,q=w;break}q=t.return}}var $p=Math.ceil,ul=ne.ReactCurrentDispatcher,as=ne.ReactCurrentOwner,Bt=ne.ReactCurrentBatchConfig,ze=0,st=null,tt=null,ft=0,zt=0,ni=Ur(0),at=0,Yi=null,Sn=0,cl=0,ls=0,Gi=null,bt=null,os=0,ii=1/0,Er=null,dl=!1,ss=null,Yr=null,fl=!1,Gr=null,hl=0,Qi=0,us=null,pl=-1,ml=0;function kt(){return(ze&6)!==0?He():pl!==-1?pl:pl=He()}function Qr(e){return(e.mode&1)===0?1:(ze&2)!==0&&ft!==0?ft&-ft:Np.transition!==null?(ml===0&&(ml=au()),ml):(e=$e,e!==0||(e=window.event,e=e===void 0?16:pu(e.type)),e)}function tr(e,t,r,a){if(50<Qi)throw Qi=0,us=null,Error(l(185));xi(e,r,a),((ze&2)===0||e!==st)&&(e===st&&((ze&2)===0&&(cl|=r),at===4&&Jr(e,ft)),Lt(e,a),r===1&&ze===0&&(t.mode&1)===0&&(ii=He()+500,Va&&Vr()))}function Lt(e,t){var r=e.callbackNode;Nh(e,t);var a=ja(e,e===st?ft:0);if(a===0)r!==null&&lt(r),e.callbackNode=null,e.callbackPriority=0;else if(t=a&-a,e.callbackPriority!==t){if(r!=null&&lt(r),t===1)e.tag===0?Sp(pd.bind(null,e)):Zu(pd.bind(null,e)),vp(function(){(ze&6)===0&&Vr()}),r=null;else{switch(lu(a)){case 1:r=Ht;break;case 4:r=Ot;break;case 16:r=Mr;break;case 536870912:r=ar;break;default:r=Mr}r=Sd(r,hd.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function hd(e,t){if(pl=-1,ml=0,(ze&6)!==0)throw Error(l(327));var r=e.callbackNode;if(ai()&&e.callbackNode!==r)return null;var a=ja(e,e===st?ft:0);if(a===0)return null;if((a&30)!==0||(a&e.expiredLanes)!==0||t)t=gl(e,a);else{t=a;var s=ze;ze|=2;var d=gd();(st!==e||ft!==t)&&(Er=null,ii=He()+500,jn(e,t));do try{Vp();break}catch(w){md(e,w)}while(!0);Ro(),ul.current=d,ze=s,tt!==null?t=0:(st=null,ft=0,t=at)}if(t!==0){if(t===2&&(s=Al(e),s!==0&&(a=s,t=cs(e,s))),t===1)throw r=Yi,jn(e,0),Jr(e,a),Lt(e,He()),r;if(t===6)Jr(e,a);else{if(s=e.current.alternate,(a&30)===0&&!Up(s)&&(t=gl(e,a),t===2&&(d=Al(e),d!==0&&(a=d,t=cs(e,d))),t===1))throw r=Yi,jn(e,0),Jr(e,a),Lt(e,He()),r;switch(e.finishedWork=s,e.finishedLanes=a,t){case 0:case 1:throw Error(l(345));case 2:En(e,bt,Er);break;case 3:if(Jr(e,a),(a&130023424)===a&&(t=os+500-He(),10<t)){if(ja(e,0)!==0)break;if(s=e.suspendedLanes,(s&a)!==a){kt(),e.pingedLanes|=e.suspendedLanes&s;break}e.timeoutHandle=go(En.bind(null,e,bt,Er),t);break}En(e,bt,Er);break;case 4:if(Jr(e,a),(a&4194240)===a)break;for(t=e.eventTimes,s=-1;0<a;){var m=31-Ue(a);d=1<<m,m=t[m],m>s&&(s=m),a&=~d}if(a=s,a=He()-a,a=(120>a?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*$p(a/1960))-a,10<a){e.timeoutHandle=go(En.bind(null,e,bt,Er),a);break}En(e,bt,Er);break;case 5:En(e,bt,Er);break;default:throw Error(l(329))}}}return Lt(e,He()),e.callbackNode===r?hd.bind(null,e):null}function cs(e,t){var r=Gi;return e.current.memoizedState.isDehydrated&&(jn(e,t).flags|=256),e=gl(e,t),e!==2&&(t=bt,bt=r,t!==null&&ds(t)),e}function ds(e){bt===null?bt=e:bt.push.apply(bt,e)}function Up(e){for(var t=e;;){if(t.flags&16384){var r=t.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var a=0;a<r.length;a++){var s=r[a],d=s.getSnapshot;s=s.value;try{if(!Jt(d(),s))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 Jr(e,t){for(t&=~ls,t&=~cl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-Ue(t),a=1<<r;e[r]=-1,t&=~a}}function pd(e){if((ze&6)!==0)throw Error(l(327));ai();var t=ja(e,0);if((t&1)===0)return Lt(e,He()),null;var r=gl(e,t);if(e.tag!==0&&r===2){var a=Al(e);a!==0&&(t=a,r=cs(e,a))}if(r===1)throw r=Yi,jn(e,0),Jr(e,t),Lt(e,He()),r;if(r===6)throw Error(l(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,En(e,bt,Er),Lt(e,He()),null}function fs(e,t){var r=ze;ze|=1;try{return e(t)}finally{ze=r,ze===0&&(ii=He()+500,Va&&Vr())}}function Nn(e){Gr!==null&&Gr.tag===0&&(ze&6)===0&&ai();var t=ze;ze|=1;var r=Bt.transition,a=$e;try{if(Bt.transition=null,$e=1,e)return e()}finally{$e=a,Bt.transition=r,ze=t,(ze&6)===0&&Vr()}}function hs(){zt=ni.current,We(ni)}function jn(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,yp(r)),tt!==null)for(r=tt.return;r!==null;){var a=r;switch(So(a),a.tag){case 1:a=a.type.childContextTypes,a!=null&&Ua();break;case 3:ei(),We(Et),We(ht),zo();break;case 5:_o(a);break;case 4:ei();break;case 13:We(Qe);break;case 19:We(Qe);break;case 10:bo(a.type._context);break;case 22:case 23:hs()}r=r.return}if(st=e,tt=e=Xr(e.current,null),ft=zt=t,at=0,Yi=null,ls=cl=Sn=0,bt=Gi=null,xn!==null){for(t=0;t<xn.length;t++)if(r=xn[t],a=r.interleaved,a!==null){r.interleaved=null;var s=a.next,d=r.pending;if(d!==null){var m=d.next;d.next=s,a.next=m}r.pending=a}xn=null}return e}function md(e,t){do{var r=tt;try{if(Ro(),Za.current=nl,el){for(var a=Je.memoizedState;a!==null;){var s=a.queue;s!==null&&(s.pending=null),a=a.next}el=!1}if(kn=0,ot=it=Je=null,Ui=!1,Ai=0,as.current=null,r===null||r.return===null){at=1,Yi=t,tt=null;break}e:{var d=e,m=r.return,w=r,j=t;if(t=ft,w.flags|=32768,j!==null&&typeof j=="object"&&typeof j.then=="function"){var T=j,A=w,V=A.tag;if((A.mode&1)===0&&(V===0||V===11||V===15)){var $=A.alternate;$?(A.updateQueue=$.updateQueue,A.memoizedState=$.memoizedState,A.lanes=$.lanes):(A.updateQueue=null,A.memoizedState=null)}var J=$c(m);if(J!==null){J.flags&=-257,Uc(J,m,w,d,t),J.mode&1&&Hc(d,T,t),t=J,j=T;var re=t.updateQueue;if(re===null){var le=new Set;le.add(j),t.updateQueue=le}else re.add(j);break e}else{if((t&1)===0){Hc(d,T,t),ps();break e}j=Error(l(426))}}else if(Ye&&w.mode&1){var Ze=$c(m);if(Ze!==null){(Ze.flags&65536)===0&&(Ze.flags|=256),Uc(Ze,m,w,d,t),Eo(ti(j,w));break e}}d=j=ti(j,w),at!==4&&(at=2),Gi===null?Gi=[d]:Gi.push(d),d=m;do{switch(d.tag){case 3:d.flags|=65536,t&=-t,d.lanes|=t;var P=Fc(d,j,t);cc(d,P);break e;case 1:w=j;var C=d.type,M=d.stateNode;if((d.flags&128)===0&&(typeof C.getDerivedStateFromError=="function"||M!==null&&typeof M.componentDidCatch=="function"&&(Yr===null||!Yr.has(M)))){d.flags|=65536,t&=-t,d.lanes|=t;var B=Ic(d,w,t);cc(d,B);break e}}d=d.return}while(d!==null)}vd(r)}catch(se){t=se,tt===r&&r!==null&&(tt=r=r.return);continue}break}while(!0)}function gd(){var e=ul.current;return ul.current=nl,e===null?nl:e}function ps(){(at===0||at===3||at===2)&&(at=4),st===null||(Sn&268435455)===0&&(cl&268435455)===0||Jr(st,ft)}function gl(e,t){var r=ze;ze|=2;var a=gd();(st!==e||ft!==t)&&(Er=null,jn(e,t));do try{Ap();break}catch(s){md(e,s)}while(!0);if(Ro(),ze=r,ul.current=a,tt!==null)throw Error(l(261));return st=null,ft=0,at}function Ap(){for(;tt!==null;)yd(tt)}function Vp(){for(;tt!==null&&!Ie();)yd(tt)}function yd(e){var t=kd(e.alternate,e,zt);e.memoizedProps=e.pendingProps,t===null?vd(e):tt=t,as.current=null}function vd(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&32768)===0){if(r=zp(r,t,zt),r!==null){tt=r;return}}else{if(r=Dp(r,t),r!==null){r.flags&=32767,tt=r;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{at=6,tt=null;return}}if(t=t.sibling,t!==null){tt=t;return}tt=t=e}while(t!==null);at===0&&(at=5)}function En(e,t,r){var a=$e,s=Bt.transition;try{Bt.transition=null,$e=1,Bp(e,t,r,a)}finally{Bt.transition=s,$e=a}return null}function Bp(e,t,r,a){do ai();while(Gr!==null);if((ze&6)!==0)throw Error(l(327));r=e.finishedWork;var s=e.finishedLanes;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(l(177));e.callbackNode=null,e.callbackPriority=0;var d=r.lanes|r.childLanes;if(jh(e,d),e===st&&(tt=st=null,ft=0),(r.subtreeFlags&2064)===0&&(r.flags&2064)===0||fl||(fl=!0,Sd(Mr,function(){return ai(),null})),d=(r.flags&15990)!==0,(r.subtreeFlags&15990)!==0||d){d=Bt.transition,Bt.transition=null;var m=$e;$e=1;var w=ze;ze|=4,as.current=null,Ip(e,r),sd(r,e),cp(po),Ra=!!ho,po=ho=null,e.current=r,Hp(r),jt(),ze=w,$e=m,Bt.transition=d}else e.current=r;if(fl&&(fl=!1,Gr=e,hl=s),d=e.pendingLanes,d===0&&(Yr=null),Te(r.stateNode),Lt(e,He()),t!==null)for(a=e.onRecoverableError,r=0;r<t.length;r++)s=t[r],a(s.value,{componentStack:s.stack,digest:s.digest});if(dl)throw dl=!1,e=ss,ss=null,e;return(hl&1)!==0&&e.tag!==0&&ai(),d=e.pendingLanes,(d&1)!==0?e===us?Qi++:(Qi=0,us=e):Qi=0,Vr(),null}function ai(){if(Gr!==null){var e=lu(hl),t=Bt.transition,r=$e;try{if(Bt.transition=null,$e=16>e?16:e,Gr===null)var a=!1;else{if(e=Gr,Gr=null,hl=0,(ze&6)!==0)throw Error(l(331));var s=ze;for(ze|=4,q=e.current;q!==null;){var d=q,m=d.child;if((q.flags&16)!==0){var w=d.deletions;if(w!==null){for(var j=0;j<w.length;j++){var T=w[j];for(q=T;q!==null;){var A=q;switch(A.tag){case 0:case 11:case 15:Ki(8,A,d)}var V=A.child;if(V!==null)V.return=A,q=V;else for(;q!==null;){A=q;var $=A.sibling,J=A.return;if(nd(A),A===T){q=null;break}if($!==null){$.return=J,q=$;break}q=J}}}var re=d.alternate;if(re!==null){var le=re.child;if(le!==null){re.child=null;do{var Ze=le.sibling;le.sibling=null,le=Ze}while(le!==null)}}q=d}}if((d.subtreeFlags&2064)!==0&&m!==null)m.return=d,q=m;else e:for(;q!==null;){if(d=q,(d.flags&2048)!==0)switch(d.tag){case 0:case 11:case 15:Ki(9,d,d.return)}var P=d.sibling;if(P!==null){P.return=d.return,q=P;break e}q=d.return}}var C=e.current;for(q=C;q!==null;){m=q;var M=m.child;if((m.subtreeFlags&2064)!==0&&M!==null)M.return=m,q=M;else e:for(m=C;q!==null;){if(w=q,(w.flags&2048)!==0)try{switch(w.tag){case 0:case 11:case 15:sl(9,w)}}catch(se){Xe(w,w.return,se)}if(w===m){q=null;break e}var B=w.sibling;if(B!==null){B.return=w.return,q=B;break e}q=w.return}}if(ze=s,Vr(),xt&&typeof xt.onPostCommitFiberRoot=="function")try{xt.onPostCommitFiberRoot(mr,e)}catch{}a=!0}return a}finally{$e=r,Bt.transition=t}}return!1}function xd(e,t,r){t=ti(r,t),t=Fc(e,t,1),e=Wr(e,t,1),t=kt(),e!==null&&(xi(e,1,t),Lt(e,t))}function Xe(e,t,r){if(e.tag===3)xd(e,e,r);else for(;t!==null;){if(t.tag===3){xd(t,e,r);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Yr===null||!Yr.has(a))){e=ti(r,e),e=Ic(t,e,1),t=Wr(t,e,1),e=kt(),t!==null&&(xi(t,1,e),Lt(t,e));break}}t=t.return}}function Wp(e,t,r){var a=e.pingCache;a!==null&&a.delete(t),t=kt(),e.pingedLanes|=e.suspendedLanes&r,st===e&&(ft&r)===r&&(at===4||at===3&&(ft&130023424)===ft&&500>He()-os?jn(e,0):ls|=r),Lt(e,t)}function wd(e,t){t===0&&((e.mode&1)===0?t=1:(t=hn,hn<<=1,(hn&130023424)===0&&(hn=4194304)));var r=kt();e=Sr(e,t),e!==null&&(xi(e,t,r),Lt(e,r))}function Kp(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),wd(e,r)}function Yp(e,t){var r=0;switch(e.tag){case 13:var a=e.stateNode,s=e.memoizedState;s!==null&&(r=s.retryLane);break;case 19:a=e.stateNode;break;default:throw Error(l(314))}a!==null&&a.delete(t),wd(e,r)}var kd;kd=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||Et.current)Rt=!0;else{if((e.lanes&r)===0&&(t.flags&128)===0)return Rt=!1,Tp(e,t,r);Rt=(e.flags&131072)!==0}else Rt=!1,Ye&&(t.flags&1048576)!==0&&ec(t,Wa,t.index);switch(t.lanes=0,t.tag){case 2:var a=t.type;ll(e,t),e=t.pendingProps;var s=Yn(t,ht.current);Zn(t,r),s=Io(null,t,a,e,s,r);var d=Ho();return t.flags|=1,typeof s=="object"&&s!==null&&typeof s.render=="function"&&s.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ct(a)?(d=!0,Aa(t)):d=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,Oo(t),s.updater=il,t.stateNode=s,s._reactInternals=t,Wo(t,a,e,r),t=Qo(null,t,a,!0,d,r)):(t.tag=0,Ye&&d&&ko(t),wt(null,t,s,r),t=t.child),t;case 16:a=t.elementType;e:{switch(ll(e,t),e=t.pendingProps,s=a._init,a=s(a._payload),t.type=a,s=t.tag=Qp(a),e=qt(a,e),s){case 0:t=Go(null,t,a,e,r);break e;case 1:t=Yc(null,t,a,e,r);break e;case 11:t=Ac(null,t,a,e,r);break e;case 14:t=Vc(null,t,a,qt(a.type,e),r);break e}throw Error(l(306,a,""))}return t;case 0:return a=t.type,s=t.pendingProps,s=t.elementType===a?s:qt(a,s),Go(e,t,a,s,r);case 1:return a=t.type,s=t.pendingProps,s=t.elementType===a?s:qt(a,s),Yc(e,t,a,s,r);case 3:e:{if(Gc(t),e===null)throw Error(l(387));a=t.pendingProps,d=t.memoizedState,s=d.element,uc(e,t),Xa(t,a,null,r);var m=t.memoizedState;if(a=m.element,d.isDehydrated)if(d={element:a,isDehydrated:!1,cache:m.cache,pendingSuspenseBoundaries:m.pendingSuspenseBoundaries,transitions:m.transitions},t.updateQueue.baseState=d,t.memoizedState=d,t.flags&256){s=ti(Error(l(423)),t),t=Qc(e,t,a,r,s);break e}else if(a!==s){s=ti(Error(l(424)),t),t=Qc(e,t,a,r,s);break e}else for(Tt=$r(t.stateNode.containerInfo.firstChild),_t=t,Ye=!0,Xt=null,r=oc(t,null,a,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Jn(),a===s){t=jr(e,t,r);break e}wt(e,t,a,r)}t=t.child}return t;case 5:return fc(t),e===null&&jo(t),a=t.type,s=t.pendingProps,d=e!==null?e.memoizedProps:null,m=s.children,mo(a,s)?m=null:d!==null&&mo(a,d)&&(t.flags|=32),Kc(e,t),wt(e,t,m,r),t.child;case 6:return e===null&&jo(t),null;case 13:return Jc(e,t,r);case 4:return Mo(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=Xn(t,null,a,r):wt(e,t,a,r),t.child;case 11:return a=t.type,s=t.pendingProps,s=t.elementType===a?s:qt(a,s),Ac(e,t,a,s,r);case 7:return wt(e,t,t.pendingProps,r),t.child;case 8:return wt(e,t,t.pendingProps.children,r),t.child;case 12:return wt(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(a=t.type._context,s=t.pendingProps,d=t.memoizedProps,m=s.value,Ve(Ga,a._currentValue),a._currentValue=m,d!==null)if(Jt(d.value,m)){if(d.children===s.children&&!Et.current){t=jr(e,t,r);break e}}else for(d=t.child,d!==null&&(d.return=t);d!==null;){var w=d.dependencies;if(w!==null){m=d.child;for(var j=w.firstContext;j!==null;){if(j.context===a){if(d.tag===1){j=Nr(-1,r&-r),j.tag=2;var T=d.updateQueue;if(T!==null){T=T.shared;var A=T.pending;A===null?j.next=j:(j.next=A.next,A.next=j),T.pending=j}}d.lanes|=r,j=d.alternate,j!==null&&(j.lanes|=r),Lo(d.return,r,t),w.lanes|=r;break}j=j.next}}else if(d.tag===10)m=d.type===t.type?null:d.child;else if(d.tag===18){if(m=d.return,m===null)throw Error(l(341));m.lanes|=r,w=m.alternate,w!==null&&(w.lanes|=r),Lo(m,r,t),m=d.sibling}else m=d.child;if(m!==null)m.return=d;else for(m=d;m!==null;){if(m===t){m=null;break}if(d=m.sibling,d!==null){d.return=m.return,m=d;break}m=m.return}d=m}wt(e,t,s.children,r),t=t.child}return t;case 9:return s=t.type,a=t.pendingProps.children,Zn(t,r),s=At(s),a=a(s),t.flags|=1,wt(e,t,a,r),t.child;case 14:return a=t.type,s=qt(a,t.pendingProps),s=qt(a.type,s),Vc(e,t,a,s,r);case 15:return Bc(e,t,t.type,t.pendingProps,r);case 17:return a=t.type,s=t.pendingProps,s=t.elementType===a?s:qt(a,s),ll(e,t),t.tag=1,Ct(a)?(e=!0,Aa(t)):e=!1,Zn(t,r),zc(t,a,s),Wo(t,a,s,r),Qo(null,t,a,!0,e,r);case 19:return qc(e,t,r);case 22:return Wc(e,t,r)}throw Error(l(156,t.tag))};function Sd(e,t){return qe(e,t)}function Gp(e,t,r,a){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=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Wt(e,t,r,a){return new Gp(e,t,r,a)}function ms(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Qp(e){if(typeof e=="function")return ms(e)?1:0;if(e!=null){if(e=e.$$typeof,e===pe)return 11;if(e===Ee)return 14}return 2}function Xr(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 yl(e,t,r,a,s,d){var m=2;if(a=e,typeof e=="function")ms(e)&&(m=1);else if(typeof e=="string")m=5;else e:switch(e){case O:return Cn(r.children,s,d,t);case Z:m=8,s|=8;break;case ee:return e=Wt(12,r,t,s|2),e.elementType=ee,e.lanes=d,e;case fe:return e=Wt(13,r,t,s),e.elementType=fe,e.lanes=d,e;case ie:return e=Wt(19,r,t,s),e.elementType=ie,e.lanes=d,e;case ge:return vl(r,s,d,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ce:m=10;break e;case Le:m=9;break e;case pe:m=11;break e;case Ee:m=14;break e;case he:m=16,a=null;break e}throw Error(l(130,e==null?e:typeof e,""))}return t=Wt(m,r,t,s),t.elementType=e,t.type=a,t.lanes=d,t}function Cn(e,t,r,a){return e=Wt(7,e,a,t),e.lanes=r,e}function vl(e,t,r,a){return e=Wt(22,e,a,t),e.elementType=ge,e.lanes=r,e.stateNode={isHidden:!1},e}function gs(e,t,r){return e=Wt(6,e,null,t),e.lanes=r,e}function ys(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 Jp(e,t,r,a,s){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=Vl(0),this.expirationTimes=Vl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Vl(0),this.identifierPrefix=a,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function vs(e,t,r,a,s,d,m,w,j){return e=new Jp(e,t,r,w,j),t===1?(t=1,d===!0&&(t|=8)):t=0,d=Wt(3,null,null,t),e.current=d,d.stateNode=e,d.memoizedState={element:a,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Oo(d),e}function Xp(e,t,r){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Se,key:a==null?null:""+a,children:e,containerInfo:t,implementation:r}}function Nd(e){if(!e)return Ar;e=e._reactInternals;e:{if(ae(e)!==e||e.tag!==1)throw Error(l(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ct(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(l(171))}if(e.tag===1){var r=e.type;if(Ct(r))return Xu(e,r,t)}return t}function jd(e,t,r,a,s,d,m,w,j){return e=vs(r,a,!0,e,s,d,m,w,j),e.context=Nd(null),r=e.current,a=kt(),s=Qr(r),d=Nr(a,s),d.callback=t??null,Wr(r,d,s),e.current.lanes=s,xi(e,s,a),Lt(e,a),e}function xl(e,t,r,a){var s=t.current,d=kt(),m=Qr(s);return r=Nd(r),t.context===null?t.context=r:t.pendingContext=r,t=Nr(d,m),t.payload={element:e},a=a===void 0?null:a,a!==null&&(t.callback=a),e=Wr(s,t,m),e!==null&&(tr(e,s,m,d),Ja(e,s,m)),m}function wl(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 Ed(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function xs(e,t){Ed(e,t),(e=e.alternate)&&Ed(e,t)}function qp(){return null}var Cd=typeof reportError=="function"?reportError:function(e){console.error(e)};function ws(e){this._internalRoot=e}kl.prototype.render=ws.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(l(409));xl(e,t,null,null)},kl.prototype.unmount=ws.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Nn(function(){xl(null,e,null,null)}),t[vr]=null}};function kl(e){this._internalRoot=e}kl.prototype.unstable_scheduleHydration=function(e){if(e){var t=uu();e={blockedOn:null,target:e,priority:t};for(var r=0;r<Fr.length&&t!==0&&t<Fr[r].priority;r++);Fr.splice(r,0,e),r===0&&fu(e)}};function ks(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Sl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Rd(){}function Zp(e,t,r,a,s){if(s){if(typeof a=="function"){var d=a;a=function(){var T=wl(m);d.call(T)}}var m=jd(t,a,e,0,null,!1,!1,"",Rd);return e._reactRootContainer=m,e[vr]=m.current,_i(e.nodeType===8?e.parentNode:e),Nn(),m}for(;s=e.lastChild;)e.removeChild(s);if(typeof a=="function"){var w=a;a=function(){var T=wl(j);w.call(T)}}var j=vs(e,0,!1,null,null,!1,!1,"",Rd);return e._reactRootContainer=j,e[vr]=j.current,_i(e.nodeType===8?e.parentNode:e),Nn(function(){xl(t,j,r,a)}),j}function Nl(e,t,r,a,s){var d=r._reactRootContainer;if(d){var m=d;if(typeof s=="function"){var w=s;s=function(){var j=wl(m);w.call(j)}}xl(t,m,e,s)}else m=Zp(r,t,e,s,a);return wl(m)}ou=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=pn(t.pendingLanes);r!==0&&(Bl(t,r|1),Lt(t,He()),(ze&6)===0&&(ii=He()+500,Vr()))}break;case 13:Nn(function(){var a=Sr(e,1);if(a!==null){var s=kt();tr(a,e,1,s)}}),xs(e,1)}},Wl=function(e){if(e.tag===13){var t=Sr(e,134217728);if(t!==null){var r=kt();tr(t,e,134217728,r)}xs(e,134217728)}},su=function(e){if(e.tag===13){var t=Qr(e),r=Sr(e,t);if(r!==null){var a=kt();tr(r,e,t,a)}xs(e,t)}},uu=function(){return $e},cu=function(e,t){var r=$e;try{return $e=e,t()}finally{$e=r}},Pr=function(e,t,r){switch(t){case"input":if(ci(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 a=r[t];if(a!==e&&a.form===e.form){var s=$a(a);if(!s)throw Error(l(90));nt(a),ci(a,s)}}}break;case"textarea":nr(e,r);break;case"select":t=r.value,t!=null&&Rr(e,!!r.multiple,t,!1)}},gi=fs,un=Nn;var em={usingClientEntryPoint:!1,Events:[Di,Wn,$a,mi,Na,fs]},Ji={findFiberByHostInstance:mn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},tm={bundleType:Ji.bundleType,version:Ji.version,rendererPackageName:Ji.rendererPackageName,rendererConfig:Ji.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ne.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=_e(e),e===null?null:e.stateNode},findFiberByHostInstance:Ji.findFiberByHostInstance||qp,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 jl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!jl.isDisabled&&jl.supportsFiber)try{mr=jl.inject(tm),xt=jl}catch{}}return Pt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=em,Pt.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ks(t))throw Error(l(200));return Xp(e,t,null,r)},Pt.createRoot=function(e,t){if(!ks(e))throw Error(l(299));var r=!1,a="",s=Cd;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=vs(e,1,!1,null,null,r,!1,a,s),e[vr]=t.current,_i(e.nodeType===8?e.parentNode:e),new ws(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(l(188)):(e=Object.keys(e).join(","),Error(l(268,e)));return e=_e(t),e=e===null?null:e.stateNode,e},Pt.flushSync=function(e){return Nn(e)},Pt.hydrate=function(e,t,r){if(!Sl(t))throw Error(l(200));return Nl(null,e,t,!0,r)},Pt.hydrateRoot=function(e,t,r){if(!ks(e))throw Error(l(405));var a=r!=null&&r.hydratedSources||null,s=!1,d="",m=Cd;if(r!=null&&(r.unstable_strictMode===!0&&(s=!0),r.identifierPrefix!==void 0&&(d=r.identifierPrefix),r.onRecoverableError!==void 0&&(m=r.onRecoverableError)),t=jd(t,null,e,1,r??null,s,!1,d,m),e[vr]=t.current,_i(e),a)for(e=0;e<a.length;e++)r=a[e],s=r._getVersion,s=s(r._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[r,s]:t.mutableSourceEagerHydrationData.push(r,s);return new kl(t)},Pt.render=function(e,t,r){if(!Sl(t))throw Error(l(200));return Nl(null,e,t,!1,r)},Pt.unmountComponentAtNode=function(e){if(!Sl(e))throw Error(l(40));return e._reactRootContainer?(Nn(function(){Nl(null,null,e,!1,function(){e._reactRootContainer=null,e[vr]=null})}),!0):!1},Pt.unstable_batchedUpdates=fs,Pt.unstable_renderSubtreeIntoContainer=function(e,t,r,a){if(!Sl(r))throw Error(l(200));if(e==null||e._reactInternals===void 0)throw Error(l(38));return Nl(e,t,r,!1,a)},Pt.version="18.3.1-next-f1338f8080-20240426",Pt}var zd;function dm(){if(zd)return js.exports;zd=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(i){console.error(i)}}return n(),js.exports=cm(),js.exports}var Dd;function fm(){if(Dd)return El;Dd=1;var n=dm();return El.createRoot=n.createRoot,El.hydrateRoot=n.hydrateRoot,El}var hm=fm(),L=Il();const pm=im(L),mm=nm({__proto__:null,default:pm},[L]);/**
* 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 Tf=n=>{throw TypeError(n)},gm=(n,i,l)=>i.has(n)||Tf("Cannot "+l),Rs=(n,i,l)=>(gm(n,i,"read from private field"),l?l.call(n):i.get(n)),ym=(n,i,l)=>i.has(n)?Tf("Cannot add the same private member more than once"):i instanceof WeakSet?i.add(n):i.set(n,l),Fd="popstate";function vm(n={}){function i(u,o){let{pathname:c,search:f,hash:h}=u.location;return sa("",{pathname:c,search:f,hash:h},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function l(u,o){return typeof o=="string"?o:fr(o)}return wm(i,l,null,n)}function Oe(n,i){if(n===!1||n===null||typeof n>"u")throw new Error(i)}function rt(n,i){if(!n){typeof console<"u"&&console.warn(i);try{throw new Error(i)}catch{}}}function xm(){return Math.random().toString(36).substring(2,10)}function Id(n,i){return{usr:n.state,key:n.key,idx:i}}function sa(n,i,l=null,u){return{pathname:typeof n=="string"?n:n.pathname,search:"",hash:"",...typeof i=="string"?rn(i):i,state:l,key:i&&i.key||u||xm()}}function fr({pathname:n="/",search:i="",hash:l=""}){return i&&i!=="?"&&(n+=i.charAt(0)==="?"?i:"?"+i),l&&l!=="#"&&(n+=l.charAt(0)==="#"?l:"#"+l),n}function rn(n){let i={};if(n){let l=n.indexOf("#");l>=0&&(i.hash=n.substring(l),n=n.substring(0,l));let u=n.indexOf("?");u>=0&&(i.search=n.substring(u),n=n.substring(0,u)),n&&(i.pathname=n)}return i}function wm(n,i,l,u={}){let{window:o=document.defaultView,v5Compat:c=!1}=u,f=o.history,h="POP",p=null,y=x();y==null&&(y=0,f.replaceState({...f.state,idx:y},""));function x(){return(f.state||{idx:null}).idx}function v(){h="POP";let F=x(),Y=F==null?null:F-y;y=F,p&&p({action:h,location:z.location,delta:Y})}function S(F,Y){h="PUSH";let H=sa(z.location,F,Y);y=x()+1;let G=Id(H,y),ne=z.createHref(H);try{f.pushState(G,"",ne)}catch(ue){if(ue instanceof DOMException&&ue.name==="DataCloneError")throw ue;o.location.assign(ne)}c&&p&&p({action:h,location:z.location,delta:1})}function N(F,Y){h="REPLACE";let H=sa(z.location,F,Y);y=x();let G=Id(H,y),ne=z.createHref(H);f.replaceState(G,"",ne),c&&p&&p({action:h,location:z.location,delta:0})}function b(F){return zf(F)}let z={get action(){return h},get location(){return n(o,f)},listen(F){if(p)throw new Error("A history only accepts one active listener");return o.addEventListener(Fd,v),p=F,()=>{o.removeEventListener(Fd,v),p=null}},createHref(F){return i(o,F)},createURL:b,encodeLocation(F){let Y=b(F);return{pathname:Y.pathname,search:Y.search,hash:Y.hash}},push:S,replace:N,go(F){return f.go(F)}};return z}function zf(n,i=!1){let l="http://localhost";typeof window<"u"&&(l=window.location.origin!=="null"?window.location.origin:window.location.href),Oe(l,"No window.location.(origin|href) available to create URL");let u=typeof n=="string"?n:fr(n);return u=u.replace(/ $/,"%20"),!i&&u.startsWith("//")&&(u=l+u),new URL(u,l)}var ra,Hd=class{constructor(n){if(ym(this,ra,new Map),n)for(let[i,l]of n)this.set(i,l)}get(n){if(Rs(this,ra).has(n))return Rs(this,ra).get(n);if(n.defaultValue!==void 0)return n.defaultValue;throw new Error("No value found for context")}set(n,i){Rs(this,ra).set(n,i)}};ra=new WeakMap;var km=new Set(["lazy","caseSensitive","path","id","index","children"]);function Sm(n){return km.has(n)}var Nm=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function jm(n){return Nm.has(n)}function Em(n){return n.index===!0}function ua(n,i,l=[],u={},o=!1){return n.map((c,f)=>{let h=[...l,String(f)],p=typeof c.id=="string"?c.id:h.join("-");if(Oe(c.index!==!0||!c.children,"Cannot specify children on an index route"),Oe(o||!u[p],`Found a route id collision on id "${p}". Route id's must be globally unique within Data Router usages`),Em(c)){let y={...c,id:p};return u[p]=$d(y,i(y)),y}else{let y={...c,id:p,children:void 0};return u[p]=$d(y,i(y)),c.children&&(y.children=ua(c.children,i,h,u,o)),y}})}function $d(n,i){return Object.assign(n,{...i,...typeof i.lazy=="object"&&i.lazy!=null?{lazy:{...n.lazy,...i.lazy}}:{}})}function Zr(n,i,l="/"){return na(n,i,l,!1)}function na(n,i,l,u){let o=typeof i=="string"?rn(i):i,c=Yt(o.pathname||"/",l);if(c==null)return null;let f=Df(n);Rm(f);let h=null;for(let p=0;h==null&&p<f.length;++p){let y=Im(c);h=Dm(f[p],y,u)}return h}function Cm(n,i){let{route:l,pathname:u,params:o}=n;return{id:l.id,pathname:u,params:o,data:i[l.id],loaderData:i[l.id],handle:l.handle}}function Df(n,i=[],l=[],u="",o=!1){let c=(f,h,p=o,y)=>{let x={relativePath:y===void 0?f.path||"":y,caseSensitive:f.caseSensitive===!0,childrenIndex:h,route:f};if(x.relativePath.startsWith("/")){if(!x.relativePath.startsWith(u)&&p)return;Oe(x.relativePath.startsWith(u),`Absolute route path "${x.relativePath}" nested under path "${u}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),x.relativePath=x.relativePath.slice(u.length)}let v=dr([u,x.relativePath]),S=l.concat(x);f.children&&f.children.length>0&&(Oe(f.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),Df(f.children,i,S,v,p)),!(f.path==null&&!f.index)&&i.push({path:v,score:Tm(v,f.index),routesMeta:S})};return n.forEach((f,h)=>{var p;if(f.path===""||!((p=f.path)!=null&&p.includes("?")))c(f,h);else for(let y of Ff(f.path))c(f,h,!0,y)}),i}function Ff(n){let i=n.split("/");if(i.length===0)return[];let[l,...u]=i,o=l.endsWith("?"),c=l.replace(/\?$/,"");if(u.length===0)return o?[c,""]:[c];let f=Ff(u.join("/")),h=[];return h.push(...f.map(p=>p===""?c:[c,p].join("/"))),o&&h.push(...f),h.map(p=>n.startsWith("/")&&p===""?"/":p)}function Rm(n){n.sort((i,l)=>i.score!==l.score?l.score-i.score:zm(i.routesMeta.map(u=>u.childrenIndex),l.routesMeta.map(u=>u.childrenIndex)))}var bm=/^:[\w-]+$/,Lm=3,Pm=2,Om=1,Mm=10,_m=-2,Ud=n=>n==="*";function Tm(n,i){let l=n.split("/"),u=l.length;return l.some(Ud)&&(u+=_m),i&&(u+=Pm),l.filter(o=>!Ud(o)).reduce((o,c)=>o+(bm.test(c)?Lm:c===""?Om:Mm),u)}function zm(n,i){return n.length===i.length&&n.slice(0,-1).every((u,o)=>u===i[o])?n[n.length-1]-i[i.length-1]:0}function Dm(n,i,l=!1){let{routesMeta:u}=n,o={},c="/",f=[];for(let h=0;h<u.length;++h){let p=u[h],y=h===u.length-1,x=c==="/"?i:i.slice(c.length)||"/",v=_l({path:p.relativePath,caseSensitive:p.caseSensitive,end:y},x),S=p.route;if(!v&&y&&l&&!u[u.length-1].route.index&&(v=_l({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},x)),!v)return null;Object.assign(o,v.params),f.push({params:o,pathname:dr([c,v.pathname]),pathnameBase:Um(dr([c,v.pathnameBase])),route:S}),v.pathnameBase!=="/"&&(c=dr([c,v.pathnameBase]))}return f}function _l(n,i){typeof n=="string"&&(n={path:n,caseSensitive:!1,end:!0});let[l,u]=Fm(n.path,n.caseSensitive,n.end),o=i.match(l);if(!o)return null;let c=o[0],f=c.replace(/(.)\/+$/,"$1"),h=o.slice(1);return{params:u.reduce((y,{paramName:x,isOptional:v},S)=>{if(x==="*"){let b=h[S]||"";f=c.slice(0,c.length-b.length).replace(/(.)\/+$/,"$1")}const N=h[S];return v&&!N?y[x]=void 0:y[x]=(N||"").replace(/%2F/g,"/"),y},{}),pathname:c,pathnameBase:f,pattern:n}}function Fm(n,i=!1,l=!0){rt(n==="*"||!n.endsWith("*")||n.endsWith("/*"),`Route path "${n}" will be treated as if it were "${n.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${n.replace(/\*$/,"/*")}".`);let u=[],o="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(f,h,p)=>(u.push({paramName:h,isOptional:p!=null}),p?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return n.endsWith("*")?(u.push({paramName:"*"}),o+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):l?o+="\\/*$":n!==""&&n!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,i?void 0:"i"),u]}function Im(n){try{return n.split("/").map(i=>decodeURIComponent(i).replace(/\//g,"%2F")).join("/")}catch(i){return rt(!1,`The URL path "${n}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${i}).`),n}}function Yt(n,i){if(i==="/")return n;if(!n.toLowerCase().startsWith(i.toLowerCase()))return null;let l=i.endsWith("/")?i.length-1:i.length,u=n.charAt(l);return u&&u!=="/"?null:n.slice(l)||"/"}function Hm({basename:n,pathname:i}){return i==="/"?n:dr([n,i])}var If=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ks=n=>If.test(n);function $m(n,i="/"){let{pathname:l,search:u="",hash:o=""}=typeof n=="string"?rn(n):n,c;return l?(l=l.replace(/\/\/+/g,"/"),l.startsWith("/")?c=Ad(l.substring(1),"/"):c=Ad(l,i)):c=i,{pathname:c,search:Am(u),hash:Vm(o)}}function Ad(n,i){let l=i.replace(/\/+$/,"").split("/");return n.split("/").forEach(o=>{o===".."?l.length>1&&l.pop():o!=="."&&l.push(o)}),l.length>1?l.join("/"):"/"}function bs(n,i,l,u){return`Cannot include a '${n}' character in a manually specified \`to.${i}\` field [${JSON.stringify(u)}]. Please separate it out to the \`to.${l}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Hf(n){return n.filter((i,l)=>l===0||i.route.path&&i.route.path.length>0)}function Ys(n){let i=Hf(n);return i.map((l,u)=>u===i.length-1?l.pathname:l.pathnameBase)}function Gs(n,i,l,u=!1){let o;typeof n=="string"?o=rn(n):(o={...n},Oe(!o.pathname||!o.pathname.includes("?"),bs("?","pathname","search",o)),Oe(!o.pathname||!o.pathname.includes("#"),bs("#","pathname","hash",o)),Oe(!o.search||!o.search.includes("#"),bs("#","search","hash",o)));let c=n===""||o.pathname==="",f=c?"/":o.pathname,h;if(f==null)h=l;else{let v=i.length-1;if(!u&&f.startsWith("..")){let S=f.split("/");for(;S[0]==="..";)S.shift(),v-=1;o.pathname=S.join("/")}h=v>=0?i[v]:"/"}let p=$m(o,h),y=f&&f!=="/"&&f.endsWith("/"),x=(c||f===".")&&l.endsWith("/");return!p.pathname.endsWith("/")&&(y||x)&&(p.pathname+="/"),p}var dr=n=>n.join("/").replace(/\/\/+/g,"/"),Um=n=>n.replace(/\/+$/,"").replace(/^\/*/,"/"),Am=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,Vm=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n,fa=class{constructor(n,i,l,u=!1){this.status=n,this.statusText=i||"",this.internal=u,l instanceof Error?(this.data=l.toString(),this.error=l):this.data=l}};function ca(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}function ha(n){return n.map(i=>i.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var $f=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Uf(n,i){let l=n;if(typeof l!="string"||!If.test(l))return{absoluteURL:void 0,isExternal:!1,to:l};let u=l,o=!1;if($f)try{let c=new URL(window.location.href),f=l.startsWith("//")?new URL(c.protocol+l):new URL(l),h=Yt(f.pathname,i);f.origin===c.origin&&h!=null?l=h+f.search+f.hash:o=!0}catch{rt(!1,`<Link to="${l}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:u,isExternal:o,to:l}}var tn=Symbol("Uninstrumented");function Bm(n,i){let l={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};n.forEach(o=>o({id:i.id,index:i.index,path:i.path,instrument(c){let f=Object.keys(l);for(let h of f)c[h]&&l[h].push(c[h])}}));let u={};if(typeof i.lazy=="function"&&l.lazy.length>0){let o=si(l.lazy,i.lazy,()=>{});o&&(u.lazy=o)}if(typeof i.lazy=="object"){let o=i.lazy;["middleware","loader","action"].forEach(c=>{let f=o[c],h=l[`lazy.${c}`];if(typeof f=="function"&&h.length>0){let p=si(h,f,()=>{});p&&(u.lazy=Object.assign(u.lazy||{},{[c]:p}))}})}return["loader","action"].forEach(o=>{let c=i[o];if(typeof c=="function"&&l[o].length>0){let f=c[tn]??c,h=si(l[o],f,(...p)=>Vd(p[0]));h&&(o==="loader"&&f.hydrate===!0&&(h.hydrate=!0),h[tn]=f,u[o]=h)}}),i.middleware&&i.middleware.length>0&&l.middleware.length>0&&(u.middleware=i.middleware.map(o=>{let c=o[tn]??o,f=si(l.middleware,c,(...h)=>Vd(h[0]));return f?(f[tn]=c,f):o})),u}function Wm(n,i){let l={navigate:[],fetch:[]};if(i.forEach(u=>u({instrument(o){let c=Object.keys(o);for(let f of c)o[f]&&l[f].push(o[f])}})),l.navigate.length>0){let u=n.navigate[tn]??n.navigate,o=si(l.navigate,u,(...c)=>{let[f,h]=c;return{to:typeof f=="number"||typeof f=="string"?f:f?fr(f):".",...Bd(n,h??{})}});o&&(o[tn]=u,n.navigate=o)}if(l.fetch.length>0){let u=n.fetch[tn]??n.fetch,o=si(l.fetch,u,(...c)=>{let[f,,h,p]=c;return{href:h??".",fetcherKey:f,...Bd(n,p??{})}});o&&(o[tn]=u,n.fetch=o)}return n}function si(n,i,l){return n.length===0?null:async(...u)=>{let o=await Af(n,l(...u),()=>i(...u),n.length-1);if(o.type==="error")throw o.value;return o.value}}async function Af(n,i,l,u){let o=n[u],c;if(o){let f,h=async()=>(f?console.error("You cannot call instrumented handlers more than once"):f=Af(n,i,l,u-1),c=await f,Oe(c,"Expected a result"),c.type==="error"&&c.value instanceof Error?{status:"error",error:c.value}:{status:"success",error:void 0});try{await o(h,i)}catch(p){console.error("An instrumentation function threw an error:",p)}f||await h(),await f}else try{c={type:"success",value:await l()}}catch(f){c={type:"error",value:f}}return c||{type:"error",value:new Error("No result assigned in instrumentation chain.")}}function Vd(n){let{request:i,context:l,params:u,unstable_pattern:o}=n;return{request:Km(i),params:{...u},unstable_pattern:o,context:Ym(l)}}function Bd(n,i){return{currentUrl:fr(n.state.location),..."formMethod"in i?{formMethod:i.formMethod}:{},..."formEncType"in i?{formEncType:i.formEncType}:{},..."formData"in i?{formData:i.formData}:{},..."body"in i?{body:i.body}:{}}}function Km(n){return{method:n.method,url:n.url,headers:{get:(...i)=>n.headers.get(...i)}}}function Ym(n){if(Qm(n)){let i={...n};return Object.freeze(i),i}else return{get:i=>n.get(i)}}var Gm=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Qm(n){if(n===null||typeof n!="object")return!1;const i=Object.getPrototypeOf(n);return i===Object.prototype||i===null||Object.getOwnPropertyNames(i).sort().join("\0")===Gm}var Vf=["POST","PUT","PATCH","DELETE"],Jm=new Set(Vf),Xm=["GET",...Vf],qm=new Set(Xm),Bf=new Set([301,302,303,307,308]),Zm=new Set([307,308]),Ls={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},eg={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},qi={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},tg=n=>({hasErrorBoundary:!!n.hasErrorBoundary}),Wf="remix-router-transitions",Kf=Symbol("ResetLoaderData");function rg(n){const i=n.window?n.window:typeof window<"u"?window:void 0,l=typeof i<"u"&&typeof i.document<"u"&&typeof i.document.createElement<"u";Oe(n.routes.length>0,"You must provide a non-empty routes array to createRouter");let u=n.hydrationRouteProperties||[],o=n.mapRouteProperties||tg,c=o;if(n.unstable_instrumentations){let k=n.unstable_instrumentations;c=R=>({...o(R),...Bm(k.map(_=>_.route).filter(Boolean),R)})}let f={},h=ua(n.routes,c,void 0,f),p,y=n.basename||"/";y.startsWith("/")||(y=`/${y}`);let x=n.dataStrategy||og,v={...n.future},S=null,N=new Set,b=null,z=null,F=null,Y=n.hydrationData!=null,H=Zr(h,n.history.location,y),G=!1,ne=null,ue;if(H==null&&!n.patchRoutesOnNavigation){let k=Kt(404,{pathname:n.history.location.pathname}),{matches:R,route:_}=Cl(h);ue=!0,H=R,ne={[_.id]:k}}else if(H&&!n.hydrationData&&un(H,h,n.history.location.pathname).active&&(H=null),H)if(H.some(k=>k.route.lazy))ue=!1;else if(!H.some(k=>Qs(k.route)))ue=!0;else{let k=n.hydrationData?n.hydrationData.loaderData:null,R=n.hydrationData?n.hydrationData.errors:null;if(R){let _=H.findIndex(U=>R[U.route.id]!==void 0);ue=H.slice(0,_+1).every(U=>!Hs(U.route,k,R))}else ue=H.every(_=>!Hs(_.route,k,R))}else{ue=!1,H=[];let k=un(null,h,n.history.location.pathname);k.active&&k.matches&&(G=!0,H=k.matches)}let Se,O={historyAction:n.history.action,location:n.history.location,matches:H,initialized:ue,navigation:Ls,restoreScrollPosition:n.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:n.hydrationData&&n.hydrationData.loaderData||{},actionData:n.hydrationData&&n.hydrationData.actionData||null,errors:n.hydrationData&&n.hydrationData.errors||ne,fetchers:new Map,blockers:new Map},Z="POP",ee=null,ce=!1,Le,pe=!1,fe=new Map,ie=null,Ee=!1,he=!1,ge=new Set,I=new Map,Q=0,W=-1,E=new Map,D=new Set,me=new Map,xe=new Map,ve=new Set,Re=new Map,Fe,Me=null;function Ae(){if(S=n.history.listen(({action:k,location:R,delta:_})=>{if(Fe){Fe(),Fe=void 0;return}rt(Re.size===0||_!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let U=pr({currentLocation:O.location,nextLocation:R,historyAction:k});if(U&&_!=null){let K=new Promise(oe=>{Fe=oe});n.history.go(_*-1),Pr(U,{state:"blocked",location:R,proceed(){Pr(U,{state:"proceeding",proceed:void 0,reset:void 0,location:R}),K.then(()=>n.history.go(_))},reset(){let oe=new Map(O.blockers);oe.set(U,qi),nt({blockers:oe})}}),ee==null||ee.resolve(),ee=null;return}return rr(k,R)}),l){Eg(i,fe);let k=()=>Cg(i,fe);i.addEventListener("pagehide",k),ie=()=>i.removeEventListener("pagehide",k)}return O.initialized||rr("POP",O.location,{initialHydration:!0}),Se}function vt(){S&&S(),ie&&ie(),N.clear(),Le&&Le.abort(),O.fetchers.forEach((k,R)=>hi(R)),O.blockers.forEach((k,R)=>Fn(R))}function Mn(k){return N.add(k),()=>N.delete(k)}function nt(k,R={}){k.matches&&(k.matches=k.matches.map(K=>{let oe=f[K.route.id],ye=K.route;return ye.element!==oe.element||ye.errorElement!==oe.errorElement||ye.hydrateFallbackElement!==oe.hydrateFallbackElement?{...K,route:oe}:K})),O={...O,...k};let _=[],U=[];O.fetchers.forEach((K,oe)=>{K.state==="idle"&&(ve.has(oe)?_.push(oe):U.push(oe))}),ve.forEach(K=>{!O.fetchers.has(K)&&!I.has(K)&&_.push(K)}),[...N].forEach(K=>K(O,{deletedFetchers:_,newErrors:k.errors??null,viewTransitionOpts:R.viewTransitionOpts,flushSync:R.flushSync===!0})),_.forEach(K=>hi(K)),U.forEach(K=>O.fetchers.delete(K))}function Qt(k,R,{flushSync:_}={}){var Ce,de;let U=O.actionData!=null&&O.navigation.formMethod!=null&&yt(O.navigation.formMethod)&&O.navigation.state==="loading"&&((Ce=k.state)==null?void 0:Ce._isRedirect)!==!0,K;R.actionData?Object.keys(R.actionData).length>0?K=R.actionData:K=null:U?K=O.actionData:K=null;let oe=R.loaderData?ef(O.loaderData,R.loaderData,R.matches||[],R.errors):O.loaderData,ye=O.blockers;ye.size>0&&(ye=new Map(ye),ye.forEach((be,_e)=>ye.set(_e,qi)));let X=Ee?!1:gi(k,R.matches||O.matches),te=ce===!0||O.navigation.formMethod!=null&&yt(O.navigation.formMethod)&&((de=k.state)==null?void 0:de._isRedirect)!==!0;p&&(h=p,p=void 0),Ee||Z==="POP"||(Z==="PUSH"?n.history.push(k,k.state):Z==="REPLACE"&&n.history.replace(k,k.state));let ae;if(Z==="POP"){let be=fe.get(O.location.pathname);be&&be.has(k.pathname)?ae={currentLocation:O.location,nextLocation:k}:fe.has(k.pathname)&&(ae={currentLocation:k,nextLocation:O.location})}else if(pe){let be=fe.get(O.location.pathname);be?be.add(k.pathname):(be=new Set([k.pathname]),fe.set(O.location.pathname,be)),ae={currentLocation:O.location,nextLocation:k}}nt({...R,actionData:K,loaderData:oe,historyAction:Z,location:k,initialized:!0,navigation:Ls,revalidation:"idle",restoreScrollPosition:X,preventScrollReset:te,blockers:ye},{viewTransitionOpts:ae,flushSync:_===!0}),Z="POP",ce=!1,pe=!1,Ee=!1,he=!1,ee==null||ee.resolve(),ee=null,Me==null||Me.resolve(),Me=null}async function _n(k,R){if(ee==null||ee.resolve(),ee=null,typeof k=="number"){ee||(ee=af());let _e=ee.promise;return n.history.go(k),_e}let _=Is(O.location,O.matches,y,k,R==null?void 0:R.fromRouteId,R==null?void 0:R.relative),{path:U,submission:K,error:oe}=Wd(!1,_,R),ye=O.location,X=sa(O.location,U,R&&R.state);X={...X,...n.history.encodeLocation(X)};let te=R&&R.replace!=null?R.replace:void 0,ae="PUSH";te===!0?ae="REPLACE":te===!1||K!=null&&yt(K.formMethod)&&K.formAction===O.location.pathname+O.location.search&&(ae="REPLACE");let Ce=R&&"preventScrollReset"in R?R.preventScrollReset===!0:void 0,de=(R&&R.flushSync)===!0,be=pr({currentLocation:ye,nextLocation:X,historyAction:ae});if(be){Pr(be,{state:"blocked",location:X,proceed(){Pr(be,{state:"proceeding",proceed:void 0,reset:void 0,location:X}),_n(k,R)},reset(){let _e=new Map(O.blockers);_e.set(be,qi),nt({blockers:_e})}});return}await rr(ae,X,{submission:K,pendingError:oe,preventScrollReset:Ce,replace:R&&R.replace,enableViewTransition:R&&R.viewTransition,flushSync:de,callSiteDefaultShouldRevalidate:R&&R.unstable_defaultShouldRevalidate})}function ya(){Me||(Me=af()),on(),nt({revalidation:"loading"});let k=Me.promise;return O.navigation.state==="submitting"?k:O.navigation.state==="idle"?(rr(O.historyAction,O.location,{startUninterruptedRevalidation:!0}),k):(rr(Z||O.historyAction,O.navigation.location,{overrideNavigation:O.navigation,enableViewTransition:pe===!0}),k)}async function rr(k,R,_){Le&&Le.abort(),Le=null,Z=k,Ee=(_&&_.startUninterruptedRevalidation)===!0,Na(O.location,O.matches),ce=(_&&_.preventScrollReset)===!0,pe=(_&&_.enableViewTransition)===!0;let U=p||h,K=_&&_.overrideNavigation,oe=_!=null&&_.initialHydration&&O.matches&&O.matches.length>0&&!G?O.matches:Zr(U,R,y),ye=(_&&_.flushSync)===!0;if(oe&&O.initialized&&!he&&mg(O.location,R)&&!(_&&_.submission&&yt(_.submission.formMethod))){Qt(R,{matches:oe},{flushSync:ye});return}let X=un(oe,U,R.pathname);if(X.active&&X.matches&&(oe=X.matches),!oe){let{error:qe,notFoundMatches:lt,route:Ie}=ir(R.pathname);Qt(R,{matches:lt,loaderData:{},errors:{[Ie.id]:qe}},{flushSync:ye});return}Le=new AbortController;let te=li(n.history,R,Le.signal,_&&_.submission),ae=n.getContext?await n.getContext():new Hd,Ce;if(_&&_.pendingError)Ce=[en(oe).route.id,{type:"error",error:_.pendingError}];else if(_&&_.submission&&yt(_.submission.formMethod)){let qe=await ci(te,R,_.submission,oe,ae,X.active,_&&_.initialHydration===!0,{replace:_.replace,flushSync:ye});if(qe.shortCircuited)return;if(qe.pendingActionResult){let[lt,Ie]=qe.pendingActionResult;if(Dt(Ie)&&ca(Ie.error)&&Ie.error.status===404){Le=null,Qt(R,{matches:qe.matches,loaderData:{},errors:{[lt]:Ie.error}});return}}oe=qe.matches||oe,Ce=qe.pendingActionResult,K=Ps(R,_.submission),ye=!1,X.active=!1,te=li(n.history,te.url,te.signal)}let{shortCircuited:de,matches:be,loaderData:_e,errors:et}=await va(te,R,oe,ae,X.active,K,_&&_.submission,_&&_.fetcherSubmission,_&&_.replace,_&&_.initialHydration===!0,ye,Ce,_&&_.callSiteDefaultShouldRevalidate);de||(Le=null,Qt(R,{matches:be||oe,...tf(Ce),loaderData:_e,errors:et}))}async function ci(k,R,_,U,K,oe,ye,X={}){on();let te=Ng(R,_);if(nt({navigation:te},{flushSync:X.flushSync===!0}),oe){let de=await Or(U,R.pathname,k.signal);if(de.type==="aborted")return{shortCircuited:!0};if(de.type==="error"){if(de.partialMatches.length===0){let{matches:_e,route:et}=Cl(h);return{matches:_e,pendingActionResult:[et.id,{type:"error",error:de.error}]}}let be=en(de.partialMatches).route.id;return{matches:de.partialMatches,pendingActionResult:[be,{type:"error",error:de.error}]}}else if(de.matches)U=de.matches;else{let{notFoundMatches:be,error:_e,route:et}=ir(R.pathname);return{matches:be,pendingActionResult:[et.id,{type:"error",error:_e}]}}}let ae,Ce=Pl(U,R);if(!Ce.route.action&&!Ce.route.lazy)ae={type:"error",error:Kt(405,{method:k.method,pathname:R.pathname,routeId:Ce.route.id})};else{let de=ui(c,f,k,U,Ce,ye?[]:u,K),be=await br(k,de,K,null);if(ae=be[Ce.route.id],!ae){for(let _e of U)if(be[_e.route.id]){ae=be[_e.route.id];break}}if(k.signal.aborted)return{shortCircuited:!0}}if(bn(ae)){let de;return X&&X.replace!=null?de=X.replace:de=Xd(ae.response.headers.get("Location"),new URL(k.url),y,n.history)===O.location.pathname+O.location.search,await nr(k,ae,!0,{submission:_,replace:de}),{shortCircuited:!0}}if(Dt(ae)){let de=en(U,Ce.route.id);return(X&&X.replace)!==!0&&(Z="PUSH"),{matches:U,pendingActionResult:[de.route.id,ae,Ce.route.id]}}return{matches:U,pendingActionResult:[Ce.route.id,ae]}}async function va(k,R,_,U,K,oe,ye,X,te,ae,Ce,de,be){let _e=oe||Ps(R,ye),et=ye||X||nf(_e),qe=!Ee&&!ae;if(K){if(qe){let Ue=Tn(de);nt({navigation:_e,...Ue!==void 0?{actionData:Ue}:{}},{flushSync:Ce})}let Te=await Or(_,R.pathname,k.signal);if(Te.type==="aborted")return{shortCircuited:!0};if(Te.type==="error"){if(Te.partialMatches.length===0){let{matches:_r,route:gr}=Cl(h);return{matches:_r,loaderData:{},errors:{[gr.id]:Te.error}}}let Ue=en(Te.partialMatches).route.id;return{matches:Te.partialMatches,loaderData:{},errors:{[Ue]:Te.error}}}else if(Te.matches)_=Te.matches;else{let{error:Ue,notFoundMatches:_r,route:gr}=ir(R.pathname);return{matches:_r,loaderData:{},errors:{[gr.id]:Ue}}}}let lt=p||h,{dsMatches:Ie,revalidatingFetchers:jt}=Kd(k,U,c,f,n.history,O,_,et,R,ae?[]:u,ae===!0,he,ge,ve,me,D,lt,y,n.patchRoutesOnNavigation!=null,de,be);if(W=++Q,!n.dataStrategy&&!Ie.some(Te=>Te.shouldLoad)&&!Ie.some(Te=>Te.route.middleware&&Te.route.middleware.length>0)&&jt.length===0){let Te=zn();return Qt(R,{matches:_,loaderData:{},errors:de&&Dt(de[1])?{[de[0]]:de[1].error}:null,...tf(de),...Te?{fetchers:new Map(O.fetchers)}:{}},{flushSync:Ce}),{shortCircuited:!0}}if(qe){let Te={};if(!K){Te.navigation=_e;let Ue=Tn(de);Ue!==void 0&&(Te.actionData=Ue)}jt.length>0&&(Te.fetchers=ln(jt)),nt(Te,{flushSync:Ce})}jt.forEach(Te=>{It(Te.key),Te.controller&&I.set(Te.key,Te.controller)});let He=()=>jt.forEach(Te=>It(Te.key));Le&&Le.signal.addEventListener("abort",He);let{loaderResults:dn,fetcherResults:Ht}=await fi(Ie,jt,k,U);if(k.signal.aborted)return{shortCircuited:!0};Le&&Le.signal.removeEventListener("abort",He),jt.forEach(Te=>I.delete(Te.key));let Ot=Rl(dn);if(Ot)return await nr(k,Ot.result,!0,{replace:te}),{shortCircuited:!0};if(Ot=Rl(Ht),Ot)return D.add(Ot.key),await nr(k,Ot.result,!0,{replace:te}),{shortCircuited:!0};let{loaderData:Mr,errors:fn}=Zd(O,_,dn,de,jt,Ht);ae&&O.errors&&(fn={...O.errors,...fn});let ar=zn(),mr=Dn(W),xt=ar||mr||jt.length>0;return{matches:_,loaderData:Mr,errors:fn,...xt?{fetchers:new Map(O.fetchers)}:{}}}function Tn(k){if(k&&!Dt(k[1]))return{[k[0]]:k[1].data};if(O.actionData)return Object.keys(O.actionData).length===0?null:O.actionData}function ln(k){return k.forEach(R=>{let _=O.fetchers.get(R.key),U=Zi(void 0,_?_.data:void 0);O.fetchers.set(R.key,U)}),new Map(O.fetchers)}async function Rr(k,R,_,U){It(k);let K=(U&&U.flushSync)===!0,oe=p||h,ye=Is(O.location,O.matches,y,_,R,U==null?void 0:U.relative),X=Zr(oe,ye,y),te=un(X,oe,ye);if(te.active&&te.matches&&(X=te.matches),!X){Ft(k,R,Kt(404,{pathname:ye}),{flushSync:K});return}let{path:ae,submission:Ce,error:de}=Wd(!0,ye,U);if(de){Ft(k,R,de,{flushSync:K});return}let be=n.getContext?await n.getContext():new Hd,_e=(U&&U.preventScrollReset)===!0;if(Ce&&yt(Ce.formMethod)){await di(k,R,ae,X,be,te.active,K,_e,Ce,U&&U.unstable_defaultShouldRevalidate);return}me.set(k,{routeId:R,path:ae}),await xa(k,R,ae,X,be,te.active,K,_e,Ce)}async function di(k,R,_,U,K,oe,ye,X,te,ae){on(),me.delete(k);let Ce=O.fetchers.get(k);Nt(k,jg(te,Ce),{flushSync:ye});let de=new AbortController,be=li(n.history,_,de.signal,te);if(oe){let Ke=await Or(U,new URL(be.url).pathname,be.signal,k);if(Ke.type==="aborted")return;if(Ke.type==="error"){Ft(k,R,Ke.error,{flushSync:ye});return}else if(Ke.matches)U=Ke.matches;else{Ft(k,R,Kt(404,{pathname:_}),{flushSync:ye});return}}let _e=Pl(U,_);if(!_e.route.action&&!_e.route.lazy){let Ke=Kt(405,{method:te.formMethod,pathname:_,routeId:R});Ft(k,R,Ke,{flushSync:ye});return}I.set(k,de);let et=Q,qe=ui(c,f,be,U,_e,u,K),lt=await br(be,qe,K,k),Ie=lt[_e.route.id];if(!Ie){for(let Ke of qe)if(lt[Ke.route.id]){Ie=lt[Ke.route.id];break}}if(be.signal.aborted){I.get(k)===de&&I.delete(k);return}if(ve.has(k)){if(bn(Ie)||Dt(Ie)){Nt(k,Cr(void 0));return}}else{if(bn(Ie))if(I.delete(k),W>et){Nt(k,Cr(void 0));return}else return D.add(k),Nt(k,Zi(te)),nr(be,Ie,!1,{fetcherSubmission:te,preventScrollReset:X});if(Dt(Ie)){Ft(k,R,Ie.error);return}}let jt=O.navigation.location||O.location,He=li(n.history,jt,de.signal),dn=p||h,Ht=O.navigation.state!=="idle"?Zr(dn,O.navigation.location,y):O.matches;Oe(Ht,"Didn't find any matches after fetcher action");let Ot=++Q;E.set(k,Ot);let Mr=Zi(te,Ie.data);O.fetchers.set(k,Mr);let{dsMatches:fn,revalidatingFetchers:ar}=Kd(He,K,c,f,n.history,O,Ht,te,jt,u,!1,he,ge,ve,me,D,dn,y,n.patchRoutesOnNavigation!=null,[_e.route.id,Ie],ae);ar.filter(Ke=>Ke.key!==k).forEach(Ke=>{let yr=Ke.key,hn=O.fetchers.get(yr),pn=Zi(void 0,hn?hn.data:void 0);O.fetchers.set(yr,pn),It(yr),Ke.controller&&I.set(yr,Ke.controller)}),nt({fetchers:new Map(O.fetchers)});let mr=()=>ar.forEach(Ke=>It(Ke.key));de.signal.addEventListener("abort",mr);let{loaderResults:xt,fetcherResults:Te}=await fi(fn,ar,He,K);if(de.signal.aborted)return;if(de.signal.removeEventListener("abort",mr),E.delete(k),I.delete(k),ar.forEach(Ke=>I.delete(Ke.key)),O.fetchers.has(k)){let Ke=Cr(Ie.data);O.fetchers.set(k,Ke)}let Ue=Rl(xt);if(Ue)return nr(He,Ue.result,!1,{preventScrollReset:X});if(Ue=Rl(Te),Ue)return D.add(Ue.key),nr(He,Ue.result,!1,{preventScrollReset:X});let{loaderData:_r,errors:gr}=Zd(O,Ht,xt,void 0,ar,Te);Dn(Ot),O.navigation.state==="loading"&&Ot>W?(Oe(Z,"Expected pending action"),Le&&Le.abort(),Qt(O.navigation.location,{matches:Ht,loaderData:_r,errors:gr,fetchers:new Map(O.fetchers)})):(nt({errors:gr,loaderData:ef(O.loaderData,_r,Ht,gr),fetchers:new Map(O.fetchers)}),he=!1)}async function xa(k,R,_,U,K,oe,ye,X,te){let ae=O.fetchers.get(k);Nt(k,Zi(te,ae?ae.data:void 0),{flushSync:ye});let Ce=new AbortController,de=li(n.history,_,Ce.signal);if(oe){let Ie=await Or(U,new URL(de.url).pathname,de.signal,k);if(Ie.type==="aborted")return;if(Ie.type==="error"){Ft(k,R,Ie.error,{flushSync:ye});return}else if(Ie.matches)U=Ie.matches;else{Ft(k,R,Kt(404,{pathname:_}),{flushSync:ye});return}}let be=Pl(U,_);I.set(k,Ce);let _e=Q,et=ui(c,f,de,U,be,u,K),lt=(await br(de,et,K,k))[be.route.id];if(I.get(k)===Ce&&I.delete(k),!de.signal.aborted){if(ve.has(k)){Nt(k,Cr(void 0));return}if(bn(lt))if(W>_e){Nt(k,Cr(void 0));return}else{D.add(k),await nr(de,lt,!1,{preventScrollReset:X});return}if(Dt(lt)){Ft(k,R,lt.error);return}Nt(k,Cr(lt.data))}}async function nr(k,R,_,{submission:U,fetcherSubmission:K,preventScrollReset:oe,replace:ye}={}){_||(ee==null||ee.resolve(),ee=null),R.response.headers.has("X-Remix-Revalidate")&&(he=!0);let X=R.response.headers.get("Location");Oe(X,"Expected a Location header on the redirect Response"),X=Xd(X,new URL(k.url),y,n.history);let te=sa(O.location,X,{_isRedirect:!0});if(l){let et=!1;if(R.response.headers.has("X-Remix-Reload-Document"))et=!0;else if(Ks(X)){const qe=zf(X,!0);et=qe.origin!==i.location.origin||Yt(qe.pathname,y)==null}if(et){ye?i.location.replace(X):i.location.assign(X);return}}Le=null;let ae=ye===!0||R.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:Ce,formAction:de,formEncType:be}=O.navigation;!U&&!K&&Ce&&de&&be&&(U=nf(O.navigation));let _e=U||K;if(Zm.has(R.response.status)&&_e&&yt(_e.formMethod))await rr(ae,te,{submission:{..._e,formAction:X},preventScrollReset:oe||ce,enableViewTransition:_?pe:void 0});else{let et=Ps(te,U);await rr(ae,te,{overrideNavigation:et,fetcherSubmission:K,preventScrollReset:oe||ce,enableViewTransition:_?pe:void 0})}}async function br(k,R,_,U){var ye;let K,oe={};try{K=await ug(x,k,R,U,_,!1)}catch(X){return R.filter(te=>te.shouldLoad).forEach(te=>{oe[te.route.id]={type:"error",error:X}}),oe}if(k.signal.aborted)return oe;if(!yt(k.method))for(let X of R){if(((ye=K[X.route.id])==null?void 0:ye.type)==="error")break;!K.hasOwnProperty(X.route.id)&&!O.loaderData.hasOwnProperty(X.route.id)&&(!O.errors||!O.errors.hasOwnProperty(X.route.id))&&X.shouldCallHandler()&&(K[X.route.id]={type:"error",result:new Error(`No result returned from dataStrategy for route ${X.route.id}`)})}for(let[X,te]of Object.entries(K))if(xg(te)){let ae=te.result;oe[X]={type:"redirect",response:hg(ae,k,X,R,y)}}else oe[X]=await fg(te);return oe}async function fi(k,R,_,U){let K=br(_,k,U,null),oe=Promise.all(R.map(async te=>{if(te.matches&&te.match&&te.request&&te.controller){let Ce=(await br(te.request,te.matches,U,te.key))[te.match.route.id];return{[te.key]:Ce}}else return Promise.resolve({[te.key]:{type:"error",error:Kt(404,{pathname:te.path})}})})),ye=await K,X=(await oe).reduce((te,ae)=>Object.assign(te,ae),{});return{loaderResults:ye,fetcherResults:X}}function on(){he=!0,me.forEach((k,R)=>{I.has(R)&&ge.add(R),It(R)})}function Nt(k,R,_={}){O.fetchers.set(k,R),nt({fetchers:new Map(O.fetchers)},{flushSync:(_&&_.flushSync)===!0})}function Ft(k,R,_,U={}){let K=en(O.matches,R);hi(k),nt({errors:{[K.route.id]:_},fetchers:new Map(O.fetchers)},{flushSync:(U&&U.flushSync)===!0})}function Lr(k){return xe.set(k,(xe.get(k)||0)+1),ve.has(k)&&ve.delete(k),O.fetchers.get(k)||eg}function sn(k,R){It(k,R==null?void 0:R.reason),Nt(k,Cr(null))}function hi(k){let R=O.fetchers.get(k);I.has(k)&&!(R&&R.state==="loading"&&E.has(k))&&It(k),me.delete(k),E.delete(k),D.delete(k),ve.delete(k),ge.delete(k),O.fetchers.delete(k)}function wa(k){let R=(xe.get(k)||0)-1;R<=0?(xe.delete(k),ve.add(k)):xe.set(k,R),nt({fetchers:new Map(O.fetchers)})}function It(k,R){let _=I.get(k);_&&(_.abort(R),I.delete(k))}function ka(k){for(let R of k){let _=Lr(R),U=Cr(_.data);O.fetchers.set(R,U)}}function zn(){let k=[],R=!1;for(let _ of D){let U=O.fetchers.get(_);Oe(U,`Expected fetcher: ${_}`),U.state==="loading"&&(D.delete(_),k.push(_),R=!0)}return ka(k),R}function Dn(k){let R=[];for(let[_,U]of E)if(U<k){let K=O.fetchers.get(_);Oe(K,`Expected fetcher: ${_}`),K.state==="loading"&&(It(_),E.delete(_),R.push(_))}return ka(R),R.length>0}function pi(k,R){let _=O.blockers.get(k)||qi;return Re.get(k)!==R&&Re.set(k,R),_}function Fn(k){O.blockers.delete(k),Re.delete(k)}function Pr(k,R){let _=O.blockers.get(k)||qi;Oe(_.state==="unblocked"&&R.state==="blocked"||_.state==="blocked"&&R.state==="blocked"||_.state==="blocked"&&R.state==="proceeding"||_.state==="blocked"&&R.state==="unblocked"||_.state==="proceeding"&&R.state==="unblocked",`Invalid blocker state transition: ${_.state} -> ${R.state}`);let U=new Map(O.blockers);U.set(k,R),nt({blockers:U})}function pr({currentLocation:k,nextLocation:R,historyAction:_}){if(Re.size===0)return;Re.size>1&&rt(!1,"A router only supports one blocker at a time");let U=Array.from(Re.entries()),[K,oe]=U[U.length-1],ye=O.blockers.get(K);if(!(ye&&ye.state==="proceeding")&&oe({currentLocation:k,nextLocation:R,historyAction:_}))return K}function ir(k){let R=Kt(404,{pathname:k}),_=p||h,{matches:U,route:K}=Cl(_);return{notFoundMatches:U,route:K,error:R}}function Sa(k,R,_){if(b=k,F=R,z=_||null,!Y&&O.navigation===Ls){Y=!0;let U=gi(O.location,O.matches);U!=null&&nt({restoreScrollPosition:U})}return()=>{b=null,F=null,z=null}}function mi(k,R){return z&&z(k,R.map(U=>Cm(U,O.loaderData)))||k.key}function Na(k,R){if(b&&F){let _=mi(k,R);b[_]=F()}}function gi(k,R){if(b){let _=mi(k,R),U=b[_];if(typeof U=="number")return U}return null}function un(k,R,_){if(n.patchRoutesOnNavigation)if(k){if(Object.keys(k[0].params).length>0)return{active:!0,matches:na(R,_,y,!0)}}else return{active:!0,matches:na(R,_,y,!0)||[]};return{active:!1,matches:null}}async function Or(k,R,_,U){if(!n.patchRoutesOnNavigation)return{type:"success",matches:k};let K=k;for(;;){let oe=p==null,ye=p||h,X=f;try{await n.patchRoutesOnNavigation({signal:_,path:R,matches:K,fetcherKey:U,patch:(Ce,de)=>{_.aborted||Yd(Ce,de,ye,X,c,!1)}})}catch(Ce){return{type:"error",error:Ce,partialMatches:K}}finally{oe&&!_.aborted&&(h=[...h])}if(_.aborted)return{type:"aborted"};let te=Zr(ye,R,y),ae=null;if(te){if(Object.keys(te[0].params).length===0)return{type:"success",matches:te};if(ae=na(ye,R,y,!0),!(ae&&K.length<ae.length&&yi(K,ae.slice(0,K.length))))return{type:"success",matches:te}}if(ae||(ae=na(ye,R,y,!0)),!ae||yi(K,ae))return{type:"success",matches:null};K=ae}}function yi(k,R){return k.length===R.length&&k.every((_,U)=>_.route.id===R[U].route.id)}function cn(k){f={},p=ua(k,c,void 0,f)}function vi(k,R,_=!1){let U=p==null;Yd(k,R,p||h,f,c,_),U&&(h=[...h],nt({}))}return Se={get basename(){return y},get future(){return v},get state(){return O},get routes(){return h},get window(){return i},initialize:Ae,subscribe:Mn,enableScrollRestoration:Sa,navigate:_n,fetch:Rr,revalidate:ya,createHref:k=>n.history.createHref(k),encodeLocation:k=>n.history.encodeLocation(k),getFetcher:Lr,resetFetcher:sn,deleteFetcher:wa,dispose:vt,getBlocker:pi,deleteBlocker:Fn,patchRoutes:vi,_internalFetchControllers:I,_internalSetRoutes:cn,_internalSetStateDoNotUseOrYouWillBreakYourApp(k){nt(k)}},n.unstable_instrumentations&&(Se=Wm(Se,n.unstable_instrumentations.map(k=>k.router).filter(Boolean))),Se}function ng(n){return n!=null&&("formData"in n&&n.formData!=null||"body"in n&&n.body!==void 0)}function Is(n,i,l,u,o,c){let f,h;if(o){f=[];for(let y of i)if(f.push(y),y.route.id===o){h=y;break}}else f=i,h=i[i.length-1];let p=Gs(u||".",Ys(f),Yt(n.pathname,l)||n.pathname,c==="path");if(u==null&&(p.search=n.search,p.hash=n.hash),(u==null||u===""||u===".")&&h){let y=Xs(p.search);if(h.route.index&&!y)p.search=p.search?p.search.replace(/^\?/,"?index&"):"?index";else if(!h.route.index&&y){let x=new URLSearchParams(p.search),v=x.getAll("index");x.delete("index"),v.filter(N=>N).forEach(N=>x.append("index",N));let S=x.toString();p.search=S?`?${S}`:""}}return l!=="/"&&(p.pathname=Hm({basename:l,pathname:p.pathname})),fr(p)}function Wd(n,i,l){if(!l||!ng(l))return{path:i};if(l.formMethod&&!Sg(l.formMethod))return{path:i,error:Kt(405,{method:l.formMethod})};let u=()=>({path:i,error:Kt(400,{type:"invalid-body"})}),c=(l.formMethod||"get").toUpperCase(),f=qf(i);if(l.body!==void 0){if(l.formEncType==="text/plain"){if(!yt(c))return u();let v=typeof l.body=="string"?l.body:l.body instanceof FormData||l.body instanceof URLSearchParams?Array.from(l.body.entries()).reduce((S,[N,b])=>`${S}${N}=${b}
`,""):String(l.body);return{path:i,submission:{formMethod:c,formAction:f,formEncType:l.formEncType,formData:void 0,json:void 0,text:v}}}else if(l.formEncType==="application/json"){if(!yt(c))return u();try{let v=typeof l.body=="string"?JSON.parse(l.body):l.body;return{path:i,submission:{formMethod:c,formAction:f,formEncType:l.formEncType,formData:void 0,json:v,text:void 0}}}catch{return u()}}}Oe(typeof FormData=="function","FormData is not available in this environment");let h,p;if(l.formData)h=Us(l.formData),p=l.formData;else if(l.body instanceof FormData)h=Us(l.body),p=l.body;else if(l.body instanceof URLSearchParams)h=l.body,p=qd(h);else if(l.body==null)h=new URLSearchParams,p=new FormData;else try{h=new URLSearchParams(l.body),p=qd(h)}catch{return u()}let y={formMethod:c,formAction:f,formEncType:l&&l.formEncType||"application/x-www-form-urlencoded",formData:p,json:void 0,text:void 0};if(yt(y.formMethod))return{path:i,submission:y};let x=rn(i);return n&&x.search&&Xs(x.search)&&h.append("index",""),x.search=`?${h}`,{path:fr(x),submission:y}}function Kd(n,i,l,u,o,c,f,h,p,y,x,v,S,N,b,z,F,Y,H,G,ne){var Ee;let ue=G?Dt(G[1])?G[1].error:G[1].data:void 0,Se=o.createURL(c.location),O=o.createURL(p),Z;if(x&&c.errors){let he=Object.keys(c.errors)[0];Z=f.findIndex(ge=>ge.route.id===he)}else if(G&&Dt(G[1])){let he=G[0];Z=f.findIndex(ge=>ge.route.id===he)-1}let ee=G?G[1].statusCode:void 0,ce=ee&&ee>=400,Le={currentUrl:Se,currentParams:((Ee=c.matches[0])==null?void 0:Ee.params)||{},nextUrl:O,nextParams:f[0].params,...h,actionResult:ue,actionStatus:ee},pe=ha(f),fe=f.map((he,ge)=>{let{route:I}=he,Q=null;if(Z!=null&&ge>Z?Q=!1:I.lazy?Q=!0:Qs(I)?x?Q=Hs(I,c.loaderData,c.errors):ig(c.loaderData,c.matches[ge],he)&&(Q=!0):Q=!1,Q!==null)return $s(l,u,n,pe,he,y,i,Q);let W=!1;typeof ne=="boolean"?W=ne:ce?W=!1:(v||Se.pathname+Se.search===O.pathname+O.search||Se.search!==O.search||ag(c.matches[ge],he))&&(W=!0);let E={...Le,defaultShouldRevalidate:W},D=ia(he,E);return $s(l,u,n,pe,he,y,i,D,E,ne)}),ie=[];return b.forEach((he,ge)=>{if(x||!f.some(ve=>ve.route.id===he.routeId)||N.has(ge))return;let I=c.fetchers.get(ge),Q=I&&I.state!=="idle"&&I.data===void 0,W=Zr(F,he.path,Y);if(!W){if(H&&Q)return;ie.push({key:ge,routeId:he.routeId,path:he.path,matches:null,match:null,request:null,controller:null});return}if(z.has(ge))return;let E=Pl(W,he.path),D=new AbortController,me=li(o,he.path,D.signal),xe=null;if(S.has(ge))S.delete(ge),xe=ui(l,u,me,W,E,y,i);else if(Q)v&&(xe=ui(l,u,me,W,E,y,i));else{let ve;typeof ne=="boolean"?ve=ne:ce?ve=!1:ve=v;let Re={...Le,defaultShouldRevalidate:ve};ia(E,Re)&&(xe=ui(l,u,me,W,E,y,i,Re))}xe&&ie.push({key:ge,routeId:he.routeId,path:he.path,matches:xe,match:E,request:me,controller:D})}),{dsMatches:fe,revalidatingFetchers:ie}}function Qs(n){return n.loader!=null||n.middleware!=null&&n.middleware.length>0}function Hs(n,i,l){if(n.lazy)return!0;if(!Qs(n))return!1;let u=i!=null&&n.id in i,o=l!=null&&l[n.id]!==void 0;return!u&&o?!1:typeof n.loader=="function"&&n.loader.hydrate===!0?!0:!u&&!o}function ig(n,i,l){let u=!i||l.route.id!==i.route.id,o=!n.hasOwnProperty(l.route.id);return u||o}function ag(n,i){let l=n.route.path;return n.pathname!==i.pathname||l!=null&&l.endsWith("*")&&n.params["*"]!==i.params["*"]}function ia(n,i){if(n.route.shouldRevalidate){let l=n.route.shouldRevalidate(i);if(typeof l=="boolean")return l}return i.defaultShouldRevalidate}function Yd(n,i,l,u,o,c){let f;if(n){let y=u[n];Oe(y,`No route found to patch children into: routeId = ${n}`),y.children||(y.children=[]),f=y.children}else f=l;let h=[],p=[];if(i.forEach(y=>{let x=f.find(v=>Yf(y,v));x?p.push({existingRoute:x,newRoute:y}):h.push(y)}),h.length>0){let y=ua(h,o,[n||"_","patch",String((f==null?void 0:f.length)||"0")],u);f.push(...y)}if(c&&p.length>0)for(let y=0;y<p.length;y++){let{existingRoute:x,newRoute:v}=p[y],S=x,[N]=ua([v],o,[],{},!0);Object.assign(S,{element:N.element?N.element:S.element,errorElement:N.errorElement?N.errorElement:S.errorElement,hydrateFallbackElement:N.hydrateFallbackElement?N.hydrateFallbackElement:S.hydrateFallbackElement})}}function Yf(n,i){return"id"in n&&"id"in i&&n.id===i.id?!0:n.index===i.index&&n.path===i.path&&n.caseSensitive===i.caseSensitive?(!n.children||n.children.length===0)&&(!i.children||i.children.length===0)?!0:n.children.every((l,u)=>{var o;return(o=i.children)==null?void 0:o.some(c=>Yf(l,c))}):!1}var Gd=new WeakMap,Gf=({key:n,route:i,manifest:l,mapRouteProperties:u})=>{let o=l[i.id];if(Oe(o,"No route found in manifest"),!o.lazy||typeof o.lazy!="object")return;let c=o.lazy[n];if(!c)return;let f=Gd.get(o);f||(f={},Gd.set(o,f));let h=f[n];if(h)return h;let p=(async()=>{let y=Sm(n),v=o[n]!==void 0&&n!=="hasErrorBoundary";if(y)rt(!y,"Route property "+n+" is not a supported lazy route property. This property will be ignored."),f[n]=Promise.resolve();else if(v)rt(!1,`Route "${o.id}" has a static property "${n}" defined. The lazy property will be ignored.`);else{let S=await c();S!=null&&(Object.assign(o,{[n]:S}),Object.assign(o,u(o)))}typeof o.lazy=="object"&&(o.lazy[n]=void 0,Object.values(o.lazy).every(S=>S===void 0)&&(o.lazy=void 0))})();return f[n]=p,p},Qd=new WeakMap;function lg(n,i,l,u,o){let c=l[n.id];if(Oe(c,"No route found in manifest"),!n.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof n.lazy=="function"){let x=Qd.get(c);if(x)return{lazyRoutePromise:x,lazyHandlerPromise:x};let v=(async()=>{Oe(typeof n.lazy=="function","No lazy route function found");let S=await n.lazy(),N={};for(let b in S){let z=S[b];if(z===void 0)continue;let F=jm(b),H=c[b]!==void 0&&b!=="hasErrorBoundary";F?rt(!F,"Route property "+b+" is not a supported property to be returned from a lazy route function. This property will be ignored."):H?rt(!H,`Route "${c.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.`):N[b]=z}Object.assign(c,N),Object.assign(c,{...u(c),lazy:void 0})})();return Qd.set(c,v),v.catch(()=>{}),{lazyRoutePromise:v,lazyHandlerPromise:v}}let f=Object.keys(n.lazy),h=[],p;for(let x of f){if(o&&o.includes(x))continue;let v=Gf({key:x,route:n,manifest:l,mapRouteProperties:u});v&&(h.push(v),x===i&&(p=v))}let y=h.length>0?Promise.all(h).then(()=>{}):void 0;return y==null||y.catch(()=>{}),p==null||p.catch(()=>{}),{lazyRoutePromise:y,lazyHandlerPromise:p}}async function Jd(n){let i=n.matches.filter(o=>o.shouldLoad),l={};return(await Promise.all(i.map(o=>o.resolve()))).forEach((o,c)=>{l[i[c].route.id]=o}),l}async function og(n){return n.matches.some(i=>i.route.middleware)?Qf(n,()=>Jd(n)):Jd(n)}function Qf(n,i){return sg(n,i,u=>{if(kg(u))throw u;return u},yg,l);function l(u,o,c){if(c)return Promise.resolve(Object.assign(c.value,{[o]:{type:"error",result:u}}));{let{matches:f}=n,h=Math.min(Math.max(f.findIndex(y=>y.route.id===o),0),Math.max(f.findIndex(y=>y.shouldCallHandler()),0)),p=en(f,f[h].route.id).route.id;return Promise.resolve({[p]:{type:"error",result:u}})}}}async function sg(n,i,l,u,o){let{matches:c,request:f,params:h,context:p,unstable_pattern:y}=n,x=c.flatMap(S=>S.route.middleware?S.route.middleware.map(N=>[S.route.id,N]):[]);return await Jf({request:f,params:h,context:p,unstable_pattern:y},x,i,l,u,o)}async function Jf(n,i,l,u,o,c,f=0){let{request:h}=n;if(h.signal.aborted)throw h.signal.reason??new Error(`Request aborted: ${h.method} ${h.url}`);let p=i[f];if(!p)return await l();let[y,x]=p,v,S=async()=>{if(v)throw new Error("You may only call `next()` once per middleware");try{return v={value:await Jf(n,i,l,u,o,c,f+1)},v.value}catch(N){return v={value:await c(N,y,v)},v.value}};try{let N=await x(n,S),b=N!=null?u(N):void 0;return o(b)?b:v?b??v.value:(v={value:await S()},v.value)}catch(N){return await c(N,y,v)}}function Xf(n,i,l,u,o){let c=Gf({key:"middleware",route:u.route,manifest:i,mapRouteProperties:n}),f=lg(u.route,yt(l.method)?"action":"loader",i,n,o);return{middleware:c,route:f.lazyRoutePromise,handler:f.lazyHandlerPromise}}function $s(n,i,l,u,o,c,f,h,p=null,y){let x=!1,v=Xf(n,i,l,o,c);return{...o,_lazyPromises:v,shouldLoad:h,shouldRevalidateArgs:p,shouldCallHandler(S){return x=!0,p?typeof y=="boolean"?ia(o,{...p,defaultShouldRevalidate:y}):typeof S=="boolean"?ia(o,{...p,defaultShouldRevalidate:S}):ia(o,p):h},resolve(S){let{lazy:N,loader:b,middleware:z}=o.route,F=x||h||S&&!yt(l.method)&&(N||b),Y=z&&z.length>0&&!b&&!N;return F&&(yt(l.method)||!Y)?cg({request:l,unstable_pattern:u,match:o,lazyHandlerPromise:v==null?void 0:v.handler,lazyRoutePromise:v==null?void 0:v.route,handlerOverride:S,scopedContext:f}):Promise.resolve({type:"data",result:void 0})}}}function ui(n,i,l,u,o,c,f,h=null){return u.map(p=>p.route.id!==o.route.id?{...p,shouldLoad:!1,shouldRevalidateArgs:h,shouldCallHandler:()=>!1,_lazyPromises:Xf(n,i,l,p,c),resolve:()=>Promise.resolve({type:"data",result:void 0})}:$s(n,i,l,ha(u),p,c,f,!0,h))}async function ug(n,i,l,u,o,c){l.some(y=>{var x;return(x=y._lazyPromises)==null?void 0:x.middleware})&&await Promise.all(l.map(y=>{var x;return(x=y._lazyPromises)==null?void 0:x.middleware}));let f={request:i,unstable_pattern:ha(l),params:l[0].params,context:o,matches:l},p=await n({...f,fetcherKey:u,runClientMiddleware:y=>{let x=f;return Qf(x,()=>y({...x,fetcherKey:u,runClientMiddleware:()=>{throw new Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))}});try{await Promise.all(l.flatMap(y=>{var x,v;return[(x=y._lazyPromises)==null?void 0:x.handler,(v=y._lazyPromises)==null?void 0:v.route]}))}catch{}return p}async function cg({request:n,unstable_pattern:i,match:l,lazyHandlerPromise:u,lazyRoutePromise:o,handlerOverride:c,scopedContext:f}){let h,p,y=yt(n.method),x=y?"action":"loader",v=S=>{let N,b=new Promise((Y,H)=>N=H);p=()=>N(),n.signal.addEventListener("abort",p);let z=Y=>typeof S!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${x}" [routeId: ${l.route.id}]`)):S({request:n,unstable_pattern:i,params:l.params,context:f},...Y!==void 0?[Y]:[]),F=(async()=>{try{return{type:"data",result:await(c?c(H=>z(H)):z())}}catch(Y){return{type:"error",result:Y}}})();return Promise.race([F,b])};try{let S=y?l.route.action:l.route.loader;if(u||o)if(S){let N,[b]=await Promise.all([v(S).catch(z=>{N=z}),u,o]);if(N!==void 0)throw N;h=b}else{await u;let N=y?l.route.action:l.route.loader;if(N)[h]=await Promise.all([v(N),o]);else if(x==="action"){let b=new URL(n.url),z=b.pathname+b.search;throw Kt(405,{method:n.method,pathname:z,routeId:l.route.id})}else return{type:"data",result:void 0}}else if(S)h=await v(S);else{let N=new URL(n.url),b=N.pathname+N.search;throw Kt(404,{pathname:b})}}catch(S){return{type:"error",result:S}}finally{p&&n.signal.removeEventListener("abort",p)}return h}async function dg(n){let i=n.headers.get("Content-Type");return i&&/\bapplication\/json\b/.test(i)?n.body==null?null:n.json():n.text()}async function fg(n){var u,o,c,f,h;let{result:i,type:l}=n;if(Js(i)){let p;try{p=await dg(i)}catch(y){return{type:"error",error:y}}return l==="error"?{type:"error",error:new fa(i.status,i.statusText,p),statusCode:i.status,headers:i.headers}:{type:"data",data:p,statusCode:i.status,headers:i.headers}}return l==="error"?rf(i)?i.data instanceof Error?{type:"error",error:i.data,statusCode:(u=i.init)==null?void 0:u.status,headers:(o=i.init)!=null&&o.headers?new Headers(i.init.headers):void 0}:{type:"error",error:gg(i),statusCode:ca(i)?i.status:void 0,headers:(c=i.init)!=null&&c.headers?new Headers(i.init.headers):void 0}:{type:"error",error:i,statusCode:ca(i)?i.status:void 0}:rf(i)?{type:"data",data:i.data,statusCode:(f=i.init)==null?void 0:f.status,headers:(h=i.init)!=null&&h.headers?new Headers(i.init.headers):void 0}:{type:"data",data:i}}function hg(n,i,l,u,o){let c=n.headers.get("Location");if(Oe(c,"Redirects returned/thrown from loaders/actions must have a Location header"),!Ks(c)){let f=u.slice(0,u.findIndex(h=>h.route.id===l)+1);c=Is(new URL(i.url),f,o,c),n.headers.set("Location",c)}return n}function Xd(n,i,l,u){let o=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];if(Ks(n)){let c=n,f=c.startsWith("//")?new URL(i.protocol+c):new URL(c);if(o.includes(f.protocol))throw new Error("Invalid redirect location");let h=Yt(f.pathname,l)!=null;if(f.origin===i.origin&&h)return f.pathname+f.search+f.hash}try{let c=u.createURL(n);if(o.includes(c.protocol))throw new Error("Invalid redirect location")}catch{}return n}function li(n,i,l,u){let o=n.createURL(qf(i)).toString(),c={signal:l};if(u&&yt(u.formMethod)){let{formMethod:f,formEncType:h}=u;c.method=f.toUpperCase(),h==="application/json"?(c.headers=new Headers({"Content-Type":h}),c.body=JSON.stringify(u.json)):h==="text/plain"?c.body=u.text:h==="application/x-www-form-urlencoded"&&u.formData?c.body=Us(u.formData):c.body=u.formData}return new Request(o,c)}function Us(n){let i=new URLSearchParams;for(let[l,u]of n.entries())i.append(l,typeof u=="string"?u:u.name);return i}function qd(n){let i=new FormData;for(let[l,u]of n.entries())i.append(l,u);return i}function pg(n,i,l,u=!1,o=!1){let c={},f=null,h,p=!1,y={},x=l&&Dt(l[1])?l[1].error:void 0;return n.forEach(v=>{if(!(v.route.id in i))return;let S=v.route.id,N=i[S];if(Oe(!bn(N),"Cannot handle redirect results in processLoaderData"),Dt(N)){let b=N.error;if(x!==void 0&&(b=x,x=void 0),f=f||{},o)f[S]=b;else{let z=en(n,S);f[z.route.id]==null&&(f[z.route.id]=b)}u||(c[S]=Kf),p||(p=!0,h=ca(N.error)?N.error.status:500),N.headers&&(y[S]=N.headers)}else c[S]=N.data,N.statusCode&&N.statusCode!==200&&!p&&(h=N.statusCode),N.headers&&(y[S]=N.headers)}),x!==void 0&&l&&(f={[l[0]]:x},l[2]&&(c[l[2]]=void 0)),{loaderData:c,errors:f,statusCode:h||200,loaderHeaders:y}}function Zd(n,i,l,u,o,c){let{loaderData:f,errors:h}=pg(i,l,u);return o.filter(p=>!p.matches||p.matches.some(y=>y.shouldLoad)).forEach(p=>{let{key:y,match:x,controller:v}=p;if(v&&v.signal.aborted)return;let S=c[y];if(Oe(S,"Did not find corresponding fetcher result"),Dt(S)){let N=en(n.matches,x==null?void 0:x.route.id);h&&h[N.route.id]||(h={...h,[N.route.id]:S.error}),n.fetchers.delete(y)}else if(bn(S))Oe(!1,"Unhandled fetcher revalidation redirect");else{let N=Cr(S.data);n.fetchers.set(y,N)}}),{loaderData:f,errors:h}}function ef(n,i,l,u){let o=Object.entries(i).filter(([,c])=>c!==Kf).reduce((c,[f,h])=>(c[f]=h,c),{});for(let c of l){let f=c.route.id;if(!i.hasOwnProperty(f)&&n.hasOwnProperty(f)&&c.route.loader&&(o[f]=n[f]),u&&u.hasOwnProperty(f))break}return o}function tf(n){return n?Dt(n[1])?{actionData:{}}:{actionData:{[n[0]]:n[1].data}}:{}}function en(n,i){return(i?n.slice(0,n.findIndex(u=>u.route.id===i)+1):[...n]).reverse().find(u=>u.route.hasErrorBoundary===!0)||n[0]}function Cl(n){let i=n.length===1?n[0]:n.find(l=>l.index||!l.path||l.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:i}],route:i}}function Kt(n,{pathname:i,routeId:l,method:u,type:o,message:c}={}){let f="Unknown Server Error",h="Unknown @remix-run/router error";return n===400?(f="Bad Request",u&&i&&l?h=`You made a ${u} request to "${i}" but did not provide a \`loader\` for route "${l}", so there is no way to handle the request.`:o==="invalid-body"&&(h="Unable to encode submission body")):n===403?(f="Forbidden",h=`Route "${l}" does not match URL "${i}"`):n===404?(f="Not Found",h=`No route matches URL "${i}"`):n===405&&(f="Method Not Allowed",u&&i&&l?h=`You made a ${u.toUpperCase()} request to "${i}" but did not provide an \`action\` for route "${l}", so there is no way to handle the request.`:u&&(h=`Invalid request method "${u.toUpperCase()}"`)),new fa(n||500,f,new Error(h),!0)}function Rl(n){let i=Object.entries(n);for(let l=i.length-1;l>=0;l--){let[u,o]=i[l];if(bn(o))return{key:u,result:o}}}function qf(n){let i=typeof n=="string"?rn(n):n;return fr({...i,hash:""})}function mg(n,i){return n.pathname!==i.pathname||n.search!==i.search?!1:n.hash===""?i.hash!=="":n.hash===i.hash?!0:i.hash!==""}function gg(n){var i,l;return new fa(((i=n.init)==null?void 0:i.status)??500,((l=n.init)==null?void 0:l.statusText)??"Internal Server Error",n.data)}function yg(n){return n!=null&&typeof n=="object"&&Object.entries(n).every(([i,l])=>typeof i=="string"&&vg(l))}function vg(n){return n!=null&&typeof n=="object"&&"type"in n&&"result"in n&&(n.type==="data"||n.type==="error")}function xg(n){return Js(n.result)&&Bf.has(n.result.status)}function Dt(n){return n.type==="error"}function bn(n){return(n&&n.type)==="redirect"}function rf(n){return typeof n=="object"&&n!=null&&"type"in n&&"data"in n&&"init"in n&&n.type==="DataWithResponseInit"}function Js(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.headers=="object"&&typeof n.body<"u"}function wg(n){return Bf.has(n)}function kg(n){return Js(n)&&wg(n.status)&&n.headers.has("Location")}function Sg(n){return qm.has(n.toUpperCase())}function yt(n){return Jm.has(n.toUpperCase())}function Xs(n){return new URLSearchParams(n).getAll("index").some(i=>i==="")}function Pl(n,i){let l=typeof i=="string"?rn(i).search:i.search;if(n[n.length-1].route.index&&Xs(l||""))return n[n.length-1];let u=Hf(n);return u[u.length-1]}function nf(n){let{formMethod:i,formAction:l,formEncType:u,text:o,formData:c,json:f}=n;if(!(!i||!l||!u)){if(o!=null)return{formMethod:i,formAction:l,formEncType:u,formData:void 0,json:void 0,text:o};if(c!=null)return{formMethod:i,formAction:l,formEncType:u,formData:c,json:void 0,text:void 0};if(f!==void 0)return{formMethod:i,formAction:l,formEncType:u,formData:void 0,json:f,text:void 0}}}function Ps(n,i){return i?{state:"loading",location:n,formMethod:i.formMethod,formAction:i.formAction,formEncType:i.formEncType,formData:i.formData,json:i.json,text:i.text}:{state:"loading",location:n,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Ng(n,i){return{state:"submitting",location:n,formMethod:i.formMethod,formAction:i.formAction,formEncType:i.formEncType,formData:i.formData,json:i.json,text:i.text}}function Zi(n,i){return n?{state:"loading",formMethod:n.formMethod,formAction:n.formAction,formEncType:n.formEncType,formData:n.formData,json:n.json,text:n.text,data:i}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:i}}function jg(n,i){return{state:"submitting",formMethod:n.formMethod,formAction:n.formAction,formEncType:n.formEncType,formData:n.formData,json:n.json,text:n.text,data:i?i.data:void 0}}function Cr(n){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:n}}function Eg(n,i){try{let l=n.sessionStorage.getItem(Wf);if(l){let u=JSON.parse(l);for(let[o,c]of Object.entries(u||{}))c&&Array.isArray(c)&&i.set(o,new Set(c||[]))}}catch{}}function Cg(n,i){if(i.size>0){let l={};for(let[u,o]of i)l[u]=[...o];try{n.sessionStorage.setItem(Wf,JSON.stringify(l))}catch(u){rt(!1,`Failed to save applied view transitions in sessionStorage (${u}).`)}}}function af(){let n,i,l=new Promise((u,o)=>{n=async c=>{u(c);try{await l}catch{}},i=async c=>{o(c);try{await l}catch{}}});return{promise:l,resolve:n,reject:i}}var On=L.createContext(null);On.displayName="DataRouter";var pa=L.createContext(null);pa.displayName="DataRouterState";var Zf=L.createContext(!1);function Rg(){return L.useContext(Zf)}var qs=L.createContext({isTransitioning:!1});qs.displayName="ViewTransition";var eh=L.createContext(new Map);eh.displayName="Fetchers";var bg=L.createContext(null);bg.displayName="Await";var Gt=L.createContext(null);Gt.displayName="Navigation";var Hl=L.createContext(null);Hl.displayName="Location";var hr=L.createContext({outlet:null,matches:[],isDataRoute:!1});hr.displayName="Route";var Zs=L.createContext(null);Zs.displayName="RouteError";var th="REACT_ROUTER_ERROR",Lg="REDIRECT",Pg="ROUTE_ERROR_RESPONSE";function Og(n){if(n.startsWith(`${th}:${Lg}:{`))try{let i=JSON.parse(n.slice(28));if(typeof i=="object"&&i&&typeof i.status=="number"&&typeof i.statusText=="string"&&typeof i.location=="string"&&typeof i.reloadDocument=="boolean"&&typeof i.replace=="boolean")return i}catch{}}function Mg(n){if(n.startsWith(`${th}:${Pg}:{`))try{let i=JSON.parse(n.slice(40));if(typeof i=="object"&&i&&typeof i.status=="number"&&typeof i.statusText=="string")return new fa(i.status,i.statusText,i.data)}catch{}}function _g(n,{relative:i}={}){Oe(ma(),"useHref() may be used only in the context of a <Router> component.");let{basename:l,navigator:u}=L.useContext(Gt),{hash:o,pathname:c,search:f}=ga(n,{relative:i}),h=c;return l!=="/"&&(h=c==="/"?l:dr([l,c])),u.createHref({pathname:h,search:f,hash:o})}function ma(){return L.useContext(Hl)!=null}function nn(){return Oe(ma(),"useLocation() may be used only in the context of a <Router> component."),L.useContext(Hl).location}var rh="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function nh(n){L.useContext(Gt).static||L.useLayoutEffect(n)}function Tg(){let{isDataRoute:n}=L.useContext(hr);return n?Qg():zg()}function zg(){Oe(ma(),"useNavigate() may be used only in the context of a <Router> component.");let n=L.useContext(On),{basename:i,navigator:l}=L.useContext(Gt),{matches:u}=L.useContext(hr),{pathname:o}=nn(),c=JSON.stringify(Ys(u)),f=L.useRef(!1);return nh(()=>{f.current=!0}),L.useCallback((p,y={})=>{if(rt(f.current,rh),!f.current)return;if(typeof p=="number"){l.go(p);return}let x=Gs(p,JSON.parse(c),o,y.relative==="path");n==null&&i!=="/"&&(x.pathname=x.pathname==="/"?i:dr([i,x.pathname])),(y.replace?l.replace:l.push)(x,y.state,y)},[i,l,c,o,n])}var Dg=L.createContext(null);function Fg(n){let i=L.useContext(hr).outlet;return L.useMemo(()=>i&&L.createElement(Dg.Provider,{value:n},i),[i,n])}function ga(n,{relative:i}={}){let{matches:l}=L.useContext(hr),{pathname:u}=nn(),o=JSON.stringify(Ys(l));return L.useMemo(()=>Gs(n,JSON.parse(o),u,i==="path"),[n,o,u,i])}function Ig(n,i,l,u,o){Oe(ma(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:c}=L.useContext(Gt),{matches:f}=L.useContext(hr),h=f[f.length-1],p=h?h.params:{},y=h?h.pathname:"/",x=h?h.pathnameBase:"/",v=h&&h.route;{let H=v&&v.path||"";ah(y,!v||H.endsWith("*")||H.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${y}" (under <Route path="${H}">) 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="${H}"> to <Route path="${H==="/"?"*":`${H}/*`}">.`)}let S=nn(),N;N=S;let b=N.pathname||"/",z=b;if(x!=="/"){let H=x.replace(/^\//,"").split("/");z="/"+b.replace(/^\//,"").split("/").slice(H.length).join("/")}let F=Zr(n,{pathname:z});return rt(v||F!=null,`No routes matched location "${N.pathname}${N.search}${N.hash}" `),rt(F==null||F[F.length-1].route.element!==void 0||F[F.length-1].route.Component!==void 0||F[F.length-1].route.lazy!==void 0,`Matched leaf route at location "${N.pathname}${N.search}${N.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.`),Vg(F&&F.map(H=>Object.assign({},H,{params:Object.assign({},p,H.params),pathname:dr([x,c.encodeLocation?c.encodeLocation(H.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:H.pathname]),pathnameBase:H.pathnameBase==="/"?x:dr([x,c.encodeLocation?c.encodeLocation(H.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:H.pathnameBase])})),f,l,u,o)}function Hg(){let n=Gg(),i=ca(n)?`${n.status} ${n.statusText}`:n instanceof Error?n.message:JSON.stringify(n),l=n instanceof Error?n.stack:null,u="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:u},c={padding:"2px 4px",backgroundColor:u},f=null;return console.error("Error handled by React Router default ErrorBoundary:",n),f=L.createElement(L.Fragment,null,L.createElement("p",null,"💿 Hey developer 👋"),L.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",L.createElement("code",{style:c},"ErrorBoundary")," or"," ",L.createElement("code",{style:c},"errorElement")," prop on your route.")),L.createElement(L.Fragment,null,L.createElement("h2",null,"Unexpected Application Error!"),L.createElement("h3",{style:{fontStyle:"italic"}},i),l?L.createElement("pre",{style:o},l):null,f)}var $g=L.createElement(Hg,null),ih=class extends L.Component{constructor(n){super(n),this.state={location:n.location,revalidation:n.revalidation,error:n.error}}static getDerivedStateFromError(n){return{error:n}}static getDerivedStateFromProps(n,i){return i.location!==n.location||i.revalidation!=="idle"&&n.revalidation==="idle"?{error:n.error,location:n.location,revalidation:n.revalidation}:{error:n.error!==void 0?n.error:i.error,location:i.location,revalidation:n.revalidation||i.revalidation}}componentDidCatch(n,i){this.props.onError?this.props.onError(n,i):console.error("React Router caught the following error during render",n)}render(){let n=this.state.error;if(this.context&&typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){const l=Mg(n.digest);l&&(n=l)}let i=n!==void 0?L.createElement(hr.Provider,{value:this.props.routeContext},L.createElement(Zs.Provider,{value:n,children:this.props.component})):this.props.children;return this.context?L.createElement(Ug,{error:n},i):i}};ih.contextType=Zf;var Os=new WeakMap;function Ug({children:n,error:i}){let{basename:l}=L.useContext(Gt);if(typeof i=="object"&&i&&"digest"in i&&typeof i.digest=="string"){let u=Og(i.digest);if(u){let o=Os.get(i);if(o)throw o;let c=Uf(u.location,l);if($f&&!Os.get(i))if(c.isExternal||u.reloadDocument)window.location.href=c.absoluteURL||c.to;else{const f=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(c.to,{replace:u.replace}));throw Os.set(i,f),f}return L.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c.absoluteURL||c.to}`})}}return n}function Ag({routeContext:n,match:i,children:l}){let u=L.useContext(On);return u&&u.static&&u.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(u.staticContext._deepestRenderedBoundaryId=i.route.id),L.createElement(hr.Provider,{value:n},l)}function Vg(n,i=[],l=null,u=null,o=null){if(n==null){if(!l)return null;if(l.errors)n=l.matches;else if(i.length===0&&!l.initialized&&l.matches.length>0)n=l.matches;else return null}let c=n,f=l==null?void 0:l.errors;if(f!=null){let x=c.findIndex(v=>v.route.id&&(f==null?void 0:f[v.route.id])!==void 0);Oe(x>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(f).join(",")}`),c=c.slice(0,Math.min(c.length,x+1))}let h=!1,p=-1;if(l)for(let x=0;x<c.length;x++){let v=c[x];if((v.route.HydrateFallback||v.route.hydrateFallbackElement)&&(p=x),v.route.id){let{loaderData:S,errors:N}=l,b=v.route.loader&&!S.hasOwnProperty(v.route.id)&&(!N||N[v.route.id]===void 0);if(v.route.lazy||b){h=!0,p>=0?c=c.slice(0,p+1):c=[c[0]];break}}}let y=l&&u?(x,v)=>{var S,N;u(x,{location:l.location,params:((N=(S=l.matches)==null?void 0:S[0])==null?void 0:N.params)??{},unstable_pattern:ha(l.matches),errorInfo:v})}:void 0;return c.reduceRight((x,v,S)=>{let N,b=!1,z=null,F=null;l&&(N=f&&v.route.id?f[v.route.id]:void 0,z=v.route.errorElement||$g,h&&(p<0&&S===0?(ah("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),b=!0,F=null):p===S&&(b=!0,F=v.route.hydrateFallbackElement||null)));let Y=i.concat(c.slice(0,S+1)),H=()=>{let G;return N?G=z:b?G=F:v.route.Component?G=L.createElement(v.route.Component,null):v.route.element?G=v.route.element:G=x,L.createElement(Ag,{match:v,routeContext:{outlet:x,matches:Y,isDataRoute:l!=null},children:G})};return l&&(v.route.ErrorBoundary||v.route.errorElement||S===0)?L.createElement(ih,{location:l.location,revalidation:l.revalidation,component:z,error:N,children:H(),routeContext:{outlet:null,matches:Y,isDataRoute:!0},onError:y}):H()},null)}function eu(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Bg(n){let i=L.useContext(On);return Oe(i,eu(n)),i}function Wg(n){let i=L.useContext(pa);return Oe(i,eu(n)),i}function Kg(n){let i=L.useContext(hr);return Oe(i,eu(n)),i}function tu(n){let i=Kg(n),l=i.matches[i.matches.length-1];return Oe(l.route.id,`${n} can only be used on routes that contain a unique "id"`),l.route.id}function Yg(){return tu("useRouteId")}function Gg(){var u;let n=L.useContext(Zs),i=Wg("useRouteError"),l=tu("useRouteError");return n!==void 0?n:(u=i.errors)==null?void 0:u[l]}function Qg(){let{router:n}=Bg("useNavigate"),i=tu("useNavigate"),l=L.useRef(!1);return nh(()=>{l.current=!0}),L.useCallback(async(o,c={})=>{rt(l.current,rh),l.current&&(typeof o=="number"?await n.navigate(o):await n.navigate(o,{fromRouteId:i,...c}))},[n,i])}var lf={};function ah(n,i,l){!i&&!lf[n]&&(lf[n]=!0,rt(!1,l))}var of={};function sf(n,i){!n&&!of[i]&&(of[i]=!0,console.warn(i))}var Jg="useOptimistic",uf=mm[Jg],Xg=()=>{};function qg(n){return uf?uf(n):[n,Xg]}function Zg(n){let i={hasErrorBoundary:n.hasErrorBoundary||n.ErrorBoundary!=null||n.errorElement!=null};return n.Component&&(n.element&&rt(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(i,{element:L.createElement(n.Component),Component:void 0})),n.HydrateFallback&&(n.hydrateFallbackElement&&rt(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(i,{hydrateFallbackElement:L.createElement(n.HydrateFallback),HydrateFallback:void 0})),n.ErrorBoundary&&(n.errorElement&&rt(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(i,{errorElement:L.createElement(n.ErrorBoundary),ErrorBoundary:void 0})),i}var ey=["HydrateFallback","hydrateFallbackElement"],ty=class{constructor(){this.status="pending",this.promise=new Promise((n,i)=>{this.resolve=l=>{this.status==="pending"&&(this.status="resolved",n(l))},this.reject=l=>{this.status==="pending"&&(this.status="rejected",i(l))}})}};function ry({router:n,flushSync:i,onError:l,unstable_useTransitions:u}){u=Rg()||u;let[c,f]=L.useState(n.state),[h,p]=qg(c),[y,x]=L.useState(),[v,S]=L.useState({isTransitioning:!1}),[N,b]=L.useState(),[z,F]=L.useState(),[Y,H]=L.useState(),G=L.useRef(new Map),ne=L.useCallback((Z,{deletedFetchers:ee,newErrors:ce,flushSync:Le,viewTransitionOpts:pe})=>{ce&&l&&Object.values(ce).forEach(ie=>{var Ee;return l(ie,{location:Z.location,params:((Ee=Z.matches[0])==null?void 0:Ee.params)??{},unstable_pattern:ha(Z.matches)})}),Z.fetchers.forEach((ie,Ee)=>{ie.data!==void 0&&G.current.set(Ee,ie.data)}),ee.forEach(ie=>G.current.delete(ie)),sf(Le===!1||i!=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 fe=n.window!=null&&n.window.document!=null&&typeof n.window.document.startViewTransition=="function";if(sf(pe==null||fe,"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."),!pe||!fe){i&&Le?i(()=>f(Z)):u===!1?f(Z):L.startTransition(()=>{u===!0&&p(ie=>cf(ie,Z)),f(Z)});return}if(i&&Le){i(()=>{z&&(N==null||N.resolve(),z.skipTransition()),S({isTransitioning:!0,flushSync:!0,currentLocation:pe.currentLocation,nextLocation:pe.nextLocation})});let ie=n.window.document.startViewTransition(()=>{i(()=>f(Z))});ie.finished.finally(()=>{i(()=>{b(void 0),F(void 0),x(void 0),S({isTransitioning:!1})})}),i(()=>F(ie));return}z?(N==null||N.resolve(),z.skipTransition(),H({state:Z,currentLocation:pe.currentLocation,nextLocation:pe.nextLocation})):(x(Z),S({isTransitioning:!0,flushSync:!1,currentLocation:pe.currentLocation,nextLocation:pe.nextLocation}))},[n.window,i,z,N,u,p,l]);L.useLayoutEffect(()=>n.subscribe(ne),[n,ne]),L.useEffect(()=>{v.isTransitioning&&!v.flushSync&&b(new ty)},[v]),L.useEffect(()=>{if(N&&y&&n.window){let Z=y,ee=N.promise,ce=n.window.document.startViewTransition(async()=>{u===!1?f(Z):L.startTransition(()=>{u===!0&&p(Le=>cf(Le,Z)),f(Z)}),await ee});ce.finished.finally(()=>{b(void 0),F(void 0),x(void 0),S({isTransitioning:!1})}),F(ce)}},[y,N,n.window,u,p]),L.useEffect(()=>{N&&y&&h.location.key===y.location.key&&N.resolve()},[N,z,h.location,y]),L.useEffect(()=>{!v.isTransitioning&&Y&&(x(Y.state),S({isTransitioning:!0,flushSync:!1,currentLocation:Y.currentLocation,nextLocation:Y.nextLocation}),H(void 0))},[v.isTransitioning,Y]);let ue=L.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:Z=>n.navigate(Z),push:(Z,ee,ce)=>n.navigate(Z,{state:ee,preventScrollReset:ce==null?void 0:ce.preventScrollReset}),replace:(Z,ee,ce)=>n.navigate(Z,{replace:!0,state:ee,preventScrollReset:ce==null?void 0:ce.preventScrollReset})}),[n]),Se=n.basename||"/",O=L.useMemo(()=>({router:n,navigator:ue,static:!1,basename:Se,onError:l}),[n,ue,Se,l]);return L.createElement(L.Fragment,null,L.createElement(On.Provider,{value:O},L.createElement(pa.Provider,{value:h},L.createElement(eh.Provider,{value:G.current},L.createElement(qs.Provider,{value:v},L.createElement(ly,{basename:Se,location:h.location,navigationType:h.historyAction,navigator:ue,unstable_useTransitions:u},L.createElement(ny,{routes:n.routes,future:n.future,state:h,onError:l})))))),null)}function cf(n,i){return{...n,navigation:i.navigation.state!=="idle"?i.navigation:n.navigation,revalidation:i.revalidation!=="idle"?i.revalidation:n.revalidation,actionData:i.navigation.state!=="submitting"?i.actionData:n.actionData,fetchers:i.fetchers}}var ny=L.memo(iy);function iy({routes:n,future:i,state:l,onError:u}){return Ig(n,void 0,l,u,i)}function ay(n){return Fg(n.context)}function ly({basename:n="/",children:i=null,location:l,navigationType:u="POP",navigator:o,static:c=!1,unstable_useTransitions:f}){Oe(!ma(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let h=n.replace(/^\/*/,"/"),p=L.useMemo(()=>({basename:h,navigator:o,static:c,unstable_useTransitions:f,future:{}}),[h,o,c,f]);typeof l=="string"&&(l=rn(l));let{pathname:y="/",search:x="",hash:v="",state:S=null,key:N="default"}=l,b=L.useMemo(()=>{let z=Yt(y,h);return z==null?null:{location:{pathname:z,search:x,hash:v,state:S,key:N},navigationType:u}},[h,y,x,v,S,N,u]);return rt(b!=null,`<Router basename="${h}"> is not able to match the URL "${y}${x}${v}" because it does not start with the basename, so the <Router> won't render anything.`),b==null?null:L.createElement(Gt.Provider,{value:p},L.createElement(Hl.Provider,{children:i,value:b}))}var Ol="get",Ml="application/x-www-form-urlencoded";function $l(n){return typeof HTMLElement<"u"&&n instanceof HTMLElement}function oy(n){return $l(n)&&n.tagName.toLowerCase()==="button"}function sy(n){return $l(n)&&n.tagName.toLowerCase()==="form"}function uy(n){return $l(n)&&n.tagName.toLowerCase()==="input"}function cy(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function dy(n,i){return n.button===0&&(!i||i==="_self")&&!cy(n)}var bl=null;function fy(){if(bl===null)try{new FormData(document.createElement("form"),0),bl=!1}catch{bl=!0}return bl}var hy=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Ms(n){return n!=null&&!hy.has(n)?(rt(!1,`"${n}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Ml}"`),null):n}function py(n,i){let l,u,o,c,f;if(sy(n)){let h=n.getAttribute("action");u=h?Yt(h,i):null,l=n.getAttribute("method")||Ol,o=Ms(n.getAttribute("enctype"))||Ml,c=new FormData(n)}else if(oy(n)||uy(n)&&(n.type==="submit"||n.type==="image")){let h=n.form;if(h==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let p=n.getAttribute("formaction")||h.getAttribute("action");if(u=p?Yt(p,i):null,l=n.getAttribute("formmethod")||h.getAttribute("method")||Ol,o=Ms(n.getAttribute("formenctype"))||Ms(h.getAttribute("enctype"))||Ml,c=new FormData(h,n),!fy()){let{name:y,type:x,value:v}=n;if(x==="image"){let S=y?`${y}.`:"";c.append(`${S}x`,"0"),c.append(`${S}y`,"0")}else y&&c.append(y,v)}}else{if($l(n))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');l=Ol,u=null,o=Ml,f=n}return c&&o==="text/plain"&&(f=c,c=void 0),{action:u,method:l.toLowerCase(),encType:o,formData:c,body:f}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function ru(n,i){if(n===!1||n===null||typeof n>"u")throw new Error(i)}function my(n,i,l,u){let o=typeof n=="string"?new URL(n,typeof window>"u"?"server://singlefetch/":window.location.origin):n;return l?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${u}`:o.pathname=`${o.pathname}.${u}`:o.pathname==="/"?o.pathname=`_root.${u}`:i&&Yt(o.pathname,i)==="/"?o.pathname=`${i.replace(/\/$/,"")}/_root.${u}`:o.pathname=`${o.pathname.replace(/\/$/,"")}.${u}`,o}async function gy(n,i){if(n.id in i)return i[n.id];try{let l=await import(n.module);return i[n.id]=l,l}catch(l){return console.error(`Error loading route module \`${n.module}\`, reloading page...`),console.error(l),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function yy(n){return n==null?!1:n.href==null?n.rel==="preload"&&typeof n.imageSrcSet=="string"&&typeof n.imageSizes=="string":typeof n.rel=="string"&&typeof n.href=="string"}async function vy(n,i,l){let u=await Promise.all(n.map(async o=>{let c=i.routes[o.route.id];if(c){let f=await gy(c,l);return f.links?f.links():[]}return[]}));return Sy(u.flat(1).filter(yy).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function df(n,i,l,u,o,c){let f=(p,y)=>l[y]?p.route.id!==l[y].route.id:!0,h=(p,y)=>{var x;return l[y].pathname!==p.pathname||((x=l[y].route.path)==null?void 0:x.endsWith("*"))&&l[y].params["*"]!==p.params["*"]};return c==="assets"?i.filter((p,y)=>f(p,y)||h(p,y)):c==="data"?i.filter((p,y)=>{var v;let x=u.routes[p.route.id];if(!x||!x.hasLoader)return!1;if(f(p,y)||h(p,y))return!0;if(p.route.shouldRevalidate){let S=p.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:((v=l[0])==null?void 0:v.params)||{},nextUrl:new URL(n,window.origin),nextParams:p.params,defaultShouldRevalidate:!0});if(typeof S=="boolean")return S}return!0}):[]}function xy(n,i,{includeHydrateFallback:l}={}){return wy(n.map(u=>{let o=i.routes[u.route.id];if(!o)return[];let c=[o.module];return o.clientActionModule&&(c=c.concat(o.clientActionModule)),o.clientLoaderModule&&(c=c.concat(o.clientLoaderModule)),l&&o.hydrateFallbackModule&&(c=c.concat(o.hydrateFallbackModule)),o.imports&&(c=c.concat(o.imports)),c}).flat(1))}function wy(n){return[...new Set(n)]}function ky(n){let i={},l=Object.keys(n).sort();for(let u of l)i[u]=n[u];return i}function Sy(n,i){let l=new Set;return new Set(i),n.reduce((u,o)=>{let c=JSON.stringify(ky(o));return l.has(c)||(l.add(c),u.push({key:c,link:o})),u},[])}function lh(){let n=L.useContext(On);return ru(n,"You must render this element inside a <DataRouterContext.Provider> element"),n}function Ny(){let n=L.useContext(pa);return ru(n,"You must render this element inside a <DataRouterStateContext.Provider> element"),n}var nu=L.createContext(void 0);nu.displayName="FrameworkContext";function oh(){let n=L.useContext(nu);return ru(n,"You must render this element inside a <HydratedRouter> element"),n}function jy(n,i){let l=L.useContext(nu),[u,o]=L.useState(!1),[c,f]=L.useState(!1),{onFocus:h,onBlur:p,onMouseEnter:y,onMouseLeave:x,onTouchStart:v}=i,S=L.useRef(null);L.useEffect(()=>{if(n==="render"&&f(!0),n==="viewport"){let z=Y=>{Y.forEach(H=>{f(H.isIntersecting)})},F=new IntersectionObserver(z,{threshold:.5});return S.current&&F.observe(S.current),()=>{F.disconnect()}}},[n]),L.useEffect(()=>{if(u){let z=setTimeout(()=>{f(!0)},100);return()=>{clearTimeout(z)}}},[u]);let N=()=>{o(!0)},b=()=>{o(!1),f(!1)};return l?n!=="intent"?[c,S,{}]:[c,S,{onFocus:ea(h,N),onBlur:ea(p,b),onMouseEnter:ea(y,N),onMouseLeave:ea(x,b),onTouchStart:ea(v,N)}]:[!1,S,{}]}function ea(n,i){return l=>{n&&n(l),l.defaultPrevented||i(l)}}function Ey({page:n,...i}){let{router:l}=lh(),u=L.useMemo(()=>Zr(l.routes,n,l.basename),[l.routes,n,l.basename]);return u?L.createElement(Ry,{page:n,matches:u,...i}):null}function Cy(n){let{manifest:i,routeModules:l}=oh(),[u,o]=L.useState([]);return L.useEffect(()=>{let c=!1;return vy(n,i,l).then(f=>{c||o(f)}),()=>{c=!0}},[n,i,l]),u}function Ry({page:n,matches:i,...l}){let u=nn(),{future:o,manifest:c,routeModules:f}=oh(),{basename:h}=lh(),{loaderData:p,matches:y}=Ny(),x=L.useMemo(()=>df(n,i,y,c,u,"data"),[n,i,y,c,u]),v=L.useMemo(()=>df(n,i,y,c,u,"assets"),[n,i,y,c,u]),S=L.useMemo(()=>{if(n===u.pathname+u.search+u.hash)return[];let z=new Set,F=!1;if(i.forEach(H=>{var ne;let G=c.routes[H.route.id];!G||!G.hasLoader||(!x.some(ue=>ue.route.id===H.route.id)&&H.route.id in p&&((ne=f[H.route.id])!=null&&ne.shouldRevalidate)||G.hasClientLoader?F=!0:z.add(H.route.id))}),z.size===0)return[];let Y=my(n,h,o.unstable_trailingSlashAwareDataRequests,"data");return F&&z.size>0&&Y.searchParams.set("_routes",i.filter(H=>z.has(H.route.id)).map(H=>H.route.id).join(",")),[Y.pathname+Y.search]},[h,o.unstable_trailingSlashAwareDataRequests,p,u,c,x,i,n,f]),N=L.useMemo(()=>xy(v,c),[v,c]),b=Cy(v);return L.createElement(L.Fragment,null,S.map(z=>L.createElement("link",{key:z,rel:"prefetch",as:"fetch",href:z,...l})),N.map(z=>L.createElement("link",{key:z,rel:"modulepreload",href:z,...l})),b.map(({key:z,link:F})=>L.createElement("link",{key:z,nonce:l.nonce,...F,crossOrigin:F.crossOrigin??l.crossOrigin})))}function by(...n){return i=>{n.forEach(l=>{typeof l=="function"?l(i):l!=null&&(l.current=i)})}}var Ly=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Ly&&(window.__reactRouterVersion="7.13.0")}catch{}function Py(n,i){return rg({basename:i==null?void 0:i.basename,getContext:i==null?void 0:i.getContext,future:i==null?void 0:i.future,history:vm({window:i==null?void 0:i.window}),hydrationData:(i==null?void 0:i.hydrationData)||Oy(),routes:n,mapRouteProperties:Zg,hydrationRouteProperties:ey,dataStrategy:i==null?void 0:i.dataStrategy,patchRoutesOnNavigation:i==null?void 0:i.patchRoutesOnNavigation,window:i==null?void 0:i.window,unstable_instrumentations:i==null?void 0:i.unstable_instrumentations}).initialize()}function Oy(){let n=window==null?void 0:window.__staticRouterHydrationData;return n&&n.errors&&(n={...n,errors:My(n.errors)}),n}function My(n){if(!n)return null;let i=Object.entries(n),l={};for(let[u,o]of i)if(o&&o.__type==="RouteErrorResponse")l[u]=new fa(o.status,o.statusText,o.data,o.internal===!0);else if(o&&o.__type==="Error"){if(o.__subType){let c=window[o.__subType];if(typeof c=="function")try{let f=new c(o.message);f.stack="",l[u]=f}catch{}}if(l[u]==null){let c=new Error(o.message);c.stack="",l[u]=c}}else l[u]=o;return l}var sh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ct=L.forwardRef(function({onClick:i,discover:l="render",prefetch:u="none",relative:o,reloadDocument:c,replace:f,state:h,target:p,to:y,preventScrollReset:x,viewTransition:v,unstable_defaultShouldRevalidate:S,...N},b){let{basename:z,unstable_useTransitions:F}=L.useContext(Gt),Y=typeof y=="string"&&sh.test(y),H=Uf(y,z);y=H.to;let G=_g(y,{relative:o}),[ne,ue,Se]=jy(u,N),O=Dy(y,{replace:f,state:h,target:p,preventScrollReset:x,relative:o,viewTransition:v,unstable_defaultShouldRevalidate:S,unstable_useTransitions:F});function Z(ce){i&&i(ce),ce.defaultPrevented||O(ce)}let ee=L.createElement("a",{...N,...Se,href:H.absoluteURL||G,onClick:H.isExternal||c?i:Z,ref:by(b,ue),target:p,"data-discover":!Y&&l==="render"?"true":void 0});return ne&&!Y?L.createElement(L.Fragment,null,ee,L.createElement(Ey,{page:G})):ee});ct.displayName="Link";var _y=L.forwardRef(function({"aria-current":i="page",caseSensitive:l=!1,className:u="",end:o=!1,style:c,to:f,viewTransition:h,children:p,...y},x){let v=ga(f,{relative:y.relative}),S=nn(),N=L.useContext(pa),{navigator:b,basename:z}=L.useContext(Gt),F=N!=null&&Uy(v)&&h===!0,Y=b.encodeLocation?b.encodeLocation(v).pathname:v.pathname,H=S.pathname,G=N&&N.navigation&&N.navigation.location?N.navigation.location.pathname:null;l||(H=H.toLowerCase(),G=G?G.toLowerCase():null,Y=Y.toLowerCase()),G&&z&&(G=Yt(G,z)||G);const ne=Y!=="/"&&Y.endsWith("/")?Y.length-1:Y.length;let ue=H===Y||!o&&H.startsWith(Y)&&H.charAt(ne)==="/",Se=G!=null&&(G===Y||!o&&G.startsWith(Y)&&G.charAt(Y.length)==="/"),O={isActive:ue,isPending:Se,isTransitioning:F},Z=ue?i:void 0,ee;typeof u=="function"?ee=u(O):ee=[u,ue?"active":null,Se?"pending":null,F?"transitioning":null].filter(Boolean).join(" ");let ce=typeof c=="function"?c(O):c;return L.createElement(ct,{...y,"aria-current":Z,className:ee,ref:x,style:ce,to:f,viewTransition:h},typeof p=="function"?p(O):p)});_y.displayName="NavLink";var Ty=L.forwardRef(({discover:n="render",fetcherKey:i,navigate:l,reloadDocument:u,replace:o,state:c,method:f=Ol,action:h,onSubmit:p,relative:y,preventScrollReset:x,viewTransition:v,unstable_defaultShouldRevalidate:S,...N},b)=>{let{unstable_useTransitions:z}=L.useContext(Gt),F=Hy(),Y=$y(h,{relative:y}),H=f.toLowerCase()==="get"?"get":"post",G=typeof h=="string"&&sh.test(h),ne=ue=>{if(p&&p(ue),ue.defaultPrevented)return;ue.preventDefault();let Se=ue.nativeEvent.submitter,O=(Se==null?void 0:Se.getAttribute("formmethod"))||f,Z=()=>F(Se||ue.currentTarget,{fetcherKey:i,method:O,navigate:l,replace:o,state:c,relative:y,preventScrollReset:x,viewTransition:v,unstable_defaultShouldRevalidate:S});z&&l!==!1?L.startTransition(()=>Z()):Z()};return L.createElement("form",{ref:b,method:H,action:Y,onSubmit:u?p:ne,...N,"data-discover":!G&&n==="render"?"true":void 0})});Ty.displayName="Form";function zy(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function uh(n){let i=L.useContext(On);return Oe(i,zy(n)),i}function Dy(n,{target:i,replace:l,state:u,preventScrollReset:o,relative:c,viewTransition:f,unstable_defaultShouldRevalidate:h,unstable_useTransitions:p}={}){let y=Tg(),x=nn(),v=ga(n,{relative:c});return L.useCallback(S=>{if(dy(S,i)){S.preventDefault();let N=l!==void 0?l:fr(x)===fr(v),b=()=>y(n,{replace:N,state:u,preventScrollReset:o,relative:c,viewTransition:f,unstable_defaultShouldRevalidate:h});p?L.startTransition(()=>b()):b()}},[x,y,v,l,u,i,n,o,c,f,h,p])}var Fy=0,Iy=()=>`__${String(++Fy)}__`;function Hy(){let{router:n}=uh("useSubmit"),{basename:i}=L.useContext(Gt),l=Yg(),u=n.fetch,o=n.navigate;return L.useCallback(async(c,f={})=>{let{action:h,method:p,encType:y,formData:x,body:v}=py(c,i);if(f.navigate===!1){let S=f.fetcherKey||Iy();await u(S,l,f.action||h,{unstable_defaultShouldRevalidate:f.unstable_defaultShouldRevalidate,preventScrollReset:f.preventScrollReset,formData:x,body:v,formMethod:f.method||p,formEncType:f.encType||y,flushSync:f.flushSync})}else await o(f.action||h,{unstable_defaultShouldRevalidate:f.unstable_defaultShouldRevalidate,preventScrollReset:f.preventScrollReset,formData:x,body:v,formMethod:f.method||p,formEncType:f.encType||y,replace:f.replace,state:f.state,fromRouteId:l,flushSync:f.flushSync,viewTransition:f.viewTransition})},[u,o,i,l])}function $y(n,{relative:i}={}){let{basename:l}=L.useContext(Gt),u=L.useContext(hr);Oe(u,"useFormAction must be used inside a RouteContext");let[o]=u.matches.slice(-1),c={...ga(n||".",{relative:i})},f=nn();if(n==null){c.search=f.search;let h=new URLSearchParams(c.search),p=h.getAll("index");if(p.some(x=>x==="")){h.delete("index"),p.filter(v=>v).forEach(v=>h.append("index",v));let x=h.toString();c.search=x?`?${x}`:""}}return(!n||n===".")&&o.route.index&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),l!=="/"&&(c.pathname=c.pathname==="/"?l:dr([l,c.pathname])),fr(c)}function Uy(n,{relative:i}={}){let l=L.useContext(qs);Oe(l!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:u}=uh("useViewTransitionState"),o=ga(n,{relative:i});if(!l.isTransitioning)return!1;let c=Yt(l.currentLocation.pathname,u)||l.currentLocation.pathname,f=Yt(l.nextLocation.pathname,u)||l.nextLocation.pathname;return _l(o.pathname,f)!=null||_l(o.pathname,c)!=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 Ay=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Vy=n=>n.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,l,u)=>u?u.toUpperCase():l.toLowerCase()),ff=n=>{const i=Vy(n);return i.charAt(0).toUpperCase()+i.slice(1)},ch=(...n)=>n.filter((i,l,u)=>!!i&&i.trim()!==""&&u.indexOf(i)===l).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 By={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 Wy=L.forwardRef(({color:n="currentColor",size:i=24,strokeWidth:l=2,absoluteStrokeWidth:u,className:o="",children:c,iconNode:f,...h},p)=>L.createElement("svg",{ref:p,...By,width:i,height:i,stroke:n,strokeWidth:u?Number(l)*24/Number(i):l,className:ch("lucide",o),...h},[...f.map(([y,x])=>L.createElement(y,x)),...Array.isArray(c)?c:[c]]));/**
* @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 Ge=(n,i)=>{const l=L.forwardRef(({className:u,...o},c)=>L.createElement(Wy,{ref:c,iconNode:i,className:ch(`lucide-${Ay(ff(n))}`,`lucide-${n}`,u),...o}));return l.displayName=ff(n),l};/**
* @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 Ky=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],oi=Ge("arrow-right",Ky);/**
* @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:"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"}]],Gy=Ge("award",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 Qy=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Ln=Ge("circle-check-big",Qy);/**
* @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=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]],iu=Ge("clock",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 Xy=[["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"}]],qy=Ge("droplet",Xy);/**
* @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 Zy=[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],e0=Ge("facebook",Zy);/**
* @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 t0=[["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"}]],r0=Ge("hammer",t0);/**
* @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 n0=[["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"}]],i0=Ge("house",n0);/**
* @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 a0=[["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"}]],l0=Ge("instagram",a0);/**
* @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 o0=[["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"}]],dh=Ge("mail",o0);/**
* @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 s0=[["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"}]],fh=Ge("map-pin",s0);/**
* @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 u0=[["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"}]],c0=Ge("menu",u0);/**
* @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 d0=[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]],f0=Ge("moon",d0);/**
* @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 h0=[["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"}]],p0=Ge("paint-bucket",h0);/**
* @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 m0=[["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"}]],Tl=Ge("phone",m0);/**
* @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 g0=[["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"}]],hf=Ge("send",g0);/**
* @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 y0=[["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"}]],v0=Ge("settings",y0);/**
* @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 x0=[["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"}]],w0=Ge("star",x0);/**
* @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 k0=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],S0=Ge("sun",k0);/**
* @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 N0=[["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"}]],j0=Ge("twitter",N0);/**
* @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 E0=[["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"}]],pf=Ge("users",E0);/**
* @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 C0=[["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"}]],hh=Ge("wrench",C0);/**
* @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 R0=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],b0=Ge("x",R0);/**
* @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 L0=[["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"}]],P0=Ge("zap",L0),O0="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iODgiIGhlaWdodD0iODgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBvcGFjaXR5PSIuMyIgZmlsbD0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIzLjciPjxyZWN0IHg9IjE2IiB5PSIxNiIgd2lkdGg9IjU2IiBoZWlnaHQ9IjU2IiByeD0iNiIvPjxwYXRoIGQ9Im0xNiA1OCAxNi0xOCAzMiAzMiIvPjxjaXJjbGUgY3g9IjUzIiBjeT0iMzUiIHI9IjciLz48L3N2Zz4KCg==";function aa(n){const[i,l]=L.useState(!1),u=()=>{l(!0)},{src:o,alt:c,style:f,className:h,...p}=n;return i?g.jsx("div",{className:`inline-block bg-gray-100 text-center align-middle ${h??""}`,style:f,children:g.jsx("div",{className:"flex items-center justify-center w-full h-full",children:g.jsx("img",{src:O0,alt:"Error loading image",...p,"data-original-url":o})})}):g.jsx("img",{src:o,alt:c,className:h,style:f,...p,onError:u})}const je=n=>typeof n=="string",ta=()=>{let n,i;const l=new Promise((u,o)=>{n=u,i=o});return l.resolve=n,l.reject=i,l},mf=n=>n==null?"":""+n,M0=(n,i,l)=>{n.forEach(u=>{i[u]&&(l[u]=i[u])})},_0=/###/g,gf=n=>n&&n.indexOf("###")>-1?n.replace(_0,"."):n,yf=n=>!n||je(n),la=(n,i,l)=>{const u=je(i)?i.split("."):i;let o=0;for(;o<u.length-1;){if(yf(n))return{};const c=gf(u[o]);!n[c]&&l&&(n[c]=new l),Object.prototype.hasOwnProperty.call(n,c)?n=n[c]:n={},++o}return yf(n)?{}:{obj:n,k:gf(u[o])}},vf=(n,i,l)=>{const{obj:u,k:o}=la(n,i,Object);if(u!==void 0||i.length===1){u[o]=l;return}let c=i[i.length-1],f=i.slice(0,i.length-1),h=la(n,f,Object);for(;h.obj===void 0&&f.length;)c=`${f[f.length-1]}.${c}`,f=f.slice(0,f.length-1),h=la(n,f,Object),h!=null&&h.obj&&typeof h.obj[`${h.k}.${c}`]<"u"&&(h.obj=void 0);h.obj[`${h.k}.${c}`]=l},T0=(n,i,l,u)=>{const{obj:o,k:c}=la(n,i,Object);o[c]=o[c]||[],o[c].push(l)},zl=(n,i)=>{const{obj:l,k:u}=la(n,i);if(l&&Object.prototype.hasOwnProperty.call(l,u))return l[u]},z0=(n,i,l)=>{const u=zl(n,l);return u!==void 0?u:zl(i,l)},ph=(n,i,l)=>{for(const u in i)u!=="__proto__"&&u!=="constructor"&&(u in n?je(n[u])||n[u]instanceof String||je(i[u])||i[u]instanceof String?l&&(n[u]=i[u]):ph(n[u],i[u],l):n[u]=i[u]);return n},Rn=n=>n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var D0={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const F0=n=>je(n)?n.replace(/[&<>"'\/]/g,i=>D0[i]):n;class I0{constructor(i){this.capacity=i,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(i){const l=this.regExpMap.get(i);if(l!==void 0)return l;const u=new RegExp(i);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(i,u),this.regExpQueue.push(i),u}}const H0=[" ",",","?","!",";"],$0=new I0(20),U0=(n,i,l)=>{i=i||"",l=l||"";const u=H0.filter(f=>i.indexOf(f)<0&&l.indexOf(f)<0);if(u.length===0)return!0;const o=$0.getRegExp(`(${u.map(f=>f==="?"?"\\?":f).join("|")})`);let c=!o.test(n);if(!c){const f=n.indexOf(l);f>0&&!o.test(n.substring(0,f))&&(c=!0)}return c},As=(n,i,l=".")=>{if(!n)return;if(n[i])return Object.prototype.hasOwnProperty.call(n,i)?n[i]:void 0;const u=i.split(l);let o=n;for(let c=0;c<u.length;){if(!o||typeof o!="object")return;let f,h="";for(let p=c;p<u.length;++p)if(p!==c&&(h+=l),h+=u[p],f=o[h],f!==void 0){if(["string","number","boolean"].indexOf(typeof f)>-1&&p<u.length-1)continue;c+=p-c+1;break}o=f}return o},da=n=>n==null?void 0:n.replace("_","-"),A0={type:"logger",log(n){this.output("log",n)},warn(n){this.output("warn",n)},error(n){this.output("error",n)},output(n,i){var l,u;(u=(l=console==null?void 0:console[n])==null?void 0:l.apply)==null||u.call(l,console,i)}};class Dl{constructor(i,l={}){this.init(i,l)}init(i,l={}){this.prefix=l.prefix||"i18next:",this.logger=i||A0,this.options=l,this.debug=l.debug}log(...i){return this.forward(i,"log","",!0)}warn(...i){return this.forward(i,"warn","",!0)}error(...i){return this.forward(i,"error","")}deprecate(...i){return this.forward(i,"warn","WARNING DEPRECATED: ",!0)}forward(i,l,u,o){return o&&!this.debug?null:(je(i[0])&&(i[0]=`${u}${this.prefix} ${i[0]}`),this.logger[l](i))}create(i){return new Dl(this.logger,{prefix:`${this.prefix}:${i}:`,...this.options})}clone(i){return i=i||this.options,i.prefix=i.prefix||this.prefix,new Dl(this.logger,i)}}var cr=new Dl;class Ul{constructor(){this.observers={}}on(i,l){return i.split(" ").forEach(u=>{this.observers[u]||(this.observers[u]=new Map);const o=this.observers[u].get(l)||0;this.observers[u].set(l,o+1)}),this}off(i,l){if(this.observers[i]){if(!l){delete this.observers[i];return}this.observers[i].delete(l)}}emit(i,...l){this.observers[i]&&Array.from(this.observers[i].entries()).forEach(([o,c])=>{for(let f=0;f<c;f++)o(...l)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([o,c])=>{for(let f=0;f<c;f++)o.apply(o,[i,...l])})}}class xf extends Ul{constructor(i,l={ns:["translation"],defaultNS:"translation"}){super(),this.data=i||{},this.options=l,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(i){this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}removeNamespaces(i){const l=this.options.ns.indexOf(i);l>-1&&this.options.ns.splice(l,1)}getResource(i,l,u,o={}){var y,x;const c=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,f=o.ignoreJSONStructure!==void 0?o.ignoreJSONStructure:this.options.ignoreJSONStructure;let h;i.indexOf(".")>-1?h=i.split("."):(h=[i,l],u&&(Array.isArray(u)?h.push(...u):je(u)&&c?h.push(...u.split(c)):h.push(u)));const p=zl(this.data,h);return!p&&!l&&!u&&i.indexOf(".")>-1&&(i=h[0],l=h[1],u=h.slice(2).join(".")),p||!f||!je(u)?p:As((x=(y=this.data)==null?void 0:y[i])==null?void 0:x[l],u,c)}addResource(i,l,u,o,c={silent:!1}){const f=c.keySeparator!==void 0?c.keySeparator:this.options.keySeparator;let h=[i,l];u&&(h=h.concat(f?u.split(f):u)),i.indexOf(".")>-1&&(h=i.split("."),o=l,l=h[1]),this.addNamespaces(l),vf(this.data,h,o),c.silent||this.emit("added",i,l,u,o)}addResources(i,l,u,o={silent:!1}){for(const c in u)(je(u[c])||Array.isArray(u[c]))&&this.addResource(i,l,c,u[c],{silent:!0});o.silent||this.emit("added",i,l,u)}addResourceBundle(i,l,u,o,c,f={silent:!1,skipCopy:!1}){let h=[i,l];i.indexOf(".")>-1&&(h=i.split("."),o=u,u=l,l=h[1]),this.addNamespaces(l);let p=zl(this.data,h)||{};f.skipCopy||(u=JSON.parse(JSON.stringify(u))),o?ph(p,u,c):p={...p,...u},vf(this.data,h,p),f.silent||this.emit("added",i,l,u)}removeResourceBundle(i,l){this.hasResourceBundle(i,l)&&delete this.data[i][l],this.removeNamespaces(l),this.emit("removed",i,l)}hasResourceBundle(i,l){return this.getResource(i,l)!==void 0}getResourceBundle(i,l){return l||(l=this.options.defaultNS),this.getResource(i,l)}getDataByLanguage(i){return this.data[i]}hasLanguageSomeTranslations(i){const l=this.getDataByLanguage(i);return!!(l&&Object.keys(l)||[]).find(o=>l[o]&&Object.keys(l[o]).length>0)}toJSON(){return this.data}}var mh={processors:{},addPostProcessor(n){this.processors[n.name]=n},handle(n,i,l,u,o){return n.forEach(c=>{var f;i=((f=this.processors[c])==null?void 0:f.process(i,l,u,o))??i}),i}};const gh=Symbol("i18next/PATH_KEY");function V0(){const n=[],i=Object.create(null);let l;return i.get=(u,o)=>{var c;return(c=l==null?void 0:l.revoke)==null||c.call(l),o===gh?n:(n.push(o),l=Proxy.revocable(u,i),l.proxy)},Proxy.revocable(Object.create(null),i).proxy}function Vs(n,i){const{[gh]:l}=n(V0());return l.join((i==null?void 0:i.keySeparator)??".")}const wf={},_s=n=>!je(n)&&typeof n!="boolean"&&typeof n!="number";class Fl extends Ul{constructor(i,l={}){super(),M0(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],i,this),this.options=l,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=cr.create("translator")}changeLanguage(i){i&&(this.language=i)}exists(i,l={interpolation:{}}){const u={...l};if(i==null)return!1;const o=this.resolve(i,u);if((o==null?void 0:o.res)===void 0)return!1;const c=_s(o.res);return!(u.returnObjects===!1&&c)}extractFromKey(i,l){let u=l.nsSeparator!==void 0?l.nsSeparator:this.options.nsSeparator;u===void 0&&(u=":");const o=l.keySeparator!==void 0?l.keySeparator:this.options.keySeparator;let c=l.ns||this.options.defaultNS||[];const f=u&&i.indexOf(u)>-1,h=!this.options.userDefinedKeySeparator&&!l.keySeparator&&!this.options.userDefinedNsSeparator&&!l.nsSeparator&&!U0(i,u,o);if(f&&!h){const p=i.match(this.interpolator.nestingRegexp);if(p&&p.length>0)return{key:i,namespaces:je(c)?[c]:c};const y=i.split(u);(u!==o||u===o&&this.options.ns.indexOf(y[0])>-1)&&(c=y.shift()),i=y.join(o)}return{key:i,namespaces:je(c)?[c]:c}}translate(i,l,u){let o=typeof l=="object"?{...l}:l;if(typeof o!="object"&&this.options.overloadTranslationOptionHandler&&(o=this.options.overloadTranslationOptionHandler(arguments)),typeof o=="object"&&(o={...o}),o||(o={}),i==null)return"";typeof i=="function"&&(i=Vs(i,{...this.options,...o})),Array.isArray(i)||(i=[String(i)]);const c=o.returnDetails!==void 0?o.returnDetails:this.options.returnDetails,f=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,{key:h,namespaces:p}=this.extractFromKey(i[i.length-1],o),y=p[p.length-1];let x=o.nsSeparator!==void 0?o.nsSeparator:this.options.nsSeparator;x===void 0&&(x=":");const v=o.lng||this.language,S=o.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((v==null?void 0:v.toLowerCase())==="cimode")return S?c?{res:`${y}${x}${h}`,usedKey:h,exactUsedKey:h,usedLng:v,usedNS:y,usedParams:this.getUsedParamsDetails(o)}:`${y}${x}${h}`:c?{res:h,usedKey:h,exactUsedKey:h,usedLng:v,usedNS:y,usedParams:this.getUsedParamsDetails(o)}:h;const N=this.resolve(i,o);let b=N==null?void 0:N.res;const z=(N==null?void 0:N.usedKey)||h,F=(N==null?void 0:N.exactUsedKey)||h,Y=["[object Number]","[object Function]","[object RegExp]"],H=o.joinArrays!==void 0?o.joinArrays:this.options.joinArrays,G=!this.i18nFormat||this.i18nFormat.handleAsObject,ne=o.count!==void 0&&!je(o.count),ue=Fl.hasDefaultValue(o),Se=ne?this.pluralResolver.getSuffix(v,o.count,o):"",O=o.ordinal&&ne?this.pluralResolver.getSuffix(v,o.count,{ordinal:!1}):"",Z=ne&&!o.ordinal&&o.count===0,ee=Z&&o[`defaultValue${this.options.pluralSeparator}zero`]||o[`defaultValue${Se}`]||o[`defaultValue${O}`]||o.defaultValue;let ce=b;G&&!b&&ue&&(ce=ee);const Le=_s(ce),pe=Object.prototype.toString.apply(ce);if(G&&ce&&Le&&Y.indexOf(pe)<0&&!(je(H)&&Array.isArray(ce))){if(!o.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const fe=this.options.returnedObjectHandler?this.options.returnedObjectHandler(z,ce,{...o,ns:p}):`key '${h} (${this.language})' returned an object instead of string.`;return c?(N.res=fe,N.usedParams=this.getUsedParamsDetails(o),N):fe}if(f){const fe=Array.isArray(ce),ie=fe?[]:{},Ee=fe?F:z;for(const he in ce)if(Object.prototype.hasOwnProperty.call(ce,he)){const ge=`${Ee}${f}${he}`;ue&&!b?ie[he]=this.translate(ge,{...o,defaultValue:_s(ee)?ee[he]:void 0,joinArrays:!1,ns:p}):ie[he]=this.translate(ge,{...o,joinArrays:!1,ns:p}),ie[he]===ge&&(ie[he]=ce[he])}b=ie}}else if(G&&je(H)&&Array.isArray(b))b=b.join(H),b&&(b=this.extendTranslation(b,i,o,u));else{let fe=!1,ie=!1;!this.isValidLookup(b)&&ue&&(fe=!0,b=ee),this.isValidLookup(b)||(ie=!0,b=h);const he=(o.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&ie?void 0:b,ge=ue&&ee!==b&&this.options.updateMissing;if(ie||fe||ge){if(this.logger.log(ge?"updateKey":"missingKey",v,y,h,ge?ee:b),f){const E=this.resolve(h,{...o,keySeparator:!1});E&&E.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let I=[];const Q=this.languageUtils.getFallbackCodes(this.options.fallbackLng,o.lng||this.language);if(this.options.saveMissingTo==="fallback"&&Q&&Q[0])for(let E=0;E<Q.length;E++)I.push(Q[E]);else this.options.saveMissingTo==="all"?I=this.languageUtils.toResolveHierarchy(o.lng||this.language):I.push(o.lng||this.language);const W=(E,D,me)=>{var ve;const xe=ue&&me!==b?me:he;this.options.missingKeyHandler?this.options.missingKeyHandler(E,y,D,xe,ge,o):(ve=this.backendConnector)!=null&&ve.saveMissing&&this.backendConnector.saveMissing(E,y,D,xe,ge,o),this.emit("missingKey",E,y,D,b)};this.options.saveMissing&&(this.options.saveMissingPlurals&&ne?I.forEach(E=>{const D=this.pluralResolver.getSuffixes(E,o);Z&&o[`defaultValue${this.options.pluralSeparator}zero`]&&D.indexOf(`${this.options.pluralSeparator}zero`)<0&&D.push(`${this.options.pluralSeparator}zero`),D.forEach(me=>{W([E],h+me,o[`defaultValue${me}`]||ee)})}):W(I,h,ee))}b=this.extendTranslation(b,i,o,N,u),ie&&b===h&&this.options.appendNamespaceToMissingKey&&(b=`${y}${x}${h}`),(ie||fe)&&this.options.parseMissingKeyHandler&&(b=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${y}${x}${h}`:h,fe?b:void 0,o))}return c?(N.res=b,N.usedParams=this.getUsedParamsDetails(o),N):b}extendTranslation(i,l,u,o,c){var p,y;if((p=this.i18nFormat)!=null&&p.parse)i=this.i18nFormat.parse(i,{...this.options.interpolation.defaultVariables,...u},u.lng||this.language||o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!u.skipInterpolation){u.interpolation&&this.interpolator.init({...u,interpolation:{...this.options.interpolation,...u.interpolation}});const x=je(i)&&(((y=u==null?void 0:u.interpolation)==null?void 0:y.skipOnVariables)!==void 0?u.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let v;if(x){const N=i.match(this.interpolator.nestingRegexp);v=N&&N.length}let S=u.replace&&!je(u.replace)?u.replace:u;if(this.options.interpolation.defaultVariables&&(S={...this.options.interpolation.defaultVariables,...S}),i=this.interpolator.interpolate(i,S,u.lng||this.language||o.usedLng,u),x){const N=i.match(this.interpolator.nestingRegexp),b=N&&N.length;v<b&&(u.nest=!1)}!u.lng&&o&&o.res&&(u.lng=this.language||o.usedLng),u.nest!==!1&&(i=this.interpolator.nest(i,(...N)=>(c==null?void 0:c[0])===N[0]&&!u.context?(this.logger.warn(`It seems you are nesting recursively key: ${N[0]} in key: ${l[0]}`),null):this.translate(...N,l),u)),u.interpolation&&this.interpolator.reset()}const f=u.postProcess||this.options.postProcess,h=je(f)?[f]:f;return i!=null&&(h!=null&&h.length)&&u.applyPostProcessor!==!1&&(i=mh.handle(h,i,l,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...o,usedParams:this.getUsedParamsDetails(u)},...u}:u,this)),i}resolve(i,l={}){let u,o,c,f,h;return je(i)&&(i=[i]),i.forEach(p=>{if(this.isValidLookup(u))return;const y=this.extractFromKey(p,l),x=y.key;o=x;let v=y.namespaces;this.options.fallbackNS&&(v=v.concat(this.options.fallbackNS));const S=l.count!==void 0&&!je(l.count),N=S&&!l.ordinal&&l.count===0,b=l.context!==void 0&&(je(l.context)||typeof l.context=="number")&&l.context!=="",z=l.lngs?l.lngs:this.languageUtils.toResolveHierarchy(l.lng||this.language,l.fallbackLng);v.forEach(F=>{var Y,H;this.isValidLookup(u)||(h=F,!wf[`${z[0]}-${F}`]&&((Y=this.utils)!=null&&Y.hasLoadedNamespace)&&!((H=this.utils)!=null&&H.hasLoadedNamespace(h))&&(wf[`${z[0]}-${F}`]=!0,this.logger.warn(`key "${o}" for languages "${z.join(", ")}" won't get resolved as namespace "${h}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),z.forEach(G=>{var Se;if(this.isValidLookup(u))return;f=G;const ne=[x];if((Se=this.i18nFormat)!=null&&Se.addLookupKeys)this.i18nFormat.addLookupKeys(ne,x,G,F,l);else{let O;S&&(O=this.pluralResolver.getSuffix(G,l.count,l));const Z=`${this.options.pluralSeparator}zero`,ee=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(S&&(l.ordinal&&O.indexOf(ee)===0&&ne.push(x+O.replace(ee,this.options.pluralSeparator)),ne.push(x+O),N&&ne.push(x+Z)),b){const ce=`${x}${this.options.contextSeparator||"_"}${l.context}`;ne.push(ce),S&&(l.ordinal&&O.indexOf(ee)===0&&ne.push(ce+O.replace(ee,this.options.pluralSeparator)),ne.push(ce+O),N&&ne.push(ce+Z))}}let ue;for(;ue=ne.pop();)this.isValidLookup(u)||(c=ue,u=this.getResource(G,F,ue,l))}))})}),{res:u,usedKey:o,exactUsedKey:c,usedLng:f,usedNS:h}}isValidLookup(i){return i!==void 0&&!(!this.options.returnNull&&i===null)&&!(!this.options.returnEmptyString&&i==="")}getResource(i,l,u,o={}){var c;return(c=this.i18nFormat)!=null&&c.getResource?this.i18nFormat.getResource(i,l,u,o):this.resourceStore.getResource(i,l,u,o)}getUsedParamsDetails(i={}){const l=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],u=i.replace&&!je(i.replace);let o=u?i.replace:i;if(u&&typeof i.count<"u"&&(o.count=i.count),this.options.interpolation.defaultVariables&&(o={...this.options.interpolation.defaultVariables,...o}),!u){o={...o};for(const c of l)delete o[c]}return o}static hasDefaultValue(i){const l="defaultValue";for(const u in i)if(Object.prototype.hasOwnProperty.call(i,u)&&l===u.substring(0,l.length)&&i[u]!==void 0)return!0;return!1}}class kf{constructor(i){this.options=i,this.supportedLngs=this.options.supportedLngs||!1,this.logger=cr.create("languageUtils")}getScriptPartFromCode(i){if(i=da(i),!i||i.indexOf("-")<0)return null;const l=i.split("-");return l.length===2||(l.pop(),l[l.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(l.join("-"))}getLanguagePartFromCode(i){if(i=da(i),!i||i.indexOf("-")<0)return i;const l=i.split("-");return this.formatLanguageCode(l[0])}formatLanguageCode(i){if(je(i)&&i.indexOf("-")>-1){let l;try{l=Intl.getCanonicalLocales(i)[0]}catch{}return l&&this.options.lowerCaseLng&&(l=l.toLowerCase()),l||(this.options.lowerCaseLng?i.toLowerCase():i)}return this.options.cleanCode||this.options.lowerCaseLng?i.toLowerCase():i}isSupportedCode(i){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(i=this.getLanguagePartFromCode(i)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(i)>-1}getBestMatchFromCodes(i){if(!i)return null;let l;return i.forEach(u=>{if(l)return;const o=this.formatLanguageCode(u);(!this.options.supportedLngs||this.isSupportedCode(o))&&(l=o)}),!l&&this.options.supportedLngs&&i.forEach(u=>{if(l)return;const o=this.getScriptPartFromCode(u);if(this.isSupportedCode(o))return l=o;const c=this.getLanguagePartFromCode(u);if(this.isSupportedCode(c))return l=c;l=this.options.supportedLngs.find(f=>{if(f===c)return f;if(!(f.indexOf("-")<0&&c.indexOf("-")<0)&&(f.indexOf("-")>0&&c.indexOf("-")<0&&f.substring(0,f.indexOf("-"))===c||f.indexOf(c)===0&&c.length>1))return f})}),l||(l=this.getFallbackCodes(this.options.fallbackLng)[0]),l}getFallbackCodes(i,l){if(!i)return[];if(typeof i=="function"&&(i=i(l)),je(i)&&(i=[i]),Array.isArray(i))return i;if(!l)return i.default||[];let u=i[l];return u||(u=i[this.getScriptPartFromCode(l)]),u||(u=i[this.formatLanguageCode(l)]),u||(u=i[this.getLanguagePartFromCode(l)]),u||(u=i.default),u||[]}toResolveHierarchy(i,l){const u=this.getFallbackCodes((l===!1?[]:l)||this.options.fallbackLng||[],i),o=[],c=f=>{f&&(this.isSupportedCode(f)?o.push(f):this.logger.warn(`rejecting language code not found in supportedLngs: ${f}`))};return je(i)&&(i.indexOf("-")>-1||i.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&c(this.formatLanguageCode(i)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&c(this.getScriptPartFromCode(i)),this.options.load!=="currentOnly"&&c(this.getLanguagePartFromCode(i))):je(i)&&c(this.formatLanguageCode(i)),u.forEach(f=>{o.indexOf(f)<0&&c(this.formatLanguageCode(f))}),o}}const Sf={zero:0,one:1,two:2,few:3,many:4,other:5},Nf={select:n=>n===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class B0{constructor(i,l={}){this.languageUtils=i,this.options=l,this.logger=cr.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(i,l={}){const u=da(i==="dev"?"en":i),o=l.ordinal?"ordinal":"cardinal",c=JSON.stringify({cleanedCode:u,type:o});if(c in this.pluralRulesCache)return this.pluralRulesCache[c];let f;try{f=new Intl.PluralRules(u,{type:o})}catch{if(typeof Intl>"u")return this.logger.error("No Intl support, please use an Intl polyfill!"),Nf;if(!i.match(/-|_/))return Nf;const p=this.languageUtils.getLanguagePartFromCode(i);f=this.getRule(p,l)}return this.pluralRulesCache[c]=f,f}needsPlural(i,l={}){let u=this.getRule(i,l);return u||(u=this.getRule("dev",l)),(u==null?void 0:u.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(i,l,u={}){return this.getSuffixes(i,u).map(o=>`${l}${o}`)}getSuffixes(i,l={}){let u=this.getRule(i,l);return u||(u=this.getRule("dev",l)),u?u.resolvedOptions().pluralCategories.sort((o,c)=>Sf[o]-Sf[c]).map(o=>`${this.options.prepend}${l.ordinal?`ordinal${this.options.prepend}`:""}${o}`):[]}getSuffix(i,l,u={}){const o=this.getRule(i,u);return o?`${this.options.prepend}${u.ordinal?`ordinal${this.options.prepend}`:""}${o.select(l)}`:(this.logger.warn(`no plural rule found for: ${i}`),this.getSuffix("dev",l,u))}}const jf=(n,i,l,u=".",o=!0)=>{let c=z0(n,i,l);return!c&&o&&je(l)&&(c=As(n,l,u),c===void 0&&(c=As(i,l,u))),c},Ts=n=>n.replace(/\$/g,"$$$$");class Ef{constructor(i={}){var l;this.logger=cr.create("interpolator"),this.options=i,this.format=((l=i==null?void 0:i.interpolation)==null?void 0:l.format)||(u=>u),this.init(i)}init(i={}){i.interpolation||(i.interpolation={escapeValue:!0});const{escape:l,escapeValue:u,useRawValueToEscape:o,prefix:c,prefixEscaped:f,suffix:h,suffixEscaped:p,formatSeparator:y,unescapeSuffix:x,unescapePrefix:v,nestingPrefix:S,nestingPrefixEscaped:N,nestingSuffix:b,nestingSuffixEscaped:z,nestingOptionsSeparator:F,maxReplaces:Y,alwaysFormat:H}=i.interpolation;this.escape=l!==void 0?l:F0,this.escapeValue=u!==void 0?u:!0,this.useRawValueToEscape=o!==void 0?o:!1,this.prefix=c?Rn(c):f||"{{",this.suffix=h?Rn(h):p||"}}",this.formatSeparator=y||",",this.unescapePrefix=x?"":v||"-",this.unescapeSuffix=this.unescapePrefix?"":x||"",this.nestingPrefix=S?Rn(S):N||Rn("$t("),this.nestingSuffix=b?Rn(b):z||Rn(")"),this.nestingOptionsSeparator=F||",",this.maxReplaces=Y||1e3,this.alwaysFormat=H!==void 0?H:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const i=(l,u)=>(l==null?void 0:l.source)===u?(l.lastIndex=0,l):new RegExp(u,"g");this.regexp=i(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=i(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=i(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(i,l,u,o){var N;let c,f,h;const p=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},y=b=>{if(b.indexOf(this.formatSeparator)<0){const H=jf(l,p,b,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(H,void 0,u,{...o,...l,interpolationkey:b}):H}const z=b.split(this.formatSeparator),F=z.shift().trim(),Y=z.join(this.formatSeparator).trim();return this.format(jf(l,p,F,this.options.keySeparator,this.options.ignoreJSONStructure),Y,u,{...o,...l,interpolationkey:F})};this.resetRegExp();const x=(o==null?void 0:o.missingInterpolationHandler)||this.options.missingInterpolationHandler,v=((N=o==null?void 0:o.interpolation)==null?void 0:N.skipOnVariables)!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:b=>Ts(b)},{regex:this.regexp,safeValue:b=>this.escapeValue?Ts(this.escape(b)):Ts(b)}].forEach(b=>{for(h=0;c=b.regex.exec(i);){const z=c[1].trim();if(f=y(z),f===void 0)if(typeof x=="function"){const Y=x(i,c,o);f=je(Y)?Y:""}else if(o&&Object.prototype.hasOwnProperty.call(o,z))f="";else if(v){f=c[0];continue}else this.logger.warn(`missed to pass in variable ${z} for interpolating ${i}`),f="";else!je(f)&&!this.useRawValueToEscape&&(f=mf(f));const F=b.safeValue(f);if(i=i.replace(c[0],F),v?(b.regex.lastIndex+=f.length,b.regex.lastIndex-=c[0].length):b.regex.lastIndex=0,h++,h>=this.maxReplaces)break}}),i}nest(i,l,u={}){let o,c,f;const h=(p,y)=>{const x=this.nestingOptionsSeparator;if(p.indexOf(x)<0)return p;const v=p.split(new RegExp(`${Rn(x)}[ ]*{`));let S=`{${v[1]}`;p=v[0],S=this.interpolate(S,f);const N=S.match(/'/g),b=S.match(/"/g);(((N==null?void 0:N.length)??0)%2===0&&!b||((b==null?void 0:b.length)??0)%2!==0)&&(S=S.replace(/'/g,'"'));try{f=JSON.parse(S),y&&(f={...y,...f})}catch(z){return this.logger.warn(`failed parsing options string in nesting for key ${p}`,z),`${p}${x}${S}`}return f.defaultValue&&f.defaultValue.indexOf(this.prefix)>-1&&delete f.defaultValue,p};for(;o=this.nestingRegexp.exec(i);){let p=[];f={...u},f=f.replace&&!je(f.replace)?f.replace:f,f.applyPostProcessor=!1,delete f.defaultValue;const y=/{.*}/.test(o[1])?o[1].lastIndexOf("}")+1:o[1].indexOf(this.formatSeparator);if(y!==-1&&(p=o[1].slice(y).split(this.formatSeparator).map(x=>x.trim()).filter(Boolean),o[1]=o[1].slice(0,y)),c=l(h.call(this,o[1].trim(),f),f),c&&o[0]===i&&!je(c))return c;je(c)||(c=mf(c)),c||(this.logger.warn(`missed to resolve ${o[1]} for nesting ${i}`),c=""),p.length&&(c=p.reduce((x,v)=>this.format(x,v,u.lng,{...u,interpolationkey:o[1].trim()}),c.trim())),i=i.replace(o[0],c),this.regexp.lastIndex=0}return i}}const W0=n=>{let i=n.toLowerCase().trim();const l={};if(n.indexOf("(")>-1){const u=n.split("(");i=u[0].toLowerCase().trim();const o=u[1].substring(0,u[1].length-1);i==="currency"&&o.indexOf(":")<0?l.currency||(l.currency=o.trim()):i==="relativetime"&&o.indexOf(":")<0?l.range||(l.range=o.trim()):o.split(";").forEach(f=>{if(f){const[h,...p]=f.split(":"),y=p.join(":").trim().replace(/^'+|'+$/g,""),x=h.trim();l[x]||(l[x]=y),y==="false"&&(l[x]=!1),y==="true"&&(l[x]=!0),isNaN(y)||(l[x]=parseInt(y,10))}})}return{formatName:i,formatOptions:l}},Cf=n=>{const i={};return(l,u,o)=>{let c=o;o&&o.interpolationkey&&o.formatParams&&o.formatParams[o.interpolationkey]&&o[o.interpolationkey]&&(c={...c,[o.interpolationkey]:void 0});const f=u+JSON.stringify(c);let h=i[f];return h||(h=n(da(u),o),i[f]=h),h(l)}},K0=n=>(i,l,u)=>n(da(l),u)(i);class Y0{constructor(i={}){this.logger=cr.create("formatter"),this.options=i,this.init(i)}init(i,l={interpolation:{}}){this.formatSeparator=l.interpolation.formatSeparator||",";const u=l.cacheInBuiltFormats?Cf:K0;this.formats={number:u((o,c)=>{const f=new Intl.NumberFormat(o,{...c});return h=>f.format(h)}),currency:u((o,c)=>{const f=new Intl.NumberFormat(o,{...c,style:"currency"});return h=>f.format(h)}),datetime:u((o,c)=>{const f=new Intl.DateTimeFormat(o,{...c});return h=>f.format(h)}),relativetime:u((o,c)=>{const f=new Intl.RelativeTimeFormat(o,{...c});return h=>f.format(h,c.range||"day")}),list:u((o,c)=>{const f=new Intl.ListFormat(o,{...c});return h=>f.format(h)})}}add(i,l){this.formats[i.toLowerCase().trim()]=l}addCached(i,l){this.formats[i.toLowerCase().trim()]=Cf(l)}format(i,l,u,o={}){const c=l.split(this.formatSeparator);if(c.length>1&&c[0].indexOf("(")>1&&c[0].indexOf(")")<0&&c.find(h=>h.indexOf(")")>-1)){const h=c.findIndex(p=>p.indexOf(")")>-1);c[0]=[c[0],...c.splice(1,h)].join(this.formatSeparator)}return c.reduce((h,p)=>{var v;const{formatName:y,formatOptions:x}=W0(p);if(this.formats[y]){let S=h;try{const N=((v=o==null?void 0:o.formatParams)==null?void 0:v[o.interpolationkey])||{},b=N.locale||N.lng||o.locale||o.lng||u;S=this.formats[y](h,b,{...x,...o,...N})}catch(N){this.logger.warn(N)}return S}else this.logger.warn(`there was no format function for ${y}`);return h},i)}}const G0=(n,i)=>{n.pending[i]!==void 0&&(delete n.pending[i],n.pendingCount--)};class Q0 extends Ul{constructor(i,l,u,o={}){var c,f;super(),this.backend=i,this.store=l,this.services=u,this.languageUtils=u.languageUtils,this.options=o,this.logger=cr.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=o.maxParallelReads||10,this.readingCalls=0,this.maxRetries=o.maxRetries>=0?o.maxRetries:5,this.retryTimeout=o.retryTimeout>=1?o.retryTimeout:350,this.state={},this.queue=[],(f=(c=this.backend)==null?void 0:c.init)==null||f.call(c,u,o.backend,o)}queueLoad(i,l,u,o){const c={},f={},h={},p={};return i.forEach(y=>{let x=!0;l.forEach(v=>{const S=`${y}|${v}`;!u.reload&&this.store.hasResourceBundle(y,v)?this.state[S]=2:this.state[S]<0||(this.state[S]===1?f[S]===void 0&&(f[S]=!0):(this.state[S]=1,x=!1,f[S]===void 0&&(f[S]=!0),c[S]===void 0&&(c[S]=!0),p[v]===void 0&&(p[v]=!0)))}),x||(h[y]=!0)}),(Object.keys(c).length||Object.keys(f).length)&&this.queue.push({pending:f,pendingCount:Object.keys(f).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(c),pending:Object.keys(f),toLoadLanguages:Object.keys(h),toLoadNamespaces:Object.keys(p)}}loaded(i,l,u){const o=i.split("|"),c=o[0],f=o[1];l&&this.emit("failedLoading",c,f,l),!l&&u&&this.store.addResourceBundle(c,f,u,void 0,void 0,{skipCopy:!0}),this.state[i]=l?-1:2,l&&u&&(this.state[i]=0);const h={};this.queue.forEach(p=>{T0(p.loaded,[c],f),G0(p,i),l&&p.errors.push(l),p.pendingCount===0&&!p.done&&(Object.keys(p.loaded).forEach(y=>{h[y]||(h[y]={});const x=p.loaded[y];x.length&&x.forEach(v=>{h[y][v]===void 0&&(h[y][v]=!0)})}),p.done=!0,p.errors.length?p.callback(p.errors):p.callback())}),this.emit("loaded",h),this.queue=this.queue.filter(p=>!p.done)}read(i,l,u,o=0,c=this.retryTimeout,f){if(!i.length)return f(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:i,ns:l,fcName:u,tried:o,wait:c,callback:f});return}this.readingCalls++;const h=(y,x)=>{if(this.readingCalls--,this.waitingReads.length>0){const v=this.waitingReads.shift();this.read(v.lng,v.ns,v.fcName,v.tried,v.wait,v.callback)}if(y&&x&&o<this.maxRetries){setTimeout(()=>{this.read.call(this,i,l,u,o+1,c*2,f)},c);return}f(y,x)},p=this.backend[u].bind(this.backend);if(p.length===2){try{const y=p(i,l);y&&typeof y.then=="function"?y.then(x=>h(null,x)).catch(h):h(null,y)}catch(y){h(y)}return}return p(i,l,h)}prepareLoading(i,l,u={},o){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();je(i)&&(i=this.languageUtils.toResolveHierarchy(i)),je(l)&&(l=[l]);const c=this.queueLoad(i,l,u,o);if(!c.toLoad.length)return c.pending.length||o(),null;c.toLoad.forEach(f=>{this.loadOne(f)})}load(i,l,u){this.prepareLoading(i,l,{},u)}reload(i,l,u){this.prepareLoading(i,l,{reload:!0},u)}loadOne(i,l=""){const u=i.split("|"),o=u[0],c=u[1];this.read(o,c,"read",void 0,void 0,(f,h)=>{f&&this.logger.warn(`${l}loading namespace ${c} for language ${o} failed`,f),!f&&h&&this.logger.log(`${l}loaded namespace ${c} for language ${o}`,h),this.loaded(i,f,h)})}saveMissing(i,l,u,o,c,f={},h=()=>{}){var p,y,x,v,S;if((y=(p=this.services)==null?void 0:p.utils)!=null&&y.hasLoadedNamespace&&!((v=(x=this.services)==null?void 0:x.utils)!=null&&v.hasLoadedNamespace(l))){this.logger.warn(`did not save key "${u}" as the namespace "${l}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(u==null||u==="")){if((S=this.backend)!=null&&S.create){const N={...f,isUpdate:c},b=this.backend.create.bind(this.backend);if(b.length<6)try{let z;b.length===5?z=b(i,l,u,o,N):z=b(i,l,u,o),z&&typeof z.then=="function"?z.then(F=>h(null,F)).catch(h):h(null,z)}catch(z){h(z)}else b(i,l,u,o,h,N)}!i||!i[0]||this.store.addResource(i[0],l,u,o)}}}const zs=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:n=>{let i={};if(typeof n[1]=="object"&&(i=n[1]),je(n[1])&&(i.defaultValue=n[1]),je(n[2])&&(i.tDescription=n[2]),typeof n[2]=="object"||typeof n[3]=="object"){const l=n[3]||n[2];Object.keys(l).forEach(u=>{i[u]=l[u]})}return i},interpolation:{escapeValue:!0,format:n=>n,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),Rf=n=>{var i,l;return je(n.ns)&&(n.ns=[n.ns]),je(n.fallbackLng)&&(n.fallbackLng=[n.fallbackLng]),je(n.fallbackNS)&&(n.fallbackNS=[n.fallbackNS]),((l=(i=n.supportedLngs)==null?void 0:i.indexOf)==null?void 0:l.call(i,"cimode"))<0&&(n.supportedLngs=n.supportedLngs.concat(["cimode"])),typeof n.initImmediate=="boolean"&&(n.initAsync=n.initImmediate),n},Ll=()=>{},J0=n=>{Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach(l=>{typeof n[l]=="function"&&(n[l]=n[l].bind(n))})},yh="__i18next_supportNoticeShown",X0=()=>typeof globalThis<"u"&&!!globalThis[yh],q0=()=>{typeof globalThis<"u"&&(globalThis[yh]=!0)},Z0=n=>{var i,l,u,o,c,f,h,p,y,x,v,S,N;return!!(((u=(l=(i=n==null?void 0:n.modules)==null?void 0:i.backend)==null?void 0:l.name)==null?void 0:u.indexOf("Locize"))>0||((h=(f=(c=(o=n==null?void 0:n.modules)==null?void 0:o.backend)==null?void 0:c.constructor)==null?void 0:f.name)==null?void 0:h.indexOf("Locize"))>0||(y=(p=n==null?void 0:n.options)==null?void 0:p.backend)!=null&&y.backends&&n.options.backend.backends.some(b=>{var z,F,Y;return((z=b==null?void 0:b.name)==null?void 0:z.indexOf("Locize"))>0||((Y=(F=b==null?void 0:b.constructor)==null?void 0:F.name)==null?void 0:Y.indexOf("Locize"))>0})||(v=(x=n==null?void 0:n.options)==null?void 0:x.backend)!=null&&v.projectId||(N=(S=n==null?void 0:n.options)==null?void 0:S.backend)!=null&&N.backendOptions&&n.options.backend.backendOptions.some(b=>b==null?void 0:b.projectId))};class oa extends Ul{constructor(i={},l){if(super(),this.options=Rf(i),this.services={},this.logger=cr,this.modules={external:[]},J0(this),l&&!this.isInitialized&&!i.isClone){if(!this.options.initAsync)return this.init(i,l),this;setTimeout(()=>{this.init(i,l)},0)}}init(i={},l){this.isInitializing=!0,typeof i=="function"&&(l=i,i={}),i.defaultNS==null&&i.ns&&(je(i.ns)?i.defaultNS=i.ns:i.ns.indexOf("translation")<0&&(i.defaultNS=i.ns[0]));const u=zs();this.options={...u,...this.options,...Rf(i)},this.options.interpolation={...u.interpolation,...this.options.interpolation},i.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=i.keySeparator),i.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=i.nsSeparator),typeof this.options.overloadTranslationOptionHandler!="function"&&(this.options.overloadTranslationOptionHandler=u.overloadTranslationOptionHandler),this.options.showSupportNotice!==!1&&!Z0(this)&&!X0()&&(typeof console<"u"&&typeof console.info<"u"&&console.info("🌐 i18next is maintained with support from Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙"),q0());const o=y=>y?typeof y=="function"?new y:y:null;if(!this.options.isClone){this.modules.logger?cr.init(o(this.modules.logger),this.options):cr.init(null,this.options);let y;this.modules.formatter?y=this.modules.formatter:y=Y0;const x=new kf(this.options);this.store=new xf(this.options.resources,this.options);const v=this.services;v.logger=cr,v.resourceStore=this.store,v.languageUtils=x,v.pluralResolver=new B0(x,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==u.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),y&&(!this.options.interpolation.format||this.options.interpolation.format===u.interpolation.format)&&(v.formatter=o(y),v.formatter.init&&v.formatter.init(v,this.options),this.options.interpolation.format=v.formatter.format.bind(v.formatter)),v.interpolator=new Ef(this.options),v.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},v.backendConnector=new Q0(o(this.modules.backend),v.resourceStore,v,this.options),v.backendConnector.on("*",(N,...b)=>{this.emit(N,...b)}),this.modules.languageDetector&&(v.languageDetector=o(this.modules.languageDetector),v.languageDetector.init&&v.languageDetector.init(v,this.options.detection,this.options)),this.modules.i18nFormat&&(v.i18nFormat=o(this.modules.i18nFormat),v.i18nFormat.init&&v.i18nFormat.init(this)),this.translator=new Fl(this.services,this.options),this.translator.on("*",(N,...b)=>{this.emit(N,...b)}),this.modules.external.forEach(N=>{N.init&&N.init(this)})}if(this.format=this.options.interpolation.format,l||(l=Ll),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const y=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);y.length>0&&y[0]!=="dev"&&(this.options.lng=y[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(y=>{this[y]=(...x)=>this.store[y](...x)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(y=>{this[y]=(...x)=>(this.store[y](...x),this)});const h=ta(),p=()=>{const y=(x,v)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),h.resolve(v),l(x,v)};if(this.languages&&!this.isInitialized)return y(null,this.t.bind(this));this.changeLanguage(this.options.lng,y)};return this.options.resources||!this.options.initAsync?p():setTimeout(p,0),h}loadResources(i,l=Ll){var c,f;let u=l;const o=je(i)?i:this.language;if(typeof i=="function"&&(u=i),!this.options.resources||this.options.partialBundledLanguages){if((o==null?void 0:o.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return u();const h=[],p=y=>{if(!y||y==="cimode")return;this.services.languageUtils.toResolveHierarchy(y).forEach(v=>{v!=="cimode"&&h.indexOf(v)<0&&h.push(v)})};o?p(o):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(x=>p(x)),(f=(c=this.options.preload)==null?void 0:c.forEach)==null||f.call(c,y=>p(y)),this.services.backendConnector.load(h,this.options.ns,y=>{!y&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),u(y)})}else u(null)}reloadResources(i,l,u){const o=ta();return typeof i=="function"&&(u=i,i=void 0),typeof l=="function"&&(u=l,l=void 0),i||(i=this.languages),l||(l=this.options.ns),u||(u=Ll),this.services.backendConnector.reload(i,l,c=>{o.resolve(),u(c)}),o}use(i){if(!i)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!i.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return i.type==="backend"&&(this.modules.backend=i),(i.type==="logger"||i.log&&i.warn&&i.error)&&(this.modules.logger=i),i.type==="languageDetector"&&(this.modules.languageDetector=i),i.type==="i18nFormat"&&(this.modules.i18nFormat=i),i.type==="postProcessor"&&mh.addPostProcessor(i),i.type==="formatter"&&(this.modules.formatter=i),i.type==="3rdParty"&&this.modules.external.push(i),this}setResolvedLanguage(i){if(!(!i||!this.languages)&&!(["cimode","dev"].indexOf(i)>-1)){for(let l=0;l<this.languages.length;l++){const u=this.languages[l];if(!(["cimode","dev"].indexOf(u)>-1)&&this.store.hasLanguageSomeTranslations(u)){this.resolvedLanguage=u;break}}!this.resolvedLanguage&&this.languages.indexOf(i)<0&&this.store.hasLanguageSomeTranslations(i)&&(this.resolvedLanguage=i,this.languages.unshift(i))}}changeLanguage(i,l){this.isLanguageChangingTo=i;const u=ta();this.emit("languageChanging",i);const o=h=>{this.language=h,this.languages=this.services.languageUtils.toResolveHierarchy(h),this.resolvedLanguage=void 0,this.setResolvedLanguage(h)},c=(h,p)=>{p?this.isLanguageChangingTo===i&&(o(p),this.translator.changeLanguage(p),this.isLanguageChangingTo=void 0,this.emit("languageChanged",p),this.logger.log("languageChanged",p)):this.isLanguageChangingTo=void 0,u.resolve((...y)=>this.t(...y)),l&&l(h,(...y)=>this.t(...y))},f=h=>{var x,v;!i&&!h&&this.services.languageDetector&&(h=[]);const p=je(h)?h:h&&h[0],y=this.store.hasLanguageSomeTranslations(p)?p:this.services.languageUtils.getBestMatchFromCodes(je(h)?[h]:h);y&&(this.language||o(y),this.translator.language||this.translator.changeLanguage(y),(v=(x=this.services.languageDetector)==null?void 0:x.cacheUserLanguage)==null||v.call(x,y)),this.loadResources(y,S=>{c(S,y)})};return!i&&this.services.languageDetector&&!this.services.languageDetector.async?f(this.services.languageDetector.detect()):!i&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(f):this.services.languageDetector.detect(f):f(i),u}getFixedT(i,l,u){const o=(c,f,...h)=>{let p;typeof f!="object"?p=this.options.overloadTranslationOptionHandler([c,f].concat(h)):p={...f},p.lng=p.lng||o.lng,p.lngs=p.lngs||o.lngs,p.ns=p.ns||o.ns,p.keyPrefix!==""&&(p.keyPrefix=p.keyPrefix||u||o.keyPrefix);const y=this.options.keySeparator||".";let x;return p.keyPrefix&&Array.isArray(c)?x=c.map(v=>(typeof v=="function"&&(v=Vs(v,{...this.options,...f})),`${p.keyPrefix}${y}${v}`)):(typeof c=="function"&&(c=Vs(c,{...this.options,...f})),x=p.keyPrefix?`${p.keyPrefix}${y}${c}`:c),this.t(x,p)};return je(i)?o.lng=i:o.lngs=i,o.ns=l,o.keyPrefix=u,o}t(...i){var l;return(l=this.translator)==null?void 0:l.translate(...i)}exists(...i){var l;return(l=this.translator)==null?void 0:l.exists(...i)}setDefaultNamespace(i){this.options.defaultNS=i}hasLoadedNamespace(i,l={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const u=l.lng||this.resolvedLanguage||this.languages[0],o=this.options?this.options.fallbackLng:!1,c=this.languages[this.languages.length-1];if(u.toLowerCase()==="cimode")return!0;const f=(h,p)=>{const y=this.services.backendConnector.state[`${h}|${p}`];return y===-1||y===0||y===2};if(l.precheck){const h=l.precheck(this,f);if(h!==void 0)return h}return!!(this.hasResourceBundle(u,i)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||f(u,i)&&(!o||f(c,i)))}loadNamespaces(i,l){const u=ta();return this.options.ns?(je(i)&&(i=[i]),i.forEach(o=>{this.options.ns.indexOf(o)<0&&this.options.ns.push(o)}),this.loadResources(o=>{u.resolve(),l&&l(o)}),u):(l&&l(),Promise.resolve())}loadLanguages(i,l){const u=ta();je(i)&&(i=[i]);const o=this.options.preload||[],c=i.filter(f=>o.indexOf(f)<0&&this.services.languageUtils.isSupportedCode(f));return c.length?(this.options.preload=o.concat(c),this.loadResources(f=>{u.resolve(),l&&l(f)}),u):(l&&l(),Promise.resolve())}dir(i){var o,c;if(i||(i=this.resolvedLanguage||(((o=this.languages)==null?void 0:o.length)>0?this.languages[0]:this.language)),!i)return"rtl";try{const f=new Intl.Locale(i);if(f&&f.getTextInfo){const h=f.getTextInfo();if(h&&h.direction)return h.direction}}catch{}const l=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],u=((c=this.services)==null?void 0:c.languageUtils)||new kf(zs());return i.toLowerCase().indexOf("-latn")>1?"ltr":l.indexOf(u.getLanguagePartFromCode(i))>-1||i.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(i={},l){const u=new oa(i,l);return u.createInstance=oa.createInstance,u}cloneInstance(i={},l=Ll){const u=i.forkResourceStore;u&&delete i.forkResourceStore;const o={...this.options,...i,isClone:!0},c=new oa(o);if((i.debug!==void 0||i.prefix!==void 0)&&(c.logger=c.logger.clone(i)),["store","services","language"].forEach(h=>{c[h]=this[h]}),c.services={...this.services},c.services.utils={hasLoadedNamespace:c.hasLoadedNamespace.bind(c)},u){const h=Object.keys(this.store.data).reduce((p,y)=>(p[y]={...this.store.data[y]},p[y]=Object.keys(p[y]).reduce((x,v)=>(x[v]={...p[y][v]},x),p[y]),p),{});c.store=new xf(h,o),c.services.resourceStore=c.store}if(i.interpolation){const p={...zs().interpolation,...this.options.interpolation,...i.interpolation},y={...o,interpolation:p};c.services.interpolator=new Ef(y)}return c.translator=new Fl(c.services,o),c.translator.on("*",(h,...p)=>{c.emit(h,...p)}),c.init(o,l),c.translator.options=o,c.translator.backendConnector.services.utils={hasLoadedNamespace:c.hasLoadedNamespace.bind(c)},c}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const St=oa.createInstance();St.createInstance;St.dir;St.init;St.loadResources;St.reloadResources;St.use;St.changeLanguage;St.getFixedT;St.t;St.exists;St.setDefaultNamespace;St.hasLoadedNamespace;St.loadNamespaces;St.loadLanguages;const ev=(n,i,l,u)=>{var c,f,h,p;const o=[l,{code:i,...u||{}}];if((f=(c=n==null?void 0:n.services)==null?void 0:c.logger)!=null&&f.forward)return n.services.logger.forward(o,"warn","react-i18next::",!0);Pn(o[0])&&(o[0]=`react-i18next:: ${o[0]}`),(p=(h=n==null?void 0:n.services)==null?void 0:h.logger)!=null&&p.warn?n.services.logger.warn(...o):console!=null&&console.warn&&console.warn(...o)},bf={},vh=(n,i,l,u)=>{Pn(l)&&bf[l]||(Pn(l)&&(bf[l]=new Date),ev(n,i,l,u))},xh=(n,i)=>()=>{if(n.isInitialized)i();else{const l=()=>{setTimeout(()=>{n.off("initialized",l)},0),i()};n.on("initialized",l)}},Bs=(n,i,l)=>{n.loadNamespaces(i,xh(n,l))},Lf=(n,i,l,u)=>{if(Pn(l)&&(l=[l]),n.options.preload&&n.options.preload.indexOf(i)>-1)return Bs(n,l,u);l.forEach(o=>{n.options.ns.indexOf(o)<0&&n.options.ns.push(o)}),n.loadLanguages(i,xh(n,u))},tv=(n,i,l={})=>!i.languages||!i.languages.length?(vh(i,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:i.languages}),!0):i.hasLoadedNamespace(n,{lng:l.lng,precheck:(u,o)=>{if(l.bindI18n&&l.bindI18n.indexOf("languageChanging")>-1&&u.services.backendConnector.backend&&u.isLanguageChangingTo&&!o(u.isLanguageChangingTo,n))return!1}}),Pn=n=>typeof n=="string",rv=n=>typeof n=="object"&&n!==null,nv=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,iv={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},av=n=>iv[n],lv=n=>n.replace(nv,av);let Ws={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:lv,transDefaultProps:void 0};const ov=(n={})=>{Ws={...Ws,...n}},sv=()=>Ws;let wh;const uv=n=>{wh=n},cv=()=>wh,dv={type:"3rdParty",init(n){ov(n.options.react),uv(n)}},fv=L.createContext();class hv{constructor(){this.usedNamespaces={}}addUsedNamespaces(i){i.forEach(l=>{this.usedNamespaces[l]||(this.usedNamespaces[l]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}var Ds={exports:{}},Fs={};/**
* @license React
* use-sync-external-store-shim.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Pf;function pv(){if(Pf)return Fs;Pf=1;var n=Il();function i(v,S){return v===S&&(v!==0||1/v===1/S)||v!==v&&S!==S}var l=typeof Object.is=="function"?Object.is:i,u=n.useState,o=n.useEffect,c=n.useLayoutEffect,f=n.useDebugValue;function h(v,S){var N=S(),b=u({inst:{value:N,getSnapshot:S}}),z=b[0].inst,F=b[1];return c(function(){z.value=N,z.getSnapshot=S,p(z)&&F({inst:z})},[v,N,S]),o(function(){return p(z)&&F({inst:z}),v(function(){p(z)&&F({inst:z})})},[v]),f(N),N}function p(v){var S=v.getSnapshot;v=v.value;try{var N=S();return!l(v,N)}catch{return!0}}function y(v,S){return S()}var x=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?y:h;return Fs.useSyncExternalStore=n.useSyncExternalStore!==void 0?n.useSyncExternalStore:x,Fs}var Of;function mv(){return Of||(Of=1,Ds.exports=pv()),Ds.exports}var gv=mv();const yv=(n,i)=>Pn(i)?i:rv(i)&&Pn(i.defaultValue)?i.defaultValue:Array.isArray(n)?n[n.length-1]:n,vv={t:yv,ready:!1},xv=()=>()=>{},an=(n,i={})=>{var ee,ce,Le;const{i18n:l}=i,{i18n:u,defaultNS:o}=L.useContext(fv)||{},c=l||u||cv();c&&!c.reportNamespaces&&(c.reportNamespaces=new hv),c||vh(c,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const f=L.useMemo(()=>{var pe;return{...sv(),...(pe=c==null?void 0:c.options)==null?void 0:pe.react,...i}},[c,i]),{useSuspense:h,keyPrefix:p}=f,y=o||((ee=c==null?void 0:c.options)==null?void 0:ee.defaultNS),x=Pn(y)?[y]:y||["translation"],v=L.useMemo(()=>x,x);(Le=(ce=c==null?void 0:c.reportNamespaces)==null?void 0:ce.addUsedNamespaces)==null||Le.call(ce,v);const S=L.useRef(0),N=L.useCallback(pe=>{if(!c)return xv;const{bindI18n:fe,bindI18nStore:ie}=f,Ee=()=>{S.current+=1,pe()};return fe&&c.on(fe,Ee),ie&&c.store.on(ie,Ee),()=>{fe&&fe.split(" ").forEach(he=>c.off(he,Ee)),ie&&ie.split(" ").forEach(he=>c.store.off(he,Ee))}},[c,f]),b=L.useRef(),z=L.useCallback(()=>{if(!c)return vv;const pe=!!(c.isInitialized||c.initializedStoreOnce)&&v.every(I=>tv(I,c,f)),fe=i.lng||c.language,ie=S.current,Ee=b.current;if(Ee&&Ee.ready===pe&&Ee.lng===fe&&Ee.keyPrefix===p&&Ee.revision===ie)return Ee;const ge={t:c.getFixedT(fe,f.nsMode==="fallback"?v:v[0],p),ready:pe,lng:fe,keyPrefix:p,revision:ie};return b.current=ge,ge},[c,v,p,f,i.lng]),[F,Y]=L.useState(0),{t:H,ready:G}=gv.useSyncExternalStore(N,z,z);L.useEffect(()=>{if(c&&!G&&!h){const pe=()=>Y(fe=>fe+1);i.lng?Lf(c,i.lng,v,pe):Bs(c,v,pe)}},[c,i.lng,v,G,h,F]);const ne=c||{},ue=L.useRef(null),Se=L.useRef(),O=pe=>{const fe=Object.getOwnPropertyDescriptors(pe);fe.__original&&delete fe.__original;const ie=Object.create(Object.getPrototypeOf(pe),fe);if(!Object.prototype.hasOwnProperty.call(ie,"__original"))try{Object.defineProperty(ie,"__original",{value:pe,writable:!1,enumerable:!1,configurable:!1})}catch{}return ie},Z=L.useMemo(()=>{const pe=ne,fe=pe==null?void 0:pe.language;let ie=pe;pe&&(ue.current&&ue.current.__original===pe?Se.current!==fe?(ie=O(pe),ue.current=ie,Se.current=fe):ie=ue.current:(ie=O(pe),ue.current=ie,Se.current=fe));const Ee=[H,ie,G];return Ee.t=H,Ee.i18n=ie,Ee.ready=G,Ee},[H,ne,G,ne.resolvedLanguage,ne.language,ne.languages]);if(c&&h&&!G)throw new Promise(pe=>{const fe=()=>pe();i.lng?Lf(c,i.lng,v,fe):Bs(c,v,fe)});return Z};function wv(){const{t:n}=an(),i=[{title:n("home.services.items.plumbing.title"),description:n("home.services.items.plumbing.description"),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:n("home.services.items.electrical.title"),description:n("home.services.items.electrical.description"),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:n("home.services.items.painting.title"),description:n("home.services.items.painting.description"),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"}],l=[n("home.features.licensed"),n("home.features.sameDay"),n("home.features.quality"),n("home.features.affordable"),n("home.features.satisfaction"),n("home.features.emergency")],u=[{name:n("home.testimonials.items.sarah.name"),text:n("home.testimonials.items.sarah.text"),rating:5},{name:n("home.testimonials.items.mike.name"),text:n("home.testimonials.items.mike.text"),rating:5},{name:n("home.testimonials.items.emily.name"),text:n("home.testimonials.items.emily.text"),rating:5}];return g.jsxs("div",{className:"bg-white text-gray-900 dark:bg-gray-900 dark:text-gray-100",children:[g.jsx("section",{className:"relative bg-gradient-to-br from-sky-50 to-sky-100 overflow-hidden dark:from-gray-900 dark:to-gray-800",children:g.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-20 lg:py-28",children:g.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[g.jsxs("div",{children:[g.jsxs("h1",{className:"text-4xl md:text-5xl lg:text-6xl mb-6 text-gray-900 dark:text-white",children:[n("home.hero.title"),g.jsxs("span",{className:"text-sky-600",children:[" ",n("home.hero.titleHighlight")]})]}),g.jsx("p",{className:"text-xl text-gray-700 mb-8 dark:text-gray-300",children:n("home.hero.subtitle")}),g.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[g.jsxs(ct,{to:"/contact",className:"inline-flex items-center justify-center bg-sky-600 text-white px-8 py-4 rounded-lg hover:bg-sky-700 transition-colors",children:[n("home.hero.ctaPrimary"),g.jsx(oi,{className:"ml-2 h-5 w-5"})]}),g.jsxs("a",{href:"tel:5551234567",className:"inline-flex items-center justify-center bg-white text-sky-600 px-8 py-4 rounded-lg border-2 border-sky-600 hover:bg-sky-50 transition-colors dark:bg-gray-900 dark:text-sky-400 dark:border-sky-500 dark:hover:bg-gray-800",children:[g.jsx(Tl,{className:"mr-2 h-5 w-5"}),n("home.hero.ctaSecondary")]})]})]}),g.jsx("div",{className:"relative",children:g.jsx(aa,{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:n("home.hero.imageAlt"),className:"rounded-lg shadow-2xl w-full"})})]})})}),g.jsx("section",{className:"py-16 bg-white dark:bg-gray-900",children:g.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:g.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-6",children:l.map((o,c)=>g.jsxs("div",{className:"flex items-center space-x-3",children:[g.jsx(Ln,{className:"h-6 w-6 text-sky-600 flex-shrink-0"}),g.jsx("span",{className:"text-gray-700 dark:text-gray-300",children:o})]},c))})})}),g.jsx("section",{className:"py-16 bg-gray-50 dark:bg-gray-800",children:g.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[g.jsxs("div",{className:"text-center mb-12",children:[g.jsx("h2",{className:"text-3xl md:text-4xl mb-4 text-gray-900 dark:text-white",children:n("home.services.title")}),g.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto dark:text-gray-300",children:n("home.services.subtitle")})]}),g.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:i.map((o,c)=>g.jsxs("div",{className:"bg-white rounded-lg overflow-hidden shadow-lg hover:shadow-xl transition-shadow dark:bg-gray-900 dark:border dark:border-gray-800",children:[g.jsx(aa,{src:o.image,alt:o.title,className:"w-full h-48 object-cover"}),g.jsxs("div",{className:"p-6",children:[g.jsx("h3",{className:"text-xl mb-2 text-gray-900",children:o.title}),g.jsx("p",{className:"text-gray-600 mb-4 dark:text-gray-300",children:o.description}),g.jsxs(ct,{to:"/services",className:"inline-flex items-center text-sky-600 hover:text-sky-700",children:[n("home.services.learnMore"),g.jsx(oi,{className:"ml-2 h-4 w-4"})]})]})]},c))}),g.jsx("div",{className:"text-center mt-12",children:g.jsxs(ct,{to:"/services",className:"inline-flex items-center bg-sky-600 text-white px-8 py-3 rounded-lg hover:bg-sky-700 transition-colors",children:[n("home.services.viewAll"),g.jsx(oi,{className:"ml-2 h-5 w-5"})]})})]})}),g.jsx("section",{className:"py-16 bg-white dark:bg-gray-900",children:g.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:g.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[g.jsx(aa,{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:n("home.about.imageAlt"),className:"rounded-lg shadow-lg w-full"}),g.jsxs("div",{children:[g.jsx("h2",{className:"text-3xl md:text-4xl mb-6 text-gray-900 dark:text-white",children:n("home.about.title")}),g.jsx("p",{className:"text-lg text-gray-600 mb-6 dark:text-gray-300",children:n("home.about.subtitle")}),g.jsxs("ul",{className:"space-y-4 mb-8",children:[g.jsxs("li",{className:"flex items-start space-x-3",children:[g.jsx(Ln,{className:"h-6 w-6 text-sky-600 flex-shrink-0 mt-0.5"}),g.jsxs("div",{children:[g.jsx("span",{className:"text-gray-900 dark:text-white",children:n("home.about.points.experienced.title")}),g.jsx("p",{className:"text-gray-600 dark:text-gray-300",children:n("home.about.points.experienced.text")})]})]}),g.jsxs("li",{className:"flex items-start space-x-3",children:[g.jsx(Ln,{className:"h-6 w-6 text-sky-600 flex-shrink-0 mt-0.5"}),g.jsxs("div",{children:[g.jsx("span",{className:"text-gray-900 dark:text-white",children:n("home.about.points.pricing.title")}),g.jsx("p",{className:"text-gray-600 dark:text-gray-300",children:n("home.about.points.pricing.text")})]})]}),g.jsxs("li",{className:"flex items-start space-x-3",children:[g.jsx(Ln,{className:"h-6 w-6 text-sky-600 flex-shrink-0 mt-0.5"}),g.jsxs("div",{children:[g.jsx("span",{className:"text-gray-900 dark:text-white",children:n("home.about.points.guarantee.title")}),g.jsx("p",{className:"text-gray-600 dark:text-gray-300",children:n("home.about.points.guarantee.text")})]})]})]}),g.jsxs(ct,{to:"/about",className:"inline-flex items-center text-sky-600 hover:text-sky-700 text-lg",children:[n("home.about.learnMore"),g.jsx(oi,{className:"ml-2 h-5 w-5"})]})]})]})})}),g.jsx("section",{className:"py-16 bg-gray-50 dark:bg-gray-800",children:g.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[g.jsxs("div",{className:"text-center mb-12",children:[g.jsx("h2",{className:"text-3xl md:text-4xl mb-4 text-gray-900 dark:text-white",children:n("home.testimonials.title")}),g.jsx("p",{className:"text-xl text-gray-600 dark:text-gray-300",children:n("home.testimonials.subtitle")})]}),g.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:u.map((o,c)=>g.jsxs("div",{className:"bg-white rounded-lg p-6 shadow-lg dark:bg-gray-900 dark:border dark:border-gray-800",children:[g.jsx("div",{className:"flex mb-4",children:[...Array(o.rating)].map((f,h)=>g.jsx(w0,{className:"h-5 w-5 text-yellow-400 fill-current"},h))}),g.jsxs("p",{className:"text-gray-700 mb-4 dark:text-gray-300",children:['"',o.text,'"']}),g.jsxs("p",{className:"text-gray-900",children:["- ",o.name]})]},c))})]})}),g.jsx("section",{className:"py-16 bg-sky-600 dark:bg-sky-700",children:g.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[g.jsx("h2",{className:"text-3xl md:text-4xl mb-6 text-white",children:n("home.cta.title")}),g.jsx("p",{className:"text-xl text-sky-100 mb-8 dark:text-sky-100/90",children:n("home.cta.subtitle")}),g.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[g.jsxs(ct,{to:"/contact",className:"inline-flex items-center justify-center bg-white text-sky-600 px-8 py-4 rounded-lg hover:bg-gray-100 transition-colors",children:[n("home.cta.primary"),g.jsx(oi,{className:"ml-2 h-5 w-5"})]}),g.jsxs("a",{href:"tel:5551234567",className:"inline-flex items-center justify-center bg-sky-700 text-white px-8 py-4 rounded-lg hover:bg-sky-800 transition-colors dark:bg-sky-800 dark:hover:bg-sky-900",children:[g.jsx(Tl,{className:"mr-2 h-5 w-5"}),n("home.cta.secondary")]})]})]})})]})}function kv(){const{t:n}=an(),i=[{icon:qy,title:n("services.list.plumbing.title"),description:n("services.list.plumbing.description"),items:[n("services.list.plumbing.items.0"),n("services.list.plumbing.items.1"),n("services.list.plumbing.items.2"),n("services.list.plumbing.items.3"),n("services.list.plumbing.items.4"),n("services.list.plumbing.items.5")]},{icon:P0,title:n("services.list.electrical.title"),description:n("services.list.electrical.description"),items:[n("services.list.electrical.items.0"),n("services.list.electrical.items.1"),n("services.list.electrical.items.2"),n("services.list.electrical.items.3"),n("services.list.electrical.items.4"),n("services.list.electrical.items.5")]},{icon:p0,title:n("services.list.painting.title"),description:n("services.list.painting.description"),items:[n("services.list.painting.items.0"),n("services.list.painting.items.1"),n("services.list.painting.items.2"),n("services.list.painting.items.3"),n("services.list.painting.items.4"),n("services.list.painting.items.5")]},{icon:r0,title:n("services.list.carpentry.title"),description:n("services.list.carpentry.description"),items:[n("services.list.carpentry.items.0"),n("services.list.carpentry.items.1"),n("services.list.carpentry.items.2"),n("services.list.carpentry.items.3"),n("services.list.carpentry.items.4"),n("services.list.carpentry.items.5")]},{icon:i0,title:n("services.list.repairs.title"),description:n("services.list.repairs.description"),items:[n("services.list.repairs.items.0"),n("services.list.repairs.items.1"),n("services.list.repairs.items.2"),n("services.list.repairs.items.3"),n("services.list.repairs.items.4"),n("services.list.repairs.items.5")]},{icon:v0,title:n("services.list.maintenance.title"),description:n("services.list.maintenance.description"),items:[n("services.list.maintenance.items.0"),n("services.list.maintenance.items.1"),n("services.list.maintenance.items.2"),n("services.list.maintenance.items.3"),n("services.list.maintenance.items.4"),n("services.list.maintenance.items.5")]}],l=[{step:"1",title:n("services.process.items.0.title"),description:n("services.process.items.0.description")},{step:"2",title:n("services.process.items.1.title"),description:n("services.process.items.1.description")},{step:"3",title:n("services.process.items.2.title"),description:n("services.process.items.2.description")},{step:"4",title:n("services.process.items.3.title"),description:n("services.process.items.3.description")}];return g.jsxs("div",{className:"bg-white text-gray-900 dark:bg-gray-900 dark:text-gray-100",children:[g.jsxs("section",{className:"bg-gradient-to-br from-sky-50 to-sky-100 py-16 dark:from-gray-900 dark:to-gray-800",children:[g.jsx("h1",{className:"text-4xl md:text-5xl mb-6 text-gray-900 dark:text-white text-center",children:n("services.hero.title")}),g.jsx("p",{className:"text-xl text-gray-700 max-w-3xl mx-auto dark:text-gray-300",children:n("services.hero.subtitle")})]}),g.jsx("section",{className:"py-16 bg-white dark:bg-gray-900",children:g.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:g.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:i.map((u,o)=>{const c=u.icon;return g.jsxs("div",{className:"bg-white border border-gray-200 rounded-lg p-6 hover:shadow-xl transition-shadow dark:bg-gray-900 dark:border-gray-800",children:[g.jsx("div",{className:"bg-sky-100 w-14 h-14 rounded-lg flex items-center justify-center mb-4",children:g.jsx(c,{className:"h-7 w-7 text-sky-600"})}),g.jsx("h3",{className:"text-xl mb-3 text-gray-900",children:u.title}),g.jsx("p",{className:"text-gray-600 mb-4 dark:text-gray-300",children:u.description}),g.jsx("ul",{className:"space-y-2",children:u.items.map((f,h)=>g.jsxs("li",{className:"flex items-start space-x-2",children:[g.jsx(Ln,{className:"h-5 w-5 text-sky-600 flex-shrink-0 mt-0.5"}),g.jsx("span",{className:"text-gray-700 dark:text-gray-300",children:f})]},h))})]},o)})})})}),g.jsx("section",{className:"py-16 bg-gray-50 dark:bg-gray-800",children:g.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[g.jsxs("div",{className:"text-center mb-12",children:[g.jsx("h2",{className:"text-3xl md:text-4xl mb-4 text-gray-900 dark:text-white",children:n("services.process.title")}),g.jsx("p",{className:"text-xl text-gray-600 dark:text-gray-300",children:n("services.process.subtitle")})]}),g.jsx("div",{className:"grid md:grid-cols-4 gap-8",children:l.map((u,o)=>g.jsxs("div",{className:"text-center",children:[g.jsx("div",{className:"bg-sky-600 text-white w-16 h-16 rounded-full flex items-center justify-center text-2xl mx-auto mb-4",children:u.step}),g.jsx("h3",{className:"text-xl mb-2 text-gray-900 dark:text-white",children:u.title}),g.jsx("p",{className:"text-gray-600 dark:text-gray-300",children:u.description})]},o))})]})}),g.jsx("section",{className:"py-16 bg-sky-600 dark:bg-sky-700",children:g.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[g.jsx("h2",{className:"text-3xl md:text-4xl mb-6 text-white",children:n("services.cta.title")}),g.jsx("p",{className:"text-xl text-sky-100 mb-8 dark:text-sky-100/90",children:n("services.cta.subtitle")}),g.jsxs(ct,{to:"/contact",className:"inline-flex items-center bg-white text-sky-600 px-8 py-4 rounded-lg hover:bg-gray-100 transition-colors",children:[n("services.cta.button"),g.jsx(oi,{className:"ml-2 h-5 w-5"})]})]})})]})}function Sv(){const{t:n}=an(),i=[{label:n("about.stats.years"),value:"15+"},{label:n("about.stats.clients"),value:"5,000+"},{label:n("about.stats.projects"),value:"10,000+"},{label:n("about.stats.satisfaction"),value:"99%"}],l=[{icon:Ln,title:n("about.values.quality.title"),description:n("about.values.quality.description")},{icon:Gy,title:n("about.values.excellence.title"),description:n("about.values.excellence.description")},{icon:pf,title:n("about.values.customer.title"),description:n("about.values.customer.description")},{icon:iu,title:n("about.values.reliable.title"),description:n("about.values.reliable.description")}],u=[{name:n("about.team.members.john.name"),role:n("about.team.members.john.role"),description:n("about.team.members.john.description")},{name:n("about.team.members.david.name"),role:n("about.team.members.david.role"),description:n("about.team.members.david.description")},{name:n("about.team.members.robert.name"),role:n("about.team.members.robert.role"),description:n("about.team.members.robert.description")}],o=[n("about.certifications.items.0"),n("about.certifications.items.1"),n("about.certifications.items.2"),n("about.certifications.items.3"),n("about.certifications.items.4"),n("about.certifications.items.5")];return g.jsxs("div",{className:"bg-white text-gray-900 dark:bg-gray-900 dark:text-gray-100",children:[g.jsx("section",{className:"bg-gradient-to-br from-sky-50 to-sky-100 py-16 dark:from-gray-900 dark:to-gray-800",children:g.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[g.jsx("h1",{className:"text-4xl md:text-5xl mb-6 text-gray-900 dark:text-white text-center",children:n("about.hero.title")}),g.jsx("p",{className:"text-xl text-gray-700 max-w-3xl mx-auto dark:text-gray-300",children:n("about.hero.subtitle")})]})}),g.jsx("section",{className:"py-16 bg-white dark:bg-gray-900",children:g.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:g.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[g.jsxs("div",{children:[g.jsx("h2",{className:"text-3xl md:text-4xl mb-6 text-gray-900 dark:text-white",children:n("about.story.title")}),g.jsx("p",{className:"text-lg text-gray-700 mb-4 dark:text-white",children:n("about.story.p1")}),g.jsx("p",{className:"text-lg text-gray-700 mb-4 dark:text-white",children:n("about.story.p2")}),g.jsx("p",{className:"text-lg text-gray-700 dark:text-white",children:n("about.story.p3")})]}),g.jsx(aa,{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:n("about.story.imageAlt"),className:"rounded-lg shadow-lg w-full"})]})})}),g.jsx("section",{className:"py-16 bg-sky-600 dark:bg-sky-700",children:g.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:g.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-8",children:i.map((c,f)=>g.jsxs("div",{className:"text-center",children:[g.jsx("div",{className:"text-4xl md:text-5xl text-white mb-2",children:c.value}),g.jsx("div",{className:"text-sky-100",children:c.label})]},f))})})}),g.jsx("section",{className:"py-16 bg-gray-50 dark:bg-gray-800",children:g.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[g.jsxs("div",{className:"text-center mb-12",children:[g.jsx("h2",{className:"text-3xl md:text-4xl mb-4 text-gray-900 dark:text-white",children:n("about.values.title")}),g.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto dark:text-gray-300",children:n("about.values.subtitle")})]}),g.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-8",children:l.map((c,f)=>{const h=c.icon;return g.jsxs("div",{className:"bg-white rounded-lg p-6 shadow-lg text-center dark:bg-gray-900 dark:border dark:border-gray-800",children:[g.jsx("div",{className:"bg-sky-100 w-14 h-14 rounded-full flex items-center justify-center mx-auto mb-4",children:g.jsx(h,{className:"h-7 w-7 text-sky-600"})}),g.jsx("h3",{className:"text-xl mb-3 text-gray-900",children:c.title}),g.jsx("p",{className:"text-gray-600 dark:text-gray-300",children:c.description})]},f)})})]})}),g.jsx("section",{className:"py-16 bg-white dark:bg-gray-900",children:g.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[g.jsxs("div",{className:"text-center mb-12",children:[g.jsx("h2",{className:"text-3xl md:text-4xl mb-4 text-gray-900 dark:text-white",children:n("about.team.title")}),g.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto dark:text-gray-300",children:n("about.team.subtitle")})]}),g.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:u.map((c,f)=>g.jsxs("div",{className:"bg-gray-50 rounded-lg p-6 text-center dark:bg-gray-800",children:[g.jsx("div",{className:"bg-sky-100 w-24 h-24 rounded-full mx-auto mb-4 flex items-center justify-center",children:g.jsx(pf,{className:"h-12 w-12 text-sky-600"})}),g.jsx("h3",{className:"text-xl mb-1 text-gray-900",children:c.name}),g.jsx("p",{className:"text-sky-600 mb-3",children:c.role}),g.jsx("p",{className:"text-gray-600 dark:text-gray-300",children:c.description})]},f))})]})}),g.jsx("section",{className:"py-16 bg-gray-50 dark:bg-gray-800",children:g.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[g.jsxs("div",{className:"text-center mb-12",children:[g.jsx("h2",{className:"text-3xl md:text-4xl mb-4 text-gray-900 dark:text-white",children:n("about.certifications.title")}),g.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto dark:text-gray-300",children:n("about.certifications.subtitle")})]}),g.jsx("div",{className:"grid md:grid-cols-3 gap-6 max-w-4xl mx-auto",children:o.map((c,f)=>g.jsxs("div",{className:"flex items-center space-x-3 bg-white p-4 rounded-lg dark:bg-gray-900 dark:border dark:border-gray-800",children:[g.jsx(Ln,{className:"h-6 w-6 text-sky-600 flex-shrink-0"}),g.jsx("span",{className:"text-gray-700 dark:text-gray-300",children:c})]},f))})]})})]})}function Nv(){const{t:n}=an(),[i,l]=L.useState("all"),u=[{key:"all",label:n("gallery.categories.all")},{key:"plumbing",label:n("gallery.categories.plumbing")},{key:"electrical",label:n("gallery.categories.electrical")},{key:"painting",label:n("gallery.categories.painting")},{key:"carpentry",label:n("gallery.categories.carpentry")},{key:"renovation",label:n("gallery.categories.renovation")}],o=[{title:n("gallery.projects.kitchen.title"),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:n("gallery.projects.kitchen.description")},{title:n("gallery.projects.plumbing.title"),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:n("gallery.projects.plumbing.description")},{title:n("gallery.projects.electrical.title"),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:n("gallery.projects.electrical.description")},{title:n("gallery.projects.painting.title"),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:n("gallery.projects.painting.description")},{title:n("gallery.projects.carpentry.title"),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:n("gallery.projects.carpentry.description")},{title:n("gallery.projects.maintenance.title"),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:n("gallery.projects.maintenance.description")}],c=i==="all"?o:o.filter(f=>f.category===i);return g.jsxs("div",{className:"bg-white text-gray-900 dark:bg-gray-900 dark:text-gray-100",children:[g.jsxs("section",{className:"bg-gradient-to-br from-sky-50 to-sky-100 py-16 dark:from-gray-900 dark:to-gray-800",children:[g.jsx("h1",{className:"text-4xl md:text-5xl mb-6 text-gray-900 dark:text-white text-center",children:n("gallery.hero.title")}),g.jsx("p",{className:"text-xl text-gray-700 max-w-3xl mx-auto dark:text-gray-300",children:n("gallery.hero.subtitle")})]}),g.jsx("section",{className:"py-8 bg-white border-b border-gray-200 dark:bg-gray-900 dark:border-gray-800",children:g.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:g.jsx("div",{className:"flex flex-wrap gap-3 justify-center",children:u.map(f=>g.jsx("button",{onClick:()=>l(f.key),className:`px-6 py-2 rounded-full transition-colors ${i===f.key?"bg-sky-600 text-white":"bg-gray-100 text-gray-700 hover:bg-gray-200 dark:bg-gray-800 dark:text-gray-300 dark:hover:bg-gray-700"}`,children:f.label},f.key))})})}),g.jsx("section",{className:"py-16 bg-white dark:bg-gray-900",children:g.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[g.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:c.map((f,h)=>{var p;return g.jsxs("div",{className:"group relative overflow-hidden rounded-lg shadow-lg hover:shadow-2xl transition-shadow cursor-pointer dark:shadow-black/40",children:[g.jsx(aa,{src:f.image,alt:f.title,className:"w-full h-72 object-cover group-hover:scale-110 transition-transform duration-300"}),g.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:g.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-6 text-white",children:[g.jsx("div",{className:"inline-block bg-sky-600 px-3 py-1 rounded-full text-sm mb-2",children:(p=u.find(y=>y.key===f.category))==null?void 0:p.label}),g.jsx("h3",{className:"text-xl mb-2",children:f.title}),g.jsx("p",{className:"text-sm text-gray-200",children:f.description})]})})]},h)})}),c.length===0&&g.jsx("div",{className:"text-center py-12",children:g.jsx("p",{className:"text-xl text-gray-600 dark:text-gray-300",children:n("gallery.empty")})})]})})]})}function jv(){const{t:n}=an(),[i,l]=L.useState({name:"",email:"",phone:"",service:"",message:""}),[u,o]=L.useState(!1),c=p=>{l({...i,[p.target.name]:p.target.value})},f=p=>{p.preventDefault(),console.log("Form submitted:",i),o(!0),setTimeout(()=>{o(!1),l({name:"",email:"",phone:"",service:"",message:""})},3e3)},h=[n("contact.services.generalRepair"),n("contact.services.plumbing"),n("contact.services.electrical"),n("contact.services.painting"),n("contact.services.carpentry"),n("contact.services.homeMaintenance"),n("contact.services.other")];return g.jsxs("div",{className:"bg-white text-gray-900 dark:bg-gray-900 dark:text-white",children:[g.jsxs("section",{className:"bg-gradient-to-br from-sky-50 to-sky-100 py-16 dark:from-gray-900 dark:to-gray-800",children:[g.jsx("h1",{className:"text-4xl md:text-5xl mb-6 text-gray-900 dark:text-white text-center",children:n("contact.hero.title")}),g.jsx("p",{className:"text-xl text-gray-700 max-w-3xl mx-auto dark:text-white",children:n("contact.hero.subtitle")})]}),g.jsx("section",{className:"py-16 bg-white dark:bg-gray-900",children:g.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:g.jsxs("div",{className:"grid lg:grid-cols-5 gap-12",children:[g.jsxs("div",{className:"lg:col-span-2 space-y-8",children:[g.jsxs("div",{children:[g.jsx("h2",{className:"text-3xl mb-6 text-gray-900 dark:text-white",children:n("contact.info.title")}),g.jsx("p",{className:"text-gray-600 mb-8 dark:text-white",children:n("contact.info.subtitle")})]}),g.jsxs("div",{className:"space-y-6",children:[g.jsxs("div",{className:"flex items-start space-x-4",children:[g.jsx("div",{className:"bg-sky-100 p-3 rounded-lg",children:g.jsx(Tl,{className:"h-6 w-6 text-sky-600"})}),g.jsxs("div",{children:[g.jsx("h3",{className:"text-gray-900 mb-1 dark:text-white",children:n("contact.info.phone")}),g.jsx("a",{href:"tel:5551234567",className:"text-sky-600 hover:text-sky-700 dark:text-white dark:hover:text-white",children:"(555) 123-4567"}),g.jsx("p",{className:"text-gray-600 text-sm mt-1 dark:text-white",children:n("contact.info.phoneHours")})]})]}),g.jsxs("div",{className:"flex items-start space-x-4",children:[g.jsx("div",{className:"bg-sky-100 p-3 rounded-lg",children:g.jsx(dh,{className:"h-6 w-6 text-sky-600"})}),g.jsxs("div",{children:[g.jsx("h3",{className:"text-gray-900 mb-1 dark:text-white",children:n("contact.info.email")}),g.jsx("a",{href:"mailto:info@lucris.nl",className:"text-sky-600 hover:text-sky-700 dark:text-white dark:hover:text-white",children:"info@lucris.nl"}),g.jsx("p",{className:"text-gray-600 text-sm mt-1 dark:text-white",children:n("contact.info.emailNote")})]})]}),g.jsxs("div",{className:"flex items-start space-x-4",children:[g.jsx("div",{className:"bg-sky-100 p-3 rounded-lg",children:g.jsx(fh,{className:"h-6 w-6 text-sky-600"})}),g.jsxs("div",{children:[g.jsx("h3",{className:"text-gray-900 mb-1 dark:text-white",children:n("contact.info.address")}),g.jsxs("p",{className:"text-gray-600 dark:text-white",children:[n("contact.info.addressLine1"),g.jsx("br",{}),n("contact.info.addressLine2")]})]})]}),g.jsxs("div",{className:"flex items-start space-x-4",children:[g.jsx("div",{className:"bg-sky-100 p-3 rounded-lg",children:g.jsx(iu,{className:"h-6 w-6 text-sky-600"})}),g.jsxs("div",{children:[g.jsx("h3",{className:"text-gray-900 mb-1 dark:text-white",children:n("contact.info.hours")}),g.jsxs("p",{className:"text-gray-600 dark:text-white",children:[n("contact.info.hoursLine1"),g.jsx("br",{}),n("contact.info.hoursLine2"),g.jsx("br",{}),n("contact.info.hoursLine3")]})]})]})]}),g.jsxs("div",{className:"bg-sky-50 p-6 rounded-lg border border-sky-200 dark:bg-gray-800 dark:border-gray-700",children:[g.jsx("h3",{className:"text-gray-900 mb-2 dark:text-white",children:n("contact.emergency.title")}),g.jsx("p",{className:"text-gray-600 mb-3 dark:text-white",children:n("contact.emergency.subtitle")})]})]}),g.jsxs("div",{className:"lg:col-span-3 bg-gray-50 p-8 rounded-lg dark:bg-gray-800",children:[g.jsx("h2",{className:"text-2xl mb-6 text-gray-900 dark:text-white",children:n("contact.form.title")}),u?g.jsxs("div",{className:"bg-green-50 border border-green-200 rounded-lg p-8 text-center",children:[g.jsx("div",{className:"bg-green-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4",children:g.jsx(hf,{className:"h-8 w-8 text-green-600"})}),g.jsx("h3",{className:"text-2xl text-green-900 mb-2",children:n("contact.form.successTitle")}),g.jsx("p",{className:"text-green-800",children:n("contact.form.successMessage")})]}):g.jsxs("form",{onSubmit:f,className:"space-y-6",children:[g.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[g.jsxs("div",{children:[g.jsxs("label",{htmlFor:"name",className:"block text-sm text-gray-700 mb-2 dark:text-white",children:[n("contact.form.fullName")," *"]}),g.jsx("input",{type:"text",id:"name",name:"name",required:!0,value:i.name,onChange:c,className:"w-full px-4 py-3 rounded-lg border border-gray-300 focus:border-sky-600 focus:ring-2 focus:ring-sky-200 outline-none transition-all dark:bg-gray-900 dark:border-gray-700 dark:text-gray-100 dark:focus:ring-sky-500/30",placeholder:n("contact.form.fullNamePlaceholder")})]}),g.jsxs("div",{children:[g.jsxs("label",{htmlFor:"phone",className:"block text-sm text-gray-700 mb-2 dark:text-white",children:[n("contact.form.phone")," *"]}),g.jsx("input",{type:"tel",id:"phone",name:"phone",required:!0,value:i.phone,onChange:c,className:"w-full px-4 py-3 rounded-lg border border-gray-300 focus:border-sky-600 focus:ring-2 focus:ring-sky-200 outline-none transition-all dark:bg-gray-900 dark:border-gray-700 dark:text-gray-100 dark:focus:ring-sky-500/30",placeholder:n("contact.form.phonePlaceholder")})]})]}),g.jsxs("div",{children:[g.jsxs("label",{htmlFor:"email",className:"block text-sm text-gray-700 mb-2 dark:text-white",children:[n("contact.form.email")," *"]}),g.jsx("input",{type:"email",id:"email",name:"email",required:!0,value:i.email,onChange:c,className:"w-full px-4 py-3 rounded-lg border border-gray-300 focus:border-sky-600 focus:ring-2 focus:ring-sky-200 outline-none transition-all dark:bg-gray-900 dark:border-gray-700 dark:text-gray-100 dark:focus:ring-sky-500/30",placeholder:n("contact.form.emailPlaceholder")})]}),g.jsxs("div",{children:[g.jsxs("label",{htmlFor:"service",className:"block text-sm text-gray-700 mb-2 dark:text-white",children:[n("contact.form.service")," *"]}),g.jsxs("select",{id:"service",name:"service",required:!0,value:i.service,onChange:c,className:"w-full px-4 py-3 rounded-lg border border-gray-300 focus:border-sky-600 focus:ring-2 focus:ring-sky-200 outline-none transition-all dark:bg-gray-900 dark:border-gray-700 dark:text-gray-100 dark:focus:ring-sky-500/30",children:[g.jsx("option",{value:"",children:n("contact.form.servicePlaceholder")}),h.map(p=>g.jsx("option",{value:p,children:p},p))]})]}),g.jsxs("div",{children:[g.jsxs("label",{htmlFor:"message",className:"block text-sm text-gray-700 mb-2 dark:text-white",children:[n("contact.form.details")," *"]}),g.jsx("textarea",{id:"message",name:"message",required:!0,value:i.message,onChange:c,rows:6,className:"w-full px-4 py-3 rounded-lg border border-gray-300 focus:border-sky-600 focus:ring-2 focus:ring-sky-200 outline-none transition-all resize-none dark:bg-gray-900 dark:border-gray-700 dark:text-gray-100 dark:focus:ring-sky-500/30",placeholder:n("contact.form.detailsPlaceholder")})]}),g.jsxs("button",{type:"submit",className:"w-full bg-sky-600 text-white px-8 py-4 rounded-lg hover:bg-sky-700 transition-colors flex items-center justify-center",children:[g.jsx(hf,{className:"mr-2 h-5 w-5"}),n("contact.form.submit")]}),g.jsx("p",{className:"text-sm text-gray-600 text-center dark:text-white",children:n("contact.form.disclaimer")})]})]})]})})}),g.jsxs("section",{className:"py-16 bg-gray-50 dark:bg-gray-800",children:[g.jsx("h2",{className:"text-3xl text-center mb-8 text-gray-900 dark:text-white",children:n("contact.map.title")}),g.jsx("div",{className:"bg-gray-300 rounded-lg overflow-hidden h-96 flex items-center justify-center dark:bg-gray-700",children:g.jsx("p",{className:"text-gray-600 dark:text-white",children:n("contact.map.placeholder")})})]})]})}function Ev(){return g.jsxs("svg",{viewBox:"0 0 60 30","aria-hidden":"true",className:"h-4 w-6",children:[g.jsx("clipPath",{id:"t",children:g.jsx("path",{d:"M0 0h60v30H0z"})}),g.jsxs("g",{clipPath:"url(#t)",children:[g.jsx("path",{d:"M0 0v30h60V0z",fill:"#012169"}),g.jsx("path",{d:"M0 0l60 30m0-30L0 30",stroke:"#fff",strokeWidth:"6"}),g.jsx("path",{d:"M0 0l60 30m0-30L0 30",stroke:"#C8102E",strokeWidth:"4"}),g.jsx("path",{d:"M30 0v30M0 15h60",stroke:"#fff",strokeWidth:"10"}),g.jsx("path",{d:"M30 0v30M0 15h60",stroke:"#C8102E",strokeWidth:"6"})]})]})}function Cv(){return g.jsxs("svg",{viewBox:"0 0 3 2","aria-hidden":"true",className:"h-4 w-6",children:[g.jsx("rect",{width:"3",height:"2",fill:"#fff"}),g.jsx("rect",{width:"3",height:"0.6667",y:"0",fill:"#AE1C28"}),g.jsx("rect",{width:"3",height:"0.6667",y:"1.3333",fill:"#21468B"})]})}function Mf(){const{i18n:n,t:i}=an(),u=(n.language==="nl"?"nl":"en")==="en"?"nl":"en",o=c=>n.changeLanguage(c);return g.jsx("button",{type:"button",onClick:()=>o(u),"aria-label":i("header.language"),className:"flex items-center gap-1 px-2 py-1 text-sm hover:bg-gray-50",children:u==="en"?g.jsx(Ev,{}):g.jsx(Cv,{})})}const kh=L.createContext(void 0);function Rv({children:n}){const[i,l]=L.useState(()=>{var c;const o=localStorage.getItem("theme");return o||((c=window.matchMedia)!=null&&c.call(window,"(prefers-color-scheme: dark)").matches?"dark":"light")});L.useEffect(()=>{document.documentElement.classList.toggle("dark",i==="dark"),localStorage.setItem("theme",i)},[i]);const u=L.useMemo(()=>({theme:i,toggle:()=>l(o=>o==="dark"?"light":"dark")}),[i]);return g.jsx(kh.Provider,{value:u,children:n})}function bv(){const n=L.useContext(kh);if(!n)throw new Error("useTheme must be used within ThemeProvider");return n}function _f(){const{theme:n,toggle:i}=bv();return g.jsx("button",{type:"button",onClick:i,className:"inline-flex items-center justify-center rounded-md border border-gray-300 bg-white p-2 text-gray-700 hover:bg-gray-50 dark:border-gray-700 dark:bg-gray-900 dark:text-gray-200 dark:hover:bg-gray-800","aria-label":"Toggle theme",children:n==="dark"?g.jsx(S0,{className:"h-4 w-4"}):g.jsx(f0,{className:"h-4 w-4"})})}function Lv(){const[n,i]=L.useState(!1),l=nn(),{t:u}=an(),o=[{name:u("header.nav.home"),path:"/"},{name:u("header.nav.services"),path:"/services"},{name:u("header.nav.about"),path:"/about"},{name:u("header.nav.gallery"),path:"/gallery"},{name:u("header.nav.contact"),path:"/contact"}],c=f=>l.pathname===f;return g.jsx("header",{className:"bg-white shadow-md sticky top-0 z-50 dark:bg-gray-900 dark:shadow-gray-900/50",children:g.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[g.jsxs("div",{className:"flex justify-between items-center h-16",children:[g.jsxs(ct,{to:"/",className:"flex items-center space-x-2",children:[g.jsx(hh,{className:"h-8 w-8 text-sky-600 dark:text-sky-400"}),g.jsx("span",{className:"font-bold text-xl text-gray-900 dark:text-white",children:u("header.brand")})]}),g.jsxs("nav",{className:"hidden md:flex items-center space-x-8",children:[o.map(f=>g.jsx(ct,{to:f.path,className:`transition-colors ${c(f.path)?"text-sky-600":"text-white-700 hover:text-sky-600 dark:text-white-200 dark:hover:text-sky-400"}`,children:f.name},f.path)),g.jsx(Mf,{}),g.jsx(_f,{})]}),g.jsx(ct,{to:"/contact",className:"hidden md:block bg-sky-600 text-white px-6 py-2 rounded-md hover:bg-sky-700 transition-colors",children:u("header.cta")}),g.jsx("button",{className:"md:hidden",onClick:()=>i(!n),children:n?g.jsx(b0,{className:"h-6 w-6 text-gray-900 dark:text-white"}):g.jsx(c0,{className:"h-6 w-6 text-gray-900 dark:text-white"})})]}),n&&g.jsxs("nav",{className:"md:hidden pb-4 pt-2",children:[o.map(f=>g.jsx(ct,{to:f.path,onClick:()=>i(!1),className:`block py-2 transition-colors ${c(f.path)?"text-sky-600":"text-white-700 hover:text-sky-600"}`,children:f.name},f.path)),g.jsx("div",{className:"mt-4",children:g.jsx(Mf,{})}),g.jsx("div",{className:"mt-4",children:g.jsx(_f,{})}),g.jsx(ct,{to:"/contact",onClick:()=>i(!1),className:"block mt-4 bg-sky-600 text-white px-6 py-2 rounded-md text-center hover:bg-sky-700 transition-colors",children:u("header.cta")})]})]})})}function Pv(){const{t:n}=an();return g.jsx("footer",{className:"bg-gray-900 text-gray-300 dark:bg-black dark:text-gray-400",children:g.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12",children:[g.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:[g.jsxs("div",{children:[g.jsxs("div",{className:"flex items-center space-x-2 mb-4",children:[g.jsx(hh,{className:"h-8 w-8 text-sky-600"}),g.jsx("span",{className:"font-bold text-xl text-white dark:text-white",children:n("footer.brand")})]}),g.jsx("p",{className:"text-sm mb-4 text-gray-300 dark:text-gray-400",children:n("footer.description")}),g.jsxs("div",{className:"flex space-x-4",children:[g.jsx("a",{href:"#",className:"hover:text-sky-600 transition-colors",children:g.jsx(e0,{className:"h-5 w-5"})}),g.jsx("a",{href:"#",className:"hover:text-sky-600 transition-colors",children:g.jsx(l0,{className:"h-5 w-5"})}),g.jsx("a",{href:"#",className:"hover:text-sky-600 transition-colors",children:g.jsx(j0,{className:"h-5 w-5"})})]})]}),g.jsxs("div",{children:[g.jsx("h3",{className:"text-white font-semibold mb-4 dark:text-gray-100",children:n("footer.quickLinks")}),g.jsxs("ul",{className:"space-y-2",children:[g.jsx("li",{children:g.jsx(ct,{to:"/",className:"hover:text-sky-600 transition-colors text-gray-300 dark:text-gray-400 dark:hover:text-sky-400",children:n("footer.links.home")})}),g.jsx("li",{children:g.jsx(ct,{to:"/services",className:"hover:text-sky-600 transition-colors text-gray-300 dark:text-gray-400 dark:hover:text-sky-400",children:n("footer.links.services")})}),g.jsx("li",{children:g.jsx(ct,{to:"/about",className:"hover:text-sky-600 transition-colors text-gray-300 dark:text-gray-400 dark:hover:text-sky-400",children:n("footer.links.about")})}),g.jsx("li",{children:g.jsx(ct,{to:"/gallery",className:"hover:text-sky-600 transition-colors text-gray-300 dark:text-gray-400 dark:hover:text-sky-400",children:n("footer.links.gallery")})}),g.jsx("li",{children:g.jsx(ct,{to:"/contact",className:"hover:text-sky-600 transition-colors text-gray-300 dark:text-gray-400 dark:hover:text-sky-400",children:n("footer.links.contact")})})]})]}),g.jsxs("div",{children:[g.jsx("h3",{className:"text-white font-semibold mb-4 dark:text-gray-100",children:n("footer.ourServices")}),g.jsxs("ul",{className:"space-y-2 text-sm",children:[g.jsx("li",{children:n("footer.services.plumbing")}),g.jsx("li",{children:n("footer.services.electrical")}),g.jsx("li",{children:n("footer.services.painting")}),g.jsx("li",{children:n("footer.services.carpentry")}),g.jsx("li",{children:n("footer.services.general")}),g.jsx("li",{children:n("footer.services.maintenance")})]})]}),g.jsxs("div",{children:[g.jsx("h3",{className:"text-white font-semibold mb-4 dark:text-gray-100",children:n("footer.contactInfo")}),g.jsxs("ul",{className:"space-y-3",children:[g.jsxs("li",{className:"flex items-start space-x-3",children:[g.jsx(Tl,{className:"h-5 w-5 text-sky-600 flex-shrink-0 mt-0.5"}),g.jsxs("div",{children:[g.jsx("p",{className:"text-sm",children:n("footer.callUs")}),g.jsx("p",{className:"text-white dark:text-gray-200",children:"(555) 123-4567"})]})]}),g.jsxs("li",{className:"flex items-start space-x-3",children:[g.jsx(dh,{className:"h-5 w-5 text-sky-600 flex-shrink-0 mt-0.5"}),g.jsxs("div",{children:[g.jsx("p",{className:"text-sm",children:n("footer.emailUs")}),g.jsx("p",{className:"text-white dark:text-gray-200",children:"info@lucris.nl"})]})]}),g.jsxs("li",{className:"flex items-start space-x-3",children:[g.jsx(fh,{className:"h-5 w-5 text-sky-600 flex-shrink-0 mt-0.5"}),g.jsxs("div",{children:[g.jsx("p",{className:"text-sm",children:n("footer.location")}),g.jsxs("p",{className:"text-white dark:text-gray-200",children:["123 Main Street",g.jsx("br",{}),"New York, NY 10001"]})]})]}),g.jsxs("li",{className:"flex items-start space-x-3",children:[g.jsx(iu,{className:"h-5 w-5 text-sky-600 flex-shrink-0 mt-0.5"}),g.jsxs("div",{children:[g.jsx("p",{className:"text-sm",children:n("footer.hours")}),g.jsx("p",{className:"text-white dark:text-gray-200",children:n("footer.hoursValue")})]})]})]})]})]}),g.jsx("div",{className:"border-t border-gray-800 mt-8 pt-8 text-center text-sm dark:border-gray-900",children:g.jsx("p",{className:"text-gray-400 dark:text-gray-500",children:n("footer.copyright")})})]})})}function Ov(){return g.jsxs("div",{className:"min-h-screen flex flex-col",children:[g.jsx(Lv,{}),g.jsx("main",{className:"flex-1",children:g.jsx(ay,{})}),g.jsx(Pv,{})]})}const Mv=Py([{path:"/",Component:Ov,children:[{index:!0,Component:wv},{path:"services",Component:kv},{path:"about",Component:Sv},{path:"gallery",Component:Nv},{path:"contact",Component:jv}]}],{basename:"/handyman/"});function _v(){return g.jsx(Rv,{children:g.jsx(ry,{router:Mv})})}const Tv={brand:"Lucris Handyman",nav:{home:"Home",services:"Services",about:"About Us",gallery:"Gallery",contact:"Contact"},cta:"Get a Quote",language:"Language"},zv={brand:"Lucris Handyman",description:"Professional handyman services for all your home repair and maintenance needs. Quality work, affordable prices.",quickLinks:"Quick Links",links:{home:"Home",services:"Services",about:"About Us",gallery:"Gallery",contact:"Contact"},ourServices:"Our Services",services:{plumbing:"Plumbing Repairs",electrical:"Electrical Work",painting:"Painting & Drywall",carpentry:"Carpentry",general:"General Repairs",maintenance:"Home Maintenance"},contactInfo:"Contact Info",callUs:"Call Us",emailUs:"Email Us",location:"Location",hours:"Working Hours",hoursValue:"Mon-Sat: 8AM-6PM",copyright:"© 2026 Lucris Handyman. All rights reserved."},Dv={hero:{title:"About Lucris Handyman",subtitle:"Your trusted partner for all home repair and maintenance needs since 2011"},story:{title:"Our Story",p1:"Lucris 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.",p2:"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.",p3:"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.",imageAlt:"Home renovation work"},stats:{years:"Years in Business",clients:"Happy Clients",projects:"Projects Completed",satisfaction:"Customer Satisfaction"},values:{title:"Our Values",subtitle:"These core principles guide everything we do",quality:{title:"Quality First",description:"We never compromise on the quality of our work. Every job is done right the first time."},excellence:{title:"Professional Excellence",description:"Our team consists of skilled, licensed professionals with years of experience."},customer:{title:"Customer Focus",description:"Your satisfaction is our priority. We listen to your needs and deliver results."},reliable:{title:"Reliable Service",description:"We show up on time, every time. Count on us to be there when you need us."}},team:{title:"Meet Our Team",subtitle:"Skilled professionals dedicated to your home's care",members:{john:{name:"John Mitchell",role:"Founder & Lead Handyman",description:"15+ years of experience in all aspects of home repair and maintenance."},david:{name:"David Chen",role:"Master Electrician",description:"Licensed electrician specializing in residential electrical work."},robert:{name:"Robert Garcia",role:"Master Plumber",description:"Expert plumber with extensive experience in repairs and installations."}}},certifications:{title:"Licensed & Insured",subtitle:"We maintain all necessary licenses and insurance for your protection and peace of mind",items:["State Licensed Contractor","Fully Insured & Bonded","BBB Accredited Business","Master Electrician License","Master Plumber License","OSHA Safety Certified"]}},Fv={hero:{title:"Contact Us",subtitle:"Get in touch with us for a free quote or to schedule a service"},info:{title:"Get in Touch",subtitle:"Have a question or ready to start your project? We'd love to hear from you. Reach out using any of the methods below.",phone:"Phone",phoneHours:"Mon-Sat: 8AM-6PM",email:"Email",emailNote:"We'll respond within 24 hours",address:"Address",addressLine1:"123 Main Street",addressLine2:"New York, NY 10001",hours:"Business Hours",hoursLine1:"Monday - Friday: 8:00 AM - 6:00 PM",hoursLine2:"Saturday: 9:00 AM - 4:00 PM",hoursLine3:"Sunday: Closed"},emergency:{title:"Emergency Services",subtitle:"For urgent repairs outside business hours, call our emergency line:"},form:{title:"Request a Free Quote",successTitle:"Thank You!",successMessage:"Your message has been received. We'll get back to you within 24 hours.",fullName:"Full Name",fullNamePlaceholder:"John Doe",phone:"Phone Number",phonePlaceholder:"(555) 123-4567",email:"Email Address",emailPlaceholder:"john@example.com",service:"Service Needed",servicePlaceholder:"Select a service",details:"Project Details",detailsPlaceholder:"Please describe your project in detail...",submit:"Send Message",disclaimer:"By submitting this form, you agree to our terms and privacy policy."},services:{generalRepair:"General Repair",plumbing:"Plumbing",electrical:"Electrical",painting:"Painting",carpentry:"Carpentry",homeMaintenance:"Home Maintenance",other:"Other"},map:{title:"Our Location",placeholder:"Map would be displayed here (e.g., Google Maps integration)"}},Iv={hero:{title:"Your Trusted",titleHighlight:"Handyman Service",subtitle:"Professional home repair and maintenance services. From small fixes to major renovations, we do it all with quality and care.",ctaPrimary:"Get Free Quote",ctaSecondary:"Call Now",imageAlt:"Professional handyman at work"},features:{licensed:"Licensed & Insured",sameDay:"Same-Day Service",quality:"Quality Workmanship",affordable:"Affordable Pricing",satisfaction:"100% Satisfaction Guarantee",emergency:"Emergency Services Available"},services:{title:"Our Services",subtitle:"We offer a comprehensive range of handyman services to keep your home in perfect condition.",learnMore:"Learn More",viewAll:"View All Services",items:{plumbing:{title:"Plumbing",description:"From leaky faucets to pipe repairs, we handle all your plumbing needs."},electrical:{title:"Electrical",description:"Safe and reliable electrical installations, repairs, and upgrades."},painting:{title:"Painting",description:"Professional painting services for interior and exterior projects."}}},about:{title:"Why Choose Lucris Handyman?",subtitle:"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.",learnMore:"Learn More About Us",imageAlt:"Handyman tools",points:{experienced:{title:"Experienced Professionals",text:"Skilled craftsmen with years of expertise"},pricing:{title:"Fair & Transparent Pricing",text:"No hidden fees, upfront quotes"},guarantee:{title:"Quality Guaranteed",text:"100% satisfaction or your money back"}}},testimonials:{title:"What Our Clients Say",subtitle:"Don't just take our word for it - hear from our satisfied customers",items:{sarah:{name:"Sarah Johnson",text:"Outstanding service! They fixed our plumbing issue quickly and professionally. Highly recommend!"},mike:{name:"Mike Thompson",text:"Lucris is my go-to for all home repairs. Always reliable, fair pricing, and excellent work."},emily:{name:"Emily Davis",text:"They remodeled our bathroom and the results exceeded our expectations. True professionals!"}}},cta:{title:"Ready to Get Started?",subtitle:"Contact us today for a free quote and let us take care of your home repair needs!",primary:"Get Free Quote",secondary:"Call Now"}},Hv={hero:{title:"Our Services",subtitle:"From minor repairs to major renovations, we offer comprehensive handyman services to meet all your home improvement needs."},list:{plumbing:{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"]},electrical:{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"]},painting:{title:"Painting & Drywall",description:"Transform your space with professional painting services.",items:["Interior Painting","Exterior Painting","Drywall Installation","Drywall Repair","Texture Matching","Wallpaper Removal"]},carpentry:{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"]},repairs:{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"]},maintenance:{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"]}},process:{title:"How It Works",subtitle:"Getting your home repairs done is easy with our simple process",items:[{title:"Contact Us",description:"Call or fill out our online form to describe your project"},{title:"Get a Quote",description:"Receive a fair, transparent estimate for the work"},{title:"Schedule Service",description:"Choose a convenient time that works for you"},{title:"Job Complete",description:"We complete the work with quality and care"}]},cta:{title:"Need a Handyman?",subtitle:"Contact us today for a free estimate on any of our services!",button:"Request a Quote"}},$v={hero:{title:"Project Gallery",subtitle:"Browse through our portfolio of completed projects and see the quality of our work"},categories:{all:"All",plumbing:"Plumbing",electrical:"Electrical",painting:"Painting",carpentry:"Carpentry",renovation:"Renovation"},projects:{kitchen:{title:"Kitchen Renovation",description:"Complete kitchen remodel with custom cabinets and new fixtures"},plumbing:{title:"Plumbing Repair",description:"Professional pipe repair and fixture installation"},electrical:{title:"Electrical Installation",description:"Safe and reliable electrical work with proper certification"},painting:{title:"Interior Painting",description:"Professional interior painting with attention to detail"},carpentry:{title:"Custom Carpentry",description:"Custom woodworking and carpentry projects"},maintenance:{title:"Home Maintenance",description:"Regular home maintenance and repair services"}},empty:"No projects found in this category."},Uv={header:Tv,footer:zv,about:Dv,contact:Fv,home:Iv,services:Hv,gallery:$v},Av={brand:"Lucris Handyman",nav:{home:"Home",services:"Diensten",about:"Over ons",gallery:"Galerij",contact:"Contact"},cta:"Offerte aanvragen",language:"Taal"},Vv={brand:"Lucris Handyman",description:"Professionele klusdiensten voor al uw reparatie- en onderhoudsbehoeften. Kwaliteit, betaalbare prijzen.",quickLinks:"Snelle links",links:{home:"Home",services:"Diensten",about:"Over ons",gallery:"Galerij",contact:"Contact"},ourServices:"Onze diensten",services:{plumbing:"Loodgieterswerk",electrical:"Elektrisch werk",painting:"Schilder- & stucwerk",carpentry:"Timmerwerk",general:"Algemene reparaties",maintenance:"Woningonderhoud"},contactInfo:"Contactgegevens",callUs:"Bel ons",emailUs:"E-mail",location:"Locatie",hours:"Openingstijden",hoursValue:"Ma-Za: 08:00-18:00",copyright:"© 2026 Lucris Handyman. Alle rechten voorbehouden."},Bv={hero:{title:"Over Lucris Handyman",subtitle:"Uw vertrouwde partner voor al uw woningreparaties en onderhoud sinds 2011"},story:{title:"Ons Verhaal",p1:"Lucris Handyman is in 2011 opgericht met één eenvoudige missie: betrouwbare, hoogwaardige klusdiensten leveren tegen eerlijke prijzen. Wat begon als een eenmanszaak is uitgegroeid tot een vertrouwd team van vakmensen in de gemeenschap.",p2:"In de loop der jaren hebben we duizenden projecten afgerond, van kleine reparaties tot complete renovaties. Onze reputatie voor kwaliteit en uitstekende service heeft ons de vaste klusdienst in de regio gemaakt.",p3:"Vandaag houden we vast aan dezelfde waarden als vanaf het begin: integriteit, kwaliteit en klanttevredenheid. Ieder teamlid zet zich in om uw verwachtingen te overtreffen.",imageAlt:"Werkzaamheden aan woningrenovatie"},stats:{years:"Jaren actief",clients:"Tevreden klanten",projects:"Projecten afgerond",satisfaction:"Klanttevredenheid"},values:{title:"Onze waarden",subtitle:"Deze kernprincipes sturen alles wat we doen",quality:{title:"Kwaliteit voorop",description:"We doen nooit concessies aan de kwaliteit van ons werk. Elke klus wordt in één keer goed uitgevoerd."},excellence:{title:"Professionele excellentie",description:"Ons team bestaat uit bekwame, gecertificeerde vakmensen met jaren ervaring."},customer:{title:"Klantgericht",description:"Uw tevredenheid staat centraal. We luisteren naar uw wensen en leveren resultaat."},reliable:{title:"Betrouwbare service",description:"We zijn op tijd, altijd. U kunt op ons rekenen wanneer u ons nodig heeft."}},team:{title:"Maak kennis met ons team",subtitle:"Vakkundige professionals die zorgen voor uw woning",members:{john:{name:"John Mitchell",role:"Oprichter & Lead Handyman",description:"Meer dan 15 jaar ervaring in alle aspecten van woningreparatie en onderhoud."},david:{name:"David Chen",role:"Hoofdelektricien",description:"Gediplomeerd elektricien gespecialiseerd in residentiële installaties."},robert:{name:"Robert Garcia",role:"Hoofdloodgieter",description:"Expert-loodgieter met uitgebreide ervaring in reparaties en installaties."}}},certifications:{title:"Gelicentieerd & verzekerd",subtitle:"Wij beschikken over alle benodigde licenties en verzekeringen voor uw bescherming en gemoedsrust",items:["Gelicentieerde aannemer","Volledig verzekerd & gebonden","BBB-geaccrediteerd bedrijf","Master Electrician-licentie","Master Plumber-licentie","OSHA-veiligheidscertificering"]}},Wv={hero:{title:"Contact",subtitle:"Neem contact op voor een gratis offerte of om een dienst in te plannen"},info:{title:"Neem contact op",subtitle:"Heb je een vraag of wil je starten met je project? We horen graag van je. Neem contact op via een van onderstaande manieren.",phone:"Telefoon",phoneHours:"Ma-Za: 08:00-18:00",email:"E-mail",emailNote:"We reageren binnen 24 uur",address:"Adres",addressLine1:"123 Main Street",addressLine2:"New York, NY 10001",hours:"Openingstijden",hoursLine1:"Maandag - Vrijdag: 08:00 - 18:00",hoursLine2:"Zaterdag: 09:00 - 16:00",hoursLine3:"Zondag: Gesloten"},emergency:{title:"Spoedservice",subtitle:"Voor urgente reparaties buiten openingstijden, bel onze spoedlijn:"},form:{title:"Vraag een gratis offerte aan",successTitle:"Bedankt!",successMessage:"Je bericht is ontvangen. We nemen binnen 24 uur contact met je op.",fullName:"Volledige naam",fullNamePlaceholder:"Jan Jansen",phone:"Telefoonnummer",phonePlaceholder:"(555) 123-4567",email:"E-mailadres",emailPlaceholder:"jan@example.com",service:"Benodigde dienst",servicePlaceholder:"Selecteer een dienst",details:"Projectdetails",detailsPlaceholder:"Beschrijf je project in detail...",submit:"Bericht verzenden",disclaimer:"Door dit formulier te verzenden, ga je akkoord met onze voorwaarden en privacybeleid."},services:{generalRepair:"Algemene reparatie",plumbing:"Loodgieterswerk",electrical:"Elektrisch",painting:"Schilderwerk",carpentry:"Timmerwerk",homeMaintenance:"Woningonderhoud",other:"Overig"},map:{title:"Onze locatie",placeholder:"Hier wordt een kaart weergegeven (bijv. Google Maps-integratie)"}},Kv={hero:{title:"Uw vertrouwde",titleHighlight:"klusservice",subtitle:"Professionele diensten voor woningreparatie en onderhoud. Van kleine fixes tot grote renovaties — wij doen het met kwaliteit en zorg.",ctaPrimary:"Gratis offerte",ctaSecondary:"Bel nu",imageAlt:"Professionele klusser aan het werk"},features:{licensed:"Gelicentieerd & verzekerd",sameDay:"Service op dezelfde dag",quality:"Vakmanschap van kwaliteit",affordable:"Betaalbare prijzen",satisfaction:"100% tevredenheidsgarantie",emergency:"Spoedservice beschikbaar"},services:{title:"Onze diensten",subtitle:"We bieden een complete reeks klusdiensten om uw woning in topconditie te houden.",learnMore:"Meer info",viewAll:"Bekijk alle diensten",items:{plumbing:{title:"Loodgieterswerk",description:"Van lekkende kranen tot leidingreparaties — wij lossen het op."},electrical:{title:"Elektrisch",description:"Veilige en betrouwbare elektrische installaties, reparaties en upgrades."},painting:{title:"Schilderwerk",description:"Professioneel schilderwerk voor binnen en buiten."}}},about:{title:"Waarom Lucris Handyman?",subtitle:"Met meer dan 15 jaar ervaring zijn we de meest vertrouwde klusservice in de regio. Ons team levert uitzonderlijke kwaliteit en klanttevredenheid.",learnMore:"Meer over ons",imageAlt:"Gereedschap van de klusser",points:{experienced:{title:"Ervaren vakmensen",text:"Vakkundige professionals met jaren expertise"},pricing:{title:"Eerlijke & transparante prijzen",text:"Geen verborgen kosten, duidelijke offertes"},guarantee:{title:"Kwaliteit gegarandeerd",text:"100% tevreden of geld terug"}}},testimonials:{title:"Wat onze klanten zeggen",subtitle:"Geloof ons niet op ons woord — hoor het van onze klanten",items:{sarah:{name:"Sarah Johnson",text:"Uitstekende service! Ze hebben ons loodgietersprobleem snel en professioneel opgelost. Aanrader!"},mike:{name:"Mike Thompson",text:"Lucris is mijn vaste adres voor klussen. Altijd betrouwbaar, eerlijke prijzen en uitstekend werk."},emily:{name:"Emily Davis",text:"Ze hebben onze badkamer gerenoveerd en het resultaat overtrof onze verwachtingen. Echte professionals!"}}},cta:{title:"Klaar om te starten?",subtitle:"Neem vandaag nog contact op voor een gratis offerte en laat ons uw woningklussen verzorgen!",primary:"Gratis offerte",secondary:"Bel nu"}},Yv={hero:{title:"Onze diensten",subtitle:"Van kleine reparaties tot grote renovaties: wij bieden uitgebreide klusdiensten voor al uw woningverbetering."},list:{plumbing:{title:"Loodgieterswerk",description:"Vakkundige reparaties en installaties voor uw sanitair.",items:["Kraan- & armatuurreparaties","Toiletreparaties & vervanging","Leidingreparaties & lekdetectie","Afvoer reinigen","Boiler- en warmwaterservices","Plaatsing van afvalvermaler"]},electrical:{title:"Elektrisch werk",description:"Veilige en betrouwbare elektrische diensten door gecertificeerde professionals.",items:["Installatie van lichtarmaturen","Reparatie van stopcontacten & schakelaars","Plafondventilator installatie","Groepenkast & zekeringservices","Herverdading van de woning","Elektrische veiligheidsinspecties"]},painting:{title:"Schilder- & stucwerk",description:"Geef uw ruimte een nieuwe look met professioneel schilderwerk.",items:["Binnen schilderwerk","Buiten schilderwerk","Gipsplaat installatie","Gipsplaat reparatie","Structuur bijwerken","Behang verwijderen"]},carpentry:{title:"Timmerwerk",description:"Maatwerk timmerwerk voor al uw houtwerkprojecten.",items:["Maatwerk planken","Keukenkast installatie","Deur installatie & reparatie","Sierlijsten","Dekreparaties","Plinten & afwerking"]},repairs:{title:"Woningreparaties",description:"Algemene reparaties om uw woning in topconditie te houden.",items:["Raamreparaties","Deurreparaties","Sloten plaatsen","Tochtstrips","Afdichten & kitten","Kleine dakreparaties"]},maintenance:{title:"Onderhoudsdiensten",description:"Regelmatig onderhoud om toekomstige problemen te voorkomen.",items:["Seizoensinspecties","Dakgootreiniging","Hogedrukreiniging","HVAC-filter vervangen","Preventief onderhoud","Woningveiligheidschecks"]}},process:{title:"Hoe het werkt",subtitle:"Uw klus is zo geregeld met ons eenvoudige proces",items:[{title:"Neem contact op",description:"Bel of vul ons online formulier in om uw project te beschrijven"},{title:"Ontvang een offerte",description:"Krijg een eerlijke en transparante prijsopgave"},{title:"Plan de service",description:"Kies een moment dat u het beste uitkomt"},{title:"Klus afgerond",description:"We voeren het werk uit met kwaliteit en zorg"}]},cta:{title:"Een klusser nodig?",subtitle:"Neem vandaag nog contact op voor een gratis offerte voor onze diensten!",button:"Offerte aanvragen"}},Gv={hero:{title:"Projectgalerij",subtitle:"Bekijk ons portfolio van afgeronde projecten en zie de kwaliteit van ons werk"},categories:{all:"Alle",plumbing:"Loodgieterswerk",electrical:"Elektrisch",painting:"Schilderwerk",carpentry:"Timmerwerk",renovation:"Renovatie"},projects:{kitchen:{title:"Keukenrenovatie",description:"Volledige keukenrenovatie met maatwerk kasten en nieuwe armaturen"},plumbing:{title:"Loodgietersreparatie",description:"Professionele leidingreparatie en installatie van armaturen"},electrical:{title:"Elektrische installatie",description:"Veilig en betrouwbaar elektrisch werk met juiste certificering"},painting:{title:"Binnenschilderwerk",description:"Professioneel binnenschilderwerk met oog voor detail"},carpentry:{title:"Maatwerk timmerwerk",description:"Maatwerk hout- en timmerprojecten"},maintenance:{title:"Woningonderhoud",description:"Regelmatig woningonderhoud en reparatiediensten"}},empty:"Geen projecten gevonden in deze categorie."},Qv={header:Av,footer:Vv,about:Bv,contact:Wv,home:Kv,services:Yv,gallery:Gv};St.use(dv).init({resources:{en:{translation:Uv},nl:{translation:Qv}},lng:"en",fallbackLng:"en",interpolation:{escapeValue:!1}});hm.createRoot(document.getElementById("root")).render(g.jsx(_v,{}));