Files
handyman/dist/assets/index-D0ECyUx1.js
T
Dan Dobos e8d0f5b087 feat: update UI components for dark mode support and color scheme changes
- Refactored About, Contact, Gallery, Home, Services pages to enhance dark mode compatibility.
- Changed color schemes from orange to sky for various elements.
- Updated background colors and text colors to improve readability in dark mode.
- Added dark mode configuration to Tailwind CSS.
2026-02-23 13:51:44 +01:00

191 lines
346 KiB
JavaScript

function tm(n,i){for(var l=0;l<i.length;l++){const u=i[l];if(typeof u!="string"&&!Array.isArray(u)){for(const s in u)if(s!=="default"&&!(s in n)){const c=Object.getOwnPropertyDescriptor(u,s);c&&Object.defineProperty(n,s,c.get?c:{enumerable:!0,get:()=>u[s]})}}}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 s of document.querySelectorAll('link[rel="modulepreload"]'))u(s);new MutationObserver(s=>{for(const c of s)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(s){const c={};return s.integrity&&(c.integrity=s.integrity),s.referrerPolicy&&(c.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?c.credentials="include":s.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function u(s){if(s.ep)return;s.ep=!0;const c=l(s);fetch(s.href,c)}})();function rm(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Ss={exports:{}},Xi={},Ns={exports:{}},be={};/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Ld;function nm(){if(Ld)return be;Ld=1;var n=Symbol.for("react.element"),i=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),s=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(){}},L=Object.assign,T={};function F(E,D,me){this.props=E,this.context=D,this.refs=T,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=T,this.updater=me||N}var G=H.prototype=new Y;G.constructor=H,L(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 Pe(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?Pe(""+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 be.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}},be.Component=F,be.Fragment=l,be.Profiler=s,be.PureComponent=H,be.StrictMode=u,be.Suspense=p,be.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Q,be.act=W,be.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=L({},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}},be.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},be.createElement=Z,be.createFactory=function(E){var D=Z.bind(null,E);return D.type=E,D},be.createRef=function(){return{current:null}},be.forwardRef=function(E){return{$$typeof:h,render:E}},be.isValidElement=ce,be.lazy=function(E){return{$$typeof:x,_payload:{_status:-1,_result:E},_init:he}},be.memo=function(E,D){return{$$typeof:y,type:E,compare:D===void 0?null:D}},be.startTransition=function(E){var D=I.transition;I.transition={};try{E()}finally{I.transition=D}},be.unstable_act=W,be.useCallback=function(E,D){return ge.current.useCallback(E,D)},be.useContext=function(E){return ge.current.useContext(E)},be.useDebugValue=function(){},be.useDeferredValue=function(E){return ge.current.useDeferredValue(E)},be.useEffect=function(E,D){return ge.current.useEffect(E,D)},be.useId=function(){return ge.current.useId()},be.useImperativeHandle=function(E,D,me){return ge.current.useImperativeHandle(E,D,me)},be.useInsertionEffect=function(E,D){return ge.current.useInsertionEffect(E,D)},be.useLayoutEffect=function(E,D){return ge.current.useLayoutEffect(E,D)},be.useMemo=function(E,D){return ge.current.useMemo(E,D)},be.useReducer=function(E,D,me){return ge.current.useReducer(E,D,me)},be.useRef=function(E){return ge.current.useRef(E)},be.useState=function(E){return ge.current.useState(E)},be.useSyncExternalStore=function(E,D,me){return ge.current.useSyncExternalStore(E,D,me)},be.useTransition=function(){return ge.current.useTransition()},be.version="18.3.1",be}var Pd;function Il(){return Pd||(Pd=1,Ns.exports=nm()),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 bd;function im(){if(bd)return Xi;bd=1;var n=Il(),i=Symbol.for("react.element"),l=Symbol.for("react.fragment"),u=Object.prototype.hasOwnProperty,s=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:s.current}}return Xi.Fragment=l,Xi.jsx=f,Xi.jsxs=f,Xi}var Od;function am(){return Od||(Od=1,Ss.exports=im()),Ss.exports}var g=am(),El={},js={exports:{}},bt={},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 lm(){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<s(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>s(ve,W))Re<D&&0>s(Fe,ve)?(I[E]=Fe,I[Re]=W,E=Re):(I[E]=ve,I[xe]=W,E=xe);else if(Re<D&&0>s(Fe,W))I[E]=Fe,I[Re]=W,E=Re;else break e}}return Q}function s(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,L=!1,T=!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(T=!1,G(I),!L)if(l(p)!==null)L=!0,he(ue);else{var Q=l(y);Q!==null&&ge(ne,Q.startTime-I)}}function ue(I,Q){L=!1,T&&(T=!1,Y(Z),Z=-1),N=!0;var W=S;try{for(G(Q),v=l(p);v!==null&&(!(v.expirationTime>Q)||I&&!Pe());){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 Pe(){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(){L||N||(L=!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)&&(T?(Y(Z),Z=-1):T=!0,ge(ne,W-E))):(I.sortIndex=D,i(p,I),L||N||(L=!0,he(ue))),I},n.unstable_shouldYield=Pe,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 om(){return _d||(_d=1,Es.exports=lm()),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 zd;function sm(){if(zd)return bt;zd=1;var n=Il(),i=om();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,s={};function c(e,t){f(e,t),f(e+"Capture",t)}function f(e,t){for(s[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 L(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 T(e,t,r,a,o,d,m){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=a,this.attributeNamespace=o,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 T(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 T(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){F[e]=new T(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){F[e]=new T(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 T(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){F[e]=new T(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){F[e]=new T(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){F[e]=new T(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){F[e]=new T(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 T(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 T(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 T(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){F[e]=new T(e,1,!1,e.toLowerCase(),null,!1,!1)}),F.xlinkHref=new T("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){F[e]=new T(e,1,!1,e.toLowerCase(),null,!0,!0)});function G(e,t,r,a){var o=F.hasOwnProperty(t)?F[t]:null;(o!==null?o.type!==0:a||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(L(t,r,o,a)&&(r=null),a||o===null?S(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):o.mustUseProperty?e[o.propertyName]=r===null?o.type===3?!1:"":r:(t=o.attributeName,a=o.attributeNamespace,r===null?e.removeAttribute(t):(o=o.type,r=o===3||o===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"),Pe=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(z){var a=z}Reflect.construct(e,[],t)}else{try{t.call()}catch(z){a=z}e.call(t.prototype)}else{try{throw Error()}catch(z){a=z}e()}}catch(z){if(z&&a&&typeof z.stack=="string"){for(var o=z.stack.split(`
`),d=a.stack.split(`
`),m=o.length-1,w=d.length-1;1<=m&&0<=w&&o[m]!==d[w];)w--;for(;1<=m&&0<=w;m--,w--)if(o[m]!==d[w]){if(m!==1||w!==1)do if(m--,w--,0>w||o[m]!==d[w]){var j=`
`+o[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 Pe: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 o=r.get,d=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.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")?zn(e,t.type,r):t.hasOwnProperty("defaultValue")&&zn(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 zn(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 o=0;o<r.length;o++)t["$"+r[o]]=!0;for(r=0;r<e.length;r++)o=t.hasOwnProperty("$"+e[r].value),e[r].selected!==o&&(e[r].selected=o),o&&a&&(e[r].defaultSelected=!0)}else{for(r=""+Me(r),t=null,o=0;o<e.length;o++){if(e[o].value===r){e[o].selected=!0,a&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}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 Lr(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,o){MSApp.execUnsafeLocalFunction(function(){return e(t,r,a,o)})}: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 Pr(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,o=wa(r,t[r],a);r==="float"&&(r="cssFloat"),a?e.setProperty(r,o):e[r]=o}}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 Tn(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 br=null,pr=null,ir=null;function Sa(e){if(e=Di(e)){if(typeof br!="function")throw Error(l(280));var t=e.stateNode;t&&(t=Ua(t),br(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=Ua(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,o,d,m,w,j){var z=Array.prototype.slice.call(arguments,3);try{t.apply(r,z)}catch(A){this.onError(A)}}var _=!1,$=null,K=!1,oe=null,ye={onError:function(e){_=!0,$=e}};function X(e,t,r,a,o,d,m,w,j){_=!1,$=null,R.apply(ye,arguments)}function te(e,t,r,a,o,d,m,w,j){if(X.apply(this,arguments),_){if(_){var z=$;_=!1,$=null}else throw Error(l(198));K||(K=!0,oe=z)}}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 Le(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 o=r.return;if(o===null)break;var d=o.alternate;if(d===null){if(a=o.return,a!==null){r=a;continue}break}if(o.child===d.child){for(d=o.child;d;){if(d===r)return de(o),e;if(d===a)return de(o),t;d=d.sibling}throw Error(l(188))}if(r.return!==a.return)r=o,a=d;else{for(var m=!1,w=o.child;w;){if(w===r){m=!0,r=o,a=d;break}if(w===a){m=!0,a=o,r=d;break}w=w.sibling}if(!m){for(w=d.child;w;){if(w===r){m=!0,r=d,a=o;break}if(w===a){m=!0,a=d,r=o;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=Le(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 ze(e){if(xt&&typeof xt.onCommitFiberRoot=="function")try{xt.onCommitFiberRoot(mr,e,void 0,(e.current.flags&128)===128)}catch{}}var $e=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,o=e.suspendedLanes,d=e.pingedLanes,m=r&268435455;if(m!==0){var w=m&~o;w!==0?a=pn(w):(d&=m,d!==0&&(a=pn(d)))}else m=r&~o,m!==0?a=pn(m):d!==0&&(a=pn(d));if(a===0)return 0;if(t!==0&&t!==a&&(t&o)===0&&(o=a&-a,d=t&-t,o>=d||o===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-$e(t),o=1<<r,a|=e[r],t&=~o;return a}function wh(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 kh(e,t){for(var r=e.suspendedLanes,a=e.pingedLanes,o=e.expirationTimes,d=e.pendingLanes;0<d;){var m=31-$e(d),w=1<<m,j=o[m];j===-1?((w&r)===0||(w&a)!==0)&&(o[m]=wh(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-$e(t),e[t]=r}function Sh(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 o=31-$e(r),d=1<<o;t[o]=0,a[o]=-1,e[o]=-1,r&=~d}}function Bl(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var a=31-$e(r),o=1<<a;o&t|e[a]&t&&(e[a]|=t),r&=~o}}var Ue=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=[],zr=null,Tr=null,Dr=null,wi=new Map,ki=new Map,Fr=[],Nh="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":zr=null;break;case"dragenter":case"dragleave":Tr=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,o,d){return e===null||e.nativeEvent!==d?(e={blockedOn:t,domEventName:r,eventSystemFlags:a,nativeEvent:d,targetContainers:[o]},t!==null&&(t=Di(t),t!==null&&Wl(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function jh(e,t,r,a,o){switch(t){case"focusin":return zr=Si(zr,e,t,r,a,o),!0;case"dragenter":return Tr=Si(Tr,e,t,r,a,o),!0;case"mouseover":return Dr=Si(Dr,e,t,r,a,o),!0;case"pointerover":var d=o.pointerId;return wi.set(d,Si(wi.get(d)||null,e,t,r,a,o)),!0;case"gotpointercapture":return d=o.pointerId,ki.set(d,Si(ki.get(d)||null,e,t,r,a,o)),!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 Eh(){Kl=!1,zr!==null&&Ca(zr)&&(zr=null),Tr!==null&&Ca(Tr)&&(Tr=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,Eh)))}function ji(e){function t(o){return Ni(o,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(zr!==null&&Ni(zr,e),Tr!==null&&Ni(Tr,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 Ch(e,t,r,a){var o=Ue,d=In.transition;In.transition=null;try{Ue=1,Yl(e,t,r,a)}finally{Ue=o,In.transition=d}}function Rh(e,t,r,a){var o=Ue,d=In.transition;In.transition=null;try{Ue=4,Yl(e,t,r,a)}finally{Ue=o,In.transition=d}}function Yl(e,t,r,a){if(Ra){var o=Gl(e,t,r,a);if(o===null)fo(e,t,a,La,r),du(e,a);else if(jh(o,e,t,r,a))a.stopPropagation();else if(du(e,a),t&4&&-1<Nh.indexOf(e)){for(;o!==null;){var d=Di(o);if(d!==null&&ou(d),d=Gl(e,t,r,a),d===null&&fo(e,t,a,La,r),d===o)break;o=d}o!==null&&a.stopPropagation()}else fo(e,t,a,null,r)}}var La=null;function Gl(e,t,r,a){if(La=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 La=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,Pa=null;function mu(){if(Pa)return Pa;var e,t=Ql,r=t.length,a,o="value"in Ir?Ir.value:Ir.textContent,d=o.length;for(e=0;e<r&&t[e]===o[e];e++);var m=r-e;for(a=1;a<=m&&t[r-a]===o[d-a];a++);return Pa=o.slice(e,1<a?1-a:void 0)}function ba(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,o,d,m){this._reactName=r,this._targetInst=o,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}),Lh=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),Ph=W({},Ma,{dataTransfer:0}),bh=Mt(Ph),Oh=W({},Ei,{relatedTarget:0}),Zl=Mt(Oh),Mh=W({},Hn,{animationName:0,elapsedTime:0,pseudoElement:0}),_h=Mt(Mh),zh=W({},Hn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Th=Mt(zh),Dh=W({},Hn,{data:0}),vu=Mt(Dh),Fh={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ih={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"},Hh={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Uh(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Hh[e])?!!t[e]:!1}function eo(){return Uh}var $h=W({},Ei,{key:function(e){if(e.key){var t=Fh[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ba(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Ih[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"?ba(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ba(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Ah=Mt($h),Vh=W({},Ma,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),xu=Mt(Vh),Bh=W({},Ei,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:eo}),Wh=Mt(Bh),Kh=W({},Hn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Yh=Mt(Kh),Gh=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}),Qh=Mt(Gh),Jh=[9,13,27,32],to=h&&"CompositionEvent"in window,Ri=null;h&&"documentMode"in document&&(Ri=document.documentMode);var Xh=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 Jh.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 Un=!1;function qh(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 Zh(e,t){if(Un)return e==="compositionend"||!to&&Nu(e,t)?(e=mu(),Pa=Ql=Ir=null,Un=!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 ep={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"?!!ep[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 Li=null,Pi=null;function tp(e){Bu(e,0)}function _a(e){var t=Wn(e);if(nt(t))return e}function rp(e,t){if(e==="change")return t}var Ru=!1;if(h){var ro;if(h){var no="oninput"in document;if(!no){var Lu=document.createElement("div");Lu.setAttribute("oninput","return;"),no=typeof Lu.oninput=="function"}ro=no}else ro=!1;Ru=ro&&(!document.documentMode||9<document.documentMode)}function Pu(){Li&&(Li.detachEvent("onpropertychange",bu),Pi=Li=null)}function bu(e){if(e.propertyName==="value"&&_a(Pi)){var t=[];Cu(t,Pi,e,Fn(e)),yi(tp,t)}}function np(e,t,r){e==="focusin"?(Pu(),Li=t,Pi=r,Li.attachEvent("onpropertychange",bu)):e==="focusout"&&Pu()}function ip(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return _a(Pi)}function ap(e,t){if(e==="click")return _a(t)}function lp(e,t){if(e==="input"||e==="change")return _a(t)}function op(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Jt=typeof Object.is=="function"?Object.is:op;function bi(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 o=r[a];if(!p.call(t,o)||!Jt(e[o],t[o]))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 zu(){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 sp(e){var t=zu(),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 o=r.textContent.length,d=Math.min(a.start,o);a=a.end===void 0?d:Math.min(a.end,o),!e.extend&&d>a&&(o=a,a=d,d=o),o=Mu(r,d);var m=Mu(r,a);o&&m&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==m.node||e.focusOffset!==m.offset)&&(t=t.createRange(),t.setStart(o.node,o.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 up=h&&"documentMode"in document&&11>=document.documentMode,$n=null,ao=null,Oi=null,lo=!1;function Tu(e,t,r){var a=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;lo||$n==null||$n!==Qt(a)||(a=$n,"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&&bi(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=$n)))}function za(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var An={animationend:za("Animation","AnimationEnd"),animationiteration:za("Animation","AnimationIteration"),animationstart:za("Animation","AnimationStart"),transitionend:za("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 Ta(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=Ta("animationend"),Iu=Ta("animationiteration"),Hu=Ta("animationstart"),Uu=Ta("transitionend"),$u=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){$u.set(e,t),c(t,[e])}for(var so=0;so<Au.length;so++){var uo=Au[so],cp=uo.toLowerCase(),dp=uo[0].toUpperCase()+uo.slice(1);Hr(cp,"on"+dp)}Hr(Fu,"onAnimationEnd"),Hr(Iu,"onAnimationIteration"),Hr(Hu,"onAnimationStart"),Hr("dblclick","onDoubleClick"),Hr("focusin","onFocus"),Hr("focusout","onBlur"),Hr(Uu,"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(" "),fp=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],o=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,z=w.currentTarget;if(w=w.listener,j!==d&&o.isPropagationStopped())break e;Vu(o,w,z),d=j}else for(m=0;m<a.length;m++){if(w=a[m],j=w.instance,z=w.currentTarget,w=w.listener,j!==d&&o.isPropagationStopped())break e;Vu(o,w,z),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"&&(fp.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 o=Ch;break;case 4:o=Rh;break;default:o=Yl}r=o.bind(null,t,r,e),o=void 0,!vi||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),a?o!==void 0?e.addEventListener(t,r,{capture:!0,passive:o}):e.addEventListener(t,r,!0):o!==void 0?e.addEventListener(t,r,{passive:o}):e.addEventListener(t,r,!1)}function fo(e,t,r,a,o){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===o||w.nodeType===8&&w.parentNode===o)break;if(m===4)for(m=a.return;m!==null;){var j=m.tag;if((j===3||j===4)&&(j=m.stateNode.containerInfo,j===o||j.nodeType===8&&j.parentNode===o))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 z=d,A=Fn(r),V=[];e:{var U=$u.get(e);if(U!==void 0){var J=Jl,re=e;switch(e){case"keypress":if(ba(r)===0)break e;case"keydown":case"keyup":J=Ah;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=bh;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":J=Wh;break;case Fu:case Iu:case Hu:J=_h;break;case Uu:J=Yh;break;case"scroll":J=Lh;break;case"wheel":J=Qh;break;case"copy":case"cut":case"paste":J=Th;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?U!==null?U+"Capture":null:U;le=[];for(var C=z,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(zi(C,B,M)))),Ze)break;C=C.return}0<le.length&&(U=new J(U,re,null,r,A),V.push({event:U,listeners:le}))}}if((t&7)===0){e:{if(U=e==="mouseover"||e==="pointerover",J=e==="mouseout"||e==="pointerout",U&&r!==pi&&(re=r.relatedTarget||r.fromElement)&&(mn(re)||re[vr]))break e;if((J||U)&&(U=A.window===A?A:(U=A.ownerDocument)?U.defaultView||U.parentWindow:window,J?(re=r.relatedTarget||r.toElement,J=z,re=re?mn(re):null,re!==null&&(Ze=ae(re),re!==Ze||re.tag!==5&&re.tag!==6)&&(re=null)):(J=null,re=z),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?U:Wn(J),M=re==null?U:Wn(re),U=new le(B,C+"leave",J,r,A),U.target=Ze,U.relatedTarget=M,B=null,mn(A)===z&&(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,U,J,le,!1),re!==null&&Ze!==null&&Ku(V,Ze,re,le,!0)}}e:{if(U=z?Wn(z):window,J=U.nodeName&&U.nodeName.toLowerCase(),J==="select"||J==="input"&&U.type==="file")var se=rp;else if(Eu(U))if(Ru)se=lp;else{se=ip;var we=np}else(J=U.nodeName)&&J.toLowerCase()==="input"&&(U.type==="checkbox"||U.type==="radio")&&(se=ap);if(se&&(se=se(e,z))){Cu(V,se,r,A);break e}we&&we(e,U,z),e==="focusout"&&(we=U._wrapperState)&&we.controlled&&U.type==="number"&&zn(U,"number",U.value)}switch(we=z?Wn(z):window,e){case"focusin":(Eu(we)||we.contentEditable==="true")&&($n=we,ao=z,Oi=null);break;case"focusout":Oi=ao=$n=null;break;case"mousedown":lo=!0;break;case"contextmenu":case"mouseup":case"dragend":lo=!1,Tu(V,r,A);break;case"selectionchange":if(up)break;case"keydown":case"keyup":Tu(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 Un?Nu(e,r)&&(Ne="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(Ne="onCompositionStart");Ne&&(wu&&r.locale!=="ko"&&(Un||Ne!=="onCompositionStart"?Ne==="onCompositionEnd"&&Un&&(ke=mu()):(Ir=A,Ql="value"in Ir?Ir.value:Ir.textContent,Un=!0)),we=Fa(z,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=Xh?qh(e,r):Zh(e,r))&&(z=Fa(z,"onBeforeInput"),0<z.length&&(A=new vu("onBeforeInput","beforeinput",null,r,A),V.push({event:A,listeners:z}),A.data=ke))}Bu(V,t)})}function zi(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Fa(e,t){for(var r=t+"Capture",a=[];e!==null;){var o=e,d=o.stateNode;o.tag===5&&d!==null&&(o=d,d=cn(e,r),d!=null&&a.unshift(zi(e,d,o)),d=cn(e,t),d!=null&&a.push(zi(e,d,o))),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,o){for(var d=t._reactName,m=[];r!==null&&r!==a;){var w=r,j=w.alternate,z=w.stateNode;if(j!==null&&j===a)break;w.tag===5&&z!==null&&(w=z,o?(j=cn(r,d),j!=null&&m.unshift(zi(r,j,w))):o||(j=cn(r,d),j!=null&&m.push(zi(r,j,w)))),r=r.return}m.length!==0&&e.push({event:t,listeners:m})}var hp=/\r\n?/g,pp=/\u0000|\uFFFD/g;function Yu(e){return(typeof e=="string"?e:""+e).replace(hp,`
`).replace(pp,"")}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,mp=typeof clearTimeout=="function"?clearTimeout:void 0,Gu=typeof Promise=="function"?Promise:void 0,gp=typeof queueMicrotask=="function"?queueMicrotask:typeof Gu<"u"?function(e){return Gu.resolve(null).then(e).catch(yp)}:go;function yp(e){setTimeout(function(){throw e})}function yo(e,t){var r=t,a=0;do{var o=r.nextSibling;if(e.removeChild(r),o&&o.nodeType===8)if(r=o.data,r==="/$"){if(a===0){e.removeChild(o),ji(t);return}a--}else r!=="$"&&r!=="$?"&&r!=="$!"||a++;r=o}while(r);ji(t)}function Ur(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,Ti="__reactProps$"+Bn,vr="__reactContainer$"+Bn,vo="__reactEvents$"+Bn,vp="__reactListeners$"+Bn,xp="__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 Ua(e){return e[Ti]||null}var xo=[],Kn=-1;function $r(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=$r(Ar),Et=$r(!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 o={},d;for(d in r)o[d]=t[d];return a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ct(e){return e=e.childContextTypes,e!=null}function $a(){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 o in a)if(!(o in t))throw Error(l(108,Fe(e)||"Unknown",o));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 wp(e){Va=!0,Zu(e)}function Vr(){if(!wo&&xr!==null){wo=!0;var e=0,t=Ue;try{var r=xr;for(Ue=1;e<r.length;e++){var a=r[e];do a=a(!0);while(a!==null)}xr=null,Va=!1}catch(o){throw xr!==null&&(xr=xr.slice(e+1)),qe(Ht,Vr),o}finally{Ue=t,wo=!1}}return null}var Gn=[],Qn=0,Ba=null,Wa=0,Ut=[],$t=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){Ut[$t++]=wr,Ut[$t++]=kr,Ut[$t++]=yn,yn=e;var a=wr;e=kr;var o=32-$e(a)-1;a&=~(1<<o),r+=1;var d=32-$e(t)+o;if(30<d){var m=o-o%5;d=(a&(1<<m)-1).toString(32),a>>=m,o-=m,wr=1<<32-$e(t)+o|r<<o|a,kr=d+e}else wr=1<<d|r<<o|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=Ut[--$t],Ut[$t]=null,kr=Ut[--$t],Ut[$t]=null,wr=Ut[--$t],Ut[$t]=null}var _t=null,zt=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,zt=Ur(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,_t=e,zt=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,zt=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=zt;if(t){var r=t;if(!rc(e,t)){if(No(e))throw Error(l(418));t=Ur(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=zt)){if(No(e))throw ic(),Error(l(418));for(;t;)tc(e,t),t=Ur(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){zt=Ur(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}zt=null}}else zt=_t?Ur(e.stateNode.nextSibling):null;return!0}function ic(){for(var e=zt;e;)e=Ur(e.nextSibling)}function Jn(){zt=_t=null,Ye=!1}function Eo(e){Xt===null?Xt=[e]:Xt.push(e)}var kp=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 o=a,d=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===d?t.ref:(t=function(m){var w=o.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 o(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=o(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=o(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 z(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=o(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=o(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 U(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?z(P,C,M,B):null;case he:return se=M._init,U(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,z(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=U(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=U(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(em){return t(P,em)}),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=o(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=o(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=o(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=o(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=$r(null),Qa=null,qn=null,Co=null;function Ro(){Co=qn=Qa=null}function Lo(e){var t=Ga.current;We(Ga),e._currentValue=t}function Po(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 bo(e){xn===null?xn=[e]:xn.push(e)}function sc(e,t,r,a){var o=t.interleaved;return o===null?(r.next=r,bo(t)):(r.next=o.next,o.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,(Te&2)!==0){var o=a.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),a.pending=t,Sr(e,r)}return o=a.interleaved,o===null?(t.next=t,bo(a)):(t.next=o.next,o.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 o=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?o=d=m:d=d.next=m,r=r.next}while(r!==null);d===null?o=d=t:d=d.next=t}else o=d=t;r={baseState:a.baseState,firstBaseUpdate:o,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 o=e.updateQueue;Br=!1;var d=o.firstBaseUpdate,m=o.lastBaseUpdate,w=o.shared.pending;if(w!==null){o.shared.pending=null;var j=w,z=j.next;j.next=null,m===null?d=z:m.next=z,m=j;var A=e.alternate;A!==null&&(A=A.updateQueue,w=A.lastBaseUpdate,w!==m&&(w===null?A.firstBaseUpdate=z:w.next=z,A.lastBaseUpdate=j))}if(d!==null){var V=o.baseState;m=0,A=z=j=null,w=d;do{var U=w.lane,J=w.eventTime;if((a&U)===U){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(U=t,J=r,le.tag){case 1:if(re=le.payload,typeof re=="function"){V=re.call(J,V,U);break e}V=re;break e;case 3:re.flags=re.flags&-65537|128;case 0:if(re=le.payload,U=typeof re=="function"?re.call(J,V,U):re,U==null)break e;V=W({},V,U);break e;case 2:Br=!0}}w.callback!==null&&w.lane!==0&&(e.flags|=64,U=o.effects,U===null?o.effects=[w]:U.push(w))}else J={eventTime:J,lane:U,tag:w.tag,payload:w.payload,callback:w.callback,next:null},A===null?(z=A=J,j=V):A=A.next=J,m|=U;if(w=w.next,w===null){if(w=o.shared.pending,w===null)break;U=w,w=U.next,U.next=null,o.lastBaseUpdate=U,o.shared.pending=null}}while(!0);if(A===null&&(j=V),o.baseState=j,o.firstBaseUpdate=z,o.lastBaseUpdate=A,t=o.shared.interleaved,t!==null){o=t;do m|=o.lane,o=o.next;while(o!==t)}else d===null&&(o.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],o=a.callback;if(o!==null){if(a.callback=null,a=r,typeof o!="function")throw Error(l(191,o));o.call(a)}}}var Ii={},or=$r(Ii),Hi=$r(Ii),Ui=$r(Ii);function wn(e){if(e===Ii)throw Error(l(174));return e}function Mo(e,t){switch(Ve(Ui,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(Ui)}function fc(e){wn(Ui.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 Ge=$r(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 zo=[];function To(){for(var e=0;e<zo.length;e++)zo[e]._workInProgressVersionPrimary=null;zo.length=0}var Za=ne.ReactCurrentDispatcher,Do=ne.ReactCurrentBatchConfig,kn=0,Qe=null,it=null,ot=null,el=!1,$i=!1,Ai=0,Sp=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,o,d){if(kn=d,Qe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Za.current=e===null||e.memoizedState===null?Cp:Rp,e=r(a,o),$i){d=0;do{if($i=!1,Ai=0,25<=d)throw Error(l(301));d+=1,ot=it=null,t.updateQueue=null,Za.current=Lp,e=r(a,o)}while($i)}if(Za.current=nl,t=it!==null&&it.next!==null,kn=0,ot=it=Qe=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?Qe.memoizedState=ot=e:ot=ot.next=e,ot}function Vt(){if(it===null){var e=Qe.alternate;e=e!==null?e.memoizedState:null}else e=it.next;var t=ot===null?Qe.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?Qe.memoizedState=ot=e:ot=ot.next=e}return ot}function Vi(e,t){return typeof t=="function"?t(e):t}function Uo(e){var t=Vt(),r=t.queue;if(r===null)throw Error(l(311));r.lastRenderedReducer=e;var a=it,o=a.baseQueue,d=r.pending;if(d!==null){if(o!==null){var m=o.next;o.next=d.next,d.next=m}a.baseQueue=o=d,r.pending=null}if(o!==null){d=o.next,a=a.baseState;var w=m=null,j=null,z=d;do{var A=z.lane;if((kn&A)===A)j!==null&&(j=j.next={lane:0,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null}),a=z.hasEagerState?z.eagerState:e(a,z.action);else{var V={lane:A,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null};j===null?(w=j=V,m=a):j=j.next=V,Qe.lanes|=A,Sn|=A}z=z.next}while(z!==null&&z!==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){o=e;do d=o.lane,Qe.lanes|=d,Sn|=d,o=o.next;while(o!==e)}else o===null&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function $o(e){var t=Vt(),r=t.queue;if(r===null)throw Error(l(311));r.lastRenderedReducer=e;var a=r.dispatch,o=r.pending,d=t.memoizedState;if(o!==null){r.pending=null;var m=o=o.next;do d=e(d,m.action),m=m.next;while(m!==o);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=Qe,a=Vt(),o=t(),d=!Jt(a.memoizedState,o);if(d&&(a.memoizedState=o,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,o,t),void 0,null),st===null)throw Error(l(349));(kn&30)!==0||mc(r,t,o)}return o}function mc(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=Qe.updateQueue,t===null?(t={lastEffect:null,stores:null},Qe.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=Ep.bind(null,Qe,e),[t.memoizedState,e]}function Bi(e,t,r,a){return e={tag:e,create:t,destroy:r,deps:a,next:null},t=Qe.updateQueue,t===null?(t={lastEffect:null,stores:null},Qe.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 o=sr();Qe.flags|=e,o.memoizedState=Bi(1|t,r,void 0,a===void 0?null:a)}function rl(e,t,r,a){var o=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)){o.memoizedState=Bi(t,r,d,a);return}}Qe.flags|=e,o.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 Lc(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 Pc(e,t,r){return(kn&21)===0?(e.baseState&&(e.baseState=!1,Rt=!0),e.memoizedState=r):(Jt(r,t)||(r=au(),Qe.lanes|=r,Sn|=r,e.baseState=!0),t)}function Np(e,t){var r=Ue;Ue=r!==0&&4>r?r:4,e(!0);var a=Do.transition;Do.transition={};try{e(!1),t()}finally{Ue=r,Do.transition=a}}function bc(){return Vt().memoizedState}function jp(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 o=kt();tr(r,e,a,o),_c(r,t,a)}}function Ep(e,t,r){var a=Qr(e),o={lane:a,action:r,hasEagerState:!1,eagerState:null,next:null};if(Oc(e))Mc(t,o);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(o.hasEagerState=!0,o.eagerState=w,Jt(w,m)){var j=t.interleaved;j===null?(o.next=o,bo(t)):(o.next=j.next,j.next=o),t.interleaved=o;return}}catch{}finally{}r=sc(e,t,o,a),r!==null&&(o=kt(),tr(r,e,a,o),_c(r,t,a))}}function Oc(e){var t=e.alternate;return e===Qe||t!==null&&t===Qe}function Mc(e,t){$i=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},Cp={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=jp.bind(null,Qe,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=Np.bind(null,e[1]),sr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var a=Qe,o=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)}o.memoizedState=r;var d={value:r,getSnapshot:t};return o.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-$e(a)-1)).toString(32)+r,t=":"+t+"R"+r,r=Ai++,0<r&&(t+="H"+r.toString(32)),t+=":"}else r=Sp++,t=":"+t+"r"+r.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Rp={readContext:At,useCallback:Rc,useContext:At,useEffect:Ao,useImperativeHandle:Cc,useInsertionEffect:Nc,useLayoutEffect:jc,useMemo:Lc,useReducer:Uo,useRef:kc,useState:function(){return Uo(Vi)},useDebugValue:Vo,useDeferredValue:function(e){var t=Vt();return Pc(t,it.memoizedState,e)},useTransition:function(){var e=Uo(Vi)[0],t=Vt().memoizedState;return[e,t]},useMutableSource:hc,useSyncExternalStore:pc,useId:bc,unstable_isNewReconciler:!1},Lp={readContext:At,useCallback:Rc,useContext:At,useEffect:Ao,useImperativeHandle:Cc,useInsertionEffect:Nc,useLayoutEffect:jc,useMemo:Lc,useReducer:$o,useRef:kc,useState:function(){return $o(Vi)},useDebugValue:Vo,useDeferredValue:function(e){var t=Vt();return it===null?t.memoizedState=e:Pc(t,it.memoizedState,e)},useTransition:function(){var e=$o(Vi)[0],t=Vt().memoizedState;return[e,t]},useMutableSource:hc,useSyncExternalStore:pc,useId:bc,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(),o=Qr(e),d=Nr(a,o);d.payload=t,r!=null&&(d.callback=r),t=Wr(e,d,o),t!==null&&(tr(t,e,o,a),Ja(t,e,o))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var a=kt(),o=Qr(e),d=Nr(a,o);d.tag=1,d.payload=t,r!=null&&(d.callback=r),t=Wr(e,d,o),t!==null&&(tr(t,e,o,a),Ja(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=kt(),a=Qr(e),o=Nr(r,a);o.tag=2,t!=null&&(o.callback=t),t=Wr(e,o,a),t!==null&&(tr(t,e,a,r),Ja(t,e,a))}};function zc(e,t,r,a,o,d,m){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,d,m):t.prototype&&t.prototype.isPureReactComponent?!bi(r,a)||!bi(o,d):!0}function Tc(e,t,r){var a=!1,o=Ar,d=t.contextType;return typeof d=="object"&&d!==null?d=At(d):(o=Ct(t)?gn:ht.current,a=t.contextTypes,d=(a=a!=null)?Yn(e,o):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=o,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 o=e.stateNode;o.props=r,o.state=e.memoizedState,o.refs={},Oo(e);var d=t.contextType;typeof d=="object"&&d!==null?o.context=At(d):(d=Ct(t)?gn:ht.current,o.context=Yn(e,d)),o.state=e.memoizedState,d=t.getDerivedStateFromProps,typeof d=="function"&&(Bo(e,t,d,r),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&il.enqueueReplaceState(o,o.state,null),Xa(e,r,o,a),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function ti(e,t){try{var r="",a=t;do r+=ve(a),a=a.return;while(a);var o=r}catch(d){o=`
Error generating stack: `+d.message+`
`+d.stack}return{value:e,source:t,stack:o,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 Pp=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 o=t.value;r.payload=function(){return a(o)},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 Pp;var o=new Set;a.set(t,o)}else o=a.get(t),o===void 0&&(o=new Set,a.set(t,o));o.has(r)||(o.add(r),e=Vp.bind(null,e,t,r),t.then(e,e))}function Uc(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 $c(e,t,r,a,o){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=o,e)}var bp=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,o){r=r.render;var d=t.ref;return Zn(t,o),a=Io(e,t,r,a,d,o),r=Ho(),e!==null&&!Rt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,jr(e,t,o)):(Ye&&r&&ko(t),t.flags|=1,wt(e,t,a,o),t.child)}function Vc(e,t,r,a,o){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,o)):(e=yl(r.type,null,a,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(d=e.child,(e.lanes&o)===0){var m=d.memoizedProps;if(r=r.compare,r=r!==null?r:bi,r(m,a)&&e.ref===t.ref)return jr(e,t,o)}return t.flags|=1,e=Xr(d,a),e.ref=t.ref,e.return=t,t.child=e}function Bc(e,t,r,a,o){if(e!==null){var d=e.memoizedProps;if(bi(d,a)&&e.ref===t.ref)if(Rt=!1,t.pendingProps=a=d,(e.lanes&o)!==0)(e.flags&131072)!==0&&(Rt=!0);else return t.lanes=e.lanes,jr(e,t,o)}return Go(e,t,r,a,o)}function Wc(e,t,r){var a=t.pendingProps,o=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,Tt),Tt|=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,Tt),Tt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},a=d!==null?d.baseLanes:r,Ve(ni,Tt),Tt|=a}else d!==null?(a=d.baseLanes|r,t.memoizedState=null):a=r,Ve(ni,Tt),Tt|=a;return wt(e,t,o,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,o){var d=Ct(r)?gn:ht.current;return d=Yn(t,d),Zn(t,o),r=Io(e,t,r,a,d,o),a=Ho(),e!==null&&!Rt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,jr(e,t,o)):(Ye&&a&&ko(t),t.flags|=1,wt(e,t,r,o),t.child)}function Yc(e,t,r,a,o){if(Ct(r)){var d=!0;Aa(t)}else d=!1;if(Zn(t,o),t.stateNode===null)ll(e,t),Tc(t,r,a),Wo(t,r,a,o),a=!0;else if(e===null){var m=t.stateNode,w=t.memoizedProps;m.props=w;var j=m.context,z=r.contextType;typeof z=="object"&&z!==null?z=At(z):(z=Ct(r)?gn:ht.current,z=Yn(t,z));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!==z)&&Dc(t,m,a,z),Br=!1;var U=t.memoizedState;m.state=U,Xa(t,a,m,o),j=t.memoizedState,w!==a||U!==j||Et.current||Br?(typeof A=="function"&&(Bo(t,r,A,a),j=t.memoizedState),(w=Br||zc(t,r,w,a,U,j,z))?(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=z,a=w):(typeof m.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{m=t.stateNode,uc(e,t),w=t.memoizedProps,z=t.type===t.elementType?w:qt(t.type,w),m.props=z,V=t.pendingProps,U=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||U!==j)&&Dc(t,m,a,j),Br=!1,U=t.memoizedState,m.state=U,Xa(t,a,m,o);var re=t.memoizedState;w!==V||U!==re||Et.current||Br?(typeof J=="function"&&(Bo(t,r,J,a),re=t.memoizedState),(z=Br||zc(t,r,z,a,U,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&&U===e.memoizedState||(t.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||w===e.memoizedProps&&U===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=re),m.props=a,m.state=re,m.context=j,a=z):(typeof m.componentDidUpdate!="function"||w===e.memoizedProps&&U===e.memoizedState||(t.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||w===e.memoizedProps&&U===e.memoizedState||(t.flags|=1024),a=!1)}return Qo(e,t,r,a,d,o)}function Qo(e,t,r,a,o,d){Kc(e,t);var m=(t.flags&128)!==0;if(!a&&!m)return o&&qu(t,r,!1),jr(e,t,d);a=t.stateNode,bp.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,o&&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,o){return Jn(),Eo(o),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,o=Ge.current,d=!1,m=(t.flags&128)!==0,w;if((w=m)||(w=e!==null&&e.memoizedState===null?!1:(o&2)!==0),w?(d=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),Ve(Ge,o&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(o=e.memoizedState,o!==null&&(w=o.dehydrated,w!==null))return Op(e,t,m,a,w,o,r);if(d){d=a.fallback,m=t.mode,o=e.child,w=o.sibling;var j={mode:"hidden",children:a.children};return(m&1)===0&&t.child!==o?(a=t.child,a.childLanes=0,a.pendingProps=j,t.deletions=null):(a=Xr(o,j),a.subtreeFlags=o.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 Op(e,t,r,a,o,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,o=t.mode,a=vl({mode:"visible",children:a.children},o,0,null),d=Cn(d,o,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(o.data==="$!"){if(a=o.nextSibling&&o.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:o=2;break;case 16:o=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:o=32;break;case 536870912:o=268435456;break;default:o=0}o=(o&(a.suspendedLanes|m))!==0?0:o,o!==0&&o!==d.retryLane&&(d.retryLane=o,Sr(e,o),tr(a,e,o,-1))}return ps(),a=Ko(Error(l(421))),al(e,t,m,a)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=Bp.bind(null,e),o._reactRetry=t,null):(e=d.treeContext,zt=Ur(o.nextSibling),_t=t,Ye=!0,Xt=null,e!==null&&(Ut[$t++]=wr,Ut[$t++]=kr,Ut[$t++]=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),Po(e.return,t,r)}function Zo(e,t,r,a,o){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:r,tailMode:o}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=a,d.tail=r,d.tailMode=o)}function qc(e,t,r){var a=t.pendingProps,o=a.revealOrder,d=a.tail;if(wt(e,t,a.children,r),a=Ge.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(Ge,a),(t.mode&1)===0)t.memoizedState=null;else switch(o){case"forwards":for(r=t.child,o=null;r!==null;)e=r.alternate,e!==null&&qa(e)===null&&(o=r),r=r.sibling;r=o,r===null?(o=t.child,t.child=null):(o=r.sibling,r.sibling=null),Zo(t,!1,o,r,d);break;case"backwards":for(r=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&qa(e)===null){t.child=o;break}e=o.sibling,o.sibling=r,r=o,o=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 Mp(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,o=t.memoizedProps.value;Ve(Ga,a._currentValue),a._currentValue=o;break;case 13:if(a=t.memoizedState,a!==null)return a.dehydrated!==null?(Ve(Ge,Ge.current&1),t.flags|=128,null):(r&t.child.childLanes)!==0?Jc(e,t,r):(Ve(Ge,Ge.current&1),e=jr(e,t,r),e!==null?e.sibling:null);Ve(Ge,Ge.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(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Ve(Ge,Ge.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 o=e.memoizedProps;if(o!==a){e=t.stateNode,wn(or.current);var d=null;switch(r){case"input":o=_n(e,o),a=_n(e,a),d=[];break;case"select":o=W({},o,{value:void 0}),a=W({},a,{value:void 0}),d=[];break;case"textarea":o=di(e,o),a=di(e,a),d=[];break;default:typeof o.onClick!="function"&&typeof a.onClick=="function"&&(e.onclick=Ha)}Tn(r,a);var m;r=null;for(z in o)if(!a.hasOwnProperty(z)&&o.hasOwnProperty(z)&&o[z]!=null)if(z==="style"){var w=o[z];for(m in w)w.hasOwnProperty(m)&&(r||(r={}),r[m]="")}else z!=="dangerouslySetInnerHTML"&&z!=="children"&&z!=="suppressContentEditableWarning"&&z!=="suppressHydrationWarning"&&z!=="autoFocus"&&(s.hasOwnProperty(z)?d||(d=[]):(d=d||[]).push(z,null));for(z in a){var j=a[z];if(w=o!=null?o[z]:void 0,a.hasOwnProperty(z)&&j!==w&&(j!=null||w!=null))if(z==="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(z,r)),r=j;else z==="dangerouslySetInnerHTML"?(j=j?j.__html:void 0,w=w?w.__html:void 0,j!=null&&w!==j&&(d=d||[]).push(z,j)):z==="children"?typeof j!="string"&&typeof j!="number"||(d=d||[]).push(z,""+j):z!=="suppressContentEditableWarning"&&z!=="suppressHydrationWarning"&&(s.hasOwnProperty(z)?(j!=null&&z==="onScroll"&&Be("scroll",e),d||w===j||(d=[])):(d=d||[]).push(z,j))}r&&(d=d||[]).push("style",r);var z=d;(t.updateQueue=z)&&(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 o=e.child;o!==null;)r|=o.lanes|o.childLanes,a|=o.subtreeFlags&14680064,a|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)r|=o.lanes|o.childLanes,a|=o.subtreeFlags,a|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=a,e.childLanes=r,t}function _p(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)&&$a(),mt(t),null;case 3:return a=t.stateNode,ei(),We(Et),We(ht),To(),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 o=wn(Ui.current);if(r=t.type,e!==null&&t.stateNode!=null)ed(e,t,r,a,o),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[Ti]=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(o=0;o<Mi.length;o++)Be(Mi[o],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)}Tn(r,d),o=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),o=["children",w]):typeof w=="number"&&a.textContent!==""+w&&(d.suppressHydrationWarning!==!0&&Ia(a.textContent,w,e),o=["children",""+w]):s.hasOwnProperty(m)&&w!=null&&m==="onScroll"&&Be("scroll",a)}switch(r){case"input":Mn(a),va(a,d,!0);break;case"textarea":Mn(a),Lr(a);break;case"select":case"option":break;default:typeof d.onClick=="function"&&(a.onclick=Ha)}a=o,t.updateQueue=a,a!==null&&(t.flags|=4)}else{m=o.nodeType===9?o:o.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[Ti]=a,Zc(e,t,!1,!1),t.stateNode=e;e:{switch(m=Dn(r,a),r){case"dialog":Be("cancel",e),Be("close",e),o=a;break;case"iframe":case"object":case"embed":Be("load",e),o=a;break;case"video":case"audio":for(o=0;o<Mi.length;o++)Be(Mi[o],e);o=a;break;case"source":Be("error",e),o=a;break;case"img":case"image":case"link":Be("error",e),Be("load",e),o=a;break;case"details":Be("toggle",e),o=a;break;case"input":ya(e,a),o=_n(e,a),Be("invalid",e);break;case"option":o=a;break;case"select":e._wrapperState={wasMultiple:!!a.multiple},o=W({},a,{value:void 0}),Be("invalid",e);break;case"textarea":xa(e,a),o=di(e,a),Be("invalid",e);break;default:o=a}Tn(r,o),w=o;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!=="")&&Pr(e,j):typeof j=="number"&&Pr(e,""+j):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(s.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),Lr(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 o.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(Ui.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(Ge),a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Ye&&zt!==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||(Ge.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 Lo(t.type._context),mt(t),null;case 17:return Ct(t.type)&&$a(),mt(t),null;case 19:if(We(Ge),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(Ge,Ge.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=Ge.current,Ve(Ge,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?(Tt&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 zp(e,t){switch(So(t),t.tag){case 1:return Ct(t.type)&&$a(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ei(),We(Et),We(ht),To(),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(Ge),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(Ge),null;case 4:return ei(),null;case 10:return Lo(t.type._context),null;case 22:case 23:return hs(),null;case 24:return null;default:return null}}var ol=!1,gt=!1,Tp=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){Je(e,t,a)}else r.current=null}function ts(e,t,r){try{r()}catch(a){Je(e,t,a)}}var rd=!1;function Dp(e,t){if(ho=Ra,e=zu(),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 o=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,z=0,A=0,V=e,U=null;t:for(;;){for(var J;V!==r||o!==0&&V.nodeType!==3||(w=m+o),V!==d||a!==0&&V.nodeType!==3||(j=m+a),V.nodeType===3&&(m+=V.nodeValue.length),(J=V.firstChild)!==null;)U=V,V=J;for(;;){if(V===e)break t;if(U===r&&++z===o&&(w=m),U===d&&++A===a&&(j=m),(J=V.nextSibling)!==null)break;V=U,U=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){Je(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 o=a=a.next;do{if((o.tag&e)===e){var d=o.destroy;o.destroy=void 0,d!==void 0&&ts(t,r,d)}o=o.next}while(o!==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[Ti],delete t[vo],delete t[vp],delete t[xp])),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,o=Zt;dt=null,Kr(e,t,r),dt=a,Zt=o,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,o=Zt,dt=r.stateNode.containerInfo,Zt=!0,Kr(e,t,r),dt=a,Zt=o;break;case 0:case 11:case 14:case 15:if(!gt&&(a=r.updateQueue,a!==null&&(a=a.lastEffect,a!==null))){o=a=a.next;do{var d=o,m=d.destroy;d=d.tag,m!==void 0&&((d&2)!==0||(d&4)!==0)&&ts(r,t,m),o=o.next}while(o!==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){Je(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 Tp),t.forEach(function(a){var o=Wp.bind(null,e,a);r.has(a)||(r.add(a),a.then(o,o))})}}function er(e,t){var r=t.deletions;if(r!==null)for(var a=0;a<r.length;a++){var o=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,o),dt=null,Zt=!1;var j=o.alternate;j!==null&&(j.return=null),o.return=null}catch(z){Je(o,t,z)}}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){Je(e,e.return,le)}try{Ki(5,e,e.return)}catch(le){Je(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 o=e.stateNode;try{Pr(o,"")}catch(le){Je(e,e.return,le)}}if(a&4&&(o=e.stateNode,o!=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(o,d),Dn(w,m);var z=Dn(w,d);for(m=0;m<j.length;m+=2){var A=j[m],V=j[m+1];A==="style"?It(o,V):A==="dangerouslySetInnerHTML"?Ft(o,V):A==="children"?Pr(o,V):G(o,A,V,z)}switch(w){case"input":ci(o,d);break;case"textarea":nr(o,d);break;case"select":var U=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!d.multiple;var J=d.value;J!=null?Rr(o,!!d.multiple,J,!1):U!==!!d.multiple&&(d.defaultValue!=null?Rr(o,!!d.multiple,d.defaultValue,!0):Rr(o,!!d.multiple,d.multiple?[]:"",!1))}o[Ti]=d}catch(le){Je(e,e.return,le)}}break;case 6:if(er(t,e),ur(e),a&4){if(e.stateNode===null)throw Error(l(162));o=e.stateNode,d=e.memoizedProps;try{o.nodeValue=d}catch(le){Je(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){Je(e,e.return,le)}break;case 4:er(t,e),ur(e);break;case 13:er(t,e),ur(e),o=e.child,o.flags&8192&&(d=o.memoizedState!==null,o.stateNode.isHidden=d,!d||o.alternate!==null&&o.alternate.memoizedState!==null||(os=He())),a&4&&od(e);break;case 22:if(A=r!==null&&r.memoizedState!==null,e.mode&1?(gt=(z=gt)||A,er(t,e),gt=z):er(t,e),ur(e),a&8192){if(z=e.memoizedState!==null,(e.stateNode.isHidden=z)&&!A&&(e.mode&1)!==0)for(q=e,A=e.child;A!==null;){for(V=q=A;q!==null;){switch(U=q,J=U.child,U.tag){case 0:case 11:case 14:case 15:Ki(4,U,U.return);break;case 1:ri(U,U.return);var re=U.stateNode;if(typeof re.componentWillUnmount=="function"){a=U,r=U.return;try{t=a,re.props=t.memoizedProps,re.state=t.memoizedState,re.componentWillUnmount()}catch(le){Je(a,r,le)}}break;case 5:ri(U,U.return);break;case 22:if(U.memoizedState!==null){dd(V);continue}}J!==null?(J.return=U,q=J):dd(V)}A=A.sibling}e:for(A=null,V=e;;){if(V.tag===5){if(A===null){A=V;try{o=V.stateNode,z?(d=o.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){Je(e,e.return,le)}}}else if(V.tag===6){if(A===null)try{V.stateNode.nodeValue=z?"":V.memoizedProps}catch(le){Je(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 o=a.stateNode;a.flags&32&&(Pr(o,""),a.flags&=-33);var d=ad(e);is(e,d,o);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){Je(e,e.return,j)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Fp(e,t,r){q=e,ud(e)}function ud(e,t,r){for(var a=(e.mode&1)!==0;q!==null;){var o=q,d=o.child;if(o.tag===22&&a){var m=o.memoizedState!==null||ol;if(!m){var w=o.alternate,j=w!==null&&w.memoizedState!==null||gt;w=ol;var z=gt;if(ol=m,(gt=j)&&!z)for(q=o;q!==null;)m=q,j=m.child,m.tag===22&&m.memoizedState!==null?fd(o):j!==null?(j.return=m,q=j):fd(o);for(;d!==null;)q=d,ud(d),d=d.sibling;q=o,ol=w,gt=z}cd(e)}else(o.subtreeFlags&8772)!==0&&d!==null?(d.return=o,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 o=t.elementType===t.type?r.memoizedProps:qt(t.type,r.memoizedProps);a.componentDidUpdate(o,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 z=t.alternate;if(z!==null){var A=z.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(U){Je(t,t.return,U)}}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){Je(t,r,j)}break;case 1:var a=t.stateNode;if(typeof a.componentDidMount=="function"){var o=t.return;try{a.componentDidMount()}catch(j){Je(t,o,j)}}var d=t.return;try{rs(t)}catch(j){Je(t,d,j)}break;case 5:var m=t.return;try{rs(t)}catch(j){Je(t,m,j)}}}catch(j){Je(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 Ip=Math.ceil,ul=ne.ReactCurrentDispatcher,as=ne.ReactCurrentOwner,Bt=ne.ReactCurrentBatchConfig,Te=0,st=null,tt=null,ft=0,Tt=0,ni=$r(0),at=0,Yi=null,Sn=0,cl=0,ls=0,Gi=null,Lt=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(Te&6)!==0?He():pl!==-1?pl:pl=He()}function Qr(e){return(e.mode&1)===0?1:(Te&2)!==0&&ft!==0?ft&-ft:kp.transition!==null?(ml===0&&(ml=au()),ml):(e=Ue,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),((Te&2)===0||e!==st)&&(e===st&&((Te&2)===0&&(cl|=r),at===4&&Jr(e,ft)),Pt(e,a),r===1&&Te===0&&(t.mode&1)===0&&(ii=He()+500,Va&&Vr()))}function Pt(e,t){var r=e.callbackNode;kh(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?wp(pd.bind(null,e)):Zu(pd.bind(null,e)),gp(function(){(Te&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,(Te&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 o=Te;Te|=2;var d=gd();(st!==e||ft!==t)&&(Er=null,ii=He()+500,jn(e,t));do try{$p();break}catch(w){md(e,w)}while(!0);Ro(),ul.current=d,Te=o,tt!==null?t=0:(st=null,ft=0,t=at)}if(t!==0){if(t===2&&(o=Al(e),o!==0&&(a=o,t=cs(e,o))),t===1)throw r=Yi,jn(e,0),Jr(e,a),Pt(e,He()),r;if(t===6)Jr(e,a);else{if(o=e.current.alternate,(a&30)===0&&!Hp(o)&&(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),Pt(e,He()),r;switch(e.finishedWork=o,e.finishedLanes=a,t){case 0:case 1:throw Error(l(345));case 2:En(e,Lt,Er);break;case 3:if(Jr(e,a),(a&130023424)===a&&(t=os+500-He(),10<t)){if(ja(e,0)!==0)break;if(o=e.suspendedLanes,(o&a)!==a){kt(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=go(En.bind(null,e,Lt,Er),t);break}En(e,Lt,Er);break;case 4:if(Jr(e,a),(a&4194240)===a)break;for(t=e.eventTimes,o=-1;0<a;){var m=31-$e(a);d=1<<m,m=t[m],m>o&&(o=m),a&=~d}if(a=o,a=He()-a,a=(120>a?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*Ip(a/1960))-a,10<a){e.timeoutHandle=go(En.bind(null,e,Lt,Er),a);break}En(e,Lt,Er);break;case 5:En(e,Lt,Er);break;default:throw Error(l(329))}}}return Pt(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=Lt,Lt=r,t!==null&&ds(t)),e}function ds(e){Lt===null?Lt=e:Lt.push.apply(Lt,e)}function Hp(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 o=r[a],d=o.getSnapshot;o=o.value;try{if(!Jt(d(),o))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-$e(t),a=1<<r;e[r]=-1,t&=~a}}function pd(e){if((Te&6)!==0)throw Error(l(327));ai();var t=ja(e,0);if((t&1)===0)return Pt(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),Pt(e,He()),r;if(r===6)throw Error(l(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,En(e,Lt,Er),Pt(e,He()),null}function fs(e,t){var r=Te;Te|=1;try{return e(t)}finally{Te=r,Te===0&&(ii=He()+500,Va&&Vr())}}function Nn(e){Gr!==null&&Gr.tag===0&&(Te&6)===0&&ai();var t=Te;Te|=1;var r=Bt.transition,a=Ue;try{if(Bt.transition=null,Ue=1,e)return e()}finally{Ue=a,Bt.transition=r,Te=t,(Te&6)===0&&Vr()}}function hs(){Tt=ni.current,We(ni)}function jn(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,mp(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&&$a();break;case 3:ei(),We(Et),We(ht),To();break;case 5:_o(a);break;case 4:ei();break;case 13:We(Ge);break;case 19:We(Ge);break;case 10:Lo(a.type._context);break;case 22:case 23:hs()}r=r.return}if(st=e,tt=e=Xr(e.current,null),ft=Tt=t,at=0,Yi=null,ls=cl=Sn=0,Lt=Gi=null,xn!==null){for(t=0;t<xn.length;t++)if(r=xn[t],a=r.interleaved,a!==null){r.interleaved=null;var o=a.next,d=r.pending;if(d!==null){var m=d.next;d.next=o,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=Qe.memoizedState;a!==null;){var o=a.queue;o!==null&&(o.pending=null),a=a.next}el=!1}if(kn=0,ot=it=Qe=null,$i=!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 z=j,A=w,V=A.tag;if((A.mode&1)===0&&(V===0||V===11||V===15)){var U=A.alternate;U?(A.updateQueue=U.updateQueue,A.memoizedState=U.memoizedState,A.lanes=U.lanes):(A.updateQueue=null,A.memoizedState=null)}var J=Uc(m);if(J!==null){J.flags&=-257,$c(J,m,w,d,t),J.mode&1&&Hc(d,z,t),t=J,j=z;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,z,t),ps();break e}j=Error(l(426))}}else if(Ye&&w.mode&1){var Ze=Uc(m);if(Ze!==null){(Ze.flags&65536)===0&&(Ze.flags|=256),$c(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=Te;Te|=2;var a=gd();(st!==e||ft!==t)&&(Er=null,jn(e,t));do try{Up();break}catch(o){md(e,o)}while(!0);if(Ro(),Te=r,ul.current=a,tt!==null)throw Error(l(261));return st=null,ft=0,at}function Up(){for(;tt!==null;)yd(tt)}function $p(){for(;tt!==null&&!Ie();)yd(tt)}function yd(e){var t=kd(e.alternate,e,Tt);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=_p(r,t,Tt),r!==null){tt=r;return}}else{if(r=zp(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=Ue,o=Bt.transition;try{Bt.transition=null,Ue=1,Ap(e,t,r,a)}finally{Bt.transition=o,Ue=a}return null}function Ap(e,t,r,a){do ai();while(Gr!==null);if((Te&6)!==0)throw Error(l(327));r=e.finishedWork;var o=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(Sh(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=Ue;Ue=1;var w=Te;Te|=4,as.current=null,Dp(e,r),sd(r,e),sp(po),Ra=!!ho,po=ho=null,e.current=r,Fp(r),jt(),Te=w,Ue=m,Bt.transition=d}else e.current=r;if(fl&&(fl=!1,Gr=e,hl=o),d=e.pendingLanes,d===0&&(Yr=null),ze(r.stateNode),Pt(e,He()),t!==null)for(a=e.onRecoverableError,r=0;r<t.length;r++)o=t[r],a(o.value,{componentStack:o.stack,digest:o.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=Ue;try{if(Bt.transition=null,Ue=16>e?16:e,Gr===null)var a=!1;else{if(e=Gr,Gr=null,hl=0,(Te&6)!==0)throw Error(l(331));var o=Te;for(Te|=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 z=w[j];for(q=z;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 U=A.sibling,J=A.return;if(nd(A),A===z){q=null;break}if(U!==null){U.return=J,q=U;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){Je(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(Te=o,Vr(),xt&&typeof xt.onPostCommitFiberRoot=="function")try{xt.onPostCommitFiberRoot(mr,e)}catch{}a=!0}return a}finally{Ue=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),Pt(e,t))}function Je(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),Pt(t,e));break}}t=t.return}}function Vp(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),Pt(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),Pt(e,r))}function Bp(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),wd(e,r)}function Wp(e,t){var r=0;switch(e.tag){case 13:var a=e.stateNode,o=e.memoizedState;o!==null&&(r=o.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,Mp(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 o=Yn(t,ht.current);Zn(t,r),o=Io(null,t,a,e,o,r);var d=Ho();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ct(a)?(d=!0,Aa(t)):d=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Oo(t),o.updater=il,t.stateNode=o,o._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,o,r),t=t.child),t;case 16:a=t.elementType;e:{switch(ll(e,t),e=t.pendingProps,o=a._init,a=o(a._payload),t.type=a,o=t.tag=Yp(a),e=qt(a,e),o){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,o=t.pendingProps,o=t.elementType===a?o:qt(a,o),Go(e,t,a,o,r);case 1:return a=t.type,o=t.pendingProps,o=t.elementType===a?o:qt(a,o),Yc(e,t,a,o,r);case 3:e:{if(Gc(t),e===null)throw Error(l(387));a=t.pendingProps,d=t.memoizedState,o=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){o=ti(Error(l(423)),t),t=Qc(e,t,a,r,o);break e}else if(a!==o){o=ti(Error(l(424)),t),t=Qc(e,t,a,r,o);break e}else for(zt=Ur(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===o){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,o=t.pendingProps,d=e!==null?e.memoizedProps:null,m=o.children,mo(a,o)?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,o=t.pendingProps,o=t.elementType===a?o:qt(a,o),Ac(e,t,a,o,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,o=t.pendingProps,d=t.memoizedProps,m=o.value,Ve(Ga,a._currentValue),a._currentValue=m,d!==null)if(Jt(d.value,m)){if(d.children===o.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 z=d.updateQueue;if(z!==null){z=z.shared;var A=z.pending;A===null?j.next=j:(j.next=A.next,A.next=j),z.pending=j}}d.lanes|=r,j=d.alternate,j!==null&&(j.lanes|=r),Po(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),Po(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,o.children,r),t=t.child}return t;case 9:return o=t.type,a=t.pendingProps.children,Zn(t,r),o=At(o),a=a(o),t.flags|=1,wt(e,t,a,r),t.child;case 14:return a=t.type,o=qt(a,t.pendingProps),o=qt(a.type,o),Vc(e,t,a,o,r);case 15:return Bc(e,t,t.type,t.pendingProps,r);case 17:return a=t.type,o=t.pendingProps,o=t.elementType===a?o:qt(a,o),ll(e,t),t.tag=1,Ct(a)?(e=!0,Aa(t)):e=!1,Zn(t,r),Tc(t,a,o),Wo(t,a,o,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 Kp(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 Kp(e,t,r,a)}function ms(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Yp(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,o,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,o,d,t);case Z:m=8,o|=8;break;case ee:return e=Wt(12,r,t,o|2),e.elementType=ee,e.lanes=d,e;case fe:return e=Wt(13,r,t,o),e.elementType=fe,e.lanes=d,e;case ie:return e=Wt(19,r,t,o),e.elementType=ie,e.lanes=d,e;case ge:return vl(r,o,d,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ce:m=10;break e;case Pe: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,o),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 Gp(e,t,r,a,o){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=o,this.mutableSourceEagerHydrationData=null}function vs(e,t,r,a,o,d,m,w,j){return e=new Gp(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 Qp(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,o,d,m,w,j){return e=vs(r,a,!0,e,o,d,m,w,j),e.context=Nd(null),r=e.current,a=kt(),o=Qr(r),d=Nr(a,o),d.callback=t??null,Wr(r,d,o),e.current.lanes=o,xi(e,o,a),Pt(e,a),e}function xl(e,t,r,a){var o=t.current,d=kt(),m=Qr(o);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(o,t,m),e!==null&&(tr(e,o,m,d),Ja(e,o,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 Jp(){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 Xp(e,t,r,a,o){if(o){if(typeof a=="function"){var d=a;a=function(){var z=wl(m);d.call(z)}}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(;o=e.lastChild;)e.removeChild(o);if(typeof a=="function"){var w=a;a=function(){var z=wl(j);w.call(z)}}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,o){var d=r._reactRootContainer;if(d){var m=d;if(typeof o=="function"){var w=o;o=function(){var j=wl(m);w.call(j)}}xl(t,m,e,o)}else m=Xp(r,t,e,o,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),Pt(t,He()),(Te&6)===0&&(ii=He()+500,Vr()))}break;case 13:Nn(function(){var a=Sr(e,1);if(a!==null){var o=kt();tr(a,e,1,o)}}),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 Ue},cu=function(e,t){var r=Ue;try{return Ue=e,t()}finally{Ue=r}},br=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 o=Ua(a);if(!o)throw Error(l(90));nt(a),ci(a,o)}}}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 qp={usingClientEntryPoint:!1,Events:[Di,Wn,Ua,mi,Na,fs]},Ji={findFiberByHostInstance:mn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Zp={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||Jp,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(Zp),xt=jl}catch{}}return bt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=qp,bt.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ks(t))throw Error(l(200));return Qp(e,t,null,r)},bt.createRoot=function(e,t){if(!ks(e))throw Error(l(299));var r=!1,a="",o=Cd;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=vs(e,1,!1,null,null,r,!1,a,o),e[vr]=t.current,_i(e.nodeType===8?e.parentNode:e),new ws(t)},bt.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},bt.flushSync=function(e){return Nn(e)},bt.hydrate=function(e,t,r){if(!Sl(t))throw Error(l(200));return Nl(null,e,t,!0,r)},bt.hydrateRoot=function(e,t,r){if(!ks(e))throw Error(l(405));var a=r!=null&&r.hydratedSources||null,o=!1,d="",m=Cd;if(r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(d=r.identifierPrefix),r.onRecoverableError!==void 0&&(m=r.onRecoverableError)),t=jd(t,null,e,1,r??null,o,!1,d,m),e[vr]=t.current,_i(e),a)for(e=0;e<a.length;e++)r=a[e],o=r._getVersion,o=o(r._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[r,o]:t.mutableSourceEagerHydrationData.push(r,o);return new kl(t)},bt.render=function(e,t,r){if(!Sl(t))throw Error(l(200));return Nl(null,e,t,!1,r)},bt.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},bt.unstable_batchedUpdates=fs,bt.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)},bt.version="18.3.1-next-f1338f8080-20240426",bt}var Td;function um(){if(Td)return js.exports;Td=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=sm(),js.exports}var Dd;function cm(){if(Dd)return El;Dd=1;var n=um();return El.createRoot=n.createRoot,El.hydrateRoot=n.hydrateRoot,El}var dm=cm(),b=Il();const fm=rm(b),hm=tm({__proto__:null,default:fm},[b]);/**
* 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 _f=n=>{throw TypeError(n)},pm=(n,i,l)=>i.has(n)||_f("Cannot "+l),Rs=(n,i,l)=>(pm(n,i,"read from private field"),l?l.call(n):i.get(n)),mm=(n,i,l)=>i.has(n)?_f("Cannot add the same private member more than once"):i instanceof WeakSet?i.add(n):i.set(n,l),Fd="popstate";function gm(n={}){function i(u,s){let{pathname:c,search:f,hash:h}=u.location;return sa("",{pathname:c,search:f,hash:h},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function l(u,s){return typeof s=="string"?s:fr(s)}return vm(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 ym(){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||ym()}}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 vm(n,i,l,u={}){let{window:s=document.defaultView,v5Compat:c=!1}=u,f=s.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:T.location,delta:Y})}function S(F,Y){h="PUSH";let H=sa(T.location,F,Y);y=x()+1;let G=Id(H,y),ne=T.createHref(H);try{f.pushState(G,"",ne)}catch(ue){if(ue instanceof DOMException&&ue.name==="DataCloneError")throw ue;s.location.assign(ne)}c&&p&&p({action:h,location:T.location,delta:1})}function N(F,Y){h="REPLACE";let H=sa(T.location,F,Y);y=x();let G=Id(H,y),ne=T.createHref(H);f.replaceState(G,"",ne),c&&p&&p({action:h,location:T.location,delta:0})}function L(F){return zf(F)}let T={get action(){return h},get location(){return n(s,f)},listen(F){if(p)throw new Error("A history only accepts one active listener");return s.addEventListener(Fd,v),p=F,()=>{s.removeEventListener(Fd,v),p=null}},createHref(F){return i(s,F)},createURL:L,encodeLocation(F){let Y=L(F);return{pathname:Y.pathname,search:Y.search,hash:Y.hash}},push:S,replace:N,go(F){return f.go(F)}};return T}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(mm(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 xm=new Set(["lazy","caseSensitive","path","id","index","children"]);function wm(n){return xm.has(n)}var km=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function Sm(n){return km.has(n)}function Nm(n){return n.index===!0}function ua(n,i,l=[],u={},s=!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(s||!u[p],`Found a route id collision on id "${p}". Route id's must be globally unique within Data Router usages`),Nm(c)){let y={...c,id:p};return u[p]=Ud(y,i(y)),y}else{let y={...c,id:p,children:void 0};return u[p]=Ud(y,i(y)),c.children&&(y.children=ua(c.children,i,h,u,s)),y}})}function Ud(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 s=typeof i=="string"?rn(i):i,c=Yt(s.pathname||"/",l);if(c==null)return null;let f=Tf(n);Em(f);let h=null;for(let p=0;h==null&&p<f.length;++p){let y=Dm(c);h=zm(f[p],y,u)}return h}function jm(n,i){let{route:l,pathname:u,params:s}=n;return{id:l.id,pathname:u,params:s,data:i[l.id],loaderData:i[l.id],handle:l.handle}}function Tf(n,i=[],l=[],u="",s=!1){let c=(f,h,p=s,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}".`),Tf(f.children,i,S,v,p)),!(f.path==null&&!f.index)&&i.push({path:v,score:Mm(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 Df(f.path))c(f,h,!0,y)}),i}function Df(n){let i=n.split("/");if(i.length===0)return[];let[l,...u]=i,s=l.endsWith("?"),c=l.replace(/\?$/,"");if(u.length===0)return s?[c,""]:[c];let f=Df(u.join("/")),h=[];return h.push(...f.map(p=>p===""?c:[c,p].join("/"))),s&&h.push(...f),h.map(p=>n.startsWith("/")&&p===""?"/":p)}function Em(n){n.sort((i,l)=>i.score!==l.score?l.score-i.score:_m(i.routesMeta.map(u=>u.childrenIndex),l.routesMeta.map(u=>u.childrenIndex)))}var Cm=/^:[\w-]+$/,Rm=3,Lm=2,Pm=1,bm=10,Om=-2,$d=n=>n==="*";function Mm(n,i){let l=n.split("/"),u=l.length;return l.some($d)&&(u+=Om),i&&(u+=Lm),l.filter(s=>!$d(s)).reduce((s,c)=>s+(Cm.test(c)?Rm:c===""?Pm:bm),u)}function _m(n,i){return n.length===i.length&&n.slice(0,-1).every((u,s)=>u===i[s])?n[n.length-1]-i[i.length-1]:0}function zm(n,i,l=!1){let{routesMeta:u}=n,s={},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(s,v.params),f.push({params:s,pathname:dr([c,v.pathname]),pathnameBase:Hm(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]=Tm(n.path,n.caseSensitive,n.end),s=i.match(l);if(!s)return null;let c=s[0],f=c.replace(/(.)\/+$/,"$1"),h=s.slice(1);return{params:u.reduce((y,{paramName:x,isOptional:v},S)=>{if(x==="*"){let L=h[S]||"";f=c.slice(0,c.length-L.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 Tm(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=[],s="^"+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:"*"}),s+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):l?s+="\\/*$":n!==""&&n!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,i?void 0:"i"),u]}function Dm(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 Fm({basename:n,pathname:i}){return i==="/"?n:dr([n,i])}var Ff=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ks=n=>Ff.test(n);function Im(n,i="/"){let{pathname:l,search:u="",hash:s=""}=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:Um(u),hash:$m(s)}}function Ad(n,i){let l=i.replace(/\/+$/,"").split("/");return n.split("/").forEach(s=>{s===".."?l.length>1&&l.pop():s!=="."&&l.push(s)}),l.length>1?l.join("/"):"/"}function Ls(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 If(n){return n.filter((i,l)=>l===0||i.route.path&&i.route.path.length>0)}function Ys(n){let i=If(n);return i.map((l,u)=>u===i.length-1?l.pathname:l.pathnameBase)}function Gs(n,i,l,u=!1){let s;typeof n=="string"?s=rn(n):(s={...n},Oe(!s.pathname||!s.pathname.includes("?"),Ls("?","pathname","search",s)),Oe(!s.pathname||!s.pathname.includes("#"),Ls("#","pathname","hash",s)),Oe(!s.search||!s.search.includes("#"),Ls("#","search","hash",s)));let c=n===""||s.pathname==="",f=c?"/":s.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;s.pathname=S.join("/")}h=v>=0?i[v]:"/"}let p=Im(s,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,"/"),Hm=n=>n.replace(/\/+$/,"").replace(/^\/*/,"/"),Um=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,$m=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 Hf=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Uf(n,i){let l=n;if(typeof l!="string"||!Ff.test(l))return{absoluteURL:void 0,isExternal:!1,to:l};let u=l,s=!1;if(Hf)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:s=!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:s,to:l}}var tn=Symbol("Uninstrumented");function Am(n,i){let l={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};n.forEach(s=>s({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 s=si(l.lazy,i.lazy,()=>{});s&&(u.lazy=s)}if(typeof i.lazy=="object"){let s=i.lazy;["middleware","loader","action"].forEach(c=>{let f=s[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(s=>{let c=i[s];if(typeof c=="function"&&l[s].length>0){let f=c[tn]??c,h=si(l[s],f,(...p)=>Vd(p[0]));h&&(s==="loader"&&f.hydrate===!0&&(h.hydrate=!0),h[tn]=f,u[s]=h)}}),i.middleware&&i.middleware.length>0&&l.middleware.length>0&&(u.middleware=i.middleware.map(s=>{let c=s[tn]??s,f=si(l.middleware,c,(...h)=>Vd(h[0]));return f?(f[tn]=c,f):s})),u}function Vm(n,i){let l={navigate:[],fetch:[]};if(i.forEach(u=>u({instrument(s){let c=Object.keys(s);for(let f of c)s[f]&&l[f].push(s[f])}})),l.navigate.length>0){let u=n.navigate[tn]??n.navigate,s=si(l.navigate,u,(...c)=>{let[f,h]=c;return{to:typeof f=="number"||typeof f=="string"?f:f?fr(f):".",...Bd(n,h??{})}});s&&(s[tn]=u,n.navigate=s)}if(l.fetch.length>0){let u=n.fetch[tn]??n.fetch,s=si(l.fetch,u,(...c)=>{let[f,,h,p]=c;return{href:h??".",fetcherKey:f,...Bd(n,p??{})}});s&&(s[tn]=u,n.fetch=s)}return n}function si(n,i,l){return n.length===0?null:async(...u)=>{let s=await $f(n,l(...u),()=>i(...u),n.length-1);if(s.type==="error")throw s.value;return s.value}}async function $f(n,i,l,u){let s=n[u],c;if(s){let f,h=async()=>(f?console.error("You cannot call instrumented handlers more than once"):f=$f(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 s(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:s}=n;return{request:Bm(i),params:{...u},unstable_pattern:s,context:Wm(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 Bm(n){return{method:n.method,url:n.url,headers:{get:(...i)=>n.headers.get(...i)}}}function Wm(n){if(Ym(n)){let i={...n};return Object.freeze(i),i}else return{get:i=>n.get(i)}}var Km=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Ym(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")===Km}var Af=["POST","PUT","PATCH","DELETE"],Gm=new Set(Af),Qm=["GET",...Af],Jm=new Set(Qm),Vf=new Set([301,302,303,307,308]),Xm=new Set([307,308]),Ps={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},qm={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},Zm=n=>({hasErrorBoundary:!!n.hasErrorBoundary}),Bf="remix-router-transitions",Wf=Symbol("ResetLoaderData");function eg(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||[],s=n.mapRouteProperties||Zm,c=s;if(n.unstable_instrumentations){let k=n.unstable_instrumentations;c=R=>({...s(R),...Am(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||ag,v={...n.future},S=null,N=new Set,L=null,T=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($=>R[$.route.id]!==void 0);ue=H.slice(0,_+1).every($=>!Hs($.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:Ps,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,Pe,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 $=pr({currentLocation:O.location,nextLocation:R,historyAction:k});if($&&_!=null){let K=new Promise(oe=>{Fe=oe});n.history.go(_*-1),br($,{state:"blocked",location:R,proceed(){br($,{state:"proceeding",proceed:void 0,reset:void 0,location:R}),K.then(()=>n.history.go(_))},reset(){let oe=new Map(O.blockers);oe.set($,qi),nt({blockers:oe})}}),ee==null||ee.resolve(),ee=null;return}return rr(k,R)}),l){Ng(i,fe);let k=()=>jg(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(),Pe&&Pe.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 _=[],$=[];O.fetchers.forEach((K,oe)=>{K.state==="idle"&&(ve.has(oe)?_.push(oe):$.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)),$.forEach(K=>O.fetchers.delete(K))}function Qt(k,R,{flushSync:_}={}){var Ce,de;let $=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:$?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((Le,_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 Le=fe.get(O.location.pathname);Le&&Le.has(k.pathname)?ae={currentLocation:O.location,nextLocation:k}:fe.has(k.pathname)&&(ae={currentLocation:k,nextLocation:O.location})}else if(pe){let Le=fe.get(O.location.pathname);Le?Le.add(k.pathname):(Le=new Set([k.pathname]),fe.set(O.location.pathname,Le)),ae={currentLocation:O.location,nextLocation:k}}nt({...R,actionData:K,loaderData:oe,historyAction:Z,location:k,initialized:!0,navigation:Ps,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:$,submission:K,error:oe}=Wd(!1,_,R),ye=O.location,X=sa(O.location,$,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,Le=pr({currentLocation:ye,nextLocation:X,historyAction:ae});if(Le){br(Le,{state:"blocked",location:X,proceed(){br(Le,{state:"proceeding",proceed:void 0,reset:void 0,location:X}),_n(k,R)},reset(){let _e=new Map(O.blockers);_e.set(Le,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,_){Pe&&Pe.abort(),Pe=null,Z=k,Ee=(_&&_.startUninterruptedRevalidation)===!0,Na(O.location,O.matches),ce=(_&&_.preventScrollReset)===!0,pe=(_&&_.enableViewTransition)===!0;let $=p||h,K=_&&_.overrideNavigation,oe=_!=null&&_.initialHydration&&O.matches&&O.matches.length>0&&!G?O.matches:Zr($,R,y),ye=(_&&_.flushSync)===!0;if(oe&&O.initialized&&!he&&hg(O.location,R)&&!(_&&_.submission&&yt(_.submission.formMethod))){Qt(R,{matches:oe},{flushSync:ye});return}let X=un(oe,$,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}Pe=new AbortController;let te=li(n.history,R,Pe.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){Pe=null,Qt(R,{matches:qe.matches,loaderData:{},errors:{[lt]:Ie.error}});return}}oe=qe.matches||oe,Ce=qe.pendingActionResult,K=bs(R,_.submission),ye=!1,X.active=!1,te=li(n.history,te.url,te.signal)}let{shortCircuited:de,matches:Le,loaderData:_e,errors:et}=await va(te,R,oe,ae,X.active,K,_&&_.submission,_&&_.fetcherSubmission,_&&_.replace,_&&_.initialHydration===!0,ye,Ce,_&&_.callSiteDefaultShouldRevalidate);de||(Pe=null,Qt(R,{matches:Le||oe,...tf(Ce),loaderData:_e,errors:et}))}async function ci(k,R,_,$,K,oe,ye,X={}){on();let te=kg(R,_);if(nt({navigation:te},{flushSync:X.flushSync===!0}),oe){let de=await Or($,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 Le=en(de.partialMatches).route.id;return{matches:de.partialMatches,pendingActionResult:[Le,{type:"error",error:de.error}]}}else if(de.matches)$=de.matches;else{let{notFoundMatches:Le,error:_e,route:et}=ir(R.pathname);return{matches:Le,pendingActionResult:[et.id,{type:"error",error:_e}]}}}let ae,Ce=bl($,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,$,Ce,ye?[]:u,K),Le=await Lr(k,de,K,null);if(ae=Le[Ce.route.id],!ae){for(let _e of $)if(Le[_e.route.id]){ae=Le[_e.route.id];break}}if(k.signal.aborted)return{shortCircuited:!0}}if(Ln(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($,Ce.route.id);return(X&&X.replace)!==!0&&(Z="PUSH"),{matches:$,pendingActionResult:[de.route.id,ae,Ce.route.id]}}return{matches:$,pendingActionResult:[Ce.route.id,ae]}}async function va(k,R,_,$,K,oe,ye,X,te,ae,Ce,de,Le){let _e=oe||bs(R,ye),et=ye||X||nf(_e),qe=!Ee&&!ae;if(K){if(qe){let $e=zn(de);nt({navigation:_e,...$e!==void 0?{actionData:$e}:{}},{flushSync:Ce})}let ze=await Or(_,R.pathname,k.signal);if(ze.type==="aborted")return{shortCircuited:!0};if(ze.type==="error"){if(ze.partialMatches.length===0){let{matches:_r,route:gr}=Cl(h);return{matches:_r,loaderData:{},errors:{[gr.id]:ze.error}}}let $e=en(ze.partialMatches).route.id;return{matches:ze.partialMatches,loaderData:{},errors:{[$e]:ze.error}}}else if(ze.matches)_=ze.matches;else{let{error:$e,notFoundMatches:_r,route:gr}=ir(R.pathname);return{matches:_r,loaderData:{},errors:{[gr.id]:$e}}}}let lt=p||h,{dsMatches:Ie,revalidatingFetchers:jt}=Kd(k,$,c,f,n.history,O,_,et,R,ae?[]:u,ae===!0,he,ge,ve,me,D,lt,y,n.patchRoutesOnNavigation!=null,de,Le);if(W=++Q,!n.dataStrategy&&!Ie.some(ze=>ze.shouldLoad)&&!Ie.some(ze=>ze.route.middleware&&ze.route.middleware.length>0)&&jt.length===0){let ze=Tn();return Qt(R,{matches:_,loaderData:{},errors:de&&Dt(de[1])?{[de[0]]:de[1].error}:null,...tf(de),...ze?{fetchers:new Map(O.fetchers)}:{}},{flushSync:Ce}),{shortCircuited:!0}}if(qe){let ze={};if(!K){ze.navigation=_e;let $e=zn(de);$e!==void 0&&(ze.actionData=$e)}jt.length>0&&(ze.fetchers=ln(jt)),nt(ze,{flushSync:Ce})}jt.forEach(ze=>{It(ze.key),ze.controller&&I.set(ze.key,ze.controller)});let He=()=>jt.forEach(ze=>It(ze.key));Pe&&Pe.signal.addEventListener("abort",He);let{loaderResults:dn,fetcherResults:Ht}=await fi(Ie,jt,k,$);if(k.signal.aborted)return{shortCircuited:!0};Pe&&Pe.signal.removeEventListener("abort",He),jt.forEach(ze=>I.delete(ze.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=Tn(),mr=Dn(W),xt=ar||mr||jt.length>0;return{matches:_,loaderData:Mr,errors:fn,...xt?{fetchers:new Map(O.fetchers)}:{}}}function zn(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),$=Zi(void 0,_?_.data:void 0);O.fetchers.set(R.key,$)}),new Map(O.fetchers)}async function Rr(k,R,_,$){It(k);let K=($&&$.flushSync)===!0,oe=p||h,ye=Is(O.location,O.matches,y,_,R,$==null?void 0:$.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,$);if(de){Ft(k,R,de,{flushSync:K});return}let Le=n.getContext?await n.getContext():new Hd,_e=($&&$.preventScrollReset)===!0;if(Ce&&yt(Ce.formMethod)){await di(k,R,ae,X,Le,te.active,K,_e,Ce,$&&$.unstable_defaultShouldRevalidate);return}me.set(k,{routeId:R,path:ae}),await xa(k,R,ae,X,Le,te.active,K,_e,Ce)}async function di(k,R,_,$,K,oe,ye,X,te,ae){on(),me.delete(k);let Ce=O.fetchers.get(k);Nt(k,Sg(te,Ce),{flushSync:ye});let de=new AbortController,Le=li(n.history,_,de.signal,te);if(oe){let Ke=await Or($,new URL(Le.url).pathname,Le.signal,k);if(Ke.type==="aborted")return;if(Ke.type==="error"){Ft(k,R,Ke.error,{flushSync:ye});return}else if(Ke.matches)$=Ke.matches;else{Ft(k,R,Kt(404,{pathname:_}),{flushSync:ye});return}}let _e=bl($,_);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,Le,$,_e,u,K),lt=await Lr(Le,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(Le.signal.aborted){I.get(k)===de&&I.delete(k);return}if(ve.has(k)){if(Ln(Ie)||Dt(Ie)){Nt(k,Cr(void 0));return}}else{if(Ln(Ie))if(I.delete(k),W>et){Nt(k,Cr(void 0));return}else return D.add(k),Nt(k,Zi(te)),nr(Le,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:ze}=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 $e=Rl(xt);if($e)return nr(He,$e.result,!1,{preventScrollReset:X});if($e=Rl(ze),$e)return D.add($e.key),nr(He,$e.result,!1,{preventScrollReset:X});let{loaderData:_r,errors:gr}=Zd(O,Ht,xt,void 0,ar,ze);Dn(Ot),O.navigation.state==="loading"&&Ot>W?(Oe(Z,"Expected pending action"),Pe&&Pe.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,_,$,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($,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)$=Ie.matches;else{Ft(k,R,Kt(404,{pathname:_}),{flushSync:ye});return}}let Le=bl($,_);I.set(k,Ce);let _e=Q,et=ui(c,f,de,$,Le,u,K),lt=(await Lr(de,et,K,k))[Le.route.id];if(I.get(k)===Ce&&I.delete(k),!de.signal.aborted){if(ve.has(k)){Nt(k,Cr(void 0));return}if(Ln(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:$,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}}Pe=null;let ae=ye===!0||R.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:Ce,formAction:de,formEncType:Le}=O.navigation;!$&&!K&&Ce&&de&&Le&&($=nf(O.navigation));let _e=$||K;if(Xm.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=bs(te,$);await rr(ae,te,{overrideNavigation:et,fetcherSubmission:K,preventScrollReset:oe||ce,enableViewTransition:_?pe:void 0})}}async function Lr(k,R,_,$){var ye;let K,oe={};try{K=await og(x,k,R,$,_,!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(yg(te)){let ae=te.result;oe[X]={type:"redirect",response:dg(ae,k,X,R,y)}}else oe[X]=await cg(te);return oe}async function fi(k,R,_,$){let K=Lr(_,k,$,null),oe=Promise.all(R.map(async te=>{if(te.matches&&te.match&&te.request&&te.controller){let Ce=(await Lr(te.request,te.matches,$,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,_,$={}){let K=en(O.matches,R);hi(k),nt({errors:{[K.route.id]:_},fetchers:new Map(O.fetchers)},{flushSync:($&&$.flushSync)===!0})}function Pr(k){return xe.set(k,(xe.get(k)||0)+1),ve.has(k)&&ve.delete(k),O.fetchers.get(k)||qm}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 _=Pr(R),$=Cr(_.data);O.fetchers.set(R,$)}}function Tn(){let k=[],R=!1;for(let _ of D){let $=O.fetchers.get(_);Oe($,`Expected fetcher: ${_}`),$.state==="loading"&&(D.delete(_),k.push(_),R=!0)}return ka(k),R}function Dn(k){let R=[];for(let[_,$]of E)if($<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 br(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 $=new Map(O.blockers);$.set(k,R),nt({blockers:$})}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 $=Array.from(Re.entries()),[K,oe]=$[$.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:$,route:K}=Cl(_);return{notFoundMatches:$,route:K,error:R}}function Sa(k,R,_){if(L=k,F=R,T=_||null,!Y&&O.navigation===Ps){Y=!0;let $=gi(O.location,O.matches);$!=null&&nt({restoreScrollPosition:$})}return()=>{L=null,F=null,T=null}}function mi(k,R){return T&&T(k,R.map($=>jm($,O.loaderData)))||k.key}function Na(k,R){if(L&&F){let _=mi(k,R);L[_]=F()}}function gi(k,R){if(L){let _=mi(k,R),$=L[_];if(typeof $=="number")return $}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,_,$){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:$,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((_,$)=>_.route.id===R[$].route.id)}function cn(k){f={},p=ua(k,c,void 0,f)}function vi(k,R,_=!1){let $=p==null;Yd(k,R,p||h,f,c,_),$&&(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:Pr,resetFetcher:sn,deleteFetcher:wa,dispose:vt,getBlocker:pi,deleteBlocker:Fn,patchRoutes:vi,_internalFetchControllers:I,_internalSetRoutes:cn,_internalSetStateDoNotUseOrYouWillBreakYourApp(k){nt(k)}},n.unstable_instrumentations&&(Se=Vm(Se,n.unstable_instrumentations.map(k=>k.router).filter(Boolean))),Se}function tg(n){return n!=null&&("formData"in n&&n.formData!=null||"body"in n&&n.body!==void 0)}function Is(n,i,l,u,s,c){let f,h;if(s){f=[];for(let y of i)if(f.push(y),y.route.id===s){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=Fm({basename:l,pathname:p.pathname})),fr(p)}function Wd(n,i,l){if(!l||!tg(l))return{path:i};if(l.formMethod&&!wg(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=Xf(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,L])=>`${S}${N}=${L}
`,""):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=$s(l.formData),p=l.formData;else if(l.body instanceof FormData)h=$s(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,s,c,f,h,p,y,x,v,S,N,L,T,F,Y,H,G,ne){var Ee;let ue=G?Dt(G[1])?G[1].error:G[1].data:void 0,Se=s.createURL(c.location),O=s.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,Pe={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):rg(c.loaderData,c.matches[ge],he)&&(Q=!0):Q=!1,Q!==null)return Us(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||ng(c.matches[ge],he))&&(W=!0);let E={...Pe,defaultShouldRevalidate:W},D=ia(he,E);return Us(l,u,n,pe,he,y,i,D,E,ne)}),ie=[];return L.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(T.has(ge))return;let E=bl(W,he.path),D=new AbortController,me=li(s,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={...Pe,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,s=l!=null&&l[n.id]!==void 0;return!u&&s?!1:typeof n.loader=="function"&&n.loader.hydrate===!0?!0:!u&&!s}function rg(n,i,l){let u=!i||l.route.id!==i.route.id,s=!n.hasOwnProperty(l.route.id);return u||s}function ng(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,s,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=>Kf(y,v));x?p.push({existingRoute:x,newRoute:y}):h.push(y)}),h.length>0){let y=ua(h,s,[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],s,[],{},!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 Kf(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 s;return(s=i.children)==null?void 0:s.some(c=>Kf(l,c))}):!1}var Gd=new WeakMap,Yf=({key:n,route:i,manifest:l,mapRouteProperties:u})=>{let s=l[i.id];if(Oe(s,"No route found in manifest"),!s.lazy||typeof s.lazy!="object")return;let c=s.lazy[n];if(!c)return;let f=Gd.get(s);f||(f={},Gd.set(s,f));let h=f[n];if(h)return h;let p=(async()=>{let y=wm(n),v=s[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 "${s.id}" has a static property "${n}" defined. The lazy property will be ignored.`);else{let S=await c();S!=null&&(Object.assign(s,{[n]:S}),Object.assign(s,u(s)))}typeof s.lazy=="object"&&(s.lazy[n]=void 0,Object.values(s.lazy).every(S=>S===void 0)&&(s.lazy=void 0))})();return f[n]=p,p},Qd=new WeakMap;function ig(n,i,l,u,s){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 L in S){let T=S[L];if(T===void 0)continue;let F=Sm(L),H=c[L]!==void 0&&L!=="hasErrorBoundary";F?rt(!F,"Route property "+L+" 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 "${L}" defined but its lazy function is also returning a value for this property. The lazy route property "${L}" will be ignored.`):N[L]=T}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(s&&s.includes(x))continue;let v=Yf({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(s=>s.shouldLoad),l={};return(await Promise.all(i.map(s=>s.resolve()))).forEach((s,c)=>{l[i[c].route.id]=s}),l}async function ag(n){return n.matches.some(i=>i.route.middleware)?Gf(n,()=>Jd(n)):Jd(n)}function Gf(n,i){return lg(n,i,u=>{if(xg(u))throw u;return u},mg,l);function l(u,s,c){if(c)return Promise.resolve(Object.assign(c.value,{[s]:{type:"error",result:u}}));{let{matches:f}=n,h=Math.min(Math.max(f.findIndex(y=>y.route.id===s),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 lg(n,i,l,u,s){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 Qf({request:f,params:h,context:p,unstable_pattern:y},x,i,l,u,s)}async function Qf(n,i,l,u,s,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 Qf(n,i,l,u,s,c,f+1)},v.value}catch(N){return v={value:await c(N,y,v)},v.value}};try{let N=await x(n,S),L=N!=null?u(N):void 0;return s(L)?L:v?L??v.value:(v={value:await S()},v.value)}catch(N){return await c(N,y,v)}}function Jf(n,i,l,u,s){let c=Yf({key:"middleware",route:u.route,manifest:i,mapRouteProperties:n}),f=ig(u.route,yt(l.method)?"action":"loader",i,n,s);return{middleware:c,route:f.lazyRoutePromise,handler:f.lazyHandlerPromise}}function Us(n,i,l,u,s,c,f,h,p=null,y){let x=!1,v=Jf(n,i,l,s,c);return{...s,_lazyPromises:v,shouldLoad:h,shouldRevalidateArgs:p,shouldCallHandler(S){return x=!0,p?typeof y=="boolean"?ia(s,{...p,defaultShouldRevalidate:y}):typeof S=="boolean"?ia(s,{...p,defaultShouldRevalidate:S}):ia(s,p):h},resolve(S){let{lazy:N,loader:L,middleware:T}=s.route,F=x||h||S&&!yt(l.method)&&(N||L),Y=T&&T.length>0&&!L&&!N;return F&&(yt(l.method)||!Y)?sg({request:l,unstable_pattern:u,match:s,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,s,c,f,h=null){return u.map(p=>p.route.id!==s.route.id?{...p,shouldLoad:!1,shouldRevalidateArgs:h,shouldCallHandler:()=>!1,_lazyPromises:Jf(n,i,l,p,c),resolve:()=>Promise.resolve({type:"data",result:void 0})}:Us(n,i,l,ha(u),p,c,f,!0,h))}async function og(n,i,l,u,s,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:s,matches:l},p=await n({...f,fetcherKey:u,runClientMiddleware:y=>{let x=f;return Gf(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 sg({request:n,unstable_pattern:i,match:l,lazyHandlerPromise:u,lazyRoutePromise:s,handlerOverride:c,scopedContext:f}){let h,p,y=yt(n.method),x=y?"action":"loader",v=S=>{let N,L=new Promise((Y,H)=>N=H);p=()=>N(),n.signal.addEventListener("abort",p);let T=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=>T(H)):T())}}catch(Y){return{type:"error",result:Y}}})();return Promise.race([F,L])};try{let S=y?l.route.action:l.route.loader;if(u||s)if(S){let N,[L]=await Promise.all([v(S).catch(T=>{N=T}),u,s]);if(N!==void 0)throw N;h=L}else{await u;let N=y?l.route.action:l.route.loader;if(N)[h]=await Promise.all([v(N),s]);else if(x==="action"){let L=new URL(n.url),T=L.pathname+L.search;throw Kt(405,{method:n.method,pathname:T,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),L=N.pathname+N.search;throw Kt(404,{pathname:L})}}catch(S){return{type:"error",result:S}}finally{p&&n.signal.removeEventListener("abort",p)}return h}async function ug(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 cg(n){var u,s,c,f,h;let{result:i,type:l}=n;if(Js(i)){let p;try{p=await ug(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:(s=i.init)!=null&&s.headers?new Headers(i.init.headers):void 0}:{type:"error",error:pg(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 dg(n,i,l,u,s){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,s,c),n.headers.set("Location",c)}return n}function Xd(n,i,l,u){let s=["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(s.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(s.includes(c.protocol))throw new Error("Invalid redirect location")}catch{}return n}function li(n,i,l,u){let s=n.createURL(Xf(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=$s(u.formData):c.body=u.formData}return new Request(s,c)}function $s(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 fg(n,i,l,u=!1,s=!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(!Ln(N),"Cannot handle redirect results in processLoaderData"),Dt(N)){let L=N.error;if(x!==void 0&&(L=x,x=void 0),f=f||{},s)f[S]=L;else{let T=en(n,S);f[T.route.id]==null&&(f[T.route.id]=L)}u||(c[S]=Wf),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,s,c){let{loaderData:f,errors:h}=fg(i,l,u);return s.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(Ln(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 s=Object.entries(i).filter(([,c])=>c!==Wf).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&&(s[f]=n[f]),u&&u.hasOwnProperty(f))break}return s}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:s,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.`:s==="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,s]=i[l];if(Ln(s))return{key:u,result:s}}}function Xf(n){let i=typeof n=="string"?rn(n):n;return fr({...i,hash:""})}function hg(n,i){return n.pathname!==i.pathname||n.search!==i.search?!1:n.hash===""?i.hash!=="":n.hash===i.hash?!0:i.hash!==""}function pg(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 mg(n){return n!=null&&typeof n=="object"&&Object.entries(n).every(([i,l])=>typeof i=="string"&&gg(l))}function gg(n){return n!=null&&typeof n=="object"&&"type"in n&&"result"in n&&(n.type==="data"||n.type==="error")}function yg(n){return Js(n.result)&&Vf.has(n.result.status)}function Dt(n){return n.type==="error"}function Ln(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 vg(n){return Vf.has(n)}function xg(n){return Js(n)&&vg(n.status)&&n.headers.has("Location")}function wg(n){return Jm.has(n.toUpperCase())}function yt(n){return Gm.has(n.toUpperCase())}function Xs(n){return new URLSearchParams(n).getAll("index").some(i=>i==="")}function bl(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=If(n);return u[u.length-1]}function nf(n){let{formMethod:i,formAction:l,formEncType:u,text:s,formData:c,json:f}=n;if(!(!i||!l||!u)){if(s!=null)return{formMethod:i,formAction:l,formEncType:u,formData:void 0,json:void 0,text:s};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 bs(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 kg(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 Sg(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 Ng(n,i){try{let l=n.sessionStorage.getItem(Bf);if(l){let u=JSON.parse(l);for(let[s,c]of Object.entries(u||{}))c&&Array.isArray(c)&&i.set(s,new Set(c||[]))}}catch{}}function jg(n,i){if(i.size>0){let l={};for(let[u,s]of i)l[u]=[...s];try{n.sessionStorage.setItem(Bf,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,s)=>{n=async c=>{u(c);try{await l}catch{}},i=async c=>{s(c);try{await l}catch{}}});return{promise:l,resolve:n,reject:i}}var On=b.createContext(null);On.displayName="DataRouter";var pa=b.createContext(null);pa.displayName="DataRouterState";var qf=b.createContext(!1);function Eg(){return b.useContext(qf)}var qs=b.createContext({isTransitioning:!1});qs.displayName="ViewTransition";var Zf=b.createContext(new Map);Zf.displayName="Fetchers";var Cg=b.createContext(null);Cg.displayName="Await";var Gt=b.createContext(null);Gt.displayName="Navigation";var Hl=b.createContext(null);Hl.displayName="Location";var hr=b.createContext({outlet:null,matches:[],isDataRoute:!1});hr.displayName="Route";var Zs=b.createContext(null);Zs.displayName="RouteError";var eh="REACT_ROUTER_ERROR",Rg="REDIRECT",Lg="ROUTE_ERROR_RESPONSE";function Pg(n){if(n.startsWith(`${eh}:${Rg}:{`))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 bg(n){if(n.startsWith(`${eh}:${Lg}:{`))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 Og(n,{relative:i}={}){Oe(ma(),"useHref() may be used only in the context of a <Router> component.");let{basename:l,navigator:u}=b.useContext(Gt),{hash:s,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:s})}function ma(){return b.useContext(Hl)!=null}function nn(){return Oe(ma(),"useLocation() may be used only in the context of a <Router> component."),b.useContext(Hl).location}var th="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function rh(n){b.useContext(Gt).static||b.useLayoutEffect(n)}function Mg(){let{isDataRoute:n}=b.useContext(hr);return n?Yg():_g()}function _g(){Oe(ma(),"useNavigate() may be used only in the context of a <Router> component.");let n=b.useContext(On),{basename:i,navigator:l}=b.useContext(Gt),{matches:u}=b.useContext(hr),{pathname:s}=nn(),c=JSON.stringify(Ys(u)),f=b.useRef(!1);return rh(()=>{f.current=!0}),b.useCallback((p,y={})=>{if(rt(f.current,th),!f.current)return;if(typeof p=="number"){l.go(p);return}let x=Gs(p,JSON.parse(c),s,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,s,n])}var zg=b.createContext(null);function Tg(n){let i=b.useContext(hr).outlet;return b.useMemo(()=>i&&b.createElement(zg.Provider,{value:n},i),[i,n])}function ga(n,{relative:i}={}){let{matches:l}=b.useContext(hr),{pathname:u}=nn(),s=JSON.stringify(Ys(l));return b.useMemo(()=>Gs(n,JSON.parse(s),u,i==="path"),[n,s,u,i])}function Dg(n,i,l,u,s){Oe(ma(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:c}=b.useContext(Gt),{matches:f}=b.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||"";ih(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 L=N.pathname||"/",T=L;if(x!=="/"){let H=x.replace(/^\//,"").split("/");T="/"+L.replace(/^\//,"").split("/").slice(H.length).join("/")}let F=Zr(n,{pathname:T});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.`),$g(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,s)}function Fg(){let n=Kg(),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)",s={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=b.createElement(b.Fragment,null,b.createElement("p",null,"💿 Hey developer 👋"),b.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",b.createElement("code",{style:c},"ErrorBoundary")," or"," ",b.createElement("code",{style:c},"errorElement")," prop on your route.")),b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},i),l?b.createElement("pre",{style:s},l):null,f)}var Ig=b.createElement(Fg,null),nh=class extends b.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=bg(n.digest);l&&(n=l)}let i=n!==void 0?b.createElement(hr.Provider,{value:this.props.routeContext},b.createElement(Zs.Provider,{value:n,children:this.props.component})):this.props.children;return this.context?b.createElement(Hg,{error:n},i):i}};nh.contextType=qf;var Os=new WeakMap;function Hg({children:n,error:i}){let{basename:l}=b.useContext(Gt);if(typeof i=="object"&&i&&"digest"in i&&typeof i.digest=="string"){let u=Pg(i.digest);if(u){let s=Os.get(i);if(s)throw s;let c=Uf(u.location,l);if(Hf&&!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 b.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c.absoluteURL||c.to}`})}}return n}function Ug({routeContext:n,match:i,children:l}){let u=b.useContext(On);return u&&u.static&&u.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(u.staticContext._deepestRenderedBoundaryId=i.route.id),b.createElement(hr.Provider,{value:n},l)}function $g(n,i=[],l=null,u=null,s=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,L=v.route.loader&&!S.hasOwnProperty(v.route.id)&&(!N||N[v.route.id]===void 0);if(v.route.lazy||L){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,L=!1,T=null,F=null;l&&(N=f&&v.route.id?f[v.route.id]:void 0,T=v.route.errorElement||Ig,h&&(p<0&&S===0?(ih("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),L=!0,F=null):p===S&&(L=!0,F=v.route.hydrateFallbackElement||null)));let Y=i.concat(c.slice(0,S+1)),H=()=>{let G;return N?G=T:L?G=F:v.route.Component?G=b.createElement(v.route.Component,null):v.route.element?G=v.route.element:G=x,b.createElement(Ug,{match:v,routeContext:{outlet:x,matches:Y,isDataRoute:l!=null},children:G})};return l&&(v.route.ErrorBoundary||v.route.errorElement||S===0)?b.createElement(nh,{location:l.location,revalidation:l.revalidation,component:T,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 Ag(n){let i=b.useContext(On);return Oe(i,eu(n)),i}function Vg(n){let i=b.useContext(pa);return Oe(i,eu(n)),i}function Bg(n){let i=b.useContext(hr);return Oe(i,eu(n)),i}function tu(n){let i=Bg(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 Wg(){return tu("useRouteId")}function Kg(){var u;let n=b.useContext(Zs),i=Vg("useRouteError"),l=tu("useRouteError");return n!==void 0?n:(u=i.errors)==null?void 0:u[l]}function Yg(){let{router:n}=Ag("useNavigate"),i=tu("useNavigate"),l=b.useRef(!1);return rh(()=>{l.current=!0}),b.useCallback(async(s,c={})=>{rt(l.current,th),l.current&&(typeof s=="number"?await n.navigate(s):await n.navigate(s,{fromRouteId:i,...c}))},[n,i])}var lf={};function ih(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 Gg="useOptimistic",uf=hm[Gg],Qg=()=>{};function Jg(n){return uf?uf(n):[n,Qg]}function Xg(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:b.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:b.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:b.createElement(n.ErrorBoundary),ErrorBoundary:void 0})),i}var qg=["HydrateFallback","hydrateFallbackElement"],Zg=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 ey({router:n,flushSync:i,onError:l,unstable_useTransitions:u}){u=Eg()||u;let[c,f]=b.useState(n.state),[h,p]=Jg(c),[y,x]=b.useState(),[v,S]=b.useState({isTransitioning:!1}),[N,L]=b.useState(),[T,F]=b.useState(),[Y,H]=b.useState(),G=b.useRef(new Map),ne=b.useCallback((Z,{deletedFetchers:ee,newErrors:ce,flushSync:Pe,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(Pe===!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&&Pe?i(()=>f(Z)):u===!1?f(Z):b.startTransition(()=>{u===!0&&p(ie=>cf(ie,Z)),f(Z)});return}if(i&&Pe){i(()=>{T&&(N==null||N.resolve(),T.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(()=>{L(void 0),F(void 0),x(void 0),S({isTransitioning:!1})})}),i(()=>F(ie));return}T?(N==null||N.resolve(),T.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,T,N,u,p,l]);b.useLayoutEffect(()=>n.subscribe(ne),[n,ne]),b.useEffect(()=>{v.isTransitioning&&!v.flushSync&&L(new Zg)},[v]),b.useEffect(()=>{if(N&&y&&n.window){let Z=y,ee=N.promise,ce=n.window.document.startViewTransition(async()=>{u===!1?f(Z):b.startTransition(()=>{u===!0&&p(Pe=>cf(Pe,Z)),f(Z)}),await ee});ce.finished.finally(()=>{L(void 0),F(void 0),x(void 0),S({isTransitioning:!1})}),F(ce)}},[y,N,n.window,u,p]),b.useEffect(()=>{N&&y&&h.location.key===y.location.key&&N.resolve()},[N,T,h.location,y]),b.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=b.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=b.useMemo(()=>({router:n,navigator:ue,static:!1,basename:Se,onError:l}),[n,ue,Se,l]);return b.createElement(b.Fragment,null,b.createElement(On.Provider,{value:O},b.createElement(pa.Provider,{value:h},b.createElement(Zf.Provider,{value:G.current},b.createElement(qs.Provider,{value:v},b.createElement(iy,{basename:Se,location:h.location,navigationType:h.historyAction,navigator:ue,unstable_useTransitions:u},b.createElement(ty,{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 ty=b.memo(ry);function ry({routes:n,future:i,state:l,onError:u}){return Dg(n,void 0,l,u,i)}function ny(n){return Tg(n.context)}function iy({basename:n="/",children:i=null,location:l,navigationType:u="POP",navigator:s,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=b.useMemo(()=>({basename:h,navigator:s,static:c,unstable_useTransitions:f,future:{}}),[h,s,c,f]);typeof l=="string"&&(l=rn(l));let{pathname:y="/",search:x="",hash:v="",state:S=null,key:N="default"}=l,L=b.useMemo(()=>{let T=Yt(y,h);return T==null?null:{location:{pathname:T,search:x,hash:v,state:S,key:N},navigationType:u}},[h,y,x,v,S,N,u]);return rt(L!=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.`),L==null?null:b.createElement(Gt.Provider,{value:p},b.createElement(Hl.Provider,{children:i,value:L}))}var Ol="get",Ml="application/x-www-form-urlencoded";function Ul(n){return typeof HTMLElement<"u"&&n instanceof HTMLElement}function ay(n){return Ul(n)&&n.tagName.toLowerCase()==="button"}function ly(n){return Ul(n)&&n.tagName.toLowerCase()==="form"}function oy(n){return Ul(n)&&n.tagName.toLowerCase()==="input"}function sy(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function uy(n,i){return n.button===0&&(!i||i==="_self")&&!sy(n)}var Ll=null;function cy(){if(Ll===null)try{new FormData(document.createElement("form"),0),Ll=!1}catch{Ll=!0}return Ll}var dy=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Ms(n){return n!=null&&!dy.has(n)?(rt(!1,`"${n}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Ml}"`),null):n}function fy(n,i){let l,u,s,c,f;if(ly(n)){let h=n.getAttribute("action");u=h?Yt(h,i):null,l=n.getAttribute("method")||Ol,s=Ms(n.getAttribute("enctype"))||Ml,c=new FormData(n)}else if(ay(n)||oy(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,s=Ms(n.getAttribute("formenctype"))||Ms(h.getAttribute("enctype"))||Ml,c=new FormData(h,n),!cy()){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(Ul(n))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');l=Ol,u=null,s=Ml,f=n}return c&&s==="text/plain"&&(f=c,c=void 0),{action:u,method:l.toLowerCase(),encType:s,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 hy(n,i,l,u){let s=typeof n=="string"?new URL(n,typeof window>"u"?"server://singlefetch/":window.location.origin):n;return l?s.pathname.endsWith("/")?s.pathname=`${s.pathname}_.${u}`:s.pathname=`${s.pathname}.${u}`:s.pathname==="/"?s.pathname=`_root.${u}`:i&&Yt(s.pathname,i)==="/"?s.pathname=`${i.replace(/\/$/,"")}/_root.${u}`:s.pathname=`${s.pathname.replace(/\/$/,"")}.${u}`,s}async function py(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 my(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 gy(n,i,l){let u=await Promise.all(n.map(async s=>{let c=i.routes[s.route.id];if(c){let f=await py(c,l);return f.links?f.links():[]}return[]}));return wy(u.flat(1).filter(my).filter(s=>s.rel==="stylesheet"||s.rel==="preload").map(s=>s.rel==="stylesheet"?{...s,rel:"prefetch",as:"style"}:{...s,rel:"prefetch"}))}function df(n,i,l,u,s,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(s.pathname+s.search+s.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 yy(n,i,{includeHydrateFallback:l}={}){return vy(n.map(u=>{let s=i.routes[u.route.id];if(!s)return[];let c=[s.module];return s.clientActionModule&&(c=c.concat(s.clientActionModule)),s.clientLoaderModule&&(c=c.concat(s.clientLoaderModule)),l&&s.hydrateFallbackModule&&(c=c.concat(s.hydrateFallbackModule)),s.imports&&(c=c.concat(s.imports)),c}).flat(1))}function vy(n){return[...new Set(n)]}function xy(n){let i={},l=Object.keys(n).sort();for(let u of l)i[u]=n[u];return i}function wy(n,i){let l=new Set;return new Set(i),n.reduce((u,s)=>{let c=JSON.stringify(xy(s));return l.has(c)||(l.add(c),u.push({key:c,link:s})),u},[])}function ah(){let n=b.useContext(On);return ru(n,"You must render this element inside a <DataRouterContext.Provider> element"),n}function ky(){let n=b.useContext(pa);return ru(n,"You must render this element inside a <DataRouterStateContext.Provider> element"),n}var nu=b.createContext(void 0);nu.displayName="FrameworkContext";function lh(){let n=b.useContext(nu);return ru(n,"You must render this element inside a <HydratedRouter> element"),n}function Sy(n,i){let l=b.useContext(nu),[u,s]=b.useState(!1),[c,f]=b.useState(!1),{onFocus:h,onBlur:p,onMouseEnter:y,onMouseLeave:x,onTouchStart:v}=i,S=b.useRef(null);b.useEffect(()=>{if(n==="render"&&f(!0),n==="viewport"){let T=Y=>{Y.forEach(H=>{f(H.isIntersecting)})},F=new IntersectionObserver(T,{threshold:.5});return S.current&&F.observe(S.current),()=>{F.disconnect()}}},[n]),b.useEffect(()=>{if(u){let T=setTimeout(()=>{f(!0)},100);return()=>{clearTimeout(T)}}},[u]);let N=()=>{s(!0)},L=()=>{s(!1),f(!1)};return l?n!=="intent"?[c,S,{}]:[c,S,{onFocus:ea(h,N),onBlur:ea(p,L),onMouseEnter:ea(y,N),onMouseLeave:ea(x,L),onTouchStart:ea(v,N)}]:[!1,S,{}]}function ea(n,i){return l=>{n&&n(l),l.defaultPrevented||i(l)}}function Ny({page:n,...i}){let{router:l}=ah(),u=b.useMemo(()=>Zr(l.routes,n,l.basename),[l.routes,n,l.basename]);return u?b.createElement(Ey,{page:n,matches:u,...i}):null}function jy(n){let{manifest:i,routeModules:l}=lh(),[u,s]=b.useState([]);return b.useEffect(()=>{let c=!1;return gy(n,i,l).then(f=>{c||s(f)}),()=>{c=!0}},[n,i,l]),u}function Ey({page:n,matches:i,...l}){let u=nn(),{future:s,manifest:c,routeModules:f}=lh(),{basename:h}=ah(),{loaderData:p,matches:y}=ky(),x=b.useMemo(()=>df(n,i,y,c,u,"data"),[n,i,y,c,u]),v=b.useMemo(()=>df(n,i,y,c,u,"assets"),[n,i,y,c,u]),S=b.useMemo(()=>{if(n===u.pathname+u.search+u.hash)return[];let T=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:T.add(H.route.id))}),T.size===0)return[];let Y=hy(n,h,s.unstable_trailingSlashAwareDataRequests,"data");return F&&T.size>0&&Y.searchParams.set("_routes",i.filter(H=>T.has(H.route.id)).map(H=>H.route.id).join(",")),[Y.pathname+Y.search]},[h,s.unstable_trailingSlashAwareDataRequests,p,u,c,x,i,n,f]),N=b.useMemo(()=>yy(v,c),[v,c]),L=jy(v);return b.createElement(b.Fragment,null,S.map(T=>b.createElement("link",{key:T,rel:"prefetch",as:"fetch",href:T,...l})),N.map(T=>b.createElement("link",{key:T,rel:"modulepreload",href:T,...l})),L.map(({key:T,link:F})=>b.createElement("link",{key:T,nonce:l.nonce,...F,crossOrigin:F.crossOrigin??l.crossOrigin})))}function Cy(...n){return i=>{n.forEach(l=>{typeof l=="function"?l(i):l!=null&&(l.current=i)})}}var Ry=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Ry&&(window.__reactRouterVersion="7.13.0")}catch{}function Ly(n,i){return eg({basename:i==null?void 0:i.basename,getContext:i==null?void 0:i.getContext,future:i==null?void 0:i.future,history:gm({window:i==null?void 0:i.window}),hydrationData:(i==null?void 0:i.hydrationData)||Py(),routes:n,mapRouteProperties:Xg,hydrationRouteProperties:qg,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 Py(){let n=window==null?void 0:window.__staticRouterHydrationData;return n&&n.errors&&(n={...n,errors:by(n.errors)}),n}function by(n){if(!n)return null;let i=Object.entries(n),l={};for(let[u,s]of i)if(s&&s.__type==="RouteErrorResponse")l[u]=new fa(s.status,s.statusText,s.data,s.internal===!0);else if(s&&s.__type==="Error"){if(s.__subType){let c=window[s.__subType];if(typeof c=="function")try{let f=new c(s.message);f.stack="",l[u]=f}catch{}}if(l[u]==null){let c=new Error(s.message);c.stack="",l[u]=c}}else l[u]=s;return l}var oh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ct=b.forwardRef(function({onClick:i,discover:l="render",prefetch:u="none",relative:s,reloadDocument:c,replace:f,state:h,target:p,to:y,preventScrollReset:x,viewTransition:v,unstable_defaultShouldRevalidate:S,...N},L){let{basename:T,unstable_useTransitions:F}=b.useContext(Gt),Y=typeof y=="string"&&oh.test(y),H=Uf(y,T);y=H.to;let G=Og(y,{relative:s}),[ne,ue,Se]=Sy(u,N),O=zy(y,{replace:f,state:h,target:p,preventScrollReset:x,relative:s,viewTransition:v,unstable_defaultShouldRevalidate:S,unstable_useTransitions:F});function Z(ce){i&&i(ce),ce.defaultPrevented||O(ce)}let ee=b.createElement("a",{...N,...Se,href:H.absoluteURL||G,onClick:H.isExternal||c?i:Z,ref:Cy(L,ue),target:p,"data-discover":!Y&&l==="render"?"true":void 0});return ne&&!Y?b.createElement(b.Fragment,null,ee,b.createElement(Ny,{page:G})):ee});ct.displayName="Link";var Oy=b.forwardRef(function({"aria-current":i="page",caseSensitive:l=!1,className:u="",end:s=!1,style:c,to:f,viewTransition:h,children:p,...y},x){let v=ga(f,{relative:y.relative}),S=nn(),N=b.useContext(pa),{navigator:L,basename:T}=b.useContext(Gt),F=N!=null&&Hy(v)&&h===!0,Y=L.encodeLocation?L.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&&T&&(G=Yt(G,T)||G);const ne=Y!=="/"&&Y.endsWith("/")?Y.length-1:Y.length;let ue=H===Y||!s&&H.startsWith(Y)&&H.charAt(ne)==="/",Se=G!=null&&(G===Y||!s&&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 b.createElement(ct,{...y,"aria-current":Z,className:ee,ref:x,style:ce,to:f,viewTransition:h},typeof p=="function"?p(O):p)});Oy.displayName="NavLink";var My=b.forwardRef(({discover:n="render",fetcherKey:i,navigate:l,reloadDocument:u,replace:s,state:c,method:f=Ol,action:h,onSubmit:p,relative:y,preventScrollReset:x,viewTransition:v,unstable_defaultShouldRevalidate:S,...N},L)=>{let{unstable_useTransitions:T}=b.useContext(Gt),F=Fy(),Y=Iy(h,{relative:y}),H=f.toLowerCase()==="get"?"get":"post",G=typeof h=="string"&&oh.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:s,state:c,relative:y,preventScrollReset:x,viewTransition:v,unstable_defaultShouldRevalidate:S});T&&l!==!1?b.startTransition(()=>Z()):Z()};return b.createElement("form",{ref:L,method:H,action:Y,onSubmit:u?p:ne,...N,"data-discover":!G&&n==="render"?"true":void 0})});My.displayName="Form";function _y(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function sh(n){let i=b.useContext(On);return Oe(i,_y(n)),i}function zy(n,{target:i,replace:l,state:u,preventScrollReset:s,relative:c,viewTransition:f,unstable_defaultShouldRevalidate:h,unstable_useTransitions:p}={}){let y=Mg(),x=nn(),v=ga(n,{relative:c});return b.useCallback(S=>{if(uy(S,i)){S.preventDefault();let N=l!==void 0?l:fr(x)===fr(v),L=()=>y(n,{replace:N,state:u,preventScrollReset:s,relative:c,viewTransition:f,unstable_defaultShouldRevalidate:h});p?b.startTransition(()=>L()):L()}},[x,y,v,l,u,i,n,s,c,f,h,p])}var Ty=0,Dy=()=>`__${String(++Ty)}__`;function Fy(){let{router:n}=sh("useSubmit"),{basename:i}=b.useContext(Gt),l=Wg(),u=n.fetch,s=n.navigate;return b.useCallback(async(c,f={})=>{let{action:h,method:p,encType:y,formData:x,body:v}=fy(c,i);if(f.navigate===!1){let S=f.fetcherKey||Dy();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 s(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,s,i,l])}function Iy(n,{relative:i}={}){let{basename:l}=b.useContext(Gt),u=b.useContext(hr);Oe(u,"useFormAction must be used inside a RouteContext");let[s]=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===".")&&s.route.index&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),l!=="/"&&(c.pathname=c.pathname==="/"?l:dr([l,c.pathname])),fr(c)}function Hy(n,{relative:i}={}){let l=b.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}=sh("useViewTransitionState"),s=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(s.pathname,f)!=null||_l(s.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 Uy=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),$y=n=>n.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,l,u)=>u?u.toUpperCase():l.toLowerCase()),ff=n=>{const i=$y(n);return i.charAt(0).toUpperCase()+i.slice(1)},uh=(...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 Ay={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 Vy=b.forwardRef(({color:n="currentColor",size:i=24,strokeWidth:l=2,absoluteStrokeWidth:u,className:s="",children:c,iconNode:f,...h},p)=>b.createElement("svg",{ref:p,...Ay,width:i,height:i,stroke:n,strokeWidth:u?Number(l)*24/Number(i):l,className:uh("lucide",s),...h},[...f.map(([y,x])=>b.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 Xe=(n,i)=>{const l=b.forwardRef(({className:u,...s},c)=>b.createElement(Vy,{ref:c,iconNode:i,className:uh(`lucide-${Uy(ff(n))}`,`lucide-${n}`,u),...s}));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 By=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],oi=Xe("arrow-right",By);/**
* @license lucide-react v0.487.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Wy=[["path",{d:"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"}]],Ky=Xe("award",Wy);/**
* @license lucide-react v0.487.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Yy=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Pn=Xe("circle-check-big",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 Gy=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]],iu=Xe("clock",Gy);/**
* @license lucide-react v0.487.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Qy=[["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"}]],Jy=Xe("droplet",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 Xy=[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],qy=Xe("facebook",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:"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"}]],ev=Xe("hammer",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 tv=[["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"}]],rv=Xe("house",tv);/**
* @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 nv=[["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"}]],iv=Xe("instagram",nv);/**
* @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 av=[["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"}]],ch=Xe("mail",av);/**
* @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 lv=[["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"}]],dh=Xe("map-pin",lv);/**
* @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 ov=[["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"}]],sv=Xe("menu",ov);/**
* @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 uv=[["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"}]],cv=Xe("paint-bucket",uv);/**
* @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 dv=[["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"}]],zl=Xe("phone",dv);/**
* @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 fv=[["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=Xe("send",fv);/**
* @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 hv=[["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"}]],pv=Xe("settings",hv);/**
* @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 mv=[["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"}]],gv=Xe("star",mv);/**
* @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 yv=[["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"}]],vv=Xe("twitter",yv);/**
* @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 xv=[["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=Xe("users",xv);/**
* @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 wv=[["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"}]],fh=Xe("wrench",wv);/**
* @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 kv=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Sv=Xe("x",kv);/**
* @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 Nv=[["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"}]],jv=Xe("zap",Nv),Ev="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iODgiIGhlaWdodD0iODgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBvcGFjaXR5PSIuMyIgZmlsbD0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIzLjciPjxyZWN0IHg9IjE2IiB5PSIxNiIgd2lkdGg9IjU2IiBoZWlnaHQ9IjU2IiByeD0iNiIvPjxwYXRoIGQ9Im0xNiA1OCAxNi0xOCAzMiAzMiIvPjxjaXJjbGUgY3g9IjUzIiBjeT0iMzUiIHI9IjciLz48L3N2Zz4KCg==";function aa(n){const[i,l]=b.useState(!1),u=()=>{l(!0)},{src:s,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:Ev,alt:"Error loading image",...p,"data-original-url":s})})}):g.jsx("img",{src:s,alt:c,className:h,style:f,...p,onError:u})}const je=n=>typeof n=="string",ta=()=>{let n,i;const l=new Promise((u,s)=>{n=u,i=s});return l.resolve=n,l.reject=i,l},mf=n=>n==null?"":""+n,Cv=(n,i,l)=>{n.forEach(u=>{i[u]&&(l[u]=i[u])})},Rv=/###/g,gf=n=>n&&n.indexOf("###")>-1?n.replace(Rv,"."):n,yf=n=>!n||je(n),la=(n,i,l)=>{const u=je(i)?i.split("."):i;let s=0;for(;s<u.length-1;){if(yf(n))return{};const c=gf(u[s]);!n[c]&&l&&(n[c]=new l),Object.prototype.hasOwnProperty.call(n,c)?n=n[c]:n={},++s}return yf(n)?{}:{obj:n,k:gf(u[s])}},vf=(n,i,l)=>{const{obj:u,k:s}=la(n,i,Object);if(u!==void 0||i.length===1){u[s]=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},Lv=(n,i,l,u)=>{const{obj:s,k:c}=la(n,i,Object);s[c]=s[c]||[],s[c].push(l)},Tl=(n,i)=>{const{obj:l,k:u}=la(n,i);if(l&&Object.prototype.hasOwnProperty.call(l,u))return l[u]},Pv=(n,i,l)=>{const u=Tl(n,l);return u!==void 0?u:Tl(i,l)},hh=(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]):hh(n[u],i[u],l):n[u]=i[u]);return n},Rn=n=>n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var bv={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const Ov=n=>je(n)?n.replace(/[&<>"'\/]/g,i=>bv[i]):n;class Mv{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 _v=[" ",",","?","!",";"],zv=new Mv(20),Tv=(n,i,l)=>{i=i||"",l=l||"";const u=_v.filter(f=>i.indexOf(f)<0&&l.indexOf(f)<0);if(u.length===0)return!0;const s=zv.getRegExp(`(${u.map(f=>f==="?"?"\\?":f).join("|")})`);let c=!s.test(n);if(!c){const f=n.indexOf(l);f>0&&!s.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 s=n;for(let c=0;c<u.length;){if(!s||typeof s!="object")return;let f,h="";for(let p=c;p<u.length;++p)if(p!==c&&(h+=l),h+=u[p],f=s[h],f!==void 0){if(["string","number","boolean"].indexOf(typeof f)>-1&&p<u.length-1)continue;c+=p-c+1;break}s=f}return s},da=n=>n==null?void 0:n.replace("_","-"),Dv={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||Dv,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,s){return s&&!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 $l{constructor(){this.observers={}}on(i,l){return i.split(" ").forEach(u=>{this.observers[u]||(this.observers[u]=new Map);const s=this.observers[u].get(l)||0;this.observers[u].set(l,s+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(([s,c])=>{for(let f=0;f<c;f++)s(...l)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([s,c])=>{for(let f=0;f<c;f++)s.apply(s,[i,...l])})}}class xf extends $l{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,s={}){var y,x;const c=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,f=s.ignoreJSONStructure!==void 0?s.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=Tl(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,s,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("."),s=l,l=h[1]),this.addNamespaces(l),vf(this.data,h,s),c.silent||this.emit("added",i,l,u,s)}addResources(i,l,u,s={silent:!1}){for(const c in u)(je(u[c])||Array.isArray(u[c]))&&this.addResource(i,l,c,u[c],{silent:!0});s.silent||this.emit("added",i,l,u)}addResourceBundle(i,l,u,s,c,f={silent:!1,skipCopy:!1}){let h=[i,l];i.indexOf(".")>-1&&(h=i.split("."),s=u,u=l,l=h[1]),this.addNamespaces(l);let p=Tl(this.data,h)||{};f.skipCopy||(u=JSON.parse(JSON.stringify(u))),s?hh(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(s=>l[s]&&Object.keys(l[s]).length>0)}toJSON(){return this.data}}var ph={processors:{},addPostProcessor(n){this.processors[n.name]=n},handle(n,i,l,u,s){return n.forEach(c=>{var f;i=((f=this.processors[c])==null?void 0:f.process(i,l,u,s))??i}),i}};const mh=Symbol("i18next/PATH_KEY");function Fv(){const n=[],i=Object.create(null);let l;return i.get=(u,s)=>{var c;return(c=l==null?void 0:l.revoke)==null||c.call(l),s===mh?n:(n.push(s),l=Proxy.revocable(u,i),l.proxy)},Proxy.revocable(Object.create(null),i).proxy}function Vs(n,i){const{[mh]:l}=n(Fv());return l.join((i==null?void 0:i.keySeparator)??".")}const wf={},_s=n=>!je(n)&&typeof n!="boolean"&&typeof n!="number";class Fl extends $l{constructor(i,l={}){super(),Cv(["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 s=this.resolve(i,u);if((s==null?void 0:s.res)===void 0)return!1;const c=_s(s.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 s=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&&!Tv(i,u,s);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!==s||u===s&&this.options.ns.indexOf(y[0])>-1)&&(c=y.shift()),i=y.join(s)}return{key:i,namespaces:je(c)?[c]:c}}translate(i,l,u){let s=typeof l=="object"?{...l}:l;if(typeof s!="object"&&this.options.overloadTranslationOptionHandler&&(s=this.options.overloadTranslationOptionHandler(arguments)),typeof s=="object"&&(s={...s}),s||(s={}),i==null)return"";typeof i=="function"&&(i=Vs(i,{...this.options,...s})),Array.isArray(i)||(i=[String(i)]);const c=s.returnDetails!==void 0?s.returnDetails:this.options.returnDetails,f=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,{key:h,namespaces:p}=this.extractFromKey(i[i.length-1],s),y=p[p.length-1];let x=s.nsSeparator!==void 0?s.nsSeparator:this.options.nsSeparator;x===void 0&&(x=":");const v=s.lng||this.language,S=s.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(s)}:`${y}${x}${h}`:c?{res:h,usedKey:h,exactUsedKey:h,usedLng:v,usedNS:y,usedParams:this.getUsedParamsDetails(s)}:h;const N=this.resolve(i,s);let L=N==null?void 0:N.res;const T=(N==null?void 0:N.usedKey)||h,F=(N==null?void 0:N.exactUsedKey)||h,Y=["[object Number]","[object Function]","[object RegExp]"],H=s.joinArrays!==void 0?s.joinArrays:this.options.joinArrays,G=!this.i18nFormat||this.i18nFormat.handleAsObject,ne=s.count!==void 0&&!je(s.count),ue=Fl.hasDefaultValue(s),Se=ne?this.pluralResolver.getSuffix(v,s.count,s):"",O=s.ordinal&&ne?this.pluralResolver.getSuffix(v,s.count,{ordinal:!1}):"",Z=ne&&!s.ordinal&&s.count===0,ee=Z&&s[`defaultValue${this.options.pluralSeparator}zero`]||s[`defaultValue${Se}`]||s[`defaultValue${O}`]||s.defaultValue;let ce=L;G&&!L&&ue&&(ce=ee);const Pe=_s(ce),pe=Object.prototype.toString.apply(ce);if(G&&ce&&Pe&&Y.indexOf(pe)<0&&!(je(H)&&Array.isArray(ce))){if(!s.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(T,ce,{...s,ns:p}):`key '${h} (${this.language})' returned an object instead of string.`;return c?(N.res=fe,N.usedParams=this.getUsedParamsDetails(s),N):fe}if(f){const fe=Array.isArray(ce),ie=fe?[]:{},Ee=fe?F:T;for(const he in ce)if(Object.prototype.hasOwnProperty.call(ce,he)){const ge=`${Ee}${f}${he}`;ue&&!L?ie[he]=this.translate(ge,{...s,defaultValue:_s(ee)?ee[he]:void 0,joinArrays:!1,ns:p}):ie[he]=this.translate(ge,{...s,joinArrays:!1,ns:p}),ie[he]===ge&&(ie[he]=ce[he])}L=ie}}else if(G&&je(H)&&Array.isArray(L))L=L.join(H),L&&(L=this.extendTranslation(L,i,s,u));else{let fe=!1,ie=!1;!this.isValidLookup(L)&&ue&&(fe=!0,L=ee),this.isValidLookup(L)||(ie=!0,L=h);const he=(s.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&ie?void 0:L,ge=ue&&ee!==L&&this.options.updateMissing;if(ie||fe||ge){if(this.logger.log(ge?"updateKey":"missingKey",v,y,h,ge?ee:L),f){const E=this.resolve(h,{...s,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,s.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(s.lng||this.language):I.push(s.lng||this.language);const W=(E,D,me)=>{var ve;const xe=ue&&me!==L?me:he;this.options.missingKeyHandler?this.options.missingKeyHandler(E,y,D,xe,ge,s):(ve=this.backendConnector)!=null&&ve.saveMissing&&this.backendConnector.saveMissing(E,y,D,xe,ge,s),this.emit("missingKey",E,y,D,L)};this.options.saveMissing&&(this.options.saveMissingPlurals&&ne?I.forEach(E=>{const D=this.pluralResolver.getSuffixes(E,s);Z&&s[`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,s[`defaultValue${me}`]||ee)})}):W(I,h,ee))}L=this.extendTranslation(L,i,s,N,u),ie&&L===h&&this.options.appendNamespaceToMissingKey&&(L=`${y}${x}${h}`),(ie||fe)&&this.options.parseMissingKeyHandler&&(L=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${y}${x}${h}`:h,fe?L:void 0,s))}return c?(N.res=L,N.usedParams=this.getUsedParamsDetails(s),N):L}extendTranslation(i,l,u,s,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||s.usedLng,s.usedNS,s.usedKey,{resolved:s});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||s.usedLng,u),x){const N=i.match(this.interpolator.nestingRegexp),L=N&&N.length;v<L&&(u.nest=!1)}!u.lng&&s&&s.res&&(u.lng=this.language||s.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=ph.handle(h,i,l,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...s,usedParams:this.getUsedParamsDetails(u)},...u}:u,this)),i}resolve(i,l={}){let u,s,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;s=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,L=l.context!==void 0&&(je(l.context)||typeof l.context=="number")&&l.context!=="",T=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[`${T[0]}-${F}`]&&((Y=this.utils)!=null&&Y.hasLoadedNamespace)&&!((H=this.utils)!=null&&H.hasLoadedNamespace(h))&&(wf[`${T[0]}-${F}`]=!0,this.logger.warn(`key "${s}" for languages "${T.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!!!")),T.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)),L){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:s,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,s={}){var c;return(c=this.i18nFormat)!=null&&c.getResource?this.i18nFormat.getResource(i,l,u,s):this.resourceStore.getResource(i,l,u,s)}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 s=u?i.replace:i;if(u&&typeof i.count<"u"&&(s.count=i.count),this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),!u){s={...s};for(const c of l)delete s[c]}return s}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 s=this.formatLanguageCode(u);(!this.options.supportedLngs||this.isSupportedCode(s))&&(l=s)}),!l&&this.options.supportedLngs&&i.forEach(u=>{if(l)return;const s=this.getScriptPartFromCode(u);if(this.isSupportedCode(s))return l=s;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),s=[],c=f=>{f&&(this.isSupportedCode(f)?s.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=>{s.indexOf(f)<0&&c(this.formatLanguageCode(f))}),s}}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 Iv{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),s=l.ordinal?"ordinal":"cardinal",c=JSON.stringify({cleanedCode:u,type:s});if(c in this.pluralRulesCache)return this.pluralRulesCache[c];let f;try{f=new Intl.PluralRules(u,{type:s})}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(s=>`${l}${s}`)}getSuffixes(i,l={}){let u=this.getRule(i,l);return u||(u=this.getRule("dev",l)),u?u.resolvedOptions().pluralCategories.sort((s,c)=>Sf[s]-Sf[c]).map(s=>`${this.options.prepend}${l.ordinal?`ordinal${this.options.prepend}`:""}${s}`):[]}getSuffix(i,l,u={}){const s=this.getRule(i,u);return s?`${this.options.prepend}${u.ordinal?`ordinal${this.options.prepend}`:""}${s.select(l)}`:(this.logger.warn(`no plural rule found for: ${i}`),this.getSuffix("dev",l,u))}}const jf=(n,i,l,u=".",s=!0)=>{let c=Pv(n,i,l);return!c&&s&&je(l)&&(c=As(n,l,u),c===void 0&&(c=As(i,l,u))),c},zs=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:s,prefix:c,prefixEscaped:f,suffix:h,suffixEscaped:p,formatSeparator:y,unescapeSuffix:x,unescapePrefix:v,nestingPrefix:S,nestingPrefixEscaped:N,nestingSuffix:L,nestingSuffixEscaped:T,nestingOptionsSeparator:F,maxReplaces:Y,alwaysFormat:H}=i.interpolation;this.escape=l!==void 0?l:Ov,this.escapeValue=u!==void 0?u:!0,this.useRawValueToEscape=s!==void 0?s:!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=L?Rn(L):T||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,s){var N;let c,f,h;const p=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},y=L=>{if(L.indexOf(this.formatSeparator)<0){const H=jf(l,p,L,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(H,void 0,u,{...s,...l,interpolationkey:L}):H}const T=L.split(this.formatSeparator),F=T.shift().trim(),Y=T.join(this.formatSeparator).trim();return this.format(jf(l,p,F,this.options.keySeparator,this.options.ignoreJSONStructure),Y,u,{...s,...l,interpolationkey:F})};this.resetRegExp();const x=(s==null?void 0:s.missingInterpolationHandler)||this.options.missingInterpolationHandler,v=((N=s==null?void 0:s.interpolation)==null?void 0:N.skipOnVariables)!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:L=>zs(L)},{regex:this.regexp,safeValue:L=>this.escapeValue?zs(this.escape(L)):zs(L)}].forEach(L=>{for(h=0;c=L.regex.exec(i);){const T=c[1].trim();if(f=y(T),f===void 0)if(typeof x=="function"){const Y=x(i,c,s);f=je(Y)?Y:""}else if(s&&Object.prototype.hasOwnProperty.call(s,T))f="";else if(v){f=c[0];continue}else this.logger.warn(`missed to pass in variable ${T} for interpolating ${i}`),f="";else!je(f)&&!this.useRawValueToEscape&&(f=mf(f));const F=L.safeValue(f);if(i=i.replace(c[0],F),v?(L.regex.lastIndex+=f.length,L.regex.lastIndex-=c[0].length):L.regex.lastIndex=0,h++,h>=this.maxReplaces)break}}),i}nest(i,l,u={}){let s,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),L=S.match(/"/g);(((N==null?void 0:N.length)??0)%2===0&&!L||((L==null?void 0:L.length)??0)%2!==0)&&(S=S.replace(/'/g,'"'));try{f=JSON.parse(S),y&&(f={...y,...f})}catch(T){return this.logger.warn(`failed parsing options string in nesting for key ${p}`,T),`${p}${x}${S}`}return f.defaultValue&&f.defaultValue.indexOf(this.prefix)>-1&&delete f.defaultValue,p};for(;s=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(s[1])?s[1].lastIndexOf("}")+1:s[1].indexOf(this.formatSeparator);if(y!==-1&&(p=s[1].slice(y).split(this.formatSeparator).map(x=>x.trim()).filter(Boolean),s[1]=s[1].slice(0,y)),c=l(h.call(this,s[1].trim(),f),f),c&&s[0]===i&&!je(c))return c;je(c)||(c=mf(c)),c||(this.logger.warn(`missed to resolve ${s[1]} for nesting ${i}`),c=""),p.length&&(c=p.reduce((x,v)=>this.format(x,v,u.lng,{...u,interpolationkey:s[1].trim()}),c.trim())),i=i.replace(s[0],c),this.regexp.lastIndex=0}return i}}const Hv=n=>{let i=n.toLowerCase().trim();const l={};if(n.indexOf("(")>-1){const u=n.split("(");i=u[0].toLowerCase().trim();const s=u[1].substring(0,u[1].length-1);i==="currency"&&s.indexOf(":")<0?l.currency||(l.currency=s.trim()):i==="relativetime"&&s.indexOf(":")<0?l.range||(l.range=s.trim()):s.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,s)=>{let c=s;s&&s.interpolationkey&&s.formatParams&&s.formatParams[s.interpolationkey]&&s[s.interpolationkey]&&(c={...c,[s.interpolationkey]:void 0});const f=u+JSON.stringify(c);let h=i[f];return h||(h=n(da(u),s),i[f]=h),h(l)}},Uv=n=>(i,l,u)=>n(da(l),u)(i);class $v{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:Uv;this.formats={number:u((s,c)=>{const f=new Intl.NumberFormat(s,{...c});return h=>f.format(h)}),currency:u((s,c)=>{const f=new Intl.NumberFormat(s,{...c,style:"currency"});return h=>f.format(h)}),datetime:u((s,c)=>{const f=new Intl.DateTimeFormat(s,{...c});return h=>f.format(h)}),relativetime:u((s,c)=>{const f=new Intl.RelativeTimeFormat(s,{...c});return h=>f.format(h,c.range||"day")}),list:u((s,c)=>{const f=new Intl.ListFormat(s,{...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,s={}){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}=Hv(p);if(this.formats[y]){let S=h;try{const N=((v=s==null?void 0:s.formatParams)==null?void 0:v[s.interpolationkey])||{},L=N.locale||N.lng||s.locale||s.lng||u;S=this.formats[y](h,L,{...x,...s,...N})}catch(N){this.logger.warn(N)}return S}else this.logger.warn(`there was no format function for ${y}`);return h},i)}}const Av=(n,i)=>{n.pending[i]!==void 0&&(delete n.pending[i],n.pendingCount--)};class Vv extends $l{constructor(i,l,u,s={}){var c,f;super(),this.backend=i,this.store=l,this.services=u,this.languageUtils=u.languageUtils,this.options=s,this.logger=cr.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=s.maxParallelReads||10,this.readingCalls=0,this.maxRetries=s.maxRetries>=0?s.maxRetries:5,this.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,this.state={},this.queue=[],(f=(c=this.backend)==null?void 0:c.init)==null||f.call(c,u,s.backend,s)}queueLoad(i,l,u,s){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:s}),{toLoad:Object.keys(c),pending:Object.keys(f),toLoadLanguages:Object.keys(h),toLoadNamespaces:Object.keys(p)}}loaded(i,l,u){const s=i.split("|"),c=s[0],f=s[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=>{Lv(p.loaded,[c],f),Av(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,s=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:s,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&&s<this.maxRetries){setTimeout(()=>{this.read.call(this,i,l,u,s+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={},s){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),s&&s();je(i)&&(i=this.languageUtils.toResolveHierarchy(i)),je(l)&&(l=[l]);const c=this.queueLoad(i,l,u,s);if(!c.toLoad.length)return c.pending.length||s(),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("|"),s=u[0],c=u[1];this.read(s,c,"read",void 0,void 0,(f,h)=>{f&&this.logger.warn(`${l}loading namespace ${c} for language ${s} failed`,f),!f&&h&&this.logger.log(`${l}loaded namespace ${c} for language ${s}`,h),this.loaded(i,f,h)})}saveMissing(i,l,u,s,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},L=this.backend.create.bind(this.backend);if(L.length<6)try{let T;L.length===5?T=L(i,l,u,s,N):T=L(i,l,u,s),T&&typeof T.then=="function"?T.then(F=>h(null,F)).catch(h):h(null,T)}catch(T){h(T)}else L(i,l,u,s,h,N)}!i||!i[0]||this.store.addResource(i[0],l,u,s)}}}const Ts=()=>({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},Pl=()=>{},Bv=n=>{Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach(l=>{typeof n[l]=="function"&&(n[l]=n[l].bind(n))})},gh="__i18next_supportNoticeShown",Wv=()=>typeof globalThis<"u"&&!!globalThis[gh],Kv=()=>{typeof globalThis<"u"&&(globalThis[gh]=!0)},Yv=n=>{var i,l,u,s,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=(s=n==null?void 0:n.modules)==null?void 0:s.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(L=>{var T,F,Y;return((T=L==null?void 0:L.name)==null?void 0:T.indexOf("Locize"))>0||((Y=(F=L==null?void 0:L.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(L=>L==null?void 0:L.projectId))};class oa extends $l{constructor(i={},l){if(super(),this.options=Rf(i),this.services={},this.logger=cr,this.modules={external:[]},Bv(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=Ts();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&&!Yv(this)&&!Wv()&&(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 💙"),Kv());const s=y=>y?typeof y=="function"?new y:y:null;if(!this.options.isClone){this.modules.logger?cr.init(s(this.modules.logger),this.options):cr.init(null,this.options);let y;this.modules.formatter?y=this.modules.formatter:y=$v;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 Iv(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=s(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 Vv(s(this.modules.backend),v.resourceStore,v,this.options),v.backendConnector.on("*",(N,...L)=>{this.emit(N,...L)}),this.modules.languageDetector&&(v.languageDetector=s(this.modules.languageDetector),v.languageDetector.init&&v.languageDetector.init(v,this.options.detection,this.options)),this.modules.i18nFormat&&(v.i18nFormat=s(this.modules.i18nFormat),v.i18nFormat.init&&v.i18nFormat.init(this)),this.translator=new Fl(this.services,this.options),this.translator.on("*",(N,...L)=>{this.emit(N,...L)}),this.modules.external.forEach(N=>{N.init&&N.init(this)})}if(this.format=this.options.interpolation.format,l||(l=Pl),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=Pl){var c,f;let u=l;const s=je(i)?i:this.language;if(typeof i=="function"&&(u=i),!this.options.resources||this.options.partialBundledLanguages){if((s==null?void 0:s.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)})};s?p(s):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 s=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=Pl),this.services.backendConnector.reload(i,l,c=>{s.resolve(),u(c)}),s}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"&&ph.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 s=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&&(s(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||s(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 s=(c,f,...h)=>{let p;typeof f!="object"?p=this.options.overloadTranslationOptionHandler([c,f].concat(h)):p={...f},p.lng=p.lng||s.lng,p.lngs=p.lngs||s.lngs,p.ns=p.ns||s.ns,p.keyPrefix!==""&&(p.keyPrefix=p.keyPrefix||u||s.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)?s.lng=i:s.lngs=i,s.ns=l,s.keyPrefix=u,s}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],s=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)&&(!s||f(c,i)))}loadNamespaces(i,l){const u=ta();return this.options.ns?(je(i)&&(i=[i]),i.forEach(s=>{this.options.ns.indexOf(s)<0&&this.options.ns.push(s)}),this.loadResources(s=>{u.resolve(),l&&l(s)}),u):(l&&l(),Promise.resolve())}loadLanguages(i,l){const u=ta();je(i)&&(i=[i]);const s=this.options.preload||[],c=i.filter(f=>s.indexOf(f)<0&&this.services.languageUtils.isSupportedCode(f));return c.length?(this.options.preload=s.concat(c),this.loadResources(f=>{u.resolve(),l&&l(f)}),u):(l&&l(),Promise.resolve())}dir(i){var s,c;if(i||(i=this.resolvedLanguage||(((s=this.languages)==null?void 0:s.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(Ts());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=Pl){const u=i.forkResourceStore;u&&delete i.forkResourceStore;const s={...this.options,...i,isClone:!0},c=new oa(s);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,s),c.services.resourceStore=c.store}if(i.interpolation){const p={...Ts().interpolation,...this.options.interpolation,...i.interpolation},y={...s,interpolation:p};c.services.interpolator=new Ef(y)}return c.translator=new Fl(c.services,s),c.translator.on("*",(h,...p)=>{c.emit(h,...p)}),c.init(s,l),c.translator.options=s,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 Gv=(n,i,l,u)=>{var c,f,h,p;const s=[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(s,"warn","react-i18next::",!0);bn(s[0])&&(s[0]=`react-i18next:: ${s[0]}`),(p=(h=n==null?void 0:n.services)==null?void 0:h.logger)!=null&&p.warn?n.services.logger.warn(...s):console!=null&&console.warn&&console.warn(...s)},Lf={},yh=(n,i,l,u)=>{bn(l)&&Lf[l]||(bn(l)&&(Lf[l]=new Date),Gv(n,i,l,u))},vh=(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,vh(n,l))},Pf=(n,i,l,u)=>{if(bn(l)&&(l=[l]),n.options.preload&&n.options.preload.indexOf(i)>-1)return Bs(n,l,u);l.forEach(s=>{n.options.ns.indexOf(s)<0&&n.options.ns.push(s)}),n.loadLanguages(i,vh(n,u))},Qv=(n,i,l={})=>!i.languages||!i.languages.length?(yh(i,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:i.languages}),!0):i.hasLoadedNamespace(n,{lng:l.lng,precheck:(u,s)=>{if(l.bindI18n&&l.bindI18n.indexOf("languageChanging")>-1&&u.services.backendConnector.backend&&u.isLanguageChangingTo&&!s(u.isLanguageChangingTo,n))return!1}}),bn=n=>typeof n=="string",Jv=n=>typeof n=="object"&&n!==null,Xv=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,qv={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},Zv=n=>qv[n],e0=n=>n.replace(Xv,Zv);let Ws={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e0,transDefaultProps:void 0};const t0=(n={})=>{Ws={...Ws,...n}},r0=()=>Ws;let xh;const n0=n=>{xh=n},i0=()=>xh,a0={type:"3rdParty",init(n){t0(n.options.react),n0(n)}},l0=b.createContext();class o0{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 bf;function s0(){if(bf)return Fs;bf=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,s=n.useEffect,c=n.useLayoutEffect,f=n.useDebugValue;function h(v,S){var N=S(),L=u({inst:{value:N,getSnapshot:S}}),T=L[0].inst,F=L[1];return c(function(){T.value=N,T.getSnapshot=S,p(T)&&F({inst:T})},[v,N,S]),s(function(){return p(T)&&F({inst:T}),v(function(){p(T)&&F({inst:T})})},[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 u0(){return Of||(Of=1,Ds.exports=s0()),Ds.exports}var c0=u0();const d0=(n,i)=>bn(i)?i:Jv(i)&&bn(i.defaultValue)?i.defaultValue:Array.isArray(n)?n[n.length-1]:n,f0={t:d0,ready:!1},h0=()=>()=>{},an=(n,i={})=>{var ee,ce,Pe;const{i18n:l}=i,{i18n:u,defaultNS:s}=b.useContext(l0)||{},c=l||u||i0();c&&!c.reportNamespaces&&(c.reportNamespaces=new o0),c||yh(c,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const f=b.useMemo(()=>{var pe;return{...r0(),...(pe=c==null?void 0:c.options)==null?void 0:pe.react,...i}},[c,i]),{useSuspense:h,keyPrefix:p}=f,y=s||((ee=c==null?void 0:c.options)==null?void 0:ee.defaultNS),x=bn(y)?[y]:y||["translation"],v=b.useMemo(()=>x,x);(Pe=(ce=c==null?void 0:c.reportNamespaces)==null?void 0:ce.addUsedNamespaces)==null||Pe.call(ce,v);const S=b.useRef(0),N=b.useCallback(pe=>{if(!c)return h0;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]),L=b.useRef(),T=b.useCallback(()=>{if(!c)return f0;const pe=!!(c.isInitialized||c.initializedStoreOnce)&&v.every(I=>Qv(I,c,f)),fe=i.lng||c.language,ie=S.current,Ee=L.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 L.current=ge,ge},[c,v,p,f,i.lng]),[F,Y]=b.useState(0),{t:H,ready:G}=c0.useSyncExternalStore(N,T,T);b.useEffect(()=>{if(c&&!G&&!h){const pe=()=>Y(fe=>fe+1);i.lng?Pf(c,i.lng,v,pe):Bs(c,v,pe)}},[c,i.lng,v,G,h,F]);const ne=c||{},ue=b.useRef(null),Se=b.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=b.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?Pf(c,i.lng,v,fe):Bs(c,v,fe)});return Z};function p0(){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",{children:[g.jsx("section",{className:"relative bg-gradient-to-br from-orange-50 to-orange-100 overflow-hidden",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",children:[n("home.hero.title"),g.jsxs("span",{className:"text-orange-600",children:[" ",n("home.hero.titleHighlight")]})]}),g.jsx("p",{className:"text-xl text-gray-700 mb-8",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-orange-600 text-white px-8 py-4 rounded-lg hover:bg-orange-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-orange-600 px-8 py-4 rounded-lg border-2 border-orange-600 hover:bg-orange-50 transition-colors",children:[g.jsx(zl,{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",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((s,c)=>g.jsxs("div",{className:"flex items-center space-x-3",children:[g.jsx(Pn,{className:"h-6 w-6 text-orange-600 flex-shrink-0"}),g.jsx("span",{className:"text-gray-700",children:s})]},c))})})}),g.jsx("section",{className:"py-16 bg-gray-50",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",children:n("home.services.title")}),g.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto",children:n("home.services.subtitle")})]}),g.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:i.map((s,c)=>g.jsxs("div",{className:"bg-white rounded-lg overflow-hidden shadow-lg hover:shadow-xl transition-shadow",children:[g.jsx(aa,{src:s.image,alt:s.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:s.title}),g.jsx("p",{className:"text-gray-600 mb-4",children:s.description}),g.jsxs(ct,{to:"/services",className:"inline-flex items-center text-orange-600 hover:text-orange-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-orange-600 text-white px-8 py-3 rounded-lg hover:bg-orange-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",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",children:n("home.about.title")}),g.jsx("p",{className:"text-lg text-gray-600 mb-6",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(Pn,{className:"h-6 w-6 text-orange-600 flex-shrink-0 mt-0.5"}),g.jsxs("div",{children:[g.jsx("span",{className:"text-gray-900",children:n("home.about.points.experienced.title")}),g.jsx("p",{className:"text-gray-600",children:n("home.about.points.experienced.text")})]})]}),g.jsxs("li",{className:"flex items-start space-x-3",children:[g.jsx(Pn,{className:"h-6 w-6 text-orange-600 flex-shrink-0 mt-0.5"}),g.jsxs("div",{children:[g.jsx("span",{className:"text-gray-900",children:n("home.about.points.pricing.title")}),g.jsx("p",{className:"text-gray-600",children:n("home.about.points.pricing.text")})]})]}),g.jsxs("li",{className:"flex items-start space-x-3",children:[g.jsx(Pn,{className:"h-6 w-6 text-orange-600 flex-shrink-0 mt-0.5"}),g.jsxs("div",{children:[g.jsx("span",{className:"text-gray-900",children:n("home.about.points.guarantee.title")}),g.jsx("p",{className:"text-gray-600",children:n("home.about.points.guarantee.text")})]})]})]}),g.jsxs(ct,{to:"/about",className:"inline-flex items-center text-orange-600 hover:text-orange-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",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",children:n("home.testimonials.title")}),g.jsx("p",{className:"text-xl text-gray-600",children:n("home.testimonials.subtitle")})]}),g.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:u.map((s,c)=>g.jsxs("div",{className:"bg-white rounded-lg p-6 shadow-lg",children:[g.jsx("div",{className:"flex mb-4",children:[...Array(s.rating)].map((f,h)=>g.jsx(gv,{className:"h-5 w-5 text-yellow-400 fill-current"},h))}),g.jsxs("p",{className:"text-gray-700 mb-4",children:['"',s.text,'"']}),g.jsxs("p",{className:"text-gray-900",children:["- ",s.name]})]},c))})]})}),g.jsx("section",{className:"py-16 bg-orange-600",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-orange-100 mb-8",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-orange-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-orange-700 text-white px-8 py-4 rounded-lg hover:bg-orange-800 transition-colors",children:[g.jsx(zl,{className:"mr-2 h-5 w-5"}),n("home.cta.secondary")]})]})]})})]})}function m0(){const{t:n}=an(),i=[{icon:Jy,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:jv,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:cv,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:ev,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:rv,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:pv,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",{children:[g.jsx("section",{className:"bg-gradient-to-br from-orange-50 to-orange-100 py-16",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",children:n("services.hero.title")}),g.jsx("p",{className:"text-xl text-gray-700 max-w-3xl mx-auto",children:n("services.hero.subtitle")})]})}),g.jsx("section",{className:"py-16 bg-white",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,s)=>{const c=u.icon;return g.jsxs("div",{className:"bg-white border border-gray-200 rounded-lg p-6 hover:shadow-xl transition-shadow",children:[g.jsx("div",{className:"bg-orange-100 w-14 h-14 rounded-lg flex items-center justify-center mb-4",children:g.jsx(c,{className:"h-7 w-7 text-orange-600"})}),g.jsx("h3",{className:"text-xl mb-3 text-gray-900",children:u.title}),g.jsx("p",{className:"text-gray-600 mb-4",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(Pn,{className:"h-5 w-5 text-orange-600 flex-shrink-0 mt-0.5"}),g.jsx("span",{className:"text-gray-700",children:f})]},h))})]},s)})})})}),g.jsx("section",{className:"py-16 bg-gray-50",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",children:n("services.process.title")}),g.jsx("p",{className:"text-xl text-gray-600",children:n("services.process.subtitle")})]}),g.jsx("div",{className:"grid md:grid-cols-4 gap-8",children:l.map((u,s)=>g.jsxs("div",{className:"text-center",children:[g.jsx("div",{className:"bg-orange-600 text-white w-16 h-16 rounded-full flex items-center justify-center text-2xl mx-auto mb-4",children:u.step}),g.jsx("h3",{className:"text-xl mb-2 text-gray-900",children:u.title}),g.jsx("p",{className:"text-gray-600",children:u.description})]},s))})]})}),g.jsx("section",{className:"py-16 bg-orange-600",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-orange-100 mb-8",children:n("services.cta.subtitle")}),g.jsxs(ct,{to:"/contact",className:"inline-flex items-center bg-white text-orange-600 px-8 py-4 rounded-lg hover:bg-gray-100 transition-colors",children:[n("services.cta.button"),g.jsx(oi,{className:"ml-2 h-5 w-5"})]})]})})]})}function g0(){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:Pn,title:n("about.values.quality.title"),description:n("about.values.quality.description")},{icon:Ky,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")}],s=[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",{children:[g.jsx("section",{className:"bg-gradient-to-br from-orange-50 to-orange-100 py-16",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",children:n("about.hero.title")}),g.jsx("p",{className:"text-xl text-gray-700 max-w-3xl mx-auto",children:n("about.hero.subtitle")})]})}),g.jsx("section",{className:"py-16 bg-white",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",children:n("about.story.title")}),g.jsx("p",{className:"text-lg text-gray-700 mb-4",children:n("about.story.p1")}),g.jsx("p",{className:"text-lg text-gray-700 mb-4",children:n("about.story.p2")}),g.jsx("p",{className:"text-lg text-gray-700",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-orange-600",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-orange-100",children:c.label})]},f))})})}),g.jsx("section",{className:"py-16 bg-gray-50",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",children:n("about.values.title")}),g.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto",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",children:[g.jsx("div",{className:"bg-orange-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-orange-600"})}),g.jsx("h3",{className:"text-xl mb-3 text-gray-900",children:c.title}),g.jsx("p",{className:"text-gray-600",children:c.description})]},f)})})]})}),g.jsx("section",{className:"py-16 bg-white",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",children:n("about.team.title")}),g.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto",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",children:[g.jsx("div",{className:"bg-orange-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-orange-600"})}),g.jsx("h3",{className:"text-xl mb-1 text-gray-900",children:c.name}),g.jsx("p",{className:"text-orange-600 mb-3",children:c.role}),g.jsx("p",{className:"text-gray-600",children:c.description})]},f))})]})}),g.jsx("section",{className:"py-16 bg-gray-50",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",children:n("about.certifications.title")}),g.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto",children:n("about.certifications.subtitle")})]}),g.jsx("div",{className:"grid md:grid-cols-3 gap-6 max-w-4xl mx-auto",children:s.map((c,f)=>g.jsxs("div",{className:"flex items-center space-x-3 bg-white p-4 rounded-lg",children:[g.jsx(Pn,{className:"h-6 w-6 text-orange-600 flex-shrink-0"}),g.jsx("span",{className:"text-gray-700",children:c})]},f))})]})})]})}function y0(){const{t:n}=an(),[i,l]=b.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")}],s=[{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"?s:s.filter(f=>f.category===i);return g.jsxs("div",{children:[g.jsx("section",{className:"bg-gradient-to-br from-orange-50 to-orange-100 py-16",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",children:n("gallery.hero.title")}),g.jsx("p",{className:"text-xl text-gray-700 max-w-3xl mx-auto",children:n("gallery.hero.subtitle")})]})}),g.jsx("section",{className:"py-8 bg-white border-b border-gray-200",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-orange-600 text-white":"bg-gray-100 text-gray-700 hover:bg-gray-200"}`,children:f.label},f.key))})})}),g.jsx("section",{className:"py-16 bg-white",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",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-orange-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",children:n("gallery.empty")})})]})})]})}function v0(){const{t:n}=an(),[i,l]=b.useState({name:"",email:"",phone:"",service:"",message:""}),[u,s]=b.useState(!1),c=p=>{l({...i,[p.target.name]:p.target.value})},f=p=>{p.preventDefault(),console.log("Form submitted:",i),s(!0),setTimeout(()=>{s(!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",{children:[g.jsx("section",{className:"bg-gradient-to-br from-orange-50 to-orange-100 py-16",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",children:n("contact.hero.title")}),g.jsx("p",{className:"text-xl text-gray-700 max-w-3xl mx-auto",children:n("contact.hero.subtitle")})]})}),g.jsx("section",{className:"py-16 bg-white",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",children:n("contact.info.title")}),g.jsx("p",{className:"text-gray-600 mb-8",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-orange-100 p-3 rounded-lg",children:g.jsx(zl,{className:"h-6 w-6 text-orange-600"})}),g.jsxs("div",{children:[g.jsx("h3",{className:"text-gray-900 mb-1",children:n("contact.info.phone")}),g.jsx("a",{href:"tel:5551234567",className:"text-orange-600 hover:text-orange-700",children:"(555) 123-4567"}),g.jsx("p",{className:"text-gray-600 text-sm mt-1",children:n("contact.info.phoneHours")})]})]}),g.jsxs("div",{className:"flex items-start space-x-4",children:[g.jsx("div",{className:"bg-orange-100 p-3 rounded-lg",children:g.jsx(ch,{className:"h-6 w-6 text-orange-600"})}),g.jsxs("div",{children:[g.jsx("h3",{className:"text-gray-900 mb-1",children:n("contact.info.email")}),g.jsx("a",{href:"mailto:info@lucris.nl",className:"text-orange-600 hover:text-orange-700",children:"info@lucris.nl"}),g.jsx("p",{className:"text-gray-600 text-sm mt-1",children:n("contact.info.emailNote")})]})]}),g.jsxs("div",{className:"flex items-start space-x-4",children:[g.jsx("div",{className:"bg-orange-100 p-3 rounded-lg",children:g.jsx(dh,{className:"h-6 w-6 text-orange-600"})}),g.jsxs("div",{children:[g.jsx("h3",{className:"text-gray-900 mb-1",children:n("contact.info.address")}),g.jsxs("p",{className:"text-gray-600",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-orange-100 p-3 rounded-lg",children:g.jsx(iu,{className:"h-6 w-6 text-orange-600"})}),g.jsxs("div",{children:[g.jsx("h3",{className:"text-gray-900 mb-1",children:n("contact.info.hours")}),g.jsxs("p",{className:"text-gray-600",children:[n("contact.info.hoursLine1"),g.jsx("br",{}),n("contact.info.hoursLine2"),g.jsx("br",{}),n("contact.info.hoursLine3")]})]})]})]}),g.jsxs("div",{className:"bg-orange-50 p-6 rounded-lg border border-orange-200",children:[g.jsx("h3",{className:"text-gray-900 mb-2",children:n("contact.emergency.title")}),g.jsx("p",{className:"text-gray-600 mb-3",children:n("contact.emergency.subtitle")}),g.jsx("a",{href:"tel:5559876543",className:"text-xl text-orange-600 hover:text-orange-700",children:"(555) 987-6543"})]})]}),g.jsxs("div",{className:"lg:col-span-3 bg-gray-50 p-8 rounded-lg",children:[g.jsx("h2",{className:"text-2xl mb-6 text-gray-900",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",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-orange-600 focus:ring-2 focus:ring-orange-200 outline-none transition-all",placeholder:n("contact.form.fullNamePlaceholder")})]}),g.jsxs("div",{children:[g.jsxs("label",{htmlFor:"phone",className:"block text-sm text-gray-700 mb-2",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-orange-600 focus:ring-2 focus:ring-orange-200 outline-none transition-all",placeholder:n("contact.form.phonePlaceholder")})]})]}),g.jsxs("div",{children:[g.jsxs("label",{htmlFor:"email",className:"block text-sm text-gray-700 mb-2",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-orange-600 focus:ring-2 focus:ring-orange-200 outline-none transition-all",placeholder:n("contact.form.emailPlaceholder")})]}),g.jsxs("div",{children:[g.jsxs("label",{htmlFor:"service",className:"block text-sm text-gray-700 mb-2",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-orange-600 focus:ring-2 focus:ring-orange-200 outline-none transition-all",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",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-orange-600 focus:ring-2 focus:ring-orange-200 outline-none transition-all resize-none",placeholder:n("contact.form.detailsPlaceholder")})]}),g.jsxs("button",{type:"submit",className:"w-full bg-orange-600 text-white px-8 py-4 rounded-lg hover:bg-orange-700 transition-colors flex items-center justify-center",children:[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",children:n("contact.form.disclaimer")})]})]})]})})}),g.jsx("section",{className:"py-16 bg-gray-50",children:g.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[g.jsx("h2",{className:"text-3xl text-center mb-8 text-gray-900",children:n("contact.map.title")}),g.jsx("div",{className:"bg-gray-300 rounded-lg overflow-hidden h-96 flex items-center justify-center",children:g.jsx("p",{className:"text-gray-600",children:n("contact.map.placeholder")})})]})})]})}function x0(){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 w0(){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",s=c=>n.changeLanguage(c);return g.jsx("button",{type:"button",onClick:()=>s(u),"aria-label":i("header.language"),className:"flex items-center gap-1 bg-white px-2 py-1 text-sm hover:bg-gray-50",children:u==="en"?g.jsx(x0,{}):g.jsx(w0,{})})}function k0(){const[n,i]=b.useState(!1),l=nn(),{t:u}=an(),s=[{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",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(fh,{className:"h-8 w-8 text-orange-600"}),g.jsx("span",{className:"font-bold text-xl text-gray-900",children:u("header.brand")})]}),g.jsxs("nav",{className:"hidden md:flex items-center space-x-8",children:[s.map(f=>g.jsx(ct,{to:f.path,className:`transition-colors ${c(f.path)?"text-orange-600":"text-gray-700 hover:text-orange-600"}`,children:f.name},f.path)),g.jsx(Mf,{})]}),g.jsx(ct,{to:"/contact",className:"hidden md:block bg-orange-600 text-white px-6 py-2 rounded-md hover:bg-orange-700 transition-colors",children:u("header.cta")}),g.jsx("button",{className:"md:hidden",onClick:()=>i(!n),children:n?g.jsx(Sv,{className:"h-6 w-6 text-gray-900"}):g.jsx(sv,{className:"h-6 w-6 text-gray-900"})})]}),n&&g.jsxs("nav",{className:"md:hidden pb-4 pt-2",children:[s.map(f=>g.jsx(ct,{to:f.path,onClick:()=>i(!1),className:`block py-2 transition-colors ${c(f.path)?"text-orange-600":"text-gray-700 hover:text-orange-600"}`,children:f.name},f.path)),g.jsx("div",{className:"mt-4",children:g.jsx(Mf,{})}),g.jsx(ct,{to:"/contact",onClick:()=>i(!1),className:"block mt-4 bg-orange-600 text-white px-6 py-2 rounded-md text-center hover:bg-orange-700 transition-colors",children:u("header.cta")})]})]})})}function S0(){const{t:n}=an();return g.jsx("footer",{className:"bg-gray-900 text-gray-300",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(fh,{className:"h-8 w-8 text-orange-600"}),g.jsx("span",{className:"font-bold text-xl text-white",children:n("footer.brand")})]}),g.jsx("p",{className:"text-sm mb-4",children:n("footer.description")}),g.jsxs("div",{className:"flex space-x-4",children:[g.jsx("a",{href:"#",className:"hover:text-orange-600 transition-colors",children:g.jsx(qy,{className:"h-5 w-5"})}),g.jsx("a",{href:"#",className:"hover:text-orange-600 transition-colors",children:g.jsx(iv,{className:"h-5 w-5"})}),g.jsx("a",{href:"#",className:"hover:text-orange-600 transition-colors",children:g.jsx(vv,{className:"h-5 w-5"})})]})]}),g.jsxs("div",{children:[g.jsx("h3",{className:"text-white font-semibold mb-4",children:n("footer.quickLinks")}),g.jsxs("ul",{className:"space-y-2",children:[g.jsx("li",{children:g.jsx(ct,{to:"/",className:"hover:text-orange-600 transition-colors",children:n("footer.links.home")})}),g.jsx("li",{children:g.jsx(ct,{to:"/services",className:"hover:text-orange-600 transition-colors",children:n("footer.links.services")})}),g.jsx("li",{children:g.jsx(ct,{to:"/about",className:"hover:text-orange-600 transition-colors",children:n("footer.links.about")})}),g.jsx("li",{children:g.jsx(ct,{to:"/gallery",className:"hover:text-orange-600 transition-colors",children:n("footer.links.gallery")})}),g.jsx("li",{children:g.jsx(ct,{to:"/contact",className:"hover:text-orange-600 transition-colors",children:n("footer.links.contact")})})]})]}),g.jsxs("div",{children:[g.jsx("h3",{className:"text-white font-semibold mb-4",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",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(zl,{className:"h-5 w-5 text-orange-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",children:"(555) 123-4567"})]})]}),g.jsxs("li",{className:"flex items-start space-x-3",children:[g.jsx(ch,{className:"h-5 w-5 text-orange-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",children:"info@lucris.nl"})]})]}),g.jsxs("li",{className:"flex items-start space-x-3",children:[g.jsx(dh,{className:"h-5 w-5 text-orange-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",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-orange-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",children:n("footer.hoursValue")})]})]})]})]})]}),g.jsx("div",{className:"border-t border-gray-800 mt-8 pt-8 text-center text-sm",children:g.jsx("p",{children:n("footer.copyright")})})]})})}function N0(){return g.jsxs("div",{className:"min-h-screen flex flex-col",children:[g.jsx(k0,{}),g.jsx("main",{className:"flex-1",children:g.jsx(ny,{})}),g.jsx(S0,{})]})}const j0=Ly([{path:"/",Component:N0,children:[{index:!0,Component:p0},{path:"services",Component:m0},{path:"about",Component:g0},{path:"gallery",Component:y0},{path:"contact",Component:v0}]}],{basename:"/handyman/"});function E0(){return g.jsx(ey,{router:j0})}const C0={brand:"Lucris Handyman",nav:{home:"Home",services:"Services",about:"About Us",gallery:"Gallery",contact:"Contact"},cta:"Get a Quote",language:"Language"},R0={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."},L0={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"]}},P0={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)"}},b0={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"}},O0={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"}},M0={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."},_0={header:C0,footer:R0,about:L0,contact:P0,home:b0,services:O0,gallery:M0},z0={brand:"Lucris Handyman",nav:{home:"Home",services:"Diensten",about:"Over ons",gallery:"Galerij",contact:"Contact"},cta:"Offerte aanvragen",language:"Taal"},T0={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."},D0={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"]}},F0={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)"}},I0={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"}},H0={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"}},U0={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."},$0={header:z0,footer:T0,about:D0,contact:F0,home:I0,services:H0,gallery:U0};St.use(a0).init({resources:{en:{translation:_0},nl:{translation:$0}},lng:"en",fallbackLng:"en",interpolation:{escapeValue:!1}});dm.createRoot(document.getElementById("root")).render(g.jsx(E0,{}));