diff --git a/ef-api/controllers/property.js b/ef-api/controllers/property.js index fa91644..3c092c4 100644 --- a/ef-api/controllers/property.js +++ b/ef-api/controllers/property.js @@ -31,6 +31,7 @@ export const createProperty = async (req, res) => { }; +// Fetch property by userId export const getUserProperties = async (req, res) => { try { const userId = req.params.userId; @@ -39,4 +40,17 @@ export const getUserProperties = async (req, res) => { } catch (error) { res.status(500).json({ message: "Error retrieving properties", error }); } -}; \ No newline at end of file +}; + + + +// Fetch property by ID +export const getPropertyById = async (req, res) => { + const { propertyId } = req.params; + try { + const property = await PropertyModal.findOne({ propertyId }); + res.status(200).json(property); + } catch (error) { + res.status(404).json({ message: "Something went wrong" }); + } +}; diff --git a/ef-api/routes/property.js b/ef-api/routes/property.js index e0e8aa3..d40978c 100644 --- a/ef-api/routes/property.js +++ b/ef-api/routes/property.js @@ -1,10 +1,14 @@ import express from 'express'; const router = express.Router(); import auth from '../middleware/auth.js'; -import { createProperty, getUserProperties } from '../controllers/property.js'; +import { createProperty, getUserProperties, getPropertyById } from '../controllers/property.js'; router.post('/', auth, createProperty); router.get('/user/:userId', getUserProperties); +router.get('/:propertyId', getPropertyById); + + + diff --git a/ef-ui/dist/assets/index-CzVE7_Kd.js b/ef-ui/dist/assets/index-BVD7tRJW.js similarity index 57% rename from ef-ui/dist/assets/index-CzVE7_Kd.js rename to ef-ui/dist/assets/index-BVD7tRJW.js index 79596fd..58b47d6 100644 --- a/ef-ui/dist/assets/index-CzVE7_Kd.js +++ b/ef-ui/dist/assets/index-BVD7tRJW.js @@ -1,4 +1,4 @@ -var $p=Object.defineProperty;var Wp=(e,t,n)=>t in e?$p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ks=(e,t,n)=>Wp(e,typeof t!="symbol"?t+"":t,n);function Hp(e,t){for(var n=0;nr[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"]'))r(i);new MutationObserver(i=>{for(const l of i)if(l.type==="childList")for(const s of l.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const l={};return i.integrity&&(l.integrity=i.integrity),i.referrerPolicy&&(l.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?l.credentials="include":i.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(i){if(i.ep)return;i.ep=!0;const l=n(i);fetch(i.href,l)}})();function yd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var vd={exports:{}},Xl={},gd={exports:{}},A={};/** +var Wp=Object.defineProperty;var Hp=(e,t,n)=>t in e?Wp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var _s=(e,t,n)=>Hp(e,typeof t!="symbol"?t+"":t,n);function Vp(e,t){for(var n=0;nr[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"]'))r(i);new MutationObserver(i=>{for(const l of i)if(l.type==="childList")for(const s of l.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const l={};return i.integrity&&(l.integrity=i.integrity),i.referrerPolicy&&(l.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?l.credentials="include":i.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(i){if(i.ep)return;i.ep=!0;const l=n(i);fetch(i.href,l)}})();function gd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var xd={exports:{}},Yl={},wd={exports:{}},A={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ var $p=Object.defineProperty;var Wp=(e,t,n)=>t in e?$p(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var yi=Symbol.for("react.element"),Vp=Symbol.for("react.portal"),Qp=Symbol.for("react.fragment"),qp=Symbol.for("react.strict_mode"),Kp=Symbol.for("react.profiler"),Xp=Symbol.for("react.provider"),Yp=Symbol.for("react.context"),Gp=Symbol.for("react.forward_ref"),Jp=Symbol.for("react.suspense"),Zp=Symbol.for("react.memo"),eh=Symbol.for("react.lazy"),Cu=Symbol.iterator;function th(e){return e===null||typeof e!="object"?null:(e=Cu&&e[Cu]||e["@@iterator"],typeof e=="function"?e:null)}var xd={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},wd=Object.assign,Nd={};function mr(e,t,n){this.props=e,this.context=t,this.refs=Nd,this.updater=n||xd}mr.prototype.isReactComponent={};mr.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")};mr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function jd(){}jd.prototype=mr.prototype;function Ea(e,t,n){this.props=e,this.context=t,this.refs=Nd,this.updater=n||xd}var Sa=Ea.prototype=new jd;Sa.constructor=Ea;wd(Sa,mr.prototype);Sa.isPureReactComponent=!0;var Pu=Array.isArray,Ed=Object.prototype.hasOwnProperty,ka={current:null},Sd={key:!0,ref:!0,__self:!0,__source:!0};function kd(e,t,n){var r,i={},l=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(l=""+t.key),t)Ed.call(t,r)&&!Sd.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1t in e?$p(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var sh=_,oh=Symbol.for("react.element"),ah=Symbol.for("react.fragment"),uh=Object.prototype.hasOwnProperty,ch=sh.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,dh={key:!0,ref:!0,__self:!0,__source:!0};function Cd(e,t,n){var r,i={},l=null,s=null;n!==void 0&&(l=""+n),t.key!==void 0&&(l=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)uh.call(t,r)&&!dh.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:oh,type:e,key:l,ref:s,props:i,_owner:ch.current}}Xl.Fragment=ah;Xl.jsx=Cd;Xl.jsxs=Cd;vd.exports=Xl;var o=vd.exports,Pd={exports:{}},We={},Od={exports:{}},Td={};/** + */var oh=_,ah=Symbol.for("react.element"),uh=Symbol.for("react.fragment"),ch=Object.prototype.hasOwnProperty,dh=oh.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,fh={key:!0,ref:!0,__self:!0,__source:!0};function Od(e,t,n){var r,i={},l=null,s=null;n!==void 0&&(l=""+n),t.key!==void 0&&(l=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)ch.call(t,r)&&!fh.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:ah,type:e,key:l,ref:s,props:i,_owner:dh.current}}Yl.Fragment=uh;Yl.jsx=Od;Yl.jsxs=Od;xd.exports=Yl;var o=xd.exports,Td={exports:{}},We={},Rd={exports:{}},bd={};/** * @license React * scheduler.production.min.js * @@ -22,7 +22,7 @@ var $p=Object.defineProperty;var Wp=(e,t,n)=>t in e?$p(e,t,{enumerable:!0,config * * 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(T,M){var I=T.length;T.push(M);e:for(;0>>1,B=T[U];if(0>>1;Ui(Ee,I))yei(dt,Ee)?(T[U]=dt,T[ye]=I,U=ye):(T[U]=Ee,T[ne]=I,U=ne);else if(yei(dt,I))T[U]=dt,T[ye]=I,U=ye;else break e}}return M}function i(T,M){var I=T.sortIndex-M.sortIndex;return I!==0?I:T.id-M.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var u=[],c=[],d=1,f=null,y=3,N=!1,v=!1,g=!1,w=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(T){for(var M=n(c);M!==null;){if(M.callback===null)r(c);else if(M.startTime<=T)r(c),M.sortIndex=M.expirationTime,t(u,M);else break;M=n(c)}}function x(T){if(g=!1,p(T),!v)if(n(u)!==null)v=!0,bt(S);else{var M=n(c);M!==null&&be(x,M.startTime-T)}}function S(T,M){v=!1,g&&(g=!1,h(k),k=-1),N=!0;var I=y;try{for(p(M),f=n(u);f!==null&&(!(f.expirationTime>M)||T&&!H());){var U=f.callback;if(typeof U=="function"){f.callback=null,y=f.priorityLevel;var B=U(f.expirationTime<=M);M=e.unstable_now(),typeof B=="function"?f.callback=B:f===n(u)&&r(u),p(M)}else r(u);f=n(u)}if(f!==null)var oe=!0;else{var ne=n(c);ne!==null&&be(x,ne.startTime-M),oe=!1}return oe}finally{f=null,y=I,N=!1}}var C=!1,P=null,k=-1,b=5,L=-1;function H(){return!(e.unstable_now()-LT||125U?(T.sortIndex=I,t(c,T),n(u)===null&&T===n(c)&&(g?(h(k),k=-1):g=!0,be(x,I-U))):(T.sortIndex=B,t(u,T),v||N||(v=!0,bt(S))),T},e.unstable_shouldYield=H,e.unstable_wrapCallback=function(T){var M=y;return function(){var I=y;y=M;try{return T.apply(this,arguments)}finally{y=I}}}})(Td);Od.exports=Td;var fh=Od.exports;/** + */(function(e){function t(T,M){var I=T.length;T.push(M);e:for(;0>>1,B=T[U];if(0>>1;Ui(Ee,I))yei(dt,Ee)?(T[U]=dt,T[ye]=I,U=ye):(T[U]=Ee,T[ne]=I,U=ne);else if(yei(dt,I))T[U]=dt,T[ye]=I,U=ye;else break e}}return M}function i(T,M){var I=T.sortIndex-M.sortIndex;return I!==0?I:T.id-M.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var u=[],c=[],d=1,f=null,y=3,N=!1,v=!1,g=!1,w=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(T){for(var M=n(c);M!==null;){if(M.callback===null)r(c);else if(M.startTime<=T)r(c),M.sortIndex=M.expirationTime,t(u,M);else break;M=n(c)}}function x(T){if(g=!1,p(T),!v)if(n(u)!==null)v=!0,Lt(S);else{var M=n(c);M!==null&&Le(x,M.startTime-T)}}function S(T,M){v=!1,g&&(g=!1,h(k),k=-1),N=!0;var I=y;try{for(p(M),f=n(u);f!==null&&(!(f.expirationTime>M)||T&&!H());){var U=f.callback;if(typeof U=="function"){f.callback=null,y=f.priorityLevel;var B=U(f.expirationTime<=M);M=e.unstable_now(),typeof B=="function"?f.callback=B:f===n(u)&&r(u),p(M)}else r(u);f=n(u)}if(f!==null)var oe=!0;else{var ne=n(c);ne!==null&&Le(x,ne.startTime-M),oe=!1}return oe}finally{f=null,y=I,N=!1}}var C=!1,P=null,k=-1,b=5,L=-1;function H(){return!(e.unstable_now()-LT||125U?(T.sortIndex=I,t(c,T),n(u)===null&&T===n(c)&&(g?(h(k),k=-1):g=!0,Le(x,I-U))):(T.sortIndex=B,t(u,T),v||N||(v=!0,Lt(S))),T},e.unstable_shouldYield=H,e.unstable_wrapCallback=function(T){var M=y;return function(){var I=y;y=M;try{return T.apply(this,arguments)}finally{y=I}}}})(bd);Rd.exports=bd;var mh=Rd.exports;/** * @license React * react-dom.production.min.js * @@ -30,14 +30,14 @@ var $p=Object.defineProperty;var Wp=(e,t,n)=>t in e?$p(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var mh=_,Ue=fh;function O(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),fo=Object.prototype.hasOwnProperty,ph=/^[: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]*$/,Tu={},Ru={};function hh(e){return fo.call(Ru,e)?!0:fo.call(Tu,e)?!1:ph.test(e)?Ru[e]=!0:(Tu[e]=!0,!1)}function yh(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function vh(e,t,n,r){if(t===null||typeof t>"u"||yh(e,t,n,r))return!0;if(r)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 Ne(e,t,n,r,i,l,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=l,this.removeEmptyString=s}var de={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){de[e]=new Ne(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];de[t]=new Ne(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){de[e]=new Ne(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){de[e]=new Ne(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){de[e]=new Ne(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){de[e]=new Ne(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){de[e]=new Ne(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){de[e]=new Ne(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){de[e]=new Ne(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ca=/[\-:]([a-z])/g;function Pa(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(Ca,Pa);de[t]=new Ne(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(Ca,Pa);de[t]=new Ne(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(Ca,Pa);de[t]=new Ne(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){de[e]=new Ne(e,1,!1,e.toLowerCase(),null,!1,!1)});de.xlinkHref=new Ne("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){de[e]=new Ne(e,1,!1,e.toLowerCase(),null,!0,!0)});function Oa(e,t,n,r){var i=de.hasOwnProperty(t)?de[t]:null;(i!==null?i.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),mo=Object.prototype.hasOwnProperty,hh=/^[: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={},Lu={};function yh(e){return mo.call(Lu,e)?!0:mo.call(bu,e)?!1:hh.test(e)?Lu[e]=!0:(bu[e]=!0,!1)}function vh(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function gh(e,t,n,r){if(t===null||typeof t>"u"||vh(e,t,n,r))return!0;if(r)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 Ne(e,t,n,r,i,l,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=l,this.removeEmptyString=s}var de={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){de[e]=new Ne(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];de[t]=new Ne(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){de[e]=new Ne(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){de[e]=new Ne(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){de[e]=new Ne(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){de[e]=new Ne(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){de[e]=new Ne(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){de[e]=new Ne(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){de[e]=new Ne(e,5,!1,e.toLowerCase(),null,!1,!1)});var Pa=/[\-:]([a-z])/g;function Oa(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(Pa,Oa);de[t]=new Ne(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(Pa,Oa);de[t]=new Ne(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(Pa,Oa);de[t]=new Ne(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){de[e]=new Ne(e,1,!1,e.toLowerCase(),null,!1,!1)});de.xlinkHref=new Ne("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){de[e]=new Ne(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ta(e,t,n,r){var i=de.hasOwnProperty(t)?de[t]:null;(i!==null?i.type!==0:r||!(2a||i[s]!==l[a]){var u=` -`+i[s].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=s&&0<=a);break}}}finally{Ps=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Tr(e):""}function gh(e){switch(e.tag){case 5:return Tr(e.type);case 16:return Tr("Lazy");case 13:return Tr("Suspense");case 19:return Tr("SuspenseList");case 0:case 2:case 15:return e=Os(e.type,!1),e;case 11:return e=Os(e.type.render,!1),e;case 1:return e=Os(e.type,!0),e;default:return""}}function yo(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 Fn:return"Fragment";case In:return"Portal";case mo:return"Profiler";case Ta:return"StrictMode";case po:return"Suspense";case ho:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ld:return(e.displayName||"Context")+".Consumer";case bd:return(e._context.displayName||"Context")+".Provider";case Ra:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ba:return t=e.displayName||null,t!==null?t:yo(e.type)||"Memo";case It:t=e._payload,e=e._init;try{return yo(e(t))}catch{}}return null}function xh(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 yo(t);case 8:return t===Ta?"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 tn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Id(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function wh(e){var t=Id(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,l.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Oi(e){e._valueTracker||(e._valueTracker=wh(e))}function Fd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Id(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ml(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 vo(e,t){var n=t.checked;return Y({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Lu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=tn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function zd(e,t){t=t.checked,t!=null&&Oa(e,"checked",t,!1)}function go(e,t){zd(e,t);var n=tn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?xo(e,t.type,n):t.hasOwnProperty("defaultValue")&&xo(e,t.type,tn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Mu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function xo(e,t,n){(t!=="number"||ml(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Rr=Array.isArray;function Jn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Ti.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function qr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ir={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},Nh=["Webkit","ms","Moz","O"];Object.keys(Ir).forEach(function(e){Nh.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ir[t]=Ir[e]})});function Bd(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ir.hasOwnProperty(e)&&Ir[e]?(""+t).trim():t+"px"}function $d(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Bd(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var jh=Y({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function jo(e,t){if(t){if(jh[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(O(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(O(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(O(61))}if(t.style!=null&&typeof t.style!="object")throw Error(O(62))}}function Eo(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 So=null;function La(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ko=null,Zn=null,er=null;function zu(e){if(e=xi(e)){if(typeof ko!="function")throw Error(O(280));var t=e.stateNode;t&&(t=es(t),ko(e.stateNode,e.type,t))}}function Wd(e){Zn?er?er.push(e):er=[e]:Zn=e}function Hd(){if(Zn){var e=Zn,t=er;if(er=Zn=null,zu(e),t)for(e=0;e>>=0,e===0?32:31-(Lh(e)/Mh|0)|0}var Ri=64,bi=4194304;function br(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 vl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,l=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=br(a):(l&=s,l!==0&&(r=br(l)))}else s=n&~i,s!==0?r=br(s):l!==0&&(r=br(l));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,l=t&-t,i>=l||i===16&&(l&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function vi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-lt(t),e[t]=n}function Ah(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=zr),Qu=" ",qu=!1;function df(e,t){switch(e){case"keyup":return fy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ff(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var zn=!1;function py(e,t){switch(e){case"compositionend":return ff(t);case"keypress":return t.which!==32?null:(qu=!0,Qu);case"textInput":return e=t.data,e===Qu&&qu?null:e;default:return null}}function hy(e,t){if(zn)return e==="compositionend"||!Ba&&df(e,t)?(e=uf(),Yi=Aa=$t=null,zn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Gu(n)}}function yf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?yf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function vf(){for(var e=window,t=ml();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ml(e.document)}return t}function $a(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 Sy(e){var t=vf(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&yf(n.ownerDocument.documentElement,n)){if(r!==null&&$a(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,l=Math.min(r.start,i);r=r.end===void 0?l:Math.min(r.end,i),!e.extend&&l>r&&(i=r,r=l,l=i),i=Ju(n,l);var s=Ju(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),l>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,An=null,Ro=null,Dr=null,bo=!1;function Zu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;bo||An==null||An!==ml(r)||(r=An,"selectionStart"in r&&$a(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Dr&&Zr(Dr,r)||(Dr=r,r=wl(Ro,"onSelect"),0Bn||(e.current=Ao[Bn],Ao[Bn]=null,Bn--)}function W(e,t){Bn++,Ao[Bn]=e.current,e.current=t}var nn={},he=on(nn),Ce=on(!1),En=nn;function lr(e,t){var n=e.type.contextTypes;if(!n)return nn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},l;for(l in n)i[l]=t[l];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Pe(e){return e=e.childContextTypes,e!=null}function jl(){Q(Ce),Q(he)}function sc(e,t,n){if(he.current!==nn)throw Error(O(168));W(he,t),W(Ce,n)}function _f(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(O(108,xh(e)||"Unknown",i));return Y({},n,r)}function El(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||nn,En=he.current,W(he,e),W(Ce,Ce.current),!0}function oc(e,t,n){var r=e.stateNode;if(!r)throw Error(O(169));n?(e=_f(e,t,En),r.__reactInternalMemoizedMergedChildContext=e,Q(Ce),Q(he),W(he,e)):Q(Ce),W(Ce,n)}var Nt=null,ts=!1,Ws=!1;function Cf(e){Nt===null?Nt=[e]:Nt.push(e)}function Fy(e){ts=!0,Cf(e)}function an(){if(!Ws&&Nt!==null){Ws=!0;var e=0,t=$;try{var n=Nt;for($=1;e>=s,i-=s,jt=1<<32-lt(t)+i|n<k?(b=P,P=null):b=P.sibling;var L=y(h,P,p[k],x);if(L===null){P===null&&(P=b);break}e&&P&&L.alternate===null&&t(h,P),m=l(L,m,k),C===null?S=L:C.sibling=L,C=L,P=b}if(k===p.length)return n(h,P),q&&dn(h,k),S;if(P===null){for(;kk?(b=P,P=null):b=P.sibling;var H=y(h,P,L.value,x);if(H===null){P===null&&(P=b);break}e&&P&&H.alternate===null&&t(h,P),m=l(H,m,k),C===null?S=H:C.sibling=H,C=H,P=b}if(L.done)return n(h,P),q&&dn(h,k),S;if(P===null){for(;!L.done;k++,L=p.next())L=f(h,L.value,x),L!==null&&(m=l(L,m,k),C===null?S=L:C.sibling=L,C=L);return q&&dn(h,k),S}for(P=r(h,P);!L.done;k++,L=p.next())L=N(P,h,k,L.value,x),L!==null&&(e&&L.alternate!==null&&P.delete(L.key===null?k:L.key),m=l(L,m,k),C===null?S=L:C.sibling=L,C=L);return e&&P.forEach(function(je){return t(h,je)}),q&&dn(h,k),S}function w(h,m,p,x){if(typeof p=="object"&&p!==null&&p.type===Fn&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case Pi:e:{for(var S=p.key,C=m;C!==null;){if(C.key===S){if(S=p.type,S===Fn){if(C.tag===7){n(h,C.sibling),m=i(C,p.props.children),m.return=h,h=m;break e}}else if(C.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===It&&cc(S)===C.type){n(h,C.sibling),m=i(C,p.props),m.ref=_r(h,C,p),m.return=h,h=m;break e}n(h,C);break}else t(h,C);C=C.sibling}p.type===Fn?(m=wn(p.props.children,h.mode,x,p.key),m.return=h,h=m):(x=il(p.type,p.key,p.props,null,h.mode,x),x.ref=_r(h,m,p),x.return=h,h=x)}return s(h);case In:e:{for(C=p.key;m!==null;){if(m.key===C)if(m.tag===4&&m.stateNode.containerInfo===p.containerInfo&&m.stateNode.implementation===p.implementation){n(h,m.sibling),m=i(m,p.children||[]),m.return=h,h=m;break e}else{n(h,m);break}else t(h,m);m=m.sibling}m=Gs(p,h.mode,x),m.return=h,h=m}return s(h);case It:return C=p._init,w(h,m,C(p._payload),x)}if(Rr(p))return v(h,m,p,x);if(Nr(p))return g(h,m,p,x);Di(h,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,m!==null&&m.tag===6?(n(h,m.sibling),m=i(m,p),m.return=h,h=m):(n(h,m),m=Ys(p,h.mode,x),m.return=h,h=m),s(h)):n(h,m)}return w}var or=Rf(!0),bf=Rf(!1),_l=on(null),Cl=null,Hn=null,Qa=null;function qa(){Qa=Hn=Cl=null}function Ka(e){var t=_l.current;Q(_l),e._currentValue=t}function Bo(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function nr(e,t){Cl=e,Qa=Hn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(_e=!0),e.firstContext=null)}function Ye(e){var t=e._currentValue;if(Qa!==e)if(e={context:e,memoizedValue:t,next:null},Hn===null){if(Cl===null)throw Error(O(308));Hn=e,Cl.dependencies={lanes:0,firstContext:e}}else Hn=Hn.next=e;return t}var yn=null;function Xa(e){yn===null?yn=[e]:yn.push(e)}function Lf(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Xa(t)):(n.next=i.next,i.next=n),t.interleaved=n,Ct(e,r)}function Ct(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 Ft=!1;function Ya(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Mf(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 St(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Yt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,D&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Ct(e,n)}return i=r.interleaved,i===null?(t.next=t,Xa(r)):(t.next=i.next,i.next=t),r.interleaved=t,Ct(e,n)}function Ji(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ia(e,n)}}function dc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,l=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};l===null?i=l=s:l=l.next=s,n=n.next}while(n!==null);l===null?i=l=t:l=l.next=t}else i=l=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:l,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Pl(e,t,n,r){var i=e.updateQueue;Ft=!1;var l=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var u=a,c=u.next;u.next=null,s===null?l=c:s.next=c,s=u;var d=e.alternate;d!==null&&(d=d.updateQueue,a=d.lastBaseUpdate,a!==s&&(a===null?d.firstBaseUpdate=c:a.next=c,d.lastBaseUpdate=u))}if(l!==null){var f=i.baseState;s=0,d=c=u=null,a=l;do{var y=a.lane,N=a.eventTime;if((r&y)===y){d!==null&&(d=d.next={eventTime:N,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var v=e,g=a;switch(y=t,N=n,g.tag){case 1:if(v=g.payload,typeof v=="function"){f=v.call(N,f,y);break e}f=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=g.payload,y=typeof v=="function"?v.call(N,f,y):v,y==null)break e;f=Y({},f,y);break e;case 2:Ft=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,y=i.effects,y===null?i.effects=[a]:y.push(a))}else N={eventTime:N,lane:y,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(c=d=N,u=f):d=d.next=N,s|=y;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;y=a,a=y.next,y.next=null,i.lastBaseUpdate=y,i.shared.pending=null}}while(!0);if(d===null&&(u=f),i.baseState=u,i.firstBaseUpdate=c,i.lastBaseUpdate=d,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else l===null&&(i.shared.lanes=0);_n|=s,e.lanes=s,e.memoizedState=f}}function fc(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Vs.transition;Vs.transition={};try{e(!1),t()}finally{$=n,Vs.transition=r}}function Gf(){return Ge().memoizedState}function Uy(e,t,n){var r=Jt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Jf(e))Zf(t,n);else if(n=Lf(e,t,n,r),n!==null){var i=xe();st(n,e,r,i),em(n,t,r)}}function By(e,t,n){var r=Jt(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Jf(e))Zf(t,i);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var s=t.lastRenderedState,a=l(s,n);if(i.hasEagerState=!0,i.eagerState=a,at(a,s)){var u=t.interleaved;u===null?(i.next=i,Xa(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}n=Lf(e,t,i,r),n!==null&&(i=xe(),st(n,e,r,i),em(n,t,r))}}function Jf(e){var t=e.alternate;return e===X||t!==null&&t===X}function Zf(e,t){Ur=Tl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function em(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ia(e,n)}}var Rl={readContext:Ye,useCallback:fe,useContext:fe,useEffect:fe,useImperativeHandle:fe,useInsertionEffect:fe,useLayoutEffect:fe,useMemo:fe,useReducer:fe,useRef:fe,useState:fe,useDebugValue:fe,useDeferredValue:fe,useTransition:fe,useMutableSource:fe,useSyncExternalStore:fe,useId:fe,unstable_isNewReconciler:!1},$y={readContext:Ye,useCallback:function(e,t){return mt().memoizedState=[e,t===void 0?null:t],e},useContext:Ye,useEffect:pc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,el(4194308,4,Qf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return el(4194308,4,e,t)},useInsertionEffect:function(e,t){return el(4,2,e,t)},useMemo:function(e,t){var n=mt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=mt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Uy.bind(null,X,e),[r.memoizedState,e]},useRef:function(e){var t=mt();return e={current:e},t.memoizedState=e},useState:mc,useDebugValue:iu,useDeferredValue:function(e){return mt().memoizedState=e},useTransition:function(){var e=mc(!1),t=e[0];return e=Dy.bind(null,e[1]),mt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=X,i=mt();if(q){if(n===void 0)throw Error(O(407));n=n()}else{if(n=t(),se===null)throw Error(O(349));kn&30||Af(r,t,n)}i.memoizedState=n;var l={value:n,getSnapshot:t};return i.queue=l,pc(Uf.bind(null,r,l,e),[e]),r.flags|=2048,oi(9,Df.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=mt(),t=se.identifierPrefix;if(q){var n=Et,r=jt;n=(r&~(1<<32-lt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=li++,0")&&(u=u.replace("",e.displayName)),u}while(1<=s&&0<=a);break}}}finally{Os=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Tr(e):""}function xh(e){switch(e.tag){case 5:return Tr(e.type);case 16:return Tr("Lazy");case 13:return Tr("Suspense");case 19:return Tr("SuspenseList");case 0:case 2:case 15:return e=Ts(e.type,!1),e;case 11:return e=Ts(e.type.render,!1),e;case 1:return e=Ts(e.type,!0),e;default:return""}}function vo(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 zn:return"Fragment";case Fn:return"Portal";case po:return"Profiler";case Ra:return"StrictMode";case ho:return"Suspense";case yo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Id:return(e.displayName||"Context")+".Consumer";case Md:return(e._context.displayName||"Context")+".Provider";case ba:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case La:return t=e.displayName||null,t!==null?t:vo(e.type)||"Memo";case Ft:t=e._payload,e=e._init;try{return vo(e(t))}catch{}}return null}function wh(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 vo(t);case 8:return t===Ra?"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 nn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function zd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Nh(e){var t=zd(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,l.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Oi(e){e._valueTracker||(e._valueTracker=Nh(e))}function Ad(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=zd(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function pl(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 go(e,t){var n=t.checked;return Y({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Iu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=nn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Dd(e,t){t=t.checked,t!=null&&Ta(e,"checked",t,!1)}function xo(e,t){Dd(e,t);var n=nn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?wo(e,t.type,n):t.hasOwnProperty("defaultValue")&&wo(e,t.type,nn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Fu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function wo(e,t,n){(t!=="number"||pl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Rr=Array.isArray;function Zn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Ti.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function qr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ir={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},jh=["Webkit","ms","Moz","O"];Object.keys(Ir).forEach(function(e){jh.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ir[t]=Ir[e]})});function Wd(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ir.hasOwnProperty(e)&&Ir[e]?(""+t).trim():t+"px"}function Hd(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Wd(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Eh=Y({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Eo(e,t){if(t){if(Eh[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(O(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(O(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(O(61))}if(t.style!=null&&typeof t.style!="object")throw Error(O(62))}}function So(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 ko=null;function Ma(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var _o=null,er=null,tr=null;function Du(e){if(e=xi(e)){if(typeof _o!="function")throw Error(O(280));var t=e.stateNode;t&&(t=ts(t),_o(e.stateNode,e.type,t))}}function Vd(e){er?tr?tr.push(e):tr=[e]:er=e}function Qd(){if(er){var e=er,t=tr;if(tr=er=null,Du(e),t)for(e=0;e>>=0,e===0?32:31-(Mh(e)/Ih|0)|0}var Ri=64,bi=4194304;function br(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 gl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,l=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=br(a):(l&=s,l!==0&&(r=br(l)))}else s=n&~i,s!==0?r=br(s):l!==0&&(r=br(l));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,l=t&-t,i>=l||i===16&&(l&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function vi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-lt(t),e[t]=n}function Dh(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=zr),Ku=" ",Xu=!1;function mf(e,t){switch(e){case"keyup":return my.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function pf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var An=!1;function hy(e,t){switch(e){case"compositionend":return pf(t);case"keypress":return t.which!==32?null:(Xu=!0,Ku);case"textInput":return e=t.data,e===Ku&&Xu?null:e;default:return null}}function yy(e,t){if(An)return e==="compositionend"||!$a&&mf(e,t)?(e=df(),Yi=Da=Wt=null,An=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Zu(n)}}function gf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?gf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function xf(){for(var e=window,t=pl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=pl(e.document)}return t}function Wa(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 ky(e){var t=xf(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&gf(n.ownerDocument.documentElement,n)){if(r!==null&&Wa(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,l=Math.min(r.start,i);r=r.end===void 0?l:Math.min(r.end,i),!e.extend&&l>r&&(i=r,r=l,l=i),i=ec(n,l);var s=ec(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),l>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Dn=null,bo=null,Dr=null,Lo=!1;function tc(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Lo||Dn==null||Dn!==pl(r)||(r=Dn,"selectionStart"in r&&Wa(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Dr&&Zr(Dr,r)||(Dr=r,r=Nl(bo,"onSelect"),0$n||(e.current=Do[$n],Do[$n]=null,$n--)}function W(e,t){$n++,Do[$n]=e.current,e.current=t}var rn={},he=on(rn),Pe=on(!1),Sn=rn;function sr(e,t){var n=e.type.contextTypes;if(!n)return rn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},l;for(l in n)i[l]=t[l];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Oe(e){return e=e.childContextTypes,e!=null}function El(){Q(Pe),Q(he)}function ac(e,t,n){if(he.current!==rn)throw Error(O(168));W(he,t),W(Pe,n)}function Pf(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(O(108,wh(e)||"Unknown",i));return Y({},n,r)}function Sl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||rn,Sn=he.current,W(he,e),W(Pe,Pe.current),!0}function uc(e,t,n){var r=e.stateNode;if(!r)throw Error(O(169));n?(e=Pf(e,t,Sn),r.__reactInternalMemoizedMergedChildContext=e,Q(Pe),Q(he),W(he,e)):Q(Pe),W(Pe,n)}var jt=null,ns=!1,Hs=!1;function Of(e){jt===null?jt=[e]:jt.push(e)}function zy(e){ns=!0,Of(e)}function an(){if(!Hs&&jt!==null){Hs=!0;var e=0,t=$;try{var n=jt;for($=1;e>=s,i-=s,Et=1<<32-lt(t)+i|n<k?(b=P,P=null):b=P.sibling;var L=y(h,P,p[k],x);if(L===null){P===null&&(P=b);break}e&&P&&L.alternate===null&&t(h,P),m=l(L,m,k),C===null?S=L:C.sibling=L,C=L,P=b}if(k===p.length)return n(h,P),q&&fn(h,k),S;if(P===null){for(;kk?(b=P,P=null):b=P.sibling;var H=y(h,P,L.value,x);if(H===null){P===null&&(P=b);break}e&&P&&H.alternate===null&&t(h,P),m=l(H,m,k),C===null?S=H:C.sibling=H,C=H,P=b}if(L.done)return n(h,P),q&&fn(h,k),S;if(P===null){for(;!L.done;k++,L=p.next())L=f(h,L.value,x),L!==null&&(m=l(L,m,k),C===null?S=L:C.sibling=L,C=L);return q&&fn(h,k),S}for(P=r(h,P);!L.done;k++,L=p.next())L=N(P,h,k,L.value,x),L!==null&&(e&&L.alternate!==null&&P.delete(L.key===null?k:L.key),m=l(L,m,k),C===null?S=L:C.sibling=L,C=L);return e&&P.forEach(function(je){return t(h,je)}),q&&fn(h,k),S}function w(h,m,p,x){if(typeof p=="object"&&p!==null&&p.type===zn&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case Pi:e:{for(var S=p.key,C=m;C!==null;){if(C.key===S){if(S=p.type,S===zn){if(C.tag===7){n(h,C.sibling),m=i(C,p.props.children),m.return=h,h=m;break e}}else if(C.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Ft&&fc(S)===C.type){n(h,C.sibling),m=i(C,p.props),m.ref=_r(h,C,p),m.return=h,h=m;break e}n(h,C);break}else t(h,C);C=C.sibling}p.type===zn?(m=Nn(p.props.children,h.mode,x,p.key),m.return=h,h=m):(x=il(p.type,p.key,p.props,null,h.mode,x),x.ref=_r(h,m,p),x.return=h,h=x)}return s(h);case Fn:e:{for(C=p.key;m!==null;){if(m.key===C)if(m.tag===4&&m.stateNode.containerInfo===p.containerInfo&&m.stateNode.implementation===p.implementation){n(h,m.sibling),m=i(m,p.children||[]),m.return=h,h=m;break e}else{n(h,m);break}else t(h,m);m=m.sibling}m=Js(p,h.mode,x),m.return=h,h=m}return s(h);case Ft:return C=p._init,w(h,m,C(p._payload),x)}if(Rr(p))return v(h,m,p,x);if(Nr(p))return g(h,m,p,x);Di(h,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,m!==null&&m.tag===6?(n(h,m.sibling),m=i(m,p),m.return=h,h=m):(n(h,m),m=Gs(p,h.mode,x),m.return=h,h=m),s(h)):n(h,m)}return w}var ar=Lf(!0),Mf=Lf(!1),Cl=on(null),Pl=null,Vn=null,qa=null;function Ka(){qa=Vn=Pl=null}function Xa(e){var t=Cl.current;Q(Cl),e._currentValue=t}function $o(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function rr(e,t){Pl=e,qa=Vn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ce=!0),e.firstContext=null)}function Ge(e){var t=e._currentValue;if(qa!==e)if(e={context:e,memoizedValue:t,next:null},Vn===null){if(Pl===null)throw Error(O(308));Vn=e,Pl.dependencies={lanes:0,firstContext:e}}else Vn=Vn.next=e;return t}var vn=null;function Ya(e){vn===null?vn=[e]:vn.push(e)}function If(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Ya(t)):(n.next=i.next,i.next=n),t.interleaved=n,Pt(e,r)}function Pt(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 zt=!1;function Ga(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ff(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 kt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Gt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,D&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Pt(e,n)}return i=r.interleaved,i===null?(t.next=t,Ya(r)):(t.next=i.next,i.next=t),r.interleaved=t,Pt(e,n)}function Ji(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Fa(e,n)}}function mc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,l=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};l===null?i=l=s:l=l.next=s,n=n.next}while(n!==null);l===null?i=l=t:l=l.next=t}else i=l=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:l,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ol(e,t,n,r){var i=e.updateQueue;zt=!1;var l=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var u=a,c=u.next;u.next=null,s===null?l=c:s.next=c,s=u;var d=e.alternate;d!==null&&(d=d.updateQueue,a=d.lastBaseUpdate,a!==s&&(a===null?d.firstBaseUpdate=c:a.next=c,d.lastBaseUpdate=u))}if(l!==null){var f=i.baseState;s=0,d=c=u=null,a=l;do{var y=a.lane,N=a.eventTime;if((r&y)===y){d!==null&&(d=d.next={eventTime:N,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var v=e,g=a;switch(y=t,N=n,g.tag){case 1:if(v=g.payload,typeof v=="function"){f=v.call(N,f,y);break e}f=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=g.payload,y=typeof v=="function"?v.call(N,f,y):v,y==null)break e;f=Y({},f,y);break e;case 2:zt=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,y=i.effects,y===null?i.effects=[a]:y.push(a))}else N={eventTime:N,lane:y,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(c=d=N,u=f):d=d.next=N,s|=y;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;y=a,a=y.next,y.next=null,i.lastBaseUpdate=y,i.shared.pending=null}}while(!0);if(d===null&&(u=f),i.baseState=u,i.firstBaseUpdate=c,i.lastBaseUpdate=d,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else l===null&&(i.shared.lanes=0);Cn|=s,e.lanes=s,e.memoizedState=f}}function pc(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Qs.transition;Qs.transition={};try{e(!1),t()}finally{$=n,Qs.transition=r}}function Zf(){return Je().memoizedState}function By(e,t,n){var r=Zt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},em(e))tm(t,n);else if(n=If(e,t,n,r),n!==null){var i=xe();st(n,e,r,i),nm(n,t,r)}}function $y(e,t,n){var r=Zt(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(em(e))tm(t,i);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var s=t.lastRenderedState,a=l(s,n);if(i.hasEagerState=!0,i.eagerState=a,at(a,s)){var u=t.interleaved;u===null?(i.next=i,Ya(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}n=If(e,t,i,r),n!==null&&(i=xe(),st(n,e,r,i),nm(n,t,r))}}function em(e){var t=e.alternate;return e===X||t!==null&&t===X}function tm(e,t){Ur=Rl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function nm(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Fa(e,n)}}var bl={readContext:Ge,useCallback:fe,useContext:fe,useEffect:fe,useImperativeHandle:fe,useInsertionEffect:fe,useLayoutEffect:fe,useMemo:fe,useReducer:fe,useRef:fe,useState:fe,useDebugValue:fe,useDeferredValue:fe,useTransition:fe,useMutableSource:fe,useSyncExternalStore:fe,useId:fe,unstable_isNewReconciler:!1},Wy={readContext:Ge,useCallback:function(e,t){return mt().memoizedState=[e,t===void 0?null:t],e},useContext:Ge,useEffect:yc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,el(4194308,4,Kf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return el(4194308,4,e,t)},useInsertionEffect:function(e,t){return el(4,2,e,t)},useMemo:function(e,t){var n=mt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=mt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=By.bind(null,X,e),[r.memoizedState,e]},useRef:function(e){var t=mt();return e={current:e},t.memoizedState=e},useState:hc,useDebugValue:lu,useDeferredValue:function(e){return mt().memoizedState=e},useTransition:function(){var e=hc(!1),t=e[0];return e=Uy.bind(null,e[1]),mt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=X,i=mt();if(q){if(n===void 0)throw Error(O(407));n=n()}else{if(n=t(),se===null)throw Error(O(349));_n&30||Uf(r,t,n)}i.memoizedState=n;var l={value:n,getSnapshot:t};return i.queue=l,yc($f.bind(null,r,l,e),[e]),r.flags|=2048,oi(9,Bf.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=mt(),t=se.identifierPrefix;if(q){var n=St,r=Et;n=(r&~(1<<32-lt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=li++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[ht]=t,e[ni]=r,cm(e,t,!1,!1),t.stateNode=e;e:{switch(s=Eo(n,r),n){case"dialog":V("cancel",e),V("close",e),i=r;break;case"iframe":case"object":case"embed":V("load",e),i=r;break;case"video":case"audio":for(i=0;icr&&(t.flags|=128,r=!0,Cr(l,!1),t.lanes=4194304)}else{if(!r)if(e=Ol(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Cr(l,!0),l.tail===null&&l.tailMode==="hidden"&&!s.alternate&&!q)return me(t),null}else 2*ee()-l.renderingStartTime>cr&&n!==1073741824&&(t.flags|=128,r=!0,Cr(l,!1),t.lanes=4194304);l.isBackwards?(s.sibling=t.child,t.child=s):(n=l.last,n!==null?n.sibling=s:t.child=s,l.last=s)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=ee(),t.sibling=null,n=K.current,W(K,r?n&1|2:n&1),t):(me(t),null);case 22:case 23:return cu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Me&1073741824&&(me(t),t.subtreeFlags&6&&(t.flags|=8192)):me(t),null;case 24:return null;case 25:return null}throw Error(O(156,t.tag))}function Yy(e,t){switch(Ha(t),t.tag){case 1:return Pe(t.type)&&jl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ar(),Q(Ce),Q(he),Za(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ja(t),null;case 13:if(Q(K),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(O(340));sr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Q(K),null;case 4:return ar(),null;case 10:return Ka(t.type._context),null;case 22:case 23:return cu(),null;case 24:return null;default:return null}}var Bi=!1,pe=!1,Gy=typeof WeakSet=="function"?WeakSet:Set,R=null;function Vn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){G(e,t,r)}else n.current=null}function Yo(e,t,n){try{n()}catch(r){G(e,t,r)}}var kc=!1;function Jy(e,t){if(Lo=gl,e=vf(),$a(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var s=0,a=-1,u=-1,c=0,d=0,f=e,y=null;t:for(;;){for(var N;f!==n||i!==0&&f.nodeType!==3||(a=s+i),f!==l||r!==0&&f.nodeType!==3||(u=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(N=f.firstChild)!==null;)y=f,f=N;for(;;){if(f===e)break t;if(y===n&&++c===i&&(a=s),y===l&&++d===r&&(u=s),(N=f.nextSibling)!==null)break;f=y,y=f.parentNode}f=N}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Mo={focusedElem:e,selectionRange:n},gl=!1,R=t;R!==null;)if(t=R,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var g=v.memoizedProps,w=v.memoizedState,h=t.stateNode,m=h.getSnapshotBeforeUpdate(t.elementType===t.type?g:tt(t.type,g),w);h.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(O(163))}}catch(x){G(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return v=kc,kc=!1,v}function Br(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var l=i.destroy;i.destroy=void 0,l!==void 0&&Yo(t,n,l)}i=i.next}while(i!==r)}}function is(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Go(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 mm(e){var t=e.alternate;t!==null&&(e.alternate=null,mm(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ht],delete t[ni],delete t[zo],delete t[My],delete t[Iy])),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 pm(e){return e.tag===5||e.tag===3||e.tag===4}function _c(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||pm(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 Jo(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Nl));else if(r!==4&&(e=e.child,e!==null))for(Jo(e,t,n),e=e.sibling;e!==null;)Jo(e,t,n),e=e.sibling}function Zo(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Zo(e,t,n),e=e.sibling;e!==null;)Zo(e,t,n),e=e.sibling}var ue=null,nt=!1;function Lt(e,t,n){for(n=n.child;n!==null;)hm(e,t,n),n=n.sibling}function hm(e,t,n){if(yt&&typeof yt.onCommitFiberUnmount=="function")try{yt.onCommitFiberUnmount(Yl,n)}catch{}switch(n.tag){case 5:pe||Vn(n,t);case 6:var r=ue,i=nt;ue=null,Lt(e,t,n),ue=r,nt=i,ue!==null&&(nt?(e=ue,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ue.removeChild(n.stateNode));break;case 18:ue!==null&&(nt?(e=ue,n=n.stateNode,e.nodeType===8?$s(e.parentNode,n):e.nodeType===1&&$s(e,n),Gr(e)):$s(ue,n.stateNode));break;case 4:r=ue,i=nt,ue=n.stateNode.containerInfo,nt=!0,Lt(e,t,n),ue=r,nt=i;break;case 0:case 11:case 14:case 15:if(!pe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var l=i,s=l.destroy;l=l.tag,s!==void 0&&(l&2||l&4)&&Yo(n,t,s),i=i.next}while(i!==r)}Lt(e,t,n);break;case 1:if(!pe&&(Vn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){G(n,t,a)}Lt(e,t,n);break;case 21:Lt(e,t,n);break;case 22:n.mode&1?(pe=(r=pe)||n.memoizedState!==null,Lt(e,t,n),pe=r):Lt(e,t,n);break;default:Lt(e,t,n)}}function Cc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Gy),t.forEach(function(r){var i=ov.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Ze(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~l}if(r=i,r=ee()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ev(r/1960))-r,10e?16:e,Wt===null)var r=!1;else{if(e=Wt,Wt=null,Ml=0,D&6)throw Error(O(331));var i=D;for(D|=4,R=e.current;R!==null;){var l=R,s=l.child;if(R.flags&16){var a=l.deletions;if(a!==null){for(var u=0;uee()-au?xn(e,0):ou|=n),Oe(e,t)}function Em(e,t){t===0&&(e.mode&1?(t=bi,bi<<=1,!(bi&130023424)&&(bi=4194304)):t=1);var n=xe();e=Ct(e,t),e!==null&&(vi(e,t,n),Oe(e,n))}function sv(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Em(e,n)}function ov(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(O(314))}r!==null&&r.delete(t),Em(e,n)}var Sm;Sm=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ce.current)_e=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return _e=!1,Ky(e,t,n);_e=!!(e.flags&131072)}else _e=!1,q&&t.flags&1048576&&Pf(t,kl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;tl(e,t),e=t.pendingProps;var i=lr(t,he.current);nr(t,n),i=tu(null,t,r,e,i,n);var l=nu();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,Pe(r)?(l=!0,El(t)):l=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Ya(t),i.updater=rs,t.stateNode=i,i._reactInternals=t,Wo(t,r,e,n),t=Qo(null,t,r,!0,l,n)):(t.tag=0,q&&l&&Wa(t),ve(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(tl(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=uv(r),e=tt(r,e),i){case 0:t=Vo(null,t,r,e,n);break e;case 1:t=jc(null,t,r,e,n);break e;case 11:t=wc(null,t,r,e,n);break e;case 14:t=Nc(null,t,r,tt(r.type,e),n);break e}throw Error(O(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:tt(r,i),Vo(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:tt(r,i),jc(e,t,r,i,n);case 3:e:{if(om(t),e===null)throw Error(O(387));r=t.pendingProps,l=t.memoizedState,i=l.element,Mf(e,t),Pl(t,r,null,n);var s=t.memoizedState;if(r=s.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){i=ur(Error(O(423)),t),t=Ec(e,t,r,n,i);break e}else if(r!==i){i=ur(Error(O(424)),t),t=Ec(e,t,r,n,i);break e}else for(Ie=Xt(t.stateNode.containerInfo.firstChild),Ae=t,q=!0,rt=null,n=bf(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(sr(),r===i){t=Pt(e,t,n);break e}ve(e,t,r,n)}t=t.child}return t;case 5:return If(t),e===null&&Uo(t),r=t.type,i=t.pendingProps,l=e!==null?e.memoizedProps:null,s=i.children,Io(r,i)?s=null:l!==null&&Io(r,l)&&(t.flags|=32),sm(e,t),ve(e,t,s,n),t.child;case 6:return e===null&&Uo(t),null;case 13:return am(e,t,n);case 4:return Ga(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=or(t,null,r,n):ve(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:tt(r,i),wc(e,t,r,i,n);case 7:return ve(e,t,t.pendingProps,n),t.child;case 8:return ve(e,t,t.pendingProps.children,n),t.child;case 12:return ve(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,l=t.memoizedProps,s=i.value,W(_l,r._currentValue),r._currentValue=s,l!==null)if(at(l.value,s)){if(l.children===i.children&&!Ce.current){t=Pt(e,t,n);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var a=l.dependencies;if(a!==null){s=l.child;for(var u=a.firstContext;u!==null;){if(u.context===r){if(l.tag===1){u=St(-1,n&-n),u.tag=2;var c=l.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}}l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),Bo(l.return,n,t),a.lanes|=n;break}u=u.next}}else if(l.tag===10)s=l.type===t.type?null:l.child;else if(l.tag===18){if(s=l.return,s===null)throw Error(O(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Bo(s,n,t),s=l.sibling}else s=l.child;if(s!==null)s.return=l;else for(s=l;s!==null;){if(s===t){s=null;break}if(l=s.sibling,l!==null){l.return=s.return,s=l;break}s=s.return}l=s}ve(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,nr(t,n),i=Ye(i),r=r(i),t.flags|=1,ve(e,t,r,n),t.child;case 14:return r=t.type,i=tt(r,t.pendingProps),i=tt(r.type,i),Nc(e,t,r,i,n);case 15:return im(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:tt(r,i),tl(e,t),t.tag=1,Pe(r)?(e=!0,El(t)):e=!1,nr(t,n),tm(t,r,i),Wo(t,r,i,n),Qo(null,t,r,!0,e,n);case 19:return um(e,t,n);case 22:return lm(e,t,n)}throw Error(O(156,t.tag))};function km(e,t){return Gd(e,t)}function av(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ke(e,t,n,r){return new av(e,t,n,r)}function fu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function uv(e){if(typeof e=="function")return fu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ra)return 11;if(e===ba)return 14}return 2}function Zt(e,t){var n=e.alternate;return n===null?(n=Ke(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 il(e,t,n,r,i,l){var s=2;if(r=e,typeof e=="function")fu(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Fn:return wn(n.children,i,l,t);case Ta:s=8,i|=8;break;case mo:return e=Ke(12,n,t,i|2),e.elementType=mo,e.lanes=l,e;case po:return e=Ke(13,n,t,i),e.elementType=po,e.lanes=l,e;case ho:return e=Ke(19,n,t,i),e.elementType=ho,e.lanes=l,e;case Md:return ss(n,i,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case bd:s=10;break e;case Ld:s=9;break e;case Ra:s=11;break e;case ba:s=14;break e;case It:s=16,r=null;break e}throw Error(O(130,e==null?e:typeof e,""))}return t=Ke(s,n,t,i),t.elementType=e,t.type=r,t.lanes=l,t}function wn(e,t,n,r){return e=Ke(7,e,r,t),e.lanes=n,e}function ss(e,t,n,r){return e=Ke(22,e,r,t),e.elementType=Md,e.lanes=n,e.stateNode={isHidden:!1},e}function Ys(e,t,n){return e=Ke(6,e,null,t),e.lanes=n,e}function Gs(e,t,n){return t=Ke(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function cv(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Rs(0),this.expirationTimes=Rs(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Rs(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function mu(e,t,n,r,i,l,s,a,u){return e=new cv(e,t,n,a,u),t===1?(t=1,l===!0&&(t|=8)):t=0,l=Ke(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ya(l),e}function dv(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Om)}catch(e){console.error(e)}}Om(),Pd.exports=We;var yv=Pd.exports,Tm,Ic=yv;Tm=Ic.createRoot,Ic.hydrateRoot;var Rm={exports:{}},bm={};/** +`+l.stack}return{value:e,source:t,stack:i,digest:null}}function Xs(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Vo(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Qy=typeof WeakMap=="function"?WeakMap:Map;function im(e,t,n){n=kt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ml||(Ml=!0,ta=r),Vo(e,t)},n}function lm(e,t,n){n=kt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Vo(e,t)}}var l=e.stateNode;return l!==null&&typeof l.componentDidCatch=="function"&&(n.callback=function(){Vo(e,t),typeof r!="function"&&(Jt===null?Jt=new Set([this]):Jt.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function xc(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Qy;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=sv.bind(null,e,t,n),t.then(e,e))}function wc(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 Nc(e,t,n,r,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=kt(-1,1),t.tag=2,Gt(n,t,1))),n.lanes|=1),e)}var qy=Rt.ReactCurrentOwner,Ce=!1;function ve(e,t,n,r){t.child=e===null?Mf(t,null,n,r):ar(t,e.child,n,r)}function jc(e,t,n,r,i){n=n.render;var l=t.ref;return rr(t,i),r=nu(e,t,n,r,l,i),n=ru(),e!==null&&!Ce?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Ot(e,t,i)):(q&&n&&Ha(t),t.flags|=1,ve(e,t,r,i),t.child)}function Ec(e,t,n,r,i){if(e===null){var l=n.type;return typeof l=="function"&&!mu(l)&&l.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=l,sm(e,t,l,r,i)):(e=il(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(l=e.child,!(e.lanes&i)){var s=l.memoizedProps;if(n=n.compare,n=n!==null?n:Zr,n(s,r)&&e.ref===t.ref)return Ot(e,t,i)}return t.flags|=1,e=en(l,r),e.ref=t.ref,e.return=t,t.child=e}function sm(e,t,n,r,i){if(e!==null){var l=e.memoizedProps;if(Zr(l,r)&&e.ref===t.ref)if(Ce=!1,t.pendingProps=r=l,(e.lanes&i)!==0)e.flags&131072&&(Ce=!0);else return t.lanes=e.lanes,Ot(e,t,i)}return Qo(e,t,n,r,i)}function om(e,t,n){var r=t.pendingProps,i=r.children,l=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},W(qn,Me),Me|=n;else{if(!(n&1073741824))return e=l!==null?l.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,W(qn,Me),Me|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=l!==null?l.baseLanes:n,W(qn,Me),Me|=r}else l!==null?(r=l.baseLanes|n,t.memoizedState=null):r=n,W(qn,Me),Me|=r;return ve(e,t,i,n),t.child}function am(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Qo(e,t,n,r,i){var l=Oe(n)?Sn:he.current;return l=sr(t,l),rr(t,i),n=nu(e,t,n,r,l,i),r=ru(),e!==null&&!Ce?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Ot(e,t,i)):(q&&r&&Ha(t),t.flags|=1,ve(e,t,n,i),t.child)}function Sc(e,t,n,r,i){if(Oe(n)){var l=!0;Sl(t)}else l=!1;if(rr(t,i),t.stateNode===null)tl(e,t),rm(t,n,r),Ho(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var u=s.context,c=n.contextType;typeof c=="object"&&c!==null?c=Ge(c):(c=Oe(n)?Sn:he.current,c=sr(t,c));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof s.getSnapshotBeforeUpdate=="function";f||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||u!==c)&&gc(t,s,r,c),zt=!1;var y=t.memoizedState;s.state=y,Ol(t,r,s,i),u=t.memoizedState,a!==r||y!==u||Pe.current||zt?(typeof d=="function"&&(Wo(t,n,d,r),u=t.memoizedState),(a=zt||vc(t,n,a,r,y,u,c))?(f||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),s.props=r,s.state=u,s.context=c,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Ff(e,t),a=t.memoizedProps,c=t.type===t.elementType?a:tt(t.type,a),s.props=c,f=t.pendingProps,y=s.context,u=n.contextType,typeof u=="object"&&u!==null?u=Ge(u):(u=Oe(n)?Sn:he.current,u=sr(t,u));var N=n.getDerivedStateFromProps;(d=typeof N=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==f||y!==u)&&gc(t,s,r,u),zt=!1,y=t.memoizedState,s.state=y,Ol(t,r,s,i);var v=t.memoizedState;a!==f||y!==v||Pe.current||zt?(typeof N=="function"&&(Wo(t,n,N,r),v=t.memoizedState),(c=zt||vc(t,n,c,r,y,v,u)||!1)?(d||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,v,u),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,v,u)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&y===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&y===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),s.props=r,s.state=v,s.context=u,r=c):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&y===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&y===e.memoizedState||(t.flags|=1024),r=!1)}return qo(e,t,n,r,l,i)}function qo(e,t,n,r,i,l){am(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&uc(t,n,!1),Ot(e,t,l);r=t.stateNode,qy.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=ar(t,e.child,null,l),t.child=ar(t,null,a,l)):ve(e,t,a,l),t.memoizedState=r.state,i&&uc(t,n,!0),t.child}function um(e){var t=e.stateNode;t.pendingContext?ac(e,t.pendingContext,t.pendingContext!==t.context):t.context&&ac(e,t.context,!1),Ja(e,t.containerInfo)}function kc(e,t,n,r,i){return or(),Qa(i),t.flags|=256,ve(e,t,n,r),t.child}var Ko={dehydrated:null,treeContext:null,retryLane:0};function Xo(e){return{baseLanes:e,cachePool:null,transitions:null}}function cm(e,t,n){var r=t.pendingProps,i=K.current,l=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(l=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),W(K,i&1),e===null)return Bo(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):(s=r.children,e=r.fallback,l?(r=t.mode,l=t.child,s={mode:"hidden",children:s},!(r&1)&&l!==null?(l.childLanes=0,l.pendingProps=s):l=os(s,r,0,null),e=Nn(e,r,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Xo(n),t.memoizedState=Ko,e):su(t,s));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return Ky(e,t,s,r,a,i,n);if(l){l=r.fallback,s=t.mode,i=e.child,a=i.sibling;var u={mode:"hidden",children:r.children};return!(s&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=en(i,u),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?l=en(a,l):(l=Nn(l,s,n,null),l.flags|=2),l.return=t,r.return=t,r.sibling=l,t.child=r,r=l,l=t.child,s=e.child.memoizedState,s=s===null?Xo(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~n,t.memoizedState=Ko,r}return l=e.child,e=l.sibling,r=en(l,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function su(e,t){return t=os({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ui(e,t,n,r){return r!==null&&Qa(r),ar(t,e.child,null,n),e=su(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ky(e,t,n,r,i,l,s){if(n)return t.flags&256?(t.flags&=-257,r=Xs(Error(O(422))),Ui(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(l=r.fallback,i=t.mode,r=os({mode:"visible",children:r.children},i,0,null),l=Nn(l,i,s,null),l.flags|=2,r.return=t,l.return=t,r.sibling=l,t.child=r,t.mode&1&&ar(t,e.child,null,s),t.child.memoizedState=Xo(s),t.memoizedState=Ko,l);if(!(t.mode&1))return Ui(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,l=Error(O(419)),r=Xs(l,r,void 0),Ui(e,t,s,r)}if(a=(s&e.childLanes)!==0,Ce||a){if(r=se,r!==null){switch(s&-s){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&(r.suspendedLanes|s)?0:i,i!==0&&i!==l.retryLane&&(l.retryLane=i,Pt(e,i),st(r,e,i,-1))}return fu(),r=Xs(Error(O(421))),Ui(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=ov.bind(null,e),i._reactRetry=t,null):(e=l.treeContext,Ie=Yt(i.nextSibling),Ae=t,q=!0,rt=null,e!==null&&(qe[Ke++]=Et,qe[Ke++]=St,qe[Ke++]=kn,Et=e.id,St=e.overflow,kn=t),t=su(t,r.children),t.flags|=4096,t)}function _c(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),$o(e.return,t,n)}function Ys(e,t,n,r,i){var l=e.memoizedState;l===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(l.isBackwards=t,l.rendering=null,l.renderingStartTime=0,l.last=r,l.tail=n,l.tailMode=i)}function dm(e,t,n){var r=t.pendingProps,i=r.revealOrder,l=r.tail;if(ve(e,t,r.children,n),r=K.current,r&2)r=r&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&&_c(e,n,t);else if(e.tag===19)_c(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}r&=1}if(W(K,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Tl(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Ys(t,!1,i,n,l);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Tl(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Ys(t,!0,n,null,l);break;case"together":Ys(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function tl(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ot(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Cn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(O(153));if(t.child!==null){for(e=t.child,n=en(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=en(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Xy(e,t,n){switch(t.tag){case 3:um(t),or();break;case 5:zf(t);break;case 1:Oe(t.type)&&Sl(t);break;case 4:Ja(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;W(Cl,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(W(K,K.current&1),t.flags|=128,null):n&t.child.childLanes?cm(e,t,n):(W(K,K.current&1),e=Ot(e,t,n),e!==null?e.sibling:null);W(K,K.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return dm(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),W(K,K.current),r)break;return null;case 22:case 23:return t.lanes=0,om(e,t,n)}return Ot(e,t,n)}var fm,Yo,mm,pm;fm=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}};Yo=function(){};mm=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,gn(vt.current);var l=null;switch(n){case"input":i=go(e,i),r=go(e,r),l=[];break;case"select":i=Y({},i,{value:void 0}),r=Y({},r,{value:void 0}),l=[];break;case"textarea":i=No(e,i),r=No(e,r),l=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=jl)}Eo(n,r);var s;n=null;for(c in i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var a=i[c];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Qr.hasOwnProperty(c)?l||(l=[]):(l=l||[]).push(c,null));for(c in r){var u=r[c];if(a=i!=null?i[c]:void 0,r.hasOwnProperty(c)&&u!==a&&(u!=null||a!=null))if(c==="style")if(a){for(s in a)!a.hasOwnProperty(s)||u&&u.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in u)u.hasOwnProperty(s)&&a[s]!==u[s]&&(n||(n={}),n[s]=u[s])}else n||(l||(l=[]),l.push(c,n)),n=u;else c==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,a=a?a.__html:void 0,u!=null&&a!==u&&(l=l||[]).push(c,u)):c==="children"?typeof u!="string"&&typeof u!="number"||(l=l||[]).push(c,""+u):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Qr.hasOwnProperty(c)?(u!=null&&c==="onScroll"&&V("scroll",e),l||a===u||(l=[])):(l=l||[]).push(c,u))}n&&(l=l||[]).push("style",n);var c=l;(t.updateQueue=c)&&(t.flags|=4)}};pm=function(e,t,n,r){n!==r&&(t.flags|=4)};function Cr(e,t){if(!q)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 r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function me(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Yy(e,t,n){var r=t.pendingProps;switch(Va(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 Oe(t.type)&&El(),me(t),null;case 3:return r=t.stateNode,ur(),Q(Pe),Q(he),eu(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Ai(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,rt!==null&&(ia(rt),rt=null))),Yo(e,t),me(t),null;case 5:Za(t);var i=gn(ii.current);if(n=t.type,e!==null&&t.stateNode!=null)mm(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(O(166));return me(t),null}if(e=gn(vt.current),Ai(t)){r=t.stateNode,n=t.type;var l=t.memoizedProps;switch(r[ht]=t,r[ni]=l,e=(t.mode&1)!==0,n){case"dialog":V("cancel",r),V("close",r);break;case"iframe":case"object":case"embed":V("load",r);break;case"video":case"audio":for(i=0;i<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[ht]=t,e[ni]=r,fm(e,t,!1,!1),t.stateNode=e;e:{switch(s=So(n,r),n){case"dialog":V("cancel",e),V("close",e),i=r;break;case"iframe":case"object":case"embed":V("load",e),i=r;break;case"video":case"audio":for(i=0;idr&&(t.flags|=128,r=!0,Cr(l,!1),t.lanes=4194304)}else{if(!r)if(e=Tl(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Cr(l,!0),l.tail===null&&l.tailMode==="hidden"&&!s.alternate&&!q)return me(t),null}else 2*ee()-l.renderingStartTime>dr&&n!==1073741824&&(t.flags|=128,r=!0,Cr(l,!1),t.lanes=4194304);l.isBackwards?(s.sibling=t.child,t.child=s):(n=l.last,n!==null?n.sibling=s:t.child=s,l.last=s)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=ee(),t.sibling=null,n=K.current,W(K,r?n&1|2:n&1),t):(me(t),null);case 22:case 23:return du(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Me&1073741824&&(me(t),t.subtreeFlags&6&&(t.flags|=8192)):me(t),null;case 24:return null;case 25:return null}throw Error(O(156,t.tag))}function Gy(e,t){switch(Va(t),t.tag){case 1:return Oe(t.type)&&El(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ur(),Q(Pe),Q(he),eu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Za(t),null;case 13:if(Q(K),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(O(340));or()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Q(K),null;case 4:return ur(),null;case 10:return Xa(t.type._context),null;case 22:case 23:return du(),null;case 24:return null;default:return null}}var Bi=!1,pe=!1,Jy=typeof WeakSet=="function"?WeakSet:Set,R=null;function Qn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){J(e,t,r)}else n.current=null}function Go(e,t,n){try{n()}catch(r){J(e,t,r)}}var Cc=!1;function Zy(e,t){if(Mo=xl,e=xf(),Wa(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var s=0,a=-1,u=-1,c=0,d=0,f=e,y=null;t:for(;;){for(var N;f!==n||i!==0&&f.nodeType!==3||(a=s+i),f!==l||r!==0&&f.nodeType!==3||(u=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(N=f.firstChild)!==null;)y=f,f=N;for(;;){if(f===e)break t;if(y===n&&++c===i&&(a=s),y===l&&++d===r&&(u=s),(N=f.nextSibling)!==null)break;f=y,y=f.parentNode}f=N}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Io={focusedElem:e,selectionRange:n},xl=!1,R=t;R!==null;)if(t=R,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var g=v.memoizedProps,w=v.memoizedState,h=t.stateNode,m=h.getSnapshotBeforeUpdate(t.elementType===t.type?g:tt(t.type,g),w);h.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(O(163))}}catch(x){J(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return v=Cc,Cc=!1,v}function Br(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var l=i.destroy;i.destroy=void 0,l!==void 0&&Go(t,n,l)}i=i.next}while(i!==r)}}function ls(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Jo(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 hm(e){var t=e.alternate;t!==null&&(e.alternate=null,hm(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ht],delete t[ni],delete t[Ao],delete t[Iy],delete t[Fy])),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 ym(e){return e.tag===5||e.tag===3||e.tag===4}function Pc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ym(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 Zo(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=jl));else if(r!==4&&(e=e.child,e!==null))for(Zo(e,t,n),e=e.sibling;e!==null;)Zo(e,t,n),e=e.sibling}function ea(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ea(e,t,n),e=e.sibling;e!==null;)ea(e,t,n),e=e.sibling}var ue=null,nt=!1;function Mt(e,t,n){for(n=n.child;n!==null;)vm(e,t,n),n=n.sibling}function vm(e,t,n){if(yt&&typeof yt.onCommitFiberUnmount=="function")try{yt.onCommitFiberUnmount(Gl,n)}catch{}switch(n.tag){case 5:pe||Qn(n,t);case 6:var r=ue,i=nt;ue=null,Mt(e,t,n),ue=r,nt=i,ue!==null&&(nt?(e=ue,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ue.removeChild(n.stateNode));break;case 18:ue!==null&&(nt?(e=ue,n=n.stateNode,e.nodeType===8?Ws(e.parentNode,n):e.nodeType===1&&Ws(e,n),Gr(e)):Ws(ue,n.stateNode));break;case 4:r=ue,i=nt,ue=n.stateNode.containerInfo,nt=!0,Mt(e,t,n),ue=r,nt=i;break;case 0:case 11:case 14:case 15:if(!pe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var l=i,s=l.destroy;l=l.tag,s!==void 0&&(l&2||l&4)&&Go(n,t,s),i=i.next}while(i!==r)}Mt(e,t,n);break;case 1:if(!pe&&(Qn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){J(n,t,a)}Mt(e,t,n);break;case 21:Mt(e,t,n);break;case 22:n.mode&1?(pe=(r=pe)||n.memoizedState!==null,Mt(e,t,n),pe=r):Mt(e,t,n);break;default:Mt(e,t,n)}}function Oc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Jy),t.forEach(function(r){var i=av.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function et(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~l}if(r=i,r=ee()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*tv(r/1960))-r,10e?16:e,Ht===null)var r=!1;else{if(e=Ht,Ht=null,Il=0,D&6)throw Error(O(331));var i=D;for(D|=4,R=e.current;R!==null;){var l=R,s=l.child;if(R.flags&16){var a=l.deletions;if(a!==null){for(var u=0;uee()-uu?wn(e,0):au|=n),Te(e,t)}function km(e,t){t===0&&(e.mode&1?(t=bi,bi<<=1,!(bi&130023424)&&(bi=4194304)):t=1);var n=xe();e=Pt(e,t),e!==null&&(vi(e,t,n),Te(e,n))}function ov(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),km(e,n)}function av(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(O(314))}r!==null&&r.delete(t),km(e,n)}var _m;_m=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Pe.current)Ce=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ce=!1,Xy(e,t,n);Ce=!!(e.flags&131072)}else Ce=!1,q&&t.flags&1048576&&Tf(t,_l,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;tl(e,t),e=t.pendingProps;var i=sr(t,he.current);rr(t,n),i=nu(null,t,r,e,i,n);var l=ru();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,Oe(r)?(l=!0,Sl(t)):l=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Ga(t),i.updater=is,t.stateNode=i,i._reactInternals=t,Ho(t,r,e,n),t=qo(null,t,r,!0,l,n)):(t.tag=0,q&&l&&Ha(t),ve(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(tl(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=cv(r),e=tt(r,e),i){case 0:t=Qo(null,t,r,e,n);break e;case 1:t=Sc(null,t,r,e,n);break e;case 11:t=jc(null,t,r,e,n);break e;case 14:t=Ec(null,t,r,tt(r.type,e),n);break e}throw Error(O(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:tt(r,i),Qo(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:tt(r,i),Sc(e,t,r,i,n);case 3:e:{if(um(t),e===null)throw Error(O(387));r=t.pendingProps,l=t.memoizedState,i=l.element,Ff(e,t),Ol(t,r,null,n);var s=t.memoizedState;if(r=s.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){i=cr(Error(O(423)),t),t=kc(e,t,r,n,i);break e}else if(r!==i){i=cr(Error(O(424)),t),t=kc(e,t,r,n,i);break e}else for(Ie=Yt(t.stateNode.containerInfo.firstChild),Ae=t,q=!0,rt=null,n=Mf(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(or(),r===i){t=Ot(e,t,n);break e}ve(e,t,r,n)}t=t.child}return t;case 5:return zf(t),e===null&&Bo(t),r=t.type,i=t.pendingProps,l=e!==null?e.memoizedProps:null,s=i.children,Fo(r,i)?s=null:l!==null&&Fo(r,l)&&(t.flags|=32),am(e,t),ve(e,t,s,n),t.child;case 6:return e===null&&Bo(t),null;case 13:return cm(e,t,n);case 4:return Ja(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ar(t,null,r,n):ve(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:tt(r,i),jc(e,t,r,i,n);case 7:return ve(e,t,t.pendingProps,n),t.child;case 8:return ve(e,t,t.pendingProps.children,n),t.child;case 12:return ve(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,l=t.memoizedProps,s=i.value,W(Cl,r._currentValue),r._currentValue=s,l!==null)if(at(l.value,s)){if(l.children===i.children&&!Pe.current){t=Ot(e,t,n);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var a=l.dependencies;if(a!==null){s=l.child;for(var u=a.firstContext;u!==null;){if(u.context===r){if(l.tag===1){u=kt(-1,n&-n),u.tag=2;var c=l.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}}l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),$o(l.return,n,t),a.lanes|=n;break}u=u.next}}else if(l.tag===10)s=l.type===t.type?null:l.child;else if(l.tag===18){if(s=l.return,s===null)throw Error(O(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),$o(s,n,t),s=l.sibling}else s=l.child;if(s!==null)s.return=l;else for(s=l;s!==null;){if(s===t){s=null;break}if(l=s.sibling,l!==null){l.return=s.return,s=l;break}s=s.return}l=s}ve(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,rr(t,n),i=Ge(i),r=r(i),t.flags|=1,ve(e,t,r,n),t.child;case 14:return r=t.type,i=tt(r,t.pendingProps),i=tt(r.type,i),Ec(e,t,r,i,n);case 15:return sm(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:tt(r,i),tl(e,t),t.tag=1,Oe(r)?(e=!0,Sl(t)):e=!1,rr(t,n),rm(t,r,i),Ho(t,r,i,n),qo(null,t,r,!0,e,n);case 19:return dm(e,t,n);case 22:return om(e,t,n)}throw Error(O(156,t.tag))};function Cm(e,t){return Zd(e,t)}function uv(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Xe(e,t,n,r){return new uv(e,t,n,r)}function mu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function cv(e){if(typeof e=="function")return mu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ba)return 11;if(e===La)return 14}return 2}function en(e,t){var n=e.alternate;return n===null?(n=Xe(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 il(e,t,n,r,i,l){var s=2;if(r=e,typeof e=="function")mu(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case zn:return Nn(n.children,i,l,t);case Ra:s=8,i|=8;break;case po:return e=Xe(12,n,t,i|2),e.elementType=po,e.lanes=l,e;case ho:return e=Xe(13,n,t,i),e.elementType=ho,e.lanes=l,e;case yo:return e=Xe(19,n,t,i),e.elementType=yo,e.lanes=l,e;case Fd:return os(n,i,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Md:s=10;break e;case Id:s=9;break e;case ba:s=11;break e;case La:s=14;break e;case Ft:s=16,r=null;break e}throw Error(O(130,e==null?e:typeof e,""))}return t=Xe(s,n,t,i),t.elementType=e,t.type=r,t.lanes=l,t}function Nn(e,t,n,r){return e=Xe(7,e,r,t),e.lanes=n,e}function os(e,t,n,r){return e=Xe(22,e,r,t),e.elementType=Fd,e.lanes=n,e.stateNode={isHidden:!1},e}function Gs(e,t,n){return e=Xe(6,e,null,t),e.lanes=n,e}function Js(e,t,n){return t=Xe(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function dv(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=bs(0),this.expirationTimes=bs(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=bs(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function pu(e,t,n,r,i,l,s,a,u){return e=new dv(e,t,n,a,u),t===1?(t=1,l===!0&&(t|=8)):t=0,l=Xe(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ga(l),e}function fv(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Rm)}catch(e){console.error(e)}}Rm(),Td.exports=We;var vv=Td.exports,bm,zc=vv;bm=zc.createRoot,zc.hydrateRoot;var Lm={exports:{}},Mm={};/** * @license React * use-sync-external-store-with-selector.production.min.js * @@ -45,12 +45,12 @@ Error generating stack: `+l.message+` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Ni=_;function vv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var gv=typeof Object.is=="function"?Object.is:vv,xv=Ni.useSyncExternalStore,wv=Ni.useRef,Nv=Ni.useEffect,jv=Ni.useMemo,Ev=Ni.useDebugValue;bm.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var l=wv(null);if(l.current===null){var s={hasValue:!1,value:null};l.current=s}else s=l.current;l=jv(function(){function u(N){if(!c){if(c=!0,d=N,N=r(N),i!==void 0&&s.hasValue){var v=s.value;if(i(v,N))return f=v}return f=N}if(v=f,gv(d,N))return v;var g=r(N);return i!==void 0&&i(v,g)?v:(d=N,f=g)}var c=!1,d,f,y=n===void 0?null:n;return[function(){return u(t())},y===null?void 0:function(){return u(y())}]},[t,n,r,i]);var a=xv(e,l[0],l[1]);return Nv(function(){s.hasValue=!0,s.value=a},[a]),Ev(a),a};Rm.exports=bm;var Sv=Rm.exports,Fe="default"in co?j:co,Fc=Symbol.for("react-redux-context"),zc=typeof globalThis<"u"?globalThis:{};function kv(){if(!Fe.createContext)return{};const e=zc[Fc]??(zc[Fc]=new Map);let t=e.get(Fe.createContext);return t||(t=Fe.createContext(null),e.set(Fe.createContext,t)),t}var rn=kv(),_v=()=>{throw new Error("uSES not initialized!")};function vu(e=rn){return function(){return Fe.useContext(e)}}var Lm=vu(),Mm=_v,Cv=e=>{Mm=e},Pv=(e,t)=>e===t;function Ov(e=rn){const t=e===rn?Lm:vu(e),n=(r,i={})=>{const{equalityFn:l=Pv,devModeChecks:s={}}=typeof i=="function"?{equalityFn:i}:i,{store:a,subscription:u,getServerState:c,stabilityCheck:d,identityFunctionCheck:f}=t();Fe.useRef(!0);const y=Fe.useCallback({[r.name](v){return r(v)}}[r.name],[r,d,s.stabilityCheck]),N=Mm(u.addNestedSub,a.getState,c||a.getState,y,l);return Fe.useDebugValue(N),N};return Object.assign(n,{withTypes:()=>n}),n}var ln=Ov();function Tv(e){e()}function Rv(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Tv(()=>{let n=e;for(;n;)n.callback(),n=n.next})},get(){const n=[];let r=e;for(;r;)n.push(r),r=r.next;return n},subscribe(n){let r=!0;const i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!r||e===null||(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var Ac={notify(){},get:()=>[]};function bv(e,t){let n,r=Ac,i=0,l=!1;function s(g){d();const w=r.subscribe(g);let h=!1;return()=>{h||(h=!0,w(),f())}}function a(){r.notify()}function u(){v.onStateChange&&v.onStateChange()}function c(){return l}function d(){i++,n||(n=e.subscribe(u),r=Rv())}function f(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=Ac)}function y(){l||(l=!0,d())}function N(){l&&(l=!1,f())}const v={addNestedSub:s,notifyNestedSubs:a,handleChangeWrapper:u,isSubscribed:c,trySubscribe:y,tryUnsubscribe:N,getListeners:()=>r};return v}var Lv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Mv=typeof navigator<"u"&&navigator.product==="ReactNative",Iv=Lv||Mv?Fe.useLayoutEffect:Fe.useEffect;function Fv({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",identityFunctionCheck:l="once"}){const s=Fe.useMemo(()=>{const c=bv(e);return{store:e,subscription:c,getServerState:r?()=>r:void 0,stabilityCheck:i,identityFunctionCheck:l}},[e,r,i,l]),a=Fe.useMemo(()=>e.getState(),[e]);Iv(()=>{const{subscription:c}=s;return c.onStateChange=c.notifyNestedSubs,c.trySubscribe(),a!==e.getState()&&c.notifyNestedSubs(),()=>{c.tryUnsubscribe(),c.onStateChange=void 0}},[s,a]);const u=t||rn;return Fe.createElement(u.Provider,{value:s},n)}var zv=Fv;function Im(e=rn){const t=e===rn?Lm:vu(e),n=()=>{const{store:r}=t();return r};return Object.assign(n,{withTypes:()=>n}),n}var Av=Im();function Dv(e=rn){const t=e===rn?Av:Im(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var yr=Dv();Cv(Sv.useSyncExternalStoreWithSelector);function ae(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 Uv=typeof Symbol=="function"&&Symbol.observable||"@@observable",Dc=Uv,Js=()=>Math.random().toString(36).substring(7).split("").join("."),Bv={INIT:`@@redux/INIT${Js()}`,REPLACE:`@@redux/REPLACE${Js()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Js()}`},zl=Bv;function gu(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 Fm(e,t,n){if(typeof e!="function")throw new Error(ae(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(ae(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(ae(1));return n(Fm)(e,t)}let r=e,i=t,l=new Map,s=l,a=0,u=!1;function c(){s===l&&(s=new Map,l.forEach((w,h)=>{s.set(h,w)}))}function d(){if(u)throw new Error(ae(3));return i}function f(w){if(typeof w!="function")throw new Error(ae(4));if(u)throw new Error(ae(5));let h=!0;c();const m=a++;return s.set(m,w),function(){if(h){if(u)throw new Error(ae(6));h=!1,c(),s.delete(m),l=null}}}function y(w){if(!gu(w))throw new Error(ae(7));if(typeof w.type>"u")throw new Error(ae(8));if(typeof w.type!="string")throw new Error(ae(17));if(u)throw new Error(ae(9));try{u=!0,i=r(i,w)}finally{u=!1}return(l=s).forEach(m=>{m()}),w}function N(w){if(typeof w!="function")throw new Error(ae(10));r=w,y({type:zl.REPLACE})}function v(){const w=f;return{subscribe(h){if(typeof h!="object"||h===null)throw new Error(ae(11));function m(){const x=h;x.next&&x.next(d())}return m(),{unsubscribe:w(m)}},[Dc](){return this}}}return y({type:zl.INIT}),{dispatch:y,subscribe:f,getState:d,replaceReducer:N,[Dc]:v}}function $v(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:zl.INIT})>"u")throw new Error(ae(12));if(typeof n(void 0,{type:zl.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ae(13))})}function Wv(e){const t=Object.keys(e),n={};for(let l=0;l"u")throw a&&a.type,new Error(ae(14));c[f]=v,u=u||v!==N}return u=u||r.length!==Object.keys(s).length,u?c:s}}function Al(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function Hv(...e){return t=>(n,r)=>{const i=t(n,r);let l=()=>{throw new Error(ae(15))};const s={getState:i.getState,dispatch:(u,...c)=>l(u,...c)},a=e.map(u=>u(s));return l=Al(...a)(i.dispatch),{...i,dispatch:l}}}function Vv(e){return gu(e)&&"type"in e&&typeof e.type=="string"}var zm=Symbol.for("immer-nothing"),Uc=Symbol.for("immer-draftable"),Be=Symbol.for("immer-state");function it(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var dr=Object.getPrototypeOf;function Pn(e){return!!e&&!!e[Be]}function Ot(e){var t;return e?Am(e)||Array.isArray(e)||!!e[Uc]||!!((t=e.constructor)!=null&&t[Uc])||fs(e)||ms(e):!1}var Qv=Object.prototype.constructor.toString();function Am(e){if(!e||typeof e!="object")return!1;const t=dr(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)===Qv}function Dl(e,t){ds(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function ds(e){const t=e[Be];return t?t.type_:Array.isArray(e)?1:fs(e)?2:ms(e)?3:0}function ia(e,t){return ds(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Dm(e,t,n){const r=ds(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function qv(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function fs(e){return e instanceof Map}function ms(e){return e instanceof Set}function mn(e){return e.copy_||e.base_}function la(e,t){if(fs(e))return new Map(e);if(ms(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=Am(e);if(t===!0||t==="class_only"&&!n){const r=Object.getOwnPropertyDescriptors(e);delete r[Be];let i=Reflect.ownKeys(r);for(let l=0;l1&&(e.set=e.add=e.clear=e.delete=Kv),Object.freeze(e),t&&Object.entries(e).forEach(([n,r])=>xu(r,!0))),e}function Kv(){it(2)}function ps(e){return Object.isFrozen(e)}var Xv={};function On(e){const t=Xv[e];return t||it(0,e),t}var ui;function Um(){return ui}function Yv(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Bc(e,t){t&&(On("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function sa(e){oa(e),e.drafts_.forEach(Gv),e.drafts_=null}function oa(e){e===ui&&(ui=e.parent_)}function $c(e){return ui=Yv(ui,e)}function Gv(e){const t=e[Be];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Wc(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[Be].modified_&&(sa(t),it(4)),Ot(e)&&(e=Ul(t,e),t.parent_||Bl(t,e)),t.patches_&&On("Patches").generateReplacementPatches_(n[Be].base_,e,t.patches_,t.inversePatches_)):e=Ul(t,n,[]),sa(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==zm?e:void 0}function Ul(e,t,n){if(ps(t))return t;const r=t[Be];if(!r)return Dl(t,(i,l)=>Hc(e,r,t,i,l,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return Bl(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const i=r.copy_;let l=i,s=!1;r.type_===3&&(l=new Set(i),i.clear(),s=!0),Dl(l,(a,u)=>Hc(e,r,i,a,u,n,s)),Bl(e,i,!1),n&&e.patches_&&On("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function Hc(e,t,n,r,i,l,s){if(Pn(i)){const a=l&&t&&t.type_!==3&&!ia(t.assigned_,r)?l.concat(r):void 0,u=Ul(e,i,a);if(Dm(n,r,u),Pn(u))e.canAutoFreeze_=!1;else return}else s&&n.add(i);if(Ot(i)&&!ps(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Ul(e,i),(!t||!t.scope_.parent_)&&typeof r!="symbol"&&Object.prototype.propertyIsEnumerable.call(n,r)&&Bl(e,i)}}function Bl(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&xu(t,n)}function Jv(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:Um(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=r,l=wu;n&&(i=[r],l=ci);const{revoke:s,proxy:a}=Proxy.revocable(i,l);return r.draft_=a,r.revoke_=s,a}var wu={get(e,t){if(t===Be)return e;const n=mn(e);if(!ia(n,t))return Zv(e,n,t);const r=n[t];return e.finalized_||!Ot(r)?r:r===Zs(e.base_,t)?(eo(e),e.copy_[t]=ua(r,e)):r},has(e,t){return t in mn(e)},ownKeys(e){return Reflect.ownKeys(mn(e))},set(e,t,n){const r=Bm(mn(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const i=Zs(mn(e),t),l=i==null?void 0:i[Be];if(l&&l.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(qv(n,i)&&(n!==void 0||ia(e.base_,t)))return!0;eo(e),aa(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 Zs(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,eo(e),aa(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=mn(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){it(11)},getPrototypeOf(e){return dr(e.base_)},setPrototypeOf(){it(12)}},ci={};Dl(wu,(e,t)=>{ci[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});ci.deleteProperty=function(e,t){return ci.set.call(this,e,t,void 0)};ci.set=function(e,t,n){return wu.set.call(this,e[0],t,n,e[0])};function Zs(e,t){const n=e[Be];return(n?mn(n):e)[t]}function Zv(e,t,n){var i;const r=Bm(t,n);return r?"value"in r?r.value:(i=r.get)==null?void 0:i.call(e.draft_):void 0}function Bm(e,t){if(!(t in e))return;let n=dr(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=dr(n)}}function aa(e){e.modified_||(e.modified_=!0,e.parent_&&aa(e.parent_))}function eo(e){e.copy_||(e.copy_=la(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var e0=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const l=n;n=t;const s=this;return function(u=l,...c){return s.produce(u,d=>n.call(this,d,...c))}}typeof n!="function"&&it(6),r!==void 0&&typeof r!="function"&&it(7);let i;if(Ot(t)){const l=$c(this),s=ua(t,void 0);let a=!0;try{i=n(s),a=!1}finally{a?sa(l):oa(l)}return Bc(l,r),Wc(i,l)}else if(!t||typeof t!="object"){if(i=n(t),i===void 0&&(i=t),i===zm&&(i=void 0),this.autoFreeze_&&xu(i,!0),r){const l=[],s=[];On("Patches").generateReplacementPatches_(t,i,l,s),r(l,s)}return i}else it(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(s,...a)=>this.produceWithPatches(s,u=>t(u,...a));let r,i;return[this.produce(t,n,(s,a)=>{r=s,i=a}),r,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){Ot(e)||it(8),Pn(e)&&(e=t0(e));const t=$c(this),n=ua(e,void 0);return n[Be].isManual_=!0,oa(t),n}finishDraft(e,t){const n=e&&e[Be];(!n||!n.isManual_)&&it(9);const{scope_:r}=n;return Bc(r,t),Wc(void 0,r)}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 r=On("Patches").applyPatches_;return Pn(e)?r(e,t):this.produce(e,i=>r(i,t))}};function ua(e,t){const n=fs(e)?On("MapSet").proxyMap_(e,t):ms(e)?On("MapSet").proxySet_(e,t):Jv(e,t);return(t?t.scope_:Um()).drafts_.push(n),n}function t0(e){return Pn(e)||it(10,e),$m(e)}function $m(e){if(!Ot(e)||ps(e))return e;const t=e[Be];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=la(e,t.scope_.immer_.useStrictShallowCopy_)}else n=la(e,!0);return Dl(n,(r,i)=>{Dm(n,r,$m(i))}),t&&(t.finalized_=!1),n}var $e=new e0,Wm=$e.produce;$e.produceWithPatches.bind($e);$e.setAutoFreeze.bind($e);$e.setUseStrictShallowCopy.bind($e);$e.applyPatches.bind($e);$e.createDraft.bind($e);$e.finishDraft.bind($e);function Hm(e){return({dispatch:n,getState:r})=>i=>l=>typeof l=="function"?l(n,r,e):i(l)}var n0=Hm(),r0=Hm,i0=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Al:Al.apply(null,arguments)},l0=e=>e&&typeof e.match=="function";function Hr(e,t){function n(...r){if(t){let i=t(...r);if(!i)throw new Error(ot(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:r[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=r=>Vv(r)&&r.type===e,n}var Vm=class Mr extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,Mr.prototype)}static get[Symbol.species](){return Mr}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new Mr(...t[0].concat(this)):new Mr(...t.concat(this))}};function Vc(e){return Ot(e)?Wm(e,()=>{}):e}function Qc(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(ot(10));const r=n.insert(t,e);return e.set(t,r),r}function s0(e){return typeof e=="boolean"}var o0=()=>function(t){const{thunk:n=!0,immutableCheck:r=!0,serializableCheck:i=!0,actionCreatorCheck:l=!0}=t??{};let s=new Vm;return n&&(s0(n)?s.push(n0):s.push(r0(n.extraArgument))),s},a0="RTK_autoBatch",Qm=e=>t=>{setTimeout(t,e)},u0=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Qm(10),c0=(e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let i=!0,l=!1,s=!1;const a=new Set,u=e.type==="tick"?queueMicrotask:e.type==="raf"?u0:e.type==="callback"?e.queueNotification:Qm(e.timeout),c=()=>{s=!1,l&&(l=!1,a.forEach(d=>d()))};return Object.assign({},r,{subscribe(d){const f=()=>i&&d(),y=r.subscribe(f);return a.add(d),()=>{y(),a.delete(d)}},dispatch(d){var f;try{return i=!((f=d==null?void 0:d.meta)!=null&&f[a0]),l=!i,l&&(s||(s=!0,u(c))),r.dispatch(d)}finally{i=!0}}})},d0=e=>function(n){const{autoBatch:r=!0}=n??{};let i=new Vm(e);return r&&i.push(c0(typeof r=="object"?r:void 0)),i};function f0(e){const t=o0(),{reducer:n=void 0,middleware:r,devTools:i=!0,preloadedState:l=void 0,enhancers:s=void 0}=e||{};let a;if(typeof n=="function")a=n;else if(gu(n))a=Wv(n);else throw new Error(ot(1));let u;typeof r=="function"?u=r(t):u=t();let c=Al;i&&(c=i0({trace:!1,...typeof i=="object"&&i}));const d=Hv(...u),f=d0(d);let y=typeof s=="function"?s(f):f();const N=c(...y);return Fm(a,l,N)}function qm(e){const t={},n=[];let r;const i={addCase(l,s){const a=typeof l=="string"?l:l.type;if(!a)throw new Error(ot(28));if(a in t)throw new Error(ot(29));return t[a]=s,i},addMatcher(l,s){return n.push({matcher:l,reducer:s}),i},addDefaultCase(l){return r=l,i}};return e(i),[t,n,r]}function m0(e){return typeof e=="function"}function p0(e,t){let[n,r,i]=qm(t),l;if(m0(e))l=()=>Vc(e());else{const a=Vc(e);l=()=>a}function s(a=l(),u){let c=[n[u.type],...r.filter(({matcher:d})=>d(u)).map(({reducer:d})=>d)];return c.filter(d=>!!d).length===0&&(c=[i]),c.reduce((d,f)=>{if(f)if(Pn(d)){const N=f(d,u);return N===void 0?d:N}else{if(Ot(d))return Wm(d,y=>f(y,u));{const y=f(d,u);if(y===void 0){if(d===null)return d;throw new Error(ot(9))}return y}}return d},a)}return s.getInitialState=l,s}var h0=(e,t)=>l0(e)?e.match(t):e(t);function y0(...e){return t=>e.some(n=>h0(n,t))}var v0="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",g0=(e=21)=>{let t="",n=e;for(;n--;)t+=v0[Math.random()*64|0];return t},x0=["name","message","stack","code"],to=class{constructor(e,t){ks(this,"_type");this.payload=e,this.meta=t}},qc=class{constructor(e,t){ks(this,"_type");this.payload=e,this.meta=t}},w0=e=>{if(typeof e=="object"&&e!==null){const t={};for(const n of x0)typeof e[n]=="string"&&(t[n]=e[n]);return t}return{message:String(e)}},Ln=(()=>{function e(t,n,r){const i=Hr(t+"/fulfilled",(u,c,d,f)=>({payload:u,meta:{...f||{},arg:d,requestId:c,requestStatus:"fulfilled"}})),l=Hr(t+"/pending",(u,c,d)=>({payload:void 0,meta:{...d||{},arg:c,requestId:u,requestStatus:"pending"}})),s=Hr(t+"/rejected",(u,c,d,f,y)=>({payload:f,error:(r&&r.serializeError||w0)(u||"Rejected"),meta:{...y||{},arg:d,requestId:c,rejectedWithValue:!!f,requestStatus:"rejected",aborted:(u==null?void 0:u.name)==="AbortError",condition:(u==null?void 0:u.name)==="ConditionError"}}));function a(u){return(c,d,f)=>{const y=r!=null&&r.idGenerator?r.idGenerator(u):g0(),N=new AbortController;let v,g;function w(m){g=m,N.abort()}const h=async function(){var x,S;let m;try{let C=(x=r==null?void 0:r.condition)==null?void 0:x.call(r,u,{getState:d,extra:f});if(j0(C)&&(C=await C),C===!1||N.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const P=new Promise((k,b)=>{v=()=>{b({name:"AbortError",message:g||"Aborted"})},N.signal.addEventListener("abort",v)});c(l(y,u,(S=r==null?void 0:r.getPendingMeta)==null?void 0:S.call(r,{requestId:y,arg:u},{getState:d,extra:f}))),m=await Promise.race([P,Promise.resolve(n(u,{dispatch:c,getState:d,extra:f,requestId:y,signal:N.signal,abort:w,rejectWithValue:(k,b)=>new to(k,b),fulfillWithValue:(k,b)=>new qc(k,b)})).then(k=>{if(k instanceof to)throw k;return k instanceof qc?i(k.payload,y,u,k.meta):i(k,y,u)})])}catch(C){m=C instanceof to?s(null,y,u,C.payload,C.meta):s(C,y,u)}finally{v&&N.signal.removeEventListener("abort",v)}return r&&!r.dispatchConditionRejection&&s.match(m)&&m.meta.condition||c(m),m}();return Object.assign(h,{abort:w,requestId:y,arg:u,unwrap(){return h.then(N0)}})}}return Object.assign(a,{pending:l,rejected:s,fulfilled:i,settled:y0(s,i),typePrefix:t})}return e.withTypes=()=>e,e})();function N0(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function j0(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var E0=Symbol.for("rtk-slice-createasyncthunk");function S0(e,t){return`${e}/${t}`}function k0({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[E0];return function(i){const{name:l,reducerPath:s=l}=i;if(!l)throw new Error(ot(11));typeof process<"u";const a=(typeof i.reducers=="function"?i.reducers(C0()):i.reducers)||{},u=Object.keys(a),c={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},d={addCase(p,x){const S=typeof p=="string"?p:p.type;if(!S)throw new Error(ot(12));if(S in c.sliceCaseReducersByType)throw new Error(ot(13));return c.sliceCaseReducersByType[S]=x,d},addMatcher(p,x){return c.sliceMatchers.push({matcher:p,reducer:x}),d},exposeAction(p,x){return c.actionCreators[p]=x,d},exposeCaseReducer(p,x){return c.sliceCaseReducersByName[p]=x,d}};u.forEach(p=>{const x=a[p],S={reducerName:p,type:S0(l,p),createNotation:typeof i.reducers=="function"};O0(x)?R0(S,x,d,t):P0(S,x,d)});function f(){const[p={},x=[],S=void 0]=typeof i.extraReducers=="function"?qm(i.extraReducers):[i.extraReducers],C={...p,...c.sliceCaseReducersByType};return p0(i.initialState,P=>{for(let k in C)P.addCase(k,C[k]);for(let k of c.sliceMatchers)P.addMatcher(k.matcher,k.reducer);for(let k of x)P.addMatcher(k.matcher,k.reducer);S&&P.addDefaultCase(S)})}const y=p=>p,N=new Map;let v;function g(p,x){return v||(v=f()),v(p,x)}function w(){return v||(v=f()),v.getInitialState()}function h(p,x=!1){function S(P){let k=P[p];return typeof k>"u"&&x&&(k=w()),k}function C(P=y){const k=Qc(N,x,{insert:()=>new WeakMap});return Qc(k,P,{insert:()=>{const b={};for(const[L,H]of Object.entries(i.selectors??{}))b[L]=_0(H,P,w,x);return b}})}return{reducerPath:p,getSelectors:C,get selectors(){return C(S)},selectSlice:S}}const m={name:l,reducer:g,actions:c.actionCreators,caseReducers:c.sliceCaseReducersByName,getInitialState:w,...h(s),injectInto(p,{reducerPath:x,...S}={}){const C=x??s;return p.inject({reducerPath:C,reducer:g},S),{...m,...h(C,!0)}}};return m}}function _0(e,t,n,r){function i(l,...s){let a=t(l);return typeof a>"u"&&r&&(a=n()),e(a,...s)}return i.unwrapped=e,i}var Nu=k0();function C0(){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 P0({type:e,reducerName:t,createNotation:n},r,i){let l,s;if("reducer"in r){if(n&&!T0(r))throw new Error(ot(17));l=r.reducer,s=r.prepare}else l=r;i.addCase(e,l).exposeCaseReducer(t,l).exposeAction(t,s?Hr(e,s):Hr(e))}function O0(e){return e._reducerDefinitionType==="asyncThunk"}function T0(e){return e._reducerDefinitionType==="reducerWithPrepare"}function R0({type:e,reducerName:t},n,r,i){if(!i)throw new Error(ot(18));const{payloadCreator:l,fulfilled:s,pending:a,rejected:u,settled:c,options:d}=n,f=i(e,l,d);r.exposeAction(t,f),s&&r.addCase(f.fulfilled,s),a&&r.addCase(f.pending,a),u&&r.addCase(f.rejected,u),c&&r.addMatcher(f.settled,c),r.exposeCaseReducer(t,{fulfilled:s||Hi,pending:a||Hi,rejected:u||Hi,settled:c||Hi})}function Hi(){}function ot(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 Km(e,t){return function(){return e.apply(t,arguments)}}const{toString:b0}=Object.prototype,{getPrototypeOf:ju}=Object,hs=(e=>t=>{const n=b0.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ut=e=>(e=e.toLowerCase(),t=>hs(t)===e),ys=e=>t=>typeof t===e,{isArray:vr}=Array,di=ys("undefined");function L0(e){return e!==null&&!di(e)&&e.constructor!==null&&!di(e.constructor)&&De(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Xm=ut("ArrayBuffer");function M0(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Xm(e.buffer),t}const I0=ys("string"),De=ys("function"),Ym=ys("number"),vs=e=>e!==null&&typeof e=="object",F0=e=>e===!0||e===!1,ll=e=>{if(hs(e)!=="object")return!1;const t=ju(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},z0=ut("Date"),A0=ut("File"),D0=ut("Blob"),U0=ut("FileList"),B0=e=>vs(e)&&De(e.pipe),$0=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||De(e.append)&&((t=hs(e))==="formdata"||t==="object"&&De(e.toString)&&e.toString()==="[object FormData]"))},W0=ut("URLSearchParams"),[H0,V0,Q0,q0]=["ReadableStream","Request","Response","Headers"].map(ut),K0=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ji(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),vr(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const gn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Jm=e=>!di(e)&&e!==gn;function ca(){const{caseless:e}=Jm(this)&&this||{},t={},n=(r,i)=>{const l=e&&Gm(t,i)||i;ll(t[l])&&ll(r)?t[l]=ca(t[l],r):ll(r)?t[l]=ca({},r):vr(r)?t[l]=r.slice():t[l]=r};for(let r=0,i=arguments.length;r(ji(t,(i,l)=>{n&&De(i)?e[l]=Km(i,n):e[l]=i},{allOwnKeys:r}),e),Y0=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),G0=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},J0=(e,t,n,r)=>{let i,l,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),l=i.length;l-- >0;)s=i[l],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&ju(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Z0=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},eg=e=>{if(!e)return null;if(vr(e))return e;let t=e.length;if(!Ym(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},tg=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ju(Uint8Array)),ng=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const l=i.value;t.call(e,l[0],l[1])}},rg=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},ig=ut("HTMLFormElement"),lg=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Kc=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),sg=ut("RegExp"),Zm=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};ji(n,(i,l)=>{let s;(s=t(i,l,e))!==!1&&(r[l]=s||i)}),Object.defineProperties(e,r)},og=e=>{Zm(e,(t,n)=>{if(De(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(De(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},ag=(e,t)=>{const n={},r=i=>{i.forEach(l=>{n[l]=!0})};return vr(e)?r(e):r(String(e).split(t)),n},ug=()=>{},cg=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,no="abcdefghijklmnopqrstuvwxyz",Xc="0123456789",ep={DIGIT:Xc,ALPHA:no,ALPHA_DIGIT:no+no.toUpperCase()+Xc},dg=(e=16,t=ep.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function fg(e){return!!(e&&De(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const mg=e=>{const t=new Array(10),n=(r,i)=>{if(vs(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const l=vr(r)?[]:{};return ji(r,(s,a)=>{const u=n(s,i+1);!di(u)&&(l[a]=u)}),t[i]=void 0,l}}return r};return n(e,0)},pg=ut("AsyncFunction"),hg=e=>e&&(vs(e)||De(e))&&De(e.then)&&De(e.catch),tp=((e,t)=>e?setImmediate:t?((n,r)=>(gn.addEventListener("message",({source:i,data:l})=>{i===gn&&l===n&&r.length&&r.shift()()},!1),i=>{r.push(i),gn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",De(gn.postMessage)),yg=typeof queueMicrotask<"u"?queueMicrotask.bind(gn):typeof process<"u"&&process.nextTick||tp,E={isArray:vr,isArrayBuffer:Xm,isBuffer:L0,isFormData:$0,isArrayBufferView:M0,isString:I0,isNumber:Ym,isBoolean:F0,isObject:vs,isPlainObject:ll,isReadableStream:H0,isRequest:V0,isResponse:Q0,isHeaders:q0,isUndefined:di,isDate:z0,isFile:A0,isBlob:D0,isRegExp:sg,isFunction:De,isStream:B0,isURLSearchParams:W0,isTypedArray:tg,isFileList:U0,forEach:ji,merge:ca,extend:X0,trim:K0,stripBOM:Y0,inherits:G0,toFlatObject:J0,kindOf:hs,kindOfTest:ut,endsWith:Z0,toArray:eg,forEachEntry:ng,matchAll:rg,isHTMLForm:ig,hasOwnProperty:Kc,hasOwnProp:Kc,reduceDescriptors:Zm,freezeMethods:og,toObjectSet:ag,toCamelCase:lg,noop:ug,toFiniteNumber:cg,findKey:Gm,global:gn,isContextDefined:Jm,ALPHABET:ep,generateString:dg,isSpecCompliantForm:fg,toJSONObject:mg,isAsyncFn:pg,isThenable:hg,setImmediate:tp,asap:yg};function F(e,t,n,r,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),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}E.inherits(F,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:E.toJSONObject(this.config),code:this.code,status:this.status}}});const np=F.prototype,rp={};["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=>{rp[e]={value:e}});Object.defineProperties(F,rp);Object.defineProperty(np,"isAxiosError",{value:!0});F.from=(e,t,n,r,i,l)=>{const s=Object.create(np);return E.toFlatObject(e,s,function(u){return u!==Error.prototype},a=>a!=="isAxiosError"),F.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,l&&Object.assign(s,l),s};const vg=null;function da(e){return E.isPlainObject(e)||E.isArray(e)}function ip(e){return E.endsWith(e,"[]")?e.slice(0,-2):e}function Yc(e,t,n){return e?e.concat(t).map(function(i,l){return i=ip(i),!n&&l?"["+i+"]":i}).join(n?".":""):t}function gg(e){return E.isArray(e)&&!e.some(da)}const xg=E.toFlatObject(E,{},null,function(t){return/^is[A-Z]/.test(t)});function gs(e,t,n){if(!E.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=E.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,w){return!E.isUndefined(w[g])});const r=n.metaTokens,i=n.visitor||d,l=n.dots,s=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&E.isSpecCompliantForm(t);if(!E.isFunction(i))throw new TypeError("visitor must be a function");function c(v){if(v===null)return"";if(E.isDate(v))return v.toISOString();if(!u&&E.isBlob(v))throw new F("Blob is not supported. Use a Buffer instead.");return E.isArrayBuffer(v)||E.isTypedArray(v)?u&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function d(v,g,w){let h=v;if(v&&!w&&typeof v=="object"){if(E.endsWith(g,"{}"))g=r?g:g.slice(0,-2),v=JSON.stringify(v);else if(E.isArray(v)&&gg(v)||(E.isFileList(v)||E.endsWith(g,"[]"))&&(h=E.toArray(v)))return g=ip(g),h.forEach(function(p,x){!(E.isUndefined(p)||p===null)&&t.append(s===!0?Yc([g],x,l):s===null?g:g+"[]",c(p))}),!1}return da(v)?!0:(t.append(Yc(w,g,l),c(v)),!1)}const f=[],y=Object.assign(xg,{defaultVisitor:d,convertValue:c,isVisitable:da});function N(v,g){if(!E.isUndefined(v)){if(f.indexOf(v)!==-1)throw Error("Circular reference detected in "+g.join("."));f.push(v),E.forEach(v,function(h,m){(!(E.isUndefined(h)||h===null)&&i.call(t,h,E.isString(m)?m.trim():m,g,y))===!0&&N(h,g?g.concat(m):[m])}),f.pop()}}if(!E.isObject(e))throw new TypeError("data must be an object");return N(e),t}function Gc(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Eu(e,t){this._pairs=[],e&&gs(e,this,t)}const lp=Eu.prototype;lp.append=function(t,n){this._pairs.push([t,n])};lp.toString=function(t){const n=t?function(r){return t.call(this,r,Gc)}:Gc;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function wg(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function sp(e,t,n){if(!t)return e;const r=n&&n.encode||wg,i=n&&n.serialize;let l;if(i?l=i(t,n):l=E.isURLSearchParams(t)?t.toString():new Eu(t,n).toString(r),l){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class Jc{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){E.forEach(this.handlers,function(r){r!==null&&t(r)})}}const op={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ng=typeof URLSearchParams<"u"?URLSearchParams:Eu,jg=typeof FormData<"u"?FormData:null,Eg=typeof Blob<"u"?Blob:null,Sg={isBrowser:!0,classes:{URLSearchParams:Ng,FormData:jg,Blob:Eg},protocols:["http","https","file","blob","url","data"]},Su=typeof window<"u"&&typeof document<"u",fa=typeof navigator=="object"&&navigator||void 0,kg=Su&&(!fa||["ReactNative","NativeScript","NS"].indexOf(fa.product)<0),_g=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Cg=Su&&window.location.href||"http://localhost",Pg=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Su,hasStandardBrowserEnv:kg,hasStandardBrowserWebWorkerEnv:_g,navigator:fa,origin:Cg},Symbol.toStringTag,{value:"Module"})),Te={...Pg,...Sg};function Og(e,t){return gs(e,new Te.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,l){return Te.isNode&&E.isBuffer(n)?(this.append(r,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function Tg(e){return E.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Rg(e){const t={},n=Object.keys(e);let r;const i=n.length;let l;for(r=0;r=n.length;return s=!s&&E.isArray(i)?i.length:s,u?(E.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!E.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],l)&&E.isArray(i[s])&&(i[s]=Rg(i[s])),!a)}if(E.isFormData(e)&&E.isFunction(e.entries)){const n={};return E.forEachEntry(e,(r,i)=>{t(Tg(r),i,n,0)}),n}return null}function bg(e,t,n){if(E.isString(e))try{return(t||JSON.parse)(e),E.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Ei={transitional:op,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,l=E.isObject(t);if(l&&E.isHTMLForm(t)&&(t=new FormData(t)),E.isFormData(t))return i?JSON.stringify(ap(t)):t;if(E.isArrayBuffer(t)||E.isBuffer(t)||E.isStream(t)||E.isFile(t)||E.isBlob(t)||E.isReadableStream(t))return t;if(E.isArrayBufferView(t))return t.buffer;if(E.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(l){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Og(t,this.formSerializer).toString();if((a=E.isFileList(t))||r.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return gs(a?{"files[]":t}:t,u&&new u,this.formSerializer)}}return l||i?(n.setContentType("application/json",!1),bg(t)):t}],transformResponse:[function(t){const n=this.transitional||Ei.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(E.isResponse(t)||E.isReadableStream(t))return t;if(t&&E.isString(t)&&(r&&!this.responseType||i)){const s=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(a){if(s)throw a.name==="SyntaxError"?F.from(a,F.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Te.classes.FormData,Blob:Te.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};E.forEach(["delete","get","head","post","put","patch"],e=>{Ei.headers[e]={}});const Lg=E.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"]),Mg=e=>{const t={};let n,r,i;return e&&e.split(` -`).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&Lg[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Zc=Symbol("internals");function Or(e){return e&&String(e).trim().toLowerCase()}function sl(e){return e===!1||e==null?e:E.isArray(e)?e.map(sl):String(e)}function Ig(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Fg=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ro(e,t,n,r,i){if(E.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!E.isString(t)){if(E.isString(r))return t.indexOf(r)!==-1;if(E.isRegExp(r))return r.test(t)}}function zg(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Ag(e,t){const n=E.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,l,s){return this[r].call(this,t,i,l,s)},configurable:!0})})}class Re{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function l(a,u,c){const d=Or(u);if(!d)throw new Error("header name must be a non-empty string");const f=E.findKey(i,d);(!f||i[f]===void 0||c===!0||c===void 0&&i[f]!==!1)&&(i[f||u]=sl(a))}const s=(a,u)=>E.forEach(a,(c,d)=>l(c,d,u));if(E.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(E.isString(t)&&(t=t.trim())&&!Fg(t))s(Mg(t),n);else if(E.isHeaders(t))for(const[a,u]of t.entries())l(u,a,r);else t!=null&&l(n,t,r);return this}get(t,n){if(t=Or(t),t){const r=E.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return Ig(i);if(E.isFunction(n))return n.call(this,i,r);if(E.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Or(t),t){const r=E.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||ro(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function l(s){if(s=Or(s),s){const a=E.findKey(r,s);a&&(!n||ro(r,r[a],a,n))&&(delete r[a],i=!0)}}return E.isArray(t)?t.forEach(l):l(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const l=n[r];(!t||ro(this,this[l],l,t,!0))&&(delete this[l],i=!0)}return i}normalize(t){const n=this,r={};return E.forEach(this,(i,l)=>{const s=E.findKey(r,l);if(s){n[s]=sl(i),delete n[l];return}const a=t?zg(l):String(l).trim();a!==l&&delete n[l],n[a]=sl(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return E.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&E.isArray(r)?r.join(", "):r)}),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 r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[Zc]=this[Zc]={accessors:{}}).accessors,i=this.prototype;function l(s){const a=Or(s);r[a]||(Ag(i,s),r[a]=!0)}return E.isArray(t)?t.forEach(l):l(t),this}}Re.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);E.reduceDescriptors(Re.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});E.freezeMethods(Re);function io(e,t){const n=this||Ei,r=t||n,i=Re.from(r.headers);let l=r.data;return E.forEach(e,function(a){l=a.call(n,l,i.normalize(),t?t.status:void 0)}),i.normalize(),l}function up(e){return!!(e&&e.__CANCEL__)}function gr(e,t,n){F.call(this,e??"canceled",F.ERR_CANCELED,t,n),this.name="CanceledError"}E.inherits(gr,F,{__CANCEL__:!0});function cp(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new F("Request failed with status code "+n.status,[F.ERR_BAD_REQUEST,F.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Dg(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Ug(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,l=0,s;return t=t!==void 0?t:1e3,function(u){const c=Date.now(),d=r[l];s||(s=c),n[i]=u,r[i]=c;let f=l,y=0;for(;f!==i;)y+=n[f++],f=f%e;if(i=(i+1)%e,i===l&&(l=(l+1)%e),c-s{n=d,i=null,l&&(clearTimeout(l),l=null),e.apply(null,c)};return[(...c)=>{const d=Date.now(),f=d-n;f>=r?s(c,d):(i=c,l||(l=setTimeout(()=>{l=null,s(i)},r-f)))},()=>i&&s(i)]}const $l=(e,t,n=3)=>{let r=0;const i=Ug(50,250);return Bg(l=>{const s=l.loaded,a=l.lengthComputable?l.total:void 0,u=s-r,c=i(u),d=s<=a;r=s;const f={loaded:s,total:a,progress:a?s/a:void 0,bytes:u,rate:c||void 0,estimated:c&&a&&d?(a-s)/c:void 0,event:l,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(f)},n)},ed=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},td=e=>(...t)=>E.asap(()=>e(...t)),$g=Te.hasStandardBrowserEnv?function(){const t=Te.navigator&&/(msie|trident)/i.test(Te.navigator.userAgent),n=document.createElement("a");let r;function i(l){let s=l;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{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 r=i(window.location.href),function(s){const a=E.isString(s)?i(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),Wg=Te.hasStandardBrowserEnv?{write(e,t,n,r,i,l){const s=[e+"="+encodeURIComponent(t)];E.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),E.isString(r)&&s.push("path="+r),E.isString(i)&&s.push("domain="+i),l===!0&&s.push("secure"),document.cookie=s.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 Hg(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Vg(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function dp(e,t){return e&&!Hg(t)?Vg(e,t):t}const nd=e=>e instanceof Re?{...e}:e;function Tn(e,t){t=t||{};const n={};function r(c,d,f){return E.isPlainObject(c)&&E.isPlainObject(d)?E.merge.call({caseless:f},c,d):E.isPlainObject(d)?E.merge({},d):E.isArray(d)?d.slice():d}function i(c,d,f){if(E.isUndefined(d)){if(!E.isUndefined(c))return r(void 0,c,f)}else return r(c,d,f)}function l(c,d){if(!E.isUndefined(d))return r(void 0,d)}function s(c,d){if(E.isUndefined(d)){if(!E.isUndefined(c))return r(void 0,c)}else return r(void 0,d)}function a(c,d,f){if(f in t)return r(c,d);if(f in e)return r(void 0,c)}const u={url:l,method:l,data:l,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(c,d)=>i(nd(c),nd(d),!0)};return E.forEach(Object.keys(Object.assign({},e,t)),function(d){const f=u[d]||i,y=f(e[d],t[d],d);E.isUndefined(y)&&f!==a||(n[d]=y)}),n}const fp=e=>{const t=Tn({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:l,headers:s,auth:a}=t;t.headers=s=Re.from(s),t.url=sp(dp(t.baseURL,t.url),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let u;if(E.isFormData(n)){if(Te.hasStandardBrowserEnv||Te.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((u=s.getContentType())!==!1){const[c,...d]=u?u.split(";").map(f=>f.trim()).filter(Boolean):[];s.setContentType([c||"multipart/form-data",...d].join("; "))}}if(Te.hasStandardBrowserEnv&&(r&&E.isFunction(r)&&(r=r(t)),r||r!==!1&&$g(t.url))){const c=i&&l&&Wg.read(l);c&&s.set(i,c)}return t},Qg=typeof XMLHttpRequest<"u",qg=Qg&&function(e){return new Promise(function(n,r){const i=fp(e);let l=i.data;const s=Re.from(i.headers).normalize();let{responseType:a,onUploadProgress:u,onDownloadProgress:c}=i,d,f,y,N,v;function g(){N&&N(),v&&v(),i.cancelToken&&i.cancelToken.unsubscribe(d),i.signal&&i.signal.removeEventListener("abort",d)}let w=new XMLHttpRequest;w.open(i.method.toUpperCase(),i.url,!0),w.timeout=i.timeout;function h(){if(!w)return;const p=Re.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders()),S={data:!a||a==="text"||a==="json"?w.responseText:w.response,status:w.status,statusText:w.statusText,headers:p,config:e,request:w};cp(function(P){n(P),g()},function(P){r(P),g()},S),w=null}"onloadend"in w?w.onloadend=h:w.onreadystatechange=function(){!w||w.readyState!==4||w.status===0&&!(w.responseURL&&w.responseURL.indexOf("file:")===0)||setTimeout(h)},w.onabort=function(){w&&(r(new F("Request aborted",F.ECONNABORTED,e,w)),w=null)},w.onerror=function(){r(new F("Network Error",F.ERR_NETWORK,e,w)),w=null},w.ontimeout=function(){let x=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const S=i.transitional||op;i.timeoutErrorMessage&&(x=i.timeoutErrorMessage),r(new F(x,S.clarifyTimeoutError?F.ETIMEDOUT:F.ECONNABORTED,e,w)),w=null},l===void 0&&s.setContentType(null),"setRequestHeader"in w&&E.forEach(s.toJSON(),function(x,S){w.setRequestHeader(S,x)}),E.isUndefined(i.withCredentials)||(w.withCredentials=!!i.withCredentials),a&&a!=="json"&&(w.responseType=i.responseType),c&&([y,v]=$l(c,!0),w.addEventListener("progress",y)),u&&w.upload&&([f,N]=$l(u),w.upload.addEventListener("progress",f),w.upload.addEventListener("loadend",N)),(i.cancelToken||i.signal)&&(d=p=>{w&&(r(!p||p.type?new gr(null,e,w):p),w.abort(),w=null)},i.cancelToken&&i.cancelToken.subscribe(d),i.signal&&(i.signal.aborted?d():i.signal.addEventListener("abort",d)));const m=Dg(i.url);if(m&&Te.protocols.indexOf(m)===-1){r(new F("Unsupported protocol "+m+":",F.ERR_BAD_REQUEST,e));return}w.send(l||null)})},Kg=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i;const l=function(c){if(!i){i=!0,a();const d=c instanceof Error?c:this.reason;r.abort(d instanceof F?d:new gr(d instanceof Error?d.message:d))}};let s=t&&setTimeout(()=>{s=null,l(new F(`timeout ${t} of ms exceeded`,F.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(l):c.removeEventListener("abort",l)}),e=null)};e.forEach(c=>c.addEventListener("abort",l));const{signal:u}=r;return u.unsubscribe=()=>E.asap(a),u}},Xg=function*(e,t){let n=e.byteLength;if(!t||n{const i=Yg(e,t);let l=0,s,a=u=>{s||(s=!0,r&&r(u))};return new ReadableStream({async pull(u){try{const{done:c,value:d}=await i.next();if(c){a(),u.close();return}let f=d.byteLength;if(n){let y=l+=f;n(y)}u.enqueue(new Uint8Array(d))}catch(c){throw a(c),c}},cancel(u){return a(u),i.return()}},{highWaterMark:2})},xs=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",mp=xs&&typeof ReadableStream=="function",Jg=xs&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),pp=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Zg=mp&&pp(()=>{let e=!1;const t=new Request(Te.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),id=64*1024,ma=mp&&pp(()=>E.isReadableStream(new Response("").body)),Wl={stream:ma&&(e=>e.body)};xs&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Wl[t]&&(Wl[t]=E.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new F(`Response type '${t}' is not supported`,F.ERR_NOT_SUPPORT,r)})})})(new Response);const e1=async e=>{if(e==null)return 0;if(E.isBlob(e))return e.size;if(E.isSpecCompliantForm(e))return(await new Request(Te.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(E.isArrayBufferView(e)||E.isArrayBuffer(e))return e.byteLength;if(E.isURLSearchParams(e)&&(e=e+""),E.isString(e))return(await Jg(e)).byteLength},t1=async(e,t)=>{const n=E.toFiniteNumber(e.getContentLength());return n??e1(t)},n1=xs&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:l,timeout:s,onDownloadProgress:a,onUploadProgress:u,responseType:c,headers:d,withCredentials:f="same-origin",fetchOptions:y}=fp(e);c=c?(c+"").toLowerCase():"text";let N=Kg([i,l&&l.toAbortSignal()],s),v;const g=N&&N.unsubscribe&&(()=>{N.unsubscribe()});let w;try{if(u&&Zg&&n!=="get"&&n!=="head"&&(w=await t1(d,r))!==0){let S=new Request(t,{method:"POST",body:r,duplex:"half"}),C;if(E.isFormData(r)&&(C=S.headers.get("content-type"))&&d.setContentType(C),S.body){const[P,k]=ed(w,$l(td(u)));r=rd(S.body,id,P,k)}}E.isString(f)||(f=f?"include":"omit");const h="credentials"in Request.prototype;v=new Request(t,{...y,signal:N,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:h?f:void 0});let m=await fetch(v);const p=ma&&(c==="stream"||c==="response");if(ma&&(a||p&&g)){const S={};["status","statusText","headers"].forEach(b=>{S[b]=m[b]});const C=E.toFiniteNumber(m.headers.get("content-length")),[P,k]=a&&ed(C,$l(td(a),!0))||[];m=new Response(rd(m.body,id,P,()=>{k&&k(),g&&g()}),S)}c=c||"text";let x=await Wl[E.findKey(Wl,c)||"text"](m,e);return!p&&g&&g(),await new Promise((S,C)=>{cp(S,C,{data:x,headers:Re.from(m.headers),status:m.status,statusText:m.statusText,config:e,request:v})})}catch(h){throw g&&g(),h&&h.name==="TypeError"&&/fetch/i.test(h.message)?Object.assign(new F("Network Error",F.ERR_NETWORK,e,v),{cause:h.cause||h}):F.from(h,h&&h.code,e,v)}}),pa={http:vg,xhr:qg,fetch:n1};E.forEach(pa,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const ld=e=>`- ${e}`,r1=e=>E.isFunction(e)||e===null||e===!1,hp={getAdapter:e=>{e=E.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let l=0;l`adapter ${a} `+(u===!1?"is not supported by the environment":"is not available in the build"));let s=t?l.length>1?`since : -`+l.map(ld).join(` -`):" "+ld(l[0]):"as no adapter specified";throw new F("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:pa};function lo(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new gr(null,e)}function sd(e){return lo(e),e.headers=Re.from(e.headers),e.data=io.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),hp.getAdapter(e.adapter||Ei.adapter)(e).then(function(r){return lo(e),r.data=io.call(e,e.transformResponse,r),r.headers=Re.from(r.headers),r},function(r){return up(r)||(lo(e),r&&r.response&&(r.response.data=io.call(e,e.transformResponse,r.response),r.response.headers=Re.from(r.response.headers))),Promise.reject(r)})}const yp="1.7.7",ku={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ku[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const od={};ku.transitional=function(t,n,r){function i(l,s){return"[Axios v"+yp+"] Transitional option '"+l+"'"+s+(r?". "+r:"")}return(l,s,a)=>{if(t===!1)throw new F(i(s," has been removed"+(n?" in "+n:"")),F.ERR_DEPRECATED);return n&&!od[s]&&(od[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(l,s,a):!0}};function i1(e,t,n){if(typeof e!="object")throw new F("options must be an object",F.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const l=r[i],s=t[l];if(s){const a=e[l],u=a===void 0||s(a,l,e);if(u!==!0)throw new F("option "+l+" must be "+u,F.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new F("Unknown option "+l,F.ERR_BAD_OPTION)}}const ha={assertOptions:i1,validators:ku},Mt=ha.validators;class Nn{constructor(t){this.defaults=t,this.interceptors={request:new Jc,response:new Jc}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const l=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?l&&!String(r.stack).endsWith(l.replace(/^.+\n.+\n/,""))&&(r.stack+=` -`+l):r.stack=l}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Tn(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:l}=n;r!==void 0&&ha.assertOptions(r,{silentJSONParsing:Mt.transitional(Mt.boolean),forcedJSONParsing:Mt.transitional(Mt.boolean),clarifyTimeoutError:Mt.transitional(Mt.boolean)},!1),i!=null&&(E.isFunction(i)?n.paramsSerializer={serialize:i}:ha.assertOptions(i,{encode:Mt.function,serialize:Mt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=l&&E.merge(l.common,l[n.method]);l&&E.forEach(["delete","get","head","post","put","patch","common"],v=>{delete l[v]}),n.headers=Re.concat(s,l);const a=[];let u=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(u=u&&g.synchronous,a.unshift(g.fulfilled,g.rejected))});const c=[];this.interceptors.response.forEach(function(g){c.push(g.fulfilled,g.rejected)});let d,f=0,y;if(!u){const v=[sd.bind(this),void 0];for(v.unshift.apply(v,a),v.push.apply(v,c),y=v.length,d=Promise.resolve(n);f{if(!r._listeners)return;let l=r._listeners.length;for(;l-- >0;)r._listeners[l](i);r._listeners=null}),this.promise.then=i=>{let l;const s=new Promise(a=>{r.subscribe(a),l=a}).then(i);return s.cancel=function(){r.unsubscribe(l)},s},t(function(l,s,a){r.reason||(r.reason=new gr(l,s,a),n(r.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=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new _u(function(i){t=i}),cancel:t}}}function l1(e){return function(n){return e.apply(null,n)}}function s1(e){return E.isObject(e)&&e.isAxiosError===!0}const ya={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(ya).forEach(([e,t])=>{ya[t]=e});function vp(e){const t=new Nn(e),n=Km(Nn.prototype.request,t);return E.extend(n,Nn.prototype,t,{allOwnKeys:!0}),E.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return vp(Tn(e,i))},n}const Z=vp(Ei);Z.Axios=Nn;Z.CanceledError=gr;Z.CancelToken=_u;Z.isCancel=up;Z.VERSION=yp;Z.toFormData=gs;Z.AxiosError=F;Z.Cancel=Z.CanceledError;Z.all=function(t){return Promise.all(t)};Z.spread=l1;Z.isAxiosError=s1;Z.mergeConfig=Tn;Z.AxiosHeaders=Re;Z.formToJSON=e=>ap(E.isHTMLForm(e)?new FormData(e):e);Z.getAdapter=hp.getAdapter;Z.HttpStatusCode=ya;Z.default=Z;const o1="http://67.225.129.127:3002",xr=Z.create({baseURL:o1});xr.interceptors.request.use(e=>(localStorage.getItem("profile")&&(e.headers.Authorization=`Bearer ${JSON.parse(localStorage.getItem("profile")).token}`),e));const a1=e=>xr.post("/users/signup",e),u1=e=>xr.post("/users/signin",e),c1=(e,t,n)=>xr.get(`/users/${e}/verify/${t}`,n),d1=e=>xr.post("/properties",e),f1=e=>xr.get(`/properties/user/${e}`,e),ol=Ln("auth/login",async({formValue:e,navigate:t},{rejectWithValue:n})=>{try{const r=await u1(e);return t("/dashboard"),r.data}catch(r){return n(r.response.data)}}),al=Ln("auth/register",async({formValue:e,navigate:t,toast:n},{rejectWithValue:r})=>{try{const i=await a1(e);return n.success("Register Successfully"),t("/registrationsuccess"),i.data}catch(i){return r(i.response.data)}}),so=Ln("auth/updateUser",async({id:e,data:t},{rejectWithValue:n})=>{try{return(await(void 0)(t,e)).data}catch(r){return n(r.response.data)}}),gp=Nu({name:"auth",initialState:{user:null,error:"",loading:!1},reducers:{setUser:(e,t)=>{e.user=t.payload},setLogout:e=>{localStorage.clear(),e.user=null},setUserDetails:(e,t)=>{e.user=t.payload}},extraReducers:e=>{e.addCase(ol.pending,t=>{t.loading=!0}).addCase(ol.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.user=n.payload}).addCase(ol.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message}).addCase(al.pending,t=>{t.loading=!0}).addCase(al.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.user=n.payload}).addCase(al.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message}).addCase(so.pending,t=>{t.loading=!0}).addCase(so.fulfilled,(t,n)=>{t.loading=!1,t.user=n.payload}).addCase(so.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message})}}),{setUser:Cw,setLogout:m1,setUserDetails:Pw}=gp.actions,p1=gp.reducer,oo=Ln("user/showUser",async({id:e,data:t},{rejectWithValue:n})=>{try{const r=await(void 0)(t,e);return console.log("dsdsdsds22",r),r.data}catch(r){return n(r.response.data)}}),ul=Ln("user/verifyEmail",async({id:e,token:t,data:n},{rejectWithValue:r})=>{try{return(await c1(e,t,n)).data.message}catch(i){return r(i.response.data)}}),h1=Nu({name:"user",initialState:{users:[],error:"",loading:!1,verified:!1},reducers:{},extraReducers:e=>{e.addCase(oo.pending,t=>{t.loading=!0}).addCase(oo.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.users=Array.isArray(n.payload)?n.payload:[]}).addCase(oo.rejected,(t,n)=>{t.loading=!1,t.error=n.payload}).addCase(ul.pending,t=>{t.loading=!0,t.error=null}).addCase(ul.fulfilled,(t,n)=>{t.loading=!1,t.verified=n.payload==="Email verified successfully"}).addCase(ul.rejected,(t,n)=>{t.loading=!1,t.error=n.error.message})}}),y1=h1.reducer,cl=Ln("property/submitProperty",async(e,{rejectWithValue:t})=>{try{return(await d1(e)).data}catch(n){return t(n.response.data)}}),dl=Ln("property/fetchUserProperties",async(e,{rejectWithValue:t})=>{try{return(await f1(e)).data}catch(n){return t(n.response.data)}}),v1=Nu({name:"property",initialState:{property:{},status:"idle",error:null,userProperties:[]},reducers:{},extraReducers:e=>{e.addCase(cl.pending,t=>{t.status="loading"}).addCase(cl.fulfilled,(t,n)=>{t.status="succeeded",t.property=n.payload}).addCase(cl.rejected,(t,n)=>{t.status="failed",t.error=n.payload}).addCase(dl.pending,t=>{t.status="loading"}).addCase(dl.fulfilled,(t,n)=>{t.status="succeeded",t.userProperties=n.payload}).addCase(dl.rejected,(t,n)=>{t.status="failed",t.error=n.payload})}}),g1=v1.reducer,x1=f0({reducer:{auth:p1,user:y1,property:g1}});/** + */var Ni=_;function gv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var xv=typeof Object.is=="function"?Object.is:gv,wv=Ni.useSyncExternalStore,Nv=Ni.useRef,jv=Ni.useEffect,Ev=Ni.useMemo,Sv=Ni.useDebugValue;Mm.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var l=Nv(null);if(l.current===null){var s={hasValue:!1,value:null};l.current=s}else s=l.current;l=Ev(function(){function u(N){if(!c){if(c=!0,d=N,N=r(N),i!==void 0&&s.hasValue){var v=s.value;if(i(v,N))return f=v}return f=N}if(v=f,xv(d,N))return v;var g=r(N);return i!==void 0&&i(v,g)?v:(d=N,f=g)}var c=!1,d,f,y=n===void 0?null:n;return[function(){return u(t())},y===null?void 0:function(){return u(y())}]},[t,n,r,i]);var a=wv(e,l[0],l[1]);return jv(function(){s.hasValue=!0,s.value=a},[a]),Sv(a),a};Lm.exports=Mm;var kv=Lm.exports,Fe="default"in fo?j:fo,Ac=Symbol.for("react-redux-context"),Dc=typeof globalThis<"u"?globalThis:{};function _v(){if(!Fe.createContext)return{};const e=Dc[Ac]??(Dc[Ac]=new Map);let t=e.get(Fe.createContext);return t||(t=Fe.createContext(null),e.set(Fe.createContext,t)),t}var ln=_v(),Cv=()=>{throw new Error("uSES not initialized!")};function gu(e=ln){return function(){return Fe.useContext(e)}}var Im=gu(),Fm=Cv,Pv=e=>{Fm=e},Ov=(e,t)=>e===t;function Tv(e=ln){const t=e===ln?Im:gu(e),n=(r,i={})=>{const{equalityFn:l=Ov,devModeChecks:s={}}=typeof i=="function"?{equalityFn:i}:i,{store:a,subscription:u,getServerState:c,stabilityCheck:d,identityFunctionCheck:f}=t();Fe.useRef(!0);const y=Fe.useCallback({[r.name](v){return r(v)}}[r.name],[r,d,s.stabilityCheck]),N=Fm(u.addNestedSub,a.getState,c||a.getState,y,l);return Fe.useDebugValue(N),N};return Object.assign(n,{withTypes:()=>n}),n}var gt=Tv();function Rv(e){e()}function bv(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Rv(()=>{let n=e;for(;n;)n.callback(),n=n.next})},get(){const n=[];let r=e;for(;r;)n.push(r),r=r.next;return n},subscribe(n){let r=!0;const i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!r||e===null||(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var Uc={notify(){},get:()=>[]};function Lv(e,t){let n,r=Uc,i=0,l=!1;function s(g){d();const w=r.subscribe(g);let h=!1;return()=>{h||(h=!0,w(),f())}}function a(){r.notify()}function u(){v.onStateChange&&v.onStateChange()}function c(){return l}function d(){i++,n||(n=e.subscribe(u),r=bv())}function f(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=Uc)}function y(){l||(l=!0,d())}function N(){l&&(l=!1,f())}const v={addNestedSub:s,notifyNestedSubs:a,handleChangeWrapper:u,isSubscribed:c,trySubscribe:y,tryUnsubscribe:N,getListeners:()=>r};return v}var Mv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Iv=typeof navigator<"u"&&navigator.product==="ReactNative",Fv=Mv||Iv?Fe.useLayoutEffect:Fe.useEffect;function zv({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",identityFunctionCheck:l="once"}){const s=Fe.useMemo(()=>{const c=Lv(e);return{store:e,subscription:c,getServerState:r?()=>r:void 0,stabilityCheck:i,identityFunctionCheck:l}},[e,r,i,l]),a=Fe.useMemo(()=>e.getState(),[e]);Fv(()=>{const{subscription:c}=s;return c.onStateChange=c.notifyNestedSubs,c.trySubscribe(),a!==e.getState()&&c.notifyNestedSubs(),()=>{c.tryUnsubscribe(),c.onStateChange=void 0}},[s,a]);const u=t||ln;return Fe.createElement(u.Provider,{value:s},n)}var Av=zv;function zm(e=ln){const t=e===ln?Im:gu(e),n=()=>{const{store:r}=t();return r};return Object.assign(n,{withTypes:()=>n}),n}var Dv=zm();function Uv(e=ln){const t=e===ln?Dv:zm(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var Mn=Uv();Pv(kv.useSyncExternalStoreWithSelector);function ae(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 Bv=typeof Symbol=="function"&&Symbol.observable||"@@observable",Bc=Bv,Zs=()=>Math.random().toString(36).substring(7).split("").join("."),$v={INIT:`@@redux/INIT${Zs()}`,REPLACE:`@@redux/REPLACE${Zs()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Zs()}`},Al=$v;function xu(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 Am(e,t,n){if(typeof e!="function")throw new Error(ae(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(ae(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(ae(1));return n(Am)(e,t)}let r=e,i=t,l=new Map,s=l,a=0,u=!1;function c(){s===l&&(s=new Map,l.forEach((w,h)=>{s.set(h,w)}))}function d(){if(u)throw new Error(ae(3));return i}function f(w){if(typeof w!="function")throw new Error(ae(4));if(u)throw new Error(ae(5));let h=!0;c();const m=a++;return s.set(m,w),function(){if(h){if(u)throw new Error(ae(6));h=!1,c(),s.delete(m),l=null}}}function y(w){if(!xu(w))throw new Error(ae(7));if(typeof w.type>"u")throw new Error(ae(8));if(typeof w.type!="string")throw new Error(ae(17));if(u)throw new Error(ae(9));try{u=!0,i=r(i,w)}finally{u=!1}return(l=s).forEach(m=>{m()}),w}function N(w){if(typeof w!="function")throw new Error(ae(10));r=w,y({type:Al.REPLACE})}function v(){const w=f;return{subscribe(h){if(typeof h!="object"||h===null)throw new Error(ae(11));function m(){const x=h;x.next&&x.next(d())}return m(),{unsubscribe:w(m)}},[Bc](){return this}}}return y({type:Al.INIT}),{dispatch:y,subscribe:f,getState:d,replaceReducer:N,[Bc]:v}}function Wv(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:Al.INIT})>"u")throw new Error(ae(12));if(typeof n(void 0,{type:Al.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ae(13))})}function Hv(e){const t=Object.keys(e),n={};for(let l=0;l"u")throw a&&a.type,new Error(ae(14));c[f]=v,u=u||v!==N}return u=u||r.length!==Object.keys(s).length,u?c:s}}function Dl(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function Vv(...e){return t=>(n,r)=>{const i=t(n,r);let l=()=>{throw new Error(ae(15))};const s={getState:i.getState,dispatch:(u,...c)=>l(u,...c)},a=e.map(u=>u(s));return l=Dl(...a)(i.dispatch),{...i,dispatch:l}}}function Qv(e){return xu(e)&&"type"in e&&typeof e.type=="string"}var Dm=Symbol.for("immer-nothing"),$c=Symbol.for("immer-draftable"),Be=Symbol.for("immer-state");function it(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var fr=Object.getPrototypeOf;function On(e){return!!e&&!!e[Be]}function Tt(e){var t;return e?Um(e)||Array.isArray(e)||!!e[$c]||!!((t=e.constructor)!=null&&t[$c])||ms(e)||ps(e):!1}var qv=Object.prototype.constructor.toString();function Um(e){if(!e||typeof e!="object")return!1;const t=fr(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)===qv}function Ul(e,t){fs(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function fs(e){const t=e[Be];return t?t.type_:Array.isArray(e)?1:ms(e)?2:ps(e)?3:0}function la(e,t){return fs(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Bm(e,t,n){const r=fs(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function Kv(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function ms(e){return e instanceof Map}function ps(e){return e instanceof Set}function pn(e){return e.copy_||e.base_}function sa(e,t){if(ms(e))return new Map(e);if(ps(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=Um(e);if(t===!0||t==="class_only"&&!n){const r=Object.getOwnPropertyDescriptors(e);delete r[Be];let i=Reflect.ownKeys(r);for(let l=0;l1&&(e.set=e.add=e.clear=e.delete=Xv),Object.freeze(e),t&&Object.entries(e).forEach(([n,r])=>wu(r,!0))),e}function Xv(){it(2)}function hs(e){return Object.isFrozen(e)}var Yv={};function Tn(e){const t=Yv[e];return t||it(0,e),t}var ui;function $m(){return ui}function Gv(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Wc(e,t){t&&(Tn("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function oa(e){aa(e),e.drafts_.forEach(Jv),e.drafts_=null}function aa(e){e===ui&&(ui=e.parent_)}function Hc(e){return ui=Gv(ui,e)}function Jv(e){const t=e[Be];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Vc(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[Be].modified_&&(oa(t),it(4)),Tt(e)&&(e=Bl(t,e),t.parent_||$l(t,e)),t.patches_&&Tn("Patches").generateReplacementPatches_(n[Be].base_,e,t.patches_,t.inversePatches_)):e=Bl(t,n,[]),oa(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Dm?e:void 0}function Bl(e,t,n){if(hs(t))return t;const r=t[Be];if(!r)return Ul(t,(i,l)=>Qc(e,r,t,i,l,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return $l(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const i=r.copy_;let l=i,s=!1;r.type_===3&&(l=new Set(i),i.clear(),s=!0),Ul(l,(a,u)=>Qc(e,r,i,a,u,n,s)),$l(e,i,!1),n&&e.patches_&&Tn("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function Qc(e,t,n,r,i,l,s){if(On(i)){const a=l&&t&&t.type_!==3&&!la(t.assigned_,r)?l.concat(r):void 0,u=Bl(e,i,a);if(Bm(n,r,u),On(u))e.canAutoFreeze_=!1;else return}else s&&n.add(i);if(Tt(i)&&!hs(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Bl(e,i),(!t||!t.scope_.parent_)&&typeof r!="symbol"&&Object.prototype.propertyIsEnumerable.call(n,r)&&$l(e,i)}}function $l(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&wu(t,n)}function Zv(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:$m(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=r,l=Nu;n&&(i=[r],l=ci);const{revoke:s,proxy:a}=Proxy.revocable(i,l);return r.draft_=a,r.revoke_=s,a}var Nu={get(e,t){if(t===Be)return e;const n=pn(e);if(!la(n,t))return e0(e,n,t);const r=n[t];return e.finalized_||!Tt(r)?r:r===eo(e.base_,t)?(to(e),e.copy_[t]=ca(r,e)):r},has(e,t){return t in pn(e)},ownKeys(e){return Reflect.ownKeys(pn(e))},set(e,t,n){const r=Wm(pn(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const i=eo(pn(e),t),l=i==null?void 0:i[Be];if(l&&l.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(Kv(n,i)&&(n!==void 0||la(e.base_,t)))return!0;to(e),ua(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 eo(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,to(e),ua(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=pn(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){it(11)},getPrototypeOf(e){return fr(e.base_)},setPrototypeOf(){it(12)}},ci={};Ul(Nu,(e,t)=>{ci[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});ci.deleteProperty=function(e,t){return ci.set.call(this,e,t,void 0)};ci.set=function(e,t,n){return Nu.set.call(this,e[0],t,n,e[0])};function eo(e,t){const n=e[Be];return(n?pn(n):e)[t]}function e0(e,t,n){var i;const r=Wm(t,n);return r?"value"in r?r.value:(i=r.get)==null?void 0:i.call(e.draft_):void 0}function Wm(e,t){if(!(t in e))return;let n=fr(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=fr(n)}}function ua(e){e.modified_||(e.modified_=!0,e.parent_&&ua(e.parent_))}function to(e){e.copy_||(e.copy_=sa(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var t0=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const l=n;n=t;const s=this;return function(u=l,...c){return s.produce(u,d=>n.call(this,d,...c))}}typeof n!="function"&&it(6),r!==void 0&&typeof r!="function"&&it(7);let i;if(Tt(t)){const l=Hc(this),s=ca(t,void 0);let a=!0;try{i=n(s),a=!1}finally{a?oa(l):aa(l)}return Wc(l,r),Vc(i,l)}else if(!t||typeof t!="object"){if(i=n(t),i===void 0&&(i=t),i===Dm&&(i=void 0),this.autoFreeze_&&wu(i,!0),r){const l=[],s=[];Tn("Patches").generateReplacementPatches_(t,i,l,s),r(l,s)}return i}else it(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(s,...a)=>this.produceWithPatches(s,u=>t(u,...a));let r,i;return[this.produce(t,n,(s,a)=>{r=s,i=a}),r,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){Tt(e)||it(8),On(e)&&(e=n0(e));const t=Hc(this),n=ca(e,void 0);return n[Be].isManual_=!0,aa(t),n}finishDraft(e,t){const n=e&&e[Be];(!n||!n.isManual_)&&it(9);const{scope_:r}=n;return Wc(r,t),Vc(void 0,r)}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 r=Tn("Patches").applyPatches_;return On(e)?r(e,t):this.produce(e,i=>r(i,t))}};function ca(e,t){const n=ms(e)?Tn("MapSet").proxyMap_(e,t):ps(e)?Tn("MapSet").proxySet_(e,t):Zv(e,t);return(t?t.scope_:$m()).drafts_.push(n),n}function n0(e){return On(e)||it(10,e),Hm(e)}function Hm(e){if(!Tt(e)||hs(e))return e;const t=e[Be];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=sa(e,t.scope_.immer_.useStrictShallowCopy_)}else n=sa(e,!0);return Ul(n,(r,i)=>{Bm(n,r,Hm(i))}),t&&(t.finalized_=!1),n}var $e=new t0,Vm=$e.produce;$e.produceWithPatches.bind($e);$e.setAutoFreeze.bind($e);$e.setUseStrictShallowCopy.bind($e);$e.applyPatches.bind($e);$e.createDraft.bind($e);$e.finishDraft.bind($e);function Qm(e){return({dispatch:n,getState:r})=>i=>l=>typeof l=="function"?l(n,r,e):i(l)}var r0=Qm(),i0=Qm,l0=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Dl:Dl.apply(null,arguments)},s0=e=>e&&typeof e.match=="function";function Hr(e,t){function n(...r){if(t){let i=t(...r);if(!i)throw new Error(ot(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:r[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=r=>Qv(r)&&r.type===e,n}var qm=class Mr extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,Mr.prototype)}static get[Symbol.species](){return Mr}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new Mr(...t[0].concat(this)):new Mr(...t.concat(this))}};function qc(e){return Tt(e)?Vm(e,()=>{}):e}function Kc(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(ot(10));const r=n.insert(t,e);return e.set(t,r),r}function o0(e){return typeof e=="boolean"}var a0=()=>function(t){const{thunk:n=!0,immutableCheck:r=!0,serializableCheck:i=!0,actionCreatorCheck:l=!0}=t??{};let s=new qm;return n&&(o0(n)?s.push(r0):s.push(i0(n.extraArgument))),s},u0="RTK_autoBatch",Km=e=>t=>{setTimeout(t,e)},c0=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Km(10),d0=(e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let i=!0,l=!1,s=!1;const a=new Set,u=e.type==="tick"?queueMicrotask:e.type==="raf"?c0:e.type==="callback"?e.queueNotification:Km(e.timeout),c=()=>{s=!1,l&&(l=!1,a.forEach(d=>d()))};return Object.assign({},r,{subscribe(d){const f=()=>i&&d(),y=r.subscribe(f);return a.add(d),()=>{y(),a.delete(d)}},dispatch(d){var f;try{return i=!((f=d==null?void 0:d.meta)!=null&&f[u0]),l=!i,l&&(s||(s=!0,u(c))),r.dispatch(d)}finally{i=!0}}})},f0=e=>function(n){const{autoBatch:r=!0}=n??{};let i=new qm(e);return r&&i.push(d0(typeof r=="object"?r:void 0)),i};function m0(e){const t=a0(),{reducer:n=void 0,middleware:r,devTools:i=!0,preloadedState:l=void 0,enhancers:s=void 0}=e||{};let a;if(typeof n=="function")a=n;else if(xu(n))a=Hv(n);else throw new Error(ot(1));let u;typeof r=="function"?u=r(t):u=t();let c=Dl;i&&(c=l0({trace:!1,...typeof i=="object"&&i}));const d=Vv(...u),f=f0(d);let y=typeof s=="function"?s(f):f();const N=c(...y);return Am(a,l,N)}function Xm(e){const t={},n=[];let r;const i={addCase(l,s){const a=typeof l=="string"?l:l.type;if(!a)throw new Error(ot(28));if(a in t)throw new Error(ot(29));return t[a]=s,i},addMatcher(l,s){return n.push({matcher:l,reducer:s}),i},addDefaultCase(l){return r=l,i}};return e(i),[t,n,r]}function p0(e){return typeof e=="function"}function h0(e,t){let[n,r,i]=Xm(t),l;if(p0(e))l=()=>qc(e());else{const a=qc(e);l=()=>a}function s(a=l(),u){let c=[n[u.type],...r.filter(({matcher:d})=>d(u)).map(({reducer:d})=>d)];return c.filter(d=>!!d).length===0&&(c=[i]),c.reduce((d,f)=>{if(f)if(On(d)){const N=f(d,u);return N===void 0?d:N}else{if(Tt(d))return Vm(d,y=>f(y,u));{const y=f(d,u);if(y===void 0){if(d===null)return d;throw new Error(ot(9))}return y}}return d},a)}return s.getInitialState=l,s}var y0=(e,t)=>s0(e)?e.match(t):e(t);function v0(...e){return t=>e.some(n=>y0(n,t))}var g0="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",x0=(e=21)=>{let t="",n=e;for(;n--;)t+=g0[Math.random()*64|0];return t},w0=["name","message","stack","code"],no=class{constructor(e,t){_s(this,"_type");this.payload=e,this.meta=t}},Xc=class{constructor(e,t){_s(this,"_type");this.payload=e,this.meta=t}},N0=e=>{if(typeof e=="object"&&e!==null){const t={};for(const n of w0)typeof e[n]=="string"&&(t[n]=e[n]);return t}return{message:String(e)}},un=(()=>{function e(t,n,r){const i=Hr(t+"/fulfilled",(u,c,d,f)=>({payload:u,meta:{...f||{},arg:d,requestId:c,requestStatus:"fulfilled"}})),l=Hr(t+"/pending",(u,c,d)=>({payload:void 0,meta:{...d||{},arg:c,requestId:u,requestStatus:"pending"}})),s=Hr(t+"/rejected",(u,c,d,f,y)=>({payload:f,error:(r&&r.serializeError||N0)(u||"Rejected"),meta:{...y||{},arg:d,requestId:c,rejectedWithValue:!!f,requestStatus:"rejected",aborted:(u==null?void 0:u.name)==="AbortError",condition:(u==null?void 0:u.name)==="ConditionError"}}));function a(u){return(c,d,f)=>{const y=r!=null&&r.idGenerator?r.idGenerator(u):x0(),N=new AbortController;let v,g;function w(m){g=m,N.abort()}const h=async function(){var x,S;let m;try{let C=(x=r==null?void 0:r.condition)==null?void 0:x.call(r,u,{getState:d,extra:f});if(E0(C)&&(C=await C),C===!1||N.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const P=new Promise((k,b)=>{v=()=>{b({name:"AbortError",message:g||"Aborted"})},N.signal.addEventListener("abort",v)});c(l(y,u,(S=r==null?void 0:r.getPendingMeta)==null?void 0:S.call(r,{requestId:y,arg:u},{getState:d,extra:f}))),m=await Promise.race([P,Promise.resolve(n(u,{dispatch:c,getState:d,extra:f,requestId:y,signal:N.signal,abort:w,rejectWithValue:(k,b)=>new no(k,b),fulfillWithValue:(k,b)=>new Xc(k,b)})).then(k=>{if(k instanceof no)throw k;return k instanceof Xc?i(k.payload,y,u,k.meta):i(k,y,u)})])}catch(C){m=C instanceof no?s(null,y,u,C.payload,C.meta):s(C,y,u)}finally{v&&N.signal.removeEventListener("abort",v)}return r&&!r.dispatchConditionRejection&&s.match(m)&&m.meta.condition||c(m),m}();return Object.assign(h,{abort:w,requestId:y,arg:u,unwrap(){return h.then(j0)}})}}return Object.assign(a,{pending:l,rejected:s,fulfilled:i,settled:v0(s,i),typePrefix:t})}return e.withTypes=()=>e,e})();function j0(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function E0(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var S0=Symbol.for("rtk-slice-createasyncthunk");function k0(e,t){return`${e}/${t}`}function _0({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[S0];return function(i){const{name:l,reducerPath:s=l}=i;if(!l)throw new Error(ot(11));typeof process<"u";const a=(typeof i.reducers=="function"?i.reducers(P0()):i.reducers)||{},u=Object.keys(a),c={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},d={addCase(p,x){const S=typeof p=="string"?p:p.type;if(!S)throw new Error(ot(12));if(S in c.sliceCaseReducersByType)throw new Error(ot(13));return c.sliceCaseReducersByType[S]=x,d},addMatcher(p,x){return c.sliceMatchers.push({matcher:p,reducer:x}),d},exposeAction(p,x){return c.actionCreators[p]=x,d},exposeCaseReducer(p,x){return c.sliceCaseReducersByName[p]=x,d}};u.forEach(p=>{const x=a[p],S={reducerName:p,type:k0(l,p),createNotation:typeof i.reducers=="function"};T0(x)?b0(S,x,d,t):O0(S,x,d)});function f(){const[p={},x=[],S=void 0]=typeof i.extraReducers=="function"?Xm(i.extraReducers):[i.extraReducers],C={...p,...c.sliceCaseReducersByType};return h0(i.initialState,P=>{for(let k in C)P.addCase(k,C[k]);for(let k of c.sliceMatchers)P.addMatcher(k.matcher,k.reducer);for(let k of x)P.addMatcher(k.matcher,k.reducer);S&&P.addDefaultCase(S)})}const y=p=>p,N=new Map;let v;function g(p,x){return v||(v=f()),v(p,x)}function w(){return v||(v=f()),v.getInitialState()}function h(p,x=!1){function S(P){let k=P[p];return typeof k>"u"&&x&&(k=w()),k}function C(P=y){const k=Kc(N,x,{insert:()=>new WeakMap});return Kc(k,P,{insert:()=>{const b={};for(const[L,H]of Object.entries(i.selectors??{}))b[L]=C0(H,P,w,x);return b}})}return{reducerPath:p,getSelectors:C,get selectors(){return C(S)},selectSlice:S}}const m={name:l,reducer:g,actions:c.actionCreators,caseReducers:c.sliceCaseReducersByName,getInitialState:w,...h(s),injectInto(p,{reducerPath:x,...S}={}){const C=x??s;return p.inject({reducerPath:C,reducer:g},S),{...m,...h(C,!0)}}};return m}}function C0(e,t,n,r){function i(l,...s){let a=t(l);return typeof a>"u"&&r&&(a=n()),e(a,...s)}return i.unwrapped=e,i}var ju=_0();function P0(){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 O0({type:e,reducerName:t,createNotation:n},r,i){let l,s;if("reducer"in r){if(n&&!R0(r))throw new Error(ot(17));l=r.reducer,s=r.prepare}else l=r;i.addCase(e,l).exposeCaseReducer(t,l).exposeAction(t,s?Hr(e,s):Hr(e))}function T0(e){return e._reducerDefinitionType==="asyncThunk"}function R0(e){return e._reducerDefinitionType==="reducerWithPrepare"}function b0({type:e,reducerName:t},n,r,i){if(!i)throw new Error(ot(18));const{payloadCreator:l,fulfilled:s,pending:a,rejected:u,settled:c,options:d}=n,f=i(e,l,d);r.exposeAction(t,f),s&&r.addCase(f.fulfilled,s),a&&r.addCase(f.pending,a),u&&r.addCase(f.rejected,u),c&&r.addMatcher(f.settled,c),r.exposeCaseReducer(t,{fulfilled:s||Hi,pending:a||Hi,rejected:u||Hi,settled:c||Hi})}function Hi(){}function ot(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 Ym(e,t){return function(){return e.apply(t,arguments)}}const{toString:L0}=Object.prototype,{getPrototypeOf:Eu}=Object,ys=(e=>t=>{const n=L0.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ut=e=>(e=e.toLowerCase(),t=>ys(t)===e),vs=e=>t=>typeof t===e,{isArray:vr}=Array,di=vs("undefined");function M0(e){return e!==null&&!di(e)&&e.constructor!==null&&!di(e.constructor)&&De(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Gm=ut("ArrayBuffer");function I0(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Gm(e.buffer),t}const F0=vs("string"),De=vs("function"),Jm=vs("number"),gs=e=>e!==null&&typeof e=="object",z0=e=>e===!0||e===!1,ll=e=>{if(ys(e)!=="object")return!1;const t=Eu(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},A0=ut("Date"),D0=ut("File"),U0=ut("Blob"),B0=ut("FileList"),$0=e=>gs(e)&&De(e.pipe),W0=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||De(e.append)&&((t=ys(e))==="formdata"||t==="object"&&De(e.toString)&&e.toString()==="[object FormData]"))},H0=ut("URLSearchParams"),[V0,Q0,q0,K0]=["ReadableStream","Request","Response","Headers"].map(ut),X0=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ji(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),vr(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const xn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ep=e=>!di(e)&&e!==xn;function da(){const{caseless:e}=ep(this)&&this||{},t={},n=(r,i)=>{const l=e&&Zm(t,i)||i;ll(t[l])&&ll(r)?t[l]=da(t[l],r):ll(r)?t[l]=da({},r):vr(r)?t[l]=r.slice():t[l]=r};for(let r=0,i=arguments.length;r(ji(t,(i,l)=>{n&&De(i)?e[l]=Ym(i,n):e[l]=i},{allOwnKeys:r}),e),G0=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),J0=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Z0=(e,t,n,r)=>{let i,l,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),l=i.length;l-- >0;)s=i[l],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&Eu(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},eg=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},tg=e=>{if(!e)return null;if(vr(e))return e;let t=e.length;if(!Jm(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},ng=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Eu(Uint8Array)),rg=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const l=i.value;t.call(e,l[0],l[1])}},ig=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},lg=ut("HTMLFormElement"),sg=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Yc=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),og=ut("RegExp"),tp=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};ji(n,(i,l)=>{let s;(s=t(i,l,e))!==!1&&(r[l]=s||i)}),Object.defineProperties(e,r)},ag=e=>{tp(e,(t,n)=>{if(De(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(De(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},ug=(e,t)=>{const n={},r=i=>{i.forEach(l=>{n[l]=!0})};return vr(e)?r(e):r(String(e).split(t)),n},cg=()=>{},dg=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,ro="abcdefghijklmnopqrstuvwxyz",Gc="0123456789",np={DIGIT:Gc,ALPHA:ro,ALPHA_DIGIT:ro+ro.toUpperCase()+Gc},fg=(e=16,t=np.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function mg(e){return!!(e&&De(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const pg=e=>{const t=new Array(10),n=(r,i)=>{if(gs(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const l=vr(r)?[]:{};return ji(r,(s,a)=>{const u=n(s,i+1);!di(u)&&(l[a]=u)}),t[i]=void 0,l}}return r};return n(e,0)},hg=ut("AsyncFunction"),yg=e=>e&&(gs(e)||De(e))&&De(e.then)&&De(e.catch),rp=((e,t)=>e?setImmediate:t?((n,r)=>(xn.addEventListener("message",({source:i,data:l})=>{i===xn&&l===n&&r.length&&r.shift()()},!1),i=>{r.push(i),xn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",De(xn.postMessage)),vg=typeof queueMicrotask<"u"?queueMicrotask.bind(xn):typeof process<"u"&&process.nextTick||rp,E={isArray:vr,isArrayBuffer:Gm,isBuffer:M0,isFormData:W0,isArrayBufferView:I0,isString:F0,isNumber:Jm,isBoolean:z0,isObject:gs,isPlainObject:ll,isReadableStream:V0,isRequest:Q0,isResponse:q0,isHeaders:K0,isUndefined:di,isDate:A0,isFile:D0,isBlob:U0,isRegExp:og,isFunction:De,isStream:$0,isURLSearchParams:H0,isTypedArray:ng,isFileList:B0,forEach:ji,merge:da,extend:Y0,trim:X0,stripBOM:G0,inherits:J0,toFlatObject:Z0,kindOf:ys,kindOfTest:ut,endsWith:eg,toArray:tg,forEachEntry:rg,matchAll:ig,isHTMLForm:lg,hasOwnProperty:Yc,hasOwnProp:Yc,reduceDescriptors:tp,freezeMethods:ag,toObjectSet:ug,toCamelCase:sg,noop:cg,toFiniteNumber:dg,findKey:Zm,global:xn,isContextDefined:ep,ALPHABET:np,generateString:fg,isSpecCompliantForm:mg,toJSONObject:pg,isAsyncFn:hg,isThenable:yg,setImmediate:rp,asap:vg};function F(e,t,n,r,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),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}E.inherits(F,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:E.toJSONObject(this.config),code:this.code,status:this.status}}});const ip=F.prototype,lp={};["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=>{lp[e]={value:e}});Object.defineProperties(F,lp);Object.defineProperty(ip,"isAxiosError",{value:!0});F.from=(e,t,n,r,i,l)=>{const s=Object.create(ip);return E.toFlatObject(e,s,function(u){return u!==Error.prototype},a=>a!=="isAxiosError"),F.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,l&&Object.assign(s,l),s};const gg=null;function fa(e){return E.isPlainObject(e)||E.isArray(e)}function sp(e){return E.endsWith(e,"[]")?e.slice(0,-2):e}function Jc(e,t,n){return e?e.concat(t).map(function(i,l){return i=sp(i),!n&&l?"["+i+"]":i}).join(n?".":""):t}function xg(e){return E.isArray(e)&&!e.some(fa)}const wg=E.toFlatObject(E,{},null,function(t){return/^is[A-Z]/.test(t)});function xs(e,t,n){if(!E.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=E.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,w){return!E.isUndefined(w[g])});const r=n.metaTokens,i=n.visitor||d,l=n.dots,s=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&E.isSpecCompliantForm(t);if(!E.isFunction(i))throw new TypeError("visitor must be a function");function c(v){if(v===null)return"";if(E.isDate(v))return v.toISOString();if(!u&&E.isBlob(v))throw new F("Blob is not supported. Use a Buffer instead.");return E.isArrayBuffer(v)||E.isTypedArray(v)?u&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function d(v,g,w){let h=v;if(v&&!w&&typeof v=="object"){if(E.endsWith(g,"{}"))g=r?g:g.slice(0,-2),v=JSON.stringify(v);else if(E.isArray(v)&&xg(v)||(E.isFileList(v)||E.endsWith(g,"[]"))&&(h=E.toArray(v)))return g=sp(g),h.forEach(function(p,x){!(E.isUndefined(p)||p===null)&&t.append(s===!0?Jc([g],x,l):s===null?g:g+"[]",c(p))}),!1}return fa(v)?!0:(t.append(Jc(w,g,l),c(v)),!1)}const f=[],y=Object.assign(wg,{defaultVisitor:d,convertValue:c,isVisitable:fa});function N(v,g){if(!E.isUndefined(v)){if(f.indexOf(v)!==-1)throw Error("Circular reference detected in "+g.join("."));f.push(v),E.forEach(v,function(h,m){(!(E.isUndefined(h)||h===null)&&i.call(t,h,E.isString(m)?m.trim():m,g,y))===!0&&N(h,g?g.concat(m):[m])}),f.pop()}}if(!E.isObject(e))throw new TypeError("data must be an object");return N(e),t}function Zc(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Su(e,t){this._pairs=[],e&&xs(e,this,t)}const op=Su.prototype;op.append=function(t,n){this._pairs.push([t,n])};op.toString=function(t){const n=t?function(r){return t.call(this,r,Zc)}:Zc;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function Ng(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ap(e,t,n){if(!t)return e;const r=n&&n.encode||Ng,i=n&&n.serialize;let l;if(i?l=i(t,n):l=E.isURLSearchParams(t)?t.toString():new Su(t,n).toString(r),l){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class ed{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){E.forEach(this.handlers,function(r){r!==null&&t(r)})}}const up={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},jg=typeof URLSearchParams<"u"?URLSearchParams:Su,Eg=typeof FormData<"u"?FormData:null,Sg=typeof Blob<"u"?Blob:null,kg={isBrowser:!0,classes:{URLSearchParams:jg,FormData:Eg,Blob:Sg},protocols:["http","https","file","blob","url","data"]},ku=typeof window<"u"&&typeof document<"u",ma=typeof navigator=="object"&&navigator||void 0,_g=ku&&(!ma||["ReactNative","NativeScript","NS"].indexOf(ma.product)<0),Cg=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Pg=ku&&window.location.href||"http://localhost",Og=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ku,hasStandardBrowserEnv:_g,hasStandardBrowserWebWorkerEnv:Cg,navigator:ma,origin:Pg},Symbol.toStringTag,{value:"Module"})),Re={...Og,...kg};function Tg(e,t){return xs(e,new Re.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,l){return Re.isNode&&E.isBuffer(n)?(this.append(r,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function Rg(e){return E.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function bg(e){const t={},n=Object.keys(e);let r;const i=n.length;let l;for(r=0;r=n.length;return s=!s&&E.isArray(i)?i.length:s,u?(E.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!E.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],l)&&E.isArray(i[s])&&(i[s]=bg(i[s])),!a)}if(E.isFormData(e)&&E.isFunction(e.entries)){const n={};return E.forEachEntry(e,(r,i)=>{t(Rg(r),i,n,0)}),n}return null}function Lg(e,t,n){if(E.isString(e))try{return(t||JSON.parse)(e),E.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Ei={transitional:up,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,l=E.isObject(t);if(l&&E.isHTMLForm(t)&&(t=new FormData(t)),E.isFormData(t))return i?JSON.stringify(cp(t)):t;if(E.isArrayBuffer(t)||E.isBuffer(t)||E.isStream(t)||E.isFile(t)||E.isBlob(t)||E.isReadableStream(t))return t;if(E.isArrayBufferView(t))return t.buffer;if(E.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(l){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Tg(t,this.formSerializer).toString();if((a=E.isFileList(t))||r.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return xs(a?{"files[]":t}:t,u&&new u,this.formSerializer)}}return l||i?(n.setContentType("application/json",!1),Lg(t)):t}],transformResponse:[function(t){const n=this.transitional||Ei.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(E.isResponse(t)||E.isReadableStream(t))return t;if(t&&E.isString(t)&&(r&&!this.responseType||i)){const s=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(a){if(s)throw a.name==="SyntaxError"?F.from(a,F.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Re.classes.FormData,Blob:Re.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};E.forEach(["delete","get","head","post","put","patch"],e=>{Ei.headers[e]={}});const Mg=E.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"]),Ig=e=>{const t={};let n,r,i;return e&&e.split(` +`).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&Mg[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},td=Symbol("internals");function Or(e){return e&&String(e).trim().toLowerCase()}function sl(e){return e===!1||e==null?e:E.isArray(e)?e.map(sl):String(e)}function Fg(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const zg=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function io(e,t,n,r,i){if(E.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!E.isString(t)){if(E.isString(r))return t.indexOf(r)!==-1;if(E.isRegExp(r))return r.test(t)}}function Ag(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Dg(e,t){const n=E.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,l,s){return this[r].call(this,t,i,l,s)},configurable:!0})})}class be{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function l(a,u,c){const d=Or(u);if(!d)throw new Error("header name must be a non-empty string");const f=E.findKey(i,d);(!f||i[f]===void 0||c===!0||c===void 0&&i[f]!==!1)&&(i[f||u]=sl(a))}const s=(a,u)=>E.forEach(a,(c,d)=>l(c,d,u));if(E.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(E.isString(t)&&(t=t.trim())&&!zg(t))s(Ig(t),n);else if(E.isHeaders(t))for(const[a,u]of t.entries())l(u,a,r);else t!=null&&l(n,t,r);return this}get(t,n){if(t=Or(t),t){const r=E.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return Fg(i);if(E.isFunction(n))return n.call(this,i,r);if(E.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Or(t),t){const r=E.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||io(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function l(s){if(s=Or(s),s){const a=E.findKey(r,s);a&&(!n||io(r,r[a],a,n))&&(delete r[a],i=!0)}}return E.isArray(t)?t.forEach(l):l(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const l=n[r];(!t||io(this,this[l],l,t,!0))&&(delete this[l],i=!0)}return i}normalize(t){const n=this,r={};return E.forEach(this,(i,l)=>{const s=E.findKey(r,l);if(s){n[s]=sl(i),delete n[l];return}const a=t?Ag(l):String(l).trim();a!==l&&delete n[l],n[a]=sl(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return E.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&E.isArray(r)?r.join(", "):r)}),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 r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[td]=this[td]={accessors:{}}).accessors,i=this.prototype;function l(s){const a=Or(s);r[a]||(Dg(i,s),r[a]=!0)}return E.isArray(t)?t.forEach(l):l(t),this}}be.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);E.reduceDescriptors(be.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});E.freezeMethods(be);function lo(e,t){const n=this||Ei,r=t||n,i=be.from(r.headers);let l=r.data;return E.forEach(e,function(a){l=a.call(n,l,i.normalize(),t?t.status:void 0)}),i.normalize(),l}function dp(e){return!!(e&&e.__CANCEL__)}function gr(e,t,n){F.call(this,e??"canceled",F.ERR_CANCELED,t,n),this.name="CanceledError"}E.inherits(gr,F,{__CANCEL__:!0});function fp(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new F("Request failed with status code "+n.status,[F.ERR_BAD_REQUEST,F.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Ug(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Bg(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,l=0,s;return t=t!==void 0?t:1e3,function(u){const c=Date.now(),d=r[l];s||(s=c),n[i]=u,r[i]=c;let f=l,y=0;for(;f!==i;)y+=n[f++],f=f%e;if(i=(i+1)%e,i===l&&(l=(l+1)%e),c-s{n=d,i=null,l&&(clearTimeout(l),l=null),e.apply(null,c)};return[(...c)=>{const d=Date.now(),f=d-n;f>=r?s(c,d):(i=c,l||(l=setTimeout(()=>{l=null,s(i)},r-f)))},()=>i&&s(i)]}const Wl=(e,t,n=3)=>{let r=0;const i=Bg(50,250);return $g(l=>{const s=l.loaded,a=l.lengthComputable?l.total:void 0,u=s-r,c=i(u),d=s<=a;r=s;const f={loaded:s,total:a,progress:a?s/a:void 0,bytes:u,rate:c||void 0,estimated:c&&a&&d?(a-s)/c:void 0,event:l,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(f)},n)},nd=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},rd=e=>(...t)=>E.asap(()=>e(...t)),Wg=Re.hasStandardBrowserEnv?function(){const t=Re.navigator&&/(msie|trident)/i.test(Re.navigator.userAgent),n=document.createElement("a");let r;function i(l){let s=l;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{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 r=i(window.location.href),function(s){const a=E.isString(s)?i(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),Hg=Re.hasStandardBrowserEnv?{write(e,t,n,r,i,l){const s=[e+"="+encodeURIComponent(t)];E.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),E.isString(r)&&s.push("path="+r),E.isString(i)&&s.push("domain="+i),l===!0&&s.push("secure"),document.cookie=s.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 Vg(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Qg(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function mp(e,t){return e&&!Vg(t)?Qg(e,t):t}const id=e=>e instanceof be?{...e}:e;function Rn(e,t){t=t||{};const n={};function r(c,d,f){return E.isPlainObject(c)&&E.isPlainObject(d)?E.merge.call({caseless:f},c,d):E.isPlainObject(d)?E.merge({},d):E.isArray(d)?d.slice():d}function i(c,d,f){if(E.isUndefined(d)){if(!E.isUndefined(c))return r(void 0,c,f)}else return r(c,d,f)}function l(c,d){if(!E.isUndefined(d))return r(void 0,d)}function s(c,d){if(E.isUndefined(d)){if(!E.isUndefined(c))return r(void 0,c)}else return r(void 0,d)}function a(c,d,f){if(f in t)return r(c,d);if(f in e)return r(void 0,c)}const u={url:l,method:l,data:l,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(c,d)=>i(id(c),id(d),!0)};return E.forEach(Object.keys(Object.assign({},e,t)),function(d){const f=u[d]||i,y=f(e[d],t[d],d);E.isUndefined(y)&&f!==a||(n[d]=y)}),n}const pp=e=>{const t=Rn({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:l,headers:s,auth:a}=t;t.headers=s=be.from(s),t.url=ap(mp(t.baseURL,t.url),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let u;if(E.isFormData(n)){if(Re.hasStandardBrowserEnv||Re.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((u=s.getContentType())!==!1){const[c,...d]=u?u.split(";").map(f=>f.trim()).filter(Boolean):[];s.setContentType([c||"multipart/form-data",...d].join("; "))}}if(Re.hasStandardBrowserEnv&&(r&&E.isFunction(r)&&(r=r(t)),r||r!==!1&&Wg(t.url))){const c=i&&l&&Hg.read(l);c&&s.set(i,c)}return t},qg=typeof XMLHttpRequest<"u",Kg=qg&&function(e){return new Promise(function(n,r){const i=pp(e);let l=i.data;const s=be.from(i.headers).normalize();let{responseType:a,onUploadProgress:u,onDownloadProgress:c}=i,d,f,y,N,v;function g(){N&&N(),v&&v(),i.cancelToken&&i.cancelToken.unsubscribe(d),i.signal&&i.signal.removeEventListener("abort",d)}let w=new XMLHttpRequest;w.open(i.method.toUpperCase(),i.url,!0),w.timeout=i.timeout;function h(){if(!w)return;const p=be.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders()),S={data:!a||a==="text"||a==="json"?w.responseText:w.response,status:w.status,statusText:w.statusText,headers:p,config:e,request:w};fp(function(P){n(P),g()},function(P){r(P),g()},S),w=null}"onloadend"in w?w.onloadend=h:w.onreadystatechange=function(){!w||w.readyState!==4||w.status===0&&!(w.responseURL&&w.responseURL.indexOf("file:")===0)||setTimeout(h)},w.onabort=function(){w&&(r(new F("Request aborted",F.ECONNABORTED,e,w)),w=null)},w.onerror=function(){r(new F("Network Error",F.ERR_NETWORK,e,w)),w=null},w.ontimeout=function(){let x=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const S=i.transitional||up;i.timeoutErrorMessage&&(x=i.timeoutErrorMessage),r(new F(x,S.clarifyTimeoutError?F.ETIMEDOUT:F.ECONNABORTED,e,w)),w=null},l===void 0&&s.setContentType(null),"setRequestHeader"in w&&E.forEach(s.toJSON(),function(x,S){w.setRequestHeader(S,x)}),E.isUndefined(i.withCredentials)||(w.withCredentials=!!i.withCredentials),a&&a!=="json"&&(w.responseType=i.responseType),c&&([y,v]=Wl(c,!0),w.addEventListener("progress",y)),u&&w.upload&&([f,N]=Wl(u),w.upload.addEventListener("progress",f),w.upload.addEventListener("loadend",N)),(i.cancelToken||i.signal)&&(d=p=>{w&&(r(!p||p.type?new gr(null,e,w):p),w.abort(),w=null)},i.cancelToken&&i.cancelToken.subscribe(d),i.signal&&(i.signal.aborted?d():i.signal.addEventListener("abort",d)));const m=Ug(i.url);if(m&&Re.protocols.indexOf(m)===-1){r(new F("Unsupported protocol "+m+":",F.ERR_BAD_REQUEST,e));return}w.send(l||null)})},Xg=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i;const l=function(c){if(!i){i=!0,a();const d=c instanceof Error?c:this.reason;r.abort(d instanceof F?d:new gr(d instanceof Error?d.message:d))}};let s=t&&setTimeout(()=>{s=null,l(new F(`timeout ${t} of ms exceeded`,F.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(l):c.removeEventListener("abort",l)}),e=null)};e.forEach(c=>c.addEventListener("abort",l));const{signal:u}=r;return u.unsubscribe=()=>E.asap(a),u}},Yg=function*(e,t){let n=e.byteLength;if(!t||n{const i=Gg(e,t);let l=0,s,a=u=>{s||(s=!0,r&&r(u))};return new ReadableStream({async pull(u){try{const{done:c,value:d}=await i.next();if(c){a(),u.close();return}let f=d.byteLength;if(n){let y=l+=f;n(y)}u.enqueue(new Uint8Array(d))}catch(c){throw a(c),c}},cancel(u){return a(u),i.return()}},{highWaterMark:2})},ws=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",hp=ws&&typeof ReadableStream=="function",Zg=ws&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),yp=(e,...t)=>{try{return!!e(...t)}catch{return!1}},e1=hp&&yp(()=>{let e=!1;const t=new Request(Re.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),sd=64*1024,pa=hp&&yp(()=>E.isReadableStream(new Response("").body)),Hl={stream:pa&&(e=>e.body)};ws&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Hl[t]&&(Hl[t]=E.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new F(`Response type '${t}' is not supported`,F.ERR_NOT_SUPPORT,r)})})})(new Response);const t1=async e=>{if(e==null)return 0;if(E.isBlob(e))return e.size;if(E.isSpecCompliantForm(e))return(await new Request(Re.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(E.isArrayBufferView(e)||E.isArrayBuffer(e))return e.byteLength;if(E.isURLSearchParams(e)&&(e=e+""),E.isString(e))return(await Zg(e)).byteLength},n1=async(e,t)=>{const n=E.toFiniteNumber(e.getContentLength());return n??t1(t)},r1=ws&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:l,timeout:s,onDownloadProgress:a,onUploadProgress:u,responseType:c,headers:d,withCredentials:f="same-origin",fetchOptions:y}=pp(e);c=c?(c+"").toLowerCase():"text";let N=Xg([i,l&&l.toAbortSignal()],s),v;const g=N&&N.unsubscribe&&(()=>{N.unsubscribe()});let w;try{if(u&&e1&&n!=="get"&&n!=="head"&&(w=await n1(d,r))!==0){let S=new Request(t,{method:"POST",body:r,duplex:"half"}),C;if(E.isFormData(r)&&(C=S.headers.get("content-type"))&&d.setContentType(C),S.body){const[P,k]=nd(w,Wl(rd(u)));r=ld(S.body,sd,P,k)}}E.isString(f)||(f=f?"include":"omit");const h="credentials"in Request.prototype;v=new Request(t,{...y,signal:N,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:h?f:void 0});let m=await fetch(v);const p=pa&&(c==="stream"||c==="response");if(pa&&(a||p&&g)){const S={};["status","statusText","headers"].forEach(b=>{S[b]=m[b]});const C=E.toFiniteNumber(m.headers.get("content-length")),[P,k]=a&&nd(C,Wl(rd(a),!0))||[];m=new Response(ld(m.body,sd,P,()=>{k&&k(),g&&g()}),S)}c=c||"text";let x=await Hl[E.findKey(Hl,c)||"text"](m,e);return!p&&g&&g(),await new Promise((S,C)=>{fp(S,C,{data:x,headers:be.from(m.headers),status:m.status,statusText:m.statusText,config:e,request:v})})}catch(h){throw g&&g(),h&&h.name==="TypeError"&&/fetch/i.test(h.message)?Object.assign(new F("Network Error",F.ERR_NETWORK,e,v),{cause:h.cause||h}):F.from(h,h&&h.code,e,v)}}),ha={http:gg,xhr:Kg,fetch:r1};E.forEach(ha,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const od=e=>`- ${e}`,i1=e=>E.isFunction(e)||e===null||e===!1,vp={getAdapter:e=>{e=E.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let l=0;l`adapter ${a} `+(u===!1?"is not supported by the environment":"is not available in the build"));let s=t?l.length>1?`since : +`+l.map(od).join(` +`):" "+od(l[0]):"as no adapter specified";throw new F("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:ha};function so(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new gr(null,e)}function ad(e){return so(e),e.headers=be.from(e.headers),e.data=lo.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),vp.getAdapter(e.adapter||Ei.adapter)(e).then(function(r){return so(e),r.data=lo.call(e,e.transformResponse,r),r.headers=be.from(r.headers),r},function(r){return dp(r)||(so(e),r&&r.response&&(r.response.data=lo.call(e,e.transformResponse,r.response),r.response.headers=be.from(r.response.headers))),Promise.reject(r)})}const gp="1.7.7",_u={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{_u[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const ud={};_u.transitional=function(t,n,r){function i(l,s){return"[Axios v"+gp+"] Transitional option '"+l+"'"+s+(r?". "+r:"")}return(l,s,a)=>{if(t===!1)throw new F(i(s," has been removed"+(n?" in "+n:"")),F.ERR_DEPRECATED);return n&&!ud[s]&&(ud[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(l,s,a):!0}};function l1(e,t,n){if(typeof e!="object")throw new F("options must be an object",F.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const l=r[i],s=t[l];if(s){const a=e[l],u=a===void 0||s(a,l,e);if(u!==!0)throw new F("option "+l+" must be "+u,F.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new F("Unknown option "+l,F.ERR_BAD_OPTION)}}const ya={assertOptions:l1,validators:_u},It=ya.validators;class jn{constructor(t){this.defaults=t,this.interceptors={request:new ed,response:new ed}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const l=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?l&&!String(r.stack).endsWith(l.replace(/^.+\n.+\n/,""))&&(r.stack+=` +`+l):r.stack=l}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Rn(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:l}=n;r!==void 0&&ya.assertOptions(r,{silentJSONParsing:It.transitional(It.boolean),forcedJSONParsing:It.transitional(It.boolean),clarifyTimeoutError:It.transitional(It.boolean)},!1),i!=null&&(E.isFunction(i)?n.paramsSerializer={serialize:i}:ya.assertOptions(i,{encode:It.function,serialize:It.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=l&&E.merge(l.common,l[n.method]);l&&E.forEach(["delete","get","head","post","put","patch","common"],v=>{delete l[v]}),n.headers=be.concat(s,l);const a=[];let u=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(u=u&&g.synchronous,a.unshift(g.fulfilled,g.rejected))});const c=[];this.interceptors.response.forEach(function(g){c.push(g.fulfilled,g.rejected)});let d,f=0,y;if(!u){const v=[ad.bind(this),void 0];for(v.unshift.apply(v,a),v.push.apply(v,c),y=v.length,d=Promise.resolve(n);f{if(!r._listeners)return;let l=r._listeners.length;for(;l-- >0;)r._listeners[l](i);r._listeners=null}),this.promise.then=i=>{let l;const s=new Promise(a=>{r.subscribe(a),l=a}).then(i);return s.cancel=function(){r.unsubscribe(l)},s},t(function(l,s,a){r.reason||(r.reason=new gr(l,s,a),n(r.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=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Cu(function(i){t=i}),cancel:t}}}function s1(e){return function(n){return e.apply(null,n)}}function o1(e){return E.isObject(e)&&e.isAxiosError===!0}const va={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(va).forEach(([e,t])=>{va[t]=e});function xp(e){const t=new jn(e),n=Ym(jn.prototype.request,t);return E.extend(n,jn.prototype,t,{allOwnKeys:!0}),E.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return xp(Rn(e,i))},n}const G=xp(Ei);G.Axios=jn;G.CanceledError=gr;G.CancelToken=Cu;G.isCancel=dp;G.VERSION=gp;G.toFormData=xs;G.AxiosError=F;G.Cancel=G.CanceledError;G.all=function(t){return Promise.all(t)};G.spread=s1;G.isAxiosError=o1;G.mergeConfig=Rn;G.AxiosHeaders=be;G.formToJSON=e=>cp(E.isHTMLForm(e)?new FormData(e):e);G.getAdapter=vp.getAdapter;G.HttpStatusCode=va;G.default=G;const a1="http://67.225.129.127:3002",xr=G.create({baseURL:a1});xr.interceptors.request.use(e=>(localStorage.getItem("profile")&&(e.headers.Authorization=`Bearer ${JSON.parse(localStorage.getItem("profile")).token}`),e));const u1=e=>xr.post("/users/signup",e),c1=e=>xr.post("/users/signin",e),d1=(e,t,n)=>xr.get(`/users/${e}/verify/${t}`,n),f1=e=>xr.post("/properties",e),m1=e=>xr.get(`/properties/user/${e}`,e),ol=un("auth/login",async({formValue:e,navigate:t},{rejectWithValue:n})=>{try{const r=await c1(e);return t("/dashboard"),r.data}catch(r){return n(r.response.data)}}),al=un("auth/register",async({formValue:e,navigate:t,toast:n},{rejectWithValue:r})=>{try{const i=await u1(e);return n.success("Register Successfully"),t("/registrationsuccess"),i.data}catch(i){return r(i.response.data)}}),oo=un("auth/updateUser",async({id:e,data:t},{rejectWithValue:n})=>{try{return(await(void 0)(t,e)).data}catch(r){return n(r.response.data)}}),wp=ju({name:"auth",initialState:{user:null,error:"",loading:!1},reducers:{setUser:(e,t)=>{e.user=t.payload},setLogout:e=>{localStorage.clear(),e.user=null},setUserDetails:(e,t)=>{e.user=t.payload}},extraReducers:e=>{e.addCase(ol.pending,t=>{t.loading=!0}).addCase(ol.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.user=n.payload}).addCase(ol.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message}).addCase(al.pending,t=>{t.loading=!0}).addCase(al.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.user=n.payload}).addCase(al.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message}).addCase(oo.pending,t=>{t.loading=!0}).addCase(oo.fulfilled,(t,n)=>{t.loading=!1,t.user=n.payload}).addCase(oo.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message})}}),{setUser:Tw,setLogout:p1,setUserDetails:Rw}=wp.actions,h1=wp.reducer,ao=un("user/showUser",async({id:e,data:t},{rejectWithValue:n})=>{try{const r=await(void 0)(t,e);return console.log("dsdsdsds22",r),r.data}catch(r){return n(r.response.data)}}),ul=un("user/verifyEmail",async({id:e,token:t,data:n},{rejectWithValue:r})=>{try{return(await d1(e,t,n)).data.message}catch(i){return r(i.response.data)}}),y1=ju({name:"user",initialState:{users:[],error:"",loading:!1,verified:!1},reducers:{},extraReducers:e=>{e.addCase(ao.pending,t=>{t.loading=!0}).addCase(ao.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.users=Array.isArray(n.payload)?n.payload:[]}).addCase(ao.rejected,(t,n)=>{t.loading=!1,t.error=n.payload}).addCase(ul.pending,t=>{t.loading=!0,t.error=null}).addCase(ul.fulfilled,(t,n)=>{t.loading=!1,t.verified=n.payload==="Email verified successfully"}).addCase(ul.rejected,(t,n)=>{t.loading=!1,t.error=n.error.message})}}),v1=y1.reducer,cl=un("property/submitProperty",async(e,{rejectWithValue:t})=>{try{return(await f1(e)).data}catch(n){return t(n.response.data)}}),dl=un("property/fetchUserProperties",async(e,{rejectWithValue:t})=>{try{return(await m1(e)).data}catch(n){return t(n.response.data)}}),fl=un("property/fetchPropertyById",async(e,{rejectWithValue:t})=>{try{return(await G.get(`http://localhost:3002/properties/${e}`)).data}catch(n){return t(n.response.data)}}),g1=ju({name:"property",initialState:{property:{},status:"idle",error:null,userProperties:[],selectedProperty:null},reducers:{},extraReducers:e=>{e.addCase(cl.pending,t=>{t.status="loading"}).addCase(cl.fulfilled,(t,n)=>{t.status="succeeded",t.property=n.payload}).addCase(cl.rejected,(t,n)=>{t.status="failed",t.error=n.payload}).addCase(dl.pending,t=>{t.status="loading"}).addCase(dl.fulfilled,(t,n)=>{t.status="succeeded",t.userProperties=n.payload}).addCase(dl.rejected,(t,n)=>{t.status="failed",t.error=n.payload}).addCase(fl.pending,t=>{t.status="loading"}).addCase(fl.fulfilled,(t,n)=>{t.status="succeeded",t.selectedProperty=n.payload}).addCase(fl.rejected,(t,n)=>{t.status="failed",t.error=n.payload})}}),x1=g1.reducer,w1=m0({reducer:{auth:h1,user:v1,property:x1}});/** * @remix-run/router v1.19.1 * * Copyright (c) Remix Software Inc. @@ -59,7 +59,7 @@ Error generating stack: `+l.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function fi(){return fi=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function xp(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function N1(){return Math.random().toString(36).substr(2,8)}function ud(e,t){return{usr:e.state,key:e.key,idx:t}}function va(e,t,n,r){return n===void 0&&(n=null),fi({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?wr(t):t,{state:n,key:t&&t.key||r||N1()})}function Hl(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function wr(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function j1(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:l=!1}=r,s=i.history,a=Ht.Pop,u=null,c=d();c==null&&(c=0,s.replaceState(fi({},s.state,{idx:c}),""));function d(){return(s.state||{idx:null}).idx}function f(){a=Ht.Pop;let w=d(),h=w==null?null:w-c;c=w,u&&u({action:a,location:g.location,delta:h})}function y(w,h){a=Ht.Push;let m=va(g.location,w,h);c=d()+1;let p=ud(m,c),x=g.createHref(m);try{s.pushState(p,"",x)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;i.location.assign(x)}l&&u&&u({action:a,location:g.location,delta:1})}function N(w,h){a=Ht.Replace;let m=va(g.location,w,h);c=d();let p=ud(m,c),x=g.createHref(m);s.replaceState(p,"",x),l&&u&&u({action:a,location:g.location,delta:0})}function v(w){let h=i.location.origin!=="null"?i.location.origin:i.location.href,m=typeof w=="string"?w:Hl(w);return m=m.replace(/ $/,"%20"),J(h,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,h)}let g={get action(){return a},get location(){return e(i,s)},listen(w){if(u)throw new Error("A history only accepts one active listener");return i.addEventListener(ad,f),u=w,()=>{i.removeEventListener(ad,f),u=null}},createHref(w){return t(i,w)},createURL:v,encodeLocation(w){let h=v(w);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:y,replace:N,go(w){return s.go(w)}};return g}var cd;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(cd||(cd={}));function E1(e,t,n){return n===void 0&&(n="/"),S1(e,t,n,!1)}function S1(e,t,n,r){let i=typeof t=="string"?wr(t):t,l=fr(i.pathname||"/",n);if(l==null)return null;let s=wp(e);k1(s);let a=null;for(let u=0;a==null&&u{let u={relativePath:a===void 0?l.path||"":a,caseSensitive:l.caseSensitive===!0,childrenIndex:s,route:l};u.relativePath.startsWith("/")&&(J(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let c=en([r,u.relativePath]),d=n.concat(u);l.children&&l.children.length>0&&(J(l.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),wp(l.children,t,d,c)),!(l.path==null&&!l.index)&&t.push({path:c,score:b1(c,l.index),routesMeta:d})};return e.forEach((l,s)=>{var a;if(l.path===""||!((a=l.path)!=null&&a.includes("?")))i(l,s);else for(let u of Np(l.path))i(l,s,u)}),t}function Np(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),l=n.replace(/\?$/,"");if(r.length===0)return i?[l,""]:[l];let s=Np(r.join("/")),a=[];return a.push(...s.map(u=>u===""?l:[l,u].join("/"))),i&&a.push(...s),a.map(u=>e.startsWith("/")&&u===""?"/":u)}function k1(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:L1(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const _1=/^:[\w-]+$/,C1=3,P1=2,O1=1,T1=10,R1=-2,dd=e=>e==="*";function b1(e,t){let n=e.split("/"),r=n.length;return n.some(dd)&&(r+=R1),t&&(r+=P1),n.filter(i=>!dd(i)).reduce((i,l)=>i+(_1.test(l)?C1:l===""?O1:T1),r)}function L1(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function M1(e,t,n){let{routesMeta:r}=e,i={},l="/",s=[];for(let a=0;a{let{paramName:y,isOptional:N}=d;if(y==="*"){let g=a[f]||"";s=l.slice(0,l.length-g.length).replace(/(.)\/+$/,"$1")}const v=a[f];return N&&!v?c[y]=void 0:c[y]=(v||"").replace(/%2F/g,"/"),c},{}),pathname:l,pathnameBase:s,pattern:e}}function I1(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),xp(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,u)=>(r.push({paramName:a,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function F1(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return xp(!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 fr(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function z1(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?wr(e):e;return{pathname:n?n.startsWith("/")?n:A1(n,t):t,search:B1(r),hash:$1(i)}}function A1(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 ao(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function D1(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function jp(e,t){let n=D1(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Ep(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=wr(e):(i=fi({},e),J(!i.pathname||!i.pathname.includes("?"),ao("?","pathname","search",i)),J(!i.pathname||!i.pathname.includes("#"),ao("#","pathname","hash",i)),J(!i.search||!i.search.includes("#"),ao("#","search","hash",i)));let l=e===""||i.pathname==="",s=l?"/":i.pathname,a;if(s==null)a=n;else{let f=t.length-1;if(!r&&s.startsWith("..")){let y=s.split("/");for(;y[0]==="..";)y.shift(),f-=1;i.pathname=y.join("/")}a=f>=0?t[f]:"/"}let u=z1(i,a),c=s&&s!=="/"&&s.endsWith("/"),d=(l||s===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(c||d)&&(u.pathname+="/"),u}const en=e=>e.join("/").replace(/\/\/+/g,"/"),U1=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),B1=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,$1=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function W1(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Sp=["post","put","patch","delete"];new Set(Sp);const H1=["get",...Sp];new Set(H1);/** + */function fi(){return fi=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Np(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function j1(){return Math.random().toString(36).substr(2,8)}function dd(e,t){return{usr:e.state,key:e.key,idx:t}}function ga(e,t,n,r){return n===void 0&&(n=null),fi({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?wr(t):t,{state:n,key:t&&t.key||r||j1()})}function Vl(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function wr(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function E1(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:l=!1}=r,s=i.history,a=Vt.Pop,u=null,c=d();c==null&&(c=0,s.replaceState(fi({},s.state,{idx:c}),""));function d(){return(s.state||{idx:null}).idx}function f(){a=Vt.Pop;let w=d(),h=w==null?null:w-c;c=w,u&&u({action:a,location:g.location,delta:h})}function y(w,h){a=Vt.Push;let m=ga(g.location,w,h);c=d()+1;let p=dd(m,c),x=g.createHref(m);try{s.pushState(p,"",x)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;i.location.assign(x)}l&&u&&u({action:a,location:g.location,delta:1})}function N(w,h){a=Vt.Replace;let m=ga(g.location,w,h);c=d();let p=dd(m,c),x=g.createHref(m);s.replaceState(p,"",x),l&&u&&u({action:a,location:g.location,delta:0})}function v(w){let h=i.location.origin!=="null"?i.location.origin:i.location.href,m=typeof w=="string"?w:Vl(w);return m=m.replace(/ $/,"%20"),Z(h,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,h)}let g={get action(){return a},get location(){return e(i,s)},listen(w){if(u)throw new Error("A history only accepts one active listener");return i.addEventListener(cd,f),u=w,()=>{i.removeEventListener(cd,f),u=null}},createHref(w){return t(i,w)},createURL:v,encodeLocation(w){let h=v(w);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:y,replace:N,go(w){return s.go(w)}};return g}var fd;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(fd||(fd={}));function S1(e,t,n){return n===void 0&&(n="/"),k1(e,t,n,!1)}function k1(e,t,n,r){let i=typeof t=="string"?wr(t):t,l=mr(i.pathname||"/",n);if(l==null)return null;let s=jp(e);_1(s);let a=null;for(let u=0;a==null&&u{let u={relativePath:a===void 0?l.path||"":a,caseSensitive:l.caseSensitive===!0,childrenIndex:s,route:l};u.relativePath.startsWith("/")&&(Z(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let c=tn([r,u.relativePath]),d=n.concat(u);l.children&&l.children.length>0&&(Z(l.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),jp(l.children,t,d,c)),!(l.path==null&&!l.index)&&t.push({path:c,score:L1(c,l.index),routesMeta:d})};return e.forEach((l,s)=>{var a;if(l.path===""||!((a=l.path)!=null&&a.includes("?")))i(l,s);else for(let u of Ep(l.path))i(l,s,u)}),t}function Ep(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),l=n.replace(/\?$/,"");if(r.length===0)return i?[l,""]:[l];let s=Ep(r.join("/")),a=[];return a.push(...s.map(u=>u===""?l:[l,u].join("/"))),i&&a.push(...s),a.map(u=>e.startsWith("/")&&u===""?"/":u)}function _1(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:M1(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const C1=/^:[\w-]+$/,P1=3,O1=2,T1=1,R1=10,b1=-2,md=e=>e==="*";function L1(e,t){let n=e.split("/"),r=n.length;return n.some(md)&&(r+=b1),t&&(r+=O1),n.filter(i=>!md(i)).reduce((i,l)=>i+(C1.test(l)?P1:l===""?T1:R1),r)}function M1(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function I1(e,t,n){let{routesMeta:r}=e,i={},l="/",s=[];for(let a=0;a{let{paramName:y,isOptional:N}=d;if(y==="*"){let g=a[f]||"";s=l.slice(0,l.length-g.length).replace(/(.)\/+$/,"$1")}const v=a[f];return N&&!v?c[y]=void 0:c[y]=(v||"").replace(/%2F/g,"/"),c},{}),pathname:l,pathnameBase:s,pattern:e}}function F1(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Np(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,u)=>(r.push({paramName:a,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function z1(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Np(!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,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function A1(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?wr(e):e;return{pathname:n?n.startsWith("/")?n:D1(n,t):t,search:$1(r),hash:W1(i)}}function D1(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 uo(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function U1(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Sp(e,t){let n=U1(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function kp(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=wr(e):(i=fi({},e),Z(!i.pathname||!i.pathname.includes("?"),uo("?","pathname","search",i)),Z(!i.pathname||!i.pathname.includes("#"),uo("#","pathname","hash",i)),Z(!i.search||!i.search.includes("#"),uo("#","search","hash",i)));let l=e===""||i.pathname==="",s=l?"/":i.pathname,a;if(s==null)a=n;else{let f=t.length-1;if(!r&&s.startsWith("..")){let y=s.split("/");for(;y[0]==="..";)y.shift(),f-=1;i.pathname=y.join("/")}a=f>=0?t[f]:"/"}let u=A1(i,a),c=s&&s!=="/"&&s.endsWith("/"),d=(l||s===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(c||d)&&(u.pathname+="/"),u}const tn=e=>e.join("/").replace(/\/\/+/g,"/"),B1=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),$1=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,W1=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function H1(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const _p=["post","put","patch","delete"];new Set(_p);const V1=["get",..._p];new Set(V1);/** * React Router v6.26.1 * * Copyright (c) Remix Software Inc. @@ -68,7 +68,7 @@ Error generating stack: `+l.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function mi(){return mi=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),_.useCallback(function(c,d){if(d===void 0&&(d={}),!a.current)return;if(typeof c=="number"){r.go(c);return}let f=Ep(c,JSON.parse(s),l,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:en([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,s,l,e])}function Pp(){let{matches:e}=_.useContext(cn),t=e[e.length-1];return t?t.params:{}}function js(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=_.useContext(un),{matches:i}=_.useContext(cn),{pathname:l}=ki(),s=JSON.stringify(jp(i,r.v7_relativeSplatPath));return _.useMemo(()=>Ep(e,JSON.parse(s),l,n==="path"),[e,s,l,n])}function q1(e,t){return K1(e,t)}function K1(e,t,n,r){Si()||J(!1);let{navigator:i}=_.useContext(un),{matches:l}=_.useContext(cn),s=l[l.length-1],a=s?s.params:{};s&&s.pathname;let u=s?s.pathnameBase:"/";s&&s.route;let c=ki(),d;if(t){var f;let w=typeof t=="string"?wr(t):t;u==="/"||(f=w.pathname)!=null&&f.startsWith(u)||J(!1),d=w}else d=c;let y=d.pathname||"/",N=y;if(u!=="/"){let w=u.replace(/^\//,"").split("/");N="/"+y.replace(/^\//,"").split("/").slice(w.length).join("/")}let v=E1(e,{pathname:N}),g=Z1(v&&v.map(w=>Object.assign({},w,{params:Object.assign({},a,w.params),pathname:en([u,i.encodeLocation?i.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?u:en([u,i.encodeLocation?i.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),l,n,r);return t&&g?_.createElement(Ns.Provider,{value:{location:mi({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Ht.Pop}},g):g}function X1(){let e=rx(),t=W1(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 _.createElement(_.Fragment,null,_.createElement("h2",null,"Unexpected Application Error!"),_.createElement("h3",{style:{fontStyle:"italic"}},t),n?_.createElement("pre",{style:i},n):null,null)}const Y1=_.createElement(X1,null);class G1 extends _.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?_.createElement(cn.Provider,{value:this.props.routeContext},_.createElement(_p.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function J1(e){let{routeContext:t,match:n,children:r}=e,i=_.useContext(ws);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),_.createElement(cn.Provider,{value:t},r)}function Z1(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var l;if(!n)return null;if(n.errors)e=n.matches;else if((l=r)!=null&&l.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let d=s.findIndex(f=>f.route.id&&(a==null?void 0:a[f.route.id])!==void 0);d>=0||J(!1),s=s.slice(0,Math.min(s.length,d+1))}let u=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d=0?s=s.slice(0,c+1):s=[s[0]];break}}}return s.reduceRight((d,f,y)=>{let N,v=!1,g=null,w=null;n&&(N=a&&f.route.id?a[f.route.id]:void 0,g=f.route.errorElement||Y1,u&&(c<0&&y===0?(v=!0,w=null):c===y&&(v=!0,w=f.route.hydrateFallbackElement||null)));let h=t.concat(s.slice(0,y+1)),m=()=>{let p;return N?p=g:v?p=w:f.route.Component?p=_.createElement(f.route.Component,null):f.route.element?p=f.route.element:p=d,_.createElement(J1,{match:f,routeContext:{outlet:d,matches:h,isDataRoute:n!=null},children:p})};return n&&(f.route.ErrorBoundary||f.route.errorElement||y===0)?_.createElement(G1,{location:n.location,revalidation:n.revalidation,component:g,error:N,children:m(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):m()},null)}var Op=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Op||{}),Ql=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}(Ql||{});function ex(e){let t=_.useContext(ws);return t||J(!1),t}function tx(e){let t=_.useContext(kp);return t||J(!1),t}function nx(e){let t=_.useContext(cn);return t||J(!1),t}function Tp(e){let t=nx(),n=t.matches[t.matches.length-1];return n.route.id||J(!1),n.route.id}function rx(){var e;let t=_.useContext(_p),n=tx(Ql.UseRouteError),r=Tp(Ql.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function ix(){let{router:e}=ex(Op.UseNavigateStable),t=Tp(Ql.UseNavigateStable),n=_.useRef(!1);return Cp(()=>{n.current=!0}),_.useCallback(function(i,l){l===void 0&&(l={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,mi({fromRouteId:t},l)))},[e,t])}function et(e){J(!1)}function lx(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Ht.Pop,navigator:l,static:s=!1,future:a}=e;Si()&&J(!1);let u=t.replace(/^\/*/,"/"),c=_.useMemo(()=>({basename:u,navigator:l,static:s,future:mi({v7_relativeSplatPath:!1},a)}),[u,a,l,s]);typeof r=="string"&&(r=wr(r));let{pathname:d="/",search:f="",hash:y="",state:N=null,key:v="default"}=r,g=_.useMemo(()=>{let w=fr(d,u);return w==null?null:{location:{pathname:w,search:f,hash:y,state:N,key:v},navigationType:i}},[u,d,f,y,N,v,i]);return g==null?null:_.createElement(un.Provider,{value:c},_.createElement(Ns.Provider,{children:n,value:g}))}function sx(e){let{children:t,location:n}=e;return q1(ga(t),n)}new Promise(()=>{});function ga(e,t){t===void 0&&(t=[]);let n=[];return _.Children.forEach(e,(r,i)=>{if(!_.isValidElement(r))return;let l=[...t,i];if(r.type===_.Fragment){n.push.apply(n,ga(r.props.children,l));return}r.type!==et&&J(!1),!r.props.index||!r.props.children||J(!1);let s={id:r.props.id||l.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=ga(r.props.children,l)),n.push(s)}),n}/** + */function mi(){return mi=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),_.useCallback(function(c,d){if(d===void 0&&(d={}),!a.current)return;if(typeof c=="number"){r.go(c);return}let f=kp(c,JSON.parse(s),l,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:tn([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,s,l,e])}function Pu(){let{matches:e}=_.useContext(dn),t=e[e.length-1];return t?t.params:{}}function Es(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=_.useContext(cn),{matches:i}=_.useContext(dn),{pathname:l}=ki(),s=JSON.stringify(Sp(i,r.v7_relativeSplatPath));return _.useMemo(()=>kp(e,JSON.parse(s),l,n==="path"),[e,s,l,n])}function K1(e,t){return X1(e,t)}function X1(e,t,n,r){Si()||Z(!1);let{navigator:i}=_.useContext(cn),{matches:l}=_.useContext(dn),s=l[l.length-1],a=s?s.params:{};s&&s.pathname;let u=s?s.pathnameBase:"/";s&&s.route;let c=ki(),d;if(t){var f;let w=typeof t=="string"?wr(t):t;u==="/"||(f=w.pathname)!=null&&f.startsWith(u)||Z(!1),d=w}else d=c;let y=d.pathname||"/",N=y;if(u!=="/"){let w=u.replace(/^\//,"").split("/");N="/"+y.replace(/^\//,"").split("/").slice(w.length).join("/")}let v=S1(e,{pathname:N}),g=ex(v&&v.map(w=>Object.assign({},w,{params:Object.assign({},a,w.params),pathname:tn([u,i.encodeLocation?i.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?u:tn([u,i.encodeLocation?i.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),l,n,r);return t&&g?_.createElement(js.Provider,{value:{location:mi({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Vt.Pop}},g):g}function Y1(){let e=ix(),t=H1(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 _.createElement(_.Fragment,null,_.createElement("h2",null,"Unexpected Application Error!"),_.createElement("h3",{style:{fontStyle:"italic"}},t),n?_.createElement("pre",{style:i},n):null,null)}const G1=_.createElement(Y1,null);class J1 extends _.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?_.createElement(dn.Provider,{value:this.props.routeContext},_.createElement(Pp.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Z1(e){let{routeContext:t,match:n,children:r}=e,i=_.useContext(Ns);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),_.createElement(dn.Provider,{value:t},r)}function ex(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var l;if(!n)return null;if(n.errors)e=n.matches;else if((l=r)!=null&&l.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let d=s.findIndex(f=>f.route.id&&(a==null?void 0:a[f.route.id])!==void 0);d>=0||Z(!1),s=s.slice(0,Math.min(s.length,d+1))}let u=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d=0?s=s.slice(0,c+1):s=[s[0]];break}}}return s.reduceRight((d,f,y)=>{let N,v=!1,g=null,w=null;n&&(N=a&&f.route.id?a[f.route.id]:void 0,g=f.route.errorElement||G1,u&&(c<0&&y===0?(v=!0,w=null):c===y&&(v=!0,w=f.route.hydrateFallbackElement||null)));let h=t.concat(s.slice(0,y+1)),m=()=>{let p;return N?p=g:v?p=w:f.route.Component?p=_.createElement(f.route.Component,null):f.route.element?p=f.route.element:p=d,_.createElement(Z1,{match:f,routeContext:{outlet:d,matches:h,isDataRoute:n!=null},children:p})};return n&&(f.route.ErrorBoundary||f.route.errorElement||y===0)?_.createElement(J1,{location:n.location,revalidation:n.revalidation,component:g,error:N,children:m(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):m()},null)}var Tp=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Tp||{}),ql=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}(ql||{});function tx(e){let t=_.useContext(Ns);return t||Z(!1),t}function nx(e){let t=_.useContext(Cp);return t||Z(!1),t}function rx(e){let t=_.useContext(dn);return t||Z(!1),t}function Rp(e){let t=rx(),n=t.matches[t.matches.length-1];return n.route.id||Z(!1),n.route.id}function ix(){var e;let t=_.useContext(Pp),n=nx(ql.UseRouteError),r=Rp(ql.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function lx(){let{router:e}=tx(Tp.UseNavigateStable),t=Rp(ql.UseNavigateStable),n=_.useRef(!1);return Op(()=>{n.current=!0}),_.useCallback(function(i,l){l===void 0&&(l={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,mi({fromRouteId:t},l)))},[e,t])}function Qe(e){Z(!1)}function sx(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Vt.Pop,navigator:l,static:s=!1,future:a}=e;Si()&&Z(!1);let u=t.replace(/^\/*/,"/"),c=_.useMemo(()=>({basename:u,navigator:l,static:s,future:mi({v7_relativeSplatPath:!1},a)}),[u,a,l,s]);typeof r=="string"&&(r=wr(r));let{pathname:d="/",search:f="",hash:y="",state:N=null,key:v="default"}=r,g=_.useMemo(()=>{let w=mr(d,u);return w==null?null:{location:{pathname:w,search:f,hash:y,state:N,key:v},navigationType:i}},[u,d,f,y,N,v,i]);return g==null?null:_.createElement(cn.Provider,{value:c},_.createElement(js.Provider,{children:n,value:g}))}function ox(e){let{children:t,location:n}=e;return K1(xa(t),n)}new Promise(()=>{});function xa(e,t){t===void 0&&(t=[]);let n=[];return _.Children.forEach(e,(r,i)=>{if(!_.isValidElement(r))return;let l=[...t,i];if(r.type===_.Fragment){n.push.apply(n,xa(r.props.children,l));return}r.type!==Qe&&Z(!1),!r.props.index||!r.props.children||Z(!1);let s={id:r.props.id||l.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=xa(r.props.children,l)),n.push(s)}),n}/** * React Router DOM v6.26.1 * * Copyright (c) Remix Software Inc. @@ -77,4 +77,4 @@ Error generating stack: `+l.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function ql(){return ql=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function ox(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function ax(e,t){return e.button===0&&(!t||t==="_self")&&!ox(e)}const ux=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],cx=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],dx="6";try{window.__reactRouterVersion=dx}catch{}const fx=_.createContext({isTransitioning:!1}),mx="startTransition",fd=co[mx];function px(e){let{basename:t,children:n,future:r,window:i}=e,l=_.useRef();l.current==null&&(l.current=w1({window:i,v5Compat:!0}));let s=l.current,[a,u]=_.useState({action:s.action,location:s.location}),{v7_startTransition:c}=r||{},d=_.useCallback(f=>{c&&fd?fd(()=>u(f)):u(f)},[u,c]);return _.useLayoutEffect(()=>s.listen(d),[s,d]),_.createElement(lx,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const hx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",yx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,vx=_.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:l,replace:s,state:a,target:u,to:c,preventScrollReset:d,unstable_viewTransition:f}=t,y=Rp(t,ux),{basename:N}=_.useContext(un),v,g=!1;if(typeof c=="string"&&yx.test(c)&&(v=c,hx))try{let p=new URL(window.location.href),x=c.startsWith("//")?new URL(p.protocol+c):new URL(c),S=fr(x.pathname,N);x.origin===p.origin&&S!=null?c=S+x.search+x.hash:g=!0}catch{}let w=V1(c,{relative:i}),h=xx(c,{replace:s,state:a,target:u,preventScrollReset:d,relative:i,unstable_viewTransition:f});function m(p){r&&r(p),p.defaultPrevented||h(p)}return _.createElement("a",ql({},y,{href:v||w,onClick:g||l?r:m,ref:n,target:u}))}),Le=_.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:l="",end:s=!1,style:a,to:u,unstable_viewTransition:c,children:d}=t,f=Rp(t,cx),y=js(u,{relative:f.relative}),N=ki(),v=_.useContext(kp),{navigator:g,basename:w}=_.useContext(un),h=v!=null&&wx(y)&&c===!0,m=g.encodeLocation?g.encodeLocation(y).pathname:y.pathname,p=N.pathname,x=v&&v.navigation&&v.navigation.location?v.navigation.location.pathname:null;i||(p=p.toLowerCase(),x=x?x.toLowerCase():null,m=m.toLowerCase()),x&&w&&(x=fr(x,w)||x);const S=m!=="/"&&m.endsWith("/")?m.length-1:m.length;let C=p===m||!s&&p.startsWith(m)&&p.charAt(S)==="/",P=x!=null&&(x===m||!s&&x.startsWith(m)&&x.charAt(m.length)==="/"),k={isActive:C,isPending:P,isTransitioning:h},b=C?r:void 0,L;typeof l=="function"?L=l(k):L=[l,C?"active":null,P?"pending":null,h?"transitioning":null].filter(Boolean).join(" ");let H=typeof a=="function"?a(k):a;return _.createElement(vx,ql({},f,{"aria-current":b,className:L,ref:n,style:H,to:u,unstable_viewTransition:c}),typeof d=="function"?d(k):d)});var xa;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(xa||(xa={}));var md;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(md||(md={}));function gx(e){let t=_.useContext(ws);return t||J(!1),t}function xx(e,t){let{target:n,replace:r,state:i,preventScrollReset:l,relative:s,unstable_viewTransition:a}=t===void 0?{}:t,u=_i(),c=ki(),d=js(e,{relative:s});return _.useCallback(f=>{if(ax(f,n)){f.preventDefault();let y=r!==void 0?r:Hl(c)===Hl(d);u(e,{replace:y,state:i,preventScrollReset:l,relative:s,unstable_viewTransition:a})}},[c,u,d,r,i,n,e,l,s,a])}function wx(e,t){t===void 0&&(t={});let n=_.useContext(fx);n==null&&J(!1);let{basename:r}=gx(xa.useViewTransitionState),i=js(e,{relative:t.relative});if(!n.isTransitioning)return!1;let l=fr(n.currentLocation.pathname,r)||n.currentLocation.pathname,s=fr(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Vl(i.pathname,s)!=null||Vl(i.pathname,l)!=null}function bp(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;ttypeof e=="number"&&!isNaN(e),jn=e=>typeof e=="string",ze=e=>typeof e=="function",fl=e=>jn(e)||ze(e)?e:null,wa=e=>_.isValidElement(e)||jn(e)||ze(e)||pi(e);function Nx(e,t,n){n===void 0&&(n=300);const{scrollHeight:r,style:i}=e;requestAnimationFrame(()=>{i.minHeight="initial",i.height=r+"px",i.transition=`all ${n}ms`,requestAnimationFrame(()=>{i.height="0",i.padding="0",i.margin="0",setTimeout(t,n)})})}function Es(e){let{enter:t,exit:n,appendPosition:r=!1,collapse:i=!0,collapseDuration:l=300}=e;return function(s){let{children:a,position:u,preventExitTransition:c,done:d,nodeRef:f,isIn:y,playToast:N}=s;const v=r?`${t}--${u}`:t,g=r?`${n}--${u}`:n,w=_.useRef(0);return _.useLayoutEffect(()=>{const h=f.current,m=v.split(" "),p=x=>{x.target===f.current&&(N(),h.removeEventListener("animationend",p),h.removeEventListener("animationcancel",p),w.current===0&&x.type!=="animationcancel"&&h.classList.remove(...m))};h.classList.add(...m),h.addEventListener("animationend",p),h.addEventListener("animationcancel",p)},[]),_.useEffect(()=>{const h=f.current,m=()=>{h.removeEventListener("animationend",m),i?Nx(h,d,l):d()};y||(c?m():(w.current=1,h.className+=` ${g}`,h.addEventListener("animationend",m)))},[y]),j.createElement(j.Fragment,null,a)}}function pd(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 ge=new Map;let hi=[];const Na=new Set,jx=e=>Na.forEach(t=>t(e)),Lp=()=>ge.size>0;function Mp(e,t){var n;if(t)return!((n=ge.get(t))==null||!n.isToastActive(e));let r=!1;return ge.forEach(i=>{i.isToastActive(e)&&(r=!0)}),r}function Ip(e,t){wa(e)&&(Lp()||hi.push({content:e,options:t}),ge.forEach(n=>{n.buildToast(e,t)}))}function hd(e,t){ge.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 Ex(e){const{subscribe:t,getSnapshot:n,setProps:r}=_.useRef(function(l){const s=l.containerId||1;return{subscribe(a){const u=function(d,f,y){let N=1,v=0,g=[],w=[],h=[],m=f;const p=new Map,x=new Set,S=()=>{h=Array.from(p.values()),x.forEach(k=>k())},C=k=>{w=k==null?[]:w.filter(b=>b!==k),S()},P=k=>{const{toastId:b,onOpen:L,updateId:H,children:je}=k.props,Ve=H==null;k.staleId&&p.delete(k.staleId),p.set(b,k),w=[...w,k.props.toastId].filter(Je=>Je!==k.staleId),S(),y(pd(k,Ve?"added":"updated")),Ve&&ze(L)&&L(_.isValidElement(je)&&je.props)};return{id:d,props:m,observe:k=>(x.add(k),()=>x.delete(k)),toggle:(k,b)=>{p.forEach(L=>{b!=null&&b!==L.props.toastId||ze(L.toggle)&&L.toggle(k)})},removeToast:C,toasts:p,clearQueue:()=>{v-=g.length,g=[]},buildToast:(k,b)=>{if((B=>{let{containerId:oe,toastId:ne,updateId:Ee}=B;const ye=oe?oe!==d:d!==1,dt=p.has(ne)&&Ee==null;return ye||dt})(b))return;const{toastId:L,updateId:H,data:je,staleId:Ve,delay:Je}=b,Rt=()=>{C(L)},bt=H==null;bt&&v++;const be={...m,style:m.toastStyle,key:N++,...Object.fromEntries(Object.entries(b).filter(B=>{let[oe,ne]=B;return ne!=null})),toastId:L,updateId:H,data:je,closeToast:Rt,isIn:!1,className:fl(b.className||m.toastClassName),bodyClassName:fl(b.bodyClassName||m.bodyClassName),progressClassName:fl(b.progressClassName||m.progressClassName),autoClose:!b.isLoading&&(T=b.autoClose,M=m.autoClose,T===!1||pi(T)&&T>0?T:M),deleteToast(){const B=p.get(L),{onClose:oe,children:ne}=B.props;ze(oe)&&oe(_.isValidElement(ne)&&ne.props),y(pd(B,"removed")),p.delete(L),v--,v<0&&(v=0),g.length>0?P(g.shift()):S()}};var T,M;be.closeButton=m.closeButton,b.closeButton===!1||wa(b.closeButton)?be.closeButton=b.closeButton:b.closeButton===!0&&(be.closeButton=!wa(m.closeButton)||m.closeButton);let I=k;_.isValidElement(k)&&!jn(k.type)?I=_.cloneElement(k,{closeToast:Rt,toastProps:be,data:je}):ze(k)&&(I=k({closeToast:Rt,toastProps:be,data:je}));const U={content:I,props:be,staleId:Ve};m.limit&&m.limit>0&&v>m.limit&&bt?g.push(U):pi(Je)?setTimeout(()=>{P(U)},Je):P(U)},setProps(k){m=k},setToggle:(k,b)=>{p.get(k).toggle=b},isToastActive:k=>w.some(b=>b===k),getSnapshot:()=>m.newestOnTop?h.reverse():h}}(s,l,jx);ge.set(s,u);const c=u.observe(a);return hi.forEach(d=>Ip(d.content,d.options)),hi=[],()=>{c(),ge.delete(s)}},setProps(a){var u;(u=ge.get(s))==null||u.setProps(a)},getSnapshot(){var a;return(a=ge.get(s))==null?void 0:a.getSnapshot()}}}(e)).current;r(e);const i=_.useSyncExternalStore(t,n,n);return{getToastToRender:function(l){if(!i)return[];const s=new Map;return i.forEach(a=>{const{position:u}=a.props;s.has(u)||s.set(u,[]),s.get(u).push(a)}),Array.from(s,a=>l(a[0],a[1]))},isToastActive:Mp,count:i==null?void 0:i.length}}function Sx(e){const[t,n]=_.useState(!1),[r,i]=_.useState(!1),l=_.useRef(null),s=_.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:a,pauseOnHover:u,closeToast:c,onClick:d,closeOnClick:f}=e;var y,N;function v(){n(!0)}function g(){n(!1)}function w(p){const x=l.current;s.canDrag&&x&&(s.didMove=!0,t&&g(),s.delta=e.draggableDirection==="x"?p.clientX-s.start:p.clientY-s.start,s.start!==p.clientX&&(s.canCloseOnClick=!1),x.style.transform=`translate3d(${e.draggableDirection==="x"?`${s.delta}px, var(--y)`:`0, calc(${s.delta}px + var(--y))`},0)`,x.style.opacity=""+(1-Math.abs(s.delta/s.removalDistance)))}function h(){document.removeEventListener("pointermove",w),document.removeEventListener("pointerup",h);const p=l.current;if(s.canDrag&&s.didMove&&p){if(s.canDrag=!1,Math.abs(s.delta)>s.removalDistance)return i(!0),e.closeToast(),void e.collapseAll();p.style.transition="transform 0.2s, opacity 0.2s",p.style.removeProperty("transform"),p.style.removeProperty("opacity")}}(N=ge.get((y={id:e.toastId,containerId:e.containerId,fn:n}).containerId||1))==null||N.setToggle(y.id,y.fn),_.useEffect(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||g(),window.addEventListener("focus",v),window.addEventListener("blur",g),()=>{window.removeEventListener("focus",v),window.removeEventListener("blur",g)}},[e.pauseOnFocusLoss]);const m={onPointerDown:function(p){if(e.draggable===!0||e.draggable===p.pointerType){s.didMove=!1,document.addEventListener("pointermove",w),document.addEventListener("pointerup",h);const x=l.current;s.canCloseOnClick=!0,s.canDrag=!0,x.style.transition="none",e.draggableDirection==="x"?(s.start=p.clientX,s.removalDistance=x.offsetWidth*(e.draggablePercent/100)):(s.start=p.clientY,s.removalDistance=x.offsetHeight*(e.draggablePercent===80?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(p){const{top:x,bottom:S,left:C,right:P}=l.current.getBoundingClientRect();p.nativeEvent.type!=="touchend"&&e.pauseOnHover&&p.clientX>=C&&p.clientX<=P&&p.clientY>=x&&p.clientY<=S?g():v()}};return a&&u&&(m.onMouseEnter=g,e.stacked||(m.onMouseLeave=v)),f&&(m.onClick=p=>{d&&d(p),s.canCloseOnClick&&c()}),{playToast:v,pauseToast:g,isRunning:t,preventExitTransition:r,toastRef:l,eventHandlers:m}}function kx(e){let{delay:t,isRunning:n,closeToast:r,type:i="default",hide:l,className:s,style:a,controlledProgress:u,progress:c,rtl:d,isIn:f,theme:y}=e;const N=l||u&&c===0,v={...a,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused"};u&&(v.transform=`scaleX(${c})`);const g=Vt("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}),w=ze(s)?s({rtl:d,type:i,defaultClassName:g}):Vt(g,s),h={[u&&c>=1?"onTransitionEnd":"onAnimationEnd"]:u&&c<1?null:()=>{f&&r()}};return j.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":N},j.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${y} Toastify__progress-bar--${i}`}),j.createElement("div",{role:"progressbar","aria-hidden":N?"true":"false","aria-label":"notification timer",className:w,style:v,...h}))}let _x=1;const Fp=()=>""+_x++;function Cx(e){return e&&(jn(e.toastId)||pi(e.toastId))?e.toastId:Fp()}function Vr(e,t){return Ip(e,t),t.toastId}function Kl(e,t){return{...t,type:t&&t.type||e,toastId:Cx(t)}}function Vi(e){return(t,n)=>Vr(t,Kl(e,n))}function z(e,t){return Vr(e,Kl("default",t))}z.loading=(e,t)=>Vr(e,Kl("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),z.promise=function(e,t,n){let r,{pending:i,error:l,success:s}=t;i&&(r=jn(i)?z.loading(i,n):z.loading(i.render,{...n,...i}));const a={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},u=(d,f,y)=>{if(f==null)return void z.dismiss(r);const N={type:d,...a,...n,data:y},v=jn(f)?{render:f}:f;return r?z.update(r,{...N,...v}):z(v.render,{...N,...v}),y},c=ze(e)?e():e;return c.then(d=>u("success",s,d)).catch(d=>u("error",l,d)),c},z.success=Vi("success"),z.info=Vi("info"),z.error=Vi("error"),z.warning=Vi("warning"),z.warn=z.warning,z.dark=(e,t)=>Vr(e,Kl("default",{theme:"dark",...t})),z.dismiss=function(e){(function(t){var n;if(Lp()){if(t==null||jn(n=t)||pi(n))ge.forEach(r=>{r.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){const r=ge.get(t.containerId);r?r.removeToast(t.id):ge.forEach(i=>{i.removeToast(t.id)})}}else hi=hi.filter(r=>t!=null&&r.options.toastId!==t)})(e)},z.clearWaitingQueue=function(e){e===void 0&&(e={}),ge.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},z.isActive=Mp,z.update=function(e,t){t===void 0&&(t={});const n=((r,i)=>{var l;let{containerId:s}=i;return(l=ge.get(s||1))==null?void 0:l.toasts.get(r)})(e,t);if(n){const{props:r,content:i}=n,l={delay:100,...r,...t,toastId:t.toastId||e,updateId:Fp()};l.toastId!==e&&(l.staleId=e);const s=l.render||i;delete l.render,Vr(s,l)}},z.done=e=>{z.update(e,{progress:1})},z.onChange=function(e){return Na.add(e),()=>{Na.delete(e)}},z.play=e=>hd(!0,e),z.pause=e=>hd(!1,e);const Px=typeof window<"u"?_.useLayoutEffect:_.useEffect,Qi=e=>{let{theme:t,type:n,isLoading:r,...i}=e;return j.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:t==="colored"?"currentColor":`var(--toastify-icon-color-${n})`,...i})},uo={info:function(e){return j.createElement(Qi,{...e},j.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 j.createElement(Qi,{...e},j.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 j.createElement(Qi,{...e},j.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 j.createElement(Qi,{...e},j.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 j.createElement("div",{className:"Toastify__spinner"})}},Ox=e=>{const{isRunning:t,preventExitTransition:n,toastRef:r,eventHandlers:i,playToast:l}=Sx(e),{closeButton:s,children:a,autoClose:u,onClick:c,type:d,hideProgressBar:f,closeToast:y,transition:N,position:v,className:g,style:w,bodyClassName:h,bodyStyle:m,progressClassName:p,progressStyle:x,updateId:S,role:C,progress:P,rtl:k,toastId:b,deleteToast:L,isIn:H,isLoading:je,closeOnClick:Ve,theme:Je}=e,Rt=Vt("Toastify__toast",`Toastify__toast-theme--${Je}`,`Toastify__toast--${d}`,{"Toastify__toast--rtl":k},{"Toastify__toast--close-on-click":Ve}),bt=ze(g)?g({rtl:k,position:v,type:d,defaultClassName:Rt}):Vt(Rt,g),be=function(U){let{theme:B,type:oe,isLoading:ne,icon:Ee}=U,ye=null;const dt={theme:B,type:oe};return Ee===!1||(ze(Ee)?ye=Ee({...dt,isLoading:ne}):_.isValidElement(Ee)?ye=_.cloneElement(Ee,dt):ne?ye=uo.spinner():(Bp=>Bp in uo)(oe)&&(ye=uo[oe](dt))),ye}(e),T=!!P||!u,M={closeToast:y,type:d,theme:Je};let I=null;return s===!1||(I=ze(s)?s(M):_.isValidElement(s)?_.cloneElement(s,M):function(U){let{closeToast:B,theme:oe,ariaLabel:ne="close"}=U;return j.createElement("button",{className:`Toastify__close-button Toastify__close-button--${oe}`,type:"button",onClick:Ee=>{Ee.stopPropagation(),B(Ee)},"aria-label":ne},j.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},j.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"})))}(M)),j.createElement(N,{isIn:H,done:L,position:v,preventExitTransition:n,nodeRef:r,playToast:l},j.createElement("div",{id:b,onClick:c,"data-in":H,className:bt,...i,style:w,ref:r},j.createElement("div",{...H&&{role:C},className:ze(h)?h({type:d}):Vt("Toastify__toast-body",h),style:m},be!=null&&j.createElement("div",{className:Vt("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!je})},be),j.createElement("div",null,a)),I,j.createElement(kx,{...S&&!T?{key:`pb-${S}`}:{},rtl:k,theme:Je,delay:u,isRunning:t,isIn:H,closeToast:y,hide:f,type:d,style:x,className:p,controlledProgress:T,progress:P||0})))},Ss=function(e,t){return t===void 0&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},Tx=Es(Ss("bounce",!0));Es(Ss("slide",!0));Es(Ss("zoom"));Es(Ss("flip"));const Rx={position:"top-right",transition:Tx,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function bx(e){let t={...Rx,...e};const n=e.stacked,[r,i]=_.useState(!0),l=_.useRef(null),{getToastToRender:s,isToastActive:a,count:u}=Ex(t),{className:c,style:d,rtl:f,containerId:y}=t;function N(g){const w=Vt("Toastify__toast-container",`Toastify__toast-container--${g}`,{"Toastify__toast-container--rtl":f});return ze(c)?c({position:g,rtl:f,defaultClassName:w}):Vt(w,fl(c))}function v(){n&&(i(!0),z.play())}return Px(()=>{if(n){var g;const w=l.current.querySelectorAll('[data-in="true"]'),h=12,m=(g=t.position)==null?void 0:g.includes("top");let p=0,x=0;Array.from(w).reverse().forEach((S,C)=>{const P=S;P.classList.add("Toastify__toast--stacked"),C>0&&(P.dataset.collapsed=`${r}`),P.dataset.pos||(P.dataset.pos=m?"top":"bot");const k=p*(r?.2:1)+(r?0:h*C);P.style.setProperty("--y",`${m?k:-1*k}px`),P.style.setProperty("--g",`${h}`),P.style.setProperty("--s",""+(1-(r?x:0))),p+=P.offsetHeight,x+=.025})}},[r,u,n]),j.createElement("div",{ref:l,className:"Toastify",id:y,onMouseEnter:()=>{n&&(i(!1),z.pause())},onMouseLeave:v},s((g,w)=>{const h=w.length?{...d}:{...d,pointerEvents:"none"};return j.createElement("div",{className:N(g),style:h,key:`container-${g}`},w.map(m=>{let{content:p,props:x}=m;return j.createElement(Ox,{...x,stacked:n,collapseAll:v,isIn:a(x.toastId,x.containerId),style:x.style,key:`toast-${x.key}`},p)}))}))}const gt=()=>{const e=new Date().getFullYear();return o.jsx(o.Fragment,{children:o.jsxs("div",{children:[o.jsx("div",{className:"footer_section layout_padding",children:o.jsxs("div",{className:"container",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-md-12"})}),o.jsx("div",{className:"footer_section_2",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsx("h2",{className:"useful_text",children:"QUICK LINKS"}),o.jsx("div",{className:"footer_menu",children:o.jsxs("ul",{children:[o.jsx("li",{children:o.jsx("a",{href:"index.html",children:"Home"})}),o.jsx("li",{children:o.jsx("a",{href:"about.html",children:"About"})}),o.jsx("li",{children:o.jsx("a",{href:"services.html",children:"Services"})}),o.jsx("li",{children:o.jsx("a",{href:"projects.html",children:"Projects"})}),o.jsx("li",{children:o.jsx("a",{href:"contact.html",children:"Contact Us"})})]})})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsx("h2",{className:"useful_text",children:"Work Portfolio"}),o.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"})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsx("h2",{className:"useful_text",children:"SIGN UP TO OUR NEWSLETTER"}),o.jsxs("div",{className:"form-group",children:[o.jsx("textarea",{className:"update_mail",placeholder:"Enter Your Email",rows:5,id:"comment",name:"Enter Your Email",defaultValue:""}),o.jsx("div",{className:"subscribe_bt",children:o.jsx("a",{href:"#",children:"Subscribe"})})]})]})]})}),o.jsx("div",{className:"social_icon",children:o.jsxs("ul",{children:[o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-facebook","aria-hidden":"true"})})}),o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-twitter","aria-hidden":"true"})})}),o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-linkedin","aria-hidden":"true"})})}),o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-instagram","aria-hidden":"true"})})})]})})]})}),o.jsx("div",{className:"copyright_section",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("p",{className:"copyright_text",children:[e," All Rights Reserved."]})})})})})]})})},Lx="/assets/logo-Cb1x1exd.png",ct=()=>{var i,l;const{user:e}=ln(s=>({...s.auth})),t=yr(),n=_i(),r=()=>{t(m1()),n("/")};return o.jsx(o.Fragment,{children:o.jsx("div",{className:"navbar navbar-expand-lg w-100",style:{backgroundColor:"#000000",position:"fixed",top:0,left:0,right:0,zIndex:1e3},children:o.jsxs("div",{className:"container-fluid d-flex align-items-center justify-content-between",children:[o.jsxs("div",{className:"d-flex align-items-center",children:[o.jsx("img",{src:Lx,alt:"logo",width:"75",height:"75",className:"img-fluid"}),o.jsx("p",{style:{display:"inline-block",fontStyle:"italic",fontSize:"14px",color:"white",margin:"0 0 0 10px"}})]}),o.jsxs("div",{className:"collapse navbar-collapse",id:"navbarSupportedContent",children:[o.jsxs("ul",{className:"navbar-nav ml-auto",children:[o.jsx("li",{className:"nav-item active",children:o.jsx(Le,{to:"/",className:"nav-link",children:"Home"})}),o.jsx("li",{className:"nav-item",children:o.jsx(Le,{to:"/services",className:"nav-link",children:"Services"})}),o.jsx("li",{className:"nav-item",children:o.jsx(Le,{to:"/about",className:"nav-link",children:"About"})}),o.jsx("li",{className:"nav-item",children:o.jsx(Le,{to:"/projects",className:"nav-link",children:"Project"})}),o.jsx("li",{className:"nav-item",children:o.jsx(Le,{to:"/contact",className:"nav-link",children:"Contact"})})]}),(i=e==null?void 0:e.result)!=null&&i._id?o.jsx(Le,{to:"/dashboard",children:"Dashboard"}):o.jsx(Le,{to:"/register",className:"nav-link",children:"Register"}),(l=e==null?void 0:e.result)!=null&&l._id?o.jsx(Le,{to:"/login",children:o.jsx("p",{className:"header-text",onClick:r,children:"Logout"})}):o.jsx(Le,{to:"/login",className:"nav-link",children:"Login"})]})]})})})},Mx=()=>o.jsxs(o.Fragment,{children:[o.jsx(ct,{}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsxs("div",{children:[o.jsx("div",{className:"header_section",children:o.jsx("div",{className:"banner_section layout_padding",children:o.jsxs("div",{id:"my_slider",className:"carousel slide","data-ride":"carousel",children:[o.jsxs("div",{className:"carousel-inner",children:[o.jsx("div",{className:"carousel-item active",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("div",{className:"banner_taital_main",children:[o.jsx("h1",{className:"banner_taital",children:"Reinventing real estate investment"}),o.jsxs("p",{className:"banner_text",children:["Owners/operators, and real estate investment firms to excel in what they do best: finding new opportunities"," "]}),o.jsxs("div",{className:"btn_main",children:[o.jsx("div",{className:"started_text active",children:o.jsx("a",{href:"#",children:"Contact US"})}),o.jsx("div",{className:"started_text",children:o.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),o.jsx("div",{className:"carousel-item",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("div",{className:"banner_taital_main",children:[o.jsx("h1",{className:"banner_taital",children:"streamline investment management"}),o.jsxs("p",{className:"banner_text",children:["Best possible experience to our customers and their investors."," "]}),o.jsxs("div",{className:"btn_main",children:[o.jsx("div",{className:"started_text active",children:o.jsx("a",{href:"#",children:"Contact US"})}),o.jsx("div",{className:"started_text",children:o.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),o.jsx("div",{className:"carousel-item",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("div",{className:"banner_taital_main",children:[o.jsx("h1",{className:"banner_taital",children:"Increase your efficiency and security"}),o.jsxs("p",{className:"banner_text",children:["All-in-one real estate investment management platform with 100% security tools"," "]}),o.jsxs("div",{className:"btn_main",children:[o.jsx("div",{className:"started_text active",children:o.jsx("a",{href:"#",children:"Contact US"})}),o.jsx("div",{className:"started_text",children:o.jsx("a",{href:"#",children:"About Us"})})]})]})})})})})]}),o.jsx("a",{className:"carousel-control-prev",href:"#my_slider",role:"button","data-slide":"prev",children:o.jsx("i",{className:"fa fa-angle-left"})}),o.jsx("a",{className:"carousel-control-next",href:"#my_slider",role:"button","data-slide":"next",children:o.jsx("i",{className:"fa fa-angle-right"})})]})})}),o.jsx("div",{className:"services_section layout_padding",children:o.jsxs("div",{className:"container-fluid",children:[o.jsx("div",{className:"row",children:o.jsxs("div",{className:"col-sm-12",children:[o.jsx("h1",{className:"services_taital",children:"Our Services"}),o.jsx("p",{className:"services_text_1",children:"your documents, always and immediately within reach"})]})}),o.jsx("div",{className:"services_section_2",children:o.jsxs("div",{className:"row",children:[o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main active",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-1.png"})}),o.jsx("h4",{className:"development_text",children:"Dedication Services"}),o.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"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})}),o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-2.png"})}),o.jsx("h4",{className:"development_text",children:"Building work Reports"}),o.jsx("p",{className:"services_text",children:"Deliver all the reports your investors need. Eliminate manual work and human errors with automatic distribution and allocation"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})}),o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-3.png"})}),o.jsx("h4",{className:"development_text",children:"Reporting continuously"}),o.jsx("p",{className:"services_text",children:"Streamlining investor interactions, gaining complete visibility into your data, and using smart filters to create automatic workflows"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})}),o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-4.png"})}),o.jsx("h4",{className:"development_text",children:"Manage your investment "}),o.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"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})})]})})]})}),o.jsxs("div",{className:"projects_section layout_padding",children:[o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsxs("div",{className:"col-md-12",children:[o.jsx("h1",{className:"projects_taital",children:"Projects"}),o.jsx("div",{className:"nav-tabs-navigation",children:o.jsx("div",{className:"nav-tabs-wrapper",children:o.jsxs("ul",{className:"nav ","data-tabs":"tabs",children:[o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link active",href:"#","data-toggle":"tab",children:"Category filter"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"All"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Paintingl"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Reconstructionl"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Repairsl"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Residentall"})})]})})})]})})}),o.jsx("div",{className:"projects_section_2 layout_padding",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"pets_section",children:o.jsx("div",{className:"pets_section_2",children:o.jsx("div",{id:"main_slider",className:"carousel slide","data-ride":"carousel",children:o.jsxs("div",{className:"carousel-inner",children:[o.jsx("div",{className:"carousel-item active",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})}),o.jsx("div",{className:"carousel-item",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})}),o.jsx("div",{className:"carousel-item",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})})]})})})})})})]})]}),o.jsx(gt,{})]}),Ix=()=>o.jsxs(o.Fragment,{children:[o.jsx(ct,{}),o.jsxs("div",{className:"about_section layout_padding",children:[o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsx("div",{className:"container",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-6",children:[o.jsx("h1",{className:"about_taital",children:"About Us"}),o.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"," "]}),o.jsx("div",{className:"read_bt_1",children:o.jsx("a",{href:"#",children:"Read More"})})]}),o.jsx("div",{className:"col-md-6",children:o.jsx("div",{className:"about_img",children:o.jsx("div",{className:"video_bt",children:o.jsx("div",{className:"play_icon",children:o.jsx("img",{src:"images/play-icon.png"})})})})})]})}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{})]}),o.jsx(gt,{})]}),Fx=()=>o.jsxs(o.Fragment,{children:[o.jsx(ct,{}),o.jsxs("div",{className:"contact_section layout_padding",children:[o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-md-12",children:o.jsx("h1",{className:"contact_taital",children:"Contact Us"})})})}),o.jsx("div",{className:"container-fluid",children:o.jsx("div",{className:"contact_section_2",children:o.jsxs("div",{className:"row",children:[o.jsx("div",{className:"col-md-6",children:o.jsx("form",{action:!0,children:o.jsxs("div",{className:"mail_section_1",children:[o.jsx("input",{type:"text",className:"mail_text",placeholder:"Name",name:"Name"}),o.jsx("input",{type:"text",className:"mail_text",placeholder:"Phone Number",name:"Phone Number"}),o.jsx("input",{type:"text",className:"mail_text",placeholder:"Email",name:"Email"}),o.jsx("textarea",{className:"massage-bt",placeholder:"Massage",rows:5,id:"comment",name:"Massage",defaultValue:""}),o.jsx("div",{className:"send_bt",children:o.jsx("a",{href:"#",children:"SEND"})})]})})}),o.jsx("div",{className:"col-md-6 padding_left_15",children:o.jsx("div",{className:"contact_img",children:o.jsx("img",{src:"images/contact-img.png"})})})]})})})]}),o.jsx(gt,{})]});var wt=function(){return wt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{const[e,t]=_.useState(ow),[n,r]=_.useState(!1),{loading:i,error:l}=ln(S=>({...S.auth})),{title:s,email:a,password:u,firstName:c,middleName:d,lastName:f,confirmPassword:y,termsconditions:N,userType:v}=e,g=yr(),w=_i();_.useEffect(()=>{l&&z.error(l)},[l]),_.useEffect(()=>{r(s!=="None"&&a&&u&&c&&d&&f&&y&&N&&v!=="")},[s,a,u,c,d,f,y,N,v]);const h=S=>{if(S.preventDefault(),u!==y)return z.error("Password should match");n?g(al({formValue:e,navigate:w,toast:z})):z.error("Please fill in all fields and select all checkboxes")},m=S=>S.charAt(0).toUpperCase()+S.slice(1),p=S=>{const{name:C,value:P,type:k,checked:b}=S.target;t(k==="checkbox"?L=>({...L,[C]:b}):L=>({...L,[C]:C==="email"||C==="password"||C==="confirmPassword"?P:m(P)}))},x=S=>{t(C=>({...C,userType:S.target.value}))};return o.jsxs(o.Fragment,{children:[o.jsx(ct,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("section",{className:"card",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:o.jsx("div",{className:"container-fluid px-0",children:o.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[o.jsx("div",{className:"col-12 col-md-0 col-xl-20 text-center text-md-start"}),o.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:o.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:o.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"mb-4",children:[o.jsx("h2",{className:"h3",children:"Registration"}),o.jsx("h3",{style:{color:"red"},children:'All fields are mandatory to enable "Sign up"'}),o.jsx("hr",{})]})})}),o.jsx("form",{onSubmit:h,children:o.jsxs("div",{className:"row gy-3 overflow-hidden",children:[o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsxs("label",{className:"form-label",children:["Please select the role. ",o.jsx("br",{}),o.jsx("br",{})]}),o.jsxs("div",{className:"form-check form-check-inline",children:[o.jsx("input",{className:"form-check-input",type:"radio",name:"userType",value:"Lender",checked:v==="Lender",onChange:x,required:!0}),o.jsx("label",{className:"form-check-label",children:"Lender"})]}),o.jsxs("div",{className:"form-check form-check-inline",children:[o.jsx("input",{className:"form-check-input",type:"radio",name:"userType",value:"Borrower",checked:v==="Borrower",onChange:x,required:!0}),o.jsxs("label",{className:"form-check-label",children:["Borrower"," "]}),o.jsx("br",{}),o.jsx("br",{})]})]})}),o.jsxs("div",{className:"col-12",children:[o.jsxs("select",{className:"form-floating mb-3 form-control","aria-label":"Default select example",name:"title",value:s,onChange:p,children:[o.jsx("option",{value:"None",children:"Please Select Title"}),o.jsx("option",{value:"Dr",children:"Dr"}),o.jsx("option",{value:"Prof",children:"Prof"}),o.jsx("option",{value:"Mr",children:"Mr"}),o.jsx("option",{value:"Miss",children:"Miss"})]}),o.jsx("br",{})]}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",value:c,name:"firstName",onChange:p,placeholder:"First Name",required:"required"}),o.jsx("label",{htmlFor:"firstName",className:"form-label",children:"First Name"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",value:d,name:"middleName",onChange:p,placeholder:"Middle Name",required:"required"}),o.jsx("label",{htmlFor:"middleName",className:"form-label",children:"Middle Name"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",value:f,name:"lastName",onChange:p,placeholder:"Last Name",required:"required"}),o.jsx("label",{htmlFor:"lastName",className:"form-label",children:"Last Name"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"email",className:"form-control",value:a,name:"email",onChange:p,placeholder:"name@example.com",required:"required"}),o.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"password",className:"form-control",value:u,name:"password",onChange:p,placeholder:"Password",required:"required"}),o.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"password",className:"form-control",value:y,name:"confirmPassword",onChange:p,placeholder:"confirmPassword",required:"required"}),o.jsx("label",{htmlFor:"password",className:"form-label",children:"Retype Password"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-check",children:[o.jsx("input",{className:"form-check-input",type:"checkbox",id:"termsconditions",value:N,name:"termsconditions",checked:N,onChange:p,required:!0}),o.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["I agree to the"," ",o.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"terms and conditions"})]})]})}),o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-grid",children:o.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},disabled:!n||i,children:[i&&o.jsx(zp.Bars,{}),"Sign up"]})})})]})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:o.jsxs("p",{className:"m-0 text-secondary text-center",children:["Already have an account?"," ",o.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"Sign in"})]})})})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12"})})]})})})]})})}),o.jsx(gt,{})]})},uw={email:"",password:""},cw=()=>{const[e,t]=_.useState(uw),{loading:n,error:r}=ln(d=>({...d.auth})),{email:i,password:l}=e,s=yr(),a=_i();_.useEffect(()=>{r&&z.error(r)},[r]);const u=d=>{d.preventDefault(),i&&l&&s(ol({formValue:e,navigate:a,toast:z}))},c=d=>{let{name:f,value:y}=d.target;t({...e,[f]:y})};return o.jsxs(o.Fragment,{children:[o.jsx(ct,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("section",{className:"py-19 py-md-5 py-xl-8",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:o.jsx("div",{className:"container-fluid px-0",children:o.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[o.jsx("div",{className:"col-12 col-md-6 col-xl-20 text-center text-md-start",children:o.jsx("div",{className:"text-bg-primary",children:o.jsxs("div",{className:"px-4",children:[o.jsx("hr",{className:"border-primary-subtle mb-4"}),o.jsx("p",{className:"lead mb-5",children:"A beautiful, easy-to-use, and secure Investor Portal that gives your investors everything they may need"}),o.jsx("div",{className:"text-endx",children:o.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:o.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"})})})]})})}),o.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:o.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:o.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"mb-4",children:o.jsx("h2",{className:"h3",children:"Please Login"})})})}),o.jsx("form",{method:"POST",children:o.jsxs("div",{className:"row gy-3 overflow-hidden",children:[o.jsx("div",{className:"col-12"}),o.jsx("div",{className:"col-12"}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"email",className:"form-control",id:"email",placeholder:"name@example.com",value:i,name:"email",onChange:c,required:!0}),o.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"password",className:"form-control",id:"password",placeholder:"Password",value:l,name:"password",onChange:c,required:!0}),o.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-check",children:[o.jsx("input",{className:"form-check-input",type:"checkbox",name:"iAgree",id:"iAgree",required:!0}),o.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["Remember me"," "]})]})}),o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-grid",children:o.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",name:"signin",value:"Sign in",onClick:u,style:{backgroundColor:"#fda417",border:"#fda417"},children:[n&&o.jsx(zp.Bars,{}),"Sign In"]})})})]})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:o.jsxs("p",{className:"m-0 text-secondary text-center",children:["Don't have an account?"," ",o.jsx(Le,{to:"/register",className:"link-primary text-decoration-none",children:"Register"}),o.jsx(Le,{to:"/forgotpassword",className:"nav-link",children:"Forgot Password"})]})})})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12"})})]})})})]})})}),o.jsx(gt,{})]})},dw="/assets/samplepic-BM_cnzgz.jpg",fw=()=>{const[e,t]=_.useState("propertydetails"),n=()=>{e==="propertydetails"&&t("shipping")},r=()=>{e==="shipping"&&t("propertydetails")},i=yr(),{status:l,error:s}=ln(v=>v.property),{user:a}=ln(v=>({...v.auth})),[u,c]=_.useState({propertyType:"",title:"",yearBuild:"",totalSqft:""}),[d,f]=_.useState(!1),y=v=>{c({...u,[v.target.name]:v.target.value})},N=()=>{var v,g,w,h,m,p;if(u.propertyType&&u.title&&u.yearBuild&&u.totalSqft){const x={...u,userfirstname:(v=a==null?void 0:a.result)==null?void 0:v.firstName,usermiddlename:(g=a==null?void 0:a.result)==null?void 0:g.middleName,userlastname:(w=a==null?void 0:a.result)==null?void 0:w.lastName,usertitle:(h=a==null?void 0:a.result)==null?void 0:h.title,useremail:(m=a==null?void 0:a.result)==null?void 0:m.email,userId:(p=a==null?void 0:a.result)==null?void 0:p.userId};i(cl(x)),f(!0)}else z.error("Please fill all fields before submitting",{position:"top-right",autoClose:3e3})};return _.useEffect(()=>{d&&(l==="succeeded"?(z.success("Property submitted successfully!",{position:"top-right",autoClose:3e3}),f(!1)):l==="failed"&&(z.error(`Failed to submit: ${s}`,{position:"top-right",autoClose:3e3}),f(!1)))},[l,s,d]),o.jsx(o.Fragment,{children:o.jsxs("div",{className:"container tabs-wrap",children:[o.jsx(ct,{}),o.jsxs("ul",{className:"nav nav-tabs",role:"tablist",children:[o.jsx("li",{role:"presentation",className:e==="propertydetails"?"active tab":"tab",children:o.jsx("a",{onClick:()=>t("propertydetails"),role:"tab",children:"Property Details"})}),o.jsx("li",{role:"presentation",className:e==="shipping"?"active tab":"tab",children:o.jsx("a",{onClick:()=>t("shipping"),role:"tab",children:"Delivery Address"})})]}),o.jsxs("div",{className:"tab-content",children:[e==="propertydetails"&&o.jsxs("div",{role:"tabpanel",className:"tab-pane active",children:[o.jsx("h3",{children:"Property Details"}),o.jsx("form",{children:o.jsxs("div",{className:"row gy-3 overflow-hidden",children:[o.jsx("div",{className:"col-12",children:o.jsxs("select",{className:"form-floating mb-3 form-control",name:"propertyType",value:u.propertyType,onChange:y,required:!0,children:[o.jsx("option",{value:"",children:"Please Select Property Type"}),o.jsx("option",{value:"Residential",children:"Residential"}),o.jsx("option",{value:"Land",children:"Land"}),o.jsx("option",{value:"Commercial",children:"Commercial"}),o.jsx("option",{value:"Industrial",children:"Industrial"}),o.jsx("option",{value:"Water",children:"Water"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",name:"title",value:u.title,onChange:y,placeholder:"Property title",required:!0}),o.jsx("label",{htmlFor:"title",className:"form-label",children:"Property Title"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",name:"yearBuild",value:u.yearBuild,onChange:y,placeholder:"Year build",required:!0}),o.jsx("label",{htmlFor:"yearBuild",className:"form-label",children:"Year Build"})]})})]})}),o.jsx("button",{className:"btn btn-primary continue",onClick:n,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Continue"})]}),e==="shipping"&&o.jsxs("div",{role:"tabpanel",className:"tab-pane active",children:[o.jsx("h3",{children:"Shipping Address"}),o.jsx("form",{children:o.jsx("div",{className:"row gy-3 overflow-hidden",children:o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",name:"totalSqft",value:u.totalSqft,onChange:y,placeholder:"Total SQFT",required:!0}),o.jsx("label",{htmlFor:"totalSqft",className:"form-label",children:"Total SQFT"})]})})})}),o.jsx("button",{className:"btn btn-primary back",onClick:r,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Go Back"})," ",o.jsx("button",{type:"button",className:"btn btn-primary continue",style:{backgroundColor:"#fda417",border:"#fda417"},onClick:N,children:"Submit"})]})]})]})})},mw=()=>{var s;const e=yr(),{user:t}=ln(a=>({...a.auth})),{userProperties:n}=ln(a=>a.property),[r,i]=_.useState("dashboard");_.useEffect(()=>{var a;r==="activeProperties"&&e(dl((a=t==null?void 0:t.result)==null?void 0:a.userId))},[r,e,(s=t==null?void 0:t.result)==null?void 0:s.userId]);const l=()=>{switch(r){case"addProperty":return o.jsx(fw,{});case"activeProperties":return o.jsxs("div",{children:[o.jsx("h3",{children:"Active Properties"}),n.length>0?o.jsx("ul",{children:n.map(a=>o.jsx("li",{children:a.title},a._id))}):o.jsx("p",{children:"No active properties found."})]});case"closedProperties":return o.jsx("p",{children:"These are your closed properties."});default:return o.jsxs("div",{className:"d-flex justify-content-center mt-7 gap-2 p-3",children:[o.jsx("div",{className:"col-md-6",children:o.jsxs("div",{className:"card cardchildchild p-2",children:[o.jsx("div",{className:"profile1",children:o.jsx("img",{src:"https://i.imgur.com/NI5b1NX.jpg",height:90,width:90,className:"rounded-circle"})}),o.jsxs("div",{className:"d-flex flex-column justify-content-center align-items-center mt-5",children:[o.jsx("span",{className:"name",children:"Bess Wills"}),o.jsx("span",{className:"mt-1 braceletid",children:"Bracelet ID: SFG 38393"}),o.jsx("span",{className:"dummytext mt-3 p-3",children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Text elit more smtit. Kimto lee."})]})]})}),o.jsx("div",{className:"col-md-6",children:o.jsxs("div",{className:"card cardchildchild p-2",children:[o.jsx("div",{className:"profile1",children:o.jsx("img",{src:"https://i.imgur.com/YyoCGsa.jpg",height:90,width:90,className:"rounded-circle"})}),o.jsxs("div",{className:"d-flex flex-column justify-content-center align-items-center mt-5",children:[o.jsx("span",{className:"name",children:"Bess Wills"}),o.jsx("span",{className:"mt-1 braceletid",children:"Bracelet ID: SFG 38393"}),o.jsx("span",{className:"dummytext mt-3 p-3",children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Text elit more smtit. Kimto lee."})]})]})})]})}};return o.jsxs(o.Fragment,{children:[o.jsx(ct,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsxs("div",{className:"d-flex flex-row",children:[o.jsx("div",{className:"col-md-3",children:o.jsxs("div",{className:"card card1 p-5",children:[o.jsx("img",{className:"img-fluid",src:dw,alt:"ProfileImage",style:{marginTop:"0px",maxWidth:"200px",maxHeight:"200px"}}),o.jsx("hr",{className:"hline"}),o.jsxs("div",{className:"d-flex flex-column align-items-center",children:[o.jsxs("button",{className:`btn ${r==="dashboard"?"active":""}`,onClick:()=>i("dashboard"),children:[o.jsx("i",{className:"fa fa-dashboard",style:{color:"#F74B02"}}),o.jsx("span",{children:"Dashboard"})]}),o.jsxs("button",{className:`btn mt-3 ${r==="addProperty"?"active":""}`,onClick:()=>i("addProperty"),children:[o.jsx("span",{className:"fa fa-home",style:{color:"#F74B02"}}),o.jsx("span",{children:"Add Property"})]}),o.jsxs("button",{className:`btn mt-3 ${r==="activeProperties"?"active":""}`,onClick:()=>i("activeProperties"),children:[o.jsx("span",{className:"fa fa-home",style:{color:"#F74B02"}}),o.jsx("span",{children:"Active Properties"})]}),o.jsxs("button",{className:`btn mt-3 ${r==="closedProperties"?"active":""}`,onClick:()=>i("closedProperties"),children:[o.jsx("span",{className:"fa fa-home",style:{color:"#F74B02"}}),o.jsx("span",{children:"Closed Properties"})]})]})]})}),o.jsx("div",{className:"col-md-9",children:o.jsxs("div",{className:"card card2 p-0",children:[o.jsxs("div",{className:"hello d-flex justify-content-end align-items-center mt-3",children:[o.jsxs("span",{children:["Welcome to"," ",o.jsxs("span",{style:{color:"#067ADC"},children:[t.result.title,". ",t.result.firstName," ",t.result.middleName," ",t.result.lastName]})]}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})]}),o.jsx("div",{className:"tab-content p-3",children:l()})]})})]}),o.jsx(gt,{})]})};var Ap={exports:{}},pw="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",hw=pw,yw=hw;function Dp(){}function Up(){}Up.resetWarningCache=Dp;var vw=function(){function e(r,i,l,s,a,u){if(u!==yw){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:Up,resetWarningCache:Dp};return n.PropTypes=n,n};Ap.exports=vw();var gw=Ap.exports;const xw=yd(gw),ww=()=>{const[e,t]=_.useState(3),n=_i();return _.useEffect(()=>{const r=setInterval(()=>{t(i=>--i)},1e3);return e===0&&n("/login"),()=>clearInterval(r)},[e,n]),o.jsx("div",{style:{marginTop:"100px"},children:o.jsxs("h5",{children:["Redirecting you in ",e," seconds"]})})},ja=({children:e})=>{const{user:t}=ln(n=>({...n.auth}));return t?e:o.jsx(ww,{})};ja.propTypes={children:xw.node.isRequired};const Nw=()=>{const e=yr(),{id:t,token:n}=Pp();return _.useEffect(()=>{e(ul({id:t,token:n}))},[e,t,n]),o.jsxs(o.Fragment,{children:[o.jsx(ct,{}),o.jsxs("div",{className:"contact_section layout_padding",children:[o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-md-12",children:o.jsx("h1",{className:"contact_taital",children:"Contact Us"})})})}),o.jsx("div",{className:"container-fluid",children:o.jsx("div",{className:"contact_section_2",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-6",children:[o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("h1",{className:"card-title text-center",children:o.jsxs(Le,{to:"/login",className:"glightbox play-btn mb-4",children:[" ","Email verified successfully !!! Please",o.jsx("span",{style:{color:"#F74B02"},children:" login "})," "," ","to access ..."]})})]}),o.jsx("div",{className:"col-md-6 padding_left_15",children:o.jsx("div",{className:"contact_img"})})]})})})]}),o.jsx(gt,{})]})},jw=()=>{const[e,t]=_.useState(""),[n,r]=_.useState(""),i="http://67.225.129.127:3002",l=async()=>{try{const s=await Z.post(`${i}/users/forgotpassword`,{email:e});r(s.data.message)}catch(s){console.error("Forgot Password Error:",s),r(s.response.data.message)}};return o.jsxs(o.Fragment,{children:[o.jsx(ct,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsxs("section",{className:"card",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:[o.jsx("div",{className:"container-fluid px-0",children:o.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[o.jsx("div",{className:"col-12 col-md-0 col-xl-20 text-center text-md-start"}),o.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:o.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:o.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"mb-4",children:[o.jsx("h2",{className:"h3",children:"Forgot Password"}),o.jsx("hr",{})]})})}),o.jsxs("div",{className:"row gy-3 overflow-hidden",children:[o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"email",className:"form-control",value:e,onChange:s=>t(s.target.value),placeholder:"name@example.com",required:"required"}),o.jsx("label",{htmlFor:"email",className:"form-label",children:"Enter your email address to receive a password reset link"})]})}),o.jsxs("div",{className:"col-12",children:[o.jsx("div",{className:"d-grid",children:o.jsx("button",{className:"btn btn-primary btn-lg",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},onClick:l,children:"Reset Password"})}),o.jsx("p",{style:{color:"#067ADC"},className:"card-title text-center",children:n})]})]}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:o.jsxs("p",{className:"m-0 text-secondary text-center",children:["Already have an account?"," ",o.jsx(Le,{to:"/login",className:"link-primary text-decoration-none",children:"Sign In"})]})})})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12"})})]})})})]})}),o.jsx(gt,{})]})]})},Ew=()=>{const{userId:e,token:t}=Pp(),[n,r]=_.useState(""),[i,l]=_.useState(""),[s,a]=_.useState(""),u="http://67.225.129.127:3002",c=async()=>{try{if(!n||n.trim()===""){a("Password not entered"),z.error("Password not entered");return}const d=await Z.post(`${u}/users/resetpassword/${e}/${t}`,{userId:e,token:t,password:n});if(n!==i){a("Passwords do not match."),z.error("Passwords do not match.");return}else a("Password reset successfull"),z.success(d.data.message)}catch(d){console.error("Reset Password Error:",d)}};return _.useEffect(()=>{z.dismiss()},[]),o.jsxs(o.Fragment,{children:[o.jsx(ct,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("section",{className:"card mb-0 vh-100",children:o.jsx("div",{className:"container py-10 h-100",children:o.jsx("div",{className:"row d-flex align-items-center justify-content-center h-100",children:o.jsxs("div",{className:"col-md-10 col-lg-5 col-xl-5 offset-xl-1 card mb-10",children:[o.jsx("br",{}),o.jsxs("h2",{children:["Reset Password",o.jsx("hr",{}),o.jsx("p",{className:"card-title text-center",style:{color:"#F74B02"},children:"Enter your new password:"})]}),o.jsx("input",{className:"form-control vh-10",type:"password",value:n,onChange:d=>r(d.target.value),placeholder:"Enter your new password",style:{display:"flex",gap:"35px"}}),o.jsx("br",{}),o.jsx("input",{className:"form-control",type:"password",value:i,onChange:d=>l(d.target.value),placeholder:"Confirm your new password"}),o.jsx("br",{}),o.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"}),o.jsx("p",{style:{color:"#067ADC"},className:"card-title text-center",children:s})]})})})}),o.jsx(gt,{})]})},Sw=()=>o.jsxs(o.Fragment,{children:[o.jsx(ct,{}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsxs("div",{className:"col-md-18",children:[o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsxs("h1",{className:"card-title text-center",children:[" ","Thank you for joining the world's most trusted realtor investment and borrowers portal."]}),o.jsxs("h2",{children:["We reqest you to kindly ",o.jsx("span",{style:{fontSize:"2rem",color:"#fda417"},children:"check your email inbox "})," and click on the ",o.jsx("span",{style:{fontSize:"2rem",color:"#fda417"},children:"verification link "}),"to access the dashboard."]})]}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsx(gt,{})]}),kw=()=>o.jsxs(px,{children:[o.jsx(bx,{}),o.jsxs(sx,{children:[o.jsx(et,{path:"/",element:o.jsx(Mx,{})}),o.jsx(et,{path:"/about",element:o.jsx(Ix,{})}),o.jsx(et,{path:"/contact",element:o.jsx(Fx,{})}),o.jsx(et,{path:"/register",element:o.jsx(aw,{})}),o.jsx(et,{path:"/registrationsuccess",element:o.jsx(ja,{children:o.jsx(Sw,{})})}),o.jsx(et,{path:"/login",element:o.jsx(cw,{})}),o.jsx(et,{path:"/dashboard",element:o.jsx(ja,{children:o.jsx(mw,{})})}),o.jsx(et,{path:"/users/:id/verify/:token",element:o.jsx(Nw,{})}),o.jsx(et,{path:"/forgotpassword",element:o.jsx(jw,{})}),o.jsx(et,{path:"/users/resetpassword/:userId/:token",element:o.jsx(Ew,{})})]})]});Tm(document.getElementById("root")).render(o.jsx(_.StrictMode,{children:o.jsx(zv,{store:x1,children:o.jsx(kw,{})})})); + */function Kl(){return Kl=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function ax(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function ux(e,t){return e.button===0&&(!t||t==="_self")&&!ax(e)}const cx=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],dx=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],fx="6";try{window.__reactRouterVersion=fx}catch{}const mx=_.createContext({isTransitioning:!1}),px="startTransition",pd=fo[px];function hx(e){let{basename:t,children:n,future:r,window:i}=e,l=_.useRef();l.current==null&&(l.current=N1({window:i,v5Compat:!0}));let s=l.current,[a,u]=_.useState({action:s.action,location:s.location}),{v7_startTransition:c}=r||{},d=_.useCallback(f=>{c&&pd?pd(()=>u(f)):u(f)},[u,c]);return _.useLayoutEffect(()=>s.listen(d),[s,d]),_.createElement(sx,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const yx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",vx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,gx=_.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:l,replace:s,state:a,target:u,to:c,preventScrollReset:d,unstable_viewTransition:f}=t,y=bp(t,cx),{basename:N}=_.useContext(cn),v,g=!1;if(typeof c=="string"&&vx.test(c)&&(v=c,yx))try{let p=new URL(window.location.href),x=c.startsWith("//")?new URL(p.protocol+c):new URL(c),S=mr(x.pathname,N);x.origin===p.origin&&S!=null?c=S+x.search+x.hash:g=!0}catch{}let w=Q1(c,{relative:i}),h=wx(c,{replace:s,state:a,target:u,preventScrollReset:d,relative:i,unstable_viewTransition:f});function m(p){r&&r(p),p.defaultPrevented||h(p)}return _.createElement("a",Kl({},y,{href:v||w,onClick:g||l?r:m,ref:n,target:u}))}),ke=_.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:l="",end:s=!1,style:a,to:u,unstable_viewTransition:c,children:d}=t,f=bp(t,dx),y=Es(u,{relative:f.relative}),N=ki(),v=_.useContext(Cp),{navigator:g,basename:w}=_.useContext(cn),h=v!=null&&Nx(y)&&c===!0,m=g.encodeLocation?g.encodeLocation(y).pathname:y.pathname,p=N.pathname,x=v&&v.navigation&&v.navigation.location?v.navigation.location.pathname:null;i||(p=p.toLowerCase(),x=x?x.toLowerCase():null,m=m.toLowerCase()),x&&w&&(x=mr(x,w)||x);const S=m!=="/"&&m.endsWith("/")?m.length-1:m.length;let C=p===m||!s&&p.startsWith(m)&&p.charAt(S)==="/",P=x!=null&&(x===m||!s&&x.startsWith(m)&&x.charAt(m.length)==="/"),k={isActive:C,isPending:P,isTransitioning:h},b=C?r:void 0,L;typeof l=="function"?L=l(k):L=[l,C?"active":null,P?"pending":null,h?"transitioning":null].filter(Boolean).join(" ");let H=typeof a=="function"?a(k):a;return _.createElement(gx,Kl({},f,{"aria-current":b,className:L,ref:n,style:H,to:u,unstable_viewTransition:c}),typeof d=="function"?d(k):d)});var wa;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(wa||(wa={}));var hd;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(hd||(hd={}));function xx(e){let t=_.useContext(Ns);return t||Z(!1),t}function wx(e,t){let{target:n,replace:r,state:i,preventScrollReset:l,relative:s,unstable_viewTransition:a}=t===void 0?{}:t,u=_i(),c=ki(),d=Es(e,{relative:s});return _.useCallback(f=>{if(ux(f,n)){f.preventDefault();let y=r!==void 0?r:Vl(c)===Vl(d);u(e,{replace:y,state:i,preventScrollReset:l,relative:s,unstable_viewTransition:a})}},[c,u,d,r,i,n,e,l,s,a])}function Nx(e,t){t===void 0&&(t={});let n=_.useContext(mx);n==null&&Z(!1);let{basename:r}=xx(wa.useViewTransitionState),i=Es(e,{relative:t.relative});if(!n.isTransitioning)return!1;let l=mr(n.currentLocation.pathname,r)||n.currentLocation.pathname,s=mr(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Ql(i.pathname,s)!=null||Ql(i.pathname,l)!=null}function Lp(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;ttypeof e=="number"&&!isNaN(e),En=e=>typeof e=="string",ze=e=>typeof e=="function",ml=e=>En(e)||ze(e)?e:null,Na=e=>_.isValidElement(e)||En(e)||ze(e)||pi(e);function jx(e,t,n){n===void 0&&(n=300);const{scrollHeight:r,style:i}=e;requestAnimationFrame(()=>{i.minHeight="initial",i.height=r+"px",i.transition=`all ${n}ms`,requestAnimationFrame(()=>{i.height="0",i.padding="0",i.margin="0",setTimeout(t,n)})})}function Ss(e){let{enter:t,exit:n,appendPosition:r=!1,collapse:i=!0,collapseDuration:l=300}=e;return function(s){let{children:a,position:u,preventExitTransition:c,done:d,nodeRef:f,isIn:y,playToast:N}=s;const v=r?`${t}--${u}`:t,g=r?`${n}--${u}`:n,w=_.useRef(0);return _.useLayoutEffect(()=>{const h=f.current,m=v.split(" "),p=x=>{x.target===f.current&&(N(),h.removeEventListener("animationend",p),h.removeEventListener("animationcancel",p),w.current===0&&x.type!=="animationcancel"&&h.classList.remove(...m))};h.classList.add(...m),h.addEventListener("animationend",p),h.addEventListener("animationcancel",p)},[]),_.useEffect(()=>{const h=f.current,m=()=>{h.removeEventListener("animationend",m),i?jx(h,d,l):d()};y||(c?m():(w.current=1,h.className+=` ${g}`,h.addEventListener("animationend",m)))},[y]),j.createElement(j.Fragment,null,a)}}function yd(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 ge=new Map;let hi=[];const ja=new Set,Ex=e=>ja.forEach(t=>t(e)),Mp=()=>ge.size>0;function Ip(e,t){var n;if(t)return!((n=ge.get(t))==null||!n.isToastActive(e));let r=!1;return ge.forEach(i=>{i.isToastActive(e)&&(r=!0)}),r}function Fp(e,t){Na(e)&&(Mp()||hi.push({content:e,options:t}),ge.forEach(n=>{n.buildToast(e,t)}))}function vd(e,t){ge.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 Sx(e){const{subscribe:t,getSnapshot:n,setProps:r}=_.useRef(function(l){const s=l.containerId||1;return{subscribe(a){const u=function(d,f,y){let N=1,v=0,g=[],w=[],h=[],m=f;const p=new Map,x=new Set,S=()=>{h=Array.from(p.values()),x.forEach(k=>k())},C=k=>{w=k==null?[]:w.filter(b=>b!==k),S()},P=k=>{const{toastId:b,onOpen:L,updateId:H,children:je}=k.props,Ve=H==null;k.staleId&&p.delete(k.staleId),p.set(b,k),w=[...w,k.props.toastId].filter(Ze=>Ze!==k.staleId),S(),y(yd(k,Ve?"added":"updated")),Ve&&ze(L)&&L(_.isValidElement(je)&&je.props)};return{id:d,props:m,observe:k=>(x.add(k),()=>x.delete(k)),toggle:(k,b)=>{p.forEach(L=>{b!=null&&b!==L.props.toastId||ze(L.toggle)&&L.toggle(k)})},removeToast:C,toasts:p,clearQueue:()=>{v-=g.length,g=[]},buildToast:(k,b)=>{if((B=>{let{containerId:oe,toastId:ne,updateId:Ee}=B;const ye=oe?oe!==d:d!==1,dt=p.has(ne)&&Ee==null;return ye||dt})(b))return;const{toastId:L,updateId:H,data:je,staleId:Ve,delay:Ze}=b,bt=()=>{C(L)},Lt=H==null;Lt&&v++;const Le={...m,style:m.toastStyle,key:N++,...Object.fromEntries(Object.entries(b).filter(B=>{let[oe,ne]=B;return ne!=null})),toastId:L,updateId:H,data:je,closeToast:bt,isIn:!1,className:ml(b.className||m.toastClassName),bodyClassName:ml(b.bodyClassName||m.bodyClassName),progressClassName:ml(b.progressClassName||m.progressClassName),autoClose:!b.isLoading&&(T=b.autoClose,M=m.autoClose,T===!1||pi(T)&&T>0?T:M),deleteToast(){const B=p.get(L),{onClose:oe,children:ne}=B.props;ze(oe)&&oe(_.isValidElement(ne)&&ne.props),y(yd(B,"removed")),p.delete(L),v--,v<0&&(v=0),g.length>0?P(g.shift()):S()}};var T,M;Le.closeButton=m.closeButton,b.closeButton===!1||Na(b.closeButton)?Le.closeButton=b.closeButton:b.closeButton===!0&&(Le.closeButton=!Na(m.closeButton)||m.closeButton);let I=k;_.isValidElement(k)&&!En(k.type)?I=_.cloneElement(k,{closeToast:bt,toastProps:Le,data:je}):ze(k)&&(I=k({closeToast:bt,toastProps:Le,data:je}));const U={content:I,props:Le,staleId:Ve};m.limit&&m.limit>0&&v>m.limit&&Lt?g.push(U):pi(Ze)?setTimeout(()=>{P(U)},Ze):P(U)},setProps(k){m=k},setToggle:(k,b)=>{p.get(k).toggle=b},isToastActive:k=>w.some(b=>b===k),getSnapshot:()=>m.newestOnTop?h.reverse():h}}(s,l,Ex);ge.set(s,u);const c=u.observe(a);return hi.forEach(d=>Fp(d.content,d.options)),hi=[],()=>{c(),ge.delete(s)}},setProps(a){var u;(u=ge.get(s))==null||u.setProps(a)},getSnapshot(){var a;return(a=ge.get(s))==null?void 0:a.getSnapshot()}}}(e)).current;r(e);const i=_.useSyncExternalStore(t,n,n);return{getToastToRender:function(l){if(!i)return[];const s=new Map;return i.forEach(a=>{const{position:u}=a.props;s.has(u)||s.set(u,[]),s.get(u).push(a)}),Array.from(s,a=>l(a[0],a[1]))},isToastActive:Ip,count:i==null?void 0:i.length}}function kx(e){const[t,n]=_.useState(!1),[r,i]=_.useState(!1),l=_.useRef(null),s=_.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:a,pauseOnHover:u,closeToast:c,onClick:d,closeOnClick:f}=e;var y,N;function v(){n(!0)}function g(){n(!1)}function w(p){const x=l.current;s.canDrag&&x&&(s.didMove=!0,t&&g(),s.delta=e.draggableDirection==="x"?p.clientX-s.start:p.clientY-s.start,s.start!==p.clientX&&(s.canCloseOnClick=!1),x.style.transform=`translate3d(${e.draggableDirection==="x"?`${s.delta}px, var(--y)`:`0, calc(${s.delta}px + var(--y))`},0)`,x.style.opacity=""+(1-Math.abs(s.delta/s.removalDistance)))}function h(){document.removeEventListener("pointermove",w),document.removeEventListener("pointerup",h);const p=l.current;if(s.canDrag&&s.didMove&&p){if(s.canDrag=!1,Math.abs(s.delta)>s.removalDistance)return i(!0),e.closeToast(),void e.collapseAll();p.style.transition="transform 0.2s, opacity 0.2s",p.style.removeProperty("transform"),p.style.removeProperty("opacity")}}(N=ge.get((y={id:e.toastId,containerId:e.containerId,fn:n}).containerId||1))==null||N.setToggle(y.id,y.fn),_.useEffect(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||g(),window.addEventListener("focus",v),window.addEventListener("blur",g),()=>{window.removeEventListener("focus",v),window.removeEventListener("blur",g)}},[e.pauseOnFocusLoss]);const m={onPointerDown:function(p){if(e.draggable===!0||e.draggable===p.pointerType){s.didMove=!1,document.addEventListener("pointermove",w),document.addEventListener("pointerup",h);const x=l.current;s.canCloseOnClick=!0,s.canDrag=!0,x.style.transition="none",e.draggableDirection==="x"?(s.start=p.clientX,s.removalDistance=x.offsetWidth*(e.draggablePercent/100)):(s.start=p.clientY,s.removalDistance=x.offsetHeight*(e.draggablePercent===80?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(p){const{top:x,bottom:S,left:C,right:P}=l.current.getBoundingClientRect();p.nativeEvent.type!=="touchend"&&e.pauseOnHover&&p.clientX>=C&&p.clientX<=P&&p.clientY>=x&&p.clientY<=S?g():v()}};return a&&u&&(m.onMouseEnter=g,e.stacked||(m.onMouseLeave=v)),f&&(m.onClick=p=>{d&&d(p),s.canCloseOnClick&&c()}),{playToast:v,pauseToast:g,isRunning:t,preventExitTransition:r,toastRef:l,eventHandlers:m}}function _x(e){let{delay:t,isRunning:n,closeToast:r,type:i="default",hide:l,className:s,style:a,controlledProgress:u,progress:c,rtl:d,isIn:f,theme:y}=e;const N=l||u&&c===0,v={...a,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused"};u&&(v.transform=`scaleX(${c})`);const g=Qt("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}),w=ze(s)?s({rtl:d,type:i,defaultClassName:g}):Qt(g,s),h={[u&&c>=1?"onTransitionEnd":"onAnimationEnd"]:u&&c<1?null:()=>{f&&r()}};return j.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":N},j.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${y} Toastify__progress-bar--${i}`}),j.createElement("div",{role:"progressbar","aria-hidden":N?"true":"false","aria-label":"notification timer",className:w,style:v,...h}))}let Cx=1;const zp=()=>""+Cx++;function Px(e){return e&&(En(e.toastId)||pi(e.toastId))?e.toastId:zp()}function Vr(e,t){return Fp(e,t),t.toastId}function Xl(e,t){return{...t,type:t&&t.type||e,toastId:Px(t)}}function Vi(e){return(t,n)=>Vr(t,Xl(e,n))}function z(e,t){return Vr(e,Xl("default",t))}z.loading=(e,t)=>Vr(e,Xl("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),z.promise=function(e,t,n){let r,{pending:i,error:l,success:s}=t;i&&(r=En(i)?z.loading(i,n):z.loading(i.render,{...n,...i}));const a={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},u=(d,f,y)=>{if(f==null)return void z.dismiss(r);const N={type:d,...a,...n,data:y},v=En(f)?{render:f}:f;return r?z.update(r,{...N,...v}):z(v.render,{...N,...v}),y},c=ze(e)?e():e;return c.then(d=>u("success",s,d)).catch(d=>u("error",l,d)),c},z.success=Vi("success"),z.info=Vi("info"),z.error=Vi("error"),z.warning=Vi("warning"),z.warn=z.warning,z.dark=(e,t)=>Vr(e,Xl("default",{theme:"dark",...t})),z.dismiss=function(e){(function(t){var n;if(Mp()){if(t==null||En(n=t)||pi(n))ge.forEach(r=>{r.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){const r=ge.get(t.containerId);r?r.removeToast(t.id):ge.forEach(i=>{i.removeToast(t.id)})}}else hi=hi.filter(r=>t!=null&&r.options.toastId!==t)})(e)},z.clearWaitingQueue=function(e){e===void 0&&(e={}),ge.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},z.isActive=Ip,z.update=function(e,t){t===void 0&&(t={});const n=((r,i)=>{var l;let{containerId:s}=i;return(l=ge.get(s||1))==null?void 0:l.toasts.get(r)})(e,t);if(n){const{props:r,content:i}=n,l={delay:100,...r,...t,toastId:t.toastId||e,updateId:zp()};l.toastId!==e&&(l.staleId=e);const s=l.render||i;delete l.render,Vr(s,l)}},z.done=e=>{z.update(e,{progress:1})},z.onChange=function(e){return ja.add(e),()=>{ja.delete(e)}},z.play=e=>vd(!0,e),z.pause=e=>vd(!1,e);const Ox=typeof window<"u"?_.useLayoutEffect:_.useEffect,Qi=e=>{let{theme:t,type:n,isLoading:r,...i}=e;return j.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:t==="colored"?"currentColor":`var(--toastify-icon-color-${n})`,...i})},co={info:function(e){return j.createElement(Qi,{...e},j.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 j.createElement(Qi,{...e},j.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 j.createElement(Qi,{...e},j.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 j.createElement(Qi,{...e},j.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 j.createElement("div",{className:"Toastify__spinner"})}},Tx=e=>{const{isRunning:t,preventExitTransition:n,toastRef:r,eventHandlers:i,playToast:l}=kx(e),{closeButton:s,children:a,autoClose:u,onClick:c,type:d,hideProgressBar:f,closeToast:y,transition:N,position:v,className:g,style:w,bodyClassName:h,bodyStyle:m,progressClassName:p,progressStyle:x,updateId:S,role:C,progress:P,rtl:k,toastId:b,deleteToast:L,isIn:H,isLoading:je,closeOnClick:Ve,theme:Ze}=e,bt=Qt("Toastify__toast",`Toastify__toast-theme--${Ze}`,`Toastify__toast--${d}`,{"Toastify__toast--rtl":k},{"Toastify__toast--close-on-click":Ve}),Lt=ze(g)?g({rtl:k,position:v,type:d,defaultClassName:bt}):Qt(bt,g),Le=function(U){let{theme:B,type:oe,isLoading:ne,icon:Ee}=U,ye=null;const dt={theme:B,type:oe};return Ee===!1||(ze(Ee)?ye=Ee({...dt,isLoading:ne}):_.isValidElement(Ee)?ye=_.cloneElement(Ee,dt):ne?ye=co.spinner():($p=>$p in co)(oe)&&(ye=co[oe](dt))),ye}(e),T=!!P||!u,M={closeToast:y,type:d,theme:Ze};let I=null;return s===!1||(I=ze(s)?s(M):_.isValidElement(s)?_.cloneElement(s,M):function(U){let{closeToast:B,theme:oe,ariaLabel:ne="close"}=U;return j.createElement("button",{className:`Toastify__close-button Toastify__close-button--${oe}`,type:"button",onClick:Ee=>{Ee.stopPropagation(),B(Ee)},"aria-label":ne},j.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},j.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"})))}(M)),j.createElement(N,{isIn:H,done:L,position:v,preventExitTransition:n,nodeRef:r,playToast:l},j.createElement("div",{id:b,onClick:c,"data-in":H,className:Lt,...i,style:w,ref:r},j.createElement("div",{...H&&{role:C},className:ze(h)?h({type:d}):Qt("Toastify__toast-body",h),style:m},Le!=null&&j.createElement("div",{className:Qt("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!je})},Le),j.createElement("div",null,a)),I,j.createElement(_x,{...S&&!T?{key:`pb-${S}`}:{},rtl:k,theme:Ze,delay:u,isRunning:t,isIn:H,closeToast:y,hide:f,type:d,style:x,className:p,controlledProgress:T,progress:P||0})))},ks=function(e,t){return t===void 0&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},Rx=Ss(ks("bounce",!0));Ss(ks("slide",!0));Ss(ks("zoom"));Ss(ks("flip"));const bx={position:"top-right",transition:Rx,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function Lx(e){let t={...bx,...e};const n=e.stacked,[r,i]=_.useState(!0),l=_.useRef(null),{getToastToRender:s,isToastActive:a,count:u}=Sx(t),{className:c,style:d,rtl:f,containerId:y}=t;function N(g){const w=Qt("Toastify__toast-container",`Toastify__toast-container--${g}`,{"Toastify__toast-container--rtl":f});return ze(c)?c({position:g,rtl:f,defaultClassName:w}):Qt(w,ml(c))}function v(){n&&(i(!0),z.play())}return Ox(()=>{if(n){var g;const w=l.current.querySelectorAll('[data-in="true"]'),h=12,m=(g=t.position)==null?void 0:g.includes("top");let p=0,x=0;Array.from(w).reverse().forEach((S,C)=>{const P=S;P.classList.add("Toastify__toast--stacked"),C>0&&(P.dataset.collapsed=`${r}`),P.dataset.pos||(P.dataset.pos=m?"top":"bot");const k=p*(r?.2:1)+(r?0:h*C);P.style.setProperty("--y",`${m?k:-1*k}px`),P.style.setProperty("--g",`${h}`),P.style.setProperty("--s",""+(1-(r?x:0))),p+=P.offsetHeight,x+=.025})}},[r,u,n]),j.createElement("div",{ref:l,className:"Toastify",id:y,onMouseEnter:()=>{n&&(i(!1),z.pause())},onMouseLeave:v},s((g,w)=>{const h=w.length?{...d}:{...d,pointerEvents:"none"};return j.createElement("div",{className:N(g),style:h,key:`container-${g}`},w.map(m=>{let{content:p,props:x}=m;return j.createElement(Tx,{...x,stacked:n,collapseAll:v,isIn:a(x.toastId,x.containerId),style:x.style,key:`toast-${x.key}`},p)}))}))}const xt=()=>{const e=new Date().getFullYear();return o.jsx(o.Fragment,{children:o.jsxs("div",{children:[o.jsx("div",{className:"footer_section layout_padding",children:o.jsxs("div",{className:"container",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-md-12"})}),o.jsx("div",{className:"footer_section_2",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsx("h2",{className:"useful_text",children:"QUICK LINKS"}),o.jsx("div",{className:"footer_menu",children:o.jsxs("ul",{children:[o.jsx("li",{children:o.jsx("a",{href:"index.html",children:"Home"})}),o.jsx("li",{children:o.jsx("a",{href:"about.html",children:"About"})}),o.jsx("li",{children:o.jsx("a",{href:"services.html",children:"Services"})}),o.jsx("li",{children:o.jsx("a",{href:"projects.html",children:"Projects"})}),o.jsx("li",{children:o.jsx("a",{href:"contact.html",children:"Contact Us"})})]})})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsx("h2",{className:"useful_text",children:"Work Portfolio"}),o.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"})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsx("h2",{className:"useful_text",children:"SIGN UP TO OUR NEWSLETTER"}),o.jsxs("div",{className:"form-group",children:[o.jsx("textarea",{className:"update_mail",placeholder:"Enter Your Email",rows:5,id:"comment",name:"Enter Your Email",defaultValue:""}),o.jsx("div",{className:"subscribe_bt",children:o.jsx("a",{href:"#",children:"Subscribe"})})]})]})]})}),o.jsx("div",{className:"social_icon",children:o.jsxs("ul",{children:[o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-facebook","aria-hidden":"true"})})}),o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-twitter","aria-hidden":"true"})})}),o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-linkedin","aria-hidden":"true"})})}),o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-instagram","aria-hidden":"true"})})})]})})]})}),o.jsx("div",{className:"copyright_section",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("p",{className:"copyright_text",children:[e," All Rights Reserved."]})})})})})]})})},Mx="/assets/logo-Cb1x1exd.png",ct=()=>{var i,l;const{user:e}=gt(s=>({...s.auth})),t=Mn(),n=_i(),r=()=>{t(p1()),n("/")};return o.jsx(o.Fragment,{children:o.jsx("div",{className:"navbar navbar-expand-lg w-100",style:{backgroundColor:"#000000",position:"fixed",top:0,left:0,right:0,zIndex:1e3},children:o.jsxs("div",{className:"container-fluid d-flex align-items-center justify-content-between",children:[o.jsxs("div",{className:"d-flex align-items-center",children:[o.jsx("img",{src:Mx,alt:"logo",width:"75",height:"75",className:"img-fluid"}),o.jsx("p",{style:{display:"inline-block",fontStyle:"italic",fontSize:"14px",color:"white",margin:"0 0 0 10px"}})]}),o.jsxs("div",{className:"collapse navbar-collapse",id:"navbarSupportedContent",children:[o.jsxs("ul",{className:"navbar-nav ml-auto",children:[o.jsx("li",{className:"nav-item active",children:o.jsx(ke,{to:"/",className:"nav-link",children:"Home"})}),o.jsx("li",{className:"nav-item",children:o.jsx(ke,{to:"/services",className:"nav-link",children:"Services"})}),o.jsx("li",{className:"nav-item",children:o.jsx(ke,{to:"/about",className:"nav-link",children:"About"})}),o.jsx("li",{className:"nav-item",children:o.jsx(ke,{to:"/projects",className:"nav-link",children:"Project"})}),o.jsx("li",{className:"nav-item",children:o.jsx(ke,{to:"/contact",className:"nav-link",children:"Contact"})})]}),(i=e==null?void 0:e.result)!=null&&i._id?o.jsx(ke,{to:"/dashboard",children:"Dashboard"}):o.jsx(ke,{to:"/register",className:"nav-link",children:"Register"}),(l=e==null?void 0:e.result)!=null&&l._id?o.jsx(ke,{to:"/login",children:o.jsx("p",{className:"header-text",onClick:r,children:"Logout"})}):o.jsx(ke,{to:"/login",className:"nav-link",children:"Login"})]})]})})})},Ix=()=>o.jsxs(o.Fragment,{children:[o.jsx(ct,{}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsxs("div",{children:[o.jsx("div",{className:"header_section",children:o.jsx("div",{className:"banner_section layout_padding",children:o.jsxs("div",{id:"my_slider",className:"carousel slide","data-ride":"carousel",children:[o.jsxs("div",{className:"carousel-inner",children:[o.jsx("div",{className:"carousel-item active",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("div",{className:"banner_taital_main",children:[o.jsx("h1",{className:"banner_taital",children:"Reinventing real estate investment"}),o.jsxs("p",{className:"banner_text",children:["Owners/operators, and real estate investment firms to excel in what they do best: finding new opportunities"," "]}),o.jsxs("div",{className:"btn_main",children:[o.jsx("div",{className:"started_text active",children:o.jsx("a",{href:"#",children:"Contact US"})}),o.jsx("div",{className:"started_text",children:o.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),o.jsx("div",{className:"carousel-item",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("div",{className:"banner_taital_main",children:[o.jsx("h1",{className:"banner_taital",children:"streamline investment management"}),o.jsxs("p",{className:"banner_text",children:["Best possible experience to our customers and their investors."," "]}),o.jsxs("div",{className:"btn_main",children:[o.jsx("div",{className:"started_text active",children:o.jsx("a",{href:"#",children:"Contact US"})}),o.jsx("div",{className:"started_text",children:o.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),o.jsx("div",{className:"carousel-item",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("div",{className:"banner_taital_main",children:[o.jsx("h1",{className:"banner_taital",children:"Increase your efficiency and security"}),o.jsxs("p",{className:"banner_text",children:["All-in-one real estate investment management platform with 100% security tools"," "]}),o.jsxs("div",{className:"btn_main",children:[o.jsx("div",{className:"started_text active",children:o.jsx("a",{href:"#",children:"Contact US"})}),o.jsx("div",{className:"started_text",children:o.jsx("a",{href:"#",children:"About Us"})})]})]})})})})})]}),o.jsx("a",{className:"carousel-control-prev",href:"#my_slider",role:"button","data-slide":"prev",children:o.jsx("i",{className:"fa fa-angle-left"})}),o.jsx("a",{className:"carousel-control-next",href:"#my_slider",role:"button","data-slide":"next",children:o.jsx("i",{className:"fa fa-angle-right"})})]})})}),o.jsx("div",{className:"services_section layout_padding",children:o.jsxs("div",{className:"container-fluid",children:[o.jsx("div",{className:"row",children:o.jsxs("div",{className:"col-sm-12",children:[o.jsx("h1",{className:"services_taital",children:"Our Services"}),o.jsx("p",{className:"services_text_1",children:"your documents, always and immediately within reach"})]})}),o.jsx("div",{className:"services_section_2",children:o.jsxs("div",{className:"row",children:[o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main active",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-1.png"})}),o.jsx("h4",{className:"development_text",children:"Dedication Services"}),o.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"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})}),o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-2.png"})}),o.jsx("h4",{className:"development_text",children:"Building work Reports"}),o.jsx("p",{className:"services_text",children:"Deliver all the reports your investors need. Eliminate manual work and human errors with automatic distribution and allocation"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})}),o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-3.png"})}),o.jsx("h4",{className:"development_text",children:"Reporting continuously"}),o.jsx("p",{className:"services_text",children:"Streamlining investor interactions, gaining complete visibility into your data, and using smart filters to create automatic workflows"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})}),o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-4.png"})}),o.jsx("h4",{className:"development_text",children:"Manage your investment "}),o.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"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})})]})})]})}),o.jsxs("div",{className:"projects_section layout_padding",children:[o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsxs("div",{className:"col-md-12",children:[o.jsx("h1",{className:"projects_taital",children:"Projects"}),o.jsx("div",{className:"nav-tabs-navigation",children:o.jsx("div",{className:"nav-tabs-wrapper",children:o.jsxs("ul",{className:"nav ","data-tabs":"tabs",children:[o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link active",href:"#","data-toggle":"tab",children:"Category filter"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"All"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Paintingl"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Reconstructionl"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Repairsl"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Residentall"})})]})})})]})})}),o.jsx("div",{className:"projects_section_2 layout_padding",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"pets_section",children:o.jsx("div",{className:"pets_section_2",children:o.jsx("div",{id:"main_slider",className:"carousel slide","data-ride":"carousel",children:o.jsxs("div",{className:"carousel-inner",children:[o.jsx("div",{className:"carousel-item active",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})}),o.jsx("div",{className:"carousel-item",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})}),o.jsx("div",{className:"carousel-item",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})})]})})})})})})]})]}),o.jsx(xt,{})]}),Fx=()=>o.jsxs(o.Fragment,{children:[o.jsx(ct,{}),o.jsxs("div",{className:"about_section layout_padding",children:[o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsx("div",{className:"container",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-6",children:[o.jsx("h1",{className:"about_taital",children:"About Us"}),o.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"," "]}),o.jsx("div",{className:"read_bt_1",children:o.jsx("a",{href:"#",children:"Read More"})})]}),o.jsx("div",{className:"col-md-6",children:o.jsx("div",{className:"about_img",children:o.jsx("div",{className:"video_bt",children:o.jsx("div",{className:"play_icon",children:o.jsx("img",{src:"images/play-icon.png"})})})})})]})}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{})]}),o.jsx(xt,{})]}),zx=()=>o.jsxs(o.Fragment,{children:[o.jsx(ct,{}),o.jsxs("div",{className:"contact_section layout_padding",children:[o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-md-12",children:o.jsx("h1",{className:"contact_taital",children:"Contact Us"})})})}),o.jsx("div",{className:"container-fluid",children:o.jsx("div",{className:"contact_section_2",children:o.jsxs("div",{className:"row",children:[o.jsx("div",{className:"col-md-6",children:o.jsx("form",{action:!0,children:o.jsxs("div",{className:"mail_section_1",children:[o.jsx("input",{type:"text",className:"mail_text",placeholder:"Name",name:"Name"}),o.jsx("input",{type:"text",className:"mail_text",placeholder:"Phone Number",name:"Phone Number"}),o.jsx("input",{type:"text",className:"mail_text",placeholder:"Email",name:"Email"}),o.jsx("textarea",{className:"massage-bt",placeholder:"Massage",rows:5,id:"comment",name:"Massage",defaultValue:""}),o.jsx("div",{className:"send_bt",children:o.jsx("a",{href:"#",children:"SEND"})})]})})}),o.jsx("div",{className:"col-md-6 padding_left_15",children:o.jsx("div",{className:"contact_img",children:o.jsx("img",{src:"images/contact-img.png"})})})]})})})]}),o.jsx(xt,{})]});var Nt=function(){return Nt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{const[e,t]=_.useState(aw),[n,r]=_.useState(!1),{loading:i,error:l}=gt(S=>({...S.auth})),{title:s,email:a,password:u,firstName:c,middleName:d,lastName:f,confirmPassword:y,termsconditions:N,userType:v}=e,g=Mn(),w=_i();_.useEffect(()=>{l&&z.error(l)},[l]),_.useEffect(()=>{r(s!=="None"&&a&&u&&c&&d&&f&&y&&N&&v!=="")},[s,a,u,c,d,f,y,N,v]);const h=S=>{if(S.preventDefault(),u!==y)return z.error("Password should match");n?g(al({formValue:e,navigate:w,toast:z})):z.error("Please fill in all fields and select all checkboxes")},m=S=>S.charAt(0).toUpperCase()+S.slice(1),p=S=>{const{name:C,value:P,type:k,checked:b}=S.target;t(k==="checkbox"?L=>({...L,[C]:b}):L=>({...L,[C]:C==="email"||C==="password"||C==="confirmPassword"?P:m(P)}))},x=S=>{t(C=>({...C,userType:S.target.value}))};return o.jsxs(o.Fragment,{children:[o.jsx(ct,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("section",{className:"card",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:o.jsx("div",{className:"container-fluid px-0",children:o.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[o.jsx("div",{className:"col-12 col-md-0 col-xl-20 text-center text-md-start"}),o.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:o.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:o.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"mb-4",children:[o.jsx("h2",{className:"h3",children:"Registration"}),o.jsx("h3",{style:{color:"red"},children:'All fields are mandatory to enable "Sign up"'}),o.jsx("hr",{})]})})}),o.jsx("form",{onSubmit:h,children:o.jsxs("div",{className:"row gy-3 overflow-hidden",children:[o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsxs("label",{className:"form-label",children:["Please select the role. ",o.jsx("br",{}),o.jsx("br",{})]}),o.jsxs("div",{className:"form-check form-check-inline",children:[o.jsx("input",{className:"form-check-input",type:"radio",name:"userType",value:"Lender",checked:v==="Lender",onChange:x,required:!0}),o.jsx("label",{className:"form-check-label",children:"Lender"})]}),o.jsxs("div",{className:"form-check form-check-inline",children:[o.jsx("input",{className:"form-check-input",type:"radio",name:"userType",value:"Borrower",checked:v==="Borrower",onChange:x,required:!0}),o.jsxs("label",{className:"form-check-label",children:["Borrower"," "]}),o.jsx("br",{}),o.jsx("br",{})]})]})}),o.jsxs("div",{className:"col-12",children:[o.jsxs("select",{className:"form-floating mb-3 form-control","aria-label":"Default select example",name:"title",value:s,onChange:p,children:[o.jsx("option",{value:"None",children:"Please Select Title"}),o.jsx("option",{value:"Dr",children:"Dr"}),o.jsx("option",{value:"Prof",children:"Prof"}),o.jsx("option",{value:"Mr",children:"Mr"}),o.jsx("option",{value:"Miss",children:"Miss"})]}),o.jsx("br",{})]}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",value:c,name:"firstName",onChange:p,placeholder:"First Name",required:"required"}),o.jsx("label",{htmlFor:"firstName",className:"form-label",children:"First Name"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",value:d,name:"middleName",onChange:p,placeholder:"Middle Name",required:"required"}),o.jsx("label",{htmlFor:"middleName",className:"form-label",children:"Middle Name"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",value:f,name:"lastName",onChange:p,placeholder:"Last Name",required:"required"}),o.jsx("label",{htmlFor:"lastName",className:"form-label",children:"Last Name"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"email",className:"form-control",value:a,name:"email",onChange:p,placeholder:"name@example.com",required:"required"}),o.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"password",className:"form-control",value:u,name:"password",onChange:p,placeholder:"Password",required:"required"}),o.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"password",className:"form-control",value:y,name:"confirmPassword",onChange:p,placeholder:"confirmPassword",required:"required"}),o.jsx("label",{htmlFor:"password",className:"form-label",children:"Retype Password"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-check",children:[o.jsx("input",{className:"form-check-input",type:"checkbox",id:"termsconditions",value:N,name:"termsconditions",checked:N,onChange:p,required:!0}),o.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["I agree to the"," ",o.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"terms and conditions"})]})]})}),o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-grid",children:o.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},disabled:!n||i,children:[i&&o.jsx(Ap.Bars,{}),"Sign up"]})})})]})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:o.jsxs("p",{className:"m-0 text-secondary text-center",children:["Already have an account?"," ",o.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"Sign in"})]})})})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12"})})]})})})]})})}),o.jsx(xt,{})]})},cw={email:"",password:""},dw=()=>{const[e,t]=_.useState(cw),{loading:n,error:r}=gt(d=>({...d.auth})),{email:i,password:l}=e,s=Mn(),a=_i();_.useEffect(()=>{r&&z.error(r)},[r]);const u=d=>{d.preventDefault(),i&&l&&s(ol({formValue:e,navigate:a,toast:z}))},c=d=>{let{name:f,value:y}=d.target;t({...e,[f]:y})};return o.jsxs(o.Fragment,{children:[o.jsx(ct,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("section",{className:"py-19 py-md-5 py-xl-8",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:o.jsx("div",{className:"container-fluid px-0",children:o.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[o.jsx("div",{className:"col-12 col-md-6 col-xl-20 text-center text-md-start",children:o.jsx("div",{className:"text-bg-primary",children:o.jsxs("div",{className:"px-4",children:[o.jsx("hr",{className:"border-primary-subtle mb-4"}),o.jsx("p",{className:"lead mb-5",children:"A beautiful, easy-to-use, and secure Investor Portal that gives your investors everything they may need"}),o.jsx("div",{className:"text-endx",children:o.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:o.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"})})})]})})}),o.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:o.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:o.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"mb-4",children:o.jsx("h2",{className:"h3",children:"Please Login"})})})}),o.jsx("form",{method:"POST",children:o.jsxs("div",{className:"row gy-3 overflow-hidden",children:[o.jsx("div",{className:"col-12"}),o.jsx("div",{className:"col-12"}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"email",className:"form-control",id:"email",placeholder:"name@example.com",value:i,name:"email",onChange:c,required:!0}),o.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"password",className:"form-control",id:"password",placeholder:"Password",value:l,name:"password",onChange:c,required:!0}),o.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-check",children:[o.jsx("input",{className:"form-check-input",type:"checkbox",name:"iAgree",id:"iAgree",required:!0}),o.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["Remember me"," "]})]})}),o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-grid",children:o.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",name:"signin",value:"Sign in",onClick:u,style:{backgroundColor:"#fda417",border:"#fda417"},children:[n&&o.jsx(Ap.Bars,{}),"Sign In"]})})})]})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:o.jsxs("p",{className:"m-0 text-secondary text-center",children:["Don't have an account?"," ",o.jsx(ke,{to:"/register",className:"link-primary text-decoration-none",children:"Register"}),o.jsx(ke,{to:"/forgotpassword",className:"nav-link",children:"Forgot Password"})]})})})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12"})})]})})})]})})}),o.jsx(xt,{})]})},fw="/assets/samplepic-BM_cnzgz.jpg",mw=()=>{const[e,t]=_.useState("propertydetails"),n=()=>{e==="propertydetails"&&t("shipping")},r=()=>{e==="shipping"&&t("propertydetails")},i=Mn(),{status:l,error:s}=gt(v=>v.property),{user:a}=gt(v=>({...v.auth})),[u,c]=_.useState({propertyType:"",title:"",yearBuild:"",totalSqft:""}),[d,f]=_.useState(!1),y=v=>{c({...u,[v.target.name]:v.target.value})},N=()=>{var v,g,w,h,m,p;if(u.propertyType&&u.title&&u.yearBuild&&u.totalSqft){const x={...u,userfirstname:(v=a==null?void 0:a.result)==null?void 0:v.firstName,usermiddlename:(g=a==null?void 0:a.result)==null?void 0:g.middleName,userlastname:(w=a==null?void 0:a.result)==null?void 0:w.lastName,usertitle:(h=a==null?void 0:a.result)==null?void 0:h.title,useremail:(m=a==null?void 0:a.result)==null?void 0:m.email,userId:(p=a==null?void 0:a.result)==null?void 0:p.userId};i(cl(x)),f(!0)}else z.error("Please fill all fields before submitting",{position:"top-right",autoClose:3e3})};return _.useEffect(()=>{d&&(l==="succeeded"?(z.success("Property submitted successfully!",{position:"top-right",autoClose:3e3}),f(!1)):l==="failed"&&(z.error(`Failed to submit: ${s}`,{position:"top-right",autoClose:3e3}),f(!1)))},[l,s,d]),o.jsx(o.Fragment,{children:o.jsxs("div",{className:"container tabs-wrap",children:[o.jsx(ct,{}),o.jsxs("ul",{className:"nav nav-tabs",role:"tablist",children:[o.jsx("li",{role:"presentation",className:e==="propertydetails"?"active tab":"tab",children:o.jsx("a",{onClick:()=>t("propertydetails"),role:"tab",children:"Property Details"})}),o.jsx("li",{role:"presentation",className:e==="shipping"?"active tab":"tab",children:o.jsx("a",{onClick:()=>t("shipping"),role:"tab",children:"Delivery Address"})})]}),o.jsxs("div",{className:"tab-content",children:[e==="propertydetails"&&o.jsxs("div",{role:"tabpanel",className:"tab-pane active",children:[o.jsx("h3",{children:"Property Details"}),o.jsx("form",{children:o.jsxs("div",{className:"row gy-3 overflow-hidden",children:[o.jsx("div",{className:"col-12",children:o.jsxs("select",{className:"form-floating mb-3 form-control",name:"propertyType",value:u.propertyType,onChange:y,required:!0,children:[o.jsx("option",{value:"",children:"Please Select Property Type"}),o.jsx("option",{value:"Residential",children:"Residential"}),o.jsx("option",{value:"Land",children:"Land"}),o.jsx("option",{value:"Commercial",children:"Commercial"}),o.jsx("option",{value:"Industrial",children:"Industrial"}),o.jsx("option",{value:"Water",children:"Water"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",name:"title",value:u.title,onChange:y,placeholder:"Property title",required:!0}),o.jsx("label",{htmlFor:"title",className:"form-label",children:"Property Title"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",name:"yearBuild",value:u.yearBuild,onChange:y,placeholder:"Year build",required:!0}),o.jsx("label",{htmlFor:"yearBuild",className:"form-label",children:"Year Build"})]})})]})}),o.jsx("button",{className:"btn btn-primary continue",onClick:n,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Continue"})]}),e==="shipping"&&o.jsxs("div",{role:"tabpanel",className:"tab-pane active",children:[o.jsx("h3",{children:"Shipping Address"}),o.jsx("form",{children:o.jsx("div",{className:"row gy-3 overflow-hidden",children:o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",name:"totalSqft",value:u.totalSqft,onChange:y,placeholder:"Total SQFT",required:!0}),o.jsx("label",{htmlFor:"totalSqft",className:"form-label",children:"Total SQFT"})]})})})}),o.jsx("button",{className:"btn btn-primary back",onClick:r,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Go Back"})," ",o.jsx("button",{type:"button",className:"btn btn-primary continue",style:{backgroundColor:"#fda417",border:"#fda417"},onClick:N,children:"Submit"})]})]})]})})},pw=()=>{var r;const e=Mn(),{user:t}=gt(i=>({...i.auth})),{userProperties:n}=gt(i=>i.property);return _.useEffect(()=>{var i;e(dl((i=t==null?void 0:t.result)==null?void 0:i.userId))},[e,(r=t==null?void 0:t.result)==null?void 0:r.userId]),o.jsx(o.Fragment,{children:n.length>0?o.jsx("ul",{children:n.map(i=>o.jsx("li",{children:o.jsxs(ke,{to:`/property/${i.propertyId}`,target:"_blank",children:[i.title,"....."]})},i._id))}):o.jsx("p",{children:"No active properties found."})})},hw=()=>{const{user:e}=gt(i=>({...i.auth})),[t,n]=_.useState("dashboard"),r=()=>{switch(t){case"addProperty":return o.jsx(mw,{});case"activeProperties":return o.jsxs("div",{children:[o.jsx("h3",{children:"Active Properties"}),o.jsx(pw,{})]});case"closedProperties":return o.jsx("p",{children:"These are your closed properties."});default:return o.jsxs("div",{className:"d-flex justify-content-center mt-7 gap-2 p-3",children:[o.jsx("div",{className:"col-md-6",children:o.jsxs("div",{className:"card cardchildchild p-2",children:[o.jsx("div",{className:"profile1",children:o.jsx("img",{src:"https://i.imgur.com/NI5b1NX.jpg",height:90,width:90,className:"rounded-circle"})}),o.jsxs("div",{className:"d-flex flex-column justify-content-center align-items-center mt-5",children:[o.jsx("span",{className:"name",children:"Bess Wills"}),o.jsx("span",{className:"mt-1 braceletid",children:"Bracelet ID: SFG 38393"}),o.jsx("span",{className:"dummytext mt-3 p-3",children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Text elit more smtit. Kimto lee."})]})]})}),o.jsx("div",{className:"col-md-6",children:o.jsxs("div",{className:"card cardchildchild p-2",children:[o.jsx("div",{className:"profile1",children:o.jsx("img",{src:"https://i.imgur.com/YyoCGsa.jpg",height:90,width:90,className:"rounded-circle"})}),o.jsxs("div",{className:"d-flex flex-column justify-content-center align-items-center mt-5",children:[o.jsx("span",{className:"name",children:"Bess Wills"}),o.jsx("span",{className:"mt-1 braceletid",children:"Bracelet ID: SFG 38393"}),o.jsx("span",{className:"dummytext mt-3 p-3",children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Text elit more smtit. Kimto lee."})]})]})})]})}};return o.jsxs(o.Fragment,{children:[o.jsx(ct,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsxs("div",{className:"d-flex flex-row",children:[o.jsx("div",{className:"col-md-3",children:o.jsxs("div",{className:"card card1 p-5",children:[o.jsx("img",{className:"img-fluid",src:fw,alt:"ProfileImage",style:{marginTop:"0px",maxWidth:"200px",maxHeight:"200px"}}),o.jsx("hr",{className:"hline"}),o.jsxs("div",{className:"d-flex flex-column align-items-center",children:[o.jsxs("button",{className:`btn ${t==="dashboard"?"active":""}`,onClick:()=>n("dashboard"),children:[o.jsx("i",{className:"fa fa-dashboard",style:{color:"#F74B02"}}),o.jsx("span",{children:"Dashboard"})]}),o.jsxs("button",{className:`btn mt-3 ${t==="addProperty"?"active":""}`,onClick:()=>n("addProperty"),children:[o.jsx("span",{className:"fa fa-home",style:{color:"#F74B02"}}),o.jsx("span",{children:"Add Property"})]}),o.jsxs("button",{className:`btn mt-3 ${t==="activeProperties"?"active":""}`,onClick:()=>n("activeProperties"),children:[o.jsx("span",{className:"fa fa-home",style:{color:"#F74B02"}}),o.jsx("span",{children:"Active Properties"})]}),o.jsxs("button",{className:`btn mt-3 ${t==="closedProperties"?"active":""}`,onClick:()=>n("closedProperties"),children:[o.jsx("span",{className:"fa fa-home",style:{color:"#F74B02"}}),o.jsx("span",{children:"Closed Properties"})]})]})]})}),o.jsx("div",{className:"col-md-9",children:o.jsxs("div",{className:"card card2 p-0",children:[o.jsxs("div",{className:"hello d-flex justify-content-end align-items-center mt-3",children:[o.jsxs("span",{children:["Welcome to"," ",o.jsxs("span",{style:{color:"#067ADC"},children:[e.result.title,". ",e.result.firstName," ",e.result.middleName," ",e.result.lastName]})]}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})]}),o.jsx("div",{className:"tab-content p-3",children:r()})]})})]}),o.jsx(xt,{})]})};var Dp={exports:{}},yw="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",vw=yw,gw=vw;function Up(){}function Bp(){}Bp.resetWarningCache=Up;var xw=function(){function e(r,i,l,s,a,u){if(u!==gw){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:Bp,resetWarningCache:Up};return n.PropTypes=n,n};Dp.exports=xw();var ww=Dp.exports;const Nw=gd(ww),jw=()=>{const[e,t]=_.useState(3),n=_i();return _.useEffect(()=>{const r=setInterval(()=>{t(i=>--i)},1e3);return e===0&&n("/login"),()=>clearInterval(r)},[e,n]),o.jsx("div",{style:{marginTop:"100px"},children:o.jsxs("h5",{children:["Redirecting you in ",e," seconds"]})})},Ea=({children:e})=>{const{user:t}=gt(n=>({...n.auth}));return t?e:o.jsx(jw,{})};Ea.propTypes={children:Nw.node.isRequired};const Ew=()=>{const e=Mn(),{id:t,token:n}=Pu();return _.useEffect(()=>{e(ul({id:t,token:n}))},[e,t,n]),o.jsxs(o.Fragment,{children:[o.jsx(ct,{}),o.jsxs("div",{className:"contact_section layout_padding",children:[o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-md-12",children:o.jsx("h1",{className:"contact_taital",children:"Contact Us"})})})}),o.jsx("div",{className:"container-fluid",children:o.jsx("div",{className:"contact_section_2",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-6",children:[o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("h1",{className:"card-title text-center",children:o.jsxs(ke,{to:"/login",className:"glightbox play-btn mb-4",children:[" ","Email verified successfully !!! Please",o.jsx("span",{style:{color:"#F74B02"},children:" login "})," "," ","to access ..."]})})]}),o.jsx("div",{className:"col-md-6 padding_left_15",children:o.jsx("div",{className:"contact_img"})})]})})})]}),o.jsx(xt,{})]})},Sw=()=>{const[e,t]=_.useState(""),[n,r]=_.useState(""),i="http://67.225.129.127:3002",l=async()=>{try{const s=await G.post(`${i}/users/forgotpassword`,{email:e});r(s.data.message)}catch(s){console.error("Forgot Password Error:",s),r(s.response.data.message)}};return o.jsxs(o.Fragment,{children:[o.jsx(ct,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsxs("section",{className:"card",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:[o.jsx("div",{className:"container-fluid px-0",children:o.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[o.jsx("div",{className:"col-12 col-md-0 col-xl-20 text-center text-md-start"}),o.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:o.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:o.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"mb-4",children:[o.jsx("h2",{className:"h3",children:"Forgot Password"}),o.jsx("hr",{})]})})}),o.jsxs("div",{className:"row gy-3 overflow-hidden",children:[o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"email",className:"form-control",value:e,onChange:s=>t(s.target.value),placeholder:"name@example.com",required:"required"}),o.jsx("label",{htmlFor:"email",className:"form-label",children:"Enter your email address to receive a password reset link"})]})}),o.jsxs("div",{className:"col-12",children:[o.jsx("div",{className:"d-grid",children:o.jsx("button",{className:"btn btn-primary btn-lg",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},onClick:l,children:"Reset Password"})}),o.jsx("p",{style:{color:"#067ADC"},className:"card-title text-center",children:n})]})]}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:o.jsxs("p",{className:"m-0 text-secondary text-center",children:["Already have an account?"," ",o.jsx(ke,{to:"/login",className:"link-primary text-decoration-none",children:"Sign In"})]})})})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12"})})]})})})]})}),o.jsx(xt,{})]})]})},kw=()=>{const{userId:e,token:t}=Pu(),[n,r]=_.useState(""),[i,l]=_.useState(""),[s,a]=_.useState(""),u="http://67.225.129.127:3002",c=async()=>{try{if(!n||n.trim()===""){a("Password not entered"),z.error("Password not entered");return}const d=await G.post(`${u}/users/resetpassword/${e}/${t}`,{userId:e,token:t,password:n});if(n!==i){a("Passwords do not match."),z.error("Passwords do not match.");return}else a("Password reset successfull"),z.success(d.data.message)}catch(d){console.error("Reset Password Error:",d)}};return _.useEffect(()=>{z.dismiss()},[]),o.jsxs(o.Fragment,{children:[o.jsx(ct,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("section",{className:"card mb-0 vh-100",children:o.jsx("div",{className:"container py-10 h-100",children:o.jsx("div",{className:"row d-flex align-items-center justify-content-center h-100",children:o.jsxs("div",{className:"col-md-10 col-lg-5 col-xl-5 offset-xl-1 card mb-10",children:[o.jsx("br",{}),o.jsxs("h2",{children:["Reset Password",o.jsx("hr",{}),o.jsx("p",{className:"card-title text-center",style:{color:"#F74B02"},children:"Enter your new password:"})]}),o.jsx("input",{className:"form-control vh-10",type:"password",value:n,onChange:d=>r(d.target.value),placeholder:"Enter your new password",style:{display:"flex",gap:"35px"}}),o.jsx("br",{}),o.jsx("input",{className:"form-control",type:"password",value:i,onChange:d=>l(d.target.value),placeholder:"Confirm your new password"}),o.jsx("br",{}),o.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"}),o.jsx("p",{style:{color:"#067ADC"},className:"card-title text-center",children:s})]})})})}),o.jsx(xt,{})]})},_w=()=>o.jsxs(o.Fragment,{children:[o.jsx(ct,{}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsxs("div",{className:"col-md-18",children:[o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsxs("h1",{className:"card-title text-center",children:[" ","Thank you for joining the world's most trusted realtor investment and borrowers portal."]}),o.jsxs("h2",{children:["We reqest you to kindly ",o.jsx("span",{style:{fontSize:"2rem",color:"#fda417"},children:"check your email inbox "})," and click on the ",o.jsx("span",{style:{fontSize:"2rem",color:"#fda417"},children:"verification link "}),"to access the dashboard."]})]}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsx(xt,{})]}),Cw=()=>{const{id:e}=Pu(),t=Mn(),{selectedProperty:n,status:r,error:i}=gt(l=>l.property);return _.useEffect(()=>{e&&t(fl(e))},[e,t]),r==="loading"?o.jsx("p",{children:"Loading property details..."}):r==="failed"?o.jsxs("p",{children:["Error loading property: ",i]}):o.jsx(o.Fragment,{children:o.jsx("div",{className:"container property-view",children:n?o.jsxs("div",{className:"property-details",children:[o.jsx("h1",{children:n.title}),o.jsxs("p",{children:["Email: ",n.useremail]})]}):o.jsx("p",{children:"Property not found."})})})},Pw=()=>o.jsxs(hx,{children:[o.jsx(Lx,{}),o.jsxs(ox,{children:[o.jsx(Qe,{path:"/",element:o.jsx(Ix,{})}),o.jsx(Qe,{path:"/about",element:o.jsx(Fx,{})}),o.jsx(Qe,{path:"/contact",element:o.jsx(zx,{})}),o.jsx(Qe,{path:"/register",element:o.jsx(uw,{})}),o.jsx(Qe,{path:"/registrationsuccess",element:o.jsx(Ea,{children:o.jsx(_w,{})})}),o.jsx(Qe,{path:"/login",element:o.jsx(dw,{})}),o.jsx(Qe,{path:"/dashboard",element:o.jsx(Ea,{children:o.jsx(hw,{})})}),o.jsx(Qe,{path:"/users/:id/verify/:token",element:o.jsx(Ew,{})}),o.jsx(Qe,{path:"/forgotpassword",element:o.jsx(Sw,{})}),o.jsx(Qe,{path:"/users/resetpassword/:userId/:token",element:o.jsx(kw,{})}),o.jsx(Qe,{path:"/property/:id",element:o.jsx(Cw,{})})]})]});bm(document.getElementById("root")).render(o.jsx(_.StrictMode,{children:o.jsx(Av,{store:w1,children:o.jsx(Pw,{})})})); diff --git a/ef-ui/dist/index.html b/ef-ui/dist/index.html index 8be0dd5..e3577dc 100644 --- a/ef-ui/dist/index.html +++ b/ef-ui/dist/index.html @@ -42,7 +42,7 @@ - + diff --git a/ef-ui/src/App.jsx b/ef-ui/src/App.jsx index e79d63c..c51ecbc 100644 --- a/ef-ui/src/App.jsx +++ b/ef-ui/src/App.jsx @@ -10,8 +10,9 @@ import PrivateRoute from "./components/PrivateRoute"; import VerifyUser from "./components/EmailVerify"; import ForgotPassword from "./components/ForgotPassword"; import ResetPassword from "./components/ResetPassword"; -import Addproperty from "./components/Addproperty"; +// import Addproperty from "./components/Addproperty"; import Registrationsuccess from "./components/Registrationsuccess"; +import PropertyView from "./components/PropertyView"; const App = () => { return ( @@ -48,6 +49,9 @@ const App = () => { {/* }> */} +} /> + + diff --git a/ef-ui/src/components/Dashboard.jsx b/ef-ui/src/components/Dashboard.jsx index c08eaa7..a9e505f 100644 --- a/ef-ui/src/components/Dashboard.jsx +++ b/ef-ui/src/components/Dashboard.jsx @@ -1,24 +1,25 @@ -import { useState,useEffect } from "react"; +import { useState } from "react"; import Footer from "./Footer"; import Navbar from "./Navbar"; -import { useSelector, useDispatch } from "react-redux"; +import { useSelector } from "react-redux"; import profilepic from "../img/samplepic.jpg"; import Addproperty from "./Addproperty"; -import { fetchUserProperties } from "../redux/features/propertySlice"; +import UserProperties from "./UserProperties"; +// import { fetchUserProperties } from "../redux/features/propertySlice"; import "../dashboard.css"; const Dashboard = () => { - const dispatch = useDispatch(); + // const dispatch = useDispatch(); const { user } = useSelector((state) => ({ ...state.auth })); - const { userProperties} = useSelector((state) => state.property); + // const { userProperties} = useSelector((state) => state.property); const [activeTab, setActiveTab] = useState("dashboard"); // Fetch user properties when "Active Properties" tab is selected - useEffect(() => { - if (activeTab === "activeProperties") { - dispatch(fetchUserProperties(user?.result?.userId)); - } - }, [activeTab, dispatch, user?.result?.userId]); + // useEffect(() => { + // if (activeTab === "activeProperties") { + // dispatch(fetchUserProperties(user?.result?.userId)); + // } + // }, [activeTab, dispatch, user?.result?.userId]); const renderTabContent = () => { switch (activeTab) { @@ -27,7 +28,7 @@ const Dashboard = () => { case "activeProperties": return

Active Properties

- {userProperties.length > 0 ? ( + {/* {userProperties.length > 0 ? (
    {userProperties.map((property) => (
  • {property.title}
  • @@ -35,7 +36,9 @@ const Dashboard = () => {
) : (

No active properties found.

- )} + )} */} + +
; case "closedProperties": return

These are your closed properties.

; diff --git a/ef-ui/src/components/PropertyView.jsx b/ef-ui/src/components/PropertyView.jsx new file mode 100644 index 0000000..fdce28c --- /dev/null +++ b/ef-ui/src/components/PropertyView.jsx @@ -0,0 +1,50 @@ +import { useEffect } from "react"; +import { useDispatch, useSelector } from "react-redux"; +import { useParams } from "react-router-dom"; +import { fetchPropertyById } from "../redux/features/propertySlice"; + + + +const PropertyView = () => { + const { id } = useParams(); // Extract the property ID from the route + const dispatch = useDispatch(); + const { selectedProperty, status, error } = useSelector((state) => state.property); + + useEffect(() => { + // Fetch the property by ID when the component loads + if (id) { + dispatch(fetchPropertyById(id)); + } + }, [id, dispatch]); + + if (status === "loading") { + return

Loading property details...

; + } + + if (status === "failed") { + return

Error loading property: {error}

; + } + +// console.log("selectedProperty", selectedProperty); + + return ( + <> + +
+ {selectedProperty ? ( +
+

{selectedProperty.title}

+ +

Email: {selectedProperty.useremail}

+ {/* Add more property details as needed */} +
+ ) : ( +

Property not found.

+ )} +
+ + + ); +}; + +export default PropertyView; diff --git a/ef-ui/src/components/UserProperties.jsx b/ef-ui/src/components/UserProperties.jsx new file mode 100644 index 0000000..308fc01 --- /dev/null +++ b/ef-ui/src/components/UserProperties.jsx @@ -0,0 +1,44 @@ +import { useEffect } from "react"; +import { useSelector, useDispatch } from "react-redux"; +import { fetchUserProperties } from "../redux/features/propertySlice"; +import { NavLink } from "react-router-dom"; + + +const UserProperties = () => { + const dispatch = useDispatch(); + const { user } = useSelector((state) => ({ ...state.auth })); + const { userProperties} = useSelector((state) => state.property); + + // Fetch user properties when "Active Properties" tab is selected + useEffect(() => { + + dispatch(fetchUserProperties(user?.result?.userId)); + + }, [dispatch, user?.result?.userId]); + + return ( + <> + {userProperties.length > 0 ? ( +
    + {userProperties.map((property) => ( +
  • + + {property.title} + {"....."} + + +
  • + + + + ))} +
+ ) : ( +

No active properties found.

+ )} + + + ) +} + +export default UserProperties \ No newline at end of file diff --git a/ef-ui/src/redux/features/propertySlice.js b/ef-ui/src/redux/features/propertySlice.js index 8f0af4d..b39e398 100644 --- a/ef-ui/src/redux/features/propertySlice.js +++ b/ef-ui/src/redux/features/propertySlice.js @@ -27,6 +27,18 @@ export const fetchUserProperties = createAsyncThunk( } ); +export const fetchPropertyById = createAsyncThunk( + "property/fetchPropertyById", + async (id, { rejectWithValue }) => { + try { + const response = await axios.get(`http://localhost:3002/properties/${id}`); + return response.data; + } catch (error) { + return rejectWithValue(error.response.data); + } + } +); + const propertySlice = createSlice({ name: 'property', initialState: { @@ -34,6 +46,7 @@ const propertySlice = createSlice({ status: 'idle', error: null, userProperties: [], + selectedProperty: null, }, reducers: {}, extraReducers: (builder) => { @@ -60,7 +73,19 @@ const propertySlice = createSlice({ .addCase(fetchUserProperties.rejected, (state, action) => { state.status = 'failed'; state.error = action.payload; - }) ; + }) + + .addCase(fetchPropertyById.pending, (state) => { + state.status = "loading"; + }) + .addCase(fetchPropertyById.fulfilled, (state, action) => { + state.status = "succeeded"; + state.selectedProperty = action.payload; + }) + .addCase(fetchPropertyById.rejected, (state, action) => { + state.status = "failed"; + state.error = action.payload; + }); }, });