86 lines
508 KiB
JavaScript
86 lines
508 KiB
JavaScript
var nv=Object.defineProperty;var rv=(e,t,n)=>t in e?nv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Fa=(e,t,n)=>rv(e,typeof t!="symbol"?t+"":t,n);function ov(e,t){for(var n=0;n<t.length;n++){const o=t[n];if(typeof o!="string"&&!Array.isArray(o)){for(const i in o)if(i!=="default"&&!(i in e)){const s=Object.getOwnPropertyDescriptor(o,i);s&&Object.defineProperty(e,i,s.get?s:{enumerable:!0,get:()=>o[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))o(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&o(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function o(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();var iv=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Oc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var kf={exports:{}},zs={},Ef={exports:{}},le={};/**
|
|
* @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 ei=Symbol.for("react.element"),sv=Symbol.for("react.portal"),av=Symbol.for("react.fragment"),lv=Symbol.for("react.strict_mode"),cv=Symbol.for("react.profiler"),uv=Symbol.for("react.provider"),dv=Symbol.for("react.context"),fv=Symbol.for("react.forward_ref"),pv=Symbol.for("react.suspense"),mv=Symbol.for("react.memo"),hv=Symbol.for("react.lazy"),Fu=Symbol.iterator;function vv(e){return e===null||typeof e!="object"?null:(e=Fu&&e[Fu]||e["@@iterator"],typeof e=="function"?e:null)}var Pf={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_f=Object.assign,Of={};function Br(e,t,n){this.props=e,this.context=t,this.refs=Of,this.updater=n||Pf}Br.prototype.isReactComponent={};Br.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Br.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Tf(){}Tf.prototype=Br.prototype;function Tc(e,t,n){this.props=e,this.context=t,this.refs=Of,this.updater=n||Pf}var Ac=Tc.prototype=new Tf;Ac.constructor=Tc;_f(Ac,Br.prototype);Ac.isPureReactComponent=!0;var Lu=Array.isArray,Af=Object.prototype.hasOwnProperty,Ic={current:null},If={key:!0,ref:!0,__self:!0,__source:!0};function Rf(e,t,n){var o,i={},s=null,a=null;if(t!=null)for(o in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(s=""+t.key),t)Af.call(t,o)&&!If.hasOwnProperty(o)&&(i[o]=t[o]);var l=arguments.length-2;if(l===1)i.children=n;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];i.children=u}if(e&&e.defaultProps)for(o in l=e.defaultProps,l)i[o]===void 0&&(i[o]=l[o]);return{$$typeof:ei,type:e,key:s,ref:a,props:i,_owner:Ic.current}}function gv(e,t){return{$$typeof:ei,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Rc(e){return typeof e=="object"&&e!==null&&e.$$typeof===ei}function yv(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Mu=/\/+/g;function La(e,t){return typeof e=="object"&&e!==null&&e.key!=null?yv(""+e.key):t.toString(36)}function Ii(e,t,n,o,i){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(s){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case ei:case sv:a=!0}}if(a)return a=e,i=i(a),e=o===""?"."+La(a,0):o,Lu(i)?(n="",e!=null&&(n=e.replace(Mu,"$&/")+"/"),Ii(i,t,n,"",function(c){return c})):i!=null&&(Rc(i)&&(i=gv(i,n+(!i.key||a&&a.key===i.key?"":(""+i.key).replace(Mu,"$&/")+"/")+e)),t.push(i)),1;if(a=0,o=o===""?".":o+":",Lu(e))for(var l=0;l<e.length;l++){s=e[l];var u=o+La(s,l);a+=Ii(s,t,n,u,i)}else if(u=vv(e),typeof u=="function")for(e=u.call(e),l=0;!(s=e.next()).done;)s=s.value,u=o+La(s,l++),a+=Ii(s,t,n,u,i);else if(s==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function pi(e,t,n){if(e==null)return e;var o=[],i=0;return Ii(e,o,"","",function(s){return t.call(n,s,i++)}),o}function xv(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var qe={current:null},Ri={transition:null},jv={ReactCurrentDispatcher:qe,ReactCurrentBatchConfig:Ri,ReactCurrentOwner:Ic};function Df(){throw Error("act(...) is not supported in production builds of React.")}le.Children={map:pi,forEach:function(e,t,n){pi(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return pi(e,function(){t++}),t},toArray:function(e){return pi(e,function(t){return t})||[]},only:function(e){if(!Rc(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};le.Component=Br;le.Fragment=av;le.Profiler=cv;le.PureComponent=Tc;le.StrictMode=lv;le.Suspense=pv;le.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=jv;le.act=Df;le.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=_f({},e.props),i=e.key,s=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,a=Ic.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)Af.call(t,u)&&!If.hasOwnProperty(u)&&(o[u]=t[u]===void 0&&l!==void 0?l[u]:t[u])}var u=arguments.length-2;if(u===1)o.children=n;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];o.children=l}return{$$typeof:ei,type:e.type,key:i,ref:s,props:o,_owner:a}};le.createContext=function(e){return e={$$typeof:dv,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:uv,_context:e},e.Consumer=e};le.createElement=Rf;le.createFactory=function(e){var t=Rf.bind(null,e);return t.type=e,t};le.createRef=function(){return{current:null}};le.forwardRef=function(e){return{$$typeof:fv,render:e}};le.isValidElement=Rc;le.lazy=function(e){return{$$typeof:hv,_payload:{_status:-1,_result:e},_init:xv}};le.memo=function(e,t){return{$$typeof:mv,type:e,compare:t===void 0?null:t}};le.startTransition=function(e){var t=Ri.transition;Ri.transition={};try{e()}finally{Ri.transition=t}};le.unstable_act=Df;le.useCallback=function(e,t){return qe.current.useCallback(e,t)};le.useContext=function(e){return qe.current.useContext(e)};le.useDebugValue=function(){};le.useDeferredValue=function(e){return qe.current.useDeferredValue(e)};le.useEffect=function(e,t){return qe.current.useEffect(e,t)};le.useId=function(){return qe.current.useId()};le.useImperativeHandle=function(e,t,n){return qe.current.useImperativeHandle(e,t,n)};le.useInsertionEffect=function(e,t){return qe.current.useInsertionEffect(e,t)};le.useLayoutEffect=function(e,t){return qe.current.useLayoutEffect(e,t)};le.useMemo=function(e,t){return qe.current.useMemo(e,t)};le.useReducer=function(e,t,n){return qe.current.useReducer(e,t,n)};le.useRef=function(e){return qe.current.useRef(e)};le.useState=function(e){return qe.current.useState(e)};le.useSyncExternalStore=function(e,t,n){return qe.current.useSyncExternalStore(e,t,n)};le.useTransition=function(){return qe.current.useTransition()};le.version="18.3.1";Ef.exports=le;var R=Ef.exports;const I=Oc(R),xl=ov({__proto__:null,default:I},[R]);/**
|
|
* @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 Nv=R,Cv=Symbol.for("react.element"),bv=Symbol.for("react.fragment"),wv=Object.prototype.hasOwnProperty,Sv=Nv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,kv={key:!0,ref:!0,__self:!0,__source:!0};function Ff(e,t,n){var o,i={},s=null,a=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(a=t.ref);for(o in t)wv.call(t,o)&&!kv.hasOwnProperty(o)&&(i[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps,t)i[o]===void 0&&(i[o]=t[o]);return{$$typeof:Cv,type:e,key:s,ref:a,props:i,_owner:Sv.current}}zs.Fragment=bv;zs.jsx=Ff;zs.jsxs=Ff;kf.exports=zs;var r=kf.exports,Lf={exports:{}},dt={},Mf={exports:{}},Bf={};/**
|
|
* @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.
|
|
*/(function(e){function t(A,T){var L=A.length;A.push(T);e:for(;0<L;){var B=L-1>>>1,$=A[B];if(0<i($,T))A[B]=T,A[L]=$,L=B;else break e}}function n(A){return A.length===0?null:A[0]}function o(A){if(A.length===0)return null;var T=A[0],L=A.pop();if(L!==T){A[0]=L;e:for(var B=0,$=A.length,K=$>>>1;B<K;){var G=2*(B+1)-1,ee=A[G],re=G+1,ne=A[re];if(0>i(ee,L))re<$&&0>i(ne,ee)?(A[B]=ne,A[re]=L,B=re):(A[B]=ee,A[G]=L,B=G);else if(re<$&&0>i(ne,L))A[B]=ne,A[re]=L,B=re;else break e}}return T}function i(A,T){var L=A.sortIndex-T.sortIndex;return L!==0?L:A.id-T.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var u=[],c=[],d=1,p=null,y=3,b=!1,g=!1,N=!1,C=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,v=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(A){for(var T=n(c);T!==null;){if(T.callback===null)o(c);else if(T.startTime<=A)o(c),T.sortIndex=T.expirationTime,t(u,T);else break;T=n(c)}}function x(A){if(N=!1,m(A),!g)if(n(u)!==null)g=!0,U(E);else{var T=n(c);T!==null&&Q(x,T.startTime-A)}}function E(A,T){g=!1,N&&(N=!1,h(P),P=-1),b=!0;var L=y;try{for(m(T),p=n(u);p!==null&&(!(p.expirationTime>T)||A&&!H());){var B=p.callback;if(typeof B=="function"){p.callback=null,y=p.priorityLevel;var $=B(p.expirationTime<=T);T=e.unstable_now(),typeof $=="function"?p.callback=$:p===n(u)&&o(u),m(T)}else o(u);p=n(u)}if(p!==null)var K=!0;else{var G=n(c);G!==null&&Q(x,G.startTime-T),K=!1}return K}finally{p=null,y=L,b=!1}}var _=!1,O=null,P=-1,M=5,W=-1;function H(){return!(e.unstable_now()-W<M)}function te(){if(O!==null){var A=e.unstable_now();W=A;var T=!0;try{T=O(!0,A)}finally{T?X():(_=!1,O=null)}}else _=!1}var X;if(typeof v=="function")X=function(){v(te)};else if(typeof MessageChannel<"u"){var Z=new MessageChannel,F=Z.port2;Z.port1.onmessage=te,X=function(){F.postMessage(null)}}else X=function(){C(te,0)};function U(A){O=A,_||(_=!0,X())}function Q(A,T){P=C(function(){A(e.unstable_now())},T)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(A){A.callback=null},e.unstable_continueExecution=function(){g||b||(g=!0,U(E))},e.unstable_forceFrameRate=function(A){0>A||125<A?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<A?Math.floor(1e3/A):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(A){switch(y){case 1:case 2:case 3:var T=3;break;default:T=y}var L=y;y=T;try{return A()}finally{y=L}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(A,T){switch(A){case 1:case 2:case 3:case 4:case 5:break;default:A=3}var L=y;y=A;try{return T()}finally{y=L}},e.unstable_scheduleCallback=function(A,T,L){var B=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?B+L:B):L=B,A){case 1:var $=-1;break;case 2:$=250;break;case 5:$=1073741823;break;case 4:$=1e4;break;default:$=5e3}return $=L+$,A={id:d++,callback:T,priorityLevel:A,startTime:L,expirationTime:$,sortIndex:-1},L>B?(A.sortIndex=L,t(c,A),n(u)===null&&A===n(c)&&(N?(h(P),P=-1):N=!0,Q(x,L-B))):(A.sortIndex=$,t(u,A),g||b||(g=!0,U(E))),A},e.unstable_shouldYield=H,e.unstable_wrapCallback=function(A){var T=y;return function(){var L=y;y=T;try{return A.apply(this,arguments)}finally{y=L}}}})(Bf);Mf.exports=Bf;var Ev=Mf.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 Pv=R,lt=Ev;function V(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);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 zf=new Set,Oo={};function nr(e,t){Or(e,t),Or(e+"Capture",t)}function Or(e,t){for(Oo[e]=t,e=0;e<t.length;e++)zf.add(t[e])}var Yt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),jl=Object.prototype.hasOwnProperty,_v=/^[: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]*$/,Bu={},zu={};function Ov(e){return jl.call(zu,e)?!0:jl.call(Bu,e)?!1:_v.test(e)?zu[e]=!0:(Bu[e]=!0,!1)}function Tv(e,t,n,o){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return o?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Av(e,t,n,o){if(t===null||typeof t>"u"||Tv(e,t,n,o))return!0;if(o)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ve(e,t,n,o,i,s,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=o,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=a}var Fe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Fe[e]=new Ve(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Fe[t]=new Ve(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Fe[e]=new Ve(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Fe[e]=new Ve(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){Fe[e]=new Ve(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Fe[e]=new Ve(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Fe[e]=new Ve(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Fe[e]=new Ve(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Fe[e]=new Ve(e,5,!1,e.toLowerCase(),null,!1,!1)});var Dc=/[\-:]([a-z])/g;function Fc(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(Dc,Fc);Fe[t]=new Ve(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(Dc,Fc);Fe[t]=new Ve(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(Dc,Fc);Fe[t]=new Ve(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Fe[e]=new Ve(e,1,!1,e.toLowerCase(),null,!1,!1)});Fe.xlinkHref=new Ve("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Fe[e]=new Ve(e,1,!1,e.toLowerCase(),null,!0,!0)});function Lc(e,t,n,o){var i=Fe.hasOwnProperty(t)?Fe[t]:null;(i!==null?i.type!==0:o||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Av(t,n,i,o)&&(n=null),o||i===null?Ov(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,o=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,o?e.setAttributeNS(o,t,n):e.setAttribute(t,n))))}var Xt=Pv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,mi=Symbol.for("react.element"),ar=Symbol.for("react.portal"),lr=Symbol.for("react.fragment"),Mc=Symbol.for("react.strict_mode"),Nl=Symbol.for("react.profiler"),Wf=Symbol.for("react.provider"),$f=Symbol.for("react.context"),Bc=Symbol.for("react.forward_ref"),Cl=Symbol.for("react.suspense"),bl=Symbol.for("react.suspense_list"),zc=Symbol.for("react.memo"),on=Symbol.for("react.lazy"),Uf=Symbol.for("react.offscreen"),Wu=Symbol.iterator;function no(e){return e===null||typeof e!="object"?null:(e=Wu&&e[Wu]||e["@@iterator"],typeof e=="function"?e:null)}var Ce=Object.assign,Ma;function fo(e){if(Ma===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ma=t&&t[1]||""}return`
|
|
`+Ma+e}var Ba=!1;function za(e,t){if(!e||Ba)return"";Ba=!0;var n=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(c){var o=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){o=c}e.call(t.prototype)}else{try{throw Error()}catch(c){o=c}e()}}catch(c){if(c&&o&&typeof c.stack=="string"){for(var i=c.stack.split(`
|
|
`),s=o.stack.split(`
|
|
`),a=i.length-1,l=s.length-1;1<=a&&0<=l&&i[a]!==s[l];)l--;for(;1<=a&&0<=l;a--,l--)if(i[a]!==s[l]){if(a!==1||l!==1)do if(a--,l--,0>l||i[a]!==s[l]){var u=`
|
|
`+i[a].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=a&&0<=l);break}}}finally{Ba=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?fo(e):""}function Iv(e){switch(e.tag){case 5:return fo(e.type);case 16:return fo("Lazy");case 13:return fo("Suspense");case 19:return fo("SuspenseList");case 0:case 2:case 15:return e=za(e.type,!1),e;case 11:return e=za(e.type.render,!1),e;case 1:return e=za(e.type,!0),e;default:return""}}function wl(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 lr:return"Fragment";case ar:return"Portal";case Nl:return"Profiler";case Mc:return"StrictMode";case Cl:return"Suspense";case bl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case $f:return(e.displayName||"Context")+".Consumer";case Wf:return(e._context.displayName||"Context")+".Provider";case Bc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case zc:return t=e.displayName||null,t!==null?t:wl(e.type)||"Memo";case on:t=e._payload,e=e._init;try{return wl(e(t))}catch{}}return null}function Rv(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 wl(t);case 8:return t===Mc?"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 Sn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function qf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Dv(e){var t=qf(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){o=""+a,s.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return o},setValue:function(a){o=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function hi(e){e._valueTracker||(e._valueTracker=Dv(e))}function Vf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),o="";return e&&(o=qf(e)?e.checked?"true":"false":e.value),e=o,e!==n?(t.setValue(e),!0):!1}function os(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 Sl(e,t){var n=t.checked;return Ce({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function $u(e,t){var n=t.defaultValue==null?"":t.defaultValue,o=t.checked!=null?t.checked:t.defaultChecked;n=Sn(t.value!=null?t.value:n),e._wrapperState={initialChecked:o,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Hf(e,t){t=t.checked,t!=null&&Lc(e,"checked",t,!1)}function kl(e,t){Hf(e,t);var n=Sn(t.value),o=t.type;if(n!=null)o==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(o==="submit"||o==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?El(e,t.type,n):t.hasOwnProperty("defaultValue")&&El(e,t.type,Sn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Uu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type;if(!(o!=="submit"&&o!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function El(e,t,n){(t!=="number"||os(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var po=Array.isArray;function wr(e,t,n,o){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&o&&(e[n].defaultSelected=!0)}else{for(n=""+Sn(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,o&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Pl(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(V(91));return Ce({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function qu(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(V(92));if(po(n)){if(1<n.length)throw Error(V(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Sn(n)}}function Yf(e,t){var n=Sn(t.value),o=Sn(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),o!=null&&(e.defaultValue=""+o)}function Vu(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Kf(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 _l(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Kf(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var vi,Gf=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,o,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,o,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(vi=vi||document.createElement("div"),vi.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=vi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function To(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var go={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},Fv=["Webkit","ms","Moz","O"];Object.keys(go).forEach(function(e){Fv.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),go[t]=go[e]})});function Qf(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||go.hasOwnProperty(e)&&go[e]?(""+t).trim():t+"px"}function Jf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var o=n.indexOf("--")===0,i=Qf(n,t[n],o);n==="float"&&(n="cssFloat"),o?e.setProperty(n,i):e[n]=i}}var Lv=Ce({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 Ol(e,t){if(t){if(Lv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(V(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(V(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(V(61))}if(t.style!=null&&typeof t.style!="object")throw Error(V(62))}}function Tl(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 Al=null;function Wc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Il=null,Sr=null,kr=null;function Hu(e){if(e=ri(e)){if(typeof Il!="function")throw Error(V(280));var t=e.stateNode;t&&(t=Vs(t),Il(e.stateNode,e.type,t))}}function Xf(e){Sr?kr?kr.push(e):kr=[e]:Sr=e}function Zf(){if(Sr){var e=Sr,t=kr;if(kr=Sr=null,Hu(e),t)for(e=0;e<t.length;e++)Hu(t[e])}}function ep(e,t){return e(t)}function tp(){}var Wa=!1;function np(e,t,n){if(Wa)return e(t,n);Wa=!0;try{return ep(e,t,n)}finally{Wa=!1,(Sr!==null||kr!==null)&&(tp(),Zf())}}function Ao(e,t){var n=e.stateNode;if(n===null)return null;var o=Vs(n);if(o===null)return null;n=o[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":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(V(231,t,typeof n));return n}var Rl=!1;if(Yt)try{var ro={};Object.defineProperty(ro,"passive",{get:function(){Rl=!0}}),window.addEventListener("test",ro,ro),window.removeEventListener("test",ro,ro)}catch{Rl=!1}function Mv(e,t,n,o,i,s,a,l,u){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(d){this.onError(d)}}var yo=!1,is=null,ss=!1,Dl=null,Bv={onError:function(e){yo=!0,is=e}};function zv(e,t,n,o,i,s,a,l,u){yo=!1,is=null,Mv.apply(Bv,arguments)}function Wv(e,t,n,o,i,s,a,l,u){if(zv.apply(this,arguments),yo){if(yo){var c=is;yo=!1,is=null}else throw Error(V(198));ss||(ss=!0,Dl=c)}}function rr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function rp(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 Yu(e){if(rr(e)!==e)throw Error(V(188))}function $v(e){var t=e.alternate;if(!t){if(t=rr(e),t===null)throw Error(V(188));return t!==e?null:e}for(var n=e,o=t;;){var i=n.return;if(i===null)break;var s=i.alternate;if(s===null){if(o=i.return,o!==null){n=o;continue}break}if(i.child===s.child){for(s=i.child;s;){if(s===n)return Yu(i),e;if(s===o)return Yu(i),t;s=s.sibling}throw Error(V(188))}if(n.return!==o.return)n=i,o=s;else{for(var a=!1,l=i.child;l;){if(l===n){a=!0,n=i,o=s;break}if(l===o){a=!0,o=i,n=s;break}l=l.sibling}if(!a){for(l=s.child;l;){if(l===n){a=!0,n=s,o=i;break}if(l===o){a=!0,o=s,n=i;break}l=l.sibling}if(!a)throw Error(V(189))}}if(n.alternate!==o)throw Error(V(190))}if(n.tag!==3)throw Error(V(188));return n.stateNode.current===n?e:t}function op(e){return e=$v(e),e!==null?ip(e):null}function ip(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=ip(e);if(t!==null)return t;e=e.sibling}return null}var sp=lt.unstable_scheduleCallback,Ku=lt.unstable_cancelCallback,Uv=lt.unstable_shouldYield,qv=lt.unstable_requestPaint,Se=lt.unstable_now,Vv=lt.unstable_getCurrentPriorityLevel,$c=lt.unstable_ImmediatePriority,ap=lt.unstable_UserBlockingPriority,as=lt.unstable_NormalPriority,Hv=lt.unstable_LowPriority,lp=lt.unstable_IdlePriority,Ws=null,Ft=null;function Yv(e){if(Ft&&typeof Ft.onCommitFiberRoot=="function")try{Ft.onCommitFiberRoot(Ws,e,void 0,(e.current.flags&128)===128)}catch{}}var wt=Math.clz32?Math.clz32:Qv,Kv=Math.log,Gv=Math.LN2;function Qv(e){return e>>>=0,e===0?32:31-(Kv(e)/Gv|0)|0}var gi=64,yi=4194304;function mo(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 ls(e,t){var n=e.pendingLanes;if(n===0)return 0;var o=0,i=e.suspendedLanes,s=e.pingedLanes,a=n&268435455;if(a!==0){var l=a&~i;l!==0?o=mo(l):(s&=a,s!==0&&(o=mo(s)))}else a=n&~i,a!==0?o=mo(a):s!==0&&(o=mo(s));if(o===0)return 0;if(t!==0&&t!==o&&!(t&i)&&(i=o&-o,s=t&-t,i>=s||i===16&&(s&4194240)!==0))return t;if(o&4&&(o|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=o;0<t;)n=31-wt(t),i=1<<n,o|=e[n],t&=~i;return o}function Jv(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 Xv(e,t){for(var n=e.suspendedLanes,o=e.pingedLanes,i=e.expirationTimes,s=e.pendingLanes;0<s;){var a=31-wt(s),l=1<<a,u=i[a];u===-1?(!(l&n)||l&o)&&(i[a]=Jv(l,t)):u<=t&&(e.expiredLanes|=l),s&=~l}}function Fl(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function cp(){var e=gi;return gi<<=1,!(gi&4194240)&&(gi=64),e}function $a(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ti(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-wt(t),e[t]=n}function Zv(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var o=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-wt(n),s=1<<i;t[i]=0,o[i]=-1,e[i]=-1,n&=~s}}function Uc(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var o=31-wt(n),i=1<<o;i&t|e[o]&t&&(e[o]|=t),n&=~i}}var fe=0;function up(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var dp,qc,fp,pp,mp,Ll=!1,xi=[],vn=null,gn=null,yn=null,Io=new Map,Ro=new Map,un=[],eg="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 Gu(e,t){switch(e){case"focusin":case"focusout":vn=null;break;case"dragenter":case"dragleave":gn=null;break;case"mouseover":case"mouseout":yn=null;break;case"pointerover":case"pointerout":Io.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ro.delete(t.pointerId)}}function oo(e,t,n,o,i,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:o,nativeEvent:s,targetContainers:[i]},t!==null&&(t=ri(t),t!==null&&qc(t)),e):(e.eventSystemFlags|=o,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function tg(e,t,n,o,i){switch(t){case"focusin":return vn=oo(vn,e,t,n,o,i),!0;case"dragenter":return gn=oo(gn,e,t,n,o,i),!0;case"mouseover":return yn=oo(yn,e,t,n,o,i),!0;case"pointerover":var s=i.pointerId;return Io.set(s,oo(Io.get(s)||null,e,t,n,o,i)),!0;case"gotpointercapture":return s=i.pointerId,Ro.set(s,oo(Ro.get(s)||null,e,t,n,o,i)),!0}return!1}function hp(e){var t=zn(e.target);if(t!==null){var n=rr(t);if(n!==null){if(t=n.tag,t===13){if(t=rp(n),t!==null){e.blockedOn=t,mp(e.priority,function(){fp(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Di(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Ml(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var o=new n.constructor(n.type,n);Al=o,n.target.dispatchEvent(o),Al=null}else return t=ri(n),t!==null&&qc(t),e.blockedOn=n,!1;t.shift()}return!0}function Qu(e,t,n){Di(e)&&n.delete(t)}function ng(){Ll=!1,vn!==null&&Di(vn)&&(vn=null),gn!==null&&Di(gn)&&(gn=null),yn!==null&&Di(yn)&&(yn=null),Io.forEach(Qu),Ro.forEach(Qu)}function io(e,t){e.blockedOn===t&&(e.blockedOn=null,Ll||(Ll=!0,lt.unstable_scheduleCallback(lt.unstable_NormalPriority,ng)))}function Do(e){function t(i){return io(i,e)}if(0<xi.length){io(xi[0],e);for(var n=1;n<xi.length;n++){var o=xi[n];o.blockedOn===e&&(o.blockedOn=null)}}for(vn!==null&&io(vn,e),gn!==null&&io(gn,e),yn!==null&&io(yn,e),Io.forEach(t),Ro.forEach(t),n=0;n<un.length;n++)o=un[n],o.blockedOn===e&&(o.blockedOn=null);for(;0<un.length&&(n=un[0],n.blockedOn===null);)hp(n),n.blockedOn===null&&un.shift()}var Er=Xt.ReactCurrentBatchConfig,cs=!0;function rg(e,t,n,o){var i=fe,s=Er.transition;Er.transition=null;try{fe=1,Vc(e,t,n,o)}finally{fe=i,Er.transition=s}}function og(e,t,n,o){var i=fe,s=Er.transition;Er.transition=null;try{fe=4,Vc(e,t,n,o)}finally{fe=i,Er.transition=s}}function Vc(e,t,n,o){if(cs){var i=Ml(e,t,n,o);if(i===null)Xa(e,t,o,us,n),Gu(e,o);else if(tg(i,e,t,n,o))o.stopPropagation();else if(Gu(e,o),t&4&&-1<eg.indexOf(e)){for(;i!==null;){var s=ri(i);if(s!==null&&dp(s),s=Ml(e,t,n,o),s===null&&Xa(e,t,o,us,n),s===i)break;i=s}i!==null&&o.stopPropagation()}else Xa(e,t,o,null,n)}}var us=null;function Ml(e,t,n,o){if(us=null,e=Wc(o),e=zn(e),e!==null)if(t=rr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=rp(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return us=e,null}function vp(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(Vv()){case $c:return 1;case ap:return 4;case as:case Hv:return 16;case lp:return 536870912;default:return 16}default:return 16}}var fn=null,Hc=null,Fi=null;function gp(){if(Fi)return Fi;var e,t=Hc,n=t.length,o,i="value"in fn?fn.value:fn.textContent,s=i.length;for(e=0;e<n&&t[e]===i[e];e++);var a=n-e;for(o=1;o<=a&&t[n-o]===i[s-o];o++);return Fi=i.slice(e,1<o?1-o:void 0)}function Li(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 ji(){return!0}function Ju(){return!1}function ft(e){function t(n,o,i,s,a){this._reactName=n,this._targetInst=i,this.type=o,this.nativeEvent=s,this.target=a,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(s):s[l]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?ji:Ju,this.isPropagationStopped=Ju,this}return Ce(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=ji)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ji)},persist:function(){},isPersistent:ji}),t}var zr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Yc=ft(zr),ni=Ce({},zr,{view:0,detail:0}),ig=ft(ni),Ua,qa,so,$s=Ce({},ni,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Kc,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!==so&&(so&&e.type==="mousemove"?(Ua=e.screenX-so.screenX,qa=e.screenY-so.screenY):qa=Ua=0,so=e),Ua)},movementY:function(e){return"movementY"in e?e.movementY:qa}}),Xu=ft($s),sg=Ce({},$s,{dataTransfer:0}),ag=ft(sg),lg=Ce({},ni,{relatedTarget:0}),Va=ft(lg),cg=Ce({},zr,{animationName:0,elapsedTime:0,pseudoElement:0}),ug=ft(cg),dg=Ce({},zr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),fg=ft(dg),pg=Ce({},zr,{data:0}),Zu=ft(pg),mg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},hg={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"},vg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function gg(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=vg[e])?!!t[e]:!1}function Kc(){return gg}var yg=Ce({},ni,{key:function(e){if(e.key){var t=mg[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Li(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?hg[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Kc,charCode:function(e){return e.type==="keypress"?Li(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Li(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),xg=ft(yg),jg=Ce({},$s,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ed=ft(jg),Ng=Ce({},ni,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Kc}),Cg=ft(Ng),bg=Ce({},zr,{propertyName:0,elapsedTime:0,pseudoElement:0}),wg=ft(bg),Sg=Ce({},$s,{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}),kg=ft(Sg),Eg=[9,13,27,32],Gc=Yt&&"CompositionEvent"in window,xo=null;Yt&&"documentMode"in document&&(xo=document.documentMode);var Pg=Yt&&"TextEvent"in window&&!xo,yp=Yt&&(!Gc||xo&&8<xo&&11>=xo),td=" ",nd=!1;function xp(e,t){switch(e){case"keyup":return Eg.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var cr=!1;function _g(e,t){switch(e){case"compositionend":return jp(t);case"keypress":return t.which!==32?null:(nd=!0,td);case"textInput":return e=t.data,e===td&&nd?null:e;default:return null}}function Og(e,t){if(cr)return e==="compositionend"||!Gc&&xp(e,t)?(e=gp(),Fi=Hc=fn=null,cr=!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 yp&&t.locale!=="ko"?null:t.data;default:return null}}var Tg={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 rd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Tg[e.type]:t==="textarea"}function Np(e,t,n,o){Xf(o),t=ds(t,"onChange"),0<t.length&&(n=new Yc("onChange","change",null,n,o),e.push({event:n,listeners:t}))}var jo=null,Fo=null;function Ag(e){Ap(e,0)}function Us(e){var t=fr(e);if(Vf(t))return e}function Ig(e,t){if(e==="change")return t}var Cp=!1;if(Yt){var Ha;if(Yt){var Ya="oninput"in document;if(!Ya){var od=document.createElement("div");od.setAttribute("oninput","return;"),Ya=typeof od.oninput=="function"}Ha=Ya}else Ha=!1;Cp=Ha&&(!document.documentMode||9<document.documentMode)}function id(){jo&&(jo.detachEvent("onpropertychange",bp),Fo=jo=null)}function bp(e){if(e.propertyName==="value"&&Us(Fo)){var t=[];Np(t,Fo,e,Wc(e)),np(Ag,t)}}function Rg(e,t,n){e==="focusin"?(id(),jo=t,Fo=n,jo.attachEvent("onpropertychange",bp)):e==="focusout"&&id()}function Dg(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Us(Fo)}function Fg(e,t){if(e==="click")return Us(t)}function Lg(e,t){if(e==="input"||e==="change")return Us(t)}function Mg(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Et=typeof Object.is=="function"?Object.is:Mg;function Lo(e,t){if(Et(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(o=0;o<n.length;o++){var i=n[o];if(!jl.call(t,i)||!Et(e[i],t[i]))return!1}return!0}function sd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ad(e,t){var n=sd(e);e=0;for(var o;n;){if(n.nodeType===3){if(o=e+n.textContent.length,e<=t&&o>=t)return{node:n,offset:t-e};e=o}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=sd(n)}}function wp(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?wp(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Sp(){for(var e=window,t=os();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=os(e.document)}return t}function Qc(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 Bg(e){var t=Sp(),n=e.focusedElem,o=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&wp(n.ownerDocument.documentElement,n)){if(o!==null&&Qc(n)){if(t=o.start,e=o.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,s=Math.min(o.start,i);o=o.end===void 0?s:Math.min(o.end,i),!e.extend&&s>o&&(i=o,o=s,s=i),i=ad(n,s);var a=ad(n,o);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),s>o?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var zg=Yt&&"documentMode"in document&&11>=document.documentMode,ur=null,Bl=null,No=null,zl=!1;function ld(e,t,n){var o=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;zl||ur==null||ur!==os(o)||(o=ur,"selectionStart"in o&&Qc(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),No&&Lo(No,o)||(No=o,o=ds(Bl,"onSelect"),0<o.length&&(t=new Yc("onSelect","select",null,t,n),e.push({event:t,listeners:o}),t.target=ur)))}function Ni(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var dr={animationend:Ni("Animation","AnimationEnd"),animationiteration:Ni("Animation","AnimationIteration"),animationstart:Ni("Animation","AnimationStart"),transitionend:Ni("Transition","TransitionEnd")},Ka={},kp={};Yt&&(kp=document.createElement("div").style,"AnimationEvent"in window||(delete dr.animationend.animation,delete dr.animationiteration.animation,delete dr.animationstart.animation),"TransitionEvent"in window||delete dr.transitionend.transition);function qs(e){if(Ka[e])return Ka[e];if(!dr[e])return e;var t=dr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in kp)return Ka[e]=t[n];return e}var Ep=qs("animationend"),Pp=qs("animationiteration"),_p=qs("animationstart"),Op=qs("transitionend"),Tp=new Map,cd="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 Pn(e,t){Tp.set(e,t),nr(t,[e])}for(var Ga=0;Ga<cd.length;Ga++){var Qa=cd[Ga],Wg=Qa.toLowerCase(),$g=Qa[0].toUpperCase()+Qa.slice(1);Pn(Wg,"on"+$g)}Pn(Ep,"onAnimationEnd");Pn(Pp,"onAnimationIteration");Pn(_p,"onAnimationStart");Pn("dblclick","onDoubleClick");Pn("focusin","onFocus");Pn("focusout","onBlur");Pn(Op,"onTransitionEnd");Or("onMouseEnter",["mouseout","mouseover"]);Or("onMouseLeave",["mouseout","mouseover"]);Or("onPointerEnter",["pointerout","pointerover"]);Or("onPointerLeave",["pointerout","pointerover"]);nr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));nr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));nr("onBeforeInput",["compositionend","keypress","textInput","paste"]);nr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));nr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));nr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ho="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(" "),Ug=new Set("cancel close invalid load scroll toggle".split(" ").concat(ho));function ud(e,t,n){var o=e.type||"unknown-event";e.currentTarget=n,Wv(o,t,void 0,e),e.currentTarget=null}function Ap(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var o=e[n],i=o.event;o=o.listeners;e:{var s=void 0;if(t)for(var a=o.length-1;0<=a;a--){var l=o[a],u=l.instance,c=l.currentTarget;if(l=l.listener,u!==s&&i.isPropagationStopped())break e;ud(i,l,c),s=u}else for(a=0;a<o.length;a++){if(l=o[a],u=l.instance,c=l.currentTarget,l=l.listener,u!==s&&i.isPropagationStopped())break e;ud(i,l,c),s=u}}}if(ss)throw e=Dl,ss=!1,Dl=null,e}function he(e,t){var n=t[Vl];n===void 0&&(n=t[Vl]=new Set);var o=e+"__bubble";n.has(o)||(Ip(t,e,2,!1),n.add(o))}function Ja(e,t,n){var o=0;t&&(o|=4),Ip(n,e,o,t)}var Ci="_reactListening"+Math.random().toString(36).slice(2);function Mo(e){if(!e[Ci]){e[Ci]=!0,zf.forEach(function(n){n!=="selectionchange"&&(Ug.has(n)||Ja(n,!1,e),Ja(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ci]||(t[Ci]=!0,Ja("selectionchange",!1,t))}}function Ip(e,t,n,o){switch(vp(t)){case 1:var i=rg;break;case 4:i=og;break;default:i=Vc}n=i.bind(null,t,n,e),i=void 0,!Rl||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),o?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Xa(e,t,n,o,i){var s=o;if(!(t&1)&&!(t&2)&&o!==null)e:for(;;){if(o===null)return;var a=o.tag;if(a===3||a===4){var l=o.stateNode.containerInfo;if(l===i||l.nodeType===8&&l.parentNode===i)break;if(a===4)for(a=o.return;a!==null;){var u=a.tag;if((u===3||u===4)&&(u=a.stateNode.containerInfo,u===i||u.nodeType===8&&u.parentNode===i))return;a=a.return}for(;l!==null;){if(a=zn(l),a===null)return;if(u=a.tag,u===5||u===6){o=s=a;continue e}l=l.parentNode}}o=o.return}np(function(){var c=s,d=Wc(n),p=[];e:{var y=Tp.get(e);if(y!==void 0){var b=Yc,g=e;switch(e){case"keypress":if(Li(n)===0)break e;case"keydown":case"keyup":b=xg;break;case"focusin":g="focus",b=Va;break;case"focusout":g="blur",b=Va;break;case"beforeblur":case"afterblur":b=Va;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":b=Xu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":b=ag;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":b=Cg;break;case Ep:case Pp:case _p:b=ug;break;case Op:b=wg;break;case"scroll":b=ig;break;case"wheel":b=kg;break;case"copy":case"cut":case"paste":b=fg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":b=ed}var N=(t&4)!==0,C=!N&&e==="scroll",h=N?y!==null?y+"Capture":null:y;N=[];for(var v=c,m;v!==null;){m=v;var x=m.stateNode;if(m.tag===5&&x!==null&&(m=x,h!==null&&(x=Ao(v,h),x!=null&&N.push(Bo(v,x,m)))),C)break;v=v.return}0<N.length&&(y=new b(y,g,null,n,d),p.push({event:y,listeners:N}))}}if(!(t&7)){e:{if(y=e==="mouseover"||e==="pointerover",b=e==="mouseout"||e==="pointerout",y&&n!==Al&&(g=n.relatedTarget||n.fromElement)&&(zn(g)||g[Kt]))break e;if((b||y)&&(y=d.window===d?d:(y=d.ownerDocument)?y.defaultView||y.parentWindow:window,b?(g=n.relatedTarget||n.toElement,b=c,g=g?zn(g):null,g!==null&&(C=rr(g),g!==C||g.tag!==5&&g.tag!==6)&&(g=null)):(b=null,g=c),b!==g)){if(N=Xu,x="onMouseLeave",h="onMouseEnter",v="mouse",(e==="pointerout"||e==="pointerover")&&(N=ed,x="onPointerLeave",h="onPointerEnter",v="pointer"),C=b==null?y:fr(b),m=g==null?y:fr(g),y=new N(x,v+"leave",b,n,d),y.target=C,y.relatedTarget=m,x=null,zn(d)===c&&(N=new N(h,v+"enter",g,n,d),N.target=m,N.relatedTarget=C,x=N),C=x,b&&g)t:{for(N=b,h=g,v=0,m=N;m;m=sr(m))v++;for(m=0,x=h;x;x=sr(x))m++;for(;0<v-m;)N=sr(N),v--;for(;0<m-v;)h=sr(h),m--;for(;v--;){if(N===h||h!==null&&N===h.alternate)break t;N=sr(N),h=sr(h)}N=null}else N=null;b!==null&&dd(p,y,b,N,!1),g!==null&&C!==null&&dd(p,C,g,N,!0)}}e:{if(y=c?fr(c):window,b=y.nodeName&&y.nodeName.toLowerCase(),b==="select"||b==="input"&&y.type==="file")var E=Ig;else if(rd(y))if(Cp)E=Lg;else{E=Dg;var _=Rg}else(b=y.nodeName)&&b.toLowerCase()==="input"&&(y.type==="checkbox"||y.type==="radio")&&(E=Fg);if(E&&(E=E(e,c))){Np(p,E,n,d);break e}_&&_(e,y,c),e==="focusout"&&(_=y._wrapperState)&&_.controlled&&y.type==="number"&&El(y,"number",y.value)}switch(_=c?fr(c):window,e){case"focusin":(rd(_)||_.contentEditable==="true")&&(ur=_,Bl=c,No=null);break;case"focusout":No=Bl=ur=null;break;case"mousedown":zl=!0;break;case"contextmenu":case"mouseup":case"dragend":zl=!1,ld(p,n,d);break;case"selectionchange":if(zg)break;case"keydown":case"keyup":ld(p,n,d)}var O;if(Gc)e:{switch(e){case"compositionstart":var P="onCompositionStart";break e;case"compositionend":P="onCompositionEnd";break e;case"compositionupdate":P="onCompositionUpdate";break e}P=void 0}else cr?xp(e,n)&&(P="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(P="onCompositionStart");P&&(yp&&n.locale!=="ko"&&(cr||P!=="onCompositionStart"?P==="onCompositionEnd"&&cr&&(O=gp()):(fn=d,Hc="value"in fn?fn.value:fn.textContent,cr=!0)),_=ds(c,P),0<_.length&&(P=new Zu(P,e,null,n,d),p.push({event:P,listeners:_}),O?P.data=O:(O=jp(n),O!==null&&(P.data=O)))),(O=Pg?_g(e,n):Og(e,n))&&(c=ds(c,"onBeforeInput"),0<c.length&&(d=new Zu("onBeforeInput","beforeinput",null,n,d),p.push({event:d,listeners:c}),d.data=O))}Ap(p,t)})}function Bo(e,t,n){return{instance:e,listener:t,currentTarget:n}}function ds(e,t){for(var n=t+"Capture",o=[];e!==null;){var i=e,s=i.stateNode;i.tag===5&&s!==null&&(i=s,s=Ao(e,n),s!=null&&o.unshift(Bo(e,s,i)),s=Ao(e,t),s!=null&&o.push(Bo(e,s,i))),e=e.return}return o}function sr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function dd(e,t,n,o,i){for(var s=t._reactName,a=[];n!==null&&n!==o;){var l=n,u=l.alternate,c=l.stateNode;if(u!==null&&u===o)break;l.tag===5&&c!==null&&(l=c,i?(u=Ao(n,s),u!=null&&a.unshift(Bo(n,u,l))):i||(u=Ao(n,s),u!=null&&a.push(Bo(n,u,l)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var qg=/\r\n?/g,Vg=/\u0000|\uFFFD/g;function fd(e){return(typeof e=="string"?e:""+e).replace(qg,`
|
|
`).replace(Vg,"")}function bi(e,t,n){if(t=fd(t),fd(e)!==t&&n)throw Error(V(425))}function fs(){}var Wl=null,$l=null;function Ul(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 ql=typeof setTimeout=="function"?setTimeout:void 0,Hg=typeof clearTimeout=="function"?clearTimeout:void 0,pd=typeof Promise=="function"?Promise:void 0,Yg=typeof queueMicrotask=="function"?queueMicrotask:typeof pd<"u"?function(e){return pd.resolve(null).then(e).catch(Kg)}:ql;function Kg(e){setTimeout(function(){throw e})}function Za(e,t){var n=t,o=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(o===0){e.removeChild(i),Do(t);return}o--}else n!=="$"&&n!=="$?"&&n!=="$!"||o++;n=i}while(n);Do(t)}function xn(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 md(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Wr=Math.random().toString(36).slice(2),Rt="__reactFiber$"+Wr,zo="__reactProps$"+Wr,Kt="__reactContainer$"+Wr,Vl="__reactEvents$"+Wr,Gg="__reactListeners$"+Wr,Qg="__reactHandles$"+Wr;function zn(e){var t=e[Rt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Kt]||n[Rt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=md(e);e!==null;){if(n=e[Rt])return n;e=md(e)}return t}e=n,n=e.parentNode}return null}function ri(e){return e=e[Rt]||e[Kt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function fr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(V(33))}function Vs(e){return e[zo]||null}var Hl=[],pr=-1;function _n(e){return{current:e}}function ve(e){0>pr||(e.current=Hl[pr],Hl[pr]=null,pr--)}function pe(e,t){pr++,Hl[pr]=e.current,e.current=t}var kn={},ze=_n(kn),Qe=_n(!1),Kn=kn;function Tr(e,t){var n=e.type.contextTypes;if(!n)return kn;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===t)return o.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in n)i[s]=t[s];return o&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Je(e){return e=e.childContextTypes,e!=null}function ps(){ve(Qe),ve(ze)}function hd(e,t,n){if(ze.current!==kn)throw Error(V(168));pe(ze,t),pe(Qe,n)}function Rp(e,t,n){var o=e.stateNode;if(t=t.childContextTypes,typeof o.getChildContext!="function")return n;o=o.getChildContext();for(var i in o)if(!(i in t))throw Error(V(108,Rv(e)||"Unknown",i));return Ce({},n,o)}function ms(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||kn,Kn=ze.current,pe(ze,e),pe(Qe,Qe.current),!0}function vd(e,t,n){var o=e.stateNode;if(!o)throw Error(V(169));n?(e=Rp(e,t,Kn),o.__reactInternalMemoizedMergedChildContext=e,ve(Qe),ve(ze),pe(ze,e)):ve(Qe),pe(Qe,n)}var Ut=null,Hs=!1,el=!1;function Dp(e){Ut===null?Ut=[e]:Ut.push(e)}function Jg(e){Hs=!0,Dp(e)}function On(){if(!el&&Ut!==null){el=!0;var e=0,t=fe;try{var n=Ut;for(fe=1;e<n.length;e++){var o=n[e];do o=o(!0);while(o!==null)}Ut=null,Hs=!1}catch(i){throw Ut!==null&&(Ut=Ut.slice(e+1)),sp($c,On),i}finally{fe=t,el=!1}}return null}var mr=[],hr=0,hs=null,vs=0,pt=[],mt=0,Gn=null,qt=1,Vt="";function Fn(e,t){mr[hr++]=vs,mr[hr++]=hs,hs=e,vs=t}function Fp(e,t,n){pt[mt++]=qt,pt[mt++]=Vt,pt[mt++]=Gn,Gn=e;var o=qt;e=Vt;var i=32-wt(o)-1;o&=~(1<<i),n+=1;var s=32-wt(t)+i;if(30<s){var a=i-i%5;s=(o&(1<<a)-1).toString(32),o>>=a,i-=a,qt=1<<32-wt(t)+i|n<<i|o,Vt=s+e}else qt=1<<s|n<<i|o,Vt=e}function Jc(e){e.return!==null&&(Fn(e,1),Fp(e,1,0))}function Xc(e){for(;e===hs;)hs=mr[--hr],mr[hr]=null,vs=mr[--hr],mr[hr]=null;for(;e===Gn;)Gn=pt[--mt],pt[mt]=null,Vt=pt[--mt],pt[mt]=null,qt=pt[--mt],pt[mt]=null}var st=null,rt=null,ye=!1,Ct=null;function Lp(e,t){var n=ht(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function gd(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,st=e,rt=xn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,st=e,rt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Gn!==null?{id:qt,overflow:Vt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=ht(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,st=e,rt=null,!0):!1;default:return!1}}function Yl(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Kl(e){if(ye){var t=rt;if(t){var n=t;if(!gd(e,t)){if(Yl(e))throw Error(V(418));t=xn(n.nextSibling);var o=st;t&&gd(e,t)?Lp(o,n):(e.flags=e.flags&-4097|2,ye=!1,st=e)}}else{if(Yl(e))throw Error(V(418));e.flags=e.flags&-4097|2,ye=!1,st=e}}}function yd(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;st=e}function wi(e){if(e!==st)return!1;if(!ye)return yd(e),ye=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Ul(e.type,e.memoizedProps)),t&&(t=rt)){if(Yl(e))throw Mp(),Error(V(418));for(;t;)Lp(e,t),t=xn(t.nextSibling)}if(yd(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(V(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){rt=xn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}rt=null}}else rt=st?xn(e.stateNode.nextSibling):null;return!0}function Mp(){for(var e=rt;e;)e=xn(e.nextSibling)}function Ar(){rt=st=null,ye=!1}function Zc(e){Ct===null?Ct=[e]:Ct.push(e)}var Xg=Xt.ReactCurrentBatchConfig;function ao(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(V(309));var o=n.stateNode}if(!o)throw Error(V(147,e));var i=o,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(a){var l=i.refs;a===null?delete l[s]:l[s]=a},t._stringRef=s,t)}if(typeof e!="string")throw Error(V(284));if(!n._owner)throw Error(V(290,e))}return e}function Si(e,t){throw e=Object.prototype.toString.call(t),Error(V(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function xd(e){var t=e._init;return t(e._payload)}function Bp(e){function t(h,v){if(e){var m=h.deletions;m===null?(h.deletions=[v],h.flags|=16):m.push(v)}}function n(h,v){if(!e)return null;for(;v!==null;)t(h,v),v=v.sibling;return null}function o(h,v){for(h=new Map;v!==null;)v.key!==null?h.set(v.key,v):h.set(v.index,v),v=v.sibling;return h}function i(h,v){return h=bn(h,v),h.index=0,h.sibling=null,h}function s(h,v,m){return h.index=m,e?(m=h.alternate,m!==null?(m=m.index,m<v?(h.flags|=2,v):m):(h.flags|=2,v)):(h.flags|=1048576,v)}function a(h){return e&&h.alternate===null&&(h.flags|=2),h}function l(h,v,m,x){return v===null||v.tag!==6?(v=al(m,h.mode,x),v.return=h,v):(v=i(v,m),v.return=h,v)}function u(h,v,m,x){var E=m.type;return E===lr?d(h,v,m.props.children,x,m.key):v!==null&&(v.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===on&&xd(E)===v.type)?(x=i(v,m.props),x.ref=ao(h,v,m),x.return=h,x):(x=qi(m.type,m.key,m.props,null,h.mode,x),x.ref=ao(h,v,m),x.return=h,x)}function c(h,v,m,x){return v===null||v.tag!==4||v.stateNode.containerInfo!==m.containerInfo||v.stateNode.implementation!==m.implementation?(v=ll(m,h.mode,x),v.return=h,v):(v=i(v,m.children||[]),v.return=h,v)}function d(h,v,m,x,E){return v===null||v.tag!==7?(v=Vn(m,h.mode,x,E),v.return=h,v):(v=i(v,m),v.return=h,v)}function p(h,v,m){if(typeof v=="string"&&v!==""||typeof v=="number")return v=al(""+v,h.mode,m),v.return=h,v;if(typeof v=="object"&&v!==null){switch(v.$$typeof){case mi:return m=qi(v.type,v.key,v.props,null,h.mode,m),m.ref=ao(h,null,v),m.return=h,m;case ar:return v=ll(v,h.mode,m),v.return=h,v;case on:var x=v._init;return p(h,x(v._payload),m)}if(po(v)||no(v))return v=Vn(v,h.mode,m,null),v.return=h,v;Si(h,v)}return null}function y(h,v,m,x){var E=v!==null?v.key:null;if(typeof m=="string"&&m!==""||typeof m=="number")return E!==null?null:l(h,v,""+m,x);if(typeof m=="object"&&m!==null){switch(m.$$typeof){case mi:return m.key===E?u(h,v,m,x):null;case ar:return m.key===E?c(h,v,m,x):null;case on:return E=m._init,y(h,v,E(m._payload),x)}if(po(m)||no(m))return E!==null?null:d(h,v,m,x,null);Si(h,m)}return null}function b(h,v,m,x,E){if(typeof x=="string"&&x!==""||typeof x=="number")return h=h.get(m)||null,l(v,h,""+x,E);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case mi:return h=h.get(x.key===null?m:x.key)||null,u(v,h,x,E);case ar:return h=h.get(x.key===null?m:x.key)||null,c(v,h,x,E);case on:var _=x._init;return b(h,v,m,_(x._payload),E)}if(po(x)||no(x))return h=h.get(m)||null,d(v,h,x,E,null);Si(v,x)}return null}function g(h,v,m,x){for(var E=null,_=null,O=v,P=v=0,M=null;O!==null&&P<m.length;P++){O.index>P?(M=O,O=null):M=O.sibling;var W=y(h,O,m[P],x);if(W===null){O===null&&(O=M);break}e&&O&&W.alternate===null&&t(h,O),v=s(W,v,P),_===null?E=W:_.sibling=W,_=W,O=M}if(P===m.length)return n(h,O),ye&&Fn(h,P),E;if(O===null){for(;P<m.length;P++)O=p(h,m[P],x),O!==null&&(v=s(O,v,P),_===null?E=O:_.sibling=O,_=O);return ye&&Fn(h,P),E}for(O=o(h,O);P<m.length;P++)M=b(O,h,P,m[P],x),M!==null&&(e&&M.alternate!==null&&O.delete(M.key===null?P:M.key),v=s(M,v,P),_===null?E=M:_.sibling=M,_=M);return e&&O.forEach(function(H){return t(h,H)}),ye&&Fn(h,P),E}function N(h,v,m,x){var E=no(m);if(typeof E!="function")throw Error(V(150));if(m=E.call(m),m==null)throw Error(V(151));for(var _=E=null,O=v,P=v=0,M=null,W=m.next();O!==null&&!W.done;P++,W=m.next()){O.index>P?(M=O,O=null):M=O.sibling;var H=y(h,O,W.value,x);if(H===null){O===null&&(O=M);break}e&&O&&H.alternate===null&&t(h,O),v=s(H,v,P),_===null?E=H:_.sibling=H,_=H,O=M}if(W.done)return n(h,O),ye&&Fn(h,P),E;if(O===null){for(;!W.done;P++,W=m.next())W=p(h,W.value,x),W!==null&&(v=s(W,v,P),_===null?E=W:_.sibling=W,_=W);return ye&&Fn(h,P),E}for(O=o(h,O);!W.done;P++,W=m.next())W=b(O,h,P,W.value,x),W!==null&&(e&&W.alternate!==null&&O.delete(W.key===null?P:W.key),v=s(W,v,P),_===null?E=W:_.sibling=W,_=W);return e&&O.forEach(function(te){return t(h,te)}),ye&&Fn(h,P),E}function C(h,v,m,x){if(typeof m=="object"&&m!==null&&m.type===lr&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case mi:e:{for(var E=m.key,_=v;_!==null;){if(_.key===E){if(E=m.type,E===lr){if(_.tag===7){n(h,_.sibling),v=i(_,m.props.children),v.return=h,h=v;break e}}else if(_.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===on&&xd(E)===_.type){n(h,_.sibling),v=i(_,m.props),v.ref=ao(h,_,m),v.return=h,h=v;break e}n(h,_);break}else t(h,_);_=_.sibling}m.type===lr?(v=Vn(m.props.children,h.mode,x,m.key),v.return=h,h=v):(x=qi(m.type,m.key,m.props,null,h.mode,x),x.ref=ao(h,v,m),x.return=h,h=x)}return a(h);case ar:e:{for(_=m.key;v!==null;){if(v.key===_)if(v.tag===4&&v.stateNode.containerInfo===m.containerInfo&&v.stateNode.implementation===m.implementation){n(h,v.sibling),v=i(v,m.children||[]),v.return=h,h=v;break e}else{n(h,v);break}else t(h,v);v=v.sibling}v=ll(m,h.mode,x),v.return=h,h=v}return a(h);case on:return _=m._init,C(h,v,_(m._payload),x)}if(po(m))return g(h,v,m,x);if(no(m))return N(h,v,m,x);Si(h,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,v!==null&&v.tag===6?(n(h,v.sibling),v=i(v,m),v.return=h,h=v):(n(h,v),v=al(m,h.mode,x),v.return=h,h=v),a(h)):n(h,v)}return C}var Ir=Bp(!0),zp=Bp(!1),gs=_n(null),ys=null,vr=null,eu=null;function tu(){eu=vr=ys=null}function nu(e){var t=gs.current;ve(gs),e._currentValue=t}function Gl(e,t,n){for(;e!==null;){var o=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,o!==null&&(o.childLanes|=t)):o!==null&&(o.childLanes&t)!==t&&(o.childLanes|=t),e===n)break;e=e.return}}function Pr(e,t){ys=e,eu=vr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ge=!0),e.firstContext=null)}function gt(e){var t=e._currentValue;if(eu!==e)if(e={context:e,memoizedValue:t,next:null},vr===null){if(ys===null)throw Error(V(308));vr=e,ys.dependencies={lanes:0,firstContext:e}}else vr=vr.next=e;return t}var Wn=null;function ru(e){Wn===null?Wn=[e]:Wn.push(e)}function Wp(e,t,n,o){var i=t.interleaved;return i===null?(n.next=n,ru(t)):(n.next=i.next,i.next=n),t.interleaved=n,Gt(e,o)}function Gt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var sn=!1;function ou(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function $p(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 Ht(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function jn(e,t,n){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,ue&2){var i=o.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),o.pending=t,Gt(e,n)}return i=o.interleaved,i===null?(t.next=t,ru(o)):(t.next=i.next,i.next=t),o.interleaved=t,Gt(e,n)}function Mi(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var o=t.lanes;o&=e.pendingLanes,n|=o,t.lanes=n,Uc(e,n)}}function jd(e,t){var n=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,n===o)){var i=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?i=s=a:s=s.next=a,n=n.next}while(n!==null);s===null?i=s=t:s=s.next=t}else i=s=t;n={baseState:o.baseState,firstBaseUpdate:i,lastBaseUpdate:s,shared:o.shared,effects:o.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function xs(e,t,n,o){var i=e.updateQueue;sn=!1;var s=i.firstBaseUpdate,a=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var u=l,c=u.next;u.next=null,a===null?s=c:a.next=c,a=u;var d=e.alternate;d!==null&&(d=d.updateQueue,l=d.lastBaseUpdate,l!==a&&(l===null?d.firstBaseUpdate=c:l.next=c,d.lastBaseUpdate=u))}if(s!==null){var p=i.baseState;a=0,d=c=u=null,l=s;do{var y=l.lane,b=l.eventTime;if((o&y)===y){d!==null&&(d=d.next={eventTime:b,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var g=e,N=l;switch(y=t,b=n,N.tag){case 1:if(g=N.payload,typeof g=="function"){p=g.call(b,p,y);break e}p=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=N.payload,y=typeof g=="function"?g.call(b,p,y):g,y==null)break e;p=Ce({},p,y);break e;case 2:sn=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,y=i.effects,y===null?i.effects=[l]:y.push(l))}else b={eventTime:b,lane:y,tag:l.tag,payload:l.payload,callback:l.callback,next:null},d===null?(c=d=b,u=p):d=d.next=b,a|=y;if(l=l.next,l===null){if(l=i.shared.pending,l===null)break;y=l,l=y.next,y.next=null,i.lastBaseUpdate=y,i.shared.pending=null}}while(!0);if(d===null&&(u=p),i.baseState=u,i.firstBaseUpdate=c,i.lastBaseUpdate=d,t=i.shared.interleaved,t!==null){i=t;do a|=i.lane,i=i.next;while(i!==t)}else s===null&&(i.shared.lanes=0);Jn|=a,e.lanes=a,e.memoizedState=p}}function Nd(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var o=e[t],i=o.callback;if(i!==null){if(o.callback=null,o=n,typeof i!="function")throw Error(V(191,i));i.call(o)}}}var oi={},Lt=_n(oi),Wo=_n(oi),$o=_n(oi);function $n(e){if(e===oi)throw Error(V(174));return e}function iu(e,t){switch(pe($o,t),pe(Wo,e),pe(Lt,oi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:_l(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=_l(t,e)}ve(Lt),pe(Lt,t)}function Rr(){ve(Lt),ve(Wo),ve($o)}function Up(e){$n($o.current);var t=$n(Lt.current),n=_l(t,e.type);t!==n&&(pe(Wo,e),pe(Lt,n))}function su(e){Wo.current===e&&(ve(Lt),ve(Wo))}var je=_n(0);function js(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var tl=[];function au(){for(var e=0;e<tl.length;e++)tl[e]._workInProgressVersionPrimary=null;tl.length=0}var Bi=Xt.ReactCurrentDispatcher,nl=Xt.ReactCurrentBatchConfig,Qn=0,Ne=null,Ee=null,Oe=null,Ns=!1,Co=!1,Uo=0,Zg=0;function Le(){throw Error(V(321))}function lu(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Et(e[n],t[n]))return!1;return!0}function cu(e,t,n,o,i,s){if(Qn=s,Ne=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Bi.current=e===null||e.memoizedState===null?ry:oy,e=n(o,i),Co){s=0;do{if(Co=!1,Uo=0,25<=s)throw Error(V(301));s+=1,Oe=Ee=null,t.updateQueue=null,Bi.current=iy,e=n(o,i)}while(Co)}if(Bi.current=Cs,t=Ee!==null&&Ee.next!==null,Qn=0,Oe=Ee=Ne=null,Ns=!1,t)throw Error(V(300));return e}function uu(){var e=Uo!==0;return Uo=0,e}function At(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Oe===null?Ne.memoizedState=Oe=e:Oe=Oe.next=e,Oe}function yt(){if(Ee===null){var e=Ne.alternate;e=e!==null?e.memoizedState:null}else e=Ee.next;var t=Oe===null?Ne.memoizedState:Oe.next;if(t!==null)Oe=t,Ee=e;else{if(e===null)throw Error(V(310));Ee=e,e={memoizedState:Ee.memoizedState,baseState:Ee.baseState,baseQueue:Ee.baseQueue,queue:Ee.queue,next:null},Oe===null?Ne.memoizedState=Oe=e:Oe=Oe.next=e}return Oe}function qo(e,t){return typeof t=="function"?t(e):t}function rl(e){var t=yt(),n=t.queue;if(n===null)throw Error(V(311));n.lastRenderedReducer=e;var o=Ee,i=o.baseQueue,s=n.pending;if(s!==null){if(i!==null){var a=i.next;i.next=s.next,s.next=a}o.baseQueue=i=s,n.pending=null}if(i!==null){s=i.next,o=o.baseState;var l=a=null,u=null,c=s;do{var d=c.lane;if((Qn&d)===d)u!==null&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),o=c.hasEagerState?c.eagerState:e(o,c.action);else{var p={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};u===null?(l=u=p,a=o):u=u.next=p,Ne.lanes|=d,Jn|=d}c=c.next}while(c!==null&&c!==s);u===null?a=o:u.next=l,Et(o,t.memoizedState)||(Ge=!0),t.memoizedState=o,t.baseState=a,t.baseQueue=u,n.lastRenderedState=o}if(e=n.interleaved,e!==null){i=e;do s=i.lane,Ne.lanes|=s,Jn|=s,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ol(e){var t=yt(),n=t.queue;if(n===null)throw Error(V(311));n.lastRenderedReducer=e;var o=n.dispatch,i=n.pending,s=t.memoizedState;if(i!==null){n.pending=null;var a=i=i.next;do s=e(s,a.action),a=a.next;while(a!==i);Et(s,t.memoizedState)||(Ge=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,o]}function qp(){}function Vp(e,t){var n=Ne,o=yt(),i=t(),s=!Et(o.memoizedState,i);if(s&&(o.memoizedState=i,Ge=!0),o=o.queue,du(Kp.bind(null,n,o,e),[e]),o.getSnapshot!==t||s||Oe!==null&&Oe.memoizedState.tag&1){if(n.flags|=2048,Vo(9,Yp.bind(null,n,o,i,t),void 0,null),Te===null)throw Error(V(349));Qn&30||Hp(n,t,i)}return i}function Hp(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ne.updateQueue,t===null?(t={lastEffect:null,stores:null},Ne.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Yp(e,t,n,o){t.value=n,t.getSnapshot=o,Gp(t)&&Qp(e)}function Kp(e,t,n){return n(function(){Gp(t)&&Qp(e)})}function Gp(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Et(e,n)}catch{return!0}}function Qp(e){var t=Gt(e,1);t!==null&&St(t,e,1,-1)}function Cd(e){var t=At();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:qo,lastRenderedState:e},t.queue=e,e=e.dispatch=ny.bind(null,Ne,e),[t.memoizedState,e]}function Vo(e,t,n,o){return e={tag:e,create:t,destroy:n,deps:o,next:null},t=Ne.updateQueue,t===null?(t={lastEffect:null,stores:null},Ne.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(o=n.next,n.next=e,e.next=o,t.lastEffect=e)),e}function Jp(){return yt().memoizedState}function zi(e,t,n,o){var i=At();Ne.flags|=e,i.memoizedState=Vo(1|t,n,void 0,o===void 0?null:o)}function Ys(e,t,n,o){var i=yt();o=o===void 0?null:o;var s=void 0;if(Ee!==null){var a=Ee.memoizedState;if(s=a.destroy,o!==null&&lu(o,a.deps)){i.memoizedState=Vo(t,n,s,o);return}}Ne.flags|=e,i.memoizedState=Vo(1|t,n,s,o)}function bd(e,t){return zi(8390656,8,e,t)}function du(e,t){return Ys(2048,8,e,t)}function Xp(e,t){return Ys(4,2,e,t)}function Zp(e,t){return Ys(4,4,e,t)}function em(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 tm(e,t,n){return n=n!=null?n.concat([e]):null,Ys(4,4,em.bind(null,t,e),n)}function fu(){}function nm(e,t){var n=yt();t=t===void 0?null:t;var o=n.memoizedState;return o!==null&&t!==null&&lu(t,o[1])?o[0]:(n.memoizedState=[e,t],e)}function rm(e,t){var n=yt();t=t===void 0?null:t;var o=n.memoizedState;return o!==null&&t!==null&&lu(t,o[1])?o[0]:(e=e(),n.memoizedState=[e,t],e)}function om(e,t,n){return Qn&21?(Et(n,t)||(n=cp(),Ne.lanes|=n,Jn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ge=!0),e.memoizedState=n)}function ey(e,t){var n=fe;fe=n!==0&&4>n?n:4,e(!0);var o=nl.transition;nl.transition={};try{e(!1),t()}finally{fe=n,nl.transition=o}}function im(){return yt().memoizedState}function ty(e,t,n){var o=Cn(e);if(n={lane:o,action:n,hasEagerState:!1,eagerState:null,next:null},sm(e))am(t,n);else if(n=Wp(e,t,n,o),n!==null){var i=Ue();St(n,e,o,i),lm(n,t,o)}}function ny(e,t,n){var o=Cn(e),i={lane:o,action:n,hasEagerState:!1,eagerState:null,next:null};if(sm(e))am(t,i);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var a=t.lastRenderedState,l=s(a,n);if(i.hasEagerState=!0,i.eagerState=l,Et(l,a)){var u=t.interleaved;u===null?(i.next=i,ru(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}n=Wp(e,t,i,o),n!==null&&(i=Ue(),St(n,e,o,i),lm(n,t,o))}}function sm(e){var t=e.alternate;return e===Ne||t!==null&&t===Ne}function am(e,t){Co=Ns=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function lm(e,t,n){if(n&4194240){var o=t.lanes;o&=e.pendingLanes,n|=o,t.lanes=n,Uc(e,n)}}var Cs={readContext:gt,useCallback:Le,useContext:Le,useEffect:Le,useImperativeHandle:Le,useInsertionEffect:Le,useLayoutEffect:Le,useMemo:Le,useReducer:Le,useRef:Le,useState:Le,useDebugValue:Le,useDeferredValue:Le,useTransition:Le,useMutableSource:Le,useSyncExternalStore:Le,useId:Le,unstable_isNewReconciler:!1},ry={readContext:gt,useCallback:function(e,t){return At().memoizedState=[e,t===void 0?null:t],e},useContext:gt,useEffect:bd,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,zi(4194308,4,em.bind(null,t,e),n)},useLayoutEffect:function(e,t){return zi(4194308,4,e,t)},useInsertionEffect:function(e,t){return zi(4,2,e,t)},useMemo:function(e,t){var n=At();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var o=At();return t=n!==void 0?n(t):t,o.memoizedState=o.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},o.queue=e,e=e.dispatch=ty.bind(null,Ne,e),[o.memoizedState,e]},useRef:function(e){var t=At();return e={current:e},t.memoizedState=e},useState:Cd,useDebugValue:fu,useDeferredValue:function(e){return At().memoizedState=e},useTransition:function(){var e=Cd(!1),t=e[0];return e=ey.bind(null,e[1]),At().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var o=Ne,i=At();if(ye){if(n===void 0)throw Error(V(407));n=n()}else{if(n=t(),Te===null)throw Error(V(349));Qn&30||Hp(o,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,bd(Kp.bind(null,o,s,e),[e]),o.flags|=2048,Vo(9,Yp.bind(null,o,s,n,t),void 0,null),n},useId:function(){var e=At(),t=Te.identifierPrefix;if(ye){var n=Vt,o=qt;n=(o&~(1<<32-wt(o)-1)).toString(32)+n,t=":"+t+"R"+n,n=Uo++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Zg++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},oy={readContext:gt,useCallback:nm,useContext:gt,useEffect:du,useImperativeHandle:tm,useInsertionEffect:Xp,useLayoutEffect:Zp,useMemo:rm,useReducer:rl,useRef:Jp,useState:function(){return rl(qo)},useDebugValue:fu,useDeferredValue:function(e){var t=yt();return om(t,Ee.memoizedState,e)},useTransition:function(){var e=rl(qo)[0],t=yt().memoizedState;return[e,t]},useMutableSource:qp,useSyncExternalStore:Vp,useId:im,unstable_isNewReconciler:!1},iy={readContext:gt,useCallback:nm,useContext:gt,useEffect:du,useImperativeHandle:tm,useInsertionEffect:Xp,useLayoutEffect:Zp,useMemo:rm,useReducer:ol,useRef:Jp,useState:function(){return ol(qo)},useDebugValue:fu,useDeferredValue:function(e){var t=yt();return Ee===null?t.memoizedState=e:om(t,Ee.memoizedState,e)},useTransition:function(){var e=ol(qo)[0],t=yt().memoizedState;return[e,t]},useMutableSource:qp,useSyncExternalStore:Vp,useId:im,unstable_isNewReconciler:!1};function jt(e,t){if(e&&e.defaultProps){t=Ce({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Ql(e,t,n,o){t=e.memoizedState,n=n(o,t),n=n==null?t:Ce({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ks={isMounted:function(e){return(e=e._reactInternals)?rr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var o=Ue(),i=Cn(e),s=Ht(o,i);s.payload=t,n!=null&&(s.callback=n),t=jn(e,s,i),t!==null&&(St(t,e,i,o),Mi(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var o=Ue(),i=Cn(e),s=Ht(o,i);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=jn(e,s,i),t!==null&&(St(t,e,i,o),Mi(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ue(),o=Cn(e),i=Ht(n,o);i.tag=2,t!=null&&(i.callback=t),t=jn(e,i,o),t!==null&&(St(t,e,o,n),Mi(t,e,o))}};function wd(e,t,n,o,i,s,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(o,s,a):t.prototype&&t.prototype.isPureReactComponent?!Lo(n,o)||!Lo(i,s):!0}function cm(e,t,n){var o=!1,i=kn,s=t.contextType;return typeof s=="object"&&s!==null?s=gt(s):(i=Je(t)?Kn:ze.current,o=t.contextTypes,s=(o=o!=null)?Tr(e,i):kn),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ks,e.stateNode=t,t._reactInternals=e,o&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=s),t}function Sd(e,t,n,o){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,o),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,o),t.state!==e&&Ks.enqueueReplaceState(t,t.state,null)}function Jl(e,t,n,o){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},ou(e);var s=t.contextType;typeof s=="object"&&s!==null?i.context=gt(s):(s=Je(t)?Kn:ze.current,i.context=Tr(e,s)),i.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(Ql(e,t,s,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Ks.enqueueReplaceState(i,i.state,null),xs(e,n,i,o),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function Dr(e,t){try{var n="",o=t;do n+=Iv(o),o=o.return;while(o);var i=n}catch(s){i=`
|
|
Error generating stack: `+s.message+`
|
|
`+s.stack}return{value:e,source:t,stack:i,digest:null}}function il(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Xl(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var sy=typeof WeakMap=="function"?WeakMap:Map;function um(e,t,n){n=Ht(-1,n),n.tag=3,n.payload={element:null};var o=t.value;return n.callback=function(){ws||(ws=!0,lc=o),Xl(e,t)},n}function dm(e,t,n){n=Ht(-1,n),n.tag=3;var o=e.type.getDerivedStateFromError;if(typeof o=="function"){var i=t.value;n.payload=function(){return o(i)},n.callback=function(){Xl(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){Xl(e,t),typeof o!="function"&&(Nn===null?Nn=new Set([this]):Nn.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function kd(e,t,n){var o=e.pingCache;if(o===null){o=e.pingCache=new sy;var i=new Set;o.set(t,i)}else i=o.get(t),i===void 0&&(i=new Set,o.set(t,i));i.has(n)||(i.add(n),e=jy.bind(null,e,t,n),t.then(e,e))}function Ed(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 Pd(e,t,n,o,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Ht(-1,1),t.tag=2,jn(n,t,1))),n.lanes|=1),e)}var ay=Xt.ReactCurrentOwner,Ge=!1;function We(e,t,n,o){t.child=e===null?zp(t,null,n,o):Ir(t,e.child,n,o)}function _d(e,t,n,o,i){n=n.render;var s=t.ref;return Pr(t,i),o=cu(e,t,n,o,s,i),n=uu(),e!==null&&!Ge?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Qt(e,t,i)):(ye&&n&&Jc(t),t.flags|=1,We(e,t,o,i),t.child)}function Od(e,t,n,o,i){if(e===null){var s=n.type;return typeof s=="function"&&!ju(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,fm(e,t,s,o,i)):(e=qi(n.type,null,o,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&i)){var a=s.memoizedProps;if(n=n.compare,n=n!==null?n:Lo,n(a,o)&&e.ref===t.ref)return Qt(e,t,i)}return t.flags|=1,e=bn(s,o),e.ref=t.ref,e.return=t,t.child=e}function fm(e,t,n,o,i){if(e!==null){var s=e.memoizedProps;if(Lo(s,o)&&e.ref===t.ref)if(Ge=!1,t.pendingProps=o=s,(e.lanes&i)!==0)e.flags&131072&&(Ge=!0);else return t.lanes=e.lanes,Qt(e,t,i)}return Zl(e,t,n,o,i)}function pm(e,t,n){var o=t.pendingProps,i=o.children,s=e!==null?e.memoizedState:null;if(o.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},pe(yr,nt),nt|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,pe(yr,nt),nt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},o=s!==null?s.baseLanes:n,pe(yr,nt),nt|=o}else s!==null?(o=s.baseLanes|n,t.memoizedState=null):o=n,pe(yr,nt),nt|=o;return We(e,t,i,n),t.child}function mm(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Zl(e,t,n,o,i){var s=Je(n)?Kn:ze.current;return s=Tr(t,s),Pr(t,i),n=cu(e,t,n,o,s,i),o=uu(),e!==null&&!Ge?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Qt(e,t,i)):(ye&&o&&Jc(t),t.flags|=1,We(e,t,n,i),t.child)}function Td(e,t,n,o,i){if(Je(n)){var s=!0;ms(t)}else s=!1;if(Pr(t,i),t.stateNode===null)Wi(e,t),cm(t,n,o),Jl(t,n,o,i),o=!0;else if(e===null){var a=t.stateNode,l=t.memoizedProps;a.props=l;var u=a.context,c=n.contextType;typeof c=="object"&&c!==null?c=gt(c):(c=Je(n)?Kn:ze.current,c=Tr(t,c));var d=n.getDerivedStateFromProps,p=typeof d=="function"||typeof a.getSnapshotBeforeUpdate=="function";p||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==o||u!==c)&&Sd(t,a,o,c),sn=!1;var y=t.memoizedState;a.state=y,xs(t,o,a,i),u=t.memoizedState,l!==o||y!==u||Qe.current||sn?(typeof d=="function"&&(Ql(t,n,d,o),u=t.memoizedState),(l=sn||wd(t,n,l,o,y,u,c))?(p||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=o,t.memoizedState=u),a.props=o,a.state=u,a.context=c,o=l):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),o=!1)}else{a=t.stateNode,$p(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:jt(t.type,l),a.props=c,p=t.pendingProps,y=a.context,u=n.contextType,typeof u=="object"&&u!==null?u=gt(u):(u=Je(n)?Kn:ze.current,u=Tr(t,u));var b=n.getDerivedStateFromProps;(d=typeof b=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==p||y!==u)&&Sd(t,a,o,u),sn=!1,y=t.memoizedState,a.state=y,xs(t,o,a,i);var g=t.memoizedState;l!==p||y!==g||Qe.current||sn?(typeof b=="function"&&(Ql(t,n,b,o),g=t.memoizedState),(c=sn||wd(t,n,c,o,y,g,u)||!1)?(d||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(o,g,u),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(o,g,u)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&y===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&y===e.memoizedState||(t.flags|=1024),t.memoizedProps=o,t.memoizedState=g),a.props=o,a.state=g,a.context=u,o=c):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&y===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&y===e.memoizedState||(t.flags|=1024),o=!1)}return ec(e,t,n,o,s,i)}function ec(e,t,n,o,i,s){mm(e,t);var a=(t.flags&128)!==0;if(!o&&!a)return i&&vd(t,n,!1),Qt(e,t,s);o=t.stateNode,ay.current=t;var l=a&&typeof n.getDerivedStateFromError!="function"?null:o.render();return t.flags|=1,e!==null&&a?(t.child=Ir(t,e.child,null,s),t.child=Ir(t,null,l,s)):We(e,t,l,s),t.memoizedState=o.state,i&&vd(t,n,!0),t.child}function hm(e){var t=e.stateNode;t.pendingContext?hd(e,t.pendingContext,t.pendingContext!==t.context):t.context&&hd(e,t.context,!1),iu(e,t.containerInfo)}function Ad(e,t,n,o,i){return Ar(),Zc(i),t.flags|=256,We(e,t,n,o),t.child}var tc={dehydrated:null,treeContext:null,retryLane:0};function nc(e){return{baseLanes:e,cachePool:null,transitions:null}}function vm(e,t,n){var o=t.pendingProps,i=je.current,s=!1,a=(t.flags&128)!==0,l;if((l=a)||(l=e!==null&&e.memoizedState===null?!1:(i&2)!==0),l?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),pe(je,i&1),e===null)return Kl(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(a=o.children,e=o.fallback,s?(o=t.mode,s=t.child,a={mode:"hidden",children:a},!(o&1)&&s!==null?(s.childLanes=0,s.pendingProps=a):s=Js(a,o,0,null),e=Vn(e,o,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=nc(n),t.memoizedState=tc,e):pu(t,a));if(i=e.memoizedState,i!==null&&(l=i.dehydrated,l!==null))return ly(e,t,a,o,l,i,n);if(s){s=o.fallback,a=t.mode,i=e.child,l=i.sibling;var u={mode:"hidden",children:o.children};return!(a&1)&&t.child!==i?(o=t.child,o.childLanes=0,o.pendingProps=u,t.deletions=null):(o=bn(i,u),o.subtreeFlags=i.subtreeFlags&14680064),l!==null?s=bn(l,s):(s=Vn(s,a,n,null),s.flags|=2),s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,a=e.child.memoizedState,a=a===null?nc(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},s.memoizedState=a,s.childLanes=e.childLanes&~n,t.memoizedState=tc,o}return s=e.child,e=s.sibling,o=bn(s,{mode:"visible",children:o.children}),!(t.mode&1)&&(o.lanes=n),o.return=t,o.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function pu(e,t){return t=Js({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ki(e,t,n,o){return o!==null&&Zc(o),Ir(t,e.child,null,n),e=pu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ly(e,t,n,o,i,s,a){if(n)return t.flags&256?(t.flags&=-257,o=il(Error(V(422))),ki(e,t,a,o)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=o.fallback,i=t.mode,o=Js({mode:"visible",children:o.children},i,0,null),s=Vn(s,i,a,null),s.flags|=2,o.return=t,s.return=t,o.sibling=s,t.child=o,t.mode&1&&Ir(t,e.child,null,a),t.child.memoizedState=nc(a),t.memoizedState=tc,s);if(!(t.mode&1))return ki(e,t,a,null);if(i.data==="$!"){if(o=i.nextSibling&&i.nextSibling.dataset,o)var l=o.dgst;return o=l,s=Error(V(419)),o=il(s,o,void 0),ki(e,t,a,o)}if(l=(a&e.childLanes)!==0,Ge||l){if(o=Te,o!==null){switch(a&-a){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(o.suspendedLanes|a)?0:i,i!==0&&i!==s.retryLane&&(s.retryLane=i,Gt(e,i),St(o,e,i,-1))}return xu(),o=il(Error(V(421))),ki(e,t,a,o)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=Ny.bind(null,e),i._reactRetry=t,null):(e=s.treeContext,rt=xn(i.nextSibling),st=t,ye=!0,Ct=null,e!==null&&(pt[mt++]=qt,pt[mt++]=Vt,pt[mt++]=Gn,qt=e.id,Vt=e.overflow,Gn=t),t=pu(t,o.children),t.flags|=4096,t)}function Id(e,t,n){e.lanes|=t;var o=e.alternate;o!==null&&(o.lanes|=t),Gl(e.return,t,n)}function sl(e,t,n,o,i){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:n,tailMode:i}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=o,s.tail=n,s.tailMode=i)}function gm(e,t,n){var o=t.pendingProps,i=o.revealOrder,s=o.tail;if(We(e,t,o.children,n),o=je.current,o&2)o=o&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Id(e,n,t);else if(e.tag===19)Id(e,n,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}o&=1}if(pe(je,o),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&js(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),sl(t,!1,i,n,s);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&js(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}sl(t,!0,n,null,s);break;case"together":sl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Wi(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Qt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Jn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(V(153));if(t.child!==null){for(e=t.child,n=bn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=bn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function cy(e,t,n){switch(t.tag){case 3:hm(t),Ar();break;case 5:Up(t);break;case 1:Je(t.type)&&ms(t);break;case 4:iu(t,t.stateNode.containerInfo);break;case 10:var o=t.type._context,i=t.memoizedProps.value;pe(gs,o._currentValue),o._currentValue=i;break;case 13:if(o=t.memoizedState,o!==null)return o.dehydrated!==null?(pe(je,je.current&1),t.flags|=128,null):n&t.child.childLanes?vm(e,t,n):(pe(je,je.current&1),e=Qt(e,t,n),e!==null?e.sibling:null);pe(je,je.current&1);break;case 19:if(o=(n&t.childLanes)!==0,e.flags&128){if(o)return gm(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),pe(je,je.current),o)break;return null;case 22:case 23:return t.lanes=0,pm(e,t,n)}return Qt(e,t,n)}var ym,rc,xm,jm;ym=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};rc=function(){};xm=function(e,t,n,o){var i=e.memoizedProps;if(i!==o){e=t.stateNode,$n(Lt.current);var s=null;switch(n){case"input":i=Sl(e,i),o=Sl(e,o),s=[];break;case"select":i=Ce({},i,{value:void 0}),o=Ce({},o,{value:void 0}),s=[];break;case"textarea":i=Pl(e,i),o=Pl(e,o),s=[];break;default:typeof i.onClick!="function"&&typeof o.onClick=="function"&&(e.onclick=fs)}Ol(n,o);var a;n=null;for(c in i)if(!o.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var l=i[c];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Oo.hasOwnProperty(c)?s||(s=[]):(s=s||[]).push(c,null));for(c in o){var u=o[c];if(l=i!=null?i[c]:void 0,o.hasOwnProperty(c)&&u!==l&&(u!=null||l!=null))if(c==="style")if(l){for(a in l)!l.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in u)u.hasOwnProperty(a)&&l[a]!==u[a]&&(n||(n={}),n[a]=u[a])}else n||(s||(s=[]),s.push(c,n)),n=u;else c==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,l=l?l.__html:void 0,u!=null&&l!==u&&(s=s||[]).push(c,u)):c==="children"?typeof u!="string"&&typeof u!="number"||(s=s||[]).push(c,""+u):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Oo.hasOwnProperty(c)?(u!=null&&c==="onScroll"&&he("scroll",e),s||l===u||(s=[])):(s=s||[]).push(c,u))}n&&(s=s||[]).push("style",n);var c=s;(t.updateQueue=c)&&(t.flags|=4)}};jm=function(e,t,n,o){n!==o&&(t.flags|=4)};function lo(e,t){if(!ye)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var o=null;n!==null;)n.alternate!==null&&(o=n),n=n.sibling;o===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function Me(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,o=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,o|=i.subtreeFlags&14680064,o|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,o|=i.subtreeFlags,o|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=o,e.childLanes=n,t}function uy(e,t,n){var o=t.pendingProps;switch(Xc(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Me(t),null;case 1:return Je(t.type)&&ps(),Me(t),null;case 3:return o=t.stateNode,Rr(),ve(Qe),ve(ze),au(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(e===null||e.child===null)&&(wi(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ct!==null&&(dc(Ct),Ct=null))),rc(e,t),Me(t),null;case 5:su(t);var i=$n($o.current);if(n=t.type,e!==null&&t.stateNode!=null)xm(e,t,n,o,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!o){if(t.stateNode===null)throw Error(V(166));return Me(t),null}if(e=$n(Lt.current),wi(t)){o=t.stateNode,n=t.type;var s=t.memoizedProps;switch(o[Rt]=t,o[zo]=s,e=(t.mode&1)!==0,n){case"dialog":he("cancel",o),he("close",o);break;case"iframe":case"object":case"embed":he("load",o);break;case"video":case"audio":for(i=0;i<ho.length;i++)he(ho[i],o);break;case"source":he("error",o);break;case"img":case"image":case"link":he("error",o),he("load",o);break;case"details":he("toggle",o);break;case"input":$u(o,s),he("invalid",o);break;case"select":o._wrapperState={wasMultiple:!!s.multiple},he("invalid",o);break;case"textarea":qu(o,s),he("invalid",o)}Ol(n,s),i=null;for(var a in s)if(s.hasOwnProperty(a)){var l=s[a];a==="children"?typeof l=="string"?o.textContent!==l&&(s.suppressHydrationWarning!==!0&&bi(o.textContent,l,e),i=["children",l]):typeof l=="number"&&o.textContent!==""+l&&(s.suppressHydrationWarning!==!0&&bi(o.textContent,l,e),i=["children",""+l]):Oo.hasOwnProperty(a)&&l!=null&&a==="onScroll"&&he("scroll",o)}switch(n){case"input":hi(o),Uu(o,s,!0);break;case"textarea":hi(o),Vu(o);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(o.onclick=fs)}o=i,t.updateQueue=o,o!==null&&(t.flags|=4)}else{a=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Kf(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof o.is=="string"?e=a.createElement(n,{is:o.is}):(e=a.createElement(n),n==="select"&&(a=e,o.multiple?a.multiple=!0:o.size&&(a.size=o.size))):e=a.createElementNS(e,n),e[Rt]=t,e[zo]=o,ym(e,t,!1,!1),t.stateNode=e;e:{switch(a=Tl(n,o),n){case"dialog":he("cancel",e),he("close",e),i=o;break;case"iframe":case"object":case"embed":he("load",e),i=o;break;case"video":case"audio":for(i=0;i<ho.length;i++)he(ho[i],e);i=o;break;case"source":he("error",e),i=o;break;case"img":case"image":case"link":he("error",e),he("load",e),i=o;break;case"details":he("toggle",e),i=o;break;case"input":$u(e,o),i=Sl(e,o),he("invalid",e);break;case"option":i=o;break;case"select":e._wrapperState={wasMultiple:!!o.multiple},i=Ce({},o,{value:void 0}),he("invalid",e);break;case"textarea":qu(e,o),i=Pl(e,o),he("invalid",e);break;default:i=o}Ol(n,i),l=i;for(s in l)if(l.hasOwnProperty(s)){var u=l[s];s==="style"?Jf(e,u):s==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,u!=null&&Gf(e,u)):s==="children"?typeof u=="string"?(n!=="textarea"||u!=="")&&To(e,u):typeof u=="number"&&To(e,""+u):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(Oo.hasOwnProperty(s)?u!=null&&s==="onScroll"&&he("scroll",e):u!=null&&Lc(e,s,u,a))}switch(n){case"input":hi(e),Uu(e,o,!1);break;case"textarea":hi(e),Vu(e);break;case"option":o.value!=null&&e.setAttribute("value",""+Sn(o.value));break;case"select":e.multiple=!!o.multiple,s=o.value,s!=null?wr(e,!!o.multiple,s,!1):o.defaultValue!=null&&wr(e,!!o.multiple,o.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=fs)}switch(n){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}}o&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Me(t),null;case 6:if(e&&t.stateNode!=null)jm(e,t,e.memoizedProps,o);else{if(typeof o!="string"&&t.stateNode===null)throw Error(V(166));if(n=$n($o.current),$n(Lt.current),wi(t)){if(o=t.stateNode,n=t.memoizedProps,o[Rt]=t,(s=o.nodeValue!==n)&&(e=st,e!==null))switch(e.tag){case 3:bi(o.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&bi(o.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else o=(n.nodeType===9?n:n.ownerDocument).createTextNode(o),o[Rt]=t,t.stateNode=o}return Me(t),null;case 13:if(ve(je),o=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ye&&rt!==null&&t.mode&1&&!(t.flags&128))Mp(),Ar(),t.flags|=98560,s=!1;else if(s=wi(t),o!==null&&o.dehydrated!==null){if(e===null){if(!s)throw Error(V(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(V(317));s[Rt]=t}else Ar(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Me(t),s=!1}else Ct!==null&&(dc(Ct),Ct=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(o=o!==null,o!==(e!==null&&e.memoizedState!==null)&&o&&(t.child.flags|=8192,t.mode&1&&(e===null||je.current&1?Pe===0&&(Pe=3):xu())),t.updateQueue!==null&&(t.flags|=4),Me(t),null);case 4:return Rr(),rc(e,t),e===null&&Mo(t.stateNode.containerInfo),Me(t),null;case 10:return nu(t.type._context),Me(t),null;case 17:return Je(t.type)&&ps(),Me(t),null;case 19:if(ve(je),s=t.memoizedState,s===null)return Me(t),null;if(o=(t.flags&128)!==0,a=s.rendering,a===null)if(o)lo(s,!1);else{if(Pe!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=js(e),a!==null){for(t.flags|=128,lo(s,!1),o=a.updateQueue,o!==null&&(t.updateQueue=o,t.flags|=4),t.subtreeFlags=0,o=n,n=t.child;n!==null;)s=n,e=o,s.flags&=14680066,a=s.alternate,a===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=a.childLanes,s.lanes=a.lanes,s.child=a.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=a.memoizedProps,s.memoizedState=a.memoizedState,s.updateQueue=a.updateQueue,s.type=a.type,e=a.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return pe(je,je.current&1|2),t.child}e=e.sibling}s.tail!==null&&Se()>Fr&&(t.flags|=128,o=!0,lo(s,!1),t.lanes=4194304)}else{if(!o)if(e=js(a),e!==null){if(t.flags|=128,o=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),lo(s,!0),s.tail===null&&s.tailMode==="hidden"&&!a.alternate&&!ye)return Me(t),null}else 2*Se()-s.renderingStartTime>Fr&&n!==1073741824&&(t.flags|=128,o=!0,lo(s,!1),t.lanes=4194304);s.isBackwards?(a.sibling=t.child,t.child=a):(n=s.last,n!==null?n.sibling=a:t.child=a,s.last=a)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Se(),t.sibling=null,n=je.current,pe(je,o?n&1|2:n&1),t):(Me(t),null);case 22:case 23:return yu(),o=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==o&&(t.flags|=8192),o&&t.mode&1?nt&1073741824&&(Me(t),t.subtreeFlags&6&&(t.flags|=8192)):Me(t),null;case 24:return null;case 25:return null}throw Error(V(156,t.tag))}function dy(e,t){switch(Xc(t),t.tag){case 1:return Je(t.type)&&ps(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Rr(),ve(Qe),ve(ze),au(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return su(t),null;case 13:if(ve(je),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(V(340));Ar()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ve(je),null;case 4:return Rr(),null;case 10:return nu(t.type._context),null;case 22:case 23:return yu(),null;case 24:return null;default:return null}}var Ei=!1,Be=!1,fy=typeof WeakSet=="function"?WeakSet:Set,J=null;function gr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(o){be(e,t,o)}else n.current=null}function oc(e,t,n){try{n()}catch(o){be(e,t,o)}}var Rd=!1;function py(e,t){if(Wl=cs,e=Sp(),Qc(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var o=n.getSelection&&n.getSelection();if(o&&o.rangeCount!==0){n=o.anchorNode;var i=o.anchorOffset,s=o.focusNode;o=o.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var a=0,l=-1,u=-1,c=0,d=0,p=e,y=null;t:for(;;){for(var b;p!==n||i!==0&&p.nodeType!==3||(l=a+i),p!==s||o!==0&&p.nodeType!==3||(u=a+o),p.nodeType===3&&(a+=p.nodeValue.length),(b=p.firstChild)!==null;)y=p,p=b;for(;;){if(p===e)break t;if(y===n&&++c===i&&(l=a),y===s&&++d===o&&(u=a),(b=p.nextSibling)!==null)break;p=y,y=p.parentNode}p=b}n=l===-1||u===-1?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for($l={focusedElem:e,selectionRange:n},cs=!1,J=t;J!==null;)if(t=J,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,J=e;else for(;J!==null;){t=J;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var N=g.memoizedProps,C=g.memoizedState,h=t.stateNode,v=h.getSnapshotBeforeUpdate(t.elementType===t.type?N:jt(t.type,N),C);h.__reactInternalSnapshotBeforeUpdate=v}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(V(163))}}catch(x){be(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,J=e;break}J=t.return}return g=Rd,Rd=!1,g}function bo(e,t,n){var o=t.updateQueue;if(o=o!==null?o.lastEffect:null,o!==null){var i=o=o.next;do{if((i.tag&e)===e){var s=i.destroy;i.destroy=void 0,s!==void 0&&oc(t,n,s)}i=i.next}while(i!==o)}}function Gs(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var o=n.create;n.destroy=o()}n=n.next}while(n!==t)}}function ic(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Nm(e){var t=e.alternate;t!==null&&(e.alternate=null,Nm(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Rt],delete t[zo],delete t[Vl],delete t[Gg],delete t[Qg])),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 Cm(e){return e.tag===5||e.tag===3||e.tag===4}function Dd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Cm(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 sc(e,t,n){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=fs));else if(o!==4&&(e=e.child,e!==null))for(sc(e,t,n),e=e.sibling;e!==null;)sc(e,t,n),e=e.sibling}function ac(e,t,n){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(o!==4&&(e=e.child,e!==null))for(ac(e,t,n),e=e.sibling;e!==null;)ac(e,t,n),e=e.sibling}var Re=null,Nt=!1;function nn(e,t,n){for(n=n.child;n!==null;)bm(e,t,n),n=n.sibling}function bm(e,t,n){if(Ft&&typeof Ft.onCommitFiberUnmount=="function")try{Ft.onCommitFiberUnmount(Ws,n)}catch{}switch(n.tag){case 5:Be||gr(n,t);case 6:var o=Re,i=Nt;Re=null,nn(e,t,n),Re=o,Nt=i,Re!==null&&(Nt?(e=Re,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Re.removeChild(n.stateNode));break;case 18:Re!==null&&(Nt?(e=Re,n=n.stateNode,e.nodeType===8?Za(e.parentNode,n):e.nodeType===1&&Za(e,n),Do(e)):Za(Re,n.stateNode));break;case 4:o=Re,i=Nt,Re=n.stateNode.containerInfo,Nt=!0,nn(e,t,n),Re=o,Nt=i;break;case 0:case 11:case 14:case 15:if(!Be&&(o=n.updateQueue,o!==null&&(o=o.lastEffect,o!==null))){i=o=o.next;do{var s=i,a=s.destroy;s=s.tag,a!==void 0&&(s&2||s&4)&&oc(n,t,a),i=i.next}while(i!==o)}nn(e,t,n);break;case 1:if(!Be&&(gr(n,t),o=n.stateNode,typeof o.componentWillUnmount=="function"))try{o.props=n.memoizedProps,o.state=n.memoizedState,o.componentWillUnmount()}catch(l){be(n,t,l)}nn(e,t,n);break;case 21:nn(e,t,n);break;case 22:n.mode&1?(Be=(o=Be)||n.memoizedState!==null,nn(e,t,n),Be=o):nn(e,t,n);break;default:nn(e,t,n)}}function Fd(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new fy),t.forEach(function(o){var i=Cy.bind(null,e,o);n.has(o)||(n.add(o),o.then(i,i))})}}function xt(e,t){var n=t.deletions;if(n!==null)for(var o=0;o<n.length;o++){var i=n[o];try{var s=e,a=t,l=a;e:for(;l!==null;){switch(l.tag){case 5:Re=l.stateNode,Nt=!1;break e;case 3:Re=l.stateNode.containerInfo,Nt=!0;break e;case 4:Re=l.stateNode.containerInfo,Nt=!0;break e}l=l.return}if(Re===null)throw Error(V(160));bm(s,a,i),Re=null,Nt=!1;var u=i.alternate;u!==null&&(u.return=null),i.return=null}catch(c){be(i,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)wm(t,e),t=t.sibling}function wm(e,t){var n=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(xt(t,e),Tt(e),o&4){try{bo(3,e,e.return),Gs(3,e)}catch(N){be(e,e.return,N)}try{bo(5,e,e.return)}catch(N){be(e,e.return,N)}}break;case 1:xt(t,e),Tt(e),o&512&&n!==null&&gr(n,n.return);break;case 5:if(xt(t,e),Tt(e),o&512&&n!==null&&gr(n,n.return),e.flags&32){var i=e.stateNode;try{To(i,"")}catch(N){be(e,e.return,N)}}if(o&4&&(i=e.stateNode,i!=null)){var s=e.memoizedProps,a=n!==null?n.memoizedProps:s,l=e.type,u=e.updateQueue;if(e.updateQueue=null,u!==null)try{l==="input"&&s.type==="radio"&&s.name!=null&&Hf(i,s),Tl(l,a);var c=Tl(l,s);for(a=0;a<u.length;a+=2){var d=u[a],p=u[a+1];d==="style"?Jf(i,p):d==="dangerouslySetInnerHTML"?Gf(i,p):d==="children"?To(i,p):Lc(i,d,p,c)}switch(l){case"input":kl(i,s);break;case"textarea":Yf(i,s);break;case"select":var y=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!s.multiple;var b=s.value;b!=null?wr(i,!!s.multiple,b,!1):y!==!!s.multiple&&(s.defaultValue!=null?wr(i,!!s.multiple,s.defaultValue,!0):wr(i,!!s.multiple,s.multiple?[]:"",!1))}i[zo]=s}catch(N){be(e,e.return,N)}}break;case 6:if(xt(t,e),Tt(e),o&4){if(e.stateNode===null)throw Error(V(162));i=e.stateNode,s=e.memoizedProps;try{i.nodeValue=s}catch(N){be(e,e.return,N)}}break;case 3:if(xt(t,e),Tt(e),o&4&&n!==null&&n.memoizedState.isDehydrated)try{Do(t.containerInfo)}catch(N){be(e,e.return,N)}break;case 4:xt(t,e),Tt(e);break;case 13:xt(t,e),Tt(e),i=e.child,i.flags&8192&&(s=i.memoizedState!==null,i.stateNode.isHidden=s,!s||i.alternate!==null&&i.alternate.memoizedState!==null||(vu=Se())),o&4&&Fd(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(Be=(c=Be)||d,xt(t,e),Be=c):xt(t,e),Tt(e),o&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!d&&e.mode&1)for(J=e,d=e.child;d!==null;){for(p=J=d;J!==null;){switch(y=J,b=y.child,y.tag){case 0:case 11:case 14:case 15:bo(4,y,y.return);break;case 1:gr(y,y.return);var g=y.stateNode;if(typeof g.componentWillUnmount=="function"){o=y,n=y.return;try{t=o,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(N){be(o,n,N)}}break;case 5:gr(y,y.return);break;case 22:if(y.memoizedState!==null){Md(p);continue}}b!==null?(b.return=y,J=b):Md(p)}d=d.sibling}e:for(d=null,p=e;;){if(p.tag===5){if(d===null){d=p;try{i=p.stateNode,c?(s=i.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(l=p.stateNode,u=p.memoizedProps.style,a=u!=null&&u.hasOwnProperty("display")?u.display:null,l.style.display=Qf("display",a))}catch(N){be(e,e.return,N)}}}else if(p.tag===6){if(d===null)try{p.stateNode.nodeValue=c?"":p.memoizedProps}catch(N){be(e,e.return,N)}}else if((p.tag!==22&&p.tag!==23||p.memoizedState===null||p===e)&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;p.sibling===null;){if(p.return===null||p.return===e)break e;d===p&&(d=null),p=p.return}d===p&&(d=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:xt(t,e),Tt(e),o&4&&Fd(e);break;case 21:break;default:xt(t,e),Tt(e)}}function Tt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Cm(n)){var o=n;break e}n=n.return}throw Error(V(160))}switch(o.tag){case 5:var i=o.stateNode;o.flags&32&&(To(i,""),o.flags&=-33);var s=Dd(e);ac(e,s,i);break;case 3:case 4:var a=o.stateNode.containerInfo,l=Dd(e);sc(e,l,a);break;default:throw Error(V(161))}}catch(u){be(e,e.return,u)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function my(e,t,n){J=e,Sm(e)}function Sm(e,t,n){for(var o=(e.mode&1)!==0;J!==null;){var i=J,s=i.child;if(i.tag===22&&o){var a=i.memoizedState!==null||Ei;if(!a){var l=i.alternate,u=l!==null&&l.memoizedState!==null||Be;l=Ei;var c=Be;if(Ei=a,(Be=u)&&!c)for(J=i;J!==null;)a=J,u=a.child,a.tag===22&&a.memoizedState!==null?Bd(i):u!==null?(u.return=a,J=u):Bd(i);for(;s!==null;)J=s,Sm(s),s=s.sibling;J=i,Ei=l,Be=c}Ld(e)}else i.subtreeFlags&8772&&s!==null?(s.return=i,J=s):Ld(e)}}function Ld(e){for(;J!==null;){var t=J;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Be||Gs(5,t);break;case 1:var o=t.stateNode;if(t.flags&4&&!Be)if(n===null)o.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:jt(t.type,n.memoizedProps);o.componentDidUpdate(i,n.memoizedState,o.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&Nd(t,s,o);break;case 3:var a=t.updateQueue;if(a!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Nd(t,a,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var d=c.memoizedState;if(d!==null){var p=d.dehydrated;p!==null&&Do(p)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(V(163))}Be||t.flags&512&&ic(t)}catch(y){be(t,t.return,y)}}if(t===e){J=null;break}if(n=t.sibling,n!==null){n.return=t.return,J=n;break}J=t.return}}function Md(e){for(;J!==null;){var t=J;if(t===e){J=null;break}var n=t.sibling;if(n!==null){n.return=t.return,J=n;break}J=t.return}}function Bd(e){for(;J!==null;){var t=J;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Gs(4,t)}catch(u){be(t,n,u)}break;case 1:var o=t.stateNode;if(typeof o.componentDidMount=="function"){var i=t.return;try{o.componentDidMount()}catch(u){be(t,i,u)}}var s=t.return;try{ic(t)}catch(u){be(t,s,u)}break;case 5:var a=t.return;try{ic(t)}catch(u){be(t,a,u)}}}catch(u){be(t,t.return,u)}if(t===e){J=null;break}var l=t.sibling;if(l!==null){l.return=t.return,J=l;break}J=t.return}}var hy=Math.ceil,bs=Xt.ReactCurrentDispatcher,mu=Xt.ReactCurrentOwner,vt=Xt.ReactCurrentBatchConfig,ue=0,Te=null,ke=null,De=0,nt=0,yr=_n(0),Pe=0,Ho=null,Jn=0,Qs=0,hu=0,wo=null,Ke=null,vu=0,Fr=1/0,Wt=null,ws=!1,lc=null,Nn=null,Pi=!1,pn=null,Ss=0,So=0,cc=null,$i=-1,Ui=0;function Ue(){return ue&6?Se():$i!==-1?$i:$i=Se()}function Cn(e){return e.mode&1?ue&2&&De!==0?De&-De:Xg.transition!==null?(Ui===0&&(Ui=cp()),Ui):(e=fe,e!==0||(e=window.event,e=e===void 0?16:vp(e.type)),e):1}function St(e,t,n,o){if(50<So)throw So=0,cc=null,Error(V(185));ti(e,n,o),(!(ue&2)||e!==Te)&&(e===Te&&(!(ue&2)&&(Qs|=n),Pe===4&&dn(e,De)),Xe(e,o),n===1&&ue===0&&!(t.mode&1)&&(Fr=Se()+500,Hs&&On()))}function Xe(e,t){var n=e.callbackNode;Xv(e,t);var o=ls(e,e===Te?De:0);if(o===0)n!==null&&Ku(n),e.callbackNode=null,e.callbackPriority=0;else if(t=o&-o,e.callbackPriority!==t){if(n!=null&&Ku(n),t===1)e.tag===0?Jg(zd.bind(null,e)):Dp(zd.bind(null,e)),Yg(function(){!(ue&6)&&On()}),n=null;else{switch(up(o)){case 1:n=$c;break;case 4:n=ap;break;case 16:n=as;break;case 536870912:n=lp;break;default:n=as}n=Im(n,km.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function km(e,t){if($i=-1,Ui=0,ue&6)throw Error(V(327));var n=e.callbackNode;if(_r()&&e.callbackNode!==n)return null;var o=ls(e,e===Te?De:0);if(o===0)return null;if(o&30||o&e.expiredLanes||t)t=ks(e,o);else{t=o;var i=ue;ue|=2;var s=Pm();(Te!==e||De!==t)&&(Wt=null,Fr=Se()+500,qn(e,t));do try{yy();break}catch(l){Em(e,l)}while(!0);tu(),bs.current=s,ue=i,ke!==null?t=0:(Te=null,De=0,t=Pe)}if(t!==0){if(t===2&&(i=Fl(e),i!==0&&(o=i,t=uc(e,i))),t===1)throw n=Ho,qn(e,0),dn(e,o),Xe(e,Se()),n;if(t===6)dn(e,o);else{if(i=e.current.alternate,!(o&30)&&!vy(i)&&(t=ks(e,o),t===2&&(s=Fl(e),s!==0&&(o=s,t=uc(e,s))),t===1))throw n=Ho,qn(e,0),dn(e,o),Xe(e,Se()),n;switch(e.finishedWork=i,e.finishedLanes=o,t){case 0:case 1:throw Error(V(345));case 2:Ln(e,Ke,Wt);break;case 3:if(dn(e,o),(o&130023424)===o&&(t=vu+500-Se(),10<t)){if(ls(e,0)!==0)break;if(i=e.suspendedLanes,(i&o)!==o){Ue(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=ql(Ln.bind(null,e,Ke,Wt),t);break}Ln(e,Ke,Wt);break;case 4:if(dn(e,o),(o&4194240)===o)break;for(t=e.eventTimes,i=-1;0<o;){var a=31-wt(o);s=1<<a,a=t[a],a>i&&(i=a),o&=~s}if(o=i,o=Se()-o,o=(120>o?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*hy(o/1960))-o,10<o){e.timeoutHandle=ql(Ln.bind(null,e,Ke,Wt),o);break}Ln(e,Ke,Wt);break;case 5:Ln(e,Ke,Wt);break;default:throw Error(V(329))}}}return Xe(e,Se()),e.callbackNode===n?km.bind(null,e):null}function uc(e,t){var n=wo;return e.current.memoizedState.isDehydrated&&(qn(e,t).flags|=256),e=ks(e,t),e!==2&&(t=Ke,Ke=n,t!==null&&dc(t)),e}function dc(e){Ke===null?Ke=e:Ke.push.apply(Ke,e)}function vy(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var o=0;o<n.length;o++){var i=n[o],s=i.getSnapshot;i=i.value;try{if(!Et(s(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;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 dn(e,t){for(t&=~hu,t&=~Qs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-wt(t),o=1<<n;e[n]=-1,t&=~o}}function zd(e){if(ue&6)throw Error(V(327));_r();var t=ls(e,0);if(!(t&1))return Xe(e,Se()),null;var n=ks(e,t);if(e.tag!==0&&n===2){var o=Fl(e);o!==0&&(t=o,n=uc(e,o))}if(n===1)throw n=Ho,qn(e,0),dn(e,t),Xe(e,Se()),n;if(n===6)throw Error(V(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ln(e,Ke,Wt),Xe(e,Se()),null}function gu(e,t){var n=ue;ue|=1;try{return e(t)}finally{ue=n,ue===0&&(Fr=Se()+500,Hs&&On())}}function Xn(e){pn!==null&&pn.tag===0&&!(ue&6)&&_r();var t=ue;ue|=1;var n=vt.transition,o=fe;try{if(vt.transition=null,fe=1,e)return e()}finally{fe=o,vt.transition=n,ue=t,!(ue&6)&&On()}}function yu(){nt=yr.current,ve(yr)}function qn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Hg(n)),ke!==null)for(n=ke.return;n!==null;){var o=n;switch(Xc(o),o.tag){case 1:o=o.type.childContextTypes,o!=null&&ps();break;case 3:Rr(),ve(Qe),ve(ze),au();break;case 5:su(o);break;case 4:Rr();break;case 13:ve(je);break;case 19:ve(je);break;case 10:nu(o.type._context);break;case 22:case 23:yu()}n=n.return}if(Te=e,ke=e=bn(e.current,null),De=nt=t,Pe=0,Ho=null,hu=Qs=Jn=0,Ke=wo=null,Wn!==null){for(t=0;t<Wn.length;t++)if(n=Wn[t],o=n.interleaved,o!==null){n.interleaved=null;var i=o.next,s=n.pending;if(s!==null){var a=s.next;s.next=i,o.next=a}n.pending=o}Wn=null}return e}function Em(e,t){do{var n=ke;try{if(tu(),Bi.current=Cs,Ns){for(var o=Ne.memoizedState;o!==null;){var i=o.queue;i!==null&&(i.pending=null),o=o.next}Ns=!1}if(Qn=0,Oe=Ee=Ne=null,Co=!1,Uo=0,mu.current=null,n===null||n.return===null){Pe=1,Ho=t,ke=null;break}e:{var s=e,a=n.return,l=n,u=t;if(t=De,l.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){var c=u,d=l,p=d.tag;if(!(d.mode&1)&&(p===0||p===11||p===15)){var y=d.alternate;y?(d.updateQueue=y.updateQueue,d.memoizedState=y.memoizedState,d.lanes=y.lanes):(d.updateQueue=null,d.memoizedState=null)}var b=Ed(a);if(b!==null){b.flags&=-257,Pd(b,a,l,s,t),b.mode&1&&kd(s,c,t),t=b,u=c;var g=t.updateQueue;if(g===null){var N=new Set;N.add(u),t.updateQueue=N}else g.add(u);break e}else{if(!(t&1)){kd(s,c,t),xu();break e}u=Error(V(426))}}else if(ye&&l.mode&1){var C=Ed(a);if(C!==null){!(C.flags&65536)&&(C.flags|=256),Pd(C,a,l,s,t),Zc(Dr(u,l));break e}}s=u=Dr(u,l),Pe!==4&&(Pe=2),wo===null?wo=[s]:wo.push(s),s=a;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var h=um(s,u,t);jd(s,h);break e;case 1:l=u;var v=s.type,m=s.stateNode;if(!(s.flags&128)&&(typeof v.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(Nn===null||!Nn.has(m)))){s.flags|=65536,t&=-t,s.lanes|=t;var x=dm(s,l,t);jd(s,x);break e}}s=s.return}while(s!==null)}Om(n)}catch(E){t=E,ke===n&&n!==null&&(ke=n=n.return);continue}break}while(!0)}function Pm(){var e=bs.current;return bs.current=Cs,e===null?Cs:e}function xu(){(Pe===0||Pe===3||Pe===2)&&(Pe=4),Te===null||!(Jn&268435455)&&!(Qs&268435455)||dn(Te,De)}function ks(e,t){var n=ue;ue|=2;var o=Pm();(Te!==e||De!==t)&&(Wt=null,qn(e,t));do try{gy();break}catch(i){Em(e,i)}while(!0);if(tu(),ue=n,bs.current=o,ke!==null)throw Error(V(261));return Te=null,De=0,Pe}function gy(){for(;ke!==null;)_m(ke)}function yy(){for(;ke!==null&&!Uv();)_m(ke)}function _m(e){var t=Am(e.alternate,e,nt);e.memoizedProps=e.pendingProps,t===null?Om(e):ke=t,mu.current=null}function Om(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=dy(n,t),n!==null){n.flags&=32767,ke=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Pe=6,ke=null;return}}else if(n=uy(n,t,nt),n!==null){ke=n;return}if(t=t.sibling,t!==null){ke=t;return}ke=t=e}while(t!==null);Pe===0&&(Pe=5)}function Ln(e,t,n){var o=fe,i=vt.transition;try{vt.transition=null,fe=1,xy(e,t,n,o)}finally{vt.transition=i,fe=o}return null}function xy(e,t,n,o){do _r();while(pn!==null);if(ue&6)throw Error(V(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(V(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(Zv(e,s),e===Te&&(ke=Te=null,De=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Pi||(Pi=!0,Im(as,function(){return _r(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=vt.transition,vt.transition=null;var a=fe;fe=1;var l=ue;ue|=4,mu.current=null,py(e,n),wm(n,e),Bg($l),cs=!!Wl,$l=Wl=null,e.current=n,my(n),qv(),ue=l,fe=a,vt.transition=s}else e.current=n;if(Pi&&(Pi=!1,pn=e,Ss=i),s=e.pendingLanes,s===0&&(Nn=null),Yv(n.stateNode),Xe(e,Se()),t!==null)for(o=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],o(i.value,{componentStack:i.stack,digest:i.digest});if(ws)throw ws=!1,e=lc,lc=null,e;return Ss&1&&e.tag!==0&&_r(),s=e.pendingLanes,s&1?e===cc?So++:(So=0,cc=e):So=0,On(),null}function _r(){if(pn!==null){var e=up(Ss),t=vt.transition,n=fe;try{if(vt.transition=null,fe=16>e?16:e,pn===null)var o=!1;else{if(e=pn,pn=null,Ss=0,ue&6)throw Error(V(331));var i=ue;for(ue|=4,J=e.current;J!==null;){var s=J,a=s.child;if(J.flags&16){var l=s.deletions;if(l!==null){for(var u=0;u<l.length;u++){var c=l[u];for(J=c;J!==null;){var d=J;switch(d.tag){case 0:case 11:case 15:bo(8,d,s)}var p=d.child;if(p!==null)p.return=d,J=p;else for(;J!==null;){d=J;var y=d.sibling,b=d.return;if(Nm(d),d===c){J=null;break}if(y!==null){y.return=b,J=y;break}J=b}}}var g=s.alternate;if(g!==null){var N=g.child;if(N!==null){g.child=null;do{var C=N.sibling;N.sibling=null,N=C}while(N!==null)}}J=s}}if(s.subtreeFlags&2064&&a!==null)a.return=s,J=a;else e:for(;J!==null;){if(s=J,s.flags&2048)switch(s.tag){case 0:case 11:case 15:bo(9,s,s.return)}var h=s.sibling;if(h!==null){h.return=s.return,J=h;break e}J=s.return}}var v=e.current;for(J=v;J!==null;){a=J;var m=a.child;if(a.subtreeFlags&2064&&m!==null)m.return=a,J=m;else e:for(a=v;J!==null;){if(l=J,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:Gs(9,l)}}catch(E){be(l,l.return,E)}if(l===a){J=null;break e}var x=l.sibling;if(x!==null){x.return=l.return,J=x;break e}J=l.return}}if(ue=i,On(),Ft&&typeof Ft.onPostCommitFiberRoot=="function")try{Ft.onPostCommitFiberRoot(Ws,e)}catch{}o=!0}return o}finally{fe=n,vt.transition=t}}return!1}function Wd(e,t,n){t=Dr(n,t),t=um(e,t,1),e=jn(e,t,1),t=Ue(),e!==null&&(ti(e,1,t),Xe(e,t))}function be(e,t,n){if(e.tag===3)Wd(e,e,n);else for(;t!==null;){if(t.tag===3){Wd(t,e,n);break}else if(t.tag===1){var o=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Nn===null||!Nn.has(o))){e=Dr(n,e),e=dm(t,e,1),t=jn(t,e,1),e=Ue(),t!==null&&(ti(t,1,e),Xe(t,e));break}}t=t.return}}function jy(e,t,n){var o=e.pingCache;o!==null&&o.delete(t),t=Ue(),e.pingedLanes|=e.suspendedLanes&n,Te===e&&(De&n)===n&&(Pe===4||Pe===3&&(De&130023424)===De&&500>Se()-vu?qn(e,0):hu|=n),Xe(e,t)}function Tm(e,t){t===0&&(e.mode&1?(t=yi,yi<<=1,!(yi&130023424)&&(yi=4194304)):t=1);var n=Ue();e=Gt(e,t),e!==null&&(ti(e,t,n),Xe(e,n))}function Ny(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Tm(e,n)}function Cy(e,t){var n=0;switch(e.tag){case 13:var o=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:o=e.stateNode;break;default:throw Error(V(314))}o!==null&&o.delete(t),Tm(e,n)}var Am;Am=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Qe.current)Ge=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ge=!1,cy(e,t,n);Ge=!!(e.flags&131072)}else Ge=!1,ye&&t.flags&1048576&&Fp(t,vs,t.index);switch(t.lanes=0,t.tag){case 2:var o=t.type;Wi(e,t),e=t.pendingProps;var i=Tr(t,ze.current);Pr(t,n),i=cu(null,t,o,e,i,n);var s=uu();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Je(o)?(s=!0,ms(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,ou(t),i.updater=Ks,t.stateNode=i,i._reactInternals=t,Jl(t,o,e,n),t=ec(null,t,o,!0,s,n)):(t.tag=0,ye&&s&&Jc(t),We(null,t,i,n),t=t.child),t;case 16:o=t.elementType;e:{switch(Wi(e,t),e=t.pendingProps,i=o._init,o=i(o._payload),t.type=o,i=t.tag=wy(o),e=jt(o,e),i){case 0:t=Zl(null,t,o,e,n);break e;case 1:t=Td(null,t,o,e,n);break e;case 11:t=_d(null,t,o,e,n);break e;case 14:t=Od(null,t,o,jt(o.type,e),n);break e}throw Error(V(306,o,""))}return t;case 0:return o=t.type,i=t.pendingProps,i=t.elementType===o?i:jt(o,i),Zl(e,t,o,i,n);case 1:return o=t.type,i=t.pendingProps,i=t.elementType===o?i:jt(o,i),Td(e,t,o,i,n);case 3:e:{if(hm(t),e===null)throw Error(V(387));o=t.pendingProps,s=t.memoizedState,i=s.element,$p(e,t),xs(t,o,null,n);var a=t.memoizedState;if(o=a.element,s.isDehydrated)if(s={element:o,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){i=Dr(Error(V(423)),t),t=Ad(e,t,o,n,i);break e}else if(o!==i){i=Dr(Error(V(424)),t),t=Ad(e,t,o,n,i);break e}else for(rt=xn(t.stateNode.containerInfo.firstChild),st=t,ye=!0,Ct=null,n=zp(t,null,o,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ar(),o===i){t=Qt(e,t,n);break e}We(e,t,o,n)}t=t.child}return t;case 5:return Up(t),e===null&&Kl(t),o=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,a=i.children,Ul(o,i)?a=null:s!==null&&Ul(o,s)&&(t.flags|=32),mm(e,t),We(e,t,a,n),t.child;case 6:return e===null&&Kl(t),null;case 13:return vm(e,t,n);case 4:return iu(t,t.stateNode.containerInfo),o=t.pendingProps,e===null?t.child=Ir(t,null,o,n):We(e,t,o,n),t.child;case 11:return o=t.type,i=t.pendingProps,i=t.elementType===o?i:jt(o,i),_d(e,t,o,i,n);case 7:return We(e,t,t.pendingProps,n),t.child;case 8:return We(e,t,t.pendingProps.children,n),t.child;case 12:return We(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(o=t.type._context,i=t.pendingProps,s=t.memoizedProps,a=i.value,pe(gs,o._currentValue),o._currentValue=a,s!==null)if(Et(s.value,a)){if(s.children===i.children&&!Qe.current){t=Qt(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var l=s.dependencies;if(l!==null){a=s.child;for(var u=l.firstContext;u!==null;){if(u.context===o){if(s.tag===1){u=Ht(-1,n&-n),u.tag=2;var c=s.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}s.lanes|=n,u=s.alternate,u!==null&&(u.lanes|=n),Gl(s.return,n,t),l.lanes|=n;break}u=u.next}}else if(s.tag===10)a=s.type===t.type?null:s.child;else if(s.tag===18){if(a=s.return,a===null)throw Error(V(341));a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),Gl(a,n,t),a=s.sibling}else a=s.child;if(a!==null)a.return=s;else for(a=s;a!==null;){if(a===t){a=null;break}if(s=a.sibling,s!==null){s.return=a.return,a=s;break}a=a.return}s=a}We(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,o=t.pendingProps.children,Pr(t,n),i=gt(i),o=o(i),t.flags|=1,We(e,t,o,n),t.child;case 14:return o=t.type,i=jt(o,t.pendingProps),i=jt(o.type,i),Od(e,t,o,i,n);case 15:return fm(e,t,t.type,t.pendingProps,n);case 17:return o=t.type,i=t.pendingProps,i=t.elementType===o?i:jt(o,i),Wi(e,t),t.tag=1,Je(o)?(e=!0,ms(t)):e=!1,Pr(t,n),cm(t,o,i),Jl(t,o,i,n),ec(null,t,o,!0,e,n);case 19:return gm(e,t,n);case 22:return pm(e,t,n)}throw Error(V(156,t.tag))};function Im(e,t){return sp(e,t)}function by(e,t,n,o){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ht(e,t,n,o){return new by(e,t,n,o)}function ju(e){return e=e.prototype,!(!e||!e.isReactComponent)}function wy(e){if(typeof e=="function")return ju(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Bc)return 11;if(e===zc)return 14}return 2}function bn(e,t){var n=e.alternate;return n===null?(n=ht(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function qi(e,t,n,o,i,s){var a=2;if(o=e,typeof e=="function")ju(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case lr:return Vn(n.children,i,s,t);case Mc:a=8,i|=8;break;case Nl:return e=ht(12,n,t,i|2),e.elementType=Nl,e.lanes=s,e;case Cl:return e=ht(13,n,t,i),e.elementType=Cl,e.lanes=s,e;case bl:return e=ht(19,n,t,i),e.elementType=bl,e.lanes=s,e;case Uf:return Js(n,i,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Wf:a=10;break e;case $f:a=9;break e;case Bc:a=11;break e;case zc:a=14;break e;case on:a=16,o=null;break e}throw Error(V(130,e==null?e:typeof e,""))}return t=ht(a,n,t,i),t.elementType=e,t.type=o,t.lanes=s,t}function Vn(e,t,n,o){return e=ht(7,e,o,t),e.lanes=n,e}function Js(e,t,n,o){return e=ht(22,e,o,t),e.elementType=Uf,e.lanes=n,e.stateNode={isHidden:!1},e}function al(e,t,n){return e=ht(6,e,null,t),e.lanes=n,e}function ll(e,t,n){return t=ht(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Sy(e,t,n,o,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=$a(0),this.expirationTimes=$a(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$a(0),this.identifierPrefix=o,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Nu(e,t,n,o,i,s,a,l,u){return e=new Sy(e,t,n,l,u),t===1?(t=1,s===!0&&(t|=8)):t=0,s=ht(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:o,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ou(s),e}function ky(e,t,n){var o=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ar,key:o==null?null:""+o,children:e,containerInfo:t,implementation:n}}function Rm(e){if(!e)return kn;e=e._reactInternals;e:{if(rr(e)!==e||e.tag!==1)throw Error(V(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Je(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(V(171))}if(e.tag===1){var n=e.type;if(Je(n))return Rp(e,n,t)}return t}function Dm(e,t,n,o,i,s,a,l,u){return e=Nu(n,o,!0,e,i,s,a,l,u),e.context=Rm(null),n=e.current,o=Ue(),i=Cn(n),s=Ht(o,i),s.callback=t??null,jn(n,s,i),e.current.lanes=i,ti(e,i,o),Xe(e,o),e}function Xs(e,t,n,o){var i=t.current,s=Ue(),a=Cn(i);return n=Rm(n),t.context===null?t.context=n:t.pendingContext=n,t=Ht(s,a),t.payload={element:e},o=o===void 0?null:o,o!==null&&(t.callback=o),e=jn(i,t,a),e!==null&&(St(e,i,a,s),Mi(e,i,a)),a}function Es(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 $d(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Cu(e,t){$d(e,t),(e=e.alternate)&&$d(e,t)}function Ey(){return null}var Fm=typeof reportError=="function"?reportError:function(e){console.error(e)};function bu(e){this._internalRoot=e}Zs.prototype.render=bu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(V(409));Xs(e,t,null,null)};Zs.prototype.unmount=bu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Xn(function(){Xs(null,e,null,null)}),t[Kt]=null}};function Zs(e){this._internalRoot=e}Zs.prototype.unstable_scheduleHydration=function(e){if(e){var t=pp();e={blockedOn:null,target:e,priority:t};for(var n=0;n<un.length&&t!==0&&t<un[n].priority;n++);un.splice(n,0,e),n===0&&hp(e)}};function wu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ea(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Ud(){}function Py(e,t,n,o,i){if(i){if(typeof o=="function"){var s=o;o=function(){var c=Es(a);s.call(c)}}var a=Dm(t,o,e,0,null,!1,!1,"",Ud);return e._reactRootContainer=a,e[Kt]=a.current,Mo(e.nodeType===8?e.parentNode:e),Xn(),a}for(;i=e.lastChild;)e.removeChild(i);if(typeof o=="function"){var l=o;o=function(){var c=Es(u);l.call(c)}}var u=Nu(e,0,!1,null,null,!1,!1,"",Ud);return e._reactRootContainer=u,e[Kt]=u.current,Mo(e.nodeType===8?e.parentNode:e),Xn(function(){Xs(t,u,n,o)}),u}function ta(e,t,n,o,i){var s=n._reactRootContainer;if(s){var a=s;if(typeof i=="function"){var l=i;i=function(){var u=Es(a);l.call(u)}}Xs(t,a,e,i)}else a=Py(n,t,e,i,o);return Es(a)}dp=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=mo(t.pendingLanes);n!==0&&(Uc(t,n|1),Xe(t,Se()),!(ue&6)&&(Fr=Se()+500,On()))}break;case 13:Xn(function(){var o=Gt(e,1);if(o!==null){var i=Ue();St(o,e,1,i)}}),Cu(e,1)}};qc=function(e){if(e.tag===13){var t=Gt(e,134217728);if(t!==null){var n=Ue();St(t,e,134217728,n)}Cu(e,134217728)}};fp=function(e){if(e.tag===13){var t=Cn(e),n=Gt(e,t);if(n!==null){var o=Ue();St(n,e,t,o)}Cu(e,t)}};pp=function(){return fe};mp=function(e,t){var n=fe;try{return fe=e,t()}finally{fe=n}};Il=function(e,t,n){switch(t){case"input":if(kl(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var o=n[t];if(o!==e&&o.form===e.form){var i=Vs(o);if(!i)throw Error(V(90));Vf(o),kl(o,i)}}}break;case"textarea":Yf(e,n);break;case"select":t=n.value,t!=null&&wr(e,!!n.multiple,t,!1)}};ep=gu;tp=Xn;var _y={usingClientEntryPoint:!1,Events:[ri,fr,Vs,Xf,Zf,gu]},co={findFiberByHostInstance:zn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Oy={bundleType:co.bundleType,version:co.version,rendererPackageName:co.rendererPackageName,rendererConfig:co.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Xt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=op(e),e===null?null:e.stateNode},findFiberByHostInstance:co.findFiberByHostInstance||Ey,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 _i=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!_i.isDisabled&&_i.supportsFiber)try{Ws=_i.inject(Oy),Ft=_i}catch{}}dt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_y;dt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!wu(t))throw Error(V(200));return ky(e,t,null,n)};dt.createRoot=function(e,t){if(!wu(e))throw Error(V(299));var n=!1,o="",i=Fm;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=Nu(e,1,!1,null,null,n,!1,o,i),e[Kt]=t.current,Mo(e.nodeType===8?e.parentNode:e),new bu(t)};dt.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(V(188)):(e=Object.keys(e).join(","),Error(V(268,e)));return e=op(t),e=e===null?null:e.stateNode,e};dt.flushSync=function(e){return Xn(e)};dt.hydrate=function(e,t,n){if(!ea(t))throw Error(V(200));return ta(null,e,t,!0,n)};dt.hydrateRoot=function(e,t,n){if(!wu(e))throw Error(V(405));var o=n!=null&&n.hydratedSources||null,i=!1,s="",a=Fm;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(a=n.onRecoverableError)),t=Dm(t,null,e,1,n??null,i,!1,s,a),e[Kt]=t.current,Mo(e),o)for(e=0;e<o.length;e++)n=o[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Zs(t)};dt.render=function(e,t,n){if(!ea(t))throw Error(V(200));return ta(null,e,t,!1,n)};dt.unmountComponentAtNode=function(e){if(!ea(e))throw Error(V(40));return e._reactRootContainer?(Xn(function(){ta(null,null,e,!1,function(){e._reactRootContainer=null,e[Kt]=null})}),!0):!1};dt.unstable_batchedUpdates=gu;dt.unstable_renderSubtreeIntoContainer=function(e,t,n,o){if(!ea(n))throw Error(V(200));if(e==null||e._reactInternals===void 0)throw Error(V(38));return ta(e,t,n,!1,o)};dt.version="18.3.1-next-f1338f8080-20240426";function Lm(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Lm)}catch(e){console.error(e)}}Lm(),Lf.exports=dt;var Ty=Lf.exports,Mm,qd=Ty;Mm=qd.createRoot,qd.hydrateRoot;var Bm={exports:{}},zm={};/**
|
|
* @license React
|
|
* use-sync-external-store-with-selector.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 ii=R;function Ay(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Iy=typeof Object.is=="function"?Object.is:Ay,Ry=ii.useSyncExternalStore,Dy=ii.useRef,Fy=ii.useEffect,Ly=ii.useMemo,My=ii.useDebugValue;zm.useSyncExternalStoreWithSelector=function(e,t,n,o,i){var s=Dy(null);if(s.current===null){var a={hasValue:!1,value:null};s.current=a}else a=s.current;s=Ly(function(){function u(b){if(!c){if(c=!0,d=b,b=o(b),i!==void 0&&a.hasValue){var g=a.value;if(i(g,b))return p=g}return p=b}if(g=p,Iy(d,b))return g;var N=o(b);return i!==void 0&&i(g,N)?g:(d=b,p=N)}var c=!1,d,p,y=n===void 0?null:n;return[function(){return u(t())},y===null?void 0:function(){return u(y())}]},[t,n,o,i]);var l=Ry(e,s[0],s[1]);return Fy(function(){a.hasValue=!0,a.value=l},[l]),My(l),l};Bm.exports=zm;var By=Bm.exports,ot="default"in xl?I:xl,Vd=Symbol.for("react-redux-context"),Hd=typeof globalThis<"u"?globalThis:{};function zy(){if(!ot.createContext)return{};const e=Hd[Vd]??(Hd[Vd]=new Map);let t=e.get(ot.createContext);return t||(t=ot.createContext(null),e.set(ot.createContext,t)),t}var En=zy(),Wy=()=>{throw new Error("uSES not initialized!")};function Su(e=En){return function(){return ot.useContext(e)}}var Wm=Su(),$m=Wy,$y=e=>{$m=e},Uy=(e,t)=>e===t;function qy(e=En){const t=e===En?Wm:Su(e),n=(o,i={})=>{const{equalityFn:s=Uy,devModeChecks:a={}}=typeof i=="function"?{equalityFn:i}:i,{store:l,subscription:u,getServerState:c,stabilityCheck:d,identityFunctionCheck:p}=t();ot.useRef(!0);const y=ot.useCallback({[o.name](g){return o(g)}}[o.name],[o,d,a.stabilityCheck]),b=$m(u.addNestedSub,l.getState,c||l.getState,y,s);return ot.useDebugValue(b),b};return Object.assign(n,{withTypes:()=>n}),n}var tt=qy();function Vy(e){e()}function Hy(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Vy(()=>{let n=e;for(;n;)n.callback(),n=n.next})},get(){const n=[];let o=e;for(;o;)n.push(o),o=o.next;return n},subscribe(n){let o=!0;const i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!o||e===null||(o=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var Yd={notify(){},get:()=>[]};function Yy(e,t){let n,o=Yd,i=0,s=!1;function a(N){d();const C=o.subscribe(N);let h=!1;return()=>{h||(h=!0,C(),p())}}function l(){o.notify()}function u(){g.onStateChange&&g.onStateChange()}function c(){return s}function d(){i++,n||(n=e.subscribe(u),o=Hy())}function p(){i--,n&&i===0&&(n(),n=void 0,o.clear(),o=Yd)}function y(){s||(s=!0,d())}function b(){s&&(s=!1,p())}const g={addNestedSub:a,notifyNestedSubs:l,handleChangeWrapper:u,isSubscribed:c,trySubscribe:y,tryUnsubscribe:b,getListeners:()=>o};return g}var Ky=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Gy=typeof navigator<"u"&&navigator.product==="ReactNative",Qy=Ky||Gy?ot.useLayoutEffect:ot.useEffect;function Jy({store:e,context:t,children:n,serverState:o,stabilityCheck:i="once",identityFunctionCheck:s="once"}){const a=ot.useMemo(()=>{const c=Yy(e);return{store:e,subscription:c,getServerState:o?()=>o:void 0,stabilityCheck:i,identityFunctionCheck:s}},[e,o,i,s]),l=ot.useMemo(()=>e.getState(),[e]);Qy(()=>{const{subscription:c}=a;return c.onStateChange=c.notifyNestedSubs,c.trySubscribe(),l!==e.getState()&&c.notifyNestedSubs(),()=>{c.tryUnsubscribe(),c.onStateChange=void 0}},[a,l]);const u=t||En;return ot.createElement(u.Provider,{value:a},n)}var Xy=Jy;function Um(e=En){const t=e===En?Wm:Su(e),n=()=>{const{store:o}=t();return o};return Object.assign(n,{withTypes:()=>n}),n}var Zy=Um();function ex(e=En){const t=e===En?Zy:Um(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var Pt=ex();$y(By.useSyncExternalStoreWithSelector);function Ie(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var tx=typeof Symbol=="function"&&Symbol.observable||"@@observable",Kd=tx,cl=()=>Math.random().toString(36).substring(7).split("").join("."),nx={INIT:`@@redux/INIT${cl()}`,REPLACE:`@@redux/REPLACE${cl()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${cl()}`},Ps=nx;function ku(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function qm(e,t,n){if(typeof e!="function")throw new Error(Ie(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(Ie(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(Ie(1));return n(qm)(e,t)}let o=e,i=t,s=new Map,a=s,l=0,u=!1;function c(){a===s&&(a=new Map,s.forEach((C,h)=>{a.set(h,C)}))}function d(){if(u)throw new Error(Ie(3));return i}function p(C){if(typeof C!="function")throw new Error(Ie(4));if(u)throw new Error(Ie(5));let h=!0;c();const v=l++;return a.set(v,C),function(){if(h){if(u)throw new Error(Ie(6));h=!1,c(),a.delete(v),s=null}}}function y(C){if(!ku(C))throw new Error(Ie(7));if(typeof C.type>"u")throw new Error(Ie(8));if(typeof C.type!="string")throw new Error(Ie(17));if(u)throw new Error(Ie(9));try{u=!0,i=o(i,C)}finally{u=!1}return(s=a).forEach(v=>{v()}),C}function b(C){if(typeof C!="function")throw new Error(Ie(10));o=C,y({type:Ps.REPLACE})}function g(){const C=p;return{subscribe(h){if(typeof h!="object"||h===null)throw new Error(Ie(11));function v(){const x=h;x.next&&x.next(d())}return v(),{unsubscribe:C(v)}},[Kd](){return this}}}return y({type:Ps.INIT}),{dispatch:y,subscribe:p,getState:d,replaceReducer:b,[Kd]:g}}function rx(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:Ps.INIT})>"u")throw new Error(Ie(12));if(typeof n(void 0,{type:Ps.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ie(13))})}function ox(e){const t=Object.keys(e),n={};for(let s=0;s<t.length;s++){const a=t[s];typeof e[a]=="function"&&(n[a]=e[a])}const o=Object.keys(n);let i;try{rx(n)}catch(s){i=s}return function(a={},l){if(i)throw i;let u=!1;const c={};for(let d=0;d<o.length;d++){const p=o[d],y=n[p],b=a[p],g=y(b,l);if(typeof g>"u")throw l&&l.type,new Error(Ie(14));c[p]=g,u=u||g!==b}return u=u||o.length!==Object.keys(a).length,u?c:a}}function _s(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...o)=>t(n(...o)))}function ix(...e){return t=>(n,o)=>{const i=t(n,o);let s=()=>{throw new Error(Ie(15))};const a={getState:i.getState,dispatch:(u,...c)=>s(u,...c)},l=e.map(u=>u(a));return s=_s(...l)(i.dispatch),{...i,dispatch:s}}}function sx(e){return ku(e)&&"type"in e&&typeof e.type=="string"}var Vm=Symbol.for("immer-nothing"),Gd=Symbol.for("immer-draftable"),ct=Symbol.for("immer-state");function bt(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Lr=Object.getPrototypeOf;function Zn(e){return!!e&&!!e[ct]}function Jt(e){var t;return e?Hm(e)||Array.isArray(e)||!!e[Gd]||!!((t=e.constructor)!=null&&t[Gd])||ra(e)||oa(e):!1}var ax=Object.prototype.constructor.toString();function Hm(e){if(!e||typeof e!="object")return!1;const t=Lr(e);if(t===null)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object?!0:typeof n=="function"&&Function.toString.call(n)===ax}function Os(e,t){na(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,o)=>t(o,n,e))}function na(e){const t=e[ct];return t?t.type_:Array.isArray(e)?1:ra(e)?2:oa(e)?3:0}function fc(e,t){return na(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Ym(e,t,n){const o=na(e);o===2?e.set(t,n):o===3?e.add(n):e[t]=n}function lx(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function ra(e){return e instanceof Map}function oa(e){return e instanceof Set}function Mn(e){return e.copy_||e.base_}function pc(e,t){if(ra(e))return new Map(e);if(oa(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=Hm(e);if(t===!0||t==="class_only"&&!n){const o=Object.getOwnPropertyDescriptors(e);delete o[ct];let i=Reflect.ownKeys(o);for(let s=0;s<i.length;s++){const a=i[s],l=o[a];l.writable===!1&&(l.writable=!0,l.configurable=!0),(l.get||l.set)&&(o[a]={configurable:!0,writable:!0,enumerable:l.enumerable,value:e[a]})}return Object.create(Lr(e),o)}else{const o=Lr(e);if(o!==null&&n)return{...e};const i=Object.create(o);return Object.assign(i,e)}}function Eu(e,t=!1){return ia(e)||Zn(e)||!Jt(e)||(na(e)>1&&(e.set=e.add=e.clear=e.delete=cx),Object.freeze(e),t&&Object.entries(e).forEach(([n,o])=>Eu(o,!0))),e}function cx(){bt(2)}function ia(e){return Object.isFrozen(e)}var ux={};function er(e){const t=ux[e];return t||bt(0,e),t}var Yo;function Km(){return Yo}function dx(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Qd(e,t){t&&(er("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function mc(e){hc(e),e.drafts_.forEach(fx),e.drafts_=null}function hc(e){e===Yo&&(Yo=e.parent_)}function Jd(e){return Yo=dx(Yo,e)}function fx(e){const t=e[ct];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Xd(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[ct].modified_&&(mc(t),bt(4)),Jt(e)&&(e=Ts(t,e),t.parent_||As(t,e)),t.patches_&&er("Patches").generateReplacementPatches_(n[ct].base_,e,t.patches_,t.inversePatches_)):e=Ts(t,n,[]),mc(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Vm?e:void 0}function Ts(e,t,n){if(ia(t))return t;const o=t[ct];if(!o)return Os(t,(i,s)=>Zd(e,o,t,i,s,n)),t;if(o.scope_!==e)return t;if(!o.modified_)return As(e,o.base_,!0),o.base_;if(!o.finalized_){o.finalized_=!0,o.scope_.unfinalizedDrafts_--;const i=o.copy_;let s=i,a=!1;o.type_===3&&(s=new Set(i),i.clear(),a=!0),Os(s,(l,u)=>Zd(e,o,i,l,u,n,a)),As(e,i,!1),n&&e.patches_&&er("Patches").generatePatches_(o,n,e.patches_,e.inversePatches_)}return o.copy_}function Zd(e,t,n,o,i,s,a){if(Zn(i)){const l=s&&t&&t.type_!==3&&!fc(t.assigned_,o)?s.concat(o):void 0,u=Ts(e,i,l);if(Ym(n,o,u),Zn(u))e.canAutoFreeze_=!1;else return}else a&&n.add(i);if(Jt(i)&&!ia(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Ts(e,i),(!t||!t.scope_.parent_)&&typeof o!="symbol"&&Object.prototype.propertyIsEnumerable.call(n,o)&&As(e,i)}}function As(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Eu(t,n)}function px(e,t){const n=Array.isArray(e),o={type_:n?1:0,scope_:t?t.scope_:Km(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=o,s=Pu;n&&(i=[o],s=Ko);const{revoke:a,proxy:l}=Proxy.revocable(i,s);return o.draft_=l,o.revoke_=a,l}var Pu={get(e,t){if(t===ct)return e;const n=Mn(e);if(!fc(n,t))return mx(e,n,t);const o=n[t];return e.finalized_||!Jt(o)?o:o===ul(e.base_,t)?(dl(e),e.copy_[t]=gc(o,e)):o},has(e,t){return t in Mn(e)},ownKeys(e){return Reflect.ownKeys(Mn(e))},set(e,t,n){const o=Gm(Mn(e),t);if(o!=null&&o.set)return o.set.call(e.draft_,n),!0;if(!e.modified_){const i=ul(Mn(e),t),s=i==null?void 0:i[ct];if(s&&s.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(lx(n,i)&&(n!==void 0||fc(e.base_,t)))return!0;dl(e),vc(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return ul(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,dl(e),vc(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=Mn(e),o=Reflect.getOwnPropertyDescriptor(n,t);return o&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:o.enumerable,value:n[t]}},defineProperty(){bt(11)},getPrototypeOf(e){return Lr(e.base_)},setPrototypeOf(){bt(12)}},Ko={};Os(Pu,(e,t)=>{Ko[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});Ko.deleteProperty=function(e,t){return Ko.set.call(this,e,t,void 0)};Ko.set=function(e,t,n){return Pu.set.call(this,e[0],t,n,e[0])};function ul(e,t){const n=e[ct];return(n?Mn(n):e)[t]}function mx(e,t,n){var i;const o=Gm(t,n);return o?"value"in o?o.value:(i=o.get)==null?void 0:i.call(e.draft_):void 0}function Gm(e,t){if(!(t in e))return;let n=Lr(e);for(;n;){const o=Object.getOwnPropertyDescriptor(n,t);if(o)return o;n=Lr(n)}}function vc(e){e.modified_||(e.modified_=!0,e.parent_&&vc(e.parent_))}function dl(e){e.copy_||(e.copy_=pc(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var hx=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,o)=>{if(typeof t=="function"&&typeof n!="function"){const s=n;n=t;const a=this;return function(u=s,...c){return a.produce(u,d=>n.call(this,d,...c))}}typeof n!="function"&&bt(6),o!==void 0&&typeof o!="function"&&bt(7);let i;if(Jt(t)){const s=Jd(this),a=gc(t,void 0);let l=!0;try{i=n(a),l=!1}finally{l?mc(s):hc(s)}return Qd(s,o),Xd(i,s)}else if(!t||typeof t!="object"){if(i=n(t),i===void 0&&(i=t),i===Vm&&(i=void 0),this.autoFreeze_&&Eu(i,!0),o){const s=[],a=[];er("Patches").generateReplacementPatches_(t,i,s,a),o(s,a)}return i}else bt(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(a,...l)=>this.produceWithPatches(a,u=>t(u,...l));let o,i;return[this.produce(t,n,(a,l)=>{o=a,i=l}),o,i]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){Jt(e)||bt(8),Zn(e)&&(e=vx(e));const t=Jd(this),n=gc(e,void 0);return n[ct].isManual_=!0,hc(t),n}finishDraft(e,t){const n=e&&e[ct];(!n||!n.isManual_)&&bt(9);const{scope_:o}=n;return Qd(o,t),Xd(void 0,o)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const i=t[n];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}n>-1&&(t=t.slice(n+1));const o=er("Patches").applyPatches_;return Zn(e)?o(e,t):this.produce(e,i=>o(i,t))}};function gc(e,t){const n=ra(e)?er("MapSet").proxyMap_(e,t):oa(e)?er("MapSet").proxySet_(e,t):px(e,t);return(t?t.scope_:Km()).drafts_.push(n),n}function vx(e){return Zn(e)||bt(10,e),Qm(e)}function Qm(e){if(!Jt(e)||ia(e))return e;const t=e[ct];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=pc(e,t.scope_.immer_.useStrictShallowCopy_)}else n=pc(e,!0);return Os(n,(o,i)=>{Ym(n,o,Qm(i))}),t&&(t.finalized_=!1),n}var ut=new hx,Jm=ut.produce;ut.produceWithPatches.bind(ut);ut.setAutoFreeze.bind(ut);ut.setUseStrictShallowCopy.bind(ut);ut.applyPatches.bind(ut);ut.createDraft.bind(ut);ut.finishDraft.bind(ut);function Xm(e){return({dispatch:n,getState:o})=>i=>s=>typeof s=="function"?s(n,o,e):i(s)}var gx=Xm(),yx=Xm,xx=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?_s:_s.apply(null,arguments)},jx=e=>e&&typeof e.match=="function";function ko(e,t){function n(...o){if(t){let i=t(...o);if(!i)throw new Error(kt(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:o[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=o=>sx(o)&&o.type===e,n}var Zm=class vo extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,vo.prototype)}static get[Symbol.species](){return vo}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new vo(...t[0].concat(this)):new vo(...t.concat(this))}};function ef(e){return Jt(e)?Jm(e,()=>{}):e}function tf(e,t,n){if(e.has(t)){let i=e.get(t);return n.update&&(i=n.update(i,t,e),e.set(t,i)),i}if(!n.insert)throw new Error(kt(10));const o=n.insert(t,e);return e.set(t,o),o}function Nx(e){return typeof e=="boolean"}var Cx=()=>function(t){const{thunk:n=!0,immutableCheck:o=!0,serializableCheck:i=!0,actionCreatorCheck:s=!0}=t??{};let a=new Zm;return n&&(Nx(n)?a.push(gx):a.push(yx(n.extraArgument))),a},bx="RTK_autoBatch",eh=e=>t=>{setTimeout(t,e)},wx=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:eh(10),Sx=(e={type:"raf"})=>t=>(...n)=>{const o=t(...n);let i=!0,s=!1,a=!1;const l=new Set,u=e.type==="tick"?queueMicrotask:e.type==="raf"?wx:e.type==="callback"?e.queueNotification:eh(e.timeout),c=()=>{a=!1,s&&(s=!1,l.forEach(d=>d()))};return Object.assign({},o,{subscribe(d){const p=()=>i&&d(),y=o.subscribe(p);return l.add(d),()=>{y(),l.delete(d)}},dispatch(d){var p;try{return i=!((p=d==null?void 0:d.meta)!=null&&p[bx]),s=!i,s&&(a||(a=!0,u(c))),o.dispatch(d)}finally{i=!0}}})},kx=e=>function(n){const{autoBatch:o=!0}=n??{};let i=new Zm(e);return o&&i.push(Sx(typeof o=="object"?o:void 0)),i};function Ex(e){const t=Cx(),{reducer:n=void 0,middleware:o,devTools:i=!0,preloadedState:s=void 0,enhancers:a=void 0}=e||{};let l;if(typeof n=="function")l=n;else if(ku(n))l=ox(n);else throw new Error(kt(1));let u;typeof o=="function"?u=o(t):u=t();let c=_s;i&&(c=xx({trace:!1,...typeof i=="object"&&i}));const d=ix(...u),p=kx(d);let y=typeof a=="function"?a(p):p();const b=c(...y);return qm(l,s,b)}function th(e){const t={},n=[];let o;const i={addCase(s,a){const l=typeof s=="string"?s:s.type;if(!l)throw new Error(kt(28));if(l in t)throw new Error(kt(29));return t[l]=a,i},addMatcher(s,a){return n.push({matcher:s,reducer:a}),i},addDefaultCase(s){return o=s,i}};return e(i),[t,n,o]}function Px(e){return typeof e=="function"}function _x(e,t){let[n,o,i]=th(t),s;if(Px(e))s=()=>ef(e());else{const l=ef(e);s=()=>l}function a(l=s(),u){let c=[n[u.type],...o.filter(({matcher:d})=>d(u)).map(({reducer:d})=>d)];return c.filter(d=>!!d).length===0&&(c=[i]),c.reduce((d,p)=>{if(p)if(Zn(d)){const b=p(d,u);return b===void 0?d:b}else{if(Jt(d))return Jm(d,y=>p(y,u));{const y=p(d,u);if(y===void 0){if(d===null)return d;throw new Error(kt(9))}return y}}return d},l)}return a.getInitialState=s,a}var Ox=(e,t)=>jx(e)?e.match(t):e(t);function Tx(...e){return t=>e.some(n=>Ox(n,t))}var Ax="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Ix=(e=21)=>{let t="",n=e;for(;n--;)t+=Ax[Math.random()*64|0];return t},Rx=["name","message","stack","code"],fl=class{constructor(e,t){Fa(this,"_type");this.payload=e,this.meta=t}},nf=class{constructor(e,t){Fa(this,"_type");this.payload=e,this.meta=t}},Dx=e=>{if(typeof e=="object"&&e!==null){const t={};for(const n of Rx)typeof e[n]=="string"&&(t[n]=e[n]);return t}return{message:String(e)}},Mt=(()=>{function e(t,n,o){const i=ko(t+"/fulfilled",(u,c,d,p)=>({payload:u,meta:{...p||{},arg:d,requestId:c,requestStatus:"fulfilled"}})),s=ko(t+"/pending",(u,c,d)=>({payload:void 0,meta:{...d||{},arg:c,requestId:u,requestStatus:"pending"}})),a=ko(t+"/rejected",(u,c,d,p,y)=>({payload:p,error:(o&&o.serializeError||Dx)(u||"Rejected"),meta:{...y||{},arg:d,requestId:c,rejectedWithValue:!!p,requestStatus:"rejected",aborted:(u==null?void 0:u.name)==="AbortError",condition:(u==null?void 0:u.name)==="ConditionError"}}));function l(u){return(c,d,p)=>{const y=o!=null&&o.idGenerator?o.idGenerator(u):Ix(),b=new AbortController;let g,N;function C(v){N=v,b.abort()}const h=async function(){var x,E;let v;try{let _=(x=o==null?void 0:o.condition)==null?void 0:x.call(o,u,{getState:d,extra:p});if(Lx(_)&&(_=await _),_===!1||b.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const O=new Promise((P,M)=>{g=()=>{M({name:"AbortError",message:N||"Aborted"})},b.signal.addEventListener("abort",g)});c(s(y,u,(E=o==null?void 0:o.getPendingMeta)==null?void 0:E.call(o,{requestId:y,arg:u},{getState:d,extra:p}))),v=await Promise.race([O,Promise.resolve(n(u,{dispatch:c,getState:d,extra:p,requestId:y,signal:b.signal,abort:C,rejectWithValue:(P,M)=>new fl(P,M),fulfillWithValue:(P,M)=>new nf(P,M)})).then(P=>{if(P instanceof fl)throw P;return P instanceof nf?i(P.payload,y,u,P.meta):i(P,y,u)})])}catch(_){v=_ instanceof fl?a(null,y,u,_.payload,_.meta):a(_,y,u)}finally{g&&b.signal.removeEventListener("abort",g)}return o&&!o.dispatchConditionRejection&&a.match(v)&&v.meta.condition||c(v),v}();return Object.assign(h,{abort:C,requestId:y,arg:u,unwrap(){return h.then(Fx)}})}}return Object.assign(l,{pending:s,rejected:a,fulfilled:i,settled:Tx(a,i),typePrefix:t})}return e.withTypes=()=>e,e})();function Fx(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Lx(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Mx=Symbol.for("rtk-slice-createasyncthunk");function Bx(e,t){return`${e}/${t}`}function zx({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[Mx];return function(i){const{name:s,reducerPath:a=s}=i;if(!s)throw new Error(kt(11));typeof process<"u";const l=(typeof i.reducers=="function"?i.reducers($x()):i.reducers)||{},u=Object.keys(l),c={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},d={addCase(m,x){const E=typeof m=="string"?m:m.type;if(!E)throw new Error(kt(12));if(E in c.sliceCaseReducersByType)throw new Error(kt(13));return c.sliceCaseReducersByType[E]=x,d},addMatcher(m,x){return c.sliceMatchers.push({matcher:m,reducer:x}),d},exposeAction(m,x){return c.actionCreators[m]=x,d},exposeCaseReducer(m,x){return c.sliceCaseReducersByName[m]=x,d}};u.forEach(m=>{const x=l[m],E={reducerName:m,type:Bx(s,m),createNotation:typeof i.reducers=="function"};qx(x)?Hx(E,x,d,t):Ux(E,x,d)});function p(){const[m={},x=[],E=void 0]=typeof i.extraReducers=="function"?th(i.extraReducers):[i.extraReducers],_={...m,...c.sliceCaseReducersByType};return _x(i.initialState,O=>{for(let P in _)O.addCase(P,_[P]);for(let P of c.sliceMatchers)O.addMatcher(P.matcher,P.reducer);for(let P of x)O.addMatcher(P.matcher,P.reducer);E&&O.addDefaultCase(E)})}const y=m=>m,b=new Map;let g;function N(m,x){return g||(g=p()),g(m,x)}function C(){return g||(g=p()),g.getInitialState()}function h(m,x=!1){function E(O){let P=O[m];return typeof P>"u"&&x&&(P=C()),P}function _(O=y){const P=tf(b,x,{insert:()=>new WeakMap});return tf(P,O,{insert:()=>{const M={};for(const[W,H]of Object.entries(i.selectors??{}))M[W]=Wx(H,O,C,x);return M}})}return{reducerPath:m,getSelectors:_,get selectors(){return _(E)},selectSlice:E}}const v={name:s,reducer:N,actions:c.actionCreators,caseReducers:c.sliceCaseReducersByName,getInitialState:C,...h(a),injectInto(m,{reducerPath:x,...E}={}){const _=x??a;return m.inject({reducerPath:_,reducer:N},E),{...v,...h(_,!0)}}};return v}}function Wx(e,t,n,o){function i(s,...a){let l=t(s);return typeof l>"u"&&o&&(l=n()),e(l,...a)}return i.unwrapped=e,i}var _u=zx();function $x(){function e(t,n){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...n}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...n){return t(...n)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,n){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:n}},asyncThunk:e}}function Ux({type:e,reducerName:t,createNotation:n},o,i){let s,a;if("reducer"in o){if(n&&!Vx(o))throw new Error(kt(17));s=o.reducer,a=o.prepare}else s=o;i.addCase(e,s).exposeCaseReducer(t,s).exposeAction(t,a?ko(e,a):ko(e))}function qx(e){return e._reducerDefinitionType==="asyncThunk"}function Vx(e){return e._reducerDefinitionType==="reducerWithPrepare"}function Hx({type:e,reducerName:t},n,o,i){if(!i)throw new Error(kt(18));const{payloadCreator:s,fulfilled:a,pending:l,rejected:u,settled:c,options:d}=n,p=i(e,s,d);o.exposeAction(t,p),a&&o.addCase(p.fulfilled,a),l&&o.addCase(p.pending,l),u&&o.addCase(p.rejected,u),c&&o.addMatcher(p.settled,c),o.exposeCaseReducer(t,{fulfilled:a||Oi,pending:l||Oi,rejected:u||Oi,settled:c||Oi})}function Oi(){}function kt(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}function nh(e,t){return function(){return e.apply(t,arguments)}}const{toString:Yx}=Object.prototype,{getPrototypeOf:Ou}=Object,sa=(e=>t=>{const n=Yx.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),_t=e=>(e=e.toLowerCase(),t=>sa(t)===e),aa=e=>t=>typeof t===e,{isArray:$r}=Array,Go=aa("undefined");function Kx(e){return e!==null&&!Go(e)&&e.constructor!==null&&!Go(e.constructor)&&at(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const rh=_t("ArrayBuffer");function Gx(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&rh(e.buffer),t}const Qx=aa("string"),at=aa("function"),oh=aa("number"),la=e=>e!==null&&typeof e=="object",Jx=e=>e===!0||e===!1,Vi=e=>{if(sa(e)!=="object")return!1;const t=Ou(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Xx=_t("Date"),Zx=_t("File"),e1=_t("Blob"),t1=_t("FileList"),n1=e=>la(e)&&at(e.pipe),r1=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||at(e.append)&&((t=sa(e))==="formdata"||t==="object"&&at(e.toString)&&e.toString()==="[object FormData]"))},o1=_t("URLSearchParams"),[i1,s1,a1,l1]=["ReadableStream","Request","Response","Headers"].map(_t),c1=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function si(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let o,i;if(typeof e!="object"&&(e=[e]),$r(e))for(o=0,i=e.length;o<i;o++)t.call(null,e[o],o,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),a=s.length;let l;for(o=0;o<a;o++)l=s[o],t.call(null,e[l],l,e)}}function ih(e,t){t=t.toLowerCase();const n=Object.keys(e);let o=n.length,i;for(;o-- >0;)if(i=n[o],t===i.toLowerCase())return i;return null}const Un=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,sh=e=>!Go(e)&&e!==Un;function yc(){const{caseless:e}=sh(this)&&this||{},t={},n=(o,i)=>{const s=e&&ih(t,i)||i;Vi(t[s])&&Vi(o)?t[s]=yc(t[s],o):Vi(o)?t[s]=yc({},o):$r(o)?t[s]=o.slice():t[s]=o};for(let o=0,i=arguments.length;o<i;o++)arguments[o]&&si(arguments[o],n);return t}const u1=(e,t,n,{allOwnKeys:o}={})=>(si(t,(i,s)=>{n&&at(i)?e[s]=nh(i,n):e[s]=i},{allOwnKeys:o}),e),d1=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),f1=(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},p1=(e,t,n,o)=>{let i,s,a;const l={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)a=i[s],(!o||o(a,e,t))&&!l[a]&&(t[a]=e[a],l[a]=!0);e=n!==!1&&Ou(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},m1=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const o=e.indexOf(t,n);return o!==-1&&o===n},h1=e=>{if(!e)return null;if($r(e))return e;let t=e.length;if(!oh(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},v1=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ou(Uint8Array)),g1=(e,t)=>{const o=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=o.next())&&!i.done;){const s=i.value;t.call(e,s[0],s[1])}},y1=(e,t)=>{let n;const o=[];for(;(n=e.exec(t))!==null;)o.push(n);return o},x1=_t("HTMLFormElement"),j1=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,o,i){return o.toUpperCase()+i}),rf=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),N1=_t("RegExp"),ah=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};si(n,(i,s)=>{let a;(a=t(i,s,e))!==!1&&(o[s]=a||i)}),Object.defineProperties(e,o)},C1=e=>{ah(e,(t,n)=>{if(at(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const o=e[n];if(at(o)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},b1=(e,t)=>{const n={},o=i=>{i.forEach(s=>{n[s]=!0})};return $r(e)?o(e):o(String(e).split(t)),n},w1=()=>{},S1=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,pl="abcdefghijklmnopqrstuvwxyz",of="0123456789",lh={DIGIT:of,ALPHA:pl,ALPHA_DIGIT:pl+pl.toUpperCase()+of},k1=(e=16,t=lh.ALPHA_DIGIT)=>{let n="";const{length:o}=t;for(;e--;)n+=t[Math.random()*o|0];return n};function E1(e){return!!(e&&at(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const P1=e=>{const t=new Array(10),n=(o,i)=>{if(la(o)){if(t.indexOf(o)>=0)return;if(!("toJSON"in o)){t[i]=o;const s=$r(o)?[]:{};return si(o,(a,l)=>{const u=n(a,i+1);!Go(u)&&(s[l]=u)}),t[i]=void 0,s}}return o};return n(e,0)},_1=_t("AsyncFunction"),O1=e=>e&&(la(e)||at(e))&&at(e.then)&&at(e.catch),ch=((e,t)=>e?setImmediate:t?((n,o)=>(Un.addEventListener("message",({source:i,data:s})=>{i===Un&&s===n&&o.length&&o.shift()()},!1),i=>{o.push(i),Un.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",at(Un.postMessage)),T1=typeof queueMicrotask<"u"?queueMicrotask.bind(Un):typeof process<"u"&&process.nextTick||ch,z={isArray:$r,isArrayBuffer:rh,isBuffer:Kx,isFormData:r1,isArrayBufferView:Gx,isString:Qx,isNumber:oh,isBoolean:Jx,isObject:la,isPlainObject:Vi,isReadableStream:i1,isRequest:s1,isResponse:a1,isHeaders:l1,isUndefined:Go,isDate:Xx,isFile:Zx,isBlob:e1,isRegExp:N1,isFunction:at,isStream:n1,isURLSearchParams:o1,isTypedArray:v1,isFileList:t1,forEach:si,merge:yc,extend:u1,trim:c1,stripBOM:d1,inherits:f1,toFlatObject:p1,kindOf:sa,kindOfTest:_t,endsWith:m1,toArray:h1,forEachEntry:g1,matchAll:y1,isHTMLForm:x1,hasOwnProperty:rf,hasOwnProp:rf,reduceDescriptors:ah,freezeMethods:C1,toObjectSet:b1,toCamelCase:j1,noop:w1,toFiniteNumber:S1,findKey:ih,global:Un,isContextDefined:sh,ALPHABET:lh,generateString:k1,isSpecCompliantForm:E1,toJSONObject:P1,isAsyncFn:_1,isThenable:O1,setImmediate:ch,asap:T1};function oe(e,t,n,o,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),o&&(this.request=o),i&&(this.response=i,this.status=i.status?i.status:null)}z.inherits(oe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:z.toJSONObject(this.config),code:this.code,status:this.status}}});const uh=oe.prototype,dh={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{dh[e]={value:e}});Object.defineProperties(oe,dh);Object.defineProperty(uh,"isAxiosError",{value:!0});oe.from=(e,t,n,o,i,s)=>{const a=Object.create(uh);return z.toFlatObject(e,a,function(u){return u!==Error.prototype},l=>l!=="isAxiosError"),oe.call(a,e.message,t,n,o,i),a.cause=e,a.name=e.name,s&&Object.assign(a,s),a};const A1=null;function xc(e){return z.isPlainObject(e)||z.isArray(e)}function fh(e){return z.endsWith(e,"[]")?e.slice(0,-2):e}function sf(e,t,n){return e?e.concat(t).map(function(i,s){return i=fh(i),!n&&s?"["+i+"]":i}).join(n?".":""):t}function I1(e){return z.isArray(e)&&!e.some(xc)}const R1=z.toFlatObject(z,{},null,function(t){return/^is[A-Z]/.test(t)});function ca(e,t,n){if(!z.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=z.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(N,C){return!z.isUndefined(C[N])});const o=n.metaTokens,i=n.visitor||d,s=n.dots,a=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&z.isSpecCompliantForm(t);if(!z.isFunction(i))throw new TypeError("visitor must be a function");function c(g){if(g===null)return"";if(z.isDate(g))return g.toISOString();if(!u&&z.isBlob(g))throw new oe("Blob is not supported. Use a Buffer instead.");return z.isArrayBuffer(g)||z.isTypedArray(g)?u&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function d(g,N,C){let h=g;if(g&&!C&&typeof g=="object"){if(z.endsWith(N,"{}"))N=o?N:N.slice(0,-2),g=JSON.stringify(g);else if(z.isArray(g)&&I1(g)||(z.isFileList(g)||z.endsWith(N,"[]"))&&(h=z.toArray(g)))return N=fh(N),h.forEach(function(m,x){!(z.isUndefined(m)||m===null)&&t.append(a===!0?sf([N],x,s):a===null?N:N+"[]",c(m))}),!1}return xc(g)?!0:(t.append(sf(C,N,s),c(g)),!1)}const p=[],y=Object.assign(R1,{defaultVisitor:d,convertValue:c,isVisitable:xc});function b(g,N){if(!z.isUndefined(g)){if(p.indexOf(g)!==-1)throw Error("Circular reference detected in "+N.join("."));p.push(g),z.forEach(g,function(h,v){(!(z.isUndefined(h)||h===null)&&i.call(t,h,z.isString(v)?v.trim():v,N,y))===!0&&b(h,N?N.concat(v):[v])}),p.pop()}}if(!z.isObject(e))throw new TypeError("data must be an object");return b(e),t}function af(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function Tu(e,t){this._pairs=[],e&&ca(e,this,t)}const ph=Tu.prototype;ph.append=function(t,n){this._pairs.push([t,n])};ph.toString=function(t){const n=t?function(o){return t.call(this,o,af)}:af;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function D1(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function mh(e,t,n){if(!t)return e;const o=n&&n.encode||D1,i=n&&n.serialize;let s;if(i?s=i(t,n):s=z.isURLSearchParams(t)?t.toString():new Tu(t,n).toString(o),s){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class lf{constructor(){this.handlers=[]}use(t,n,o){return this.handlers.push({fulfilled:t,rejected:n,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){z.forEach(this.handlers,function(o){o!==null&&t(o)})}}const hh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},F1=typeof URLSearchParams<"u"?URLSearchParams:Tu,L1=typeof FormData<"u"?FormData:null,M1=typeof Blob<"u"?Blob:null,B1={isBrowser:!0,classes:{URLSearchParams:F1,FormData:L1,Blob:M1},protocols:["http","https","file","blob","url","data"]},Au=typeof window<"u"&&typeof document<"u",jc=typeof navigator=="object"&&navigator||void 0,z1=Au&&(!jc||["ReactNative","NativeScript","NS"].indexOf(jc.product)<0),W1=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",$1=Au&&window.location.href||"http://localhost",U1=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Au,hasStandardBrowserEnv:z1,hasStandardBrowserWebWorkerEnv:W1,navigator:jc,origin:$1},Symbol.toStringTag,{value:"Module"})),Ze={...U1,...B1};function q1(e,t){return ca(e,new Ze.classes.URLSearchParams,Object.assign({visitor:function(n,o,i,s){return Ze.isNode&&z.isBuffer(n)?(this.append(o,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function V1(e){return z.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function H1(e){const t={},n=Object.keys(e);let o;const i=n.length;let s;for(o=0;o<i;o++)s=n[o],t[s]=e[s];return t}function vh(e){function t(n,o,i,s){let a=n[s++];if(a==="__proto__")return!0;const l=Number.isFinite(+a),u=s>=n.length;return a=!a&&z.isArray(i)?i.length:a,u?(z.hasOwnProp(i,a)?i[a]=[i[a],o]:i[a]=o,!l):((!i[a]||!z.isObject(i[a]))&&(i[a]=[]),t(n,o,i[a],s)&&z.isArray(i[a])&&(i[a]=H1(i[a])),!l)}if(z.isFormData(e)&&z.isFunction(e.entries)){const n={};return z.forEachEntry(e,(o,i)=>{t(V1(o),i,n,0)}),n}return null}function Y1(e,t,n){if(z.isString(e))try{return(t||JSON.parse)(e),z.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(n||JSON.stringify)(e)}const ai={transitional:hh,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const o=n.getContentType()||"",i=o.indexOf("application/json")>-1,s=z.isObject(t);if(s&&z.isHTMLForm(t)&&(t=new FormData(t)),z.isFormData(t))return i?JSON.stringify(vh(t)):t;if(z.isArrayBuffer(t)||z.isBuffer(t)||z.isStream(t)||z.isFile(t)||z.isBlob(t)||z.isReadableStream(t))return t;if(z.isArrayBufferView(t))return t.buffer;if(z.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(s){if(o.indexOf("application/x-www-form-urlencoded")>-1)return q1(t,this.formSerializer).toString();if((l=z.isFileList(t))||o.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return ca(l?{"files[]":t}:t,u&&new u,this.formSerializer)}}return s||i?(n.setContentType("application/json",!1),Y1(t)):t}],transformResponse:[function(t){const n=this.transitional||ai.transitional,o=n&&n.forcedJSONParsing,i=this.responseType==="json";if(z.isResponse(t)||z.isReadableStream(t))return t;if(t&&z.isString(t)&&(o&&!this.responseType||i)){const a=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(l){if(a)throw l.name==="SyntaxError"?oe.from(l,oe.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ze.classes.FormData,Blob:Ze.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};z.forEach(["delete","get","head","post","put","patch"],e=>{ai.headers[e]={}});const K1=z.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),G1=e=>{const t={};let n,o,i;return e&&e.split(`
|
|
`).forEach(function(a){i=a.indexOf(":"),n=a.substring(0,i).trim().toLowerCase(),o=a.substring(i+1).trim(),!(!n||t[n]&&K1[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},cf=Symbol("internals");function uo(e){return e&&String(e).trim().toLowerCase()}function Hi(e){return e===!1||e==null?e:z.isArray(e)?e.map(Hi):String(e)}function Q1(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}const J1=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ml(e,t,n,o,i){if(z.isFunction(o))return o.call(this,t,n);if(i&&(t=n),!!z.isString(t)){if(z.isString(o))return t.indexOf(o)!==-1;if(z.isRegExp(o))return o.test(t)}}function X1(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function Z1(e,t){const n=z.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+n,{value:function(i,s,a){return this[o].call(this,t,i,s,a)},configurable:!0})})}class et{constructor(t){t&&this.set(t)}set(t,n,o){const i=this;function s(l,u,c){const d=uo(u);if(!d)throw new Error("header name must be a non-empty string");const p=z.findKey(i,d);(!p||i[p]===void 0||c===!0||c===void 0&&i[p]!==!1)&&(i[p||u]=Hi(l))}const a=(l,u)=>z.forEach(l,(c,d)=>s(c,d,u));if(z.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(z.isString(t)&&(t=t.trim())&&!J1(t))a(G1(t),n);else if(z.isHeaders(t))for(const[l,u]of t.entries())s(u,l,o);else t!=null&&s(n,t,o);return this}get(t,n){if(t=uo(t),t){const o=z.findKey(this,t);if(o){const i=this[o];if(!n)return i;if(n===!0)return Q1(i);if(z.isFunction(n))return n.call(this,i,o);if(z.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=uo(t),t){const o=z.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||ml(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let i=!1;function s(a){if(a=uo(a),a){const l=z.findKey(o,a);l&&(!n||ml(o,o[l],l,n))&&(delete o[l],i=!0)}}return z.isArray(t)?t.forEach(s):s(t),i}clear(t){const n=Object.keys(this);let o=n.length,i=!1;for(;o--;){const s=n[o];(!t||ml(this,this[s],s,t,!0))&&(delete this[s],i=!0)}return i}normalize(t){const n=this,o={};return z.forEach(this,(i,s)=>{const a=z.findKey(o,s);if(a){n[a]=Hi(i),delete n[s];return}const l=t?X1(s):String(s).trim();l!==s&&delete n[s],n[l]=Hi(i),o[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return z.forEach(this,(o,i)=>{o!=null&&o!==!1&&(n[i]=t&&z.isArray(o)?o.join(", "):o)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const o=new this(t);return n.forEach(i=>o.set(i)),o}static accessor(t){const o=(this[cf]=this[cf]={accessors:{}}).accessors,i=this.prototype;function s(a){const l=uo(a);o[l]||(Z1(i,a),o[l]=!0)}return z.isArray(t)?t.forEach(s):s(t),this}}et.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);z.reduceDescriptors(et.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[n]=o}}});z.freezeMethods(et);function hl(e,t){const n=this||ai,o=t||n,i=et.from(o.headers);let s=o.data;return z.forEach(e,function(l){s=l.call(n,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function gh(e){return!!(e&&e.__CANCEL__)}function Ur(e,t,n){oe.call(this,e??"canceled",oe.ERR_CANCELED,t,n),this.name="CanceledError"}z.inherits(Ur,oe,{__CANCEL__:!0});function yh(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new oe("Request failed with status code "+n.status,[oe.ERR_BAD_REQUEST,oe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function ej(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function tj(e,t){e=e||10;const n=new Array(e),o=new Array(e);let i=0,s=0,a;return t=t!==void 0?t:1e3,function(u){const c=Date.now(),d=o[s];a||(a=c),n[i]=u,o[i]=c;let p=s,y=0;for(;p!==i;)y+=n[p++],p=p%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),c-a<t)return;const b=d&&c-d;return b?Math.round(y*1e3/b):void 0}}function nj(e,t){let n=0,o=1e3/t,i,s;const a=(c,d=Date.now())=>{n=d,i=null,s&&(clearTimeout(s),s=null),e.apply(null,c)};return[(...c)=>{const d=Date.now(),p=d-n;p>=o?a(c,d):(i=c,s||(s=setTimeout(()=>{s=null,a(i)},o-p)))},()=>i&&a(i)]}const Is=(e,t,n=3)=>{let o=0;const i=tj(50,250);return nj(s=>{const a=s.loaded,l=s.lengthComputable?s.total:void 0,u=a-o,c=i(u),d=a<=l;o=a;const p={loaded:a,total:l,progress:l?a/l:void 0,bytes:u,rate:c||void 0,estimated:c&&l&&d?(l-a)/c:void 0,event:s,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(p)},n)},uf=(e,t)=>{const n=e!=null;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]},df=e=>(...t)=>z.asap(()=>e(...t)),rj=Ze.hasStandardBrowserEnv?function(){const t=Ze.navigator&&/(msie|trident)/i.test(Ze.navigator.userAgent),n=document.createElement("a");let o;function i(s){let a=s;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return o=i(window.location.href),function(a){const l=z.isString(a)?i(a):a;return l.protocol===o.protocol&&l.host===o.host}}():function(){return function(){return!0}}(),oj=Ze.hasStandardBrowserEnv?{write(e,t,n,o,i,s){const a=[e+"="+encodeURIComponent(t)];z.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),z.isString(o)&&a.push("path="+o),z.isString(i)&&a.push("domain="+i),s===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function ij(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function sj(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function xh(e,t){return e&&!ij(t)?sj(e,t):t}const ff=e=>e instanceof et?{...e}:e;function tr(e,t){t=t||{};const n={};function o(c,d,p){return z.isPlainObject(c)&&z.isPlainObject(d)?z.merge.call({caseless:p},c,d):z.isPlainObject(d)?z.merge({},d):z.isArray(d)?d.slice():d}function i(c,d,p){if(z.isUndefined(d)){if(!z.isUndefined(c))return o(void 0,c,p)}else return o(c,d,p)}function s(c,d){if(!z.isUndefined(d))return o(void 0,d)}function a(c,d){if(z.isUndefined(d)){if(!z.isUndefined(c))return o(void 0,c)}else return o(void 0,d)}function l(c,d,p){if(p in t)return o(c,d);if(p in e)return o(void 0,c)}const u={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(c,d)=>i(ff(c),ff(d),!0)};return z.forEach(Object.keys(Object.assign({},e,t)),function(d){const p=u[d]||i,y=p(e[d],t[d],d);z.isUndefined(y)&&p!==l||(n[d]=y)}),n}const jh=e=>{const t=tr({},e);let{data:n,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:l}=t;t.headers=a=et.from(a),t.url=mh(xh(t.baseURL,t.url),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let u;if(z.isFormData(n)){if(Ze.hasStandardBrowserEnv||Ze.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((u=a.getContentType())!==!1){const[c,...d]=u?u.split(";").map(p=>p.trim()).filter(Boolean):[];a.setContentType([c||"multipart/form-data",...d].join("; "))}}if(Ze.hasStandardBrowserEnv&&(o&&z.isFunction(o)&&(o=o(t)),o||o!==!1&&rj(t.url))){const c=i&&s&&oj.read(s);c&&a.set(i,c)}return t},aj=typeof XMLHttpRequest<"u",lj=aj&&function(e){return new Promise(function(n,o){const i=jh(e);let s=i.data;const a=et.from(i.headers).normalize();let{responseType:l,onUploadProgress:u,onDownloadProgress:c}=i,d,p,y,b,g;function N(){b&&b(),g&&g(),i.cancelToken&&i.cancelToken.unsubscribe(d),i.signal&&i.signal.removeEventListener("abort",d)}let C=new XMLHttpRequest;C.open(i.method.toUpperCase(),i.url,!0),C.timeout=i.timeout;function h(){if(!C)return;const m=et.from("getAllResponseHeaders"in C&&C.getAllResponseHeaders()),E={data:!l||l==="text"||l==="json"?C.responseText:C.response,status:C.status,statusText:C.statusText,headers:m,config:e,request:C};yh(function(O){n(O),N()},function(O){o(O),N()},E),C=null}"onloadend"in C?C.onloadend=h:C.onreadystatechange=function(){!C||C.readyState!==4||C.status===0&&!(C.responseURL&&C.responseURL.indexOf("file:")===0)||setTimeout(h)},C.onabort=function(){C&&(o(new oe("Request aborted",oe.ECONNABORTED,e,C)),C=null)},C.onerror=function(){o(new oe("Network Error",oe.ERR_NETWORK,e,C)),C=null},C.ontimeout=function(){let x=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const E=i.transitional||hh;i.timeoutErrorMessage&&(x=i.timeoutErrorMessage),o(new oe(x,E.clarifyTimeoutError?oe.ETIMEDOUT:oe.ECONNABORTED,e,C)),C=null},s===void 0&&a.setContentType(null),"setRequestHeader"in C&&z.forEach(a.toJSON(),function(x,E){C.setRequestHeader(E,x)}),z.isUndefined(i.withCredentials)||(C.withCredentials=!!i.withCredentials),l&&l!=="json"&&(C.responseType=i.responseType),c&&([y,g]=Is(c,!0),C.addEventListener("progress",y)),u&&C.upload&&([p,b]=Is(u),C.upload.addEventListener("progress",p),C.upload.addEventListener("loadend",b)),(i.cancelToken||i.signal)&&(d=m=>{C&&(o(!m||m.type?new Ur(null,e,C):m),C.abort(),C=null)},i.cancelToken&&i.cancelToken.subscribe(d),i.signal&&(i.signal.aborted?d():i.signal.addEventListener("abort",d)));const v=ej(i.url);if(v&&Ze.protocols.indexOf(v)===-1){o(new oe("Unsupported protocol "+v+":",oe.ERR_BAD_REQUEST,e));return}C.send(s||null)})},cj=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let o=new AbortController,i;const s=function(c){if(!i){i=!0,l();const d=c instanceof Error?c:this.reason;o.abort(d instanceof oe?d:new Ur(d instanceof Error?d.message:d))}};let a=t&&setTimeout(()=>{a=null,s(new oe(`timeout ${t} of ms exceeded`,oe.ETIMEDOUT))},t);const l=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(s):c.removeEventListener("abort",s)}),e=null)};e.forEach(c=>c.addEventListener("abort",s));const{signal:u}=o;return u.unsubscribe=()=>z.asap(l),u}},uj=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let o=0,i;for(;o<n;)i=o+t,yield e.slice(o,i),o=i},dj=async function*(e,t){for await(const n of fj(e))yield*uj(n,t)},fj=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:o}=await t.read();if(n)break;yield o}}finally{await t.cancel()}},pf=(e,t,n,o)=>{const i=dj(e,t);let s=0,a,l=u=>{a||(a=!0,o&&o(u))};return new ReadableStream({async pull(u){try{const{done:c,value:d}=await i.next();if(c){l(),u.close();return}let p=d.byteLength;if(n){let y=s+=p;n(y)}u.enqueue(new Uint8Array(d))}catch(c){throw l(c),c}},cancel(u){return l(u),i.return()}},{highWaterMark:2})},ua=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Nh=ua&&typeof ReadableStream=="function",pj=ua&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Ch=(e,...t)=>{try{return!!e(...t)}catch{return!1}},mj=Nh&&Ch(()=>{let e=!1;const t=new Request(Ze.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),mf=64*1024,Nc=Nh&&Ch(()=>z.isReadableStream(new Response("").body)),Rs={stream:Nc&&(e=>e.body)};ua&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Rs[t]&&(Rs[t]=z.isFunction(e[t])?n=>n[t]():(n,o)=>{throw new oe(`Response type '${t}' is not supported`,oe.ERR_NOT_SUPPORT,o)})})})(new Response);const hj=async e=>{if(e==null)return 0;if(z.isBlob(e))return e.size;if(z.isSpecCompliantForm(e))return(await new Request(Ze.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(z.isArrayBufferView(e)||z.isArrayBuffer(e))return e.byteLength;if(z.isURLSearchParams(e)&&(e=e+""),z.isString(e))return(await pj(e)).byteLength},vj=async(e,t)=>{const n=z.toFiniteNumber(e.getContentLength());return n??hj(t)},gj=ua&&(async e=>{let{url:t,method:n,data:o,signal:i,cancelToken:s,timeout:a,onDownloadProgress:l,onUploadProgress:u,responseType:c,headers:d,withCredentials:p="same-origin",fetchOptions:y}=jh(e);c=c?(c+"").toLowerCase():"text";let b=cj([i,s&&s.toAbortSignal()],a),g;const N=b&&b.unsubscribe&&(()=>{b.unsubscribe()});let C;try{if(u&&mj&&n!=="get"&&n!=="head"&&(C=await vj(d,o))!==0){let E=new Request(t,{method:"POST",body:o,duplex:"half"}),_;if(z.isFormData(o)&&(_=E.headers.get("content-type"))&&d.setContentType(_),E.body){const[O,P]=uf(C,Is(df(u)));o=pf(E.body,mf,O,P)}}z.isString(p)||(p=p?"include":"omit");const h="credentials"in Request.prototype;g=new Request(t,{...y,signal:b,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:o,duplex:"half",credentials:h?p:void 0});let v=await fetch(g);const m=Nc&&(c==="stream"||c==="response");if(Nc&&(l||m&&N)){const E={};["status","statusText","headers"].forEach(M=>{E[M]=v[M]});const _=z.toFiniteNumber(v.headers.get("content-length")),[O,P]=l&&uf(_,Is(df(l),!0))||[];v=new Response(pf(v.body,mf,O,()=>{P&&P(),N&&N()}),E)}c=c||"text";let x=await Rs[z.findKey(Rs,c)||"text"](v,e);return!m&&N&&N(),await new Promise((E,_)=>{yh(E,_,{data:x,headers:et.from(v.headers),status:v.status,statusText:v.statusText,config:e,request:g})})}catch(h){throw N&&N(),h&&h.name==="TypeError"&&/fetch/i.test(h.message)?Object.assign(new oe("Network Error",oe.ERR_NETWORK,e,g),{cause:h.cause||h}):oe.from(h,h&&h.code,e,g)}}),Cc={http:A1,xhr:lj,fetch:gj};z.forEach(Cc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const hf=e=>`- ${e}`,yj=e=>z.isFunction(e)||e===null||e===!1,bh={getAdapter:e=>{e=z.isArray(e)?e:[e];const{length:t}=e;let n,o;const i={};for(let s=0;s<t;s++){n=e[s];let a;if(o=n,!yj(n)&&(o=Cc[(a=String(n)).toLowerCase()],o===void 0))throw new oe(`Unknown adapter '${a}'`);if(o)break;i[a||"#"+s]=o}if(!o){const s=Object.entries(i).map(([l,u])=>`adapter ${l} `+(u===!1?"is not supported by the environment":"is not available in the build"));let a=t?s.length>1?`since :
|
|
`+s.map(hf).join(`
|
|
`):" "+hf(s[0]):"as no adapter specified";throw new oe("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o},adapters:Cc};function vl(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ur(null,e)}function vf(e){return vl(e),e.headers=et.from(e.headers),e.data=hl.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),bh.getAdapter(e.adapter||ai.adapter)(e).then(function(o){return vl(e),o.data=hl.call(e,e.transformResponse,o),o.headers=et.from(o.headers),o},function(o){return gh(o)||(vl(e),o&&o.response&&(o.response.data=hl.call(e,e.transformResponse,o.response),o.response.headers=et.from(o.response.headers))),Promise.reject(o)})}const wh="1.7.7",Iu={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Iu[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const gf={};Iu.transitional=function(t,n,o){function i(s,a){return"[Axios v"+wh+"] Transitional option '"+s+"'"+a+(o?". "+o:"")}return(s,a,l)=>{if(t===!1)throw new oe(i(a," has been removed"+(n?" in "+n:"")),oe.ERR_DEPRECATED);return n&&!gf[a]&&(gf[a]=!0,console.warn(i(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,a,l):!0}};function xj(e,t,n){if(typeof e!="object")throw new oe("options must be an object",oe.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let i=o.length;for(;i-- >0;){const s=o[i],a=t[s];if(a){const l=e[s],u=l===void 0||a(l,s,e);if(u!==!0)throw new oe("option "+s+" must be "+u,oe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new oe("Unknown option "+s,oe.ERR_BAD_OPTION)}}const bc={assertOptions:xj,validators:Iu},rn=bc.validators;class Hn{constructor(t){this.defaults=t,this.interceptors={request:new lf,response:new lf}}async request(t,n){try{return await this._request(t,n)}catch(o){if(o instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const s=i.stack?i.stack.replace(/^.+\n/,""):"";try{o.stack?s&&!String(o.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(o.stack+=`
|
|
`+s):o.stack=s}catch{}}throw o}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=tr(this.defaults,n);const{transitional:o,paramsSerializer:i,headers:s}=n;o!==void 0&&bc.assertOptions(o,{silentJSONParsing:rn.transitional(rn.boolean),forcedJSONParsing:rn.transitional(rn.boolean),clarifyTimeoutError:rn.transitional(rn.boolean)},!1),i!=null&&(z.isFunction(i)?n.paramsSerializer={serialize:i}:bc.assertOptions(i,{encode:rn.function,serialize:rn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=s&&z.merge(s.common,s[n.method]);s&&z.forEach(["delete","get","head","post","put","patch","common"],g=>{delete s[g]}),n.headers=et.concat(a,s);const l=[];let u=!0;this.interceptors.request.forEach(function(N){typeof N.runWhen=="function"&&N.runWhen(n)===!1||(u=u&&N.synchronous,l.unshift(N.fulfilled,N.rejected))});const c=[];this.interceptors.response.forEach(function(N){c.push(N.fulfilled,N.rejected)});let d,p=0,y;if(!u){const g=[vf.bind(this),void 0];for(g.unshift.apply(g,l),g.push.apply(g,c),y=g.length,d=Promise.resolve(n);p<y;)d=d.then(g[p++],g[p++]);return d}y=l.length;let b=n;for(p=0;p<y;){const g=l[p++],N=l[p++];try{b=g(b)}catch(C){N.call(this,C);break}}try{d=vf.call(this,b)}catch(g){return Promise.reject(g)}for(p=0,y=c.length;p<y;)d=d.then(c[p++],c[p++]);return d}getUri(t){t=tr(this.defaults,t);const n=xh(t.baseURL,t.url);return mh(n,t.params,t.paramsSerializer)}}z.forEach(["delete","get","head","options"],function(t){Hn.prototype[t]=function(n,o){return this.request(tr(o||{},{method:t,url:n,data:(o||{}).data}))}});z.forEach(["post","put","patch"],function(t){function n(o){return function(s,a,l){return this.request(tr(l||{},{method:t,headers:o?{"Content-Type":"multipart/form-data"}:{},url:s,data:a}))}}Hn.prototype[t]=n(),Hn.prototype[t+"Form"]=n(!0)});class Ru{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const o=this;this.promise.then(i=>{if(!o._listeners)return;let s=o._listeners.length;for(;s-- >0;)o._listeners[s](i);o._listeners=null}),this.promise.then=i=>{let s;const a=new Promise(l=>{o.subscribe(l),s=l}).then(i);return a.cancel=function(){o.unsubscribe(s)},a},t(function(s,a,l){o.reason||(o.reason=new Ur(s,a,l),n(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=o=>{t.abort(o)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Ru(function(i){t=i}),cancel:t}}}function jj(e){return function(n){return e.apply(null,n)}}function Nj(e){return z.isObject(e)&&e.isAxiosError===!0}const wc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(wc).forEach(([e,t])=>{wc[t]=e});function Sh(e){const t=new Hn(e),n=nh(Hn.prototype.request,t);return z.extend(n,Hn.prototype,t,{allOwnKeys:!0}),z.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return Sh(tr(e,i))},n}const me=Sh(ai);me.Axios=Hn;me.CanceledError=Ur;me.CancelToken=Ru;me.isCancel=gh;me.VERSION=wh;me.toFormData=ca;me.AxiosError=oe;me.Cancel=me.CanceledError;me.all=function(t){return Promise.all(t)};me.spread=jj;me.isAxiosError=Nj;me.mergeConfig=tr;me.AxiosHeaders=et;me.formToJSON=e=>vh(z.isHTMLForm(e)?new FormData(e):e);me.getAdapter=bh.getAdapter;me.HttpStatusCode=wc;me.default=me;const Cj="http://67.225.129.127:3002",Zt=me.create({baseURL:Cj});Zt.interceptors.request.use(e=>(localStorage.getItem("profile")&&(e.headers.Authorization=`Bearer ${JSON.parse(localStorage.getItem("profile")).token}`),e));const bj=e=>Zt.post("/users/signup",e),wj=e=>Zt.post("/users/signin",e),Sj=(e,t,n)=>Zt.get(`/users/${e}/verify/${t}`,n),kj=e=>Zt.post("/properties",e),Ej=(e,t,n)=>Zt.get(`/properties/user/${e}?page=${t}&limit=${n}`,e),Pj=e=>Zt.get(`/properties/${e}`,e),_j=(e,t)=>Zt.put(`/properties/${e}`,t),Oj=e=>Zt.get(`/users/${e}`),Yi=Mt("auth/login",async({formValue:e,navigate:t},{rejectWithValue:n})=>{try{const o=await wj(e);return t("/dashboard"),o.data}catch(o){return n(o.response.data)}}),Ki=Mt("auth/register",async({formValue:e,navigate:t,toast:n},{rejectWithValue:o})=>{try{const i=await bj(e);return n.success("Register Successfully"),t("/registrationsuccess"),i.data}catch(i){return o(i.response.data)}}),Gi=Mt("auth/updateUser",async(e,{rejectWithValue:t})=>{try{return(await me.put("http://localhost:3002/users/update",e)).data}catch(n){return t(n.response.data)}}),kh=_u({name:"auth",initialState:{user:null,error:"",loading:!1,isLoading:!1},reducers:{setUser:(e,t)=>{e.user=t.payload},setLogout:e=>{localStorage.clear(),e.user=null},setUserDetails:(e,t)=>{e.user=t.payload},updateUser:(e,t)=>{const n=t.payload;e.user={...e.user,...n}}},extraReducers:e=>{e.addCase(Yi.pending,t=>{t.loading=!0}).addCase(Yi.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.user=n.payload}).addCase(Yi.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message}).addCase(Ki.pending,t=>{t.loading=!0}).addCase(Ki.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.user=n.payload}).addCase(Ki.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message}).addCase(Gi.pending,t=>{t.isLoading=!0}).addCase(Gi.fulfilled,(t,n)=>{t.isLoading=!1,t.user=n.payload}).addCase(Gi.rejected,(t,n)=>{t.isLoading=!1,t.error=n.payload})}}),{setUser:eC,setLogout:Tj,setUserDetails:tC}=kh.actions,Aj=kh.reducer,Qi=Mt("user/showUser",async(e,{rejectWithValue:t})=>{try{return(await Oj(e)).data}catch(n){return t(n.response.data)}}),Ji=Mt("user/verifyEmail",async({id:e,token:t,data:n},{rejectWithValue:o})=>{try{return(await Sj(e,t,n)).data.message}catch(i){return o(i.response.data)}}),Ij=_u({name:"user",initialState:{users:[],error:"",loading:!1,verified:!1,user:{}},reducers:{},extraReducers:e=>{e.addCase(Qi.pending,t=>{t.loading=!0,t.error=null}).addCase(Qi.fulfilled,(t,n)=>{t.loading=!1,t.user=n.payload}).addCase(Qi.rejected,(t,n)=>{t.loading=!1,t.error=n.payload}).addCase(Ji.pending,t=>{t.loading=!0,t.error=null}).addCase(Ji.fulfilled,(t,n)=>{t.loading=!1,t.verified=n.payload==="Email verified successfully"}).addCase(Ji.rejected,(t,n)=>{t.loading=!1,t.error=n.error.message})}}),Rj=Ij.reducer,Xi=Mt("property/submitProperty",async(e,{rejectWithValue:t})=>{try{return(await kj(e)).data}catch(n){return t(n.response.data)}}),Zi=Mt("property/fetchUserProperties",async({userId:e,page:t,limit:n},{rejectWithValue:o})=>{try{return(await Ej(e,t,n)).data}catch(i){return o(i.response.data)}}),Eo=Mt("property/fetchPropertyById",async(e,{rejectWithValue:t})=>{try{return(await Pj(e)).data}catch(n){return t(n.response.data)}}),es=Mt("property/updateProperty",async({id:e,propertyData:t},{rejectWithValue:n})=>{try{return(await _j(e,t)).data}catch(o){return n(o.response.data)}}),Po=Mt("properties/getProperties",async({page:e,limit:t,keyword:n=""})=>(await me.get(`http://67.225.129.127:3002/properties?page=${e}&limit=${t}&keyword=${n}`)).data),Dj=_u({name:"property",initialState:{property:{},status:"idle",error:null,userProperties:[],selectedProperty:null,totalPages:0,currentPage:1,loading:!1,properties:[]},reducers:{},extraReducers:e=>{e.addCase(Xi.pending,t=>{t.status="loading"}).addCase(Xi.fulfilled,(t,n)=>{t.status="succeeded",t.property=n.payload}).addCase(Xi.rejected,(t,n)=>{t.status="failed",t.error=n.payload}).addCase(Zi.pending,t=>{t.loading=!0}).addCase(Zi.fulfilled,(t,{payload:n})=>{t.loading=!1,t.userProperties=n.properties,t.totalPages=n.totalPages,t.currentPage=n.currentPage}).addCase(Zi.rejected,(t,{payload:n})=>{t.loading=!1,t.error=n}).addCase(Eo.pending,t=>{t.status="loading"}).addCase(Eo.fulfilled,(t,n)=>{t.status="succeeded",t.selectedProperty=n.payload}).addCase(Eo.rejected,(t,n)=>{t.status="failed",t.error=n.payload}).addCase(es.pending,t=>{t.status="loading"}).addCase(es.fulfilled,(t,n)=>{t.status="succeeded",t.selectedProperty=n.payload}).addCase(es.rejected,(t,n)=>{t.status="failed",t.error=n.payload}).addCase(Po.pending,t=>{t.loading=!0}).addCase(Po.fulfilled,(t,n)=>{t.loading=!1,t.properties=n.payload.data,t.totalPages=n.payload.totalPages,t.currentPage=n.payload.currentPage}).addCase(Po.rejected,(t,n)=>{t.loading=!1,t.error=n.error.message})}}),Fj=Dj.reducer,Lj=Ex({reducer:{auth:Aj,user:Rj,property:Fj}});/**
|
|
* @remix-run/router v1.19.1
|
|
*
|
|
* Copyright (c) Remix Software Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE.md file in the root directory of this source tree.
|
|
*
|
|
* @license MIT
|
|
*/function Qo(){return Qo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Qo.apply(this,arguments)}var mn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(mn||(mn={}));const yf="popstate";function Mj(e){e===void 0&&(e={});function t(o,i){let{pathname:s,search:a,hash:l}=o.location;return Sc("",{pathname:s,search:a,hash:l},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(o,i){return typeof i=="string"?i:Ds(i)}return zj(t,n,null,e)}function we(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Eh(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Bj(){return Math.random().toString(36).substr(2,8)}function xf(e,t){return{usr:e.state,key:e.key,idx:t}}function Sc(e,t,n,o){return n===void 0&&(n=null),Qo({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?qr(t):t,{state:n,key:t&&t.key||o||Bj()})}function Ds(e){let{pathname:t="/",search:n="",hash:o=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),o&&o!=="#"&&(t+=o.charAt(0)==="#"?o:"#"+o),t}function qr(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let o=e.indexOf("?");o>=0&&(t.search=e.substr(o),e=e.substr(0,o)),e&&(t.pathname=e)}return t}function zj(e,t,n,o){o===void 0&&(o={});let{window:i=document.defaultView,v5Compat:s=!1}=o,a=i.history,l=mn.Pop,u=null,c=d();c==null&&(c=0,a.replaceState(Qo({},a.state,{idx:c}),""));function d(){return(a.state||{idx:null}).idx}function p(){l=mn.Pop;let C=d(),h=C==null?null:C-c;c=C,u&&u({action:l,location:N.location,delta:h})}function y(C,h){l=mn.Push;let v=Sc(N.location,C,h);c=d()+1;let m=xf(v,c),x=N.createHref(v);try{a.pushState(m,"",x)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;i.location.assign(x)}s&&u&&u({action:l,location:N.location,delta:1})}function b(C,h){l=mn.Replace;let v=Sc(N.location,C,h);c=d();let m=xf(v,c),x=N.createHref(v);a.replaceState(m,"",x),s&&u&&u({action:l,location:N.location,delta:0})}function g(C){let h=i.location.origin!=="null"?i.location.origin:i.location.href,v=typeof C=="string"?C:Ds(C);return v=v.replace(/ $/,"%20"),we(h,"No window.location.(origin|href) available to create URL for href: "+v),new URL(v,h)}let N={get action(){return l},get location(){return e(i,a)},listen(C){if(u)throw new Error("A history only accepts one active listener");return i.addEventListener(yf,p),u=C,()=>{i.removeEventListener(yf,p),u=null}},createHref(C){return t(i,C)},createURL:g,encodeLocation(C){let h=g(C);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:y,replace:b,go(C){return a.go(C)}};return N}var jf;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(jf||(jf={}));function Wj(e,t,n){return n===void 0&&(n="/"),$j(e,t,n,!1)}function $j(e,t,n,o){let i=typeof t=="string"?qr(t):t,s=Mr(i.pathname||"/",n);if(s==null)return null;let a=Ph(e);Uj(a);let l=null;for(let u=0;l==null&&u<a.length;++u){let c=e0(s);l=Xj(a[u],c,o)}return l}function Ph(e,t,n,o){t===void 0&&(t=[]),n===void 0&&(n=[]),o===void 0&&(o="");let i=(s,a,l)=>{let u={relativePath:l===void 0?s.path||"":l,caseSensitive:s.caseSensitive===!0,childrenIndex:a,route:s};u.relativePath.startsWith("/")&&(we(u.relativePath.startsWith(o),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+o+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(o.length));let c=wn([o,u.relativePath]),d=n.concat(u);s.children&&s.children.length>0&&(we(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),Ph(s.children,t,d,c)),!(s.path==null&&!s.index)&&t.push({path:c,score:Qj(c,s.index),routesMeta:d})};return e.forEach((s,a)=>{var l;if(s.path===""||!((l=s.path)!=null&&l.includes("?")))i(s,a);else for(let u of _h(s.path))i(s,a,u)}),t}function _h(e){let t=e.split("/");if(t.length===0)return[];let[n,...o]=t,i=n.endsWith("?"),s=n.replace(/\?$/,"");if(o.length===0)return i?[s,""]:[s];let a=_h(o.join("/")),l=[];return l.push(...a.map(u=>u===""?s:[s,u].join("/"))),i&&l.push(...a),l.map(u=>e.startsWith("/")&&u===""?"/":u)}function Uj(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Jj(t.routesMeta.map(o=>o.childrenIndex),n.routesMeta.map(o=>o.childrenIndex)))}const qj=/^:[\w-]+$/,Vj=3,Hj=2,Yj=1,Kj=10,Gj=-2,Nf=e=>e==="*";function Qj(e,t){let n=e.split("/"),o=n.length;return n.some(Nf)&&(o+=Gj),t&&(o+=Hj),n.filter(i=>!Nf(i)).reduce((i,s)=>i+(qj.test(s)?Vj:s===""?Yj:Kj),o)}function Jj(e,t){return e.length===t.length&&e.slice(0,-1).every((o,i)=>o===t[i])?e[e.length-1]-t[t.length-1]:0}function Xj(e,t,n){let{routesMeta:o}=e,i={},s="/",a=[];for(let l=0;l<o.length;++l){let u=o[l],c=l===o.length-1,d=s==="/"?t:t.slice(s.length)||"/",p=Fs({path:u.relativePath,caseSensitive:u.caseSensitive,end:c},d),y=u.route;if(!p&&c&&n&&!o[o.length-1].route.index&&(p=Fs({path:u.relativePath,caseSensitive:u.caseSensitive,end:!1},d)),!p)return null;Object.assign(i,p.params),a.push({params:i,pathname:wn([s,p.pathname]),pathnameBase:o0(wn([s,p.pathnameBase])),route:y}),p.pathnameBase!=="/"&&(s=wn([s,p.pathnameBase]))}return a}function Fs(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,o]=Zj(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let s=i[0],a=s.replace(/(.)\/+$/,"$1"),l=i.slice(1);return{params:o.reduce((c,d,p)=>{let{paramName:y,isOptional:b}=d;if(y==="*"){let N=l[p]||"";a=s.slice(0,s.length-N.length).replace(/(.)\/+$/,"$1")}const g=l[p];return b&&!g?c[y]=void 0:c[y]=(g||"").replace(/%2F/g,"/"),c},{}),pathname:s,pathnameBase:a,pattern:e}}function Zj(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Eh(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let o=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,l,u)=>(o.push({paramName:l,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(o.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),o]}function e0(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Eh(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Mr(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,o=e.charAt(n);return o&&o!=="/"?null:e.slice(n)||"/"}function t0(e,t){t===void 0&&(t="/");let{pathname:n,search:o="",hash:i=""}=typeof e=="string"?qr(e):e;return{pathname:n?n.startsWith("/")?n:n0(n,t):t,search:i0(o),hash:s0(i)}}function n0(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function gl(e,t,n,o){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(o)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function r0(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Oh(e,t){let n=r0(e);return t?n.map((o,i)=>i===n.length-1?o.pathname:o.pathnameBase):n.map(o=>o.pathnameBase)}function Th(e,t,n,o){o===void 0&&(o=!1);let i;typeof e=="string"?i=qr(e):(i=Qo({},e),we(!i.pathname||!i.pathname.includes("?"),gl("?","pathname","search",i)),we(!i.pathname||!i.pathname.includes("#"),gl("#","pathname","hash",i)),we(!i.search||!i.search.includes("#"),gl("#","search","hash",i)));let s=e===""||i.pathname==="",a=s?"/":i.pathname,l;if(a==null)l=n;else{let p=t.length-1;if(!o&&a.startsWith("..")){let y=a.split("/");for(;y[0]==="..";)y.shift(),p-=1;i.pathname=y.join("/")}l=p>=0?t[p]:"/"}let u=t0(i,l),c=a&&a!=="/"&&a.endsWith("/"),d=(s||a===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(c||d)&&(u.pathname+="/"),u}const wn=e=>e.join("/").replace(/\/\/+/g,"/"),o0=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),i0=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,s0=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function a0(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Ah=["post","put","patch","delete"];new Set(Ah);const l0=["get",...Ah];new Set(l0);/**
|
|
* React Router v6.26.1
|
|
*
|
|
* Copyright (c) Remix Software Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE.md file in the root directory of this source tree.
|
|
*
|
|
* @license MIT
|
|
*/function Jo(){return Jo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Jo.apply(this,arguments)}const da=R.createContext(null),Ih=R.createContext(null),Tn=R.createContext(null),fa=R.createContext(null),An=R.createContext({outlet:null,matches:[],isDataRoute:!1}),Rh=R.createContext(null);function c0(e,t){let{relative:n}=t===void 0?{}:t;li()||we(!1);let{basename:o,navigator:i}=R.useContext(Tn),{hash:s,pathname:a,search:l}=pa(e,{relative:n}),u=a;return o!=="/"&&(u=a==="/"?o:wn([o,a])),i.createHref({pathname:u,search:l,hash:s})}function li(){return R.useContext(fa)!=null}function ci(){return li()||we(!1),R.useContext(fa).location}function Dh(e){R.useContext(Tn).static||R.useLayoutEffect(e)}function Vr(){let{isDataRoute:e}=R.useContext(An);return e?C0():u0()}function u0(){li()||we(!1);let e=R.useContext(da),{basename:t,future:n,navigator:o}=R.useContext(Tn),{matches:i}=R.useContext(An),{pathname:s}=ci(),a=JSON.stringify(Oh(i,n.v7_relativeSplatPath)),l=R.useRef(!1);return Dh(()=>{l.current=!0}),R.useCallback(function(c,d){if(d===void 0&&(d={}),!l.current)return;if(typeof c=="number"){o.go(c);return}let p=Th(c,JSON.parse(a),s,d.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:wn([t,p.pathname])),(d.replace?o.replace:o.push)(p,d.state,d)},[t,o,a,s,e])}function Hr(){let{matches:e}=R.useContext(An),t=e[e.length-1];return t?t.params:{}}function pa(e,t){let{relative:n}=t===void 0?{}:t,{future:o}=R.useContext(Tn),{matches:i}=R.useContext(An),{pathname:s}=ci(),a=JSON.stringify(Oh(i,o.v7_relativeSplatPath));return R.useMemo(()=>Th(e,JSON.parse(a),s,n==="path"),[e,a,s,n])}function d0(e,t){return f0(e,t)}function f0(e,t,n,o){li()||we(!1);let{navigator:i}=R.useContext(Tn),{matches:s}=R.useContext(An),a=s[s.length-1],l=a?a.params:{};a&&a.pathname;let u=a?a.pathnameBase:"/";a&&a.route;let c=ci(),d;if(t){var p;let C=typeof t=="string"?qr(t):t;u==="/"||(p=C.pathname)!=null&&p.startsWith(u)||we(!1),d=C}else d=c;let y=d.pathname||"/",b=y;if(u!=="/"){let C=u.replace(/^\//,"").split("/");b="/"+y.replace(/^\//,"").split("/").slice(C.length).join("/")}let g=Wj(e,{pathname:b}),N=g0(g&&g.map(C=>Object.assign({},C,{params:Object.assign({},l,C.params),pathname:wn([u,i.encodeLocation?i.encodeLocation(C.pathname).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?u:wn([u,i.encodeLocation?i.encodeLocation(C.pathnameBase).pathname:C.pathnameBase])})),s,n,o);return t&&N?R.createElement(fa.Provider,{value:{location:Jo({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:mn.Pop}},N):N}function p0(){let e=N0(),t=a0(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return R.createElement(R.Fragment,null,R.createElement("h2",null,"Unexpected Application Error!"),R.createElement("h3",{style:{fontStyle:"italic"}},t),n?R.createElement("pre",{style:i},n):null,null)}const m0=R.createElement(p0,null);class h0 extends R.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?R.createElement(An.Provider,{value:this.props.routeContext},R.createElement(Rh.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function v0(e){let{routeContext:t,match:n,children:o}=e,i=R.useContext(da);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),R.createElement(An.Provider,{value:t},o)}function g0(e,t,n,o){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),o===void 0&&(o=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=o)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let a=e,l=(i=n)==null?void 0:i.errors;if(l!=null){let d=a.findIndex(p=>p.route.id&&(l==null?void 0:l[p.route.id])!==void 0);d>=0||we(!1),a=a.slice(0,Math.min(a.length,d+1))}let u=!1,c=-1;if(n&&o&&o.v7_partialHydration)for(let d=0;d<a.length;d++){let p=a[d];if((p.route.HydrateFallback||p.route.hydrateFallbackElement)&&(c=d),p.route.id){let{loaderData:y,errors:b}=n,g=p.route.loader&&y[p.route.id]===void 0&&(!b||b[p.route.id]===void 0);if(p.route.lazy||g){u=!0,c>=0?a=a.slice(0,c+1):a=[a[0]];break}}}return a.reduceRight((d,p,y)=>{let b,g=!1,N=null,C=null;n&&(b=l&&p.route.id?l[p.route.id]:void 0,N=p.route.errorElement||m0,u&&(c<0&&y===0?(g=!0,C=null):c===y&&(g=!0,C=p.route.hydrateFallbackElement||null)));let h=t.concat(a.slice(0,y+1)),v=()=>{let m;return b?m=N:g?m=C:p.route.Component?m=R.createElement(p.route.Component,null):p.route.element?m=p.route.element:m=d,R.createElement(v0,{match:p,routeContext:{outlet:d,matches:h,isDataRoute:n!=null},children:m})};return n&&(p.route.ErrorBoundary||p.route.errorElement||y===0)?R.createElement(h0,{location:n.location,revalidation:n.revalidation,component:N,error:b,children:v(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):v()},null)}var Fh=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Fh||{}),Ls=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Ls||{});function y0(e){let t=R.useContext(da);return t||we(!1),t}function x0(e){let t=R.useContext(Ih);return t||we(!1),t}function j0(e){let t=R.useContext(An);return t||we(!1),t}function Lh(e){let t=j0(),n=t.matches[t.matches.length-1];return n.route.id||we(!1),n.route.id}function N0(){var e;let t=R.useContext(Rh),n=x0(Ls.UseRouteError),o=Lh(Ls.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[o]}function C0(){let{router:e}=y0(Fh.UseNavigateStable),t=Lh(Ls.UseNavigateStable),n=R.useRef(!1);return Dh(()=>{n.current=!0}),R.useCallback(function(i,s){s===void 0&&(s={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,Jo({fromRouteId:t},s)))},[e,t])}function _e(e){we(!1)}function b0(e){let{basename:t="/",children:n=null,location:o,navigationType:i=mn.Pop,navigator:s,static:a=!1,future:l}=e;li()&&we(!1);let u=t.replace(/^\/*/,"/"),c=R.useMemo(()=>({basename:u,navigator:s,static:a,future:Jo({v7_relativeSplatPath:!1},l)}),[u,l,s,a]);typeof o=="string"&&(o=qr(o));let{pathname:d="/",search:p="",hash:y="",state:b=null,key:g="default"}=o,N=R.useMemo(()=>{let C=Mr(d,u);return C==null?null:{location:{pathname:C,search:p,hash:y,state:b,key:g},navigationType:i}},[u,d,p,y,b,g,i]);return N==null?null:R.createElement(Tn.Provider,{value:c},R.createElement(fa.Provider,{children:n,value:N}))}function w0(e){let{children:t,location:n}=e;return d0(kc(t),n)}new Promise(()=>{});function kc(e,t){t===void 0&&(t=[]);let n=[];return R.Children.forEach(e,(o,i)=>{if(!R.isValidElement(o))return;let s=[...t,i];if(o.type===R.Fragment){n.push.apply(n,kc(o.props.children,s));return}o.type!==_e&&we(!1),!o.props.index||!o.props.children||we(!1);let a={id:o.props.id||s.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,loader:o.props.loader,action:o.props.action,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(a.children=kc(o.props.children,s)),n.push(a)}),n}/**
|
|
* React Router DOM v6.26.1
|
|
*
|
|
* Copyright (c) Remix Software Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE.md file in the root directory of this source tree.
|
|
*
|
|
* @license MIT
|
|
*/function Ms(){return Ms=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Ms.apply(this,arguments)}function Mh(e,t){if(e==null)return{};var n={},o=Object.keys(e),i,s;for(s=0;s<o.length;s++)i=o[s],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function S0(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function k0(e,t){return e.button===0&&(!t||t==="_self")&&!S0(e)}const E0=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],P0=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],_0="6";try{window.__reactRouterVersion=_0}catch{}const O0=R.createContext({isTransitioning:!1}),T0="startTransition",Cf=xl[T0];function A0(e){let{basename:t,children:n,future:o,window:i}=e,s=R.useRef();s.current==null&&(s.current=Mj({window:i,v5Compat:!0}));let a=s.current,[l,u]=R.useState({action:a.action,location:a.location}),{v7_startTransition:c}=o||{},d=R.useCallback(p=>{c&&Cf?Cf(()=>u(p)):u(p)},[u,c]);return R.useLayoutEffect(()=>a.listen(d),[a,d]),R.createElement(b0,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:a,future:o})}const I0=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",R0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,D0=R.forwardRef(function(t,n){let{onClick:o,relative:i,reloadDocument:s,replace:a,state:l,target:u,to:c,preventScrollReset:d,unstable_viewTransition:p}=t,y=Mh(t,E0),{basename:b}=R.useContext(Tn),g,N=!1;if(typeof c=="string"&&R0.test(c)&&(g=c,I0))try{let m=new URL(window.location.href),x=c.startsWith("//")?new URL(m.protocol+c):new URL(c),E=Mr(x.pathname,b);x.origin===m.origin&&E!=null?c=E+x.search+x.hash:N=!0}catch{}let C=c0(c,{relative:i}),h=L0(c,{replace:a,state:l,target:u,preventScrollReset:d,relative:i,unstable_viewTransition:p});function v(m){o&&o(m),m.defaultPrevented||h(m)}return R.createElement("a",Ms({},y,{href:g||C,onClick:N||s?o:v,ref:n,target:u}))}),ge=R.forwardRef(function(t,n){let{"aria-current":o="page",caseSensitive:i=!1,className:s="",end:a=!1,style:l,to:u,unstable_viewTransition:c,children:d}=t,p=Mh(t,P0),y=pa(u,{relative:p.relative}),b=ci(),g=R.useContext(Ih),{navigator:N,basename:C}=R.useContext(Tn),h=g!=null&&M0(y)&&c===!0,v=N.encodeLocation?N.encodeLocation(y).pathname:y.pathname,m=b.pathname,x=g&&g.navigation&&g.navigation.location?g.navigation.location.pathname:null;i||(m=m.toLowerCase(),x=x?x.toLowerCase():null,v=v.toLowerCase()),x&&C&&(x=Mr(x,C)||x);const E=v!=="/"&&v.endsWith("/")?v.length-1:v.length;let _=m===v||!a&&m.startsWith(v)&&m.charAt(E)==="/",O=x!=null&&(x===v||!a&&x.startsWith(v)&&x.charAt(v.length)==="/"),P={isActive:_,isPending:O,isTransitioning:h},M=_?o:void 0,W;typeof s=="function"?W=s(P):W=[s,_?"active":null,O?"pending":null,h?"transitioning":null].filter(Boolean).join(" ");let H=typeof l=="function"?l(P):l;return R.createElement(D0,Ms({},p,{"aria-current":M,className:W,ref:n,style:H,to:u,unstable_viewTransition:c}),typeof d=="function"?d(P):d)});var Ec;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Ec||(Ec={}));var bf;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(bf||(bf={}));function F0(e){let t=R.useContext(da);return t||we(!1),t}function L0(e,t){let{target:n,replace:o,state:i,preventScrollReset:s,relative:a,unstable_viewTransition:l}=t===void 0?{}:t,u=Vr(),c=ci(),d=pa(e,{relative:a});return R.useCallback(p=>{if(k0(p,n)){p.preventDefault();let y=o!==void 0?o:Ds(c)===Ds(d);u(e,{replace:y,state:i,preventScrollReset:s,relative:a,unstable_viewTransition:l})}},[c,u,d,o,i,n,e,s,a,l])}function M0(e,t){t===void 0&&(t={});let n=R.useContext(O0);n==null&&we(!1);let{basename:o}=F0(Ec.useViewTransitionState),i=pa(e,{relative:t.relative});if(!n.isTransitioning)return!1;let s=Mr(n.currentLocation.pathname,o)||n.currentLocation.pathname,a=Mr(n.nextLocation.pathname,o)||n.nextLocation.pathname;return Fs(i.pathname,a)!=null||Fs(i.pathname,s)!=null}function Bh(e){var t,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Bh(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function hn(){for(var e,t,n=0,o="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Bh(e))&&(o&&(o+=" "),o+=t);return o}const Xo=e=>typeof e=="number"&&!isNaN(e),Yn=e=>typeof e=="string",it=e=>typeof e=="function",ts=e=>Yn(e)||it(e)?e:null,Pc=e=>R.isValidElement(e)||Yn(e)||it(e)||Xo(e);function B0(e,t,n){n===void 0&&(n=300);const{scrollHeight:o,style:i}=e;requestAnimationFrame(()=>{i.minHeight="initial",i.height=o+"px",i.transition=`all ${n}ms`,requestAnimationFrame(()=>{i.height="0",i.padding="0",i.margin="0",setTimeout(t,n)})})}function ma(e){let{enter:t,exit:n,appendPosition:o=!1,collapse:i=!0,collapseDuration:s=300}=e;return function(a){let{children:l,position:u,preventExitTransition:c,done:d,nodeRef:p,isIn:y,playToast:b}=a;const g=o?`${t}--${u}`:t,N=o?`${n}--${u}`:n,C=R.useRef(0);return R.useLayoutEffect(()=>{const h=p.current,v=g.split(" "),m=x=>{x.target===p.current&&(b(),h.removeEventListener("animationend",m),h.removeEventListener("animationcancel",m),C.current===0&&x.type!=="animationcancel"&&h.classList.remove(...v))};h.classList.add(...v),h.addEventListener("animationend",m),h.addEventListener("animationcancel",m)},[]),R.useEffect(()=>{const h=p.current,v=()=>{h.removeEventListener("animationend",v),i?B0(h,d,s):d()};y||(c?v():(C.current=1,h.className+=` ${N}`,h.addEventListener("animationend",v)))},[y]),I.createElement(I.Fragment,null,l)}}function wf(e,t){return e!=null?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}const $e=new Map;let Zo=[];const _c=new Set,z0=e=>_c.forEach(t=>t(e)),zh=()=>$e.size>0;function Wh(e,t){var n;if(t)return!((n=$e.get(t))==null||!n.isToastActive(e));let o=!1;return $e.forEach(i=>{i.isToastActive(e)&&(o=!0)}),o}function $h(e,t){Pc(e)&&(zh()||Zo.push({content:e,options:t}),$e.forEach(n=>{n.buildToast(e,t)}))}function Sf(e,t){$e.forEach(n=>{t!=null&&t!=null&&t.containerId?(t==null?void 0:t.containerId)===n.id&&n.toggle(e,t==null?void 0:t.id):n.toggle(e,t==null?void 0:t.id)})}function W0(e){const{subscribe:t,getSnapshot:n,setProps:o}=R.useRef(function(s){const a=s.containerId||1;return{subscribe(l){const u=function(d,p,y){let b=1,g=0,N=[],C=[],h=[],v=p;const m=new Map,x=new Set,E=()=>{h=Array.from(m.values()),x.forEach(P=>P())},_=P=>{C=P==null?[]:C.filter(M=>M!==P),E()},O=P=>{const{toastId:M,onOpen:W,updateId:H,children:te}=P.props,X=H==null;P.staleId&&m.delete(P.staleId),m.set(M,P),C=[...C,P.props.toastId].filter(Z=>Z!==P.staleId),E(),y(wf(P,X?"added":"updated")),X&&it(W)&&W(R.isValidElement(te)&&te.props)};return{id:d,props:v,observe:P=>(x.add(P),()=>x.delete(P)),toggle:(P,M)=>{m.forEach(W=>{M!=null&&M!==W.props.toastId||it(W.toggle)&&W.toggle(P)})},removeToast:_,toasts:m,clearQueue:()=>{g-=N.length,N=[]},buildToast:(P,M)=>{if(($=>{let{containerId:K,toastId:G,updateId:ee}=$;const re=K?K!==d:d!==1,ne=m.has(G)&&ee==null;return re||ne})(M))return;const{toastId:W,updateId:H,data:te,staleId:X,delay:Z}=M,F=()=>{_(W)},U=H==null;U&&g++;const Q={...v,style:v.toastStyle,key:b++,...Object.fromEntries(Object.entries(M).filter($=>{let[K,G]=$;return G!=null})),toastId:W,updateId:H,data:te,closeToast:F,isIn:!1,className:ts(M.className||v.toastClassName),bodyClassName:ts(M.bodyClassName||v.bodyClassName),progressClassName:ts(M.progressClassName||v.progressClassName),autoClose:!M.isLoading&&(A=M.autoClose,T=v.autoClose,A===!1||Xo(A)&&A>0?A:T),deleteToast(){const $=m.get(W),{onClose:K,children:G}=$.props;it(K)&&K(R.isValidElement(G)&&G.props),y(wf($,"removed")),m.delete(W),g--,g<0&&(g=0),N.length>0?O(N.shift()):E()}};var A,T;Q.closeButton=v.closeButton,M.closeButton===!1||Pc(M.closeButton)?Q.closeButton=M.closeButton:M.closeButton===!0&&(Q.closeButton=!Pc(v.closeButton)||v.closeButton);let L=P;R.isValidElement(P)&&!Yn(P.type)?L=R.cloneElement(P,{closeToast:F,toastProps:Q,data:te}):it(P)&&(L=P({closeToast:F,toastProps:Q,data:te}));const B={content:L,props:Q,staleId:X};v.limit&&v.limit>0&&g>v.limit&&U?N.push(B):Xo(Z)?setTimeout(()=>{O(B)},Z):O(B)},setProps(P){v=P},setToggle:(P,M)=>{m.get(P).toggle=M},isToastActive:P=>C.some(M=>M===P),getSnapshot:()=>v.newestOnTop?h.reverse():h}}(a,s,z0);$e.set(a,u);const c=u.observe(l);return Zo.forEach(d=>$h(d.content,d.options)),Zo=[],()=>{c(),$e.delete(a)}},setProps(l){var u;(u=$e.get(a))==null||u.setProps(l)},getSnapshot(){var l;return(l=$e.get(a))==null?void 0:l.getSnapshot()}}}(e)).current;o(e);const i=R.useSyncExternalStore(t,n,n);return{getToastToRender:function(s){if(!i)return[];const a=new Map;return i.forEach(l=>{const{position:u}=l.props;a.has(u)||a.set(u,[]),a.get(u).push(l)}),Array.from(a,l=>s(l[0],l[1]))},isToastActive:Wh,count:i==null?void 0:i.length}}function $0(e){const[t,n]=R.useState(!1),[o,i]=R.useState(!1),s=R.useRef(null),a=R.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:l,pauseOnHover:u,closeToast:c,onClick:d,closeOnClick:p}=e;var y,b;function g(){n(!0)}function N(){n(!1)}function C(m){const x=s.current;a.canDrag&&x&&(a.didMove=!0,t&&N(),a.delta=e.draggableDirection==="x"?m.clientX-a.start:m.clientY-a.start,a.start!==m.clientX&&(a.canCloseOnClick=!1),x.style.transform=`translate3d(${e.draggableDirection==="x"?`${a.delta}px, var(--y)`:`0, calc(${a.delta}px + var(--y))`},0)`,x.style.opacity=""+(1-Math.abs(a.delta/a.removalDistance)))}function h(){document.removeEventListener("pointermove",C),document.removeEventListener("pointerup",h);const m=s.current;if(a.canDrag&&a.didMove&&m){if(a.canDrag=!1,Math.abs(a.delta)>a.removalDistance)return i(!0),e.closeToast(),void e.collapseAll();m.style.transition="transform 0.2s, opacity 0.2s",m.style.removeProperty("transform"),m.style.removeProperty("opacity")}}(b=$e.get((y={id:e.toastId,containerId:e.containerId,fn:n}).containerId||1))==null||b.setToggle(y.id,y.fn),R.useEffect(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||N(),window.addEventListener("focus",g),window.addEventListener("blur",N),()=>{window.removeEventListener("focus",g),window.removeEventListener("blur",N)}},[e.pauseOnFocusLoss]);const v={onPointerDown:function(m){if(e.draggable===!0||e.draggable===m.pointerType){a.didMove=!1,document.addEventListener("pointermove",C),document.addEventListener("pointerup",h);const x=s.current;a.canCloseOnClick=!0,a.canDrag=!0,x.style.transition="none",e.draggableDirection==="x"?(a.start=m.clientX,a.removalDistance=x.offsetWidth*(e.draggablePercent/100)):(a.start=m.clientY,a.removalDistance=x.offsetHeight*(e.draggablePercent===80?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(m){const{top:x,bottom:E,left:_,right:O}=s.current.getBoundingClientRect();m.nativeEvent.type!=="touchend"&&e.pauseOnHover&&m.clientX>=_&&m.clientX<=O&&m.clientY>=x&&m.clientY<=E?N():g()}};return l&&u&&(v.onMouseEnter=N,e.stacked||(v.onMouseLeave=g)),p&&(v.onClick=m=>{d&&d(m),a.canCloseOnClick&&c()}),{playToast:g,pauseToast:N,isRunning:t,preventExitTransition:o,toastRef:s,eventHandlers:v}}function U0(e){let{delay:t,isRunning:n,closeToast:o,type:i="default",hide:s,className:a,style:l,controlledProgress:u,progress:c,rtl:d,isIn:p,theme:y}=e;const b=s||u&&c===0,g={...l,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused"};u&&(g.transform=`scaleX(${c})`);const N=hn("Toastify__progress-bar",u?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${y}`,`Toastify__progress-bar--${i}`,{"Toastify__progress-bar--rtl":d}),C=it(a)?a({rtl:d,type:i,defaultClassName:N}):hn(N,a),h={[u&&c>=1?"onTransitionEnd":"onAnimationEnd"]:u&&c<1?null:()=>{p&&o()}};return I.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":b},I.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${y} Toastify__progress-bar--${i}`}),I.createElement("div",{role:"progressbar","aria-hidden":b?"true":"false","aria-label":"notification timer",className:C,style:g,...h}))}let q0=1;const Uh=()=>""+q0++;function V0(e){return e&&(Yn(e.toastId)||Xo(e.toastId))?e.toastId:Uh()}function _o(e,t){return $h(e,t),t.toastId}function Bs(e,t){return{...t,type:t&&t.type||e,toastId:V0(t)}}function Ti(e){return(t,n)=>_o(t,Bs(e,n))}function ae(e,t){return _o(e,Bs("default",t))}ae.loading=(e,t)=>_o(e,Bs("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),ae.promise=function(e,t,n){let o,{pending:i,error:s,success:a}=t;i&&(o=Yn(i)?ae.loading(i,n):ae.loading(i.render,{...n,...i}));const l={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},u=(d,p,y)=>{if(p==null)return void ae.dismiss(o);const b={type:d,...l,...n,data:y},g=Yn(p)?{render:p}:p;return o?ae.update(o,{...b,...g}):ae(g.render,{...b,...g}),y},c=it(e)?e():e;return c.then(d=>u("success",a,d)).catch(d=>u("error",s,d)),c},ae.success=Ti("success"),ae.info=Ti("info"),ae.error=Ti("error"),ae.warning=Ti("warning"),ae.warn=ae.warning,ae.dark=(e,t)=>_o(e,Bs("default",{theme:"dark",...t})),ae.dismiss=function(e){(function(t){var n;if(zh()){if(t==null||Yn(n=t)||Xo(n))$e.forEach(o=>{o.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){const o=$e.get(t.containerId);o?o.removeToast(t.id):$e.forEach(i=>{i.removeToast(t.id)})}}else Zo=Zo.filter(o=>t!=null&&o.options.toastId!==t)})(e)},ae.clearWaitingQueue=function(e){e===void 0&&(e={}),$e.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},ae.isActive=Wh,ae.update=function(e,t){t===void 0&&(t={});const n=((o,i)=>{var s;let{containerId:a}=i;return(s=$e.get(a||1))==null?void 0:s.toasts.get(o)})(e,t);if(n){const{props:o,content:i}=n,s={delay:100,...o,...t,toastId:t.toastId||e,updateId:Uh()};s.toastId!==e&&(s.staleId=e);const a=s.render||i;delete s.render,_o(a,s)}},ae.done=e=>{ae.update(e,{progress:1})},ae.onChange=function(e){return _c.add(e),()=>{_c.delete(e)}},ae.play=e=>Sf(!0,e),ae.pause=e=>Sf(!1,e);const H0=typeof window<"u"?R.useLayoutEffect:R.useEffect,Ai=e=>{let{theme:t,type:n,isLoading:o,...i}=e;return I.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:t==="colored"?"currentColor":`var(--toastify-icon-color-${n})`,...i})},yl={info:function(e){return I.createElement(Ai,{...e},I.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return I.createElement(Ai,{...e},I.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return I.createElement(Ai,{...e},I.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return I.createElement(Ai,{...e},I.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return I.createElement("div",{className:"Toastify__spinner"})}},Y0=e=>{const{isRunning:t,preventExitTransition:n,toastRef:o,eventHandlers:i,playToast:s}=$0(e),{closeButton:a,children:l,autoClose:u,onClick:c,type:d,hideProgressBar:p,closeToast:y,transition:b,position:g,className:N,style:C,bodyClassName:h,bodyStyle:v,progressClassName:m,progressStyle:x,updateId:E,role:_,progress:O,rtl:P,toastId:M,deleteToast:W,isIn:H,isLoading:te,closeOnClick:X,theme:Z}=e,F=hn("Toastify__toast",`Toastify__toast-theme--${Z}`,`Toastify__toast--${d}`,{"Toastify__toast--rtl":P},{"Toastify__toast--close-on-click":X}),U=it(N)?N({rtl:P,position:g,type:d,defaultClassName:F}):hn(F,N),Q=function(B){let{theme:$,type:K,isLoading:G,icon:ee}=B,re=null;const ne={theme:$,type:K};return ee===!1||(it(ee)?re=ee({...ne,isLoading:G}):R.isValidElement(ee)?re=R.cloneElement(ee,ne):G?re=yl.spinner():(ie=>ie in yl)(K)&&(re=yl[K](ne))),re}(e),A=!!O||!u,T={closeToast:y,type:d,theme:Z};let L=null;return a===!1||(L=it(a)?a(T):R.isValidElement(a)?R.cloneElement(a,T):function(B){let{closeToast:$,theme:K,ariaLabel:G="close"}=B;return I.createElement("button",{className:`Toastify__close-button Toastify__close-button--${K}`,type:"button",onClick:ee=>{ee.stopPropagation(),$(ee)},"aria-label":G},I.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},I.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(T)),I.createElement(b,{isIn:H,done:W,position:g,preventExitTransition:n,nodeRef:o,playToast:s},I.createElement("div",{id:M,onClick:c,"data-in":H,className:U,...i,style:C,ref:o},I.createElement("div",{...H&&{role:_},className:it(h)?h({type:d}):hn("Toastify__toast-body",h),style:v},Q!=null&&I.createElement("div",{className:hn("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!te})},Q),I.createElement("div",null,l)),L,I.createElement(U0,{...E&&!A?{key:`pb-${E}`}:{},rtl:P,theme:Z,delay:u,isRunning:t,isIn:H,closeToast:y,hide:p,type:d,style:x,className:m,controlledProgress:A,progress:O||0})))},ha=function(e,t){return t===void 0&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},K0=ma(ha("bounce",!0));ma(ha("slide",!0));ma(ha("zoom"));ma(ha("flip"));const G0={position:"top-right",transition:K0,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function Q0(e){let t={...G0,...e};const n=e.stacked,[o,i]=R.useState(!0),s=R.useRef(null),{getToastToRender:a,isToastActive:l,count:u}=W0(t),{className:c,style:d,rtl:p,containerId:y}=t;function b(N){const C=hn("Toastify__toast-container",`Toastify__toast-container--${N}`,{"Toastify__toast-container--rtl":p});return it(c)?c({position:N,rtl:p,defaultClassName:C}):hn(C,ts(c))}function g(){n&&(i(!0),ae.play())}return H0(()=>{if(n){var N;const C=s.current.querySelectorAll('[data-in="true"]'),h=12,v=(N=t.position)==null?void 0:N.includes("top");let m=0,x=0;Array.from(C).reverse().forEach((E,_)=>{const O=E;O.classList.add("Toastify__toast--stacked"),_>0&&(O.dataset.collapsed=`${o}`),O.dataset.pos||(O.dataset.pos=v?"top":"bot");const P=m*(o?.2:1)+(o?0:h*_);O.style.setProperty("--y",`${v?P:-1*P}px`),O.style.setProperty("--g",`${h}`),O.style.setProperty("--s",""+(1-(o?x:0))),m+=O.offsetHeight,x+=.025})}},[o,u,n]),I.createElement("div",{ref:s,className:"Toastify",id:y,onMouseEnter:()=>{n&&(i(!1),ae.pause())},onMouseLeave:g},a((N,C)=>{const h=C.length?{...d}:{...d,pointerEvents:"none"};return I.createElement("div",{className:b(N),style:h,key:`container-${N}`},C.map(v=>{let{content:m,props:x}=v;return I.createElement(Y0,{...x,stacked:n,collapseAll:g,isIn:l(x.toastId,x.containerId),style:x.style,key:`toast-${x.key}`},m)}))}))}const He=()=>{const e=new Date().getFullYear();return r.jsx(r.Fragment,{children:r.jsxs("div",{children:[r.jsx("div",{className:"footer_section layout_padding",children:r.jsxs("div",{className:"container",children:[r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-md-12"})}),r.jsx("div",{className:"footer_section_2",children:r.jsxs("div",{className:"row",children:[r.jsxs("div",{className:"col-md-4",children:[r.jsx("h2",{className:"useful_text",children:"QUICK LINKS"}),r.jsx("div",{className:"footer_menu",children:r.jsxs("ul",{children:[r.jsx("li",{children:r.jsx(ge,{to:"/",className:"link-primary text-decoration-none",children:"Home"})}),r.jsx("li",{children:r.jsx(ge,{to:"/about",className:"link-primary text-decoration-none",children:"About"})}),r.jsx("li",{children:r.jsx(ge,{to:"/services",className:"link-primary text-decoration-none",children:"Services"})}),r.jsx("li",{children:r.jsx(ge,{to:"/contact",className:"link-primary text-decoration-none",children:"Contact Us"})})]})})]}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("h2",{className:"useful_text",children:"Work Portfolio"}),r.jsx("p",{className:"lorem_text",children:"It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem"})]}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("h2",{className:"useful_text",children:"SIGN UP TO OUR NEWSLETTER"}),r.jsxs("div",{className:"form-group",children:[r.jsx("textarea",{className:"update_mail",placeholder:"Enter Your Email",rows:5,id:"comment",name:"Enter Your Email",defaultValue:""}),r.jsx("div",{className:"subscribe_bt",children:r.jsx("a",{href:"#",children:"Subscribe"})})]})]})]})}),r.jsx("div",{className:"social_icon",children:r.jsxs("ul",{children:[r.jsx("li",{children:r.jsx("a",{href:"#",children:r.jsx("i",{className:"fa fa-facebook","aria-hidden":"true"})})}),r.jsx("li",{children:r.jsx("a",{href:"#",children:r.jsx("i",{className:"fa fa-twitter","aria-hidden":"true"})})}),r.jsx("li",{children:r.jsx("a",{href:"#",children:r.jsx("i",{className:"fa fa-linkedin","aria-hidden":"true"})})}),r.jsx("li",{children:r.jsx("a",{href:"#",children:r.jsx("i",{className:"fa fa-instagram","aria-hidden":"true"})})})]})})]})}),r.jsx("div",{className:"copyright_section",children:r.jsx("div",{className:"container",children:r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-sm-12",children:r.jsxs("p",{className:"copyright_text",children:[e," All Rights Reserved."]})})})})})]})})},J0="/assets/logo-Cb1x1exd.png",Ae=()=>{var i,s;const{user:e}=tt(a=>({...a.auth})),t=Pt(),n=Vr(),o=()=>{t(Tj()),n("/")};return r.jsx(r.Fragment,{children:r.jsx("div",{className:"navbar navbar-expand-lg w-100",style:{backgroundColor:"#000000",position:"fixed",top:0,left:0,right:0,zIndex:1e3},children:r.jsxs("div",{className:"container-fluid d-flex align-items-center justify-content-between",children:[r.jsxs("div",{className:"d-flex align-items-center",children:[r.jsx("img",{src:J0,alt:"logo",width:"75",height:"75",className:"img-fluid"}),r.jsx("p",{style:{display:"inline-block",fontStyle:"italic",fontSize:"14px",color:"white",margin:"0 0 0 10px"}})]}),r.jsxs("div",{className:"collapse navbar-collapse",id:"navbarSupportedContent",children:[r.jsxs("ul",{className:"navbar-nav ml-auto",children:[r.jsx("li",{className:"nav-item active",children:r.jsx(ge,{to:"/",className:"nav-link",style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:"Home"})}),r.jsx("li",{className:"nav-item",children:r.jsx(ge,{to:"/services",className:"nav-link",style:{fontSize:"20px",fontWeight:"normal"},children:"Services"})}),r.jsx("li",{className:"nav-item",children:r.jsx(ge,{to:"/searchmyproperties",className:"nav-link",style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:"Search Database"})}),r.jsx("li",{className:"nav-item",children:r.jsx(ge,{to:"/about",className:"nav-link",style:{fontSize:"20px",fontWeight:"normal"},children:"About"})}),r.jsx("li",{className:"nav-item",children:r.jsx(ge,{to:"/searchproperties",className:"nav-link",style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:"Search properties"})}),r.jsx("li",{className:"nav-item",children:r.jsx(ge,{to:"/contact",className:"nav-link",style:{fontSize:"20px",fontWeight:"normal"},children:"Contact"})})]}),(i=e==null?void 0:e.result)!=null&&i._id?r.jsx(ge,{to:"/dashboard",style:{fontWeight:"bold"},children:"Dashboard"}):r.jsx(ge,{to:"/register",className:"nav-link",style:{fontWeight:"bold"},children:"Register"}),(s=e==null?void 0:e.result)!=null&&s._id?r.jsx(ge,{to:"/login",children:r.jsx("p",{className:"header-text",onClick:o,style:{fontWeight:"bold"},children:"Logout"})}):r.jsx(ge,{to:"/login",className:"nav-link",style:{fontWeight:"bold"},children:"Login"})]})]})})})},X0=()=>r.jsxs(r.Fragment,{children:[r.jsx(Ae,{}),r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{}),r.jsxs("div",{children:[r.jsx("div",{className:"header_section",children:r.jsx("div",{className:"banner_section layout_padding",children:r.jsxs("div",{id:"my_slider",className:"carousel slide","data-ride":"carousel",children:[r.jsxs("div",{className:"carousel-inner",children:[r.jsx("div",{className:"carousel-item active",children:r.jsx("div",{className:"container",children:r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-sm-12",children:r.jsxs("div",{className:"banner_taital_main",children:[r.jsx("h1",{className:"banner_taital",children:"Reinventing real estate investment"}),r.jsxs("p",{className:"banner_text",children:["Owners/operators, and real estate investment firms to excel in what they do best: finding new opportunities"," "]}),r.jsxs("div",{className:"btn_main",children:[r.jsx("div",{className:"started_text active",children:r.jsx("a",{href:"#",children:"Contact US"})}),r.jsx("div",{className:"started_text",children:r.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),r.jsx("div",{className:"carousel-item",children:r.jsx("div",{className:"container",children:r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-sm-12",children:r.jsxs("div",{className:"banner_taital_main",children:[r.jsx("h1",{className:"banner_taital",children:"streamline investment management"}),r.jsxs("p",{className:"banner_text",children:["Best possible experience to our customers and their investors."," "]}),r.jsxs("div",{className:"btn_main",children:[r.jsx("div",{className:"started_text active",children:r.jsx("a",{href:"#",children:"Contact US"})}),r.jsx("div",{className:"started_text",children:r.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),r.jsx("div",{className:"carousel-item",children:r.jsx("div",{className:"container",children:r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-sm-12",children:r.jsxs("div",{className:"banner_taital_main",children:[r.jsx("h1",{className:"banner_taital",children:"Increase your efficiency and security"}),r.jsxs("p",{className:"banner_text",children:["All-in-one real estate investment management platform with 100% security tools"," "]}),r.jsxs("div",{className:"btn_main",children:[r.jsx("div",{className:"started_text active",children:r.jsx("a",{href:"#",children:"Contact US"})}),r.jsx("div",{className:"started_text",children:r.jsx("a",{href:"#",children:"About Us"})})]})]})})})})})]}),r.jsx("a",{className:"carousel-control-prev",href:"#my_slider",role:"button","data-slide":"prev",children:r.jsx("i",{className:"fa fa-angle-left"})}),r.jsx("a",{className:"carousel-control-next",href:"#my_slider",role:"button","data-slide":"next",children:r.jsx("i",{className:"fa fa-angle-right"})})]})})}),r.jsx("div",{className:"services_section layout_padding",children:r.jsxs("div",{className:"container-fluid",children:[r.jsx("div",{className:"row",children:r.jsxs("div",{className:"col-sm-12",children:[r.jsx("h1",{className:"services_taital",children:"Our Services"}),r.jsx("p",{className:"services_text_1",children:"your documents, always and immediately within reach"})]})}),r.jsx("div",{className:"services_section_2",children:r.jsxs("div",{className:"row",children:[r.jsx("div",{className:"col-lg-3 col-sm-6",children:r.jsxs("div",{className:"box_main active",children:[r.jsx("div",{className:"service_img",children:r.jsx("img",{src:"images/icon-1.png"})}),r.jsx("h4",{className:"development_text",children:"Dedication Services"}),r.jsx("p",{className:"services_text",children:"Real estate investing even on a very small scale remains a tried and true means of building and individual cash flow and wealth"}),r.jsx("div",{className:"readmore_bt",children:r.jsx("a",{href:"#",children:"Read More"})})]})}),r.jsx("div",{className:"col-lg-3 col-sm-6",children:r.jsxs("div",{className:"box_main",children:[r.jsx("div",{className:"service_img",children:r.jsx("img",{src:"images/icon-2.png"})}),r.jsx("h4",{className:"development_text",children:"Building work Reports"}),r.jsx("p",{className:"services_text",children:"Deliver all the reports your investors need. Eliminate manual work and human errors with automatic distribution and allocation"}),r.jsx("div",{className:"readmore_bt",children:r.jsx("a",{href:"#",children:"Read More"})})]})}),r.jsx("div",{className:"col-lg-3 col-sm-6",children:r.jsxs("div",{className:"box_main",children:[r.jsx("div",{className:"service_img",children:r.jsx("img",{src:"images/icon-3.png"})}),r.jsx("h4",{className:"development_text",children:"Reporting continuously"}),r.jsx("p",{className:"services_text",children:"Streamlining investor interactions, gaining complete visibility into your data, and using smart filters to create automatic workflows"}),r.jsx("div",{className:"readmore_bt",children:r.jsx("a",{href:"#",children:"Read More"})})]})}),r.jsx("div",{className:"col-lg-3 col-sm-6",children:r.jsxs("div",{className:"box_main",children:[r.jsx("div",{className:"service_img",children:r.jsx("img",{src:"images/icon-4.png"})}),r.jsx("h4",{className:"development_text",children:"Manage your investment "}),r.jsx("p",{className:"services_text",children:"We offer a comprehensive set of tools and services to fully facilitate all your real estate investment management needs"}),r.jsx("div",{className:"readmore_bt",children:r.jsx("a",{href:"#",children:"Read More"})})]})})]})})]})})]}),r.jsx(He,{})]}),Z0=()=>r.jsxs(r.Fragment,{children:[r.jsx(Ae,{}),r.jsxs("div",{className:"about_section layout_padding",children:[r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{}),r.jsx("div",{className:"container",children:r.jsxs("div",{className:"row",children:[r.jsxs("div",{className:"col-md-6",children:[r.jsx("h1",{className:"about_taital",children:"About Us"}),r.jsxs("p",{className:"about_text",children:["There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All"," "]}),r.jsx("div",{className:"read_bt_1",children:r.jsx("a",{href:"#",children:"Read More"})})]}),r.jsx("div",{className:"col-md-6",children:r.jsx("div",{className:"about_img",children:r.jsx("div",{className:"video_bt",children:r.jsx("div",{className:"play_icon",children:r.jsx("img",{src:"images/play-icon.png"})})})})})]})}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{})]}),r.jsx(He,{})]}),eN=()=>r.jsxs(r.Fragment,{children:[r.jsx(Ae,{}),r.jsxs("div",{className:"contact_section layout_padding",children:[r.jsx("div",{className:"container",children:r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-md-12",children:r.jsx("h1",{className:"contact_taital",children:"Contact Us"})})})}),r.jsx("div",{className:"container-fluid",children:r.jsx("div",{className:"contact_section_2",children:r.jsxs("div",{className:"row",children:[r.jsx("div",{className:"col-md-6",children:r.jsx("form",{action:!0,children:r.jsxs("div",{className:"mail_section_1",children:[r.jsx("input",{type:"text",className:"mail_text",placeholder:"Name",name:"Name"}),r.jsx("input",{type:"text",className:"mail_text",placeholder:"Phone Number",name:"Phone Number"}),r.jsx("input",{type:"text",className:"mail_text",placeholder:"Email",name:"Email"}),r.jsx("textarea",{className:"massage-bt",placeholder:"Massage",rows:5,id:"comment",name:"Massage",defaultValue:""}),r.jsx("div",{className:"send_bt",children:r.jsx("a",{href:"#",children:"SEND"})})]})})}),r.jsx("div",{className:"col-md-6 padding_left_15",children:r.jsx("div",{className:"contact_img",children:r.jsx("img",{src:"images/contact-img.png"})})})]})})})]}),r.jsx(He,{})]});var $t=function(){return $t=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},$t.apply(this,arguments)};function tN(e){var t,n,o,i,s,a=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),l=(n=e.fill)!==null&&n!==void 0?n:"#fff",u=(o=e.stroke)!==null&&o!==void 0?o:"transparent",c=e.fillOpacity,d=e.strokeOpacity;return I.createElement("svg",$t({},$t($t({},e),{className:e.className?"icon-loading ".concat(e.className):"icon-loading",fill:void 0,fillOpacity:void 0,height:(i=e.height)!==null&&i!==void 0?i:80,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(s=e.width)!==null&&s!==void 0?s:55}),{viewBox:"0 0 55 80"}),I.createElement("g",{transform:"matrix(1 0 0 -1 0 80)"},I.createElement("rect",$t({width:10,height:20,rx:3},{fill:l,stroke:u,fillOpacity:c,strokeOpacity:d}),I.createElement("animate",{attributeName:"height",begin:"0s",dur:"".concat(4.3/a,"s"),values:"20;45;57;80;64;32;66;45;64;23;66;13;64;56;34;34;2;23;76;79;20",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("rect",$t({x:15,width:10,height:80,rx:3},{fill:l,stroke:u,fillOpacity:c,strokeOpacity:d}),I.createElement("animate",{attributeName:"height",begin:"0s",dur:"".concat(2/a,"s"),values:"80;55;33;5;75;23;73;33;12;14;60;80",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("rect",$t({x:30,width:10,height:50,rx:3},{fill:l,stroke:u,fillOpacity:c,strokeOpacity:d}),I.createElement("animate",{attributeName:"height",begin:"0s",dur:"".concat(1.4/a,"s"),values:"50;34;78;23;56;23;34;76;80;54;21;50",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("rect",$t({x:45,width:10,height:30,rx:3},{fill:l,stroke:u,fillOpacity:c,strokeOpacity:d}),I.createElement("animate",{attributeName:"height",begin:"0s",dur:"".concat(2/a,"s"),values:"30;45;13;80;56;72;45;76;34;23;67;30",calcMode:"linear",repeatCount:"indefinite"}))))}var an=function(){return an=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},an.apply(this,arguments)};function nN(e){var t,n,o,i,s=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),a=e.fill,l=(n=e.stroke)!==null&&n!==void 0?n:"#fff",u=e.fillOpacity,c=e.strokeOpacity;return I.createElement("svg",an({},an(an({},e),{className:e.className?"icon-loading ".concat(e.className):"icon-loading",fill:void 0,fillOpacity:void 0,height:(o=e.height)!==null&&o!==void 0?o:57,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(i=e.width)!==null&&i!==void 0?i:57}),{viewBox:"0 0 57 57"}),I.createElement("g",{transform:"translate(1 1)",strokeWidth:2,fill:"none",fillRule:"evenodd"},I.createElement("circle",an({cx:5,cy:50,r:5},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"cy",begin:"0s",dur:"".concat(2.2/s,"s"),values:"50;5;50;50",calcMode:"linear",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"cx",begin:"0s",dur:"".concat(2.2/s,"s"),values:"5;27;49;5",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",an({cx:27,cy:5,r:5},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"cy",begin:"0s",dur:"".concat(2.2/s,"s"),from:5,to:5,values:"5;50;50;5",calcMode:"linear",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"cx",begin:"0s",dur:"".concat(2.2/s,"s"),from:27,to:27,values:"27;49;5;27",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",an({cx:49,cy:50,r:5},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"cy",begin:"0s",dur:"".concat(2.2/s,"s"),values:"50;50;5;50",calcMode:"linear",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"cx",from:49,to:49,begin:"0s",dur:"".concat(2.2/s,"s"),values:"49;5;27;49",calcMode:"linear",repeatCount:"indefinite"}))))}var It=function(){return It=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},It.apply(this,arguments)};function rN(e){var t,n,o,i,s=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),a=(n=e.fill)!==null&&n!==void 0?n:"#fff",l=e.stroke,u=e.fillOpacity,c=e.strokeOpacity;return I.createElement("svg",It({},It(It({},e),{className:e.className?"icon-loading ".concat(e.className):"icon-loading",fill:void 0,fillOpacity:void 0,height:(o=e.height)!==null&&o!==void 0?o:140,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(i=e.width)!==null&&i!==void 0?i:135}),{viewBox:"0 0 135 140"}),I.createElement("rect",It({y:10,width:15,height:120,rx:6},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"height",begin:"0.5s",dur:"".concat(1/s,"s"),values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"y",begin:"0.5s",dur:"".concat(1/s,"s"),values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("rect",It({x:30,y:10,width:15,height:120,rx:6},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"height",begin:"0.25s",dur:"".concat(1/s,"s"),values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"y",begin:"0.25s",dur:"".concat(1/s,"s"),values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("rect",It({x:60,width:15,height:140,rx:6},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"height",begin:"0s",dur:"".concat(1/s,"s"),values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"y",begin:"0s",dur:"".concat(1/s,"s"),values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("rect",It({x:90,y:10,width:15,height:120,rx:6},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"height",begin:"0.25s",dur:"".concat(1/s,"s"),values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"y",begin:"0.25s",dur:"".concat(1/s,"s"),values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("rect",It({x:120,y:10,width:15,height:120,rx:6},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"height",begin:"0.5s",dur:"".concat(1/s,"s"),values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"y",begin:"0.5s",dur:"".concat(1/s,"s"),values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})))}var Bn=function(){return Bn=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Bn.apply(this,arguments)};function oN(e){var t,n,o,i,s=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),a=(n=e.fill)!==null&&n!==void 0?n:"#fff",l=e.stroke,u=e.fillOpacity,c=e.strokeOpacity;return I.createElement("svg",Bn({},Bn(Bn({},e),{className:e.className?"icon-loading ".concat(e.className):"icon-loading",fill:void 0,fillOpacity:void 0,height:(o=e.height)!==null&&o!==void 0?o:135,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(i=e.width)!==null&&i!==void 0?i:135}),{viewBox:"0 0 135 135"}),I.createElement("path",Bn({d:"M67.447 58c5.523 0 10-4.477 10-10s-4.477-10-10-10-10 4.477-10 10 4.477 10 10 10zm9.448 9.447c0 5.523 4.477 10 10 10 5.522 0 10-4.477 10-10s-4.478-10-10-10c-5.523 0-10 4.477-10 10zm-9.448 9.448c-5.523 0-10 4.477-10 10 0 5.522 4.477 10 10 10s10-4.478 10-10c0-5.523-4.477-10-10-10zM58 67.447c0-5.523-4.477-10-10-10s-10 4.477-10 10 4.477 10 10 10 10-4.477 10-10z"},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 67 67",to:"-360 67 67",dur:"".concat(2.5/s,"s"),repeatCount:"indefinite"})),I.createElement("path",Bn({d:"M28.19 40.31c6.627 0 12-5.374 12-12 0-6.628-5.373-12-12-12-6.628 0-12 5.372-12 12 0 6.626 5.372 12 12 12zm30.72-19.825c4.686 4.687 12.284 4.687 16.97 0 4.686-4.686 4.686-12.284 0-16.97-4.686-4.687-12.284-4.687-16.97 0-4.687 4.686-4.687 12.284 0 16.97zm35.74 7.705c0 6.627 5.37 12 12 12 6.626 0 12-5.373 12-12 0-6.628-5.374-12-12-12-6.63 0-12 5.372-12 12zm19.822 30.72c-4.686 4.686-4.686 12.284 0 16.97 4.687 4.686 12.285 4.686 16.97 0 4.687-4.686 4.687-12.284 0-16.97-4.685-4.687-12.283-4.687-16.97 0zm-7.704 35.74c-6.627 0-12 5.37-12 12 0 6.626 5.373 12 12 12s12-5.374 12-12c0-6.63-5.373-12-12-12zm-30.72 19.822c-4.686-4.686-12.284-4.686-16.97 0-4.686 4.687-4.686 12.285 0 16.97 4.686 4.687 12.284 4.687 16.97 0 4.687-4.685 4.687-12.283 0-16.97zm-35.74-7.704c0-6.627-5.372-12-12-12-6.626 0-12 5.373-12 12s5.374 12 12 12c6.628 0 12-5.373 12-12zm-19.823-30.72c4.687-4.686 4.687-12.284 0-16.97-4.686-4.686-12.284-4.686-16.97 0-4.687 4.686-4.687 12.284 0 16.97 4.686 4.687 12.284 4.687 16.97 0z"},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 67 67",to:"360 67 67",dur:"".concat(8/s,"s"),repeatCount:"indefinite"})))}var Ye=function(){return Ye=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Ye.apply(this,arguments)};function iN(e){var t,n,o,i,s=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),a=(n=e.fill)!==null&&n!==void 0?n:"#fff",l=e.stroke,u=e.fillOpacity,c=e.strokeOpacity;return I.createElement("svg",Ye({},Ye(Ye({},e),{className:e.className?"icon-loading ".concat(e.className):"icon-loading",fill:void 0,fillOpacity:void 0,height:(o=e.height)!==null&&o!==void 0?o:105,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(i=e.width)!==null&&i!==void 0?i:105}),{viewBox:"0 0 105 105"}),I.createElement("circle",Ye({cx:12.5,cy:12.5,r:12.5},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"".concat(1/s,"s"),values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",Ye({cx:12.5,cy:52.5,r:12.5},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"fill-opacity",begin:"100ms",dur:"".concat(1/s,"s"),values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",Ye({cx:52.5,cy:12.5,r:12.5},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"fill-opacity",begin:"300ms",dur:"".concat(1/s,"s"),values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",Ye({cx:52.5,cy:52.5,r:12.5},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"fill-opacity",begin:"600ms",dur:"".concat(1/s,"s"),values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",Ye({cx:92.5,cy:12.5,r:12.5},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"fill-opacity",begin:"800ms",dur:"".concat(1/s,"s"),values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",Ye({cx:92.5,cy:52.5,r:12.5},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"fill-opacity",begin:"400ms",dur:"".concat(1/s,"s"),values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",Ye({cx:12.5,cy:92.5,r:12.5},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"fill-opacity",begin:"700ms",dur:"".concat(1/s,"s"),values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",Ye({cx:52.5,cy:92.5,r:12.5},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"fill-opacity",begin:"500ms",dur:"".concat(1/s,"s"),values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",Ye({cx:92.5,cy:92.5,r:12.5},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"fill-opacity",begin:"200ms",dur:"".concat(1/s,"s"),values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})))}var ln=function(){return ln=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},ln.apply(this,arguments)};function sN(e){var t,n,o,i,s=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),a=(n=e.fill)!==null&&n!==void 0?n:"#fff",l=e.stroke,u=e.fillOpacity;return I.createElement("svg",ln({},ln(ln({},e),{className:e.className?"icon-loading ".concat(e.className):"icon-loading",fill:void 0,fillOpacity:void 0,height:(o=e.height)!==null&&o!==void 0?o:64,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(i=e.width)!==null&&i!==void 0?i:140}),{viewBox:"0 0 140 64"}),I.createElement("path",ln({d:"M30.262 57.02L7.195 40.723c-5.84-3.976-7.56-12.06-3.842-18.063 3.715-6 11.467-7.65 17.306-3.68l4.52 3.76 2.6-5.274c3.717-6.002 11.47-7.65 17.305-3.68 5.84 3.97 7.56 12.054 3.842 18.062L34.49 56.118c-.897 1.512-2.793 1.915-4.228.9z",fillOpacity:u},{fill:a,stroke:l}),I.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"".concat(1.4/s,"s"),values:"0.5;1;0.5",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("path",ln({d:"M105.512 56.12l-14.44-24.272c-3.716-6.008-1.996-14.093 3.843-18.062 5.835-3.97 13.588-2.322 17.306 3.68l2.6 5.274 4.52-3.76c5.84-3.97 13.592-2.32 17.307 3.68 3.718 6.003 1.998 14.088-3.842 18.064L109.74 57.02c-1.434 1.014-3.33.61-4.228-.9z",fillOpacity:u},{fill:a,stroke:l}),I.createElement("animate",{attributeName:"fill-opacity",begin:"0.7s",dur:"".concat(1.4/s,"s"),values:"0.5;1;0.5",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("path",ln({d:"M67.408 57.834l-23.01-24.98c-5.864-6.15-5.864-16.108 0-22.248 5.86-6.14 15.37-6.14 21.234 0L70 16.168l4.368-5.562c5.863-6.14 15.375-6.14 21.235 0 5.863 6.14 5.863 16.098 0 22.247l-23.007 24.98c-1.43 1.556-3.757 1.556-5.188 0z"},{fill:a,stroke:l})))}var xr=function(){return xr=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},xr.apply(this,arguments)};function aN(e){var t,n,o,i,s,a=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),l=(n=e.stroke)!==null&&n!==void 0?n:"#fff",u=(o=e.strokeWidth)!==null&&o!==void 0?o:2,c=e.strokeOpacity;return I.createElement("svg",xr({},xr(xr({},e),{className:e.className?"icon-loading ".concat(e.className):"icon-loading",fill:void 0,fillOpacity:void 0,height:(i=e.height)!==null&&i!==void 0?i:38,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(s=e.width)!==null&&s!==void 0?s:38}),{viewBox:"0 0 38 38",overflow:"visible"}),I.createElement("g",xr({transform:"translate(1 1)",fill:"none",fillRule:"evenodd"},{stroke:l,strokeWidth:u,strokeOpacity:c}),I.createElement("circle",{strokeOpacity:.5,cx:18,cy:18,r:18}),I.createElement("path",{d:"M36 18c0-9.94-8.06-18-18-18"},I.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"".concat(1/a,"s"),repeatCount:"indefinite"}))))}var jr=function(){return jr=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},jr.apply(this,arguments)};function lN(e){var t,n,o,i,s,a=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),l=(n=e.stroke)!==null&&n!==void 0?n:"#fff",u=(o=e.strokeWidth)!==null&&o!==void 0?o:2,c=e.strokeOpacity;return I.createElement("svg",jr({},jr(jr({},e),{className:e.className?"icon-loading ".concat(e.className):"icon-loading",fill:void 0,fillOpacity:void 0,height:(i=e.height)!==null&&i!==void 0?i:44,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(s=e.width)!==null&&s!==void 0?s:44}),{viewBox:"0 0 44 44"}),I.createElement("g",jr({fill:"none",fillRule:"evenodd"},{stroke:l,strokeWidth:u,strokeOpacity:c}),I.createElement("circle",{cx:22,cy:22,r:1},I.createElement("animate",{attributeName:"r",begin:"0s",dur:"".concat(1.8/a,"s"),values:"1; 20",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.165, 0.84, 0.44, 1",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"stroke-opacity",begin:"0s",dur:"".concat(1.8/a,"s"),values:"1; 0",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.3, 0.61, 0.355, 1",repeatCount:"indefinite"})),I.createElement("circle",{cx:22,cy:22,r:1},I.createElement("animate",{attributeName:"r",begin:"-0.9s",dur:"".concat(1.8/a,"s"),values:"1; 20",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.165, 0.84, 0.44, 1",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"stroke-opacity",begin:"-0.9s",dur:"".concat(1.8/a,"s"),values:"1; 0",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.3, 0.61, 0.355, 1",repeatCount:"indefinite"}))))}var Nr=function(){return Nr=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Nr.apply(this,arguments)};function cN(e){var t,n,o,i,s,a=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),l=(n=e.stroke)!==null&&n!==void 0?n:"#fff",u=(o=e.strokeWidth)!==null&&o!==void 0?o:2,c=e.strokeOpacity;return I.createElement("svg",Nr({},Nr(Nr({},e),{className:e.className?"icon-loading ".concat(e.className):"icon-loading",fill:void 0,fillOpacity:void 0,height:(i=e.height)!==null&&i!==void 0?i:45,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(s=e.width)!==null&&s!==void 0?s:45}),{viewBox:"0 0 45 45"}),I.createElement("g",Nr({fill:"none",fillRule:"evenodd",transform:"translate(1 1)"},{stroke:l,strokeWidth:u,strokeOpacity:c}),I.createElement("circle",{cx:22,cy:22,r:6},I.createElement("animate",{attributeName:"r",begin:"1.5s",dur:"".concat(3/a,"s"),values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"".concat(3/a,"s"),values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"".concat(3/a,"s"),values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",{cx:22,cy:22,r:6},I.createElement("animate",{attributeName:"r",begin:"3s",dur:"".concat(3/a,"s"),values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"".concat(3/a,"s"),values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"stroke-width",begin:"3s",dur:"".concat(3/a,"s"),values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",{cx:22,cy:22,r:8},I.createElement("animate",{attributeName:"r",begin:"0s",dur:"".concat(1.5/a,"s"),values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"}))))}var Cr=function(){return Cr=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Cr.apply(this,arguments)};function uN(e){var t,n,o,i,s=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),a=(n=e.fill)!==null&&n!==void 0?n:"#fff",l=e.stroke,u=e.fillOpacity,c=e.strokeOpacity;return I.createElement("svg",Cr({},Cr(Cr({},e),{className:e.className?"icon-loading ".concat(e.className):"icon-loading",fill:void 0,fillOpacity:void 0,height:(o=e.height)!==null&&o!==void 0?o:58,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(i=e.width)!==null&&i!==void 0?i:58}),{viewBox:"0 0 58 58"}),I.createElement("g",Cr({transform:"translate(2 1)",fillRule:"evenodd"},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("circle",{cx:42.601,cy:11.462,r:5},I.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"".concat(1.3/s,"s"),values:"1;0;0;0;0;0;0;0",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",{cx:49.063,cy:27.063,r:5,fillOpacity:0},I.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"".concat(1.3/s,"s"),values:"0;1;0;0;0;0;0;0",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",{cx:42.601,cy:42.663,r:5,fillOpacity:0},I.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"".concat(1.3/s,"s"),values:"0;0;1;0;0;0;0;0",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",{cx:27,cy:49.125,r:5,fillOpacity:0},I.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"".concat(1.3/s,"s"),values:"0;0;0;1;0;0;0;0",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",{cx:11.399,cy:42.663,r:5,fillOpacity:0},I.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"".concat(1.3/s,"s"),values:"0;0;0;0;1;0;0;0",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",{cx:4.938,cy:27.063,r:5,fillOpacity:0},I.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"".concat(1.3/s,"s"),values:"0;0;0;0;0;1;0;0",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",{cx:11.399,cy:11.462,r:5,fillOpacity:0},I.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"".concat(1.3/s,"s"),values:"0;0;0;0;0;0;1;0",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",{cx:27,cy:5,r:5,fillOpacity:0},I.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"".concat(1.3/s,"s"),values:"0;0;0;0;0;0;0;1",calcMode:"linear",repeatCount:"indefinite"}))))}var br=function(){return br=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},br.apply(this,arguments)};function dN(e){var t,n,o,i,s,a=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),l=(n=e.stroke)!==null&&n!==void 0?n:"#fff",u=(o=e.strokeWidth)!==null&&o!==void 0?o:2,c=e.strokeOpacity;return I.createElement("svg",br({},br(br({},e),{className:e.className?"icon-loading ".concat(e.className):"icon-loading",fill:void 0,fillOpacity:void 0,height:(i=e.height)!==null&&i!==void 0?i:38,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(s=e.width)!==null&&s!==void 0?s:38}),{viewBox:"0 0 38 38"}),I.createElement("defs",null,I.createElement("linearGradient",{x1:"8.042%",y1:"0%",x2:"65.682%",y2:"23.865%",id:"prefix__a"},I.createElement("stop",{stopOpacity:0,offset:"0%"}),I.createElement("stop",{stopOpacity:.631,offset:"63.146%"}),I.createElement("stop",{offset:"100%"}))),I.createElement("g",{transform:"translate(1 1)",fill:"none",fillRule:"evenodd"},I.createElement("path",br({d:"M36 18c0-9.94-8.06-18-18-18"},{stroke:l,strokeWidth:u,strokeOpacity:c}),I.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"".concat(.9/a,"s"),repeatCount:"indefinite"})),I.createElement("circle",{cx:36,cy:18,r:1},I.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"".concat(.9/a,"s"),repeatCount:"indefinite"}))))}var cn=function(){return cn=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},cn.apply(this,arguments)};function fN(e){var t,n,o,i,s=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),a=(n=e.fill)!==null&&n!==void 0?n:"#fff",l=e.stroke,u=e.fillOpacity,c=e.strokeOpacity;return I.createElement("svg",cn({},cn(cn({},e),{className:e.className?"icon-loading ".concat(e.className):"icon-loading",fill:void 0,fillOpacity:void 0,height:(o=e.height)!==null&&o!==void 0?o:30,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(i=e.width)!==null&&i!==void 0?i:120}),{viewBox:"0 0 120 30"}),I.createElement("circle",cn({cx:15,cy:15,r:15},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"r",from:15,to:15,begin:"0s",dur:"".concat(.8/s,"s"),values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"fill-opacity",from:1,to:1,begin:"0s",dur:"".concat(.8/s,"s"),values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",cn({cx:60,cy:15,r:9},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"r",from:9,to:9,begin:"0s",dur:"".concat(.8/s,"s"),values:"9;15;9",calcMode:"linear",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"fill-opacity",from:.5,to:.5,begin:"0s",dur:"".concat(.8/s,"s"),values:".5;1;.5",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",cn({cx:105,cy:15,r:15},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"r",from:15,to:15,begin:"0s",dur:"".concat(.8/s,"s"),values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"fill-opacity",from:1,to:1,begin:"0s",dur:"".concat(.8/s,"s"),values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})))}var pN=tN,mN=nN,hN=rN,vN=oN,gN=iN,yN=sN,xN=aN,jN=lN,NN=cN,CN=uN,bN=dN,wN=fN,qh={Audio:pN,BallTriangle:mN,Bars:hN,Circles:vN,Grid:gN,Hearts:yN,Oval:xN,Puff:jN,Rings:NN,SpinningCircles:CN,TailSpin:bN,ThreeDots:wN};const SN={title:"None",firstName:"",middleName:"",lastName:"",email:"",password:"",confirmPassword:"",termsconditions:"",userType:""},kN=()=>{const[e,t]=R.useState(SN),[n,o]=R.useState(!1),{loading:i,error:s}=tt(E=>({...E.auth})),{title:a,email:l,password:u,firstName:c,middleName:d,lastName:p,confirmPassword:y,termsconditions:b,userType:g}=e,N=Pt(),C=Vr();R.useEffect(()=>{s&&ae.error(s)},[s]),R.useEffect(()=>{o(a!=="None"&&l&&u&&c&&d&&p&&y&&b&&g!=="")},[a,l,u,c,d,p,y,b,g]);const h=E=>{if(E.preventDefault(),u!==y)return ae.error("Password should match");n?N(Ki({formValue:e,navigate:C,toast:ae})):ae.error("Please fill in all fields and select all checkboxes")},v=E=>E.charAt(0).toUpperCase()+E.slice(1),m=E=>{const{name:_,value:O,type:P,checked:M}=E.target;t(P==="checkbox"?W=>({...W,[_]:M}):W=>({...W,[_]:_==="email"||_==="password"||_==="confirmPassword"?O:v(O)}))},x=E=>{t(_=>({..._,userType:E.target.value}))};return r.jsxs(r.Fragment,{children:[r.jsx(Ae,{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("section",{className:"card",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:r.jsx("div",{className:"container-fluid px-0",children:r.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[r.jsx("div",{className:"col-12 col-md-0 col-xl-20 text-center text-md-start"}),r.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:r.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:r.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-12",children:r.jsxs("div",{className:"mb-4",children:[r.jsx("h2",{className:"h3",children:"Registration"}),r.jsx("h3",{style:{color:"red"},children:'All fields are mandatory to enable "Sign up"'}),r.jsx("hr",{})]})})}),r.jsx("form",{onSubmit:h,children:r.jsxs("div",{className:"row gy-3 overflow-hidden",children:[r.jsx("div",{className:"col-12",children:r.jsxs("div",{className:"form-floating mb-3",children:[r.jsxs("label",{className:"form-label",children:["Please select the role. ",r.jsx("br",{}),r.jsx("br",{})]}),r.jsxs("div",{className:"form-check form-check-inline",children:[r.jsx("input",{className:"form-check-input",type:"radio",name:"userType",value:"Lender",checked:g==="Lender",onChange:x,required:!0}),r.jsx("label",{className:"form-check-label",children:"Lender"})]}),r.jsxs("div",{className:"form-check form-check-inline",children:[r.jsx("input",{className:"form-check-input",type:"radio",name:"userType",value:"Borrower",checked:g==="Borrower",onChange:x,required:!0}),r.jsxs("label",{className:"form-check-label",children:["Borrower"," "]}),r.jsx("br",{}),r.jsx("br",{})]})]})}),r.jsxs("div",{className:"col-12",children:[r.jsxs("select",{className:"form-floating mb-3 form-control","aria-label":"Default select example",name:"title",value:a,onChange:m,children:[r.jsx("option",{value:"None",children:"Please Select Title"}),r.jsx("option",{value:"Dr",children:"Dr"}),r.jsx("option",{value:"Prof",children:"Prof"}),r.jsx("option",{value:"Mr",children:"Mr"}),r.jsx("option",{value:"Miss",children:"Miss"})]}),r.jsx("br",{})]}),r.jsx("div",{className:"col-12",children:r.jsxs("div",{className:"form-floating mb-3",children:[r.jsx("input",{type:"text",className:"form-control",value:c,name:"firstName",onChange:m,placeholder:"First Name",required:"required"}),r.jsx("label",{htmlFor:"firstName",className:"form-label",children:"First Name"})]})}),r.jsx("div",{className:"col-12",children:r.jsxs("div",{className:"form-floating mb-3",children:[r.jsx("input",{type:"text",className:"form-control",value:d,name:"middleName",onChange:m,placeholder:"Middle Name",required:"required"}),r.jsx("label",{htmlFor:"middleName",className:"form-label",children:"Middle Name"})]})}),r.jsx("div",{className:"col-12",children:r.jsxs("div",{className:"form-floating mb-3",children:[r.jsx("input",{type:"text",className:"form-control",value:p,name:"lastName",onChange:m,placeholder:"Last Name",required:"required"}),r.jsx("label",{htmlFor:"lastName",className:"form-label",children:"Last Name"})]})}),r.jsx("div",{className:"col-12",children:r.jsxs("div",{className:"form-floating mb-3",children:[r.jsx("input",{type:"email",className:"form-control",value:l,name:"email",onChange:m,placeholder:"name@example.com",required:"required"}),r.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),r.jsx("div",{className:"col-12",children:r.jsxs("div",{className:"form-floating mb-3",children:[r.jsx("input",{type:"password",className:"form-control",value:u,name:"password",onChange:m,placeholder:"Password",required:"required"}),r.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),r.jsx("div",{className:"col-12",children:r.jsxs("div",{className:"form-floating mb-3",children:[r.jsx("input",{type:"password",className:"form-control",value:y,name:"confirmPassword",onChange:m,placeholder:"confirmPassword",required:"required"}),r.jsx("label",{htmlFor:"password",className:"form-label",children:"Retype Password"})]})}),r.jsx("div",{className:"col-12",children:r.jsxs("div",{className:"form-check",children:[r.jsx("input",{className:"form-check-input",type:"checkbox",id:"termsconditions",value:b,name:"termsconditions",checked:b,onChange:m,required:!0}),r.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["I agree to the"," ",r.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"terms and conditions"})]})]})}),r.jsx("div",{className:"col-12",children:r.jsx("div",{className:"d-grid",children:r.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},disabled:!n||i,children:[i&&r.jsx(qh.Bars,{}),"Sign up"]})})})]})}),r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-12",children:r.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:r.jsxs("p",{className:"m-0 text-secondary text-center",children:["Already have an account?"," ",r.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"Sign in"})]})})})}),r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-12"})})]})})})]})})}),r.jsx(He,{})]})},EN={email:"",password:""},PN=()=>{const[e,t]=R.useState(EN),{loading:n,error:o}=tt(d=>({...d.auth})),{email:i,password:s}=e,a=Pt(),l=Vr();R.useEffect(()=>{o&&ae.error(o)},[o]);const u=d=>{d.preventDefault(),i&&s&&a(Yi({formValue:e,navigate:l,toast:ae}))},c=d=>{let{name:p,value:y}=d.target;t({...e,[p]:y})};return r.jsxs(r.Fragment,{children:[r.jsx(Ae,{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("section",{className:"py-19 py-md-5 py-xl-8",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:r.jsx("div",{className:"container-fluid px-0",children:r.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[r.jsx("div",{className:"col-12 col-md-6 col-xl-20 text-center text-md-start",children:r.jsx("div",{className:"text-bg-primary",children:r.jsxs("div",{className:"px-4",children:[r.jsx("hr",{className:"border-primary-subtle mb-4"}),r.jsx("p",{className:"lead mb-5",children:"A beautiful, easy-to-use, and secure Investor Portal that gives your investors everything they may need"}),r.jsx("div",{className:"text-endx",children:r.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"currentColor",className:"bi bi-grip-horizontal",viewBox:"0 0 16 16",children:r.jsx("path",{d:"M2 8a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"})})})]})})}),r.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:r.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:r.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-12",children:r.jsx("div",{className:"mb-4",children:r.jsx("h2",{className:"h3",children:"Please Login"})})})}),r.jsx("form",{method:"POST",children:r.jsxs("div",{className:"row gy-3 overflow-hidden",children:[r.jsx("div",{className:"col-12"}),r.jsx("div",{className:"col-12"}),r.jsx("div",{className:"col-12",children:r.jsxs("div",{className:"form-floating mb-3",children:[r.jsx("input",{type:"email",className:"form-control",id:"email",placeholder:"name@example.com",value:i,name:"email",onChange:c,required:!0}),r.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),r.jsx("div",{className:"col-12",children:r.jsxs("div",{className:"form-floating mb-3",children:[r.jsx("input",{type:"password",className:"form-control",id:"password",placeholder:"Password",value:s,name:"password",onChange:c,required:!0}),r.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),r.jsx("div",{className:"col-12",children:r.jsxs("div",{className:"form-check",children:[r.jsx("input",{className:"form-check-input",type:"checkbox",name:"iAgree",id:"iAgree",required:!0}),r.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["Remember me"," "]})]})}),r.jsx("div",{className:"col-12",children:r.jsx("div",{className:"d-grid",children:r.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",name:"signin",value:"Sign in",onClick:u,style:{backgroundColor:"#fda417",border:"#fda417"},children:[n&&r.jsx(qh.Bars,{}),"Sign In"]})})})]})}),r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-12",children:r.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:r.jsxs("p",{className:"m-0 text-secondary text-center",children:["Don't have an account?"," ",r.jsx(ge,{to:"/register",className:"link-primary text-decoration-none",children:"Register"}),r.jsx(ge,{to:"/forgotpassword",className:"nav-link",children:"Forgot Password"})]})})})}),r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-12"})})]})})})]})})}),r.jsx(He,{})]})},ns="/assets/samplepic-BM_cnzgz.jpg";var Vh={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(iv,function(){return function(n){function o(s){if(i[s])return i[s].exports;var a=i[s]={exports:{},id:s,loaded:!1};return n[s].call(a.exports,a,a.exports,o),a.loaded=!0,a.exports}var i={};return o.m=n,o.c=i,o.p="",o(0)}([function(n,o,i){function s(b){return b&&b.__esModule?b:{default:b}}function a(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function l(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!g||typeof g!="object"&&typeof g!="function"?b:g}function u(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}Object.defineProperty(o,"__esModule",{value:!0});var c=function(){function b(g,N){for(var C=0;C<N.length;C++){var h=N[C];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(g,h.key,h)}}return function(g,N,C){return N&&b(g.prototype,N),C&&b(g,C),g}}(),d=i(36),p=s(d),y=function(b){function g(N){a(this,g);var C=l(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,N));return C.state={files:[]},C}return u(g,b),c(g,[{key:"handleChange",value:function(N){for(var C=this,h=N.target.files,v=[],m=function(){var E=h[x],_=new FileReader;_.readAsDataURL(E),_.onload=function(){var O={name:E.name,type:E.type,size:Math.round(E.size/1e3)+" kB",base64:_.result,file:E};v.push(O),v.length==h.length&&(C.props.multiple?C.props.onDone(v):C.props.onDone(v[0]))}},x=0;x<h.length;x++)m()}},{key:"render",value:function(){return p.default.createElement("input",{type:"file",onChange:this.handleChange.bind(this),multiple:this.props.multiple})}}]),g}(p.default.Component);o.default=y,y.defaultProps={multiple:!1}},function(n,o){function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(m){if(y===setTimeout)return setTimeout(m,0);if((y===i||!y)&&setTimeout)return y=setTimeout,setTimeout(m,0);try{return y(m,0)}catch{try{return y.call(null,m,0)}catch{return y.call(this,m,0)}}}function l(m){if(b===clearTimeout)return clearTimeout(m);if((b===s||!b)&&clearTimeout)return b=clearTimeout,clearTimeout(m);try{return b(m)}catch{try{return b.call(null,m)}catch{return b.call(this,m)}}}function u(){h&&N&&(h=!1,N.length?C=N.concat(C):v=-1,C.length&&c())}function c(){if(!h){var m=a(u);h=!0;for(var x=C.length;x;){for(N=C,C=[];++v<x;)N&&N[v].run();v=-1,x=C.length}N=null,h=!1,l(m)}}function d(m,x){this.fun=m,this.array=x}function p(){}var y,b,g=n.exports={};(function(){try{y=typeof setTimeout=="function"?setTimeout:i}catch{y=i}try{b=typeof clearTimeout=="function"?clearTimeout:s}catch{b=s}})();var N,C=[],h=!1,v=-1;g.nextTick=function(m){var x=new Array(arguments.length-1);if(arguments.length>1)for(var E=1;E<arguments.length;E++)x[E-1]=arguments[E];C.push(new d(m,x)),C.length!==1||h||a(c)},d.prototype.run=function(){this.fun.apply(null,this.array)},g.title="browser",g.browser=!0,g.env={},g.argv=[],g.version="",g.versions={},g.on=p,g.addListener=p,g.once=p,g.off=p,g.removeListener=p,g.removeAllListeners=p,g.emit=p,g.prependListener=p,g.prependOnceListener=p,g.listeners=function(m){return[]},g.binding=function(m){throw new Error("process.binding is not supported")},g.cwd=function(){return"/"},g.chdir=function(m){throw new Error("process.chdir is not supported")},g.umask=function(){return 0}},function(n,o,i){(function(s){function a(u,c,d,p,y,b,g,N){if(l(c),!u){var C;if(c===void 0)C=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var h=[d,p,y,b,g,N],v=0;C=new Error(c.replace(/%s/g,function(){return h[v++]})),C.name="Invariant Violation"}throw C.framesToPop=1,C}}var l=function(u){};s.env.NODE_ENV!=="production"&&(l=function(u){if(u===void 0)throw new Error("invariant requires an error message argument")}),n.exports=a}).call(o,i(1))},function(n,o,i){(function(s){var a=i(9),l=a;if(s.env.NODE_ENV!=="production"){var u=function(c){for(var d=arguments.length,p=Array(d>1?d-1:0),y=1;y<d;y++)p[y-1]=arguments[y];var b=0,g="Warning: "+c.replace(/%s/g,function(){return p[b++]});typeof console<"u"&&console.error(g);try{throw new Error(g)}catch{}};l=function(c,d){if(d===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(d.indexOf("Failed Composite propType: ")!==0&&!c){for(var p=arguments.length,y=Array(p>2?p-2:0),b=2;b<p;b++)y[b-2]=arguments[b];u.apply(void 0,[d].concat(y))}}}n.exports=l}).call(o,i(1))},function(n,o,i){(function(s){function a(x){if(s.env.NODE_ENV!=="production"&&C.call(x,"ref")){var E=Object.getOwnPropertyDescriptor(x,"ref").get;if(E&&E.isReactWarning)return!1}return x.ref!==void 0}function l(x){if(s.env.NODE_ENV!=="production"&&C.call(x,"key")){var E=Object.getOwnPropertyDescriptor(x,"key").get;if(E&&E.isReactWarning)return!1}return x.key!==void 0}function u(x,E){var _=function(){d||(d=!0,s.env.NODE_ENV!=="production"&&g(!1,"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",E))};_.isReactWarning=!0,Object.defineProperty(x,"key",{get:_,configurable:!0})}function c(x,E){var _=function(){p||(p=!0,s.env.NODE_ENV!=="production"&&g(!1,"%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",E))};_.isReactWarning=!0,Object.defineProperty(x,"ref",{get:_,configurable:!0})}var d,p,y=i(6),b=i(7),g=i(3),N=i(8),C=Object.prototype.hasOwnProperty,h=i(15),v={key:!0,ref:!0,__self:!0,__source:!0},m=function(x,E,_,O,P,M,W){var H={$$typeof:h,type:x,key:E,ref:_,props:W,_owner:M};return s.env.NODE_ENV!=="production"&&(H._store={},N?(Object.defineProperty(H._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(H,"_self",{configurable:!1,enumerable:!1,writable:!1,value:O}),Object.defineProperty(H,"_source",{configurable:!1,enumerable:!1,writable:!1,value:P})):(H._store.validated=!1,H._self=O,H._source=P),Object.freeze&&(Object.freeze(H.props),Object.freeze(H))),H};m.createElement=function(x,E,_){var O,P={},M=null,W=null,H=null,te=null;if(E!=null){a(E)&&(W=E.ref),l(E)&&(M=""+E.key),H=E.__self===void 0?null:E.__self,te=E.__source===void 0?null:E.__source;for(O in E)C.call(E,O)&&!v.hasOwnProperty(O)&&(P[O]=E[O])}var X=arguments.length-2;if(X===1)P.children=_;else if(X>1){for(var Z=Array(X),F=0;F<X;F++)Z[F]=arguments[F+2];s.env.NODE_ENV!=="production"&&Object.freeze&&Object.freeze(Z),P.children=Z}if(x&&x.defaultProps){var U=x.defaultProps;for(O in U)P[O]===void 0&&(P[O]=U[O])}if(s.env.NODE_ENV!=="production"&&(M||W)&&(typeof P.$$typeof>"u"||P.$$typeof!==h)){var Q=typeof x=="function"?x.displayName||x.name||"Unknown":x;M&&u(P,Q),W&&c(P,Q)}return m(x,M,W,H,te,b.current,P)},m.createFactory=function(x){var E=m.createElement.bind(null,x);return E.type=x,E},m.cloneAndReplaceKey=function(x,E){var _=m(x.type,E,x.ref,x._self,x._source,x._owner,x.props);return _},m.cloneElement=function(x,E,_){var O,P=y({},x.props),M=x.key,W=x.ref,H=x._self,te=x._source,X=x._owner;if(E!=null){a(E)&&(W=E.ref,X=b.current),l(E)&&(M=""+E.key);var Z;x.type&&x.type.defaultProps&&(Z=x.type.defaultProps);for(O in E)C.call(E,O)&&!v.hasOwnProperty(O)&&(E[O]===void 0&&Z!==void 0?P[O]=Z[O]:P[O]=E[O])}var F=arguments.length-2;if(F===1)P.children=_;else if(F>1){for(var U=Array(F),Q=0;Q<F;Q++)U[Q]=arguments[Q+2];P.children=U}return m(x.type,M,W,H,te,X,P)},m.isValidElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===h},n.exports=m}).call(o,i(1))},function(n,o){function i(s){for(var a=arguments.length-1,l="Minified React error #"+s+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+s,u=0;u<a;u++)l+="&args[]="+encodeURIComponent(arguments[u+1]);l+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var c=new Error(l);throw c.name="Invariant Violation",c.framesToPop=1,c}n.exports=i},function(n,o){/*
|
|
object-assign
|
|
(c) Sindre Sorhus
|
|
@license MIT
|
|
*/function i(c){if(c==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(c)}function s(){try{if(!Object.assign)return!1;var c=new String("abc");if(c[5]="de",Object.getOwnPropertyNames(c)[0]==="5")return!1;for(var d={},p=0;p<10;p++)d["_"+String.fromCharCode(p)]=p;var y=Object.getOwnPropertyNames(d).map(function(g){return d[g]});if(y.join("")!=="0123456789")return!1;var b={};return"abcdefghijklmnopqrst".split("").forEach(function(g){b[g]=g}),Object.keys(Object.assign({},b)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var a=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;n.exports=s()?Object.assign:function(c,d){for(var p,y,b=i(c),g=1;g<arguments.length;g++){p=Object(arguments[g]);for(var N in p)l.call(p,N)&&(b[N]=p[N]);if(a){y=a(p);for(var C=0;C<y.length;C++)u.call(p,y[C])&&(b[y[C]]=p[y[C]])}}return b}},function(n,o){var i={current:null};n.exports=i},function(n,o,i){(function(s){var a=!1;if(s.env.NODE_ENV!=="production")try{Object.defineProperty({},"x",{get:function(){}}),a=!0}catch{}n.exports=a}).call(o,i(1))},function(n,o){function i(a){return function(){return a}}var s=function(){};s.thatReturns=i,s.thatReturnsFalse=i(!1),s.thatReturnsTrue=i(!0),s.thatReturnsNull=i(null),s.thatReturnsThis=function(){return this},s.thatReturnsArgument=function(a){return a},n.exports=s},function(n,o,i){(function(s){function a(F){var U=Function.prototype.toString,Q=Object.prototype.hasOwnProperty,A=RegExp("^"+U.call(Q).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");try{var T=U.call(F);return A.test(T)}catch{return!1}}function l(F){var U=y(F);if(U){var Q=U.childIDs;b(F),Q.forEach(l)}}function u(F,U,Q){return`
|
|
in `+(F||"Unknown")+(U?" (at "+U.fileName.replace(/^.*[\\\/]/,"")+":"+U.lineNumber+")":Q?" (created by "+Q+")":"")}function c(F){return F==null?"#empty":typeof F=="string"||typeof F=="number"?"#text":typeof F.type=="string"?F.type:F.type.displayName||F.type.name||"Unknown"}function d(F){var U,Q=Z.getDisplayName(F),A=Z.getElement(F),T=Z.getOwnerID(F);return T&&(U=Z.getDisplayName(T)),s.env.NODE_ENV!=="production"&&E(A,"ReactComponentTreeHook: Missing React element for debugID %s when building stack",F),u(Q,A&&A._source,U)}var p,y,b,g,N,C,h,v=i(5),m=i(7),x=i(2),E=i(3),_=typeof Array.from=="function"&&typeof Map=="function"&&a(Map)&&Map.prototype!=null&&typeof Map.prototype.keys=="function"&&a(Map.prototype.keys)&&typeof Set=="function"&&a(Set)&&Set.prototype!=null&&typeof Set.prototype.keys=="function"&&a(Set.prototype.keys);if(_){var O=new Map,P=new Set;p=function(F,U){O.set(F,U)},y=function(F){return O.get(F)},b=function(F){O.delete(F)},g=function(){return Array.from(O.keys())},N=function(F){P.add(F)},C=function(F){P.delete(F)},h=function(){return Array.from(P.keys())}}else{var M={},W={},H=function(F){return"."+F},te=function(F){return parseInt(F.substr(1),10)};p=function(F,U){var Q=H(F);M[Q]=U},y=function(F){var U=H(F);return M[U]},b=function(F){var U=H(F);delete M[U]},g=function(){return Object.keys(M).map(te)},N=function(F){var U=H(F);W[U]=!0},C=function(F){var U=H(F);delete W[U]},h=function(){return Object.keys(W).map(te)}}var X=[],Z={onSetChildren:function(F,U){var Q=y(F);Q||(s.env.NODE_ENV!=="production"?x(!1,"Item must have been set"):v("144")),Q.childIDs=U;for(var A=0;A<U.length;A++){var T=U[A],L=y(T);L||(s.env.NODE_ENV!=="production"?x(!1,"Expected hook events to fire for the child before its parent includes it in onSetChildren()."):v("140")),L.childIDs==null&&typeof L.element=="object"&&L.element!=null&&(s.env.NODE_ENV!=="production"?x(!1,"Expected onSetChildren() to fire for a container child before its parent includes it in onSetChildren()."):v("141")),L.isMounted||(s.env.NODE_ENV!=="production"?x(!1,"Expected onMountComponent() to fire for the child before its parent includes it in onSetChildren()."):v("71")),L.parentID==null&&(L.parentID=F),L.parentID!==F&&(s.env.NODE_ENV!=="production"?x(!1,"Expected onBeforeMountComponent() parent and onSetChildren() to be consistent (%s has parents %s and %s).",T,L.parentID,F):v("142",T,L.parentID,F))}},onBeforeMountComponent:function(F,U,Q){var A={element:U,parentID:Q,text:null,childIDs:[],isMounted:!1,updateCount:0};p(F,A)},onBeforeUpdateComponent:function(F,U){var Q=y(F);Q&&Q.isMounted&&(Q.element=U)},onMountComponent:function(F){var U=y(F);U||(s.env.NODE_ENV!=="production"?x(!1,"Item must have been set"):v("144")),U.isMounted=!0;var Q=U.parentID===0;Q&&N(F)},onUpdateComponent:function(F){var U=y(F);U&&U.isMounted&&U.updateCount++},onUnmountComponent:function(F){var U=y(F);if(U){U.isMounted=!1;var Q=U.parentID===0;Q&&C(F)}X.push(F)},purgeUnmountedComponents:function(){if(!Z._preventPurging){for(var F=0;F<X.length;F++){var U=X[F];l(U)}X.length=0}},isMounted:function(F){var U=y(F);return!!U&&U.isMounted},getCurrentStackAddendum:function(F){var U="";if(F){var Q=c(F),A=F._owner;U+=u(Q,F._source,A&&A.getName())}var T=m.current,L=T&&T._debugID;return U+=Z.getStackAddendumByID(L)},getStackAddendumByID:function(F){for(var U="";F;)U+=d(F),F=Z.getParentID(F);return U},getChildIDs:function(F){var U=y(F);return U?U.childIDs:[]},getDisplayName:function(F){var U=Z.getElement(F);return U?c(U):null},getElement:function(F){var U=y(F);return U?U.element:null},getOwnerID:function(F){var U=Z.getElement(F);return U&&U._owner?U._owner._debugID:null},getParentID:function(F){var U=y(F);return U?U.parentID:null},getSource:function(F){var U=y(F),Q=U?U.element:null,A=Q!=null?Q._source:null;return A},getText:function(F){var U=Z.getElement(F);return typeof U=="string"?U:typeof U=="number"?""+U:null},getUpdateCount:function(F){var U=y(F);return U?U.updateCount:0},getRootIDs:h,getRegisteredIDs:g,pushNonStandardWarningStack:function(F,U){if(typeof console.reactStack=="function"){var Q=[],A=m.current,T=A&&A._debugID;try{for(F&&Q.push({name:T?Z.getDisplayName(T):null,fileName:U?U.fileName:null,lineNumber:U?U.lineNumber:null});T;){var L=Z.getElement(T),B=Z.getParentID(T),$=Z.getOwnerID(T),K=$?Z.getDisplayName($):null,G=L&&L._source;Q.push({name:K,fileName:G?G.fileName:null,lineNumber:G?G.lineNumber:null}),T=B}}catch{}console.reactStack(Q)}},popNonStandardWarningStack:function(){typeof console.reactStackEnd=="function"&&console.reactStackEnd()}};n.exports=Z}).call(o,i(1))},function(n,o,i){(function(s){var a=function(){};if(s.env.NODE_ENV!=="production"){var l=function(u){for(var c=arguments.length,d=Array(c>1?c-1:0),p=1;p<c;p++)d[p-1]=arguments[p];var y=0,b="Warning: "+u.replace(/%s/g,function(){return d[y++]});typeof console<"u"&&console.warn(b);try{throw new Error(b)}catch{}};a=function(u,c){if(c===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!u){for(var d=arguments.length,p=Array(d>2?d-2:0),y=2;y<d;y++)p[y-2]=arguments[y];l.apply(void 0,[c].concat(p))}}}n.exports=a}).call(o,i(1))},function(n,o,i){(function(s){var a={};s.env.NODE_ENV!=="production"&&Object.freeze(a),n.exports=a}).call(o,i(1))},function(n,o){var i="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";n.exports=i},function(n,o,i){(function(s){function a(m,x,E){this.props=m,this.context=x,this.refs=b,this.updater=E||p}function l(m,x,E){this.props=m,this.context=x,this.refs=b,this.updater=E||p}function u(){}var c=i(5),d=i(6),p=i(17),y=i(8),b=i(12),g=i(2),N=i(11);if(a.prototype.isReactComponent={},a.prototype.setState=function(m,x){typeof m!="object"&&typeof m!="function"&&m!=null&&(s.env.NODE_ENV!=="production"?g(!1,"setState(...): takes an object of state variables to update or a function which returns an object of state variables."):c("85")),this.updater.enqueueSetState(this,m),x&&this.updater.enqueueCallback(this,x,"setState")},a.prototype.forceUpdate=function(m){this.updater.enqueueForceUpdate(this),m&&this.updater.enqueueCallback(this,m,"forceUpdate")},s.env.NODE_ENV!=="production"){var C={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},h=function(m,x){y&&Object.defineProperty(a.prototype,m,{get:function(){N(!1,"%s(...) is deprecated in plain JavaScript React classes. %s",x[0],x[1])}})};for(var v in C)C.hasOwnProperty(v)&&h(v,C[v])}u.prototype=a.prototype,l.prototype=new u,l.prototype.constructor=l,d(l.prototype,a.prototype),l.prototype.isPureReactComponent=!0,n.exports={Component:a,PureComponent:l}}).call(o,i(1))},function(n,o){var i=typeof Symbol=="function"&&Symbol.for&&Symbol.for("react.element")||60103;n.exports=i},function(n,o,i){(function(s){function a(){if(y.current){var _=y.current.getName();if(_)return" Check the render method of `"+_+"`."}return""}function l(_){if(_!=null&&_.__source!==void 0){var O=_.__source,P=O.fileName.replace(/^.*[\\\/]/,""),M=O.lineNumber;return" Check your code at "+P+":"+M+"."}return""}function u(_){var O=a();if(!O){var P=typeof _=="string"?_:_.displayName||_.name;P&&(O=" Check the top-level render call using <"+P+">.")}return O}function c(_,O){if(_._store&&!_._store.validated&&_.key==null){_._store.validated=!0;var P=x.uniqueKey||(x.uniqueKey={}),M=u(O);if(!P[M]){P[M]=!0;var W="";_&&_._owner&&_._owner!==y.current&&(W=" It was passed a child from "+_._owner.getName()+"."),s.env.NODE_ENV!=="production"&&v(!1,'Each child in an array or iterator should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.%s',M,W,b.getCurrentStackAddendum(_))}}}function d(_,O){if(typeof _=="object"){if(Array.isArray(_))for(var P=0;P<_.length;P++){var M=_[P];g.isValidElement(M)&&c(M,O)}else if(g.isValidElement(_))_._store&&(_._store.validated=!0);else if(_){var W=h(_);if(W&&W!==_.entries)for(var H,te=W.call(_);!(H=te.next()).done;)g.isValidElement(H.value)&&c(H.value,O)}}}function p(_){var O=_.type;if(typeof O=="function"){var P=O.displayName||O.name;O.propTypes&&N(O.propTypes,_.props,"prop",P,_,null),typeof O.getDefaultProps=="function"&&(s.env.NODE_ENV!=="production"&&v(O.getDefaultProps.isReactClassApproved,"getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."))}}var y=i(7),b=i(10),g=i(4),N=i(32),C=i(8),h=i(18),v=i(3),m=i(11),x={},E={createElement:function(_,O,P){var M=typeof _=="string"||typeof _=="function";if(!M&&typeof _!="function"&&typeof _!="string"){var W="";(_===void 0||typeof _=="object"&&_!==null&&Object.keys(_).length===0)&&(W+=" You likely forgot to export your component from the file it's defined in.");var H=l(O);W+=H||a(),W+=b.getCurrentStackAddendum();var te=O!=null&&O.__source!==void 0?O.__source:null;b.pushNonStandardWarningStack(!0,te),s.env.NODE_ENV!=="production"&&v(!1,"React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",_==null?_:typeof _,W),b.popNonStandardWarningStack()}var X=g.createElement.apply(this,arguments);if(X==null)return X;if(M)for(var Z=2;Z<arguments.length;Z++)d(arguments[Z],_);return p(X),X},createFactory:function(_){var O=E.createElement.bind(null,_);return O.type=_,s.env.NODE_ENV!=="production"&&C&&Object.defineProperty(O,"type",{enumerable:!1,get:function(){return m(!1,"Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:_}),_}}),O},cloneElement:function(_,O,P){for(var M=g.cloneElement.apply(this,arguments),W=2;W<arguments.length;W++)d(arguments[W],M.type);return p(M),M}};n.exports=E}).call(o,i(1))},function(n,o,i){(function(s){function a(c,d){if(s.env.NODE_ENV!=="production"){var p=c.constructor;s.env.NODE_ENV!=="production"&&l(!1,"%s(...): Can only update a mounted or mounting component. This usually means you called %s() on an unmounted component. This is a no-op. Please check the code for the %s component.",d,d,p&&(p.displayName||p.name)||"ReactClass")}}var l=i(3),u={isMounted:function(c){return!1},enqueueCallback:function(c,d){},enqueueForceUpdate:function(c){a(c,"forceUpdate")},enqueueReplaceState:function(c,d){a(c,"replaceState")},enqueueSetState:function(c,d){a(c,"setState")}};n.exports=u}).call(o,i(1))},function(n,o){function i(l){var u=l&&(s&&l[s]||l[a]);if(typeof u=="function")return u}var s=typeof Symbol=="function"&&Symbol.iterator,a="@@iterator";n.exports=i},function(n,o,i){(function(s){function a(g){return g}function l(g,N,C){function h(A,T,L){for(var B in T)T.hasOwnProperty(B)&&s.env.NODE_ENV!=="production"&&p(typeof T[B]=="function","%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",A.displayName||"ReactClass",y[L],B)}function v(A,T){var L=te.hasOwnProperty(T)?te[T]:null;U.hasOwnProperty(T)&&d(L==="OVERRIDE_BASE","ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",T),A&&d(L==="DEFINE_MANY"||L==="DEFINE_MANY_MERGED","ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",T)}function m(A,T){if(T){d(typeof T!="function","ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),d(!N(T),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var L=A.prototype,B=L.__reactAutoBindPairs;T.hasOwnProperty(b)&&X.mixins(A,T.mixins);for(var $ in T)if(T.hasOwnProperty($)&&$!==b){var K=T[$],G=L.hasOwnProperty($);if(v(G,$),X.hasOwnProperty($))X[$](A,K);else{var ee=te.hasOwnProperty($),re=typeof K=="function",ne=re&&!ee&&!G&&T.autobind!==!1;if(ne)B.push($,K),L[$]=K;else if(G){var ie=te[$];d(ee&&(ie==="DEFINE_MANY_MERGED"||ie==="DEFINE_MANY"),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",ie,$),ie==="DEFINE_MANY_MERGED"?L[$]=_(L[$],K):ie==="DEFINE_MANY"&&(L[$]=O(L[$],K))}else L[$]=K,s.env.NODE_ENV!=="production"&&typeof K=="function"&&T.displayName&&(L[$].displayName=T.displayName+"_"+$)}}}else if(s.env.NODE_ENV!=="production"){var ce=typeof T,de=ce==="object"&&T!==null;s.env.NODE_ENV!=="production"&&p(de,"%s: You're attempting to include a mixin that is either null or not an object. Check the mixins included by the component, as well as any mixins they include themselves. Expected object but got %s.",A.displayName||"ReactClass",T===null?null:ce)}}function x(A,T){if(T)for(var L in T){var B=T[L];if(T.hasOwnProperty(L)){var $=L in X;d(!$,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',L);var K=L in A;d(!K,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",L),A[L]=B}}}function E(A,T){d(A&&T&&typeof A=="object"&&typeof T=="object","mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var L in T)T.hasOwnProperty(L)&&(d(A[L]===void 0,"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",L),A[L]=T[L]);return A}function _(A,T){return function(){var L=A.apply(this,arguments),B=T.apply(this,arguments);if(L==null)return B;if(B==null)return L;var $={};return E($,L),E($,B),$}}function O(A,T){return function(){A.apply(this,arguments),T.apply(this,arguments)}}function P(A,T){var L=T.bind(A);if(s.env.NODE_ENV!=="production"){L.__reactBoundContext=A,L.__reactBoundMethod=T,L.__reactBoundArguments=null;var B=A.constructor.displayName,$=L.bind;L.bind=function(K){for(var G=arguments.length,ee=Array(G>1?G-1:0),re=1;re<G;re++)ee[re-1]=arguments[re];if(K!==A&&K!==null)s.env.NODE_ENV!=="production"&&p(!1,"bind(): React component methods may only be bound to the component instance. See %s",B);else if(!ee.length)return s.env.NODE_ENV!=="production"&&p(!1,"bind(): You are binding a component method to the component. React does this for you automatically in a high-performance way, so you can safely remove this call. See %s",B),L;var ne=$.apply(L,arguments);return ne.__reactBoundContext=A,ne.__reactBoundMethod=T,ne.__reactBoundArguments=ee,ne}}return L}function M(A){for(var T=A.__reactAutoBindPairs,L=0;L<T.length;L+=2){var B=T[L],$=T[L+1];A[B]=P(A,$)}}function W(A){var T=function(B,$,K){s.env.NODE_ENV!=="production"&&p(this instanceof T,"Something is calling a React component directly. Use a factory or JSX instead. See: https://fb.me/react-legacyfactory"),this.__reactAutoBindPairs.length&&M(this),this.props=B,this.context=$,this.refs=c,this.updater=K||C,this.state=null;var G=this.getInitialState?this.getInitialState():null;s.env.NODE_ENV!=="production"&&G===void 0&&this.getInitialState._isMockFunction&&(G=null),d(typeof G=="object"&&!Array.isArray(G),"%s.getInitialState(): must return an object or null",T.displayName||"ReactCompositeComponent"),this.state=G};T.prototype=new Q,T.prototype.constructor=T,T.prototype.__reactAutoBindPairs=[],H.forEach(m.bind(null,T)),m(T,Z),m(T,A),m(T,F),T.getDefaultProps&&(T.defaultProps=T.getDefaultProps()),s.env.NODE_ENV!=="production"&&(T.getDefaultProps&&(T.getDefaultProps.isReactClassApproved={}),T.prototype.getInitialState&&(T.prototype.getInitialState.isReactClassApproved={})),d(T.prototype.render,"createClass(...): Class specification must implement a `render` method."),s.env.NODE_ENV!=="production"&&(p(!T.prototype.componentShouldUpdate,"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",A.displayName||"A component"),p(!T.prototype.componentWillRecieveProps,"%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",A.displayName||"A component"));for(var L in te)T.prototype[L]||(T.prototype[L]=null);return T}var H=[],te={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},X={displayName:function(A,T){A.displayName=T},mixins:function(A,T){if(T)for(var L=0;L<T.length;L++)m(A,T[L])},childContextTypes:function(A,T){s.env.NODE_ENV!=="production"&&h(A,T,"childContext"),A.childContextTypes=u({},A.childContextTypes,T)},contextTypes:function(A,T){s.env.NODE_ENV!=="production"&&h(A,T,"context"),A.contextTypes=u({},A.contextTypes,T)},getDefaultProps:function(A,T){A.getDefaultProps?A.getDefaultProps=_(A.getDefaultProps,T):A.getDefaultProps=T},propTypes:function(A,T){s.env.NODE_ENV!=="production"&&h(A,T,"prop"),A.propTypes=u({},A.propTypes,T)},statics:function(A,T){x(A,T)},autobind:function(){}},Z={componentDidMount:function(){this.__isMounted=!0}},F={componentWillUnmount:function(){this.__isMounted=!1}},U={replaceState:function(A,T){this.updater.enqueueReplaceState(this,A,T)},isMounted:function(){return s.env.NODE_ENV!=="production"&&(p(this.__didWarnIsMounted,"%s: isMounted is deprecated. Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.",this.constructor&&this.constructor.displayName||this.name||"Component"),this.__didWarnIsMounted=!0),!!this.__isMounted}},Q=function(){};return u(Q.prototype,g.prototype,U),W}var u=i(6),c=i(12),d=i(2);if(s.env.NODE_ENV!=="production")var p=i(3);var y,b="mixins";y=s.env.NODE_ENV!=="production"?{prop:"prop",context:"context",childContext:"child context"}:{},n.exports=l}).call(o,i(1))},function(n,o,i){(function(s){function a(p,y,b,g,N){if(s.env.NODE_ENV!=="production"){for(var C in p)if(p.hasOwnProperty(C)){var h;try{l(typeof p[C]=="function","%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",g||"React class",b,C),h=p[C](y,C,g,b,null,c)}catch(m){h=m}if(u(!h||h instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",g||"React class",b,C,typeof h),h instanceof Error&&!(h.message in d)){d[h.message]=!0;var v=N?N():"";u(!1,"Failed %s type: %s%s",b,h.message,v??"")}}}}if(s.env.NODE_ENV!=="production")var l=i(2),u=i(3),c=i(13),d={};n.exports=a}).call(o,i(1))},function(n,o,i){var s=i(22);n.exports=function(a){var l=!1;return s(a,l)}},function(n,o,i){(function(s){var a=i(9),l=i(2),u=i(3),c=i(13),d=i(20);n.exports=function(p,y){function b(B){var $=B&&(Q&&B[Q]||B[A]);if(typeof $=="function")return $}function g(B,$){return B===$?B!==0||1/B===1/$:B!==B&&$!==$}function N(B){this.message=B,this.stack=""}function C(B){function $(re,ne,ie,ce,de,xe,Ot){if(ce=ce||T,xe=xe||ie,Ot!==c){if(y)l(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if(s.env.NODE_ENV!=="production"&&typeof console<"u"){var or=ce+":"+ie;!K[or]&&G<3&&(u(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",xe,ce),K[or]=!0,G++)}}return ne[ie]==null?re?new N(ne[ie]===null?"The "+de+" `"+xe+"` is marked as required "+("in `"+ce+"`, but its value is `null`."):"The "+de+" `"+xe+"` is marked as required in "+("`"+ce+"`, but its value is `undefined`.")):null:B(ne,ie,ce,de,xe)}if(s.env.NODE_ENV!=="production")var K={},G=0;var ee=$.bind(null,!1);return ee.isRequired=$.bind(null,!0),ee}function h(B){function $(K,G,ee,re,ne,ie){var ce=K[G],de=X(ce);if(de!==B){var xe=Z(ce);return new N("Invalid "+re+" `"+ne+"` of type "+("`"+xe+"` supplied to `"+ee+"`, expected ")+("`"+B+"`."))}return null}return C($)}function v(){return C(a.thatReturnsNull)}function m(B){function $(K,G,ee,re,ne){if(typeof B!="function")return new N("Property `"+ne+"` of component `"+ee+"` has invalid PropType notation inside arrayOf.");var ie=K[G];if(!Array.isArray(ie)){var ce=X(ie);return new N("Invalid "+re+" `"+ne+"` of type "+("`"+ce+"` supplied to `"+ee+"`, expected an array."))}for(var de=0;de<ie.length;de++){var xe=B(ie,de,ee,re,ne+"["+de+"]",c);if(xe instanceof Error)return xe}return null}return C($)}function x(){function B($,K,G,ee,re){var ne=$[K];if(!p(ne)){var ie=X(ne);return new N("Invalid "+ee+" `"+re+"` of type "+("`"+ie+"` supplied to `"+G+"`, expected a single ReactElement."))}return null}return C(B)}function E(B){function $(K,G,ee,re,ne){if(!(K[G]instanceof B)){var ie=B.name||T,ce=U(K[G]);return new N("Invalid "+re+" `"+ne+"` of type "+("`"+ce+"` supplied to `"+ee+"`, expected ")+("instance of `"+ie+"`."))}return null}return C($)}function _(B){function $(K,G,ee,re,ne){for(var ie=K[G],ce=0;ce<B.length;ce++)if(g(ie,B[ce]))return null;var de=JSON.stringify(B);return new N("Invalid "+re+" `"+ne+"` of value `"+ie+"` "+("supplied to `"+ee+"`, expected one of "+de+"."))}return Array.isArray(B)?C($):(s.env.NODE_ENV!=="production"&&u(!1,"Invalid argument supplied to oneOf, expected an instance of array."),a.thatReturnsNull)}function O(B){function $(K,G,ee,re,ne){if(typeof B!="function")return new N("Property `"+ne+"` of component `"+ee+"` has invalid PropType notation inside objectOf.");var ie=K[G],ce=X(ie);if(ce!=="object")return new N("Invalid "+re+" `"+ne+"` of type "+("`"+ce+"` supplied to `"+ee+"`, expected an object."));for(var de in ie)if(ie.hasOwnProperty(de)){var xe=B(ie,de,ee,re,ne+"."+de,c);if(xe instanceof Error)return xe}return null}return C($)}function P(B){function $(ee,re,ne,ie,ce){for(var de=0;de<B.length;de++){var xe=B[de];if(xe(ee,re,ne,ie,ce,c)==null)return null}return new N("Invalid "+ie+" `"+ce+"` supplied to "+("`"+ne+"`."))}if(!Array.isArray(B))return s.env.NODE_ENV!=="production"&&u(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),a.thatReturnsNull;for(var K=0;K<B.length;K++){var G=B[K];if(typeof G!="function")return u(!1,"Invalid argument supplid to oneOfType. Expected an array of check functions, but received %s at index %s.",F(G),K),a.thatReturnsNull}return C($)}function M(){function B($,K,G,ee,re){return H($[K])?null:new N("Invalid "+ee+" `"+re+"` supplied to "+("`"+G+"`, expected a ReactNode."))}return C(B)}function W(B){function $(K,G,ee,re,ne){var ie=K[G],ce=X(ie);if(ce!=="object")return new N("Invalid "+re+" `"+ne+"` of type `"+ce+"` "+("supplied to `"+ee+"`, expected `object`."));for(var de in B){var xe=B[de];if(xe){var Ot=xe(ie,de,ee,re,ne+"."+de,c);if(Ot)return Ot}}return null}return C($)}function H(B){switch(typeof B){case"number":case"string":case"undefined":return!0;case"boolean":return!B;case"object":if(Array.isArray(B))return B.every(H);if(B===null||p(B))return!0;var $=b(B);if(!$)return!1;var K,G=$.call(B);if($!==B.entries){for(;!(K=G.next()).done;)if(!H(K.value))return!1}else for(;!(K=G.next()).done;){var ee=K.value;if(ee&&!H(ee[1]))return!1}return!0;default:return!1}}function te(B,$){return B==="symbol"||$["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&$ instanceof Symbol}function X(B){var $=typeof B;return Array.isArray(B)?"array":B instanceof RegExp?"object":te($,B)?"symbol":$}function Z(B){if(typeof B>"u"||B===null)return""+B;var $=X(B);if($==="object"){if(B instanceof Date)return"date";if(B instanceof RegExp)return"regexp"}return $}function F(B){var $=Z(B);switch($){case"array":case"object":return"an "+$;case"boolean":case"date":case"regexp":return"a "+$;default:return $}}function U(B){return B.constructor&&B.constructor.name?B.constructor.name:T}var Q=typeof Symbol=="function"&&Symbol.iterator,A="@@iterator",T="<<anonymous>>",L={array:h("array"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),string:h("string"),symbol:h("symbol"),any:v(),arrayOf:m,element:x(),instanceOf:E,node:M(),objectOf:O,oneOf:_,oneOfType:P,shape:W};return N.prototype=Error.prototype,L.checkPropTypes=d,L.PropTypes=L,L}}).call(o,i(1))},function(n,o){function i(l){var u=/[=:]/g,c={"=":"=0",":":"=2"},d=(""+l).replace(u,function(p){return c[p]});return"$"+d}function s(l){var u=/(=0|=2)/g,c={"=0":"=","=2":":"},d=l[0]==="."&&l[1]==="$"?l.substring(2):l.substring(1);return(""+d).replace(u,function(p){return c[p]})}var a={escape:i,unescape:s};n.exports=a},function(n,o,i){(function(s){var a=i(5),l=i(2),u=function(h){var v=this;if(v.instancePool.length){var m=v.instancePool.pop();return v.call(m,h),m}return new v(h)},c=function(h,v){var m=this;if(m.instancePool.length){var x=m.instancePool.pop();return m.call(x,h,v),x}return new m(h,v)},d=function(h,v,m){var x=this;if(x.instancePool.length){var E=x.instancePool.pop();return x.call(E,h,v,m),E}return new x(h,v,m)},p=function(h,v,m,x){var E=this;if(E.instancePool.length){var _=E.instancePool.pop();return E.call(_,h,v,m,x),_}return new E(h,v,m,x)},y=function(h){var v=this;h instanceof v||(s.env.NODE_ENV!=="production"?l(!1,"Trying to release an instance into a pool of a different type."):a("25")),h.destructor(),v.instancePool.length<v.poolSize&&v.instancePool.push(h)},b=10,g=u,N=function(h,v){var m=h;return m.instancePool=[],m.getPooled=v||g,m.poolSize||(m.poolSize=b),m.release=y,m},C={addPoolingTo:N,oneArgumentPooler:u,twoArgumentPooler:c,threeArgumentPooler:d,fourArgumentPooler:p};n.exports=C}).call(o,i(1))},function(n,o,i){(function(s){var a=i(6),l=i(14),u=i(26),c=i(27),d=i(4),p=i(29),y=i(31),b=i(33),g=i(34),N=d.createElement,C=d.createFactory,h=d.cloneElement;if(s.env.NODE_ENV!=="production"){var v=i(11),m=i(8),x=i(16),E=!1;N=x.createElement,C=x.createFactory,h=x.cloneElement}var _=a,O=function(X){return X};if(s.env.NODE_ENV!=="production"){var P=!1,M=!1;_=function(){return v(P,"React.__spread is deprecated and should not be used. Use Object.assign directly or another helper function with similar semantics. You may be seeing this warning due to your compiler. See https://fb.me/react-spread-deprecation for more details."),P=!0,a.apply(null,arguments)},O=function(X){return v(M,"React.createMixin is deprecated and should not be used. In React v16.0, it will be removed. You can use this mixin directly instead. See https://fb.me/createmixin-was-never-implemented for more info."),M=!0,X}}var W={Children:{map:u.map,forEach:u.forEach,count:u.count,toArray:u.toArray,only:g},Component:l.Component,PureComponent:l.PureComponent,createElement:N,cloneElement:h,isValidElement:d.isValidElement,PropTypes:p,createClass:b,createFactory:C,createMixin:O,DOM:c,version:y,__spread:_};if(s.env.NODE_ENV!=="production"){var H=!1;m&&(Object.defineProperty(W,"PropTypes",{get:function(){return v(E,"Accessing PropTypes via the main React package is deprecated, and will be removed in React v16.0. Use the latest available v15.* prop-types package from npm instead. For info on usage, compatibility, migration and more, see https://fb.me/prop-types-docs"),E=!0,p}}),Object.defineProperty(W,"createClass",{get:function(){return v(H,"Accessing createClass via the main React package is deprecated, and will be removed in React v16.0. Use a plain JavaScript class instead. If you're not yet ready to migrate, create-react-class v15.* is available on npm as a temporary, drop-in replacement. For more info see https://fb.me/react-create-class"),H=!0,b}})),W.DOM={};var te=!1;Object.keys(c).forEach(function(X){W.DOM[X]=function(){return te||(v(!1,"Accessing factories like React.DOM.%s has been deprecated and will be removed in v16.0+. Use the react-dom-factories package instead. Version 1.0 provides a drop-in replacement. For more info, see https://fb.me/react-dom-factories",X),te=!0),c[X].apply(c,arguments)}})}n.exports=W}).call(o,i(1))},function(n,o,i){function s(P){return(""+P).replace(_,"$&/")}function a(P,M){this.func=P,this.context=M,this.count=0}function l(P,M,W){var H=P.func,te=P.context;H.call(te,M,P.count++)}function u(P,M,W){if(P==null)return P;var H=a.getPooled(M,W);m(P,l,H),a.release(H)}function c(P,M,W,H){this.result=P,this.keyPrefix=M,this.func=W,this.context=H,this.count=0}function d(P,M,W){var H=P.result,te=P.keyPrefix,X=P.func,Z=P.context,F=X.call(Z,M,P.count++);Array.isArray(F)?p(F,H,W,v.thatReturnsArgument):F!=null&&(h.isValidElement(F)&&(F=h.cloneAndReplaceKey(F,te+(!F.key||M&&M.key===F.key?"":s(F.key)+"/")+W)),H.push(F))}function p(P,M,W,H,te){var X="";W!=null&&(X=s(W)+"/");var Z=c.getPooled(M,X,H,te);m(P,d,Z),c.release(Z)}function y(P,M,W){if(P==null)return P;var H=[];return p(P,H,null,M,W),H}function b(P,M,W){return null}function g(P,M){return m(P,b,null)}function N(P){var M=[];return p(P,M,null,v.thatReturnsArgument),M}var C=i(24),h=i(4),v=i(9),m=i(35),x=C.twoArgumentPooler,E=C.fourArgumentPooler,_=/\/+/g;a.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},C.addPoolingTo(a,x),c.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},C.addPoolingTo(c,E);var O={forEach:u,map:y,mapIntoWithKeyPrefixInternal:p,count:g,toArray:N};n.exports=O},function(n,o,i){(function(s){var a=i(4),l=a.createFactory;if(s.env.NODE_ENV!=="production"){var u=i(16);l=u.createFactory}var c={a:l("a"),abbr:l("abbr"),address:l("address"),area:l("area"),article:l("article"),aside:l("aside"),audio:l("audio"),b:l("b"),base:l("base"),bdi:l("bdi"),bdo:l("bdo"),big:l("big"),blockquote:l("blockquote"),body:l("body"),br:l("br"),button:l("button"),canvas:l("canvas"),caption:l("caption"),cite:l("cite"),code:l("code"),col:l("col"),colgroup:l("colgroup"),data:l("data"),datalist:l("datalist"),dd:l("dd"),del:l("del"),details:l("details"),dfn:l("dfn"),dialog:l("dialog"),div:l("div"),dl:l("dl"),dt:l("dt"),em:l("em"),embed:l("embed"),fieldset:l("fieldset"),figcaption:l("figcaption"),figure:l("figure"),footer:l("footer"),form:l("form"),h1:l("h1"),h2:l("h2"),h3:l("h3"),h4:l("h4"),h5:l("h5"),h6:l("h6"),head:l("head"),header:l("header"),hgroup:l("hgroup"),hr:l("hr"),html:l("html"),i:l("i"),iframe:l("iframe"),img:l("img"),input:l("input"),ins:l("ins"),kbd:l("kbd"),keygen:l("keygen"),label:l("label"),legend:l("legend"),li:l("li"),link:l("link"),main:l("main"),map:l("map"),mark:l("mark"),menu:l("menu"),menuitem:l("menuitem"),meta:l("meta"),meter:l("meter"),nav:l("nav"),noscript:l("noscript"),object:l("object"),ol:l("ol"),optgroup:l("optgroup"),option:l("option"),output:l("output"),p:l("p"),param:l("param"),picture:l("picture"),pre:l("pre"),progress:l("progress"),q:l("q"),rp:l("rp"),rt:l("rt"),ruby:l("ruby"),s:l("s"),samp:l("samp"),script:l("script"),section:l("section"),select:l("select"),small:l("small"),source:l("source"),span:l("span"),strong:l("strong"),style:l("style"),sub:l("sub"),summary:l("summary"),sup:l("sup"),table:l("table"),tbody:l("tbody"),td:l("td"),textarea:l("textarea"),tfoot:l("tfoot"),th:l("th"),thead:l("thead"),time:l("time"),title:l("title"),tr:l("tr"),track:l("track"),u:l("u"),ul:l("ul"),var:l("var"),video:l("video"),wbr:l("wbr"),circle:l("circle"),clipPath:l("clipPath"),defs:l("defs"),ellipse:l("ellipse"),g:l("g"),image:l("image"),line:l("line"),linearGradient:l("linearGradient"),mask:l("mask"),path:l("path"),pattern:l("pattern"),polygon:l("polygon"),polyline:l("polyline"),radialGradient:l("radialGradient"),rect:l("rect"),stop:l("stop"),svg:l("svg"),text:l("text"),tspan:l("tspan")};n.exports=c}).call(o,i(1))},function(n,o,i){(function(s){var a={};s.env.NODE_ENV!=="production"&&(a={prop:"prop",context:"context",childContext:"child context"}),n.exports=a}).call(o,i(1))},function(n,o,i){var s=i(4),a=s.isValidElement,l=i(21);n.exports=l(a)},function(n,o){var i="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";n.exports=i},function(n,o){n.exports="15.6.1"},function(n,o,i){(function(s){function a(g,N,C,h,v,m){for(var x in g)if(g.hasOwnProperty(x)){var E;try{typeof g[x]!="function"&&(s.env.NODE_ENV!=="production"?p(!1,"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",h||"React class",c[C],x):u("84",h||"React class",c[C],x)),E=g[x](N,x,h,C,null,d)}catch(O){E=O}if(s.env.NODE_ENV!=="production"&&y(!E||E instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",h||"React class",c[C],x,typeof E),E instanceof Error&&!(E.message in b)){b[E.message]=!0;var _="";s.env.NODE_ENV!=="production"&&(l||(l=i(10)),m!==null?_=l.getStackAddendumByID(m):v!==null&&(_=l.getCurrentStackAddendum(v))),s.env.NODE_ENV!=="production"&&y(!1,"Failed %s type: %s%s",C,E.message,_)}}}var l,u=i(5),c=i(28),d=i(30),p=i(2),y=i(3);typeof s<"u"&&s.env&&s.env.NODE_ENV==="test"&&(l=i(10));var b={};n.exports=a}).call(o,i(1))},function(n,o,i){var s=i(14),a=s.Component,l=i(4),u=l.isValidElement,c=i(17),d=i(19);n.exports=d(a,u,c)},function(n,o,i){(function(s){function a(d){return u.isValidElement(d)||(s.env.NODE_ENV!=="production"?c(!1,"React.Children.only expected to receive a single React element child."):l("143")),d}var l=i(5),u=i(4),c=i(2);n.exports=a}).call(o,i(1))},function(n,o,i){(function(s){function a(m,x){return m&&typeof m=="object"&&m.key!=null?g.escape(m.key):x.toString(36)}function l(m,x,E,_){var O=typeof m;if(O!=="undefined"&&O!=="boolean"||(m=null),m===null||O==="string"||O==="number"||O==="object"&&m.$$typeof===p)return E(_,m,x===""?C+a(m,0):x),1;var P,M,W=0,H=x===""?C:x+h;if(Array.isArray(m))for(var te=0;te<m.length;te++)P=m[te],M=H+a(P,te),W+=l(P,M,E,_);else{var X=y(m);if(X){var Z,F=X.call(m);if(X!==m.entries)for(var U=0;!(Z=F.next()).done;)P=Z.value,M=H+a(P,U++),W+=l(P,M,E,_);else{if(s.env.NODE_ENV!=="production"){var Q="";if(d.current){var A=d.current.getName();A&&(Q=" Check the render method of `"+A+"`.")}s.env.NODE_ENV!=="production"&&N(v,"Using Maps as children is not yet fully supported. It is an experimental feature that might be removed. Convert it to a sequence / iterable of keyed ReactElements instead.%s",Q),v=!0}for(;!(Z=F.next()).done;){var T=Z.value;T&&(P=T[1],M=H+g.escape(T[0])+h+a(P,0),W+=l(P,M,E,_))}}}else if(O==="object"){var L="";if(s.env.NODE_ENV!=="production"&&(L=" If you meant to render a collection of children, use an array instead or wrap the object using createFragment(object) from the React add-ons.",m._isReactElement&&(L=" It looks like you're using an element created by a different version of React. Make sure to use only one copy of React."),d.current)){var B=d.current.getName();B&&(L+=" Check the render method of `"+B+"`.")}var $=String(m);s.env.NODE_ENV!=="production"?b(!1,"Objects are not valid as a React child (found: %s).%s",$==="[object Object]"?"object with keys {"+Object.keys(m).join(", ")+"}":$,L):c("31",$==="[object Object]"?"object with keys {"+Object.keys(m).join(", ")+"}":$,L)}}return W}function u(m,x,E){return m==null?0:l(m,"",x,E)}var c=i(5),d=i(7),p=i(15),y=i(18),b=i(2),g=i(23),N=i(3),C=".",h=":",v=!1;n.exports=u}).call(o,i(1))},function(n,o,i){n.exports=i(25)}])})})(Vh);var _N=Vh.exports;const Du=Oc(_N),ON=()=>{const[e,t]=R.useState("propertydetails"),n=()=>{e==="propertydetails"&&t("Images"),e==="Images"&&t("Accounting")},o=()=>{e==="Images"&&t("propertydetails"),e==="Accounting"&&t("Images")},i=Pt(),{status:s,error:a}=tt(f=>f.property),{user:l}=tt(f=>({...f.auth})),u=[1,2,3,4,5,6,7,8,9,10],[c,d]=R.useState({propertyTaxInfo:[{propertytaxowned:"0",ownedyear:"0",taxassessed:"0",taxyear:"0"}],images:[{title:"",file:""}],googleMapLink:"",renovationRisk:null,purchaseCost:"0",costPaidAtoB:[{title:"Closing Fees - Settlement Fee",price:"0"},{title:"Closing Fees - Owner's Title Insurance",price:"0"},{title:"Courier Fees",price:"0"},{title:"Wire Fee",price:"0"},{title:"E recording Fee",price:"0"},{title:"Recording Fee",price:"0"},{title:"Property Tax",price:"0"}],credits:[{title:"Credits",price:"0"}],cashAdjustments:[{title:"Cash Adjustments",price:"0"}],incidentalCost:[{title:"Accounting Fees",price:"0"},{title:"Bank Charges",price:"0"},{title:"Legal Fees",price:"0"},{title:"Property Taxes",price:"0"},{title:"Travel Expenses",price:"0"}],carryCosts:[{title:"Electricity",price:"0"},{title:"Water and Sewer",price:"0"},{title:"Natural Gas",price:"0"},{title:"Trash and Recycling",price:"0"},{title:"Internet and Cable",price:"0"},{title:"Heating Oil/Propane",price:"0"},{title:"HOA fees",price:"0"},{title:"Dump fees",price:"0"},{title:"Insurance",price:"0"},{title:"Interest on Loans",price:"0"},{title:"Loan Payment",price:"0"},{title:"Property Taxes",price:"0"},{title:"Security",price:"0"},{title:"Real Estates fees",price:"0"}],renovationCost:[{title:"Demolition: Removing existing structures or finishes",price:"0"},{title:"Framing: Making structural changes or additions",price:"0"},{title:"Plumbing: Installing or modifying plumbing systems",price:"0"},{title:"Electrical: Updating wiring and fixtures",price:"0"},{title:"HVAC: Installing or upgrading heating and cooling systems",price:"0"},{title:"Insulation: Adding or replacing insulation",price:"0"},{title:"Drywall: Hanging and finishing drywall",price:"0"},{title:"Interior Finishes: Painting, flooring, cabinetry, and fixtures",price:"0"},{title:"Exterior Work: Addressing siding, roofing, or landscaping, if applicable",price:"0"},{title:"Final Inspections: Ensuring everything meets codes",price:"0"},{title:"Punch List: Completing any remaining task",price:"0"}],sellingPriceBtoC:"0",costPaidOutofClosing:[{title:"Buyers Agent Commission",price:"0"},{title:"Sellers Agent Commission",price:"0"},{title:"Home Warranty",price:"0"},{title:"Document Preparation",price:"0"},{title:"Excise Tax",price:"0"},{title:"Legal Fees",price:"0"},{title:"Wire Fees/courier Fees",price:"0"},{title:"County Taxes",price:"0"},{title:"HOA Fee",price:"0"},{title:"Payoff of 1st Mortgage",price:"0"},{title:"Payoff of 2nd Mortgage",price:"0"},{title:"Payoff 3rd Mortgage",price:"0"}],adjustments:[{title:"adjustments",price:"0"}],incomestatement:[{title:"income statement",price:"0"},{title:"income statement",price:"0"}],fundspriortoclosing:"0",shorttermrental:"0",OtherIncome:"0",InsuranceClaim:"0",LongTermRental:"0",FinancingCostClosingCost:"0"}),[p,y]=R.useState(!1),b=(f,j)=>{const w=[...c.images];w[j].file=f.base64,d({...c,images:w})},g=()=>{d({...c,images:[...c.images,{title:"",file:""}]})},N=f=>{const j=c.images.filter((w,D)=>D!==f);d({...c,images:j})},C=(f,j)=>{const w=[...c.images];w[f].title=j.target.value,d({...c,images:w})},h=(f,j,w)=>{const{name:D,value:q}=f.target;if(w==="propertyTaxInfo"){const Y=[...c.propertyTaxInfo];Y[j][D]=q,d({...c,propertyTaxInfo:Y})}else d({...c,[D]:q})},v=()=>{d({...c,propertyTaxInfo:[...c.propertyTaxInfo,{propertytaxowned:"",ownedyear:"",taxassessed:"",taxyear:""}]})},m=f=>{const j=c.propertyTaxInfo.filter((w,D)=>D!==f);d({...c,propertyTaxInfo:j})},x=()=>{d(f=>({...f,costPaidAtoB:[...f.costPaidAtoB,{title:"",price:""}]}))},E=f=>{const j=c.costPaidAtoB.filter((w,D)=>D!==f);d(w=>({...w,costPaidAtoB:j}))},_=(f,j,w)=>{const D=[...c.costPaidAtoB];D[f][j]=w,d(q=>({...q,costPaidAtoB:D}))},O=(f,j)=>{let w=f.target.value;if(w=w.replace(/^\$/,"").trim(),/^\d*\.?\d*$/.test(w)||w===""){const q=c.costPaidAtoB.map((Y,se)=>se===j?{...Y,price:w,isInvalid:!1}:Y);d({...c,costPaidAtoB:q})}else{const q=c.costPaidAtoB.map((Y,se)=>se===j?{...Y,isInvalid:!0}:Y);d({...c,costPaidAtoB:q})}},P=()=>{const f=c.costPaidAtoB.reduce((w,D)=>{const q=parseFloat(D.price)||0;return w+q},0),j=parseFloat(c.purchaseCost)||0;return f+j},M=()=>{d(f=>({...f,credits:[...f.credits,{title:"",price:""}]}))},W=f=>{const j=c.credits.filter((w,D)=>D!==f);d(w=>({...w,credits:j}))},H=(f,j,w)=>{const D=[...c.credits];D[f][j]=w,d(q=>({...q,credits:D}))},te=(f,j)=>{const w=f.target.value;if(/^\d*\.?\d*$/.test(w)||w===""){const q=c.credits.map((Y,se)=>se===j?{...Y,price:w,isInvalid:!1}:Y);d({...c,credits:q})}else{const q=c.credits.map((Y,se)=>se===j?{...Y,isInvalid:!0}:Y);d({...c,credits:q})}},X=()=>c.credits.reduce((f,j)=>{const w=parseFloat(j.price);return f+(isNaN(w)?0:w)},0),Z=()=>{const f=c.costPaidAtoB.reduce((D,q)=>{const Y=parseFloat(q.price)||0;return D+Y},0),j=c.credits.reduce((D,q)=>{const Y=parseFloat(q.price)||0;return D+Y},0),w=parseFloat(c.purchaseCost)||0;return f+j+w},F=()=>{d(f=>({...f,cashAdjustments:[...f.cashAdjustments,{title:"",price:""}]}))},U=f=>{const j=c.cashAdjustments.filter((w,D)=>D!==f);d(w=>({...w,cashAdjustments:j}))},Q=(f,j,w)=>{const D=[...c.cashAdjustments];D[f][j]=w,d(q=>({...q,cashAdjustments:D}))},A=(f,j)=>{const w=f.target.value;if(/^\d*\.?\d*$/.test(w)||w===""){const q=c.cashAdjustments.map((Y,se)=>se===j?{...Y,price:w,isInvalid:!1}:Y);d({...c,cashAdjustments:q})}else{const q=c.cashAdjustments.map((Y,se)=>se===j?{...Y,isInvalid:!0}:Y);d({...c,cashAdjustments:q})}},T=()=>c.cashAdjustments.reduce((f,j)=>{const w=parseFloat(j.price);return f+(isNaN(w)?0:w)},0),L=()=>{const f=T(),j=X(),w=P();return f+j+w},B=()=>{d(f=>({...f,incidentalCost:[...f.incidentalCost,{title:"",price:""}]}))},$=f=>{const j=c.incidentalCost.filter((w,D)=>D!==f);d(w=>({...w,incidentalCost:j}))},K=(f,j,w)=>{const D=[...c.incidentalCost];D[f][j]=w,d(q=>({...q,incidentalCost:D}))},G=(f,j)=>{const w=f.target.value;if(/^\d*\.?\d*$/.test(w)||w===""){const q=c.incidentalCost.map((Y,se)=>se===j?{...Y,price:w,isInvalid:!1}:Y);d({...c,incidentalCost:q})}else{const q=c.incidentalCost.map((Y,se)=>se===j?{...Y,isInvalid:!0}:Y);d({...c,incidentalCost:q})}},ee=()=>c.incidentalCost.reduce((f,j)=>{const w=parseFloat(j.price);return f+(isNaN(w)?0:w)},0),re=()=>{d(f=>({...f,carryCosts:[...f.carryCosts,{title:"",price:""}]}))},ne=f=>{const j=c.carryCosts.filter((w,D)=>D!==f);d(w=>({...w,carryCosts:j}))},ie=(f,j,w)=>{const D=[...c.carryCosts];D[f][j]=w,d(q=>({...q,carryCosts:D}))},ce=(f,j)=>{const w=f.target.value;if(/^\d*\.?\d*$/.test(w)||w===""){const q=c.carryCosts.map((Y,se)=>se===j?{...Y,price:w,isInvalid:!1}:Y);d({...c,carryCosts:q})}else{const q=c.carryCosts.map((Y,se)=>se===j?{...Y,isInvalid:!0}:Y);d({...c,carryCosts:q})}},de=()=>c.carryCosts.reduce((f,j)=>{const w=parseFloat(j.price);return f+(isNaN(w)?0:w)},0),xe=()=>{d(f=>({...f,renovationCost:[...f.renovationCost,{title:"",price:""}]}))},Ot=f=>{const j=c.renovationCost.filter((w,D)=>D!==f);d(w=>({...w,renovationCost:j}))},or=(f,j,w)=>{const D=[...c.renovationCost];D[f][j]=w,d(q=>({...q,renovationCost:D}))},va=(f,j)=>{const w=f.target.value;if(/^\d*\.?\d*$/.test(w)||w===""){const q=c.renovationCost.map((Y,se)=>se===j?{...Y,price:w,isInvalid:!1}:Y);d({...c,renovationCost:q})}else{const q=c.renovationCost.map((Y,se)=>se===j?{...Y,isInvalid:!0}:Y);d({...c,renovationCost:q})}},Yr=()=>c.renovationCost.reduce((f,j)=>{const w=parseFloat(j.price);return f+(isNaN(w)?0:w)},0),Kr=()=>{const f=ee(),j=de(),w=Yr();return f+j+w},Bt=()=>{const f=Kr(),j=L();return f+j},Gr=()=>{d(f=>({...f,costPaidOutofClosing:[...f.costPaidOutofClosing,{title:"",price:""}]}))},In=f=>{const j=c.costPaidOutofClosing.filter((w,D)=>D!==f);d(w=>({...w,costPaidOutofClosing:j}))},ga=(f,j,w)=>{const D=[...c.costPaidOutofClosing];D[f][j]=w,d(q=>({...q,costPaidOutofClosing:D}))},ya=(f,j)=>{const w=f.target.value;if(/^\d*\.?\d*$/.test(w)||w===""){const q=c.costPaidOutofClosing.map((Y,se)=>se===j?{...Y,price:w,isInvalid:!1}:Y);d({...c,costPaidOutofClosing:q})}else{const q=c.costPaidOutofClosing.map((Y,se)=>se===j?{...Y,isInvalid:!0}:Y);d({...c,costPaidOutofClosing:q})}},Qr=()=>c.costPaidOutofClosing.reduce((f,j)=>{const w=parseFloat(j.price);return f+(isNaN(w)?0:w)},0),en=()=>{const f=c.sellingPriceBtoC,j=Qr();return f-j},Jr=()=>{d(f=>({...f,adjustments:[...f.adjustments,{title:"",price:""}]}))},tn=f=>{const j=c.adjustments.filter((w,D)=>D!==f);d(w=>({...w,adjustments:j}))},xa=(f,j,w)=>{const D=[...c.adjustments];D[f][j]=w,d(q=>({...q,adjustments:D}))},ja=(f,j)=>{const w=f.target.value;if(/^\d*\.?\d*$/.test(w)||w===""){const q=c.adjustments.map((Y,se)=>se===j?{...Y,price:w,isInvalid:!1}:Y);d({...c,adjustments:q})}else{const q=c.adjustments.map((Y,se)=>se===j?{...Y,isInvalid:!0}:Y);d({...c,adjustments:q})}},Xr=()=>c.adjustments.reduce((f,j)=>{const w=parseFloat(j.price);return f+(isNaN(w)?0:w)},0),ui=()=>{const f=en(),j=Xr();return f+j},Zr=()=>{d(f=>({...f,incomestatement:[...f.incomestatement,{title:"",price:""}]}))},di=f=>{const j=c.incomestatement.filter((w,D)=>D!==f);d(w=>({...w,incomestatement:j}))},Na=(f,j,w)=>{const D=[...c.incomestatement];D[f][j]=w,d(q=>({...q,incomestatement:D}))},Ca=(f,j)=>{const w=f.target.value;if(/^\d*\.?\d*$/.test(w)||w===""){const q=c.incomestatement.map((Y,se)=>se===j?{...Y,price:w,isInvalid:!1}:Y);d({...c,incomestatement:q})}else{const q=c.incomestatement.map((Y,se)=>se===j?{...Y,isInvalid:!0}:Y);d({...c,incomestatement:q})}},eo=()=>c.incomestatement.reduce((f,j)=>{const w=parseFloat(j.price);return f+(isNaN(w)?0:w)},0),Rn=()=>{const f=eo(),j=en();return f+j},Dn=()=>{const f=isNaN(parseFloat(Rn()))?0:parseFloat(Rn()),j=isNaN(parseFloat(c.shorttermrental))?0:parseFloat(c.shorttermrental),w=isNaN(parseFloat(c.OtherIncome))?0:parseFloat(c.OtherIncome),D=isNaN(parseFloat(c.InsuranceClaim))?0:parseFloat(c.InsuranceClaim),q=isNaN(parseFloat(c.LongTermRental))?0:parseFloat(c.LongTermRental),Y=isNaN(parseFloat(Bt()))?0:parseFloat(Bt());return f+j+w+D+q-Y},zt=()=>{const f=Dn(),j=c.FinancingCostClosingCost;return f-j},ir=()=>zt(),to=()=>{var f,j,w,D,q,Y;if(c.address&&c.city&&c.state&&c.county&&c.zip&&c.parcel&&c.subdivision&&c.legal&&c.costpersqft&&c.propertyType&&c.lotacres&&c.yearBuild&&c.totallivingsqft&&c.beds&&c.baths&&c.stories&&c.garage&&c.garagesqft&&c.poolspa&&c.fireplaces&&c.ac&&c.heating&&c.buildingstyle&&c.sitevacant&&c.extwall&&c.roofing&&c.totalSqft&&c.renovationRisk&&c.closeDateAtoB&&c.closeDateBtoC&&c.purchaseCost&&c.sellingPriceBtoC&&c.fundspriortoclosing&&c.shorttermrental&&c.OtherIncome&&c.InsuranceClaim&&c.LongTermRental&&c.FinancingCostClosingCost){const se=ir(),fi=P(),wa=Z(),Sa=T(),ka=ee(),Ea=X(),Pa=L(),_a=de(),Oa=Yr(),Ta=Kr(),Aa=Bt(),Ia=Qr(),Ra=Xr(),Gh=ui(),Qh=en(),Jh=en(),Xh=eo(),Zh=Rn(),ev=Dn(),tv=zt(),Da={...c,userfirstname:(f=l==null?void 0:l.result)==null?void 0:f.firstName,usermiddlename:(j=l==null?void 0:l.result)==null?void 0:j.middleName,userlastname:(w=l==null?void 0:l.result)==null?void 0:w.lastName,usertitle:(D=l==null?void 0:l.result)==null?void 0:D.title,useremail:(q=l==null?void 0:l.result)==null?void 0:q.email,userId:(Y=l==null?void 0:l.result)==null?void 0:Y.userId,totalPurchaseCosts:fi,totalcredits:Ea,totalPurchaseCostsaftercredits:wa,totalcashAdjustments:Sa,totalcashrequiredonsettlement:Pa,totalincidentalCost:ka,totalcarryCosts:_a,totalrenovationCost:Oa,totalRenovationsandHoldingCost:Ta,totalCoststoBuyAtoB:Aa,totalcostPaidOutofClosing:Ia,totaladjustments:Ra,fundsavailablefordistribution:Gh,grossproceedsperHUD:Qh,totalCosttoSellBtoC:Jh,totalincomestatement:Xh,netBtoCsalevalue:Zh,netprofitbeforefinancingcosts:ev,NetProfit:tv,rateofreturn:se};Array.isArray(c.propertyTaxInfo)&&c.propertyTaxInfo.length>0?Da.propertyTaxInfo=c.propertyTaxInfo:Da.propertyTaxInfo=[],i(Xi(Da)),y(!0)}else ae.error("Please fill all fields before submitting",{position:"top-right",autoClose:3e3})};R.useEffect(()=>{p&&(s==="succeeded"?(ae.success("Property submitted successfully!",{position:"top-right",autoClose:3e3}),y(!1)):s==="failed"&&(ae.error(`Failed to submit: ${a}`,{position:"top-right",autoClose:3e3}),y(!1)))},[s,a,p]);const[ba,S]=R.useState("0 days"),k=(f,j)=>{if(f&&j){const w=new Date(f),D=new Date(j),q=Math.abs(D-w),Y=Math.ceil(q/(1e3*60*60*24));S(`${Y} days`)}else S("0 days")};return r.jsx(r.Fragment,{children:r.jsxs("div",{className:"container tabs-wrap",children:[r.jsx(Ae,{}),r.jsxs("ul",{className:"nav nav-tabs",role:"tablist",children:[r.jsx("li",{role:"presentation",className:e==="propertydetails"?"active tab":"tab",children:r.jsx("a",{onClick:()=>t("propertydetails"),role:"tab",children:"Property Details"})}),r.jsx("li",{role:"presentation",className:e==="Images"?"active tab":"tab",children:r.jsx("a",{onClick:()=>t("Images"),role:"tab",children:"Images, Maps"})}),r.jsx("li",{role:"presentation",className:e==="Accounting"?"active tab":"tab",children:r.jsx("a",{onClick:()=>t("Accounting"),role:"tab",children:"Accounting"})})]}),r.jsxs("div",{className:"tab-content",children:[e==="propertydetails"&&r.jsxs("div",{role:"tabpanel",className:"card tab-pane active",children:[r.jsxs("form",{children:[r.jsx("h3",{style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:"Property Location"}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Property Address",r.jsx("input",{type:"text",className:"form-control",name:"address",value:c.address,onChange:h,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["City",r.jsx("input",{type:"text",className:"form-control",name:"city",value:c.city,onChange:h,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["State",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"state",value:c.state,onChange:h,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"Alaska",children:"Alaska"}),r.jsx("option",{value:"Alabama",children:"Alabama"}),r.jsx("option",{value:"Arkansas",children:"Arkansas"}),r.jsx("option",{value:"Arizona",children:"Arizona"}),r.jsx("option",{value:"California",children:"California"}),r.jsx("option",{value:"Colorado",children:"Colorado"}),r.jsx("option",{value:"Connecticut",children:"Connecticut"}),r.jsx("option",{value:"District Of Columbia",children:"District Of Columbia"}),r.jsx("option",{value:"Delaware",children:"Delaware"}),r.jsx("option",{value:"Florida",children:"Florida"}),r.jsx("option",{value:"Georgia",children:"Georgia"}),r.jsx("option",{value:"Hawaii",children:"Hawaii"}),r.jsx("option",{value:"Iowa",children:"Iowa"}),r.jsx("option",{value:"Idaho",children:"Idaho"}),r.jsx("option",{value:"Illinois",children:"Illinois"}),r.jsx("option",{value:"Indiana",children:"Indiana"}),r.jsx("option",{value:"Kansas",children:"Kansas"}),r.jsx("option",{value:"Kentucky",children:"Kentucky"}),r.jsx("option",{value:"Louisiana",children:"Louisiana"}),r.jsx("option",{value:"Massachusetts",children:"Massachusetts"}),r.jsx("option",{value:"Maryland",children:"Maryland"}),r.jsx("option",{value:"Michigan",children:"Michigan"}),r.jsx("option",{value:"Minnesota",children:"Minnesota"}),r.jsx("option",{value:"Missouri",children:"Missouri"}),r.jsx("option",{value:"Mississippi",children:"Mississippi"}),r.jsx("option",{value:"Montana",children:"Montana"}),r.jsx("option",{value:"North Carolina",children:"North Carolina"}),r.jsx("option",{value:"North Dakota",children:"North Dakota"}),r.jsx("option",{value:"Nebraska",children:"Nebraska"}),r.jsx("option",{value:"New Hampshire",children:"New Hampshire"}),r.jsx("option",{value:"New Jersey",children:"New Jersey"}),r.jsx("option",{value:"New Mexico",children:"New Mexico"}),r.jsx("option",{value:"Nevada",children:"Nevada"}),r.jsx("option",{value:"New York",children:"New York"}),r.jsx("option",{value:"Ohio",children:"Ohio"}),r.jsx("option",{value:"Oklahoma",children:"Oklahoma"}),r.jsx("option",{value:"Oregon",children:"Oregon"}),r.jsx("option",{value:"Pennsylvania",children:"Pennsylvania"}),r.jsx("option",{value:"Rhode Island",children:"Rhode Island"}),r.jsx("option",{value:"South Carolina",children:"South Carolina"}),r.jsx("option",{value:"South Dakota",children:"South Dakota"}),r.jsx("option",{value:"Tennessee",children:"Tennessee"}),r.jsx("option",{value:"Texas",children:"Texas"}),r.jsx("option",{value:"Texas",children:"Travis"}),r.jsx("option",{value:"Utah",children:"Utah"}),r.jsx("option",{value:"Virginia",children:"Virginia"}),r.jsx("option",{value:"Vermont",children:"Vermont"}),r.jsx("option",{value:"Washington",children:"Washington"}),r.jsx("option",{value:"Wisconsin",children:"Wisconsin"}),r.jsx("option",{value:"West Virginia",children:"West Virginia"}),r.jsx("option",{value:"Wyoming",children:"Wyoming"})]})]})})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsxs("div",{className:"col-md-4",children:["County",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"county",value:c.county,onChange:h,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"Abbeville",children:"Abbeville"}),r.jsx("option",{value:"Aiken",children:"Aiken"}),r.jsx("option",{value:"Allendale",children:"Allendale"}),r.jsx("option",{value:"Anderson",children:"Anderson"}),r.jsx("option",{value:"Bamberg",children:"Bamberg"}),r.jsx("option",{value:"Barnwell",children:"Barnwell"}),r.jsx("option",{value:"Beaufort",children:"Beaufort"}),r.jsx("option",{value:"Berkeley",children:"Berkeley"}),r.jsx("option",{value:"Calhoun",children:"Calhoun"}),r.jsx("option",{value:"Charleston",children:"Charleston"}),r.jsx("option",{value:"Cherokee",children:"Cherokee"}),r.jsx("option",{value:"Chester",children:"Chester"}),r.jsx("option",{value:"Chesterfield",children:"Chesterfield"}),r.jsx("option",{value:"Clarendon",children:"Clarendon"}),r.jsx("option",{value:"Colleton",children:"Colleton"}),r.jsx("option",{value:"Darlington",children:"Darlington"}),r.jsx("option",{value:"Dillon",children:"Dillon"}),r.jsx("option",{value:"Dorchester",children:"Dorchester"}),r.jsx("option",{value:"Edgefield",children:"Edgefield"}),r.jsx("option",{value:"Fairfield",children:"Fairfield"}),r.jsx("option",{value:"Florence",children:"Florence"}),r.jsx("option",{value:"Georgetown",children:"Georgetown"}),r.jsx("option",{value:"Greenville",children:"Greenville"}),r.jsx("option",{value:"Greenwood",children:"Greenwood"}),r.jsx("option",{value:"Hampton",children:"Hampton"}),r.jsx("option",{value:"Horry",children:"Horry"}),r.jsx("option",{value:"Jasper",children:"Jasper"}),r.jsx("option",{value:"Kershaw",children:"Kershaw"}),r.jsx("option",{value:"Lancaster",children:"Lancaster"}),r.jsx("option",{value:"Laurens",children:"Laurens"}),r.jsx("option",{value:"Lee",children:"Lee"}),r.jsx("option",{value:"Lexington",children:"Lexington"}),r.jsx("option",{value:"Marion",children:"Marion"}),r.jsx("option",{value:"Marlboro",children:"Marlboro"}),r.jsx("option",{value:"McCormick",children:"McCormick"}),r.jsx("option",{value:"Newberry",children:"Newberry"}),r.jsx("option",{value:"Oconee",children:"Oconee"}),r.jsx("option",{value:"Orangeburg",children:"Orangeburg"}),r.jsx("option",{value:"Pickens",children:"Pickens"}),r.jsx("option",{value:"Richland",children:"Richland"}),r.jsx("option",{value:"Saluda",children:"Saluda"}),r.jsx("option",{value:"Spartanburg",children:"Spartanburg"}),r.jsx("option",{value:"Sumter",children:"Sumter"}),r.jsx("option",{value:"Union",children:"Union"}),r.jsx("option",{value:"Williamsburg",children:"Williamsburg"}),r.jsx("option",{value:"York",children:"York"})]})]}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Zip",r.jsx("input",{type:"text",className:"form-control",name:"zip",value:c.zip,onChange:h,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Parcel",r.jsx("input",{type:"text",className:"form-control",name:"parcel",value:c.parcel,onChange:h,required:!0})]})})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Sub division",r.jsx("input",{type:"text",className:"form-control",name:"subdivision",value:c.subdivision,onChange:h,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Legal Description",r.jsx("textarea",{type:"text",className:"form-control",name:"legal",value:c.legal,onChange:h,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Cost per SQFT",r.jsx("input",{type:"text",className:"form-control",name:"costpersqft",value:c.costpersqft,onChange:h,required:!0})]})})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsxs("div",{className:"col-md-4",children:["Property Type",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"propertyType",value:c.propertyType,onChange:h,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"Residential",children:"Residential"}),r.jsx("option",{value:"Land",children:"Land"}),r.jsx("option",{value:"Commercial",children:"Commercial"}),r.jsx("option",{value:"Industrial",children:"Industrial"}),r.jsx("option",{value:"Water",children:"Water"})]})]}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Lot Acres/Sqft",r.jsx("input",{type:"text",className:"form-control",name:"lotacres",value:c.lotacres,onChange:h,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Year Build",r.jsx("input",{type:"text",className:"form-control",name:"yearBuild",value:c.yearBuild,onChange:h,required:!0})]})})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Total Living SQFT",r.jsx("input",{type:"text",className:"form-control",name:"totallivingsqft",value:c.totallivingsqft,onChange:h,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Beds",r.jsx("input",{type:"text",className:"form-control",name:"beds",value:c.beds,onChange:h,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Baths",r.jsx("input",{type:"text",className:"form-control",name:"baths",value:c.baths,onChange:h,required:!0})]})})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsxs("div",{className:"col-md-4",children:["Stories",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"stories",value:c.stories,onChange:h,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"0",children:"0"}),r.jsx("option",{value:"1",children:"1"}),r.jsx("option",{value:"2",children:"2"}),r.jsx("option",{value:"3",children:"3"}),r.jsx("option",{value:"4",children:"4"}),r.jsx("option",{value:"5",children:"5"}),r.jsx("option",{value:"6",children:"6"}),r.jsx("option",{value:"7",children:"7"}),r.jsx("option",{value:"8",children:"8"}),r.jsx("option",{value:"9",children:"9"}),r.jsx("option",{value:"10",children:"10"})]})]}),r.jsxs("div",{className:"col-md-4",children:["Garage",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"garage",value:c.garage,onChange:h,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"0",children:"0"}),r.jsx("option",{value:"1",children:"1"}),r.jsx("option",{value:"2",children:"2"}),r.jsx("option",{value:"3",children:"3"}),r.jsx("option",{value:"4",children:"4"}),r.jsx("option",{value:"5",children:"5"})]})]}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Garage SQFT",r.jsx("input",{type:"text",className:"form-control",name:"garagesqft",value:c.garagesqft,onChange:h,required:!0})]})})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsxs("div",{className:"col-md-4",children:["Pool/SPA",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"poolspa",value:c.poolspa,onChange:h,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"N/A",children:"N/A"}),r.jsx("option",{value:"Yes- Pool Only",children:"Yes- Pool Only"}),r.jsx("option",{value:"Yes- SPA only",children:"Yes- SPA only"}),r.jsx("option",{value:"Yes - Both Pool and SPA",children:"Yes - Both Pool and SPA"}),r.jsx("option",{value:"4",children:"None"})]})]}),r.jsxs("div",{className:"col-md-4",children:["Fire places",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"fireplaces",value:c.fireplaces,onChange:h,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"N/A",children:"N/A"}),r.jsx("option",{value:"yes",children:"Yes"}),r.jsx("option",{value:"no",children:"No"})]})]}),r.jsxs("div",{className:"col-md-4",children:["A/C",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"ac",value:c.ac,onChange:h,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"N/A",children:"N/A"}),r.jsx("option",{value:"Central",children:"Central"}),r.jsx("option",{value:"Heat Pump",children:"Heat Pump"}),r.jsx("option",{value:"Warm Air",children:"Warm Air"}),r.jsx("option",{value:"Forced Air",children:"Forced Air"}),r.jsx("option",{value:"Gas",children:"Gas"})]})]})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsxs("div",{className:"col-md-4",children:["Heating",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"heating",value:c.heating,onChange:h,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"N/A",children:"N/A"}),r.jsx("option",{value:"Central",children:"Central"}),r.jsx("option",{value:"Heat Pump",children:"Heat Pump"}),r.jsx("option",{value:"Warm Air",children:"Warm Air"}),r.jsx("option",{value:"Forced Air",children:"Forced Air"}),r.jsx("option",{value:"Gas",children:"Gas"})]})]}),r.jsxs("div",{className:"col-md-4",children:["Building Style",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"buildingstyle",value:c.buildingstyle,onChange:h,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"One Story",children:"One Story"}),r.jsx("option",{value:"Craftsman",children:"Craftsman"}),r.jsx("option",{value:"Log/Cabin",children:"Log/Cabin"}),r.jsx("option",{value:"Split-Level",children:"Split-Level"}),r.jsx("option",{value:"Split-Foyer",children:"Split-Foyer"}),r.jsx("option",{value:"Stick Built",children:"Stick Built"}),r.jsx("option",{value:"Single wide",children:"Single wide"}),r.jsx("option",{value:"Double wide",children:"Double wide"}),r.jsx("option",{value:"Duplex",children:"Duplex"}),r.jsx("option",{value:"Triplex",children:"Triplex"}),r.jsx("option",{value:"Quadruplex",children:"Quadruplex"}),r.jsx("option",{value:"Two Story",children:"Two Story"}),r.jsx("option",{value:"Victorian",children:"Victorian"}),r.jsx("option",{value:"Tudor",children:"Tudor"}),r.jsx("option",{value:"Modern",children:"Modern"}),r.jsx("option",{value:"Art Deco",children:"Art Deco"}),r.jsx("option",{value:"Bungalow",children:"Bungalow"}),r.jsx("option",{value:"Mansion",children:"Mansion"}),r.jsx("option",{value:"Farmhouse",children:"Farmhouse"}),r.jsx("option",{value:"Conventional",children:"Conventional"}),r.jsx("option",{value:"Ranch",children:"Ranch"}),r.jsx("option",{value:"Ranch with Basement",children:"Ranch with Basement"}),r.jsx("option",{value:"Cape Cod",children:"Cape Cod"}),r.jsx("option",{value:"Contemporary",children:"Contemporary"}),r.jsx("option",{value:"Colonial",children:"Colonial"}),r.jsx("option",{value:"Mediterranean",children:"Mediterranean"})]})]}),r.jsxs("div",{className:"col-md-4",children:["Site Vacant",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"sitevacant",value:c.sitevacant,onChange:h,required:!0,children:[r.jsx("option",{value:"",children:"Please select"}),r.jsx("option",{value:"Yes",children:"Yes"}),r.jsx("option",{value:"No",children:"No"})]})]})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsxs("div",{className:"col-md-4",children:["Ext Wall",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"extwall",value:c.extwall,onChange:h,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"N/A",children:"N/A"}),r.jsx("option",{value:"Brick",children:"Brick"}),r.jsx("option",{value:"Brick/Vinyl Siding",children:"Brick/Vinyl Siding"}),r.jsx("option",{value:"Wood/Vinyl Siding",children:"Wood/Vinyl Siding"}),r.jsx("option",{value:"Brick/Wood Siding",children:"Brick/Wood Siding"}),r.jsx("option",{value:"Stone",children:"Stone"}),r.jsx("option",{value:"Masonry",children:"Masonry"}),r.jsx("option",{value:"Metal",children:"Metal"}),r.jsx("option",{value:"Fiberboard",children:"Fiberboard"}),r.jsx("option",{value:"Asphalt Siding",children:"Asphalt Siding"}),r.jsx("option",{value:"Concrete Block",children:"Concrete Block"}),r.jsx("option",{value:"Gable",children:"Gable"}),r.jsx("option",{value:"Brick Veneer",children:"Brick Veneer"}),r.jsx("option",{value:"Frame",children:"Frame"}),r.jsx("option",{value:"Siding",children:"Siding"}),r.jsx("option",{value:"Cement/Wood Fiber Siding",children:"Cement/Wood Fiber Siding"}),r.jsx("option",{value:"Fiber/Cement Siding",children:"Fiber/Cement Siding"}),r.jsx("option",{value:"Wood Siding",children:"Wood Siding"}),r.jsx("option",{value:"Vinyl Siding",children:"Vinyl Siding"}),r.jsx("option",{value:"Aluminium Siding",children:"Aluminium Siding"}),r.jsx("option",{value:"Wood/Vinyl Siding",children:"Alum/Vinyl Siding"})]})]}),r.jsxs("div",{className:"col-md-4",children:["Roofing",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"roofing",value:c.roofing,onChange:h,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"N/A",children:"N/A"}),r.jsx("option",{value:"Asphalt Shingle",children:"Asphalt Shingle"}),r.jsx("option",{value:"Green Roofs",children:"Green Roofs"}),r.jsx("option",{value:"Built-up Roofing",children:"Built-up Roofing"}),r.jsx("option",{value:"Composition Shingle",children:"Composition Shingle"}),r.jsx("option",{value:"Composition Shingle Heavy",children:"Composition Shingle Heavy"}),r.jsx("option",{value:"Solar tiles",children:"Solar tiles"}),r.jsx("option",{value:"Metal",children:"Metal"}),r.jsx("option",{value:"Stone-coated steel",children:"Stone-coated steel"}),r.jsx("option",{value:"Slate",children:"Slate"}),r.jsx("option",{value:"Rubber Slate",children:"Rubber Slate"}),r.jsx("option",{value:"Clay and Concrete tiles",children:"Clay and Concrete tiles"})]})]}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Total SQFT",r.jsx("input",{type:"text",className:"form-control",name:"totalSqft",value:c.totalSqft,onChange:h,required:!0})]})})]}),r.jsxs("h3",{style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:[r.jsx("br",{}),"Property Tax Information"]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),c.propertyTaxInfo.map((f,j)=>r.jsxs("div",{className:"row gy-4",children:[r.jsx("div",{className:"col-md-3",children:r.jsxs("div",{className:"form-floating mb-3",children:["Property Tax Owned",r.jsx("input",{type:"text",className:"form-control",name:"propertytaxowned",value:f.propertytaxowned,onChange:w=>h(w,j,"propertyTaxInfo"),required:!0})]})}),r.jsx("div",{className:"col-md-2",children:r.jsxs("div",{className:"form-floating mb-2",children:["Owned Year",r.jsx("input",{type:"text",className:"form-control",name:"ownedyear",value:f.ownedyear,onChange:w=>h(w,j,"propertyTaxInfo"),required:!0})]})}),r.jsx("div",{className:"col-md-2",children:r.jsxs("div",{className:"form-floating mb-2",children:["Tax Assessed",r.jsx("input",{type:"text",className:"form-control",name:"taxassessed",value:f.taxassessed,onChange:w=>h(w,j,"propertyTaxInfo"),required:!0})]})}),r.jsx("div",{className:"col-md-2",children:r.jsxs("div",{className:"form-floating mb-2",children:["Tax Year",r.jsx("input",{type:"text",className:"form-control",name:"taxyear",value:f.taxyear,onChange:w=>h(w,j,"propertyTaxInfo"),required:!0})]})}),r.jsx("div",{className:"col-md-3",children:r.jsxs("div",{className:"form-floating mb-2",children:[r.jsx("br",{}),r.jsx("button",{className:"btn btn-danger",onClick:()=>m(j),style:{height:"25px",width:"35px"},children:"X"})]})})]},j)),r.jsx("button",{className:"btn btn-secondary",onClick:v,children:"+ Add Another Property Tax Info"})]}),r.jsx("button",{className:"btn btn-primary continue",onClick:n,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Continue"})]}),e==="Images"&&r.jsxs("div",{role:"tabpanel",className:"card tab-pane active",children:[r.jsxs("h3",{style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:["Upload Images"," "]}),r.jsxs("form",{children:[c.images.map((f,j)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:f.title,placeholder:"Image Title",onChange:w=>C(j,w)})}),r.jsxs("div",{className:"col-md-4 d-flex align-items-center",children:[r.jsx(Du,{multiple:!1,onDone:w=>b(w,j)}),r.jsx("button",{type:"button",className:"btn btn-danger",onClick:()=>N(j),style:{marginLeft:"5px"},children:"Delete"})]}),f.file&&r.jsx("div",{className:"col-md-12",children:r.jsx("img",{src:f.file,alt:"uploaded",style:{width:"150px",height:"150px"}})})]},j)),r.jsx("button",{type:"button",className:"btn btn-primary",onClick:g,style:{backgroundColor:"#fda417",border:"#fda417"},children:"+ Add Image"}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"mb-3",children:[r.jsx("label",{htmlFor:"googleMapLink",className:"form-label",children:r.jsxs("h3",{style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:["Google Maps Link"," "]})}),r.jsx("input",{type:"text",className:"form-control",name:"googleMapLink",value:c.googleMapLink,onChange:h,placeholder:"Enter Google Maps link"})]}),c.googleMapLink&&r.jsx("iframe",{title:"Google Map",width:"100%",height:"300",src:`https://www.google.com/maps/embed/v1/view?key=YOUR_API_KEY¢er=${c.googleMapLink}&zoom=10`,frameBorder:"0",allowFullScreen:!0})]}),r.jsx("button",{className:"btn btn-primary back",onClick:o,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Go Back"})," ",r.jsx("button",{className:"btn btn-primary continue",onClick:n,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Continue"})]}),e==="Accounting"&&r.jsxs("div",{className:"card",style:{color:"#fda417",border:"1px solid #fda417",padding:"10px",borderRadius:"8px"},children:[r.jsx("br",{}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Close Date A to B",required:!0,disabled:!0})}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"date",className:"form-control",name:"closeDateAtoB",value:c.closeDateAtoB,onChange:f=>{const j=f.target.value;d({...c,closeDateAtoB:j}),k(j,c.closeDateBtoC)},placeholder:"Close Date A to B",style:{textAlign:"right"},required:!0})}),r.jsx("div",{children:r.jsxs("p",{children:[r.jsxs("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:["[M-D-Y]"," "]}),":"," ",r.jsx("span",{style:{color:"#000000",fontSize:"14px",fontWeight:"normal"},children:new Date(c.closeDateAtoB).toLocaleDateString("en-US",{month:"numeric",day:"numeric",year:"numeric"})})]})})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Close Date B to C",required:!0,disabled:!0})}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"date",className:"form-control",name:"closeDateBtoC",value:c.closeDateBtoC,onChange:f=>{const j=f.target.value;d({...c,closeDateBtoC:j}),k(c.closeDateAtoB,j)},placeholder:"Close Date B to C",style:{textAlign:"right"},required:!0})}),r.jsx("div",{children:r.jsxs("p",{children:[r.jsxs("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:["[M-D-Y] :"," "]}),r.jsx("span",{style:{color:"#000000",fontSize:"14px",fontWeight:"normal"},children:new Date(c.closeDateBtoC).toLocaleDateString("en-US",{month:"numeric",day:"numeric",year:"numeric"})})]})})]}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Renovation Risk"}),r.jsx("div",{className:"col-md-7",children:u.map(f=>r.jsxs("div",{className:"form-check form-check-inline",children:[r.jsx("input",{className:"form-check-input",type:"radio",name:"renovationRisk",id:`renovationRisk${f}`,value:f,checked:c.renovationRisk===f,onChange:j=>{const w=parseInt(j.target.value,10);d({...c,renovationRisk:w})}}),r.jsx("label",{className:"form-check-label",htmlFor:`renovationRisk${f}`,children:f})]},f))})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Rate of Return"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"rateofreturn",value:`$ ${ir().toFixed(2)}`,readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Turn Time"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:ba,readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("br",{}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Purchase Price"}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${c.isPurchaseCostInvalid?"is-invalid":""}`,value:`$ ${c.purchaseCost}`,name:"purchaseCost",onChange:f=>{let j=f.target.value.replace(/[^\d.]/g,"");const w=/^\d*\.?\d*$/.test(j);d({...c,purchaseCost:j,isPurchaseCostInvalid:!w})},onKeyPress:f=>{const j=f.charCode;(j<48||j>57)&&j!==46&&(f.preventDefault(),d({...c,isPurchaseCostInvalid:!0}))},placeholder:"Enter Purchase Cost",style:{textAlign:"right"},required:!0}),c.isPurchaseCostInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Costs paid out of Closing Hud A to B:"}),c.costPaidAtoB.map((f,j)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:f.title,onChange:w=>_(j,"title",w.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${f.isInvalid?"is-invalid":""}`,value:`$ ${f.price}`,onChange:w=>O(w,j),placeholder:"Price",style:{textAlign:"right"},required:!0}),f.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>E(j),style:{marginLeft:"5px"},children:"x"})})]},j)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{onClick:x,className:"btn btn-primary back",style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Extra Cost"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Purchase Cost"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalPurchaseCosts",value:`$ ${P().toFixed(2)}`,readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Credits received on settlement:"}),c.credits.map((f,j)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:f.title,onChange:w=>H(j,"title",w.target.value),placeholder:"credits",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${f.isInvalid?"is-invalid":""}`,value:f.price,onChange:w=>te(w,j),placeholder:"Price",style:{textAlign:"right"},required:!0}),f.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>W(j),style:{marginLeft:"5px"},children:"x"})})]},j)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:M,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add credits"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total credits received on settlement"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalcredits",value:X(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Purchase Cost after Credits Received"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalPurchaseCostsaftercredits",value:Z(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Cash Adjustments:"}),c.cashAdjustments.map((f,j)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:f.title,onChange:w=>Q(j,"title",w.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${f.isInvalid?"is-invalid":""}`,value:f.price,onChange:w=>A(w,j),placeholder:"Price",style:{textAlign:"right"},required:!0}),f.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>U(j),style:{marginLeft:"5px"},children:"x"})})]},j)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:F,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Cash Adjustments"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Cash Adjustments on Settlement"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalcashAdjustments",value:T(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Cash Required on Settlement"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalcashrequiredonsettlement",value:L(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Incidental Cost:"}),c.incidentalCost.map((f,j)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:f.title,onChange:w=>K(j,"title",w.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${f.isInvalid?"is-invalid":""}`,value:f.price,onChange:w=>G(w,j),placeholder:"Price",style:{textAlign:"right"},required:!0}),f.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>$(j),style:{marginLeft:"5px"},children:"x"})})]},j)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:B,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Incidental Cost"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Incidental Cost"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalincidentalCost",value:ee(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Carry Costs:"}),c.carryCosts.map((f,j)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:f.title,onChange:w=>ie(j,"title",w.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${f.isInvalid?"is-invalid":""}`,value:f.price,onChange:w=>ce(w,j),placeholder:"Price",style:{textAlign:"right"},required:!0}),f.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>ne(j),style:{marginLeft:"5px"},children:"x"})})]},j)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:re,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Carry Cost"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Carry Cost"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalcarryCosts",value:de(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Reno/Construction"}),c.renovationCost.map((f,j)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:f.title,onChange:w=>or(j,"title",w.target.value),placeholder:"Title",required:!0,style:{fontSize:"10px"}})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${f.isInvalid?"is-invalid":""}`,value:f.price,onChange:w=>va(w,j),placeholder:"Price",style:{textAlign:"right"},required:!0}),f.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>Ot(j),style:{marginLeft:"5px"},children:"x"})})]},j)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:xe,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Reno/Construction"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Renovation Cost"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalrenovationCost",value:Yr(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Renovations & Holding Cost"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalRenovationsandHoldingCost",value:Kr(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Costs to Buy A to B"}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:"form-control",name:"totalCoststoBuyAtoB",value:Bt(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0}),c.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Selling Price B to C"}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${c.isPurchaseCostInvalid?"is-invalid":""}`,name:"sellingPriceBtoC",value:c.sellingPriceBtoC,onChange:f=>{const j=f.target.value,w=/^\d*\.?\d*$/.test(j);d({...c,sellingPriceBtoC:j,isPurchaseCostInvalid:!w})},onKeyPress:f=>{const j=f.charCode;(j<48||j>57)&&j!==46&&(f.preventDefault(),d({...c,isPurchaseCostInvalid:!0}))},placeholder:"Enter Purchase Cost",style:{textAlign:"right"},required:!0}),c.isPurchaseCostInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Less:Costs paid out of closing Hud B to C:"}),c.costPaidOutofClosing.map((f,j)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:f.title,onChange:w=>ga(j,"title",w.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${f.isInvalid?"is-invalid":""}`,value:f.price,onChange:w=>ya(w,j),placeholder:"Price",style:{textAlign:"right"},required:!0}),f.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>In(j),style:{marginLeft:"5px"},children:"x"})})]},j)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:Gr,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Cost Paid Out of Closing"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total cost paid out of closing"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalcostPaidOutofClosing",value:Qr(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Cost to Sell B to C"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalCosttoSellBtoC",value:en(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Gross Proceeds per HUD"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"grossproceedsperHUD",value:en(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Adjustments:"}),c.adjustments.map((f,j)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:f.title,onChange:w=>xa(j,"title",w.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${f.isInvalid?"is-invalid":""}`,value:f.price,onChange:w=>ja(w,j),placeholder:"Price",style:{textAlign:"right"},required:!0}),f.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>tn(j),style:{marginLeft:"5px"},children:"x"})})]},j)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:Jr,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Adjustments"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Adjustments"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totaladjustments",value:Xr(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Funds Available for distribution"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"fundsavailablefordistribution",value:ui(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Income Statement Adjustments:"}),c.incomestatement.map((f,j)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:f.title,onChange:w=>Na(j,"title",w.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${f.isInvalid?"is-invalid":""}`,value:f.price,onChange:w=>Ca(w,j),placeholder:"Price",style:{textAlign:"right"},required:!0}),f.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>di(j),style:{marginLeft:"5px"},children:"x"})})]},j)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:Zr,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Income Statement"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Income Statement Adjustment"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalincomestatement",value:eo(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Net B to C Sale Value"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"netBtoCsalevalue",value:Rn(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Net Profit Computation"}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Total Costs to Buy A to B",required:!0,disabled:!0})}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalCoststoBuyAtoBagain",value:Bt(),style:{textAlign:"right"},required:!0})})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Funds Prior to Closing",required:!0,disabled:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${c.isfundspriortoclosingInvalid?"is-invalid":""}`,value:c.fundspriortoclosing,name:"fundspriortoclosing",onChange:f=>{const j=f.target.value,w=/^\d*\.?\d*$/.test(j);d({...c,fundspriortoclosing:j,isfundspriortoclosingInvalid:!w})},onKeyPress:f=>{const j=f.charCode;(j<48||j>57)&&j!==46&&(f.preventDefault(),d({...c,isfundspriortoclosingInvalid:!0}))},style:{textAlign:"right"},required:!0}),c.isfundspriortoclosingInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Net B to C Sale Value",required:!0,disabled:!0})}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"netBtoCsalevalue",value:Rn(),style:{textAlign:"right"},required:!0})})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Short Term Rental",required:!0,disabled:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${c.isPurchaseCostInvalid?"is-invalid":""}`,value:c.shorttermrental,name:"shorttermrental",onChange:f=>{const j=f.target.value,w=/^\d*\.?\d*$/.test(j);d({...c,shorttermrental:j,isPurchaseCostInvalid:!w})},onKeyPress:f=>{const j=f.charCode;(j<48||j>57)&&j!==46&&(f.preventDefault(),d({...c,isPurchaseCostInvalid:!0}))},style:{textAlign:"right"},required:!0}),c.isPurchaseCostInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Other Income",required:!0,disabled:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${c.isPurchaseCostInvalid?"is-invalid":""}`,value:c.OtherIncome,name:"OtherIncome",onChange:f=>{const j=f.target.value,w=/^\d*\.?\d*$/.test(j);d({...c,OtherIncome:j,isPurchaseCostInvalid:!w})},onKeyPress:f=>{const j=f.charCode;(j<48||j>57)&&j!==46&&(f.preventDefault(),d({...c,isPurchaseCostInvalid:!0}))},style:{textAlign:"right"},required:!0}),c.isPurchaseCostInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Insurance Claim",required:!0,disabled:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${c.isPurchaseCostInvalid?"is-invalid":""}`,value:c.InsuranceClaim,name:"InsuranceClaim",onChange:f=>{const j=f.target.value,w=/^\d*\.?\d*$/.test(j);d({...c,InsuranceClaim:j,isPurchaseCostInvalid:!w})},onKeyPress:f=>{const j=f.charCode;(j<48||j>57)&&j!==46&&(f.preventDefault(),d({...c,isPurchaseCostInvalid:!0}))},style:{textAlign:"right"},required:!0}),c.isPurchaseCostInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Long Term Rental",required:!0,disabled:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${c.isPurchaseCostInvalid?"is-invalid":""}`,value:c.LongTermRental,name:"LongTermRental",onChange:f=>{const j=f.target.value,w=/^\d*\.?\d*$/.test(j);d({...c,LongTermRental:j,isPurchaseCostInvalid:!w})},onKeyPress:f=>{const j=f.charCode;(j<48||j>57)&&j!==46&&(f.preventDefault(),d({...c,isPurchaseCostInvalid:!0}))},style:{textAlign:"right"},required:!0}),c.isPurchaseCostInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Net Profit Before Financing Costs"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"netprofitbeforefinancingcosts",value:Dn(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Financing Cost/Other Closing Costs"}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${c.isFinancingCostClosingCostInvalid?"is-invalid":""}`,value:c.FinancingCostClosingCost,name:"FinancingCostClosingCost",onChange:f=>{const j=f.target.value,w=/^\d*\.?\d*$/.test(j);d({...c,FinancingCostClosingCost:j,isFinancingCostClosingCostInvalid:!w})},onKeyPress:f=>{const j=f.charCode;(j<48||j>57)&&j!==46&&(f.preventDefault(),d({...c,isFinancingCostClosingCostInvalid:!0}))},style:{textAlign:"right"},required:!0}),c.isFinancingCostClosingCostInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Net Profit"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"netprofit",value:zt(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("button",{className:"btn btn-primary back",onClick:o,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Go Back"})," ",r.jsx("button",{type:"button",className:"btn btn-primary continue",style:{backgroundColor:"#fda417",border:"#fda417"},onClick:to,children:"Submit"})," "]}),r.jsx("br",{})]})]})]})})},Dt="/assets/propertydummy-DhVEZ7jN.jpg",TN=()=>{var u;const e=Pt(),{user:t}=tt(c=>({...c.auth})),{userProperties:n,totalPages:o}=tt(c=>c.property),[i,s]=R.useState(1),a=5;R.useEffect(()=>{e(Zi({userId:t.result.userId,page:i,limit:a}))},[e,(u=t==null?void 0:t.result)==null?void 0:u.userId,i]);const l=c=>{s(c)};return r.jsx(r.Fragment,{children:n.length>0?r.jsxs(r.Fragment,{children:[r.jsx("ul",{children:n.map(c=>r.jsx("li",{children:r.jsx("div",{className:"container",children:r.jsx("div",{className:"col-md-12",children:r.jsxs("div",{className:"row p-2 bg-white border rounded mt-2",children:[r.jsx("div",{className:"col-md-3 mt-1",children:r.jsx("img",{src:Dt,className:"w-70",alt:"Img",style:{marginTop:"0px",maxWidth:"200px",maxHeight:"200px"}})}),r.jsxs("div",{className:"col-md-6 mt-1",children:[r.jsxs("h5",{children:[" ",r.jsxs(ge,{to:`/property/${c.propertyId}`,target:"_blank",children:[c.address,"....."]})]}),r.jsx("div",{className:"d-flex flex-row"}),r.jsxs("div",{className:"mt-1 mb-1 spec-1",children:[r.jsx("span",{children:"100% cotton"}),r.jsx("span",{className:"dot"}),r.jsx("span",{children:"Light weight"}),r.jsx("span",{className:"dot"}),r.jsxs("span",{children:["Best finish",r.jsx("br",{})]})]}),r.jsxs("div",{className:"mt-1 mb-1 spec-1",children:[r.jsx("span",{children:"Unique design"}),r.jsx("span",{className:"dot"}),r.jsx("span",{children:"For men"}),r.jsx("span",{className:"dot"}),r.jsxs("span",{children:["Casual",r.jsx("br",{})]})]}),r.jsxs("p",{className:"text-justify text-truncate para mb-0",children:["There are many variations of passages of",r.jsx("br",{}),r.jsx("br",{})]})]}),r.jsx("div",{className:"align-items-center align-content-center col-md-3 border-left mt-1",children:r.jsxs("div",{className:"d-flex flex-column mt-4",children:[r.jsx(ge,{to:`/property/${c.propertyId}`,target:"_blank",children:r.jsxs("button",{className:"btn btn-outline-primary btn-sm mt-2",type:"button",style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{className:"fa fa-eye",style:{color:"#F74B02"}})," "," ","View Details"]})}),r.jsx(ge,{to:`/editproperty/${c.propertyId}`,children:r.jsxs("button",{className:"btn btn-outline-primary btn-sm mt-2",type:"button",style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{className:"fa fa-edit",style:{color:"#F74B02"}})," "," ","Edit Details .."]})})]})})]})})})},c._id))}),r.jsxs("div",{className:"pagination",children:[r.jsx("button",{onClick:()=>l(i-1),disabled:i===1,children:"Previous"}),Array.from({length:o},(c,d)=>d+1).map(c=>c===i||c===1||c===o||c>=i-1&&c<=i+1?r.jsx("button",{onClick:()=>l(c),disabled:i===c,children:c},c):c===2||c===o-1?r.jsx("span",{children:"..."},c):null),r.jsx("button",{onClick:()=>l(i+1),disabled:i===o,children:"Next"})]})]}):r.jsx("p",{children:"No active properties found."})})},AN=()=>{var d,p,y,b,g,N,C,h,v,m,x,E;const{user:e,isLoading:t,error:n}=tt(_=>_.auth),o=Pt(),i=Vr(),[s,a]=R.useState({userId:((d=e==null?void 0:e.result)==null?void 0:d.userId)||"",title:((p=e==null?void 0:e.result)==null?void 0:p.title)||"",firstName:((y=e==null?void 0:e.result)==null?void 0:y.firstName)||"",middleName:((b=e==null?void 0:e.result)==null?void 0:b.middleName)||"",lastName:((g=e==null?void 0:e.result)==null?void 0:g.lastName)||"",email:((N=e==null?void 0:e.result)==null?void 0:N.email)||"",aboutme:((C=e==null?void 0:e.result)==null?void 0:C.aboutme)||"",city:((h=e==null?void 0:e.result)==null?void 0:h.city)||"",state:((v=e==null?void 0:e.result)==null?void 0:v.state)||"",county:((m=e==null?void 0:e.result)==null?void 0:m.county)||"",zip:((x=e==null?void 0:e.result)==null?void 0:x.zip)||"",profileImage:((E=e==null?void 0:e.result)==null?void 0:E.profileImage)||""});R.useEffect(()=>{e&&a({userId:e.result.userId,title:e.result.title,firstName:e.result.firstName,middleName:e.result.middleName,lastName:e.result.lastName,email:e.result.email,aboutme:e.result.aboutme,city:e.result.city,state:e.result.state,county:e.result.county,zip:e.result.zip,profileImage:e.result.profileImage})},[e]);const l=_=>{a({...s,[_.target.name]:_.target.value})},u=()=>{a({...s,profileImage:""})},c=_=>{_.preventDefault(),o(Gi(s)),i("/login")};return r.jsx(r.Fragment,{children:r.jsxs("form",{onSubmit:c,children:[r.jsxs("div",{className:"col-4",children:["Title",r.jsxs("select",{className:"form-floating mb-3 form-control","aria-label":"Default select example",name:"title",value:s.title,onChange:l,children:[r.jsx("option",{value:"None",children:"Please Select Title"}),r.jsx("option",{value:"Dr",children:"Dr"}),r.jsx("option",{value:"Prof",children:"Prof"}),r.jsx("option",{value:"Mr",children:"Mr"}),r.jsx("option",{value:"Miss",children:"Miss"})]})]}),r.jsx("div",{className:"col-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["First Name",r.jsx("input",{type:"text",className:"form-control",placeholder:"First Name",required:"required",name:"firstName",value:s.firstName,onChange:l})]})}),r.jsx("div",{className:"col-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Middle Name",r.jsx("input",{type:"text",className:"form-control",placeholder:"Middle Name",required:"required",name:"middleName",value:s.middleName,onChange:l})]})}),r.jsx("div",{className:"col-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Last Name",r.jsx("input",{type:"text",className:"form-control",placeholder:"Last Name",required:"required",name:"lastName",value:s.lastName,onChange:l})]})}),r.jsx("div",{className:"col-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Email",r.jsx("input",{type:"text",className:"form-control",placeholder:"Email",required:"required",name:"email",value:s.email,onChange:l,disabled:!0})]})}),r.jsx("div",{className:"col-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["About me",r.jsx("textarea",{type:"text",id:"aboutme",name:"aboutme",className:"form-control h-100",value:s.aboutme,onChange:l})]})}),r.jsx("div",{className:"col-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["City",r.jsx("input",{type:"text",className:"form-control",name:"city",placeholder:"city",value:s.city,onChange:l,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["State",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"state",value:s.state,onChange:l,required:!0,children:[r.jsx("option",{value:"",children:"Please Select State"}),r.jsx("option",{value:"Alaska",children:"Alaska"}),r.jsx("option",{value:"Alabama",children:"Alabama"}),r.jsx("option",{value:"Arkansas",children:"Arkansas"}),r.jsx("option",{value:"Arizona",children:"Arizona"}),r.jsx("option",{value:"California",children:"California"}),r.jsx("option",{value:"Colorado",children:"Colorado"}),r.jsx("option",{value:"Connecticut",children:"Connecticut"}),r.jsx("option",{value:"District Of Columbia",children:"District Of Columbia"}),r.jsx("option",{value:"Delaware",children:"Delaware"}),r.jsx("option",{value:"Florida",children:"Florida"}),r.jsx("option",{value:"Georgia",children:"Georgia"}),r.jsx("option",{value:"Hawaii",children:"Hawaii"}),r.jsx("option",{value:"Iowa",children:"Iowa"}),r.jsx("option",{value:"Idaho",children:"Idaho"}),r.jsx("option",{value:"Illinois",children:"Illinois"}),r.jsx("option",{value:"Indiana",children:"Indiana"}),r.jsx("option",{value:"Kansas",children:"Kansas"}),r.jsx("option",{value:"Kentucky",children:"Kentucky"}),r.jsx("option",{value:"Louisiana",children:"Louisiana"}),r.jsx("option",{value:"Massachusetts",children:"Massachusetts"}),r.jsx("option",{value:"Maryland",children:"Maryland"}),r.jsx("option",{value:"Michigan",children:"Michigan"}),r.jsx("option",{value:"Minnesota",children:"Minnesota"}),r.jsx("option",{value:"Missouri",children:"Missouri"}),r.jsx("option",{value:"Mississippi",children:"Mississippi"}),r.jsx("option",{value:"Montana",children:"Montana"}),r.jsx("option",{value:"North Carolina",children:"North Carolina"}),r.jsx("option",{value:"North Dakota",children:"North Dakota"}),r.jsx("option",{value:"Nebraska",children:"Nebraska"}),r.jsx("option",{value:"New Hampshire",children:"New Hampshire"}),r.jsx("option",{value:"New Jersey",children:"New Jersey"}),r.jsx("option",{value:"New Mexico",children:"New Mexico"}),r.jsx("option",{value:"Nevada",children:"Nevada"}),r.jsx("option",{value:"New York",children:"New York"}),r.jsx("option",{value:"Ohio",children:"Ohio"}),r.jsx("option",{value:"Oklahoma",children:"Oklahoma"}),r.jsx("option",{value:"Oregon",children:"Oregon"}),r.jsx("option",{value:"Pennsylvania",children:"Pennsylvania"}),r.jsx("option",{value:"Rhode Island",children:"Rhode Island"}),r.jsx("option",{value:"South Carolina",children:"South Carolina"}),r.jsx("option",{value:"South Dakota",children:"South Dakota"}),r.jsx("option",{value:"Tennessee",children:"Tennessee"}),r.jsx("option",{value:"Texas",children:"Texas"}),r.jsx("option",{value:"Utah",children:"Utah"}),r.jsx("option",{value:"Virginia",children:"Virginia"}),r.jsx("option",{value:"Vermont",children:"Vermont"}),r.jsx("option",{value:"Washington",children:"Washington"}),r.jsx("option",{value:"Wisconsin",children:"Wisconsin"}),r.jsx("option",{value:"West Virginia",children:"West Virginia"}),r.jsx("option",{value:"Wyoming",children:"Wyoming"})]})]})}),r.jsxs("div",{className:"col-md-4",children:["County",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"county",value:s.county,onChange:l,required:!0,children:[r.jsx("option",{value:"",children:"Please Select County"}),r.jsx("option",{value:"Abbeville",children:"Abbeville"}),r.jsx("option",{value:"Aiken",children:"Aiken"}),r.jsx("option",{value:"Allendale",children:"Allendale"}),r.jsx("option",{value:"Anderson",children:"Anderson"}),r.jsx("option",{value:"Bamberg",children:"Bamberg"}),r.jsx("option",{value:"Barnwell",children:"Barnwell"}),r.jsx("option",{value:"Beaufort",children:"Beaufort"}),r.jsx("option",{value:"Berkeley",children:"Berkeley"}),r.jsx("option",{value:"Calhoun",children:"Calhoun"}),r.jsx("option",{value:"Charleston",children:"Charleston"}),r.jsx("option",{value:"Cherokee",children:"Cherokee"}),r.jsx("option",{value:"Chester",children:"Chester"}),r.jsx("option",{value:"Chesterfield",children:"Chesterfield"}),r.jsx("option",{value:"Clarendon",children:"Clarendon"}),r.jsx("option",{value:"Colleton",children:"Colleton"}),r.jsx("option",{value:"Darlington",children:"Darlington"}),r.jsx("option",{value:"Dillon",children:"Dillon"}),r.jsx("option",{value:"Dorchester",children:"Dorchester"}),r.jsx("option",{value:"Edgefield",children:"Edgefield"}),r.jsx("option",{value:"Fairfield",children:"Fairfield"}),r.jsx("option",{value:"Florence",children:"Florence"}),r.jsx("option",{value:"Georgetown",children:"Georgetown"}),r.jsx("option",{value:"Greenville",children:"Greenville"}),r.jsx("option",{value:"Greenwood",children:"Greenwood"}),r.jsx("option",{value:"Hampton",children:"Hampton"}),r.jsx("option",{value:"Horry",children:"Horry"}),r.jsx("option",{value:"Jasper",children:"Jasper"}),r.jsx("option",{value:"Kershaw",children:"Kershaw"}),r.jsx("option",{value:"Lancaster",children:"Lancaster"}),r.jsx("option",{value:"Laurens",children:"Laurens"}),r.jsx("option",{value:"Lee",children:"Lee"}),r.jsx("option",{value:"Lexington",children:"Lexington"}),r.jsx("option",{value:"Marion",children:"Marion"}),r.jsx("option",{value:"Marlboro",children:"Marlboro"}),r.jsx("option",{value:"McCormick",children:"McCormick"}),r.jsx("option",{value:"Newberry",children:"Newberry"}),r.jsx("option",{value:"Oconee",children:"Oconee"}),r.jsx("option",{value:"Orangeburg",children:"Orangeburg"}),r.jsx("option",{value:"Pickens",children:"Pickens"}),r.jsx("option",{value:"Richland",children:"Richland"}),r.jsx("option",{value:"Saluda",children:"Saluda"}),r.jsx("option",{value:"Spartanburg",children:"Spartanburg"}),r.jsx("option",{value:"Sumter",children:"Sumter"}),r.jsx("option",{value:"Union",children:"Union"}),r.jsx("option",{value:"Williamsburg",children:"Williamsburg"}),r.jsx("option",{value:"York",children:"York"})]})]}),r.jsx("div",{className:"col-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Zip",r.jsx("input",{type:"text",className:"form-control",name:"zip",placeholder:"zip",value:s.zip,onChange:l,required:!0})]})}),r.jsxs("div",{className:"col-4",children:[r.jsx("label",{children:"Profile Image"}),r.jsx("div",{className:"mb-3",children:r.jsx(Du,{type:"file",multiple:!1,onDone:({base64:_})=>a({...s,profileImage:_})})})]}),s.profileImage&&r.jsxs("div",{className:"col-4 mb-3",children:[r.jsx("img",{src:s.profileImage,alt:"Profile Preview",style:{width:"150px",height:"150px",borderRadius:"50%"}}),r.jsx("button",{type:"button",className:"btn btn-danger mt-2",onClick:u,children:"Delete Image"})]}),r.jsx("div",{className:"col-12",children:r.jsx("div",{className:"d-grid",children:r.jsx("button",{className:"btn btn-primary btn-lg",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},disabled:t,children:t?"Updating...":"Update"})})}),n&&r.jsx("p",{children:n})]})})},IN=()=>{const[e,t]=R.useState("dashboard"),{user:n}=tt(i=>i.auth),o=()=>{switch(e){case"Userdetails":return r.jsx(AN,{});case"addProperty":return r.jsx(ON,{});case"activeProperties":return r.jsxs("div",{children:[r.jsx("h3",{children:"Active Properties"}),r.jsx(TN,{})]});case"closedProperties":return r.jsx("p",{children:"These are your closed properties."});default:return r.jsx(r.Fragment,{})}};return r.jsxs(r.Fragment,{children:[r.jsx(Ae,{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsxs("div",{className:"d-flex flex-row",children:[r.jsx("div",{className:"col-md-3",children:r.jsxs("div",{className:"card card1 p-5",children:[r.jsx("img",{className:"img-fluid",src:n.result.profileImage||ns,alt:"ProfileImage",style:{marginTop:"0px",maxWidth:"200px",maxHeight:"200px"}}),r.jsx("hr",{className:"hline"}),r.jsxs("div",{className:"d-flex flex-column align-items-center",children:[r.jsxs("button",{className:`btn ${e==="dashboard"?"active":""}`,onClick:()=>t("dashboard"),children:[r.jsx("i",{className:"fa fa-dashboard",style:{color:"#F74B02"}}),r.jsx("span",{children:"Dashboard"})]}),r.jsxs("button",{className:`btn mt-3 ${e==="Userdetails"?"active":""}`,onClick:()=>t("Userdetails"),children:[r.jsx("span",{className:"fa fa-home",style:{color:"#F74B02"}}),r.jsx("span",{children:"User Profile"})]}),r.jsxs("button",{className:`btn mt-3 ${e==="addProperty"?"active":""}`,onClick:()=>t("addProperty"),children:[r.jsx("span",{className:"fa fa-home",style:{color:"#F74B02"}}),r.jsx("span",{children:"Add Property"})]}),r.jsxs("button",{className:`btn mt-3 ${e==="activeProperties"?"active":""}`,onClick:()=>t("activeProperties"),children:[r.jsx("span",{className:"fa fa-home",style:{color:"#F74B02"}}),r.jsx("span",{children:"Active Properties"})]}),r.jsxs("button",{className:`btn mt-3 ${e==="closedProperties"?"active":""}`,onClick:()=>t("closedProperties"),children:[r.jsx("span",{className:"fa fa-home",style:{color:"#F74B02"}}),r.jsx("span",{children:"Closed Properties"})]})]})]})}),r.jsx("div",{className:"col-md-9",children:r.jsxs("div",{className:"card card2 p-1",children:[r.jsx("br",{}),r.jsxs("span",{children:["Welcome to"," ",r.jsx("span",{style:{color:"#067ADC"},children:r.jsxs(ge,{to:`/profile/${n.result.userId}`,className:"link-primary text-decoration-none",target:"_blank",children:[n.result.title,". ",n.result.firstName," ",n.result.middleName," ",n.result.lastName]})})]}),r.jsx("br",{}),o()]})})]}),r.jsx(He,{})]})};var Hh={exports:{}},RN="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",DN=RN,FN=DN;function Yh(){}function Kh(){}Kh.resetWarningCache=Yh;var LN=function(){function e(o,i,s,a,l,u){if(u!==FN){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Kh,resetWarningCache:Yh};return n.PropTypes=n,n};Hh.exports=LN();var MN=Hh.exports;const BN=Oc(MN),zN=()=>{const[e,t]=R.useState(3),n=Vr();return R.useEffect(()=>{const o=setInterval(()=>{t(i=>--i)},1e3);return e===0&&n("/login"),()=>clearInterval(o)},[e,n]),r.jsx("div",{style:{marginTop:"100px"},children:r.jsxs("h5",{children:["Redirecting you in ",e," seconds"]})})},rs=({children:e})=>{const{user:t}=tt(n=>({...n.auth}));return t?e:r.jsx(zN,{})};rs.propTypes={children:BN.node.isRequired};const WN=()=>{const e=Pt(),{id:t,token:n}=Hr();return R.useEffect(()=>{e(Ji({id:t,token:n}))},[e,t,n]),r.jsxs(r.Fragment,{children:[r.jsx(Ae,{}),r.jsxs("div",{className:"contact_section layout_padding",children:[r.jsx("div",{className:"container",children:r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-md-12",children:r.jsx("h1",{className:"contact_taital",children:"Contact Us"})})})}),r.jsx("div",{className:"container-fluid",children:r.jsx("div",{className:"contact_section_2",children:r.jsxs("div",{className:"row",children:[r.jsxs("div",{className:"col-md-6",children:[r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("h1",{className:"card-title text-center",children:r.jsxs(ge,{to:"/login",className:"glightbox play-btn mb-4",children:[" ","Email verified successfully !!! Please",r.jsx("span",{style:{color:"#F74B02"},children:" login "})," "," ","to access ..."]})})]}),r.jsx("div",{className:"col-md-6 padding_left_15",children:r.jsx("div",{className:"contact_img"})})]})})})]}),r.jsx(He,{})]})},$N=()=>{const[e,t]=R.useState(""),[n,o]=R.useState(""),i="http://67.225.129.127:3002",s=async()=>{try{const a=await me.post(`${i}/users/forgotpassword`,{email:e});o(a.data.message)}catch(a){console.error("Forgot Password Error:",a),o(a.response.data.message)}};return r.jsxs(r.Fragment,{children:[r.jsx(Ae,{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsxs("section",{className:"card",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:[r.jsx("div",{className:"container-fluid px-0",children:r.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[r.jsx("div",{className:"col-12 col-md-0 col-xl-20 text-center text-md-start"}),r.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:r.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:r.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-12",children:r.jsxs("div",{className:"mb-4",children:[r.jsx("h2",{className:"h3",children:"Forgot Password"}),r.jsx("hr",{})]})})}),r.jsxs("div",{className:"row gy-3 overflow-hidden",children:[r.jsx("div",{className:"col-12",children:r.jsxs("div",{className:"form-floating mb-3",children:[r.jsx("input",{type:"email",className:"form-control",value:e,onChange:a=>t(a.target.value),placeholder:"name@example.com",required:"required"}),r.jsx("label",{htmlFor:"email",className:"form-label",children:"Enter your email address to receive a password reset link"})]})}),r.jsxs("div",{className:"col-12",children:[r.jsx("div",{className:"d-grid",children:r.jsx("button",{className:"btn btn-primary btn-lg",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},onClick:s,children:"Reset Password"})}),r.jsx("p",{style:{color:"#067ADC"},className:"card-title text-center",children:n})]})]}),r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-12",children:r.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:r.jsxs("p",{className:"m-0 text-secondary text-center",children:["Already have an account?"," ",r.jsx(ge,{to:"/login",className:"link-primary text-decoration-none",children:"Sign In"})]})})})}),r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-12"})})]})})})]})}),r.jsx(He,{})]})]})},UN=()=>{const{userId:e,token:t}=Hr(),[n,o]=R.useState(""),[i,s]=R.useState(""),[a,l]=R.useState(""),u="http://67.225.129.127:3002",c=async()=>{try{if(!n||n.trim()===""){l("Password not entered"),ae.error("Password not entered");return}const d=await me.post(`${u}/users/resetpassword/${e}/${t}`,{userId:e,token:t,password:n});if(n!==i){l("Passwords do not match."),ae.error("Passwords do not match.");return}else l("Password reset successfull"),ae.success(d.data.message)}catch(d){console.error("Reset Password Error:",d)}};return R.useEffect(()=>{ae.dismiss()},[]),r.jsxs(r.Fragment,{children:[r.jsx(Ae,{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("section",{className:"card mb-0 vh-100",children:r.jsx("div",{className:"container py-10 h-100",children:r.jsx("div",{className:"row d-flex align-items-center justify-content-center h-100",children:r.jsxs("div",{className:"col-md-10 col-lg-5 col-xl-5 offset-xl-1 card mb-10",children:[r.jsx("br",{}),r.jsxs("h2",{children:["Reset Password",r.jsx("hr",{}),r.jsx("p",{className:"card-title text-center",style:{color:"#F74B02"},children:"Enter your new password:"})]}),r.jsx("input",{className:"form-control vh-10",type:"password",value:n,onChange:d=>o(d.target.value),placeholder:"Enter your new password",style:{display:"flex",gap:"35px"}}),r.jsx("br",{}),r.jsx("input",{className:"form-control",type:"password",value:i,onChange:d=>s(d.target.value),placeholder:"Confirm your new password"}),r.jsx("br",{}),r.jsx("button",{className:"btn btn-primary btn-lg",type:"submit",name:"signin",value:"Sign in",onClick:c,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Reset Password"}),r.jsx("p",{style:{color:"#067ADC"},className:"card-title text-center",children:a})]})})})}),r.jsx(He,{})]})},qN=()=>r.jsxs(r.Fragment,{children:[r.jsx(Ae,{}),r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{}),r.jsxs("div",{className:"col-md-18",children:[r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsxs("h1",{className:"card-title text-center",children:[" ","Thank you for joining the world's most trusted realtor investment and borrowers portal."]}),r.jsxs("h2",{children:["We reqest you to kindly ",r.jsx("span",{style:{fontSize:"2rem",color:"#fda417"},children:"check your email inbox "})," and click on the ",r.jsx("span",{style:{fontSize:"2rem",color:"#fda417"},children:"verification link "}),"to access the dashboard."]})]}),r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{}),r.jsx(He,{})]}),VN=()=>{const{id:e}=Hr(),t=Pt(),{selectedProperty:n,status:o,error:i}=tt(l=>l.property),[s,a]=R.useState(!0);return R.useEffect(()=>{e&&(t(Eo(e)),a(!1))},[e,t]),o==="loading"?r.jsx("p",{children:"Loading property details..."}):o==="failed"?r.jsxs("p",{children:["Error loading property: ",i]}):r.jsxs(r.Fragment,{children:[r.jsx(Ae,{}),r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{}),r.jsx("div",{className:"container col-12",children:s?r.jsx("div",{className:"loader",children:"Loading..."}):n?r.jsx("div",{className:"py-3 py-md-5 bg-light",children:r.jsxs("div",{className:"card-header bg-white",children:[r.jsxs("div",{className:"row",children:[r.jsx("div",{className:"col-md-5 mt-3",children:r.jsx("div",{className:"bg-white border",children:n.images&&n.images[0]?r.jsx("img",{src:n.images[0].file||Dt,alt:"Property Thumbnail",style:{marginTop:"0px",maxWidth:"500px",maxHeight:"500px"}}):r.jsx("img",{src:Dt,alt:"Default Property Thumbnail",style:{marginTop:"0px",maxWidth:"500px",maxHeight:"500px"}})})}),r.jsx("div",{className:"col-md-7 mt-3",children:r.jsxs("div",{className:"product-view",children:[r.jsxs("h4",{className:"product-name",style:{color:"#fda417",fontSize:"25px"},children:[n.address,r.jsx("label",{className:"label-stock bg-success",children:"Verified Property"})]}),r.jsx("hr",{}),r.jsxs("p",{className:"product-path",children:[r.jsxs("span",{style:{color:"#fda417",fontSize:"15px"},children:["city:"," "]})," ",n.city," /",r.jsxs("span",{style:{color:"#fda417",fontSize:"15px"},children:["County:"," "]})," ",n.county," /",r.jsxs("span",{style:{color:"#fda417",fontSize:"15px"},children:["State:"," "]})," ",n.state," /",r.jsx("span",{style:{color:"#fda417",fontSize:"15px"},children:"Zipcode:"})," ",n.zip]}),r.jsxs("div",{children:[r.jsxs("span",{className:"selling-price",style:{color:"#fda417",fontSize:"15px"},children:["Total Living Square Foot:"," "]}),n.totallivingsqft,r.jsx("p",{}),r.jsxs("span",{className:"",style:{color:"#fda417",fontSize:"15px"},children:["Cost per Square Foot:"," "]}),"$",n.costpersqft,"/sqft",r.jsx("p",{}),r.jsxs("span",{className:"",style:{color:"#fda417",fontSize:"15px"},children:["Year Built:"," "]}),n.yearBuild]}),r.jsxs("div",{className:"mt-3 card bg-white",children:[r.jsx("h5",{className:"mb-0",style:{color:"#fda417",fontSize:"15px"},children:"Legal Description"}),r.jsx("span",{children:n.legal?n.legal:"No data available"})]})]})})]}),r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-md-12 mt-3",children:r.jsxs("div",{className:"card",children:[r.jsx("div",{className:"card-header bg-white",children:r.jsx("h4",{className:"product-name",style:{color:"#fda417",fontSize:"25px"},children:"Description"})}),r.jsx("div",{className:"card-body",children:r.jsx("p",{children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."})})]})})})]})}):r.jsx("p",{children:"No property details found."})}),r.jsx(He,{})]})},HN=()=>{const[e,t]=R.useState([]),[n,o]=R.useState(0),[i,s]=R.useState(0),[a]=R.useState(10),[l,u]=R.useState(""),[c,d]=R.useState(!1),[p,y]=R.useState(!1),b=async()=>{d(!0),y(!1);try{const h=await me.get("http://67.225.129.127:3002/mysql/searchmysql",{params:{limit:a,offset:i*a,search:l},headers:{"Cache-Control":"no-cache"}});t(h.data.data),o(h.data.totalRecords),l.trim()&&y(!0)}catch(h){console.log("Error fetching data:",h)}finally{d(!1)}},g=h=>{u(h.target.value),h.target.value.trim()===""&&(s(0),t([]),o(0),y(!1),b())},N=h=>{h.key==="Enter"&&(h.preventDefault(),b())};R.useEffect(()=>{b()},[l,i]);const C=Math.ceil(n/a);return r.jsxs(r.Fragment,{children:[r.jsx(Ae,{}),r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{}),r.jsxs("div",{className:"container col-12",children:[r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-lg-12 card-margin col-12",children:r.jsx("div",{className:"card search-form col-12",children:r.jsx("div",{className:"card-body p-0",children:r.jsx("form",{id:"search-form",children:r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-12",children:r.jsx("div",{className:"row no-gutters",children:r.jsx("div",{className:"col-lg-8 col-md-6 col-sm-12 p-0",children:r.jsx("input",{type:"text",placeholder:"Enter the keyword and hit ENTER button...",className:"form-control",id:"search",name:"search",value:l,onChange:g,onKeyDown:N})})})})})})})})})}),r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-12",children:r.jsx("div",{className:"card card-margin",children:r.jsxs("div",{className:"card-body",children:[p&&e.length>0&&r.jsxs("div",{children:["Showing search results for the keyword"," ",r.jsx("span",{style:{color:"#fda417",fontSize:"25px"},children:l})]}),r.jsx("div",{className:"table-responsive",children:r.jsxs("table",{className:"table widget-26",children:[r.jsx("thead",{style:{color:"#fda417",fontSize:"15px"},children:r.jsxs("tr",{children:[r.jsx("th",{children:"Details"}),r.jsx("th",{children:"Total Living Square Foot"}),r.jsx("th",{children:"Year Built"}),r.jsx("th",{children:"Cost per Square Foot"})]})}),r.jsx("tbody",{children:e.length>0?e.map((h,v)=>r.jsxs("tr",{children:[r.jsx("td",{children:r.jsxs("div",{className:"widget-26-job-title",children:[r.jsx(ge,{to:`/properties/${h.house_id}`,className:"link-primary text-decoration-none",target:"_blank",children:h.address}),r.jsxs("p",{className:"m-0",children:[r.jsxs("span",{className:"employer-name",children:[r.jsx("i",{className:"fa fa-map-marker",style:{color:"#F74B02"}}),h.city,", ",h.county,",",h.state]}),r.jsxs("p",{className:"text-muted m-0",children:["House Id: ",h.house_id]})]})]})}),r.jsx("td",{children:r.jsx("div",{className:"widget-26-job-info",children:r.jsx("p",{className:"m-0",children:h.total_living_sqft})})}),r.jsx("td",{children:r.jsx("div",{className:"widget-26-job-info",children:r.jsx("p",{className:"m-0",children:h.year_built})})}),r.jsx("td",{children:r.jsxs("div",{className:"widget-26-job-salary",children:["$ ",h.cost_per_sqft,"/sqft"]})})]},v)):r.jsx("tr",{children:r.jsx("td",{colSpan:"4",children:"No results found"})})})]})}),r.jsxs("div",{children:[r.jsx("button",{onClick:()=>s(i-1),disabled:i===0||c,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Previous"}),r.jsxs("span",{children:[" ","Page ",i+1," of ",C," "]}),r.jsx("button",{onClick:()=>s(i+1),disabled:i+1>=C||c,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Next"})]})]})})})})]}),r.jsx(He,{})]})},YN=()=>r.jsxs(r.Fragment,{children:[r.jsx(Ae,{}),r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{}),r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{}),"This page will show the list of services offered by the company",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{}),r.jsx(He,{})]}),KN=()=>{const{house_id:e}=Hr();console.log("house_id",e);const[t,n]=R.useState(null),[o,i]=R.useState(!0);return R.useEffect(()=>{(async()=>{try{const a=await me.get(`http://67.225.129.127:3002/mysql/properties/${e}`);n(a.data)}catch(a){console.log("Error fetching property details:",a)}finally{i(!1)}})()},[e]),r.jsxs(r.Fragment,{children:[r.jsx(Ae,{}),r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{}),r.jsx("div",{className:"container col-12",children:o?r.jsx("div",{className:"loader",children:"Loading..."}):t?r.jsx("div",{className:"py-3 py-md-5 bg-light",children:r.jsxs("div",{className:"card-header bg-white",children:[r.jsxs("div",{className:"row",children:[r.jsx("div",{className:"col-md-5 mt-3",children:r.jsx("div",{className:"bg-white border",children:r.jsx("img",{src:Dt,className:"w-70",alt:"Img",style:{marginTop:"0px",maxWidth:"450px",maxHeight:"450px"}})})}),r.jsx("div",{className:"col-md-7 mt-3",children:r.jsxs("div",{className:"product-view",children:[r.jsxs("h4",{className:"product-name",style:{color:"#fda417",fontSize:"25px"},children:[t.address,r.jsx("label",{className:"label-stock bg-success",children:"Verified Property"})]}),r.jsx("hr",{}),r.jsxs("p",{className:"product-path",children:[r.jsxs("span",{style:{color:"#fda417",fontSize:"15px"},children:["city:"," "]})," ",t.city," /",r.jsxs("span",{style:{color:"#fda417",fontSize:"15px"},children:["County:"," "]})," ",t.county," /",r.jsxs("span",{style:{color:"#fda417",fontSize:"15px"},children:["State:"," "]})," ",t.state," /",r.jsx("span",{style:{color:"#fda417",fontSize:"15px"},children:"Zipcode:"})," ",t.zip]}),r.jsxs("div",{children:[r.jsxs("span",{className:"selling-price",style:{color:"#fda417",fontSize:"15px"},children:["Total Living Square Foot:"," "]}),t.total_living_sqft,r.jsx("p",{}),r.jsxs("span",{className:"",style:{color:"#fda417",fontSize:"15px"},children:["Cost per Square Foot:"," "]}),"$",t.cost_per_sqft,"/sqft",r.jsx("p",{}),r.jsxs("span",{className:"",style:{color:"#fda417",fontSize:"15px"},children:["Year Built:"," "]}),t.year_built]}),r.jsxs("div",{className:"mt-3 card bg-white",children:[r.jsx("h5",{className:"mb-0",style:{color:"#fda417",fontSize:"15px"},children:"Legal Summary report"}),r.jsx("span",{children:t.legal_summary_report?t.legal_summary_report:"No data available"})]})]})})]}),r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-md-12 mt-3",children:r.jsxs("div",{className:"card",children:[r.jsx("div",{className:"card-header bg-white",children:r.jsx("h4",{className:"product-name",style:{color:"#fda417",fontSize:"25px"},children:"Description"})}),r.jsx("div",{className:"card-body",children:r.jsx("p",{children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."})})]})})})]})}):r.jsx("p",{children:"No property details found."})}),r.jsx(He,{})]})},GN=()=>{const{id:e}=Hr(),t=Pt(),[n,o]=R.useState("propertydetails"),i=()=>{n==="propertydetails"&&o("Images"),n==="Images"&&o("Accounting")},s=()=>{n==="Images"&&o("propertydetails"),n==="Accounting"&&o("Images")},{selectedProperty:a}=tt(S=>S.property),[l,u]=R.useState({address:"",city:"",state:"",zip:"",propertyTaxInfo:[{propertytaxowned:"0",ownedyear:"0",taxassessed:"0",taxyear:"0"}],images:[{title:"",file:""}],googleMapLink:"",purchaseCost:"0",costPaidAtoB:[{title:"Closing Fees - Settlement Fee",price:"0"},{title:"Closing Fees - Owner's Title Insurance",price:"0"},{title:"Courier Fees",price:"0"},{title:"Wire Fee",price:"0"},{title:"E recording Fee",price:"0"},{title:"Recording Fee",price:"0"},{title:"Property Tax",price:"0"}],renovationRisk:null,turnTime:"",credits:[{title:"Credits",price:"0"}],cashAdjustments:[{title:"Cash Adjustments",price:"0"}],incidentalCost:[{title:"Accounting Fees",price:"0"},{title:"Bank Charges",price:"0"},{title:"Legal Fees",price:"0"},{title:"Property Taxes",price:"0"},{title:"Travel Expenses",price:"0"}],carryCosts:[{title:"Electricity",price:"0"},{title:"Water and Sewer",price:"0"},{title:"Natural Gas",price:"0"},{title:"Trash and Recycling",price:"0"},{title:"Internet and Cable",price:"0"},{title:"Heating Oil/Propane",price:"0"},{title:"HOA fees",price:"0"},{title:"Dump fees",price:"0"},{title:"Insurance",price:"0"},{title:"Interest on Loans",price:"0"},{title:"Loan Payment",price:"0"},{title:"Property Taxes",price:"0"},{title:"Security",price:"0"},{title:"Real Estates fees",price:"0"}],renovationCost:[{title:"Demolition: Removing existing structures or finishes",price:"0"},{title:"Framing: Making structural changes or additions",price:"0"},{title:"Plumbing: Installing or modifying plumbing systems",price:"0"},{title:"Electrical: Updating wiring and fixtures",price:"0"},{title:"HVAC: Installing or upgrading heating and cooling systems",price:"0"},{title:"Insulation: Adding or replacing insulation",price:"0"},{title:"Drywall: Hanging and finishing drywall",price:"0"},{title:"Interior Finishes: Painting, flooring, cabinetry, and fixtures",price:"0"},{title:"Exterior Work: Addressing siding, roofing, or landscaping, if applicable",price:"0"},{title:"Final Inspections: Ensuring everything meets codes",price:"0"},{title:"Punch List: Completing any remaining task",price:"0"}],sellingPriceBtoC:"0",costPaidOutofClosing:[{title:"Buyers Agent Commission",price:"0"},{title:"Sellers Agent Commission",price:"0"},{title:"Home Warranty",price:"0"},{title:"Document Preparation",price:"0"},{title:"Excise Tax",price:"0"},{title:"Legal Fees",price:"0"},{title:"Wire Fees/courier Fees",price:"0"},{title:"County Taxes",price:"0"},{title:"HOA Fee",price:"0"},{title:"Payoff of 1st Mortgage",price:"0"},{title:"Payoff of 2nd Mortgage",price:"0"},{title:"Payoff 3rd Mortgage",price:"0"}],adjustments:[{title:"adjustments",price:"0"}],incomestatement:[{title:"income statement",price:"0"},{title:"income statement",price:"0"}],fundspriortoclosing:"0",shorttermrental:"0",OtherIncome:"0",InsuranceClaim:"0",LongTermRental:"0",FinancingCostClosingCost:"0"}),c=[1,2,3,4,5,6,7,8,9,10];R.useEffect(()=>{t(Eo(e))},[t,e]),R.useEffect(()=>{a&&u({address:a.address||"",city:a.city||"",state:a.state||"",zip:a.zip||"",parcel:a.parcel||"",subdivision:a.subdivision||"",legal:a.legal||"",costpersqft:a.costpersqft||"",propertyType:a.propertyType||"",lotacres:a.lotacres||"",yearBuild:a.yearBuild||"",totallivingsqft:a.totallivingsqft||"",beds:a.beds||"",baths:a.baths||"",stories:a.stories||"",garage:a.garage||"",garagesqft:a.garagesqft||"",poolspa:a.poolspa||"",fireplaces:a.fireplaces||"",ac:a.ac||"",heating:a.heating||"",buildingstyle:a.buildingstyle||"",sitevacant:a.sitevacant||"",extwall:a.extwall||"",roofing:a.roofing||"",totalSqft:a.totalSqft||"",renovationRisk:a.renovationRisk,closeDateAtoB:a.closeDateAtoB,closeDateBtoC:a.closeDateBtoC,purchaseCost:a.purchaseCost,costPaidAtoB:a.costPaidAtoB,totalPurchaseCosts:a.totalPurchaseCosts,credits:a.credits,totalPurchaseCostsaftercredits:a.totalPurchaseCostsaftercredits,cashAdjustments:a.cashAdjustments,totalcashrequiredonsettlement:a.totalcashrequiredonsettlement,incidentalCost:a.incidentalCost,carryCosts:a.carryCosts,renovationCost:a.renovationCost,sellingPriceBtoC:a.sellingPriceBtoC,costPaidOutofClosing:a.costPaidOutofClosing,totalCosttoSellBtoC:a.totalCosttoSellBtoC,grossproceedsperHUD:a.grossproceedsperHUD,adjustments:a.adjustments,fundsavailablefordistribution:a.fundsavailablefordistribution,incomestatement:a.incomestatement,fundspriortoclosing:a.fundspriortoclosing,shorttermrental:a.shorttermrental,OtherIncome:a.OtherIncome,InsuranceClaim:a.InsuranceClaim,LongTermRental:a.LongTermRental,netprofitbeforefinancingcosts:a.netprofitbeforefinancingcosts,FinancingCostClosingCost:a.FinancingCostClosingCost,propertyTaxInfo:a.propertyTaxInfo||[{propertytaxowned:"0",ownedyear:"0",taxassessed:"0",taxyear:"0"}],images:a.images||[{title:"",file:""}],googleMapLink:a.googleMapLink,rateofreturn:a.rateofreturn})},[a]);const d=S=>{u({...l,[S.target.name]:S.target.value})},p=(S,k)=>{const{name:f,value:j}=S.target,w=[...l.propertyTaxInfo],D={...w[k]};D[f]=j,w[k]=D,u({...l,propertyTaxInfo:w})},y=S=>{S.preventDefault();const k=W(),f=F(),j=U(),w=B(),D=$(),q=ne(),Y=Ot(),se=Bt(),fi=Gr(),wa=In(),Sa=Jr(),ka=tn(),Ea=tn(),Pa=Zr(),_a=di(),Oa=Dn(),Ta=zt(),Aa=ir(),Ia=to(),Ra={...l,totalPurchaseCosts:k.toFixed(2),totalcredits:f.toFixed(2),totalPurchaseCostsaftercredits:j.toFixed(2),totalcashAdjustments:w.toFixed(2),totalcashrequiredonsettlement:D.toFixed(2),totalincidentalCost:q.toFixed(2),totalcarryCosts:Y.toFixed(2),totalrenovationCost:se.toFixed(2),totalRenovationsandHoldingCost:fi.toFixed(2),totalCoststoBuyAtoB:wa.toFixed(2),totalcostPaidOutofClosing:Sa.toFixed(2),totalCosttoSellBtoC:ka.toFixed(2),grossproceedsperHUD:Ea.toFixed(2),totaladjustments:Pa.toFixed(2),fundsavailablefordistribution:_a.toFixed(2),totalincomestatement:Oa.toFixed(2),netBtoCsalevalue:Ta.toFixed(2),netprofitbeforefinancingcosts:Aa.toFixed(2),netprofit:Ia.toFixed(2)};t(es({id:e,propertyData:Ra}))},b=()=>{u({...l,propertyTaxInfo:[...l.propertyTaxInfo,{propertytaxowned:"",ownedyear:"",taxassessed:"",taxyear:""}]})},g=S=>{const k=l.propertyTaxInfo.filter((f,j)=>j!==S);u({...l,propertyTaxInfo:k})},N=(S,k)=>{const f=[...l.images];f[k]={...f[k],file:S.base64},u({...l,images:f})},C=()=>{u({...l,images:[...l.images,{title:"",file:""}]})},h=S=>{const k=l.images.filter((f,j)=>j!==S);u({...l,images:k})},v=(S,k)=>{const f=[...l.images];f[S]={...f[S],title:k.target.value},u({...l,images:f})};R.useEffect(()=>{E(l.closeDateAtoB,l.closeDateBtoC)},[l.closeDateAtoB,l.closeDateBtoC]);const[m,x]=R.useState("0 days"),E=(S,k)=>{if(S&&k){const f=new Date(S),j=new Date(k),w=Math.abs(j-f),D=Math.ceil(w/(1e3*60*60*24));x(`${D} days`)}else x("0 days")},_=()=>{u(S=>({...S,costPaidAtoB:[...S.costPaidAtoB,{title:"",price:""}]}))},O=S=>{const k=l.costPaidAtoB.filter((f,j)=>j!==S);u(f=>({...f,costPaidAtoB:k}))},P=(S,k,f)=>{const j=[...l.costPaidAtoB];j[S][k]=f,u(w=>({...w,costPaidAtoB:j}))},M=(S,k)=>{let f=S.target.value;if(f=f.replace(/^\$/,"").trim(),/^\d*\.?\d*$/.test(f)||f===""){const w=l.costPaidAtoB.map((D,q)=>q===k?{...D,price:f,isInvalid:!1}:D);u({...l,costPaidAtoB:w})}else{const w=l.costPaidAtoB.map((D,q)=>q===k?{...D,isInvalid:!0}:D);u({...l,costPaidAtoB:w})}},W=()=>{const S=l.costPaidAtoB.reduce((f,j)=>{const w=parseFloat(j.price)||0;return f+w},0),k=parseFloat(l.purchaseCost)||0;return S+k},H=()=>{u(S=>({...S,credits:[...S.credits,{title:"",price:""}]}))},te=S=>{const k=l.credits.filter((f,j)=>j!==S);u(f=>({...f,credits:k}))},X=(S,k,f)=>{const j=[...l.credits];j[S][k]=f,u(w=>({...w,credits:j}))},Z=(S,k)=>{const f=S.target.value;if(/^\d*\.?\d*$/.test(f)||f===""){const w=l.credits.map((D,q)=>q===k?{...D,price:f,isInvalid:!1}:D);u({...l,credits:w})}else{const w=l.credits.map((D,q)=>q===k?{...D,isInvalid:!0}:D);u({...l,credits:w})}},F=()=>l.credits.reduce((S,k)=>{const f=parseFloat(k.price);return S+(isNaN(f)?0:f)},0),U=()=>{const S=l.costPaidAtoB.reduce((j,w)=>{const D=parseFloat(w.price)||0;return j+D},0),k=l.credits.reduce((j,w)=>{const D=parseFloat(w.price)||0;return j+D},0),f=parseFloat(l.purchaseCost)||0;return S+k+f},Q=()=>{u(S=>({...S,cashAdjustments:[...S.cashAdjustments,{title:"",price:""}]}))},A=S=>{const k=l.cashAdjustments.filter((f,j)=>j!==S);u(f=>({...f,cashAdjustments:k}))},T=(S,k,f)=>{const j=[...l.cashAdjustments];j[S][k]=f,u(w=>({...w,cashAdjustments:j}))},L=(S,k)=>{const f=S.target.value;if(/^\d*\.?\d*$/.test(f)||f===""){const w=l.cashAdjustments.map((D,q)=>q===k?{...D,price:f,isInvalid:!1}:D);u({...l,cashAdjustments:w})}else{const w=l.cashAdjustments.map((D,q)=>q===k?{...D,isInvalid:!0}:D);u({...l,cashAdjustments:w})}},B=()=>l.cashAdjustments.reduce((S,k)=>{const f=parseFloat(k.price);return S+(isNaN(f)?0:f)},0),$=()=>{const S=B(),k=F(),f=W();return S+k+f},K=()=>{u(S=>({...S,incidentalCost:[...S.incidentalCost,{title:"",price:""}]}))},G=S=>{const k=l.incidentalCost.filter((f,j)=>j!==S);u(f=>({...f,incidentalCost:k}))},ee=(S,k,f)=>{const j=[...l.incidentalCost];j[S][k]=f,u(w=>({...w,incidentalCost:j}))},re=(S,k)=>{const f=S.target.value;if(/^\d*\.?\d*$/.test(f)||f===""){const w=l.incidentalCost.map((D,q)=>q===k?{...D,price:f,isInvalid:!1}:D);u({...l,incidentalCost:w})}else{const w=l.incidentalCost.map((D,q)=>q===k?{...D,isInvalid:!0}:D);u({...l,incidentalCost:w})}},ne=()=>l.incidentalCost.reduce((S,k)=>{const f=parseFloat(k.price);return S+(isNaN(f)?0:f)},0),ie=()=>{u(S=>({...S,carryCosts:[...S.carryCosts,{title:"",price:""}]}))},ce=S=>{const k=l.carryCosts.filter((f,j)=>j!==S);u(f=>({...f,carryCosts:k}))},de=(S,k,f)=>{const j=[...l.carryCosts];j[S][k]=f,u(w=>({...w,carryCosts:j}))},xe=(S,k)=>{const f=S.target.value;if(/^\d*\.?\d*$/.test(f)||f===""){const w=l.carryCosts.map((D,q)=>q===k?{...D,price:f,isInvalid:!1}:D);u({...l,carryCosts:w})}else{const w=l.carryCosts.map((D,q)=>q===k?{...D,isInvalid:!0}:D);u({...l,carryCosts:w})}},Ot=()=>l.carryCosts.reduce((S,k)=>{const f=parseFloat(k.price);return S+(isNaN(f)?0:f)},0),or=()=>{u(S=>({...S,renovationCost:[...S.renovationCost,{title:"",price:""}]}))},va=S=>{const k=l.renovationCost.filter((f,j)=>j!==S);u(f=>({...f,renovationCost:k}))},Yr=(S,k,f)=>{const j=[...l.renovationCost];j[S][k]=f,u(w=>({...w,renovationCost:j}))},Kr=(S,k)=>{const f=S.target.value;if(/^\d*\.?\d*$/.test(f)||f===""){const w=l.renovationCost.map((D,q)=>q===k?{...D,price:f,isInvalid:!1}:D);u({...l,renovationCost:w})}else{const w=l.renovationCost.map((D,q)=>q===k?{...D,isInvalid:!0}:D);u({...l,renovationCost:w})}},Bt=()=>l.renovationCost.reduce((S,k)=>{const f=parseFloat(k.price);return S+(isNaN(f)?0:f)},0),Gr=()=>{const S=ne(),k=Ot(),f=Bt();return S+k+f},In=()=>{const S=Gr(),k=$();return S+k},ga=()=>{u(S=>({...S,costPaidOutofClosing:[...S.costPaidOutofClosing,{title:"",price:""}]}))},ya=S=>{const k=l.costPaidOutofClosing.filter((f,j)=>j!==S);u(f=>({...f,costPaidOutofClosing:k}))},Qr=(S,k,f)=>{const j=[...l.costPaidOutofClosing];j[S][k]=f,u(w=>({...w,costPaidOutofClosing:j}))},en=(S,k)=>{const f=S.target.value;if(/^\d*\.?\d*$/.test(f)||f===""){const w=l.costPaidOutofClosing.map((D,q)=>q===k?{...D,price:f,isInvalid:!1}:D);u({...l,costPaidOutofClosing:w})}else{const w=l.costPaidOutofClosing.map((D,q)=>q===k?{...D,isInvalid:!0}:D);u({...l,costPaidOutofClosing:w})}},Jr=()=>l.costPaidOutofClosing.reduce((S,k)=>{const f=parseFloat(k.price);return S+(isNaN(f)?0:f)},0),tn=()=>{const S=l.sellingPriceBtoC,k=Jr();return S-k},xa=()=>{u(S=>({...S,adjustments:[...S.adjustments,{title:"",price:""}]}))},ja=S=>{const k=l.adjustments.filter((f,j)=>j!==S);u(f=>({...f,adjustments:k}))},Xr=(S,k,f)=>{const j=[...l.adjustments];j[S][k]=f,u(w=>({...w,adjustments:j}))},ui=(S,k)=>{const f=S.target.value;if(/^\d*\.?\d*$/.test(f)||f===""){const w=l.adjustments.map((D,q)=>q===k?{...D,price:f,isInvalid:!1}:D);u({...l,adjustments:w})}else{const w=l.adjustments.map((D,q)=>q===k?{...D,isInvalid:!0}:D);u({...l,adjustments:w})}},Zr=()=>l.adjustments.reduce((S,k)=>{const f=parseFloat(k.price);return S+(isNaN(f)?0:f)},0),di=()=>{const S=tn(),k=Zr();return S+k},Na=()=>{u(S=>({...S,incomestatement:[...S.incomestatement,{title:"",price:""}]}))},Ca=S=>{const k=l.incomestatement.filter((f,j)=>j!==S);u(f=>({...f,incomestatement:k}))},eo=(S,k,f)=>{const j=[...l.incomestatement];j[S][k]=f,u(w=>({...w,incomestatement:j}))},Rn=(S,k)=>{const f=S.target.value;if(/^\d*\.?\d*$/.test(f)||f===""){const w=l.incomestatement.map((D,q)=>q===k?{...D,price:f,isInvalid:!1}:D);u({...l,incomestatement:w})}else{const w=l.incomestatement.map((D,q)=>q===k?{...D,isInvalid:!0}:D);u({...l,incomestatement:w})}},Dn=()=>l.incomestatement.reduce((S,k)=>{const f=parseFloat(k.price);return S+(isNaN(f)?0:f)},0),zt=()=>{const S=Dn(),k=tn();return S+k},ir=()=>{const S=isNaN(parseFloat(zt()))?0:parseFloat(zt()),k=isNaN(parseFloat(l.shorttermrental))?0:parseFloat(l.shorttermrental),f=isNaN(parseFloat(l.OtherIncome))?0:parseFloat(l.OtherIncome),j=isNaN(parseFloat(l.InsuranceClaim))?0:parseFloat(l.InsuranceClaim),w=isNaN(parseFloat(l.LongTermRental))?0:parseFloat(l.LongTermRental),D=isNaN(parseFloat(In()))?0:parseFloat(In());return S+k+f+j+w-D},to=()=>{const S=ir(),k=l.FinancingCostClosingCost;return S-k},ba=()=>to();return r.jsxs(r.Fragment,{children:[r.jsx(Ae,{}),r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{}),r.jsx("div",{className:"card d-flex justify-content-center align-items-center",children:r.jsxs("div",{className:"justify-content-center",children:[r.jsxs("ul",{className:"nav nav-tabs",role:"tablist",children:[r.jsx("li",{role:"presentation",className:n==="propertydetails"?"active tab":"tab",children:r.jsx("a",{onClick:()=>o("propertydetails"),role:"tab",children:"Property Details"})}),r.jsx("li",{role:"presentation",className:n==="Images"?"active tab":"tab",children:r.jsx("a",{onClick:()=>o("Images"),role:"tab",children:"Images, Maps"})}),r.jsx("li",{role:"presentation",className:n==="Accounting"?"active tab":"tab",children:r.jsx("a",{onClick:()=>o("Accounting"),role:"tab",children:"Accounting"})})]}),r.jsxs("div",{className:"tab-content",children:[n==="propertydetails"&&r.jsxs("div",{role:"tabpanel",className:"card tab-pane active",children:[r.jsxs("form",{children:[r.jsx("h3",{style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:"Property Location"}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Property Address",r.jsx("input",{type:"text",className:"form-control",name:"address",value:l.address,onChange:d,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["City",r.jsx("input",{type:"text",className:"form-control",name:"city",value:l.city,onChange:d,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["State",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"state",value:l.state,onChange:d,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"Alaska",children:"Alaska"}),r.jsx("option",{value:"Alabama",children:"Alabama"}),r.jsx("option",{value:"Arkansas",children:"Arkansas"}),r.jsx("option",{value:"Arizona",children:"Arizona"}),r.jsx("option",{value:"California",children:"California"}),r.jsx("option",{value:"Colorado",children:"Colorado"}),r.jsx("option",{value:"Connecticut",children:"Connecticut"}),r.jsx("option",{value:"District Of Columbia",children:"District Of Columbia"}),r.jsx("option",{value:"Delaware",children:"Delaware"}),r.jsx("option",{value:"Florida",children:"Florida"}),r.jsx("option",{value:"Georgia",children:"Georgia"}),r.jsx("option",{value:"Hawaii",children:"Hawaii"}),r.jsx("option",{value:"Iowa",children:"Iowa"}),r.jsx("option",{value:"Idaho",children:"Idaho"}),r.jsx("option",{value:"Illinois",children:"Illinois"}),r.jsx("option",{value:"Indiana",children:"Indiana"}),r.jsx("option",{value:"Kansas",children:"Kansas"}),r.jsx("option",{value:"Kentucky",children:"Kentucky"}),r.jsx("option",{value:"Louisiana",children:"Louisiana"}),r.jsx("option",{value:"Massachusetts",children:"Massachusetts"}),r.jsx("option",{value:"Maryland",children:"Maryland"}),r.jsx("option",{value:"Michigan",children:"Michigan"}),r.jsx("option",{value:"Minnesota",children:"Minnesota"}),r.jsx("option",{value:"Missouri",children:"Missouri"}),r.jsx("option",{value:"Mississippi",children:"Mississippi"}),r.jsx("option",{value:"Montana",children:"Montana"}),r.jsx("option",{value:"North Carolina",children:"North Carolina"}),r.jsx("option",{value:"North Dakota",children:"North Dakota"}),r.jsx("option",{value:"Nebraska",children:"Nebraska"}),r.jsx("option",{value:"New Hampshire",children:"New Hampshire"}),r.jsx("option",{value:"New Jersey",children:"New Jersey"}),r.jsx("option",{value:"New Mexico",children:"New Mexico"}),r.jsx("option",{value:"Nevada",children:"Nevada"}),r.jsx("option",{value:"New York",children:"New York"}),r.jsx("option",{value:"Ohio",children:"Ohio"}),r.jsx("option",{value:"Oklahoma",children:"Oklahoma"}),r.jsx("option",{value:"Oregon",children:"Oregon"}),r.jsx("option",{value:"Pennsylvania",children:"Pennsylvania"}),r.jsx("option",{value:"Rhode Island",children:"Rhode Island"}),r.jsx("option",{value:"South Carolina",children:"South Carolina"}),r.jsx("option",{value:"South Dakota",children:"South Dakota"}),r.jsx("option",{value:"Tennessee",children:"Tennessee"}),r.jsx("option",{value:"Texas",children:"Texas"}),r.jsx("option",{value:"Texas",children:"Travis"}),r.jsx("option",{value:"Utah",children:"Utah"}),r.jsx("option",{value:"Virginia",children:"Virginia"}),r.jsx("option",{value:"Vermont",children:"Vermont"}),r.jsx("option",{value:"Washington",children:"Washington"}),r.jsx("option",{value:"Wisconsin",children:"Wisconsin"}),r.jsx("option",{value:"West Virginia",children:"West Virginia"}),r.jsx("option",{value:"Wyoming",children:"Wyoming"})]})]})})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsxs("div",{className:"col-md-4",children:["County",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"county",value:l.county,onChange:d,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"Abbeville",children:"Abbeville"}),r.jsx("option",{value:"Aiken",children:"Aiken"}),r.jsx("option",{value:"Allendale",children:"Allendale"}),r.jsx("option",{value:"Anderson",children:"Anderson"}),r.jsx("option",{value:"Bamberg",children:"Bamberg"}),r.jsx("option",{value:"Barnwell",children:"Barnwell"}),r.jsx("option",{value:"Beaufort",children:"Beaufort"}),r.jsx("option",{value:"Berkeley",children:"Berkeley"}),r.jsx("option",{value:"Calhoun",children:"Calhoun"}),r.jsx("option",{value:"Charleston",children:"Charleston"}),r.jsx("option",{value:"Cherokee",children:"Cherokee"}),r.jsx("option",{value:"Chester",children:"Chester"}),r.jsx("option",{value:"Chesterfield",children:"Chesterfield"}),r.jsx("option",{value:"Clarendon",children:"Clarendon"}),r.jsx("option",{value:"Colleton",children:"Colleton"}),r.jsx("option",{value:"Darlington",children:"Darlington"}),r.jsx("option",{value:"Dillon",children:"Dillon"}),r.jsx("option",{value:"Dorchester",children:"Dorchester"}),r.jsx("option",{value:"Edgefield",children:"Edgefield"}),r.jsx("option",{value:"Fairfield",children:"Fairfield"}),r.jsx("option",{value:"Florence",children:"Florence"}),r.jsx("option",{value:"Georgetown",children:"Georgetown"}),r.jsx("option",{value:"Greenville",children:"Greenville"}),r.jsx("option",{value:"Greenwood",children:"Greenwood"}),r.jsx("option",{value:"Hampton",children:"Hampton"}),r.jsx("option",{value:"Horry",children:"Horry"}),r.jsx("option",{value:"Jasper",children:"Jasper"}),r.jsx("option",{value:"Kershaw",children:"Kershaw"}),r.jsx("option",{value:"Lancaster",children:"Lancaster"}),r.jsx("option",{value:"Laurens",children:"Laurens"}),r.jsx("option",{value:"Lee",children:"Lee"}),r.jsx("option",{value:"Lexington",children:"Lexington"}),r.jsx("option",{value:"Marion",children:"Marion"}),r.jsx("option",{value:"Marlboro",children:"Marlboro"}),r.jsx("option",{value:"McCormick",children:"McCormick"}),r.jsx("option",{value:"Newberry",children:"Newberry"}),r.jsx("option",{value:"Oconee",children:"Oconee"}),r.jsx("option",{value:"Orangeburg",children:"Orangeburg"}),r.jsx("option",{value:"Pickens",children:"Pickens"}),r.jsx("option",{value:"Richland",children:"Richland"}),r.jsx("option",{value:"Saluda",children:"Saluda"}),r.jsx("option",{value:"Spartanburg",children:"Spartanburg"}),r.jsx("option",{value:"Sumter",children:"Sumter"}),r.jsx("option",{value:"Union",children:"Union"}),r.jsx("option",{value:"Williamsburg",children:"Williamsburg"}),r.jsx("option",{value:"York",children:"York"})]})]}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Zip",r.jsx("input",{type:"text",className:"form-control",name:"zip",value:l.zip,onChange:d,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Parcel",r.jsx("input",{type:"text",className:"form-control",name:"parcel",value:l.parcel,onChange:d,required:!0})]})})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Sub division",r.jsx("input",{type:"text",className:"form-control",name:"subdivision",value:l.subdivision,onChange:d,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Legal Description",r.jsx("textarea",{type:"text",className:"form-control",name:"legal",value:l.legal,onChange:d,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Cost per SQFT",r.jsx("input",{type:"text",className:"form-control",name:"costpersqft",value:l.costpersqft,onChange:d,required:!0})]})})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsxs("div",{className:"col-md-4",children:["Property Type",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"propertyType",value:l.propertyType,onChange:d,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"Residential",children:"Residential"}),r.jsx("option",{value:"Land",children:"Land"}),r.jsx("option",{value:"Commercial",children:"Commercial"}),r.jsx("option",{value:"Industrial",children:"Industrial"}),r.jsx("option",{value:"Water",children:"Water"})]})]}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Lot Acres/Sqft",r.jsx("input",{type:"text",className:"form-control",name:"lotacres",value:l.lotacres,onChange:d,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Year Build",r.jsx("input",{type:"text",className:"form-control",name:"yearBuild",value:l.yearBuild,onChange:d,required:!0})]})})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Total Living SQFT",r.jsx("input",{type:"text",className:"form-control",name:"totallivingsqft",value:l.totallivingsqft,onChange:d,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Beds",r.jsx("input",{type:"text",className:"form-control",name:"beds",value:l.beds,onChange:d,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Baths",r.jsx("input",{type:"text",className:"form-control",name:"baths",value:l.baths,onChange:d,required:!0})]})})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsxs("div",{className:"col-md-4",children:["Stories",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"stories",value:l.stories,onChange:d,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"0",children:"0"}),r.jsx("option",{value:"1",children:"1"}),r.jsx("option",{value:"2",children:"2"}),r.jsx("option",{value:"3",children:"3"}),r.jsx("option",{value:"4",children:"4"}),r.jsx("option",{value:"5",children:"5"}),r.jsx("option",{value:"6",children:"6"}),r.jsx("option",{value:"7",children:"7"}),r.jsx("option",{value:"8",children:"8"}),r.jsx("option",{value:"9",children:"9"}),r.jsx("option",{value:"10",children:"10"})]})]}),r.jsxs("div",{className:"col-md-4",children:["Garage",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"garage",value:l.garage,onChange:d,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"0",children:"0"}),r.jsx("option",{value:"1",children:"1"}),r.jsx("option",{value:"2",children:"2"}),r.jsx("option",{value:"3",children:"3"}),r.jsx("option",{value:"4",children:"4"}),r.jsx("option",{value:"5",children:"5"})]})]}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Garage SQFT",r.jsx("input",{type:"text",className:"form-control",name:"garagesqft",value:l.garagesqft,onChange:d,required:!0})]})})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsxs("div",{className:"col-md-4",children:["Pool/SPA",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"poolspa",value:l.poolspa,onChange:d,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"N/A",children:"N/A"}),r.jsx("option",{value:"Yes- Pool Only",children:"Yes- Pool Only"}),r.jsx("option",{value:"Yes- SPA only",children:"Yes- SPA only"}),r.jsx("option",{value:"Yes - Both Pool and SPA",children:"Yes - Both Pool and SPA"}),r.jsx("option",{value:"4",children:"None"})]})]}),r.jsxs("div",{className:"col-md-4",children:["Fire places",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"fireplaces",value:l.fireplaces,onChange:d,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"N/A",children:"N/A"}),r.jsx("option",{value:"yes",children:"Yes"}),r.jsx("option",{value:"no",children:"No"})]})]}),r.jsxs("div",{className:"col-md-4",children:["A/C",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"ac",value:l.ac,onChange:d,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"N/A",children:"N/A"}),r.jsx("option",{value:"Central",children:"Central"}),r.jsx("option",{value:"Heat Pump",children:"Heat Pump"}),r.jsx("option",{value:"Warm Air",children:"Warm Air"}),r.jsx("option",{value:"Forced Air",children:"Forced Air"}),r.jsx("option",{value:"Gas",children:"Gas"})]})]})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsxs("div",{className:"col-md-4",children:["Heating",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"heating",value:l.heating,onChange:d,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"N/A",children:"N/A"}),r.jsx("option",{value:"Central",children:"Central"}),r.jsx("option",{value:"Heat Pump",children:"Heat Pump"}),r.jsx("option",{value:"Warm Air",children:"Warm Air"}),r.jsx("option",{value:"Forced Air",children:"Forced Air"}),r.jsx("option",{value:"Gas",children:"Gas"})]})]}),r.jsxs("div",{className:"col-md-4",children:["Building Style",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"buildingstyle",value:l.buildingstyle,onChange:d,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"One Story",children:"One Story"}),r.jsx("option",{value:"Craftsman",children:"Craftsman"}),r.jsx("option",{value:"Log/Cabin",children:"Log/Cabin"}),r.jsx("option",{value:"Split-Level",children:"Split-Level"}),r.jsx("option",{value:"Split-Foyer",children:"Split-Foyer"}),r.jsx("option",{value:"Stick Built",children:"Stick Built"}),r.jsx("option",{value:"Single wide",children:"Single wide"}),r.jsx("option",{value:"Double wide",children:"Double wide"}),r.jsx("option",{value:"Duplex",children:"Duplex"}),r.jsx("option",{value:"Triplex",children:"Triplex"}),r.jsx("option",{value:"Quadruplex",children:"Quadruplex"}),r.jsx("option",{value:"Two Story",children:"Two Story"}),r.jsx("option",{value:"Victorian",children:"Victorian"}),r.jsx("option",{value:"Tudor",children:"Tudor"}),r.jsx("option",{value:"Modern",children:"Modern"}),r.jsx("option",{value:"Art Deco",children:"Art Deco"}),r.jsx("option",{value:"Bungalow",children:"Bungalow"}),r.jsx("option",{value:"Mansion",children:"Mansion"}),r.jsx("option",{value:"Farmhouse",children:"Farmhouse"}),r.jsx("option",{value:"Conventional",children:"Conventional"}),r.jsx("option",{value:"Ranch",children:"Ranch"}),r.jsx("option",{value:"Ranch with Basement",children:"Ranch with Basement"}),r.jsx("option",{value:"Cape Cod",children:"Cape Cod"}),r.jsx("option",{value:"Contemporary",children:"Contemporary"}),r.jsx("option",{value:"Colonial",children:"Colonial"}),r.jsx("option",{value:"Mediterranean",children:"Mediterranean"})]})]}),r.jsxs("div",{className:"col-md-4",children:["Site Vacant",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"sitevacant",value:l.sitevacant,onChange:d,required:!0,children:[r.jsx("option",{value:"",children:"Please select"}),r.jsx("option",{value:"Yes",children:"Yes"}),r.jsx("option",{value:"No",children:"No"})]})]})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsxs("div",{className:"col-md-4",children:["Ext Wall",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"extwall",value:l.extwall,onChange:d,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"N/A",children:"N/A"}),r.jsx("option",{value:"Brick",children:"Brick"}),r.jsx("option",{value:"Brick/Vinyl Siding",children:"Brick/Vinyl Siding"}),r.jsx("option",{value:"Wood/Vinyl Siding",children:"Wood/Vinyl Siding"}),r.jsx("option",{value:"Brick/Wood Siding",children:"Brick/Wood Siding"}),r.jsx("option",{value:"Stone",children:"Stone"}),r.jsx("option",{value:"Masonry",children:"Masonry"}),r.jsx("option",{value:"Metal",children:"Metal"}),r.jsx("option",{value:"Fiberboard",children:"Fiberboard"}),r.jsx("option",{value:"Asphalt Siding",children:"Asphalt Siding"}),r.jsx("option",{value:"Concrete Block",children:"Concrete Block"}),r.jsx("option",{value:"Gable",children:"Gable"}),r.jsx("option",{value:"Brick Veneer",children:"Brick Veneer"}),r.jsx("option",{value:"Frame",children:"Frame"}),r.jsx("option",{value:"Siding",children:"Siding"}),r.jsx("option",{value:"Cement/Wood Fiber Siding",children:"Cement/Wood Fiber Siding"}),r.jsx("option",{value:"Fiber/Cement Siding",children:"Fiber/Cement Siding"}),r.jsx("option",{value:"Wood Siding",children:"Wood Siding"}),r.jsx("option",{value:"Vinyl Siding",children:"Vinyl Siding"}),r.jsx("option",{value:"Aluminium Siding",children:"Aluminium Siding"}),r.jsx("option",{value:"Wood/Vinyl Siding",children:"Alum/Vinyl Siding"})]})]}),r.jsxs("div",{className:"col-md-4",children:["Roofing",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"roofing",value:l.roofing,onChange:d,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"N/A",children:"N/A"}),r.jsx("option",{value:"Asphalt Shingle",children:"Asphalt Shingle"}),r.jsx("option",{value:"Green Roofs",children:"Green Roofs"}),r.jsx("option",{value:"Built-up Roofing",children:"Built-up Roofing"}),r.jsx("option",{value:"Composition Shingle",children:"Composition Shingle"}),r.jsx("option",{value:"Composition Shingle Heavy",children:"Composition Shingle Heavy"}),r.jsx("option",{value:"Solar tiles",children:"Solar tiles"}),r.jsx("option",{value:"Metal",children:"Metal"}),r.jsx("option",{value:"Stone-coated steel",children:"Stone-coated steel"}),r.jsx("option",{value:"Slate",children:"Slate"}),r.jsx("option",{value:"Rubber Slate",children:"Rubber Slate"}),r.jsx("option",{value:"Clay and Concrete tiles",children:"Clay and Concrete tiles"})]})]}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Total SQFT",r.jsx("input",{type:"text",className:"form-control",name:"totalSqft",value:l.totalSqft,onChange:d,required:!0})]})})]}),r.jsxs("h3",{style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:[r.jsx("br",{}),"Property Tax Information"]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),l.propertyTaxInfo&&l.propertyTaxInfo.map((S,k)=>r.jsxs("div",{className:"row gy-4",children:[r.jsx("div",{className:"col-md-3",children:r.jsxs("div",{className:"form-floating mb-3",children:["Property Tax Owned",r.jsx("input",{type:"text",className:"form-control",name:"propertytaxowned",value:S.propertytaxowned,onChange:f=>p(f,k),required:!0})]})}),r.jsx("div",{className:"col-md-2",children:r.jsxs("div",{className:"form-floating mb-2",children:["Owned Year",r.jsx("input",{type:"text",className:"form-control",name:"ownedyear",value:S.ownedyear,onChange:f=>p(f,k),required:!0})]})}),r.jsx("div",{className:"col-md-2",children:r.jsxs("div",{className:"form-floating mb-2",children:["Tax Assessed",r.jsx("input",{type:"text",className:"form-control",name:"taxassessed",value:S.taxassessed,onChange:f=>p(f,k),required:!0})]})}),r.jsx("div",{className:"col-md-2",children:r.jsxs("div",{className:"form-floating mb-2",children:["Tax Year",r.jsx("input",{type:"text",className:"form-control",name:"taxyear",value:S.taxyear,onChange:f=>p(f,k),required:!0})]})}),r.jsx("div",{className:"col-md-3",children:r.jsxs("div",{className:"form-floating mb-2",children:[r.jsx("br",{}),r.jsx("button",{className:"btn btn-danger",onClick:()=>g(k),style:{height:"25px",width:"35px"},children:"X"})]})})]},k)),r.jsx("button",{className:"btn btn-secondary",onClick:b,children:"+ Add Another Property Tax Info"})]}),r.jsx("button",{className:"btn btn-primary continue",onClick:i,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Continue"})]}),n==="Images"&&r.jsxs("div",{role:"tabpanel",className:"card tab-pane active",children:[r.jsxs("h3",{style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:["Upload Images"," "]}),r.jsxs("form",{children:[r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),l.images.map((S,k)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:S.title,placeholder:"Image Title",onChange:f=>v(k,f)})}),r.jsxs("div",{className:"col-md-4 d-flex align-items-center",children:[r.jsx(Du,{multiple:!1,onDone:f=>N(f,k)}),r.jsx("button",{type:"button",className:"btn btn-danger",onClick:()=>h(k),style:{marginLeft:"5px"},children:"Delete"})]}),S.file&&r.jsx("div",{className:"col-md-12",children:r.jsx("img",{src:S.file,alt:"uploaded",style:{width:"150px",height:"150px"}})})]},k)),r.jsx("button",{type:"button",className:"btn btn-primary",onClick:C,style:{backgroundColor:"#fda417",border:"#fda417"},children:"+ Add Image"}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"mb-3",children:[r.jsx("label",{htmlFor:"googleMapLink",className:"form-label",children:r.jsxs("h3",{style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:["Google Maps Link"," "]})}),r.jsx("input",{type:"text",className:"form-control",name:"googleMapLink",value:l.googleMapLink,onChange:d,placeholder:"Enter Google Maps link"})]}),l.googleMapLink&&r.jsx("iframe",{title:"Google Map",width:"100%",height:"300",src:`https://www.google.com/maps/embed/v1/view?key=YOUR_API_KEY¢er=${l.googleMapLink}&zoom=10`,frameBorder:"0",allowFullScreen:!0})]}),r.jsx("button",{className:"btn btn-primary back",onClick:s,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Go Back"})," ",r.jsx("button",{className:"btn btn-primary continue",onClick:i,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Continue"})]}),n==="Accounting"&&r.jsxs("div",{className:"card",style:{color:"#fda417",border:"1px solid #fda417",padding:"10px",borderRadius:"8px"},children:[r.jsx("br",{}),r.jsxs("div",{className:"row gy-3 col-16",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Close Date A to B",required:!0,disabled:!0})}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"date",className:"form-control",name:"closeDateAtoB",value:l.closeDateAtoB,onChange:S=>{const k=S.target.value;u({...l,closeDateAtoB:k}),E(k,l.closeDateBtoC)},placeholder:"Close Date A to B",style:{textAlign:"right"},required:!0})}),r.jsx("div",{children:r.jsxs("p",{children:[r.jsxs("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:["[M-D-Y]"," "]}),":"," ",r.jsx("span",{style:{color:"#000000",fontSize:"14px",fontWeight:"normal"},children:new Date(l.closeDateAtoB).toLocaleDateString("en-US",{month:"numeric",day:"numeric",year:"numeric"})})]})})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Close Date B to C",required:!0,disabled:!0})}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"date",className:"form-control",name:"closeDateBtoC",value:l.closeDateBtoC,onChange:S=>{const k=S.target.value;u({...l,closeDateBtoC:k}),E(l.closeDateAtoB,k)},placeholder:"Close Date B to C",style:{textAlign:"right"},required:!0})}),r.jsx("div",{children:r.jsxs("p",{children:[r.jsxs("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:["[M-D-Y] :"," "]}),r.jsx("span",{style:{color:"#000000",fontSize:"14px",fontWeight:"normal"},children:new Date(l.closeDateBtoC).toLocaleDateString("en-US",{month:"numeric",day:"numeric",year:"numeric"})})]})})]}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Renovation Risk"}),r.jsx("div",{className:"col-md-7",children:c.map(S=>r.jsxs("div",{className:"form-check form-check-inline",children:[r.jsx("input",{className:"form-check-input",type:"radio",name:"renovationRisk",id:`renovationRisk${S}`,value:S,checked:l.renovationRisk===S,onChange:k=>{const f=parseInt(k.target.value,10);u({...l,renovationRisk:f})}}),r.jsx("label",{className:"form-check-label",htmlFor:`renovationRisk${S}`,children:S})]},S))})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Rate of Return"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"rateofreturn",value:`$ ${ba().toFixed(2)}`,readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Turn Time"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:m,readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Purchase Price"}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${l.isPurchaseCostInvalid?"is-invalid":""}`,value:`$ ${l.purchaseCost}`,name:"purchaseCost",onChange:S=>{let k=S.target.value.replace(/[^\d.]/g,"");const f=/^\d*\.?\d*$/.test(k);u({...l,purchaseCost:k,isPurchaseCostInvalid:!f})},onKeyPress:S=>{const k=S.charCode;(k<48||k>57)&&k!==46&&(S.preventDefault(),u({...l,isPurchaseCostInvalid:!0}))},placeholder:"Enter Purchase Cost",style:{textAlign:"right"},required:!0}),l.isPurchaseCostInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Costs paid out of Closing Hud A to B:"}),l.costPaidAtoB.map((S,k)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:S.title,onChange:f=>P(k,"title",f.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${S.isInvalid?"is-invalid":""}`,value:`$ ${S.price}`,onChange:f=>M(f,k),placeholder:"Price",style:{textAlign:"right"},required:!0}),S.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>O(k),style:{marginLeft:"5px"},children:"x"})})]},k)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{onClick:_,className:"btn btn-primary back",style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Extra Cost"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Purchase Cost"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalPurchaseCosts",value:`$ ${W().toFixed(2)}`,readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Credits received on settlement:"}),l.credits.map((S,k)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:S.title,onChange:f=>X(k,"title",f.target.value),placeholder:"credits",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${S.isInvalid?"is-invalid":""}`,value:S.price,onChange:f=>Z(f,k),placeholder:"Price",style:{textAlign:"right"},required:!0}),S.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>te(k),style:{marginLeft:"5px"},children:"x"})})]},k)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:H,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add credits"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total credits received on settlement"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalcredits",value:F(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Purchase Cost after Credits Received"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalPurchaseCostsaftercredits",value:U(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Cash Adjustments:"}),l.cashAdjustments.map((S,k)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:S.title,onChange:f=>T(k,"title",f.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${S.isInvalid?"is-invalid":""}`,value:S.price,onChange:f=>L(f,k),placeholder:"Price",style:{textAlign:"right"},required:!0}),S.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>A(k),style:{marginLeft:"5px"},children:"x"})})]},k)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:Q,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Cash Adjustments"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Cash Adjustments on Settlement"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalcashAdjustments",value:B(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Cash Required on Settlement"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalcashrequiredonsettlement",value:$(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Incidental Cost:"}),l.incidentalCost.map((S,k)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:S.title,onChange:f=>ee(k,"title",f.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${S.isInvalid?"is-invalid":""}`,value:S.price,onChange:f=>re(f,k),placeholder:"Price",style:{textAlign:"right"},required:!0}),S.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>G(k),style:{marginLeft:"5px"},children:"x"})})]},k)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:K,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Incidental Cost"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Incidental Cost"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalincidentalCost",value:ne(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Carry Costs:"}),l.carryCosts.map((S,k)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:S.title,onChange:f=>de(k,"title",f.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${S.isInvalid?"is-invalid":""}`,value:S.price,onChange:f=>xe(f,k),placeholder:"Price",style:{textAlign:"right"},required:!0}),S.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>ce(k),style:{marginLeft:"5px"},children:"x"})})]},k)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:ie,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Carry Cost"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Carry Cost"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalcarryCosts",value:Ot(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Reno/Construction"}),l.renovationCost.map((S,k)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:S.title,onChange:f=>Yr(k,"title",f.target.value),placeholder:"Title",required:!0,style:{fontSize:"10px"}})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${S.isInvalid?"is-invalid":""}`,value:S.price,onChange:f=>Kr(f,k),placeholder:"Price",style:{textAlign:"right"},required:!0}),S.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>va(k),style:{marginLeft:"5px"},children:"x"})})]},k)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:or,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Reno/Construction"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Renovation Cost"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalrenovationCost",value:Bt(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Renovations & Holding Cost"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalRenovationsandHoldingCost",value:Gr(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Costs to Buy A to B"}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:"form-control",name:"totalCoststoBuyAtoB",value:In(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0}),l.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Selling Price B to C"}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${l.isPurchaseCostInvalid?"is-invalid":""}`,name:"sellingPriceBtoC",value:l.sellingPriceBtoC,onChange:S=>{const k=S.target.value,f=/^\d*\.?\d*$/.test(k);u({...l,sellingPriceBtoC:k,isPurchaseCostInvalid:!f})},onKeyPress:S=>{const k=S.charCode;(k<48||k>57)&&k!==46&&(S.preventDefault(),u({...l,isPurchaseCostInvalid:!0}))},placeholder:"Enter Purchase Cost",style:{textAlign:"right"},required:!0}),l.isPurchaseCostInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Less:Costs paid out of closing Hud B to C:"}),l.costPaidOutofClosing.map((S,k)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:S.title,onChange:f=>Qr(k,"title",f.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${S.isInvalid?"is-invalid":""}`,value:S.price,onChange:f=>en(f,k),placeholder:"Price",style:{textAlign:"right"},required:!0}),S.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>ya(k),style:{marginLeft:"5px"},children:"x"})})]},k)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:ga,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Cost Paid Out of Closing"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total cost paid out of closing"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalcostPaidOutofClosing",value:Jr(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Cost to Sell B to C"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalCosttoSellBtoC",value:tn(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Gross Proceeds per HUD"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"grossproceedsperHUD",value:tn(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Adjustments:"}),l.adjustments.map((S,k)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:S.title,onChange:f=>Xr(k,"title",f.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${S.isInvalid?"is-invalid":""}`,value:S.price,onChange:f=>ui(f,k),placeholder:"Price",style:{textAlign:"right"},required:!0}),S.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>ja(k),style:{marginLeft:"5px"},children:"x"})})]},k)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:xa,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Adjustments"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Adjustments"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totaladjustments",value:Zr(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Funds Available for distribution"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"fundsavailablefordistribution",value:di(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Income Statement Adjustments:"}),l.incomestatement.map((S,k)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:S.title,onChange:f=>eo(k,"title",f.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${S.isInvalid?"is-invalid":""}`,value:S.price,onChange:f=>Rn(f,k),placeholder:"Price",style:{textAlign:"right"},required:!0}),S.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>Ca(k),style:{marginLeft:"5px"},children:"x"})})]},k)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:Na,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Income Statement"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Income Statement Adjustment"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalincomestatement",value:Dn(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Net B to C Sale Value"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"netBtoCsalevalue",value:zt(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Net Profit Computation"}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Total Costs to Buy A to B",required:!0,disabled:!0})}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalCoststoBuyAtoBagain",value:In(),style:{textAlign:"right"},required:!0})})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Funds Prior to Closing",required:!0,disabled:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${l.isfundspriortoclosingInvalid?"is-invalid":""}`,value:l.fundspriortoclosing,name:"fundspriortoclosing",onChange:S=>{const k=S.target.value,f=/^\d*\.?\d*$/.test(k);u({...l,fundspriortoclosing:k,isfundspriortoclosingInvalid:!f})},onKeyPress:S=>{const k=S.charCode;(k<48||k>57)&&k!==46&&(S.preventDefault(),u({...l,isfundspriortoclosingInvalid:!0}))},style:{textAlign:"right"},required:!0}),l.isfundspriortoclosingInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Net B to C Sale Value",required:!0,disabled:!0})}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"netBtoCsalevalue",value:zt(),style:{textAlign:"right"},required:!0})})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Short Term Rental",required:!0,disabled:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${l.isPurchaseCostInvalid?"is-invalid":""}`,value:l.shorttermrental,name:"shorttermrental",onChange:S=>{const k=S.target.value,f=/^\d*\.?\d*$/.test(k);u({...l,shorttermrental:k,isPurchaseCostInvalid:!f})},onKeyPress:S=>{const k=S.charCode;(k<48||k>57)&&k!==46&&(S.preventDefault(),u({...l,isPurchaseCostInvalid:!0}))},style:{textAlign:"right"},required:!0}),l.isPurchaseCostInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Other Income",required:!0,disabled:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${l.isPurchaseCostInvalid?"is-invalid":""}`,value:l.OtherIncome,name:"OtherIncome",onChange:S=>{const k=S.target.value,f=/^\d*\.?\d*$/.test(k);u({...l,OtherIncome:k,isPurchaseCostInvalid:!f})},onKeyPress:S=>{const k=S.charCode;(k<48||k>57)&&k!==46&&(S.preventDefault(),u({...l,isPurchaseCostInvalid:!0}))},style:{textAlign:"right"},required:!0}),l.isPurchaseCostInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Insurance Claim",required:!0,disabled:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${l.isPurchaseCostInvalid?"is-invalid":""}`,value:l.InsuranceClaim,name:"InsuranceClaim",onChange:S=>{const k=S.target.value,f=/^\d*\.?\d*$/.test(k);u({...l,InsuranceClaim:k,isPurchaseCostInvalid:!f})},onKeyPress:S=>{const k=S.charCode;(k<48||k>57)&&k!==46&&(S.preventDefault(),u({...l,isPurchaseCostInvalid:!0}))},style:{textAlign:"right"},required:!0}),l.isPurchaseCostInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Long Term Rental",required:!0,disabled:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${l.isPurchaseCostInvalid?"is-invalid":""}`,value:l.LongTermRental,name:"LongTermRental",onChange:S=>{const k=S.target.value,f=/^\d*\.?\d*$/.test(k);u({...l,LongTermRental:k,isPurchaseCostInvalid:!f})},onKeyPress:S=>{const k=S.charCode;(k<48||k>57)&&k!==46&&(S.preventDefault(),u({...l,isPurchaseCostInvalid:!0}))},style:{textAlign:"right"},required:!0}),l.isPurchaseCostInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Net Profit Before Financing Costs"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"netprofitbeforefinancingcosts",value:ir(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Financing Cost/Other Closing Costs"}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${l.isFinancingCostClosingCostInvalid?"is-invalid":""}`,value:l.FinancingCostClosingCost,name:"FinancingCostClosingCost",onChange:S=>{const k=S.target.value,f=/^\d*\.?\d*$/.test(k);u({...l,FinancingCostClosingCost:k,isFinancingCostClosingCostInvalid:!f})},onKeyPress:S=>{const k=S.charCode;(k<48||k>57)&&k!==46&&(S.preventDefault(),u({...l,isFinancingCostClosingCostInvalid:!0}))},style:{textAlign:"right"},required:!0}),l.isFinancingCostClosingCostInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Net Profit"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"netprofit",value:to(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("br",{}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("button",{className:"btn btn-primary back",onClick:s,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Go Back"})," ",r.jsx("button",{type:"button",className:"btn btn-primary continue",style:{backgroundColor:"#fda417",border:"#fda417"},onClick:y,children:"Submit"})," "]}),r.jsx("br",{})]})]})]})})]})},QN=()=>{const e=Pt(),{properties:t,loading:n,totalPages:o,currentPage:i}=tt(N=>N.property),[s,a]=R.useState(""),[l,u]=R.useState([]),[c,d]=R.useState(1),p=10;R.useEffect(()=>{e(Po({page:c,limit:p,keyword:s}))},[e,c,s]),R.useEffect(()=>{s.trim()?u(t.filter(N=>N.address.toLowerCase().includes(s.toLowerCase()))):u(t)},[s,t]);const y=N=>{a(N.target.value)},b=N=>{N.preventDefault()},g=N=>{d(N),e(Po({page:N,limit:p,keyword:s}))};return r.jsxs(r.Fragment,{children:[r.jsx(Ae,{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsxs("div",{className:"container col-12",children:[r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-lg-12 card-margin col-12",children:r.jsx("div",{className:"card search-form col-12",children:r.jsx("div",{className:"card-body p-0",children:r.jsx("form",{id:"search-form",onSubmit:b,children:r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-12",children:r.jsx("div",{className:"row no-gutters",children:r.jsx("div",{className:"col-lg-8 col-md-6 col-sm-12 p-0",children:r.jsx("input",{type:"text",value:s,onChange:y,placeholder:"Enter the keyword and hit ENTER button...",className:"form-control"})})})})})})})})})}),r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-12",children:r.jsx("div",{className:"card card-margin",children:r.jsx("div",{className:"card-body",children:n?r.jsx("div",{children:"Loading..."}):r.jsx("div",{className:"table-responsive",children:r.jsxs("table",{className:"table widget-26",children:[r.jsx("thead",{style:{color:"#fda417",fontSize:"15px"},children:r.jsxs("tr",{children:[r.jsx("th",{children:"Image"}),r.jsx("th",{children:"Details"}),r.jsx("th",{children:"Total Living Square Foot"}),r.jsx("th",{children:"Year Built"}),r.jsx("th",{children:"Cost per Square Foot"})]})}),r.jsx("tbody",{children:l.length>0?l.map(N=>r.jsxs("tr",{children:[r.jsx("td",{children:N.images&&N.images[0]?r.jsx("img",{src:N.images[0].file||Dt,alt:"Property Thumbnail",style:{width:"100px",height:"auto"}}):r.jsx("img",{src:Dt,alt:"Default Property Thumbnail",style:{width:"100px",height:"auto"}})}),r.jsx("td",{children:r.jsxs("div",{className:"widget-26-job-title",children:[r.jsx(ge,{to:`/property/${N.propertyId}`,className:"link-primary text-decoration-none",target:"_blank",children:N.address}),r.jsxs("p",{className:"m-0",children:[r.jsxs("span",{className:"employer-name",children:[r.jsx("i",{className:"fa fa-map-marker",style:{color:"#F74B02"}}),N.city,", ",N.county,","," ",N.state]}),r.jsxs("p",{className:"text-muted m-0",children:["House Id: ",N.propertyId]})]})]})}),r.jsx("td",{children:N.totallivingsqft}),r.jsx("td",{children:N.yearBuild}),r.jsx("td",{children:N.costpersqft})]},N.id)):r.jsx("tr",{children:r.jsx("td",{colSpan:"5",children:"No properties found."})})})]})})})})})}),r.jsx("nav",{"aria-label":"Page navigation",children:r.jsxs("ul",{className:"pagination justify-content-center",children:[r.jsx("li",{className:`page-item ${i===1?"disabled":""}`,children:r.jsx("button",{className:"page-link",onClick:()=>g(i-1),children:"Previous"})}),Array.from({length:o},(N,C)=>r.jsx("li",{className:`page-item ${i===C+1?"active":""}`,children:r.jsx("button",{className:"page-link",onClick:()=>g(C+1),children:C+1})},C+1)),r.jsx("li",{className:`page-item ${i===o?"disabled":""}`,children:r.jsx("button",{className:"page-link",onClick:()=>g(i+1),children:"Next"})})]})})]}),r.jsx(He,{})]})},JN=()=>{const{userId:e}=Hr(),t=Pt(),{user:n,loading:o}=tt(i=>i.user);return console.log("user",n),R.useEffect(()=>{e&&t(Qi(e))},[e,t]),o?r.jsx("div",{children:"Loading..."}):r.jsxs(r.Fragment,{children:[r.jsx(Ae,{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("div",{className:"main-body",children:r.jsxs("div",{className:"row gutters-sm",children:[r.jsx("div",{className:"col-md-4 mb-3",children:r.jsx("div",{className:"card",children:r.jsxs("div",{className:"card-body",children:[r.jsxs("div",{className:"d-flex flex-column align-items-center text-center",children:[r.jsx("img",{src:n.profileImage,alt:"Admin",className:"rounded-circle",width:150}),r.jsxs("h4",{children:[n.title,". ",n.firstName," ",n.middleName," ",n.lastName]}),r.jsxs("span",{className:"text-muted font-size-sm",children:[r.jsx("i",{className:"fa fa-map-marker",style:{color:"#F74B02",fontSize:"20px"}})," ",n.city,", ",n.state,", ",n.county,", ",n.zip]})]}),r.jsx("br",{})]})})}),r.jsx("div",{className:"col-md-4 mb-3",children:r.jsx("div",{className:"card",children:r.jsxs("div",{className:"card-body",children:[r.jsxs("h1",{className:"d-flex align-items-center mb-3",style:{color:"#fda417",fontSize:"26px"},children:[r.jsx("i",{className:"material-icons text-info mr-2",style:{color:"#fda417",fontSize:"26px"},children:"Recent"}),"Project investments"]}),r.jsx("hr",{}),r.jsx("img",{src:Dt,alt:"Admin",className:"rounded-circle",style:{marginRight:"10px",maxWidth:"50px",maxHeight:"50px"}}),r.jsx("small",{children:"Web Design project in California"}),r.jsx("div",{className:"progress",style:{width:"100%",marginTop:"10px"},children:r.jsx("div",{className:"progress-bar",role:"progressbar",style:{width:"25%"},"aria-valuenow":25,"aria-valuemin":0,"aria-valuemax":100,children:"25% completed"})}),r.jsx("hr",{}),r.jsx("img",{src:Dt,alt:"Admin",className:"rounded-circle",style:{marginRight:"10px",maxWidth:"50px",maxHeight:"50px"}}),r.jsx("small",{children:"Web Design project in California"}),r.jsx("div",{className:"progress",style:{width:"100%",marginTop:"10px"},children:r.jsx("div",{className:"progress-bar",role:"progressbar",style:{width:"75%"},"aria-valuenow":75,"aria-valuemin":0,"aria-valuemax":100,children:"75% completed"})})]})})}),r.jsx("div",{className:"col-md-4 mb-3",children:r.jsx("div",{className:"card",children:r.jsxs("div",{className:"card-body",children:[r.jsxs("h1",{className:"d-flex align-items-center mb-3",style:{color:"#fda417",fontSize:"26px"},children:[r.jsx("i",{className:"material-icons text-info mr-2",children:"Projects"}),"Seeking investments"]}),r.jsx("hr",{}),r.jsx("img",{src:Dt,alt:"Admin",className:"rounded-circle",style:{marginRight:"10px",maxWidth:"50px",maxHeight:"50px"}}),r.jsx("small",{children:"Web Design project in California"}),r.jsx("br",{})," ",r.jsx("br",{}),r.jsx("hr",{}),r.jsx("img",{src:Dt,alt:"Admin",className:"rounded-circle",style:{marginRight:"10px",maxWidth:"50px",maxHeight:"50px"}}),r.jsx("small",{children:"Web Design project in California"}),r.jsx("br",{})," ",r.jsx("br",{})]})})}),r.jsx("div",{className:"col-md-4",children:r.jsx("div",{className:"card mb-3",children:r.jsxs("div",{className:"card-body",children:[r.jsxs("h1",{className:"d-flex align-items-center mb-3",style:{color:"#fda417",fontSize:"26px"},children:[r.jsx("i",{className:"material-icons text-info mr-2",style:{color:"#fda417",fontSize:"26px"},children:"About"}),"me :"]})," ",r.jsx("hr",{}),n.aboutme]})})}),r.jsx("div",{className:"col-md-4 mb-3",children:r.jsx("div",{className:"card",children:r.jsxs("div",{className:"card-body",children:[r.jsxs("h1",{className:"d-flex align-items-center mb-3",style:{color:"#fda417",fontSize:"26px"},children:[r.jsx("i",{className:"material-icons text-info mr-2",style:{color:"#fda417",fontSize:"26px"},children:"Willing to"}),"invest:"]}),r.jsx("hr",{}),r.jsx("h2",{className:"d-flex flex-column align-items-center text-center",style:{color:"#fda417",border:"#fda417",fontSize:"60px",fontWeight:"normal"},children:"$ 500,000"}),r.jsx("span",{className:"d-flex flex-column align-items-center text-center",children:r.jsx("button",{className:"btn btn-primary btn-lg ",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},children:"Request"})}),r.jsx("hr",{}),r.jsxs("div",{className:"card-body",children:[r.jsxs("div",{className:"row",children:[r.jsx("div",{className:"col-sm-3",children:r.jsx("span",{className:"mb-0",children:"Email"})}),n.email,r.jsx("div",{className:"col-sm-9 text-secondary"})]}),r.jsx("hr",{}),r.jsxs("div",{className:"row",children:[r.jsx("div",{className:"col-sm-3",children:r.jsx("span",{className:"mb-0",children:"Phone"})}),"67656584687",r.jsx("div",{className:"col-sm-9 text-secondary"})]})]})]})})}),r.jsx("div",{className:"col-md-4 mb-3",children:r.jsx("div",{className:"card",children:r.jsxs("div",{className:"card-body",children:[r.jsxs("h1",{className:"d-flex align-items-center mb-3",style:{color:"#fda417",fontSize:"26px"},children:[r.jsx("i",{className:"material-icons text-info mr-2",children:"Suggested"}),"Borrowers"]}),r.jsxs("ul",{className:"list-group list-group-flush",children:[r.jsx("li",{className:"list-group-item d-flex justify-content-between align-items-center flex-wrap",children:r.jsxs("h6",{className:"mb-0",children:[r.jsx("img",{src:ns,style:{marginTop:"0px",maxWidth:"50px",maxHeight:"50px"}}),"Ravichandu"]})}),r.jsx("li",{className:"list-group-item d-flex justify-content-between align-items-center flex-wrap",children:r.jsxs("h6",{className:"mb-0",children:[r.jsx("img",{src:ns,style:{marginTop:"0px",maxWidth:"50px",maxHeight:"50px"}}),"Ravichandu"]})}),r.jsx("li",{className:"list-group-item d-flex justify-content-between align-items-center flex-wrap",children:r.jsxs("h6",{className:"mb-0",children:[r.jsx("img",{src:ns,style:{marginTop:"0px",maxWidth:"50px",maxHeight:"50px"}}),"Ravichandu"]})})]})]})})})]})})]})},XN=()=>r.jsxs(A0,{children:[r.jsx(Q0,{}),r.jsxs(w0,{children:[r.jsx(_e,{path:"/",element:r.jsx(X0,{})}),r.jsx(_e,{path:"/about",element:r.jsx(Z0,{})}),r.jsx(_e,{path:"/services",element:r.jsx(YN,{})}),r.jsx(_e,{path:"/contact",element:r.jsx(eN,{})}),r.jsx(_e,{path:"/register",element:r.jsx(kN,{})}),r.jsx(_e,{path:"/registrationsuccess",element:r.jsx(rs,{children:r.jsx(qN,{})})}),r.jsx(_e,{path:"/login",element:r.jsx(PN,{})}),r.jsx(_e,{path:"/dashboard",element:r.jsx(rs,{children:r.jsx(IN,{})})}),r.jsx(_e,{path:"/users/:id/verify/:token",element:r.jsx(WN,{})}),r.jsx(_e,{path:"/forgotpassword",element:r.jsx($N,{})}),r.jsx(_e,{path:"/users/resetpassword/:userId/:token",element:r.jsx(UN,{})}),r.jsx(_e,{path:"/property/:id",element:r.jsx(VN,{})}),r.jsx(_e,{path:"/properties/:house_id",element:r.jsx(KN,{})}),r.jsx(_e,{path:"/searchmyproperties",element:r.jsx(HN,{})}),r.jsx(_e,{path:"/searchproperties",element:r.jsx(QN,{})}),r.jsx(_e,{path:"/editproperty/:id",element:r.jsx(rs,{children:r.jsx(GN,{})})}),r.jsx(_e,{path:"/profile/:userId",element:r.jsx(JN,{})})]})]});Mm(document.getElementById("root")).render(r.jsx(R.StrictMode,{children:r.jsx(Xy,{store:Lj,children:r.jsx(XN,{})})}));
|